Home | History | Annotate | Download | only in HAL

Lines Matching full:streaminfo

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