Home | History | Annotate | Download | only in HAL3

Lines Matching refs:reproc_cfg

1011         reprocess_config_t reproc_cfg;
1013 memset(&reproc_cfg, 0, sizeof(reprocess_config_t));
1015 setReprocConfig(reproc_cfg, pInputBuffer, metadata, mStreamFormat, dim);
1016 startPostProc(reproc_cfg);
1025 rc = setFwkInputPPData(src_frame, pInputBuffer, &reproc_cfg, metadata, buffer, frameNumber);
1165 * @reproc_cfg : pointer to the reprocess config
1176 camera3_stream_buffer_t *pInputBuffer, reprocess_config_t *reproc_cfg,
1198 rc = mOfflineMemory.getBufDef(reproc_cfg->input_stream_plane_info.plane_info,
1203 dumpYUV(&src_frame->input_buffer, reproc_cfg->input_stream_dim,
1204 reproc_cfg->input_stream_plane_info.plane_info, QCAMERA_DUMP_FRM_INPUT_REPROCESS);
1236 src_frame->reproc_config = *reproc_cfg;
1499 * @reproc_cfg : the configuration to be set
1508 int32_t QCamera3ProcessingChannel::setReprocConfig(reprocess_config_t &reproc_cfg,
1514 reproc_cfg.padding = &mPaddingInfo;
1517 if (reproc_cfg.padding->height_padding > reproc_cfg.padding->width_padding) {
1518 reproc_cfg.padding->width_padding = reproc_cfg.padding->height_padding;
1520 reproc_cfg.padding->height_padding = reproc_cfg.padding->width_padding;
1523 reproc_cfg.input_stream_dim.width = (int32_t)pInputBuffer->stream->width;
1524 reproc_cfg.input_stream_dim.height = (int32_t)pInputBuffer->stream->height;
1526 reproc_cfg.input_stream_dim.width = (int32_t)dim.width;
1527 reproc_cfg.input_stream_dim.height = (int32_t)dim.height;
1529 reproc_cfg.src_channel = this;
1530 reproc_cfg.output_stream_dim.width = mCamera3Stream->width;
1531 reproc_cfg.output_stream_dim.height = mCamera3Stream->height;
1532 reproc_cfg.reprocess_type = getReprocessType();
1537 reproc_cfg.stream_type, reproc_cfg.stream_format);
1544 reproc_cfg.stream_type = mStreamType;
1545 reproc_cfg.stream_format = streamFormat;
1548 switch (reproc_cfg.stream_type) {
1557 &reproc_cfg.input_stream_dim,
1558 reproc_cfg.padding,
1559 &reproc_cfg.input_stream_plane_info);
1562 rc = mm_stream_calc_offset_video(reproc_cfg.stream_format,
1563 &reproc_cfg.input_stream_dim,
1564 &reproc_cfg.input_stream_plane_info);
1567 rc = mm_stream_calc_offset_raw(reproc_cfg.stream_format,
1568 &reproc_cfg.input_stream_dim,
1569 reproc_cfg.padding, &reproc_cfg.input_stream_plane_info);
1574 rc = mm_stream_calc_offset_snapshot(streamFormat, &reproc_cfg.input_stream_dim,
1575 reproc_cfg.padding, &reproc_cfg.input_stream_plane_info);
2801 reprocess_config_t reproc_cfg;
2803 memset(&reproc_cfg, 0, sizeof(reprocess_config_t));
2806 setReprocConfig(reproc_cfg, NULL, metadata, mStreamFormat, dim);
2809 startPostProc(reproc_cfg);
3483 reprocess_config_t reproc_cfg;
3485 memset(&reproc_cfg, 0, sizeof(reprocess_config_t));
3490 setReprocConfig(reproc_cfg, pInputBuffer, metadata, mStreamFormat, dim);
3519 startPostProc(reproc_cfg);
3522 if (reproc_cfg.reprocess_type == REPROCESS_TYPE_NONE) {
3556 rc = setFwkInputPPData(src_frame, pInputBuffer, &reproc_cfg, metadata,