Lines Matching defs:reproc_cfg
732 reprocess_config_t reproc_cfg;
733 memset(&reproc_cfg, 0, sizeof(reprocess_config_t));
734 setReprocConfig(reproc_cfg, pInputBuffer, metadata, mStreamFormat);
735 startPostProc((NULL != pInputBuffer), reproc_cfg);
767 rc = mOfflineMemory.getBufDef(reproc_cfg.input_stream_plane_info.plane_info,
774 dumpYUV(&src_frame->input_buffer, reproc_cfg.input_stream_dim,
775 reproc_cfg.input_stream_plane_info.plane_info, 1);
800 src_frame->reproc_config = reproc_cfg;
1048 * @reproc_cfg : the configuration to be set
1057 int32_t QCamera3ProcessingChannel::setReprocConfig(reprocess_config_t &reproc_cfg,
1063 reproc_cfg.padding = mPaddingInfo;
1066 if (reproc_cfg.padding->height_padding > reproc_cfg.padding->width_padding) {
1067 reproc_cfg.padding->width_padding = reproc_cfg.padding->height_padding;
1069 reproc_cfg.padding->height_padding = reproc_cfg.padding->width_padding;
1072 reproc_cfg.input_stream_dim.width = (int32_t)pInputBuffer->stream->width;
1073 reproc_cfg.input_stream_dim.height = (int32_t)pInputBuffer->stream->height;
1075 reproc_cfg.input_stream_dim.width = (int32_t)mCamera3Stream->width;
1076 reproc_cfg.input_stream_dim.height = (int32_t)mCamera3Stream->height;
1077 reproc_cfg.src_channel = this;
1079 reproc_cfg.output_stream_dim.width = mCamera3Stream->width;
1080 reproc_cfg.output_stream_dim.height = mCamera3Stream->height;
1081 reproc_cfg.stream_type = mStreamType;
1082 reproc_cfg.stream_format = streamFormat;
1083 reproc_cfg.reprocess_type = getReprocessType();
1086 reproc_cfg.stream_type = CAM_STREAM_TYPE_SNAPSHOT;
1087 reproc_cfg.stream_format = SNAPSHOT_FORMAT;
1089 &reproc_cfg.input_stream_dim, reproc_cfg.padding,
1090 &reproc_cfg.input_stream_plane_info);
1091 CDBG("%s: reproc_cfg.stream_type = %d, reproc_cfg.stream_format = %d", __func__,
1092 reproc_cfg.stream_type, reproc_cfg.stream_format);
2392 reprocess_config_t reproc_cfg;
2393 memset(&reproc_cfg, 0, sizeof(reprocess_config_t));
2394 setReprocConfig(reproc_cfg, pInputBuffer, metadata, mStreamFormat);
2398 reproc_cfg.input_stream_dim.width = (int32_t)mYuvWidth;
2399 reproc_cfg.input_stream_dim.height = (int32_t)mYuvHeight;
2400 rc = mm_stream_calc_offset_snapshot(mStreamFormat, &reproc_cfg.input_stream_dim,
2401 reproc_cfg.padding, &reproc_cfg.input_stream_plane_info);
2437 startPostProc((NULL != pInputBuffer), reproc_cfg);
2485 rc = mOfflineMemory.getBufDef(reproc_cfg.input_stream_plane_info.plane_info,
2492 dumpYUV(&src_frame->input_buffer, reproc_cfg.input_stream_dim,
2493 reproc_cfg.input_stream_plane_info.plane_info, 1);
2519 src_frame->reproc_config = reproc_cfg;