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