Lines Matching refs:streamInfo
3245 cam_stream_info_t *streamInfo) in allocateMiscBuf() argument
3252 streamInfo->reprocess_config.pp_feature_config.feature_mask; in allocateMiscBuf()
3254 switch (streamInfo->stream_type) { in allocateMiscBuf()
3300 cam_stream_info_t *streamInfo, uint32_t cam_type) in initStreamInfoBuf() argument
3306 memset(streamInfo, 0, sizeof(cam_stream_info_t)); in initStreamInfoBuf()
3307 streamInfo->stream_type = stream_type; in initStreamInfoBuf()
3308 rc = mParameters.getStreamFormat(stream_type, streamInfo->fmt); in initStreamInfoBuf()
3309 rc = mParameters.getStreamDimension(stream_type, streamInfo->dim, cam_type); in initStreamInfoBuf()
3310 rc = mParameters.getStreamRotation(stream_type, streamInfo->pp_config, streamInfo->dim); in initStreamInfoBuf()
3311 streamInfo->num_bufs = getBufNumRequired(stream_type); in initStreamInfoBuf()
3312 streamInfo->buf_cnt = streamInfo->num_bufs; in initStreamInfoBuf()
3313 streamInfo->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS; in initStreamInfoBuf()
3314 streamInfo->is_secure = NON_SECURE; in initStreamInfoBuf()
3317 streamInfo->cache_ops = CAM_STREAM_CACHE_OPS_DISABLED; in initStreamInfoBuf()
3319 streamInfo->cache_ops = CAM_STREAM_CACHE_OPS_HONOUR_FLAGS; in initStreamInfoBuf()
3326 streamInfo->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS; in initStreamInfoBuf()
3328 streamInfo->streaming_mode = CAM_STREAMING_MODE_BURST; in initStreamInfoBuf()
3329 streamInfo->num_of_burst = (uint8_t) in initStreamInfoBuf()
3342 streamInfo->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS; in initStreamInfoBuf()
3344 streamInfo->streaming_mode = CAM_STREAMING_MODE_BURST; in initStreamInfoBuf()
3345 streamInfo->num_of_burst = mParameters.getNumOfSnapshots(); in initStreamInfoBuf()
3348 streamInfo->is_secure = SECURE; in initStreamInfoBuf()
3350 streamInfo->is_secure = NON_SECURE; in initStreamInfoBuf()
3353 if (CAM_FORMAT_META_RAW_10BIT == streamInfo->fmt) { in initStreamInfoBuf()
3356 streamInfo->dt = dt; in initStreamInfoBuf()
3357 streamInfo->vc = vc; in initStreamInfoBuf()
3363 streamInfo->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS; in initStreamInfoBuf()
3365 streamInfo->streaming_mode = CAM_STREAMING_MODE_BURST; in initStreamInfoBuf()
3366 streamInfo->num_of_burst = (uint8_t)(mParameters.getNumOfSnapshots() in initStreamInfoBuf()
3373 streamInfo->dis_enable = mParameters.isDISEnabled(); in initStreamInfoBuf()
3376 streamInfo->streaming_mode = CAM_STREAMING_MODE_BATCH; in initStreamInfoBuf()
3377 streamInfo->user_buf_info.frame_buf_cnt = mParameters.getBufBatchCount(); in initStreamInfoBuf()
3378 streamInfo->user_buf_info.size = in initStreamInfoBuf()
3382 streamInfo->user_buf_info.frameInterval = in initStreamInfoBuf()
3385 streamInfo->user_buf_info.frame_buf_cnt, in initStreamInfoBuf()
3386 streamInfo->user_buf_info.frameInterval); in initStreamInfoBuf()
3390 streamInfo->is_type = mParameters.getVideoISType(); in initStreamInfoBuf()
3392 streamInfo->is_type = IS_TYPE_NONE; in initStreamInfoBuf()
3396 streamInfo->is_secure = SECURE; in initStreamInfoBuf()
3402 streamInfo->is_type = mParameters.getPreviewISType(); in initStreamInfoBuf()
3404 streamInfo->is_type = IS_TYPE_NONE; in initStreamInfoBuf()
3408 streamInfo->is_secure = SECURE; in initStreamInfoBuf()
3410 streamInfo->is_secure = NON_SECURE; in initStreamInfoBuf()
3420 streamInfo->noFrameExpected = 1; in initStreamInfoBuf()
3425 streamInfo->noFrameExpected = 1; in initStreamInfoBuf()
3428 streamInfo->cache_ops = CAM_STREAM_CACHE_OPS_CLEAR_FLAGS; in initStreamInfoBuf()
3438 mParameters.getStreamPpMask(stream_type, streamInfo->pp_config.feature_mask); in initStreamInfoBuf()
3441 if (streamInfo->pp_config.feature_mask & CAM_QCOM_FEATURE_FLIP) { in initStreamInfoBuf()
3444 streamInfo->pp_config.flip = (uint32_t)flipMode; in initStreamInfoBuf()
3447 if (streamInfo->pp_config.feature_mask & CAM_QCOM_FEATURE_SHARPNESS) { in initStreamInfoBuf()
3448 streamInfo->pp_config.sharpness = mParameters.getSharpness(); in initStreamInfoBuf()
3450 if (streamInfo->pp_config.feature_mask & CAM_QCOM_FEATURE_EFFECT) { in initStreamInfoBuf()
3451 streamInfo->pp_config.effect = mParameters.getEffectValue(); in initStreamInfoBuf()
3454 if (streamInfo->pp_config.feature_mask & CAM_QCOM_FEATURE_DENOISE2D) { in initStreamInfoBuf()
3455 streamInfo->pp_config.denoise2d.denoise_enable = 1; in initStreamInfoBuf()
3456 streamInfo->pp_config.denoise2d.process_plates = in initStreamInfoBuf()
3464 streamInfo->pp_config.feature_mask |= CAM_QCOM_FEATURE_CROP; in initStreamInfoBuf()
3467 streamInfo->pp_config.feature_mask |= CAM_QCOM_FEATURE_SCALE; in initStreamInfoBuf()
3469 streamInfo->aux_str_info = NULL; in initStreamInfoBuf()
3472 stream_type, streamInfo->fmt, streamInfo->dim.width, in initStreamInfoBuf()
3473 streamInfo->dim.height, streamInfo->num_bufs, in initStreamInfoBuf()
3474 streamInfo->pp_config.feature_mask, in initStreamInfoBuf()
3475 streamInfo->is_type); in initStreamInfoBuf()
3516 cam_stream_info_t *streamInfo = (cam_stream_info_t *)streamInfoBuf->getPtr(i); in allocateStreamInfoBuf() local
3517 memset(streamInfo, 0, sizeof(cam_stream_info_t)); in allocateStreamInfoBuf()
3518 rc = initStreamInfoBuf(stream_type, streamInfo, cam_type); in allocateStreamInfoBuf()
3526 cam_stream_info_t *streamInfo = (cam_stream_info_t *)streamInfoBuf->getPtr(0); in allocateStreamInfoBuf() local
3529 streamInfo->aux_str_info = s_streamInfo; in allocateStreamInfoBuf()
3532 if (streamInfo->aux_str_info != NULL) { in allocateStreamInfoBuf()
3534 streamInfo->aux_str_info->buf_cnt = getBufNumForAux(stream_type); in allocateStreamInfoBuf()
3535 streamInfo->num_bufs += streamInfo->aux_str_info->buf_cnt; in allocateStreamInfoBuf()
3536 streamInfo->aux_str_info->num_bufs += streamInfo->aux_str_info->buf_cnt; in allocateStreamInfoBuf()
3554 cam_stream_info_t *streamInfo) in allocateStreamUserBuf() argument
3560 if (streamInfo->streaming_mode != CAM_STREAMING_MODE_BATCH) { in allocateStreamUserBuf()
3566 switch (streamInfo->stream_type) { in allocateStreamUserBuf()
3587 rc = video_mem->allocateMeta(streamInfo->num_bufs, in allocateStreamUserBuf()
3620 size = PAD_TO_SIZE((streamInfo->num_bufs * streamInfo->user_buf_info.size), in allocateStreamUserBuf()
3623 LOGH("Allocating BATCH Buffer count = %d", streamInfo->num_bufs); in allocateStreamUserBuf()