Commit 5a7edaeb authored by Fritz Koenig's avatar Fritz Koenig Committed by Commit Bot

media/gpu/v4l2: report more h264 profiles

qc7180 supports V4L2_MPEG_VIDEO_H264_PROFILE_STEREO_HIGH
and V4L2_MPEG_VIDEO_H264_PROFILE_MULTIVIEW_HIGH.

BUG=b:158800859
TEST=./video_decode_accelerator_tests

Change-Id: I88fbb2e541cc054a2b1a03d1b01f1ae9e6f718da
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2249078
Auto-Submit: Fritz Koenig <frkoenig@chromium.org>
Reviewed-by: default avatarJ Kardatzke <jkardatzke@chromium.org>
Commit-Queue: Fritz Koenig <frkoenig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#779613}
parent 5bfd7ff6
......@@ -1369,6 +1369,10 @@ VideoCodecProfile V4L2Device::V4L2ProfileToVideoCodecProfile(VideoCodec codec,
return H264PROFILE_EXTENDED;
case V4L2_MPEG_VIDEO_H264_PROFILE_HIGH:
return H264PROFILE_HIGH;
case V4L2_MPEG_VIDEO_H264_PROFILE_STEREO_HIGH:
return H264PROFILE_STEREOHIGH;
case V4L2_MPEG_VIDEO_H264_PROFILE_MULTIVIEW_HIGH:
return H264PROFILE_MULTIVIEWHIGH;
}
break;
case kCodecVP8:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment