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
This commit is contained in:
Vinay Kalia 2021-08-03 15:10:14 +00:00
parent d2e0f9f79b
commit 4f62d6b733

View file

@ -29,6 +29,7 @@
<Limit name="performance-point-1920x1080" value="120" /> <Limit name="performance-point-1920x1080" value="120" />
<Limit name="performance-point-3840x2160" value="60" /> <Limit name="performance-point-3840x2160" value="60" />
<Feature name="adaptive-playback" /> <Feature name="adaptive-playback" />
<Feature name="can-swap-width-height" value="1" />
</MediaCodec> </MediaCodec>
<MediaCodec name="c2.google.av1.decoder.secure" type="video/av01"> <MediaCodec name="c2.google.av1.decoder.secure" type="video/av01">
<Limit name="size" min="96x96" max="3840x2160" /> <Limit name="size" min="96x96" max="3840x2160" />
@ -44,6 +45,7 @@
<Limit name="performance-point-3840x2160" value="60" /> <Limit name="performance-point-3840x2160" value="60" />
<Feature name="adaptive-playback" /> <Feature name="adaptive-playback" />
<Feature name="secure-playback" required="true" /> <Feature name="secure-playback" required="true" />
<Feature name="can-swap-width-height" value="1" />
</MediaCodec> </MediaCodec>
</Decoders> </Decoders>
</MediaCodecs> </MediaCodecs>