Lines Matching refs:streamInfo
670 int32_t QCameraStream::calcOffset(cam_stream_info_t *streamInfo) in calcOffset() argument
674 cam_dimension_t dim = streamInfo->dim; in calcOffset()
675 if (streamInfo->pp_config.feature_mask & CAM_QCOM_FEATURE_ROTATION && in calcOffset()
676 streamInfo->stream_type != CAM_STREAM_TYPE_VIDEO) { in calcOffset()
677 if (streamInfo->pp_config.rotation == ROTATE_90 || in calcOffset()
678 streamInfo->pp_config.rotation == ROTATE_270) { in calcOffset()
680 dim.width = streamInfo->dim.height; in calcOffset()
681 dim.height = streamInfo->dim.width; in calcOffset()
685 switch (streamInfo->stream_type) { in calcOffset()
687 rc = mm_stream_calc_offset_preview(streamInfo->fmt, in calcOffset()
689 &streamInfo->buf_planes); in calcOffset()
692 rc = mm_stream_calc_offset_post_view(streamInfo->fmt, in calcOffset()
694 &streamInfo->buf_planes); in calcOffset()
697 rc = mm_stream_calc_offset_snapshot(streamInfo->fmt, in calcOffset()
700 &streamInfo->buf_planes); in calcOffset()
703 rc = mm_stream_calc_offset_postproc(streamInfo, in calcOffset()
705 &streamInfo->buf_planes); in calcOffset()
709 &streamInfo->buf_planes); in calcOffset()
712 rc = mm_stream_calc_offset_raw(streamInfo->fmt, in calcOffset()
715 &streamInfo->buf_planes); in calcOffset()
718 rc = mm_stream_calc_offset_analysis(streamInfo->fmt, in calcOffset()
721 &streamInfo->buf_planes); in calcOffset()
726 &streamInfo->buf_planes); in calcOffset()
730 __func__, streamInfo->stream_type); in calcOffset()
1881 cam_stream_info_t streamInfo = *mStreamInfo; in getFrameOffset() local
1882 getFrameDimension(streamInfo.dim); in getFrameOffset()
1883 calcOffset(&streamInfo); in getFrameOffset()
1884 offset = streamInfo.buf_planes.plane_info; in getFrameOffset()