Lines Matching refs:streamInfo

849 int32_t QCameraStream::calcOffset(cam_stream_info_t *streamInfo)  in calcOffset()  argument
853 cam_dimension_t dim = streamInfo->dim; in calcOffset()
854 if (streamInfo->pp_config.feature_mask & CAM_QCOM_FEATURE_ROTATION && in calcOffset()
855 streamInfo->stream_type != CAM_STREAM_TYPE_VIDEO) { in calcOffset()
856 if (streamInfo->pp_config.rotation == ROTATE_90 || in calcOffset()
857 streamInfo->pp_config.rotation == ROTATE_270) { in calcOffset()
859 dim.width = streamInfo->dim.height; in calcOffset()
860 dim.height = streamInfo->dim.width; in calcOffset()
864 switch (streamInfo->stream_type) { in calcOffset()
867 rc = mm_stream_calc_offset_preview(streamInfo, in calcOffset()
870 &streamInfo->buf_planes); in calcOffset()
873 rc = mm_stream_calc_offset_post_view(streamInfo, in calcOffset()
876 &streamInfo->buf_planes); in calcOffset()
879 rc = mm_stream_calc_offset_snapshot(streamInfo->fmt, in calcOffset()
882 &streamInfo->buf_planes); in calcOffset()
885 rc = mm_stream_calc_offset_postproc(streamInfo, in calcOffset()
887 &streamInfo->buf_planes); in calcOffset()
890 rc = mm_stream_calc_offset_video(streamInfo->fmt, in calcOffset()
891 &dim, &streamInfo->buf_planes); in calcOffset()
894 rc = mm_stream_calc_offset_raw(streamInfo, in calcOffset()
897 &streamInfo->buf_planes); in calcOffset()
900 rc = mm_stream_calc_offset_analysis(streamInfo->fmt, in calcOffset()
903 &streamInfo->buf_planes); in calcOffset()
908 &streamInfo->buf_planes); in calcOffset()
912 streamInfo->stream_type); in calcOffset()
2448 cam_stream_info_t streamInfo = *mStreamInfo; in getFrameOffset() local
2449 getFrameDimension(streamInfo.dim); in getFrameOffset()
2450 calcOffset(&streamInfo); in getFrameOffset()
2451 offset = streamInfo.buf_planes.plane_info; in getFrameOffset()