Home | History | Annotate | Download | only in HAL

Lines Matching full:streaminfo

771  *   @streamInfo  : stream information
777 int32_t QCameraStream::calcOffset(cam_stream_info_t *streamInfo)
781 cam_dimension_t dim = streamInfo->dim;
782 if (streamInfo->pp_config.feature_mask & CAM_QCOM_FEATURE_ROTATION &&
783 streamInfo->stream_type != CAM_STREAM_TYPE_VIDEO) {
784 if (streamInfo->pp_config.rotation == ROTATE_90 ||
785 streamInfo->pp_config.rotation == ROTATE_270) {
787 dim.width = streamInfo->dim.height;
788 dim.height = streamInfo->dim.width;
792 switch (streamInfo->stream_type) {
795 rc = mm_stream_calc_offset_preview(streamInfo,
798 &streamInfo->buf_planes);
801 rc = mm_stream_calc_offset_post_view(streamInfo->fmt,
803 &streamInfo->buf_planes);
806 rc = mm_stream_calc_offset_snapshot(streamInfo->fmt,
809 &streamInfo->buf_planes);
812 rc = mm_stream_calc_offset_postproc(streamInfo,
814 &streamInfo->buf_planes);
817 rc = mm_stream_calc_offset_video(streamInfo->fmt,
818 &dim, &streamInfo->buf_planes);
821 rc = mm_stream_calc_offset_raw(streamInfo->fmt,
824 &streamInfo->buf_planes);
827 rc = mm_stream_calc_offset_analysis(streamInfo->fmt,
830 &streamInfo->buf_planes);
835 &streamInfo->buf_planes);
839 streamInfo->stream_type);
2295 cam_stream_info_t streamInfo = *mStreamInfo;
2296 getFrameDimension(streamInfo.dim);
2297 calcOffset(&streamInfo);
2298 offset = streamInfo.buf_planes.plane_info;