diff options
author | Vinay Kalia <vinaykalia@google.com> | 2021-08-03 15:10:14 +0000 |
---|---|---|
committer | Vinay Kalia <vinaykalia@google.com> | 2021-08-03 17:15:51 +0000 |
commit | 4f62d6b733ea858011a262336f64305e4b28dc2e (patch) | |
tree | 821c112d6576f7143834fbcb5f7815160c8b9daa /media_codecs_bo_c2.xml | |
parent | d2e0f9f79b9a9c5bd736e34ad684f34d4cb81049 (diff) | |
download | gs101-4f62d6b733ea858011a262336f64305e4b28dc2e.tar.gz |
Support height/width swap
Enable support for height/width swap so that vertical videos
with supported resolution can be played with HW AV1 decoder.
bug: 195409679
Test: AV1 video playback in vertical as well as horizontal orientation.
Signed-off-by: Vinay Kalia <vinaykalia@google.com>
Change-Id: I939f6a0dc432f6b1c92a1e818647afb66c20d856
Diffstat (limited to 'media_codecs_bo_c2.xml')
-rw-r--r-- | media_codecs_bo_c2.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/media_codecs_bo_c2.xml b/media_codecs_bo_c2.xml index a679f951..22ad88e2 100644 --- a/media_codecs_bo_c2.xml +++ b/media_codecs_bo_c2.xml @@ -29,6 +29,7 @@ <Limit name="performance-point-1920x1080" value="120" /> <Limit name="performance-point-3840x2160" value="60" /> <Feature name="adaptive-playback" /> + <Feature name="can-swap-width-height" value="1" /> </MediaCodec> <MediaCodec name="c2.google.av1.decoder.secure" type="video/av01"> <Limit name="size" min="96x96" max="3840x2160" /> @@ -44,6 +45,7 @@ <Limit name="performance-point-3840x2160" value="60" /> <Feature name="adaptive-playback" /> <Feature name="secure-playback" required="true" /> + <Feature name="can-swap-width-height" value="1" /> </MediaCodec> </Decoders> </MediaCodecs> |