Home | History | Annotate | Download | only in HAL

Lines Matching full:streaminfo

458  *   @streamInfo  : stream information
464 int32_t QCameraStream::calcOffset(cam_stream_info_t *streamInfo)
468 cam_dimension_t dim = streamInfo->dim;
469 if (streamInfo->pp_config.feature_mask & CAM_QCOM_FEATURE_ROTATION &&
470 streamInfo->stream_type != CAM_STREAM_TYPE_VIDEO) {
471 if (streamInfo->pp_config.rotation == ROTATE_90 ||
472 streamInfo->pp_config.rotation == ROTATE_270) {
474 dim.width = streamInfo->dim.height;
475 dim.height = streamInfo->dim.width;
479 switch (streamInfo->stream_type) {
481 rc = mm_stream_calc_offset_preview(streamInfo->fmt,
483 &streamInfo->buf_planes);
486 rc = mm_stream_calc_offset_post_view(streamInfo->fmt,
488 &streamInfo->buf_planes);
491 rc = mm_stream_calc_offset_snapshot(streamInfo->fmt,
494 &streamInfo
497 rc = mm_stream_calc_offset_postproc(streamInfo,
499 &streamInfo->buf_planes);
503 &streamInfo->buf_planes);
506 rc = mm_stream_calc_offset_raw(streamInfo->fmt,
509 &streamInfo->buf_planes);
514 &streamInfo->buf_planes);
518 __func__, streamInfo->stream_type);