Home | History | Annotate | Download | only in HAL

Lines Matching defs:streamInfo

2935  *   @streamInfo  : stream info
2941 cam_stream_info_t *streamInfo)
2948 streamInfo->reprocess_config.pp_feature_config.feature_mask;
2950 switch (streamInfo->stream_type) {
3003 LOGE("allocateStreamInfoBuf: Unable to allocate streamInfo object");
3014 cam_stream_info_t *streamInfo = (cam_stream_info_t *)streamInfoBuf->getPtr(0);
3015 memset(streamInfo, 0, sizeof(cam_stream_info_t));
3016 streamInfo->stream_type = stream_type;
3017 rc = mParameters.getStreamFormat(stream_type, streamInfo->fmt);
3018 rc = mParameters.getStreamDimension(stream_type, streamInfo->dim);
3019 rc = mParameters.getStreamRotation(stream_type, streamInfo->pp_config, streamInfo->dim);
3020 streamInfo->num_bufs = getBufNumRequired(stream_type);
3021 streamInfo->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS;
3022 streamInfo->is_secure = NON_SECURE;
3025 streamInfo->cache_ops = CAM_STREAM_CACHE_OPS_DISABLED;
3027 streamInfo->cache_ops = CAM_STREAM_CACHE_OPS_HONOUR_FLAGS;
3034 streamInfo->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS;
3036 streamInfo->streaming_mode = CAM_STREAMING_MODE_BURST;
3037 streamInfo->num_of_burst = (uint8_t)
3048 streamInfo->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS;
3050 streamInfo->streaming_mode = CAM_STREAMING_MODE_BURST;
3051 streamInfo->num_of_burst = mParameters.getNumOfSnapshots();
3054 streamInfo->is_secure = SECURE;
3056 streamInfo->is_secure = NON_SECURE;
3061 streamInfo->streaming_mode = CAM_STREAMING_MODE_CONTINUOUS;
3063 streamInfo->streaming_mode = CAM_STREAMING_MODE_BURST;
3064 streamInfo->num_of_burst = (uint8_t)(mParameters.getNumOfSnapshots()
3071 streamInfo->dis_enable = mParameters.isDISEnabled();
3074 streamInfo->streaming_mode = CAM_STREAMING_MODE_BATCH;
3075 streamInfo->user_buf_info.frame_buf_cnt = mParameters.getBufBatchCount();
3076 streamInfo->user_buf_info.size =
3080 streamInfo->user_buf_info.frameInterval =
3083 streamInfo->user_buf_info.frame_buf_cnt,
3084 streamInfo->user_buf_info.frameInterval);
3089 streamInfo->is_type = mParameters.getISType();
3091 streamInfo->is_type = IS_TYPE_NONE;
3095 streamInfo->is_secure = SECURE;
3099 streamInfo->noFrameExpected = 1;
3102 streamInfo->cache_ops = CAM_STREAM_CACHE_OPS_CLEAR_FLAGS;
3112 mParameters.getStreamPpMask(stream_type, streamInfo->pp_config.feature_mask);
3115 if (streamInfo->pp_config.feature_mask & CAM_QCOM_FEATURE_FLIP) {
3118 streamInfo->pp_config.flip = (uint32_t)flipMode;
3121 if (streamInfo->pp_config.feature_mask & CAM_QCOM_FEATURE_SHARPNESS) {
3122 streamInfo->pp_config.sharpness = mParameters.getSharpness();
3124 if (streamInfo->pp_config.feature_mask & CAM_QCOM_FEATURE_EFFECT) {
3125 streamInfo->pp_config.effect = mParameters.getEffectValue();
3128 if (streamInfo->pp_config.feature_mask & CAM_QCOM_FEATURE_DENOISE2D) {
3129 streamInfo->pp_config.denoise2d.denoise_enable = 1;
3130 streamInfo->pp_config.denoise2d.process_plates =
3138 streamInfo->pp_config.feature_mask |= CAM_QCOM_FEATURE_CROP;
3141 streamInfo->pp_config.feature_mask |= CAM_QCOM_FEATURE_SCALE;
3145 stream_type, streamInfo->fmt, streamInfo->dim.width,
3146 streamInfo->dim.height, streamInfo->num_bufs,
3147 streamInfo->pp_config.feature_mask);
3158 * @streamInfo : stream info structure
3165 cam_stream_info_t *streamInfo)
3171 if (streamInfo->streaming_mode != CAM_STREAMING_MODE_BATCH) {
3177 switch (streamInfo->stream_type) {
3189 rc = video_mem->allocateMeta(streamInfo->num_bufs,
3230 size = PAD_TO_SIZE((streamInfo->num_bufs * streamInfo->user_buf_info.size),
3233 LOGH("Allocating BATCH Buffer count = %d", streamInfo->num_bufs);