add "can-swap-width-height" for video codec

Bug: 182956090
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Change-Id: Ib71a4eb7cc36682e2bfdd10cd4fdee2665f11c58
This commit is contained in:
Taehwan Kim 2021-06-12 10:42:45 +09:00 committed by Wen Chang Liu
parent 47a523375e
commit 2fadf61e9f

View file

@ -30,6 +30,7 @@
<Limit name="performance-point-3840x2160" range="120" /> <Limit name="performance-point-3840x2160" range="120" />
<Limit name="concurrent-instances" max="16" /> <Limit name="concurrent-instances" max="16" />
<Feature name="adaptive-playback" /> <Feature name="adaptive-playback" />
<Feature name="can-swap-width-height" value="1" />
</MediaCodec> </MediaCodec>
<MediaCodec name="c2.exynos.h264.decoder.secure" type="video/avc"> <MediaCodec name="c2.exynos.h264.decoder.secure" type="video/avc">
<Limit name="size" min="32x32" max="3840x2160" /> <Limit name="size" min="32x32" max="3840x2160" />
@ -43,6 +44,7 @@
<Limit name="concurrent-instances" max="2" /> <Limit name="concurrent-instances" max="2" />
<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>
<MediaCodec name="c2.exynos.hevc.decoder" type="video/hevc" > <MediaCodec name="c2.exynos.hevc.decoder" type="video/hevc" >
<Limit name="size" min="64x64" max="3840x2160" /> <Limit name="size" min="64x64" max="3840x2160" />
@ -55,6 +57,7 @@
<Limit name="performance-point-3840x2160" range="120" /> <Limit name="performance-point-3840x2160" range="120" />
<Limit name="concurrent-instances" max="16" /> <Limit name="concurrent-instances" max="16" />
<Feature name="adaptive-playback" /> <Feature name="adaptive-playback" />
<Feature name="can-swap-width-height" value="1" />
</MediaCodec> </MediaCodec>
<MediaCodec name="c2.exynos.hevc.decoder.secure" type="video/hevc" > <MediaCodec name="c2.exynos.hevc.decoder.secure" type="video/hevc" >
<Limit name="size" min="64x64" max="3840x2160" /> <Limit name="size" min="64x64" max="3840x2160" />
@ -68,6 +71,7 @@
<Limit name="concurrent-instances" max="2" /> <Limit name="concurrent-instances" max="2" />
<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>
<MediaCodec name="c2.exynos.mpeg4.decoder" type="video/mp4v-es"> <MediaCodec name="c2.exynos.mpeg4.decoder" type="video/mp4v-es">
<Limit name="size" min="32x32" max="2048x2048" /> <Limit name="size" min="32x32" max="2048x2048" />
@ -80,6 +84,7 @@
<Limit name="performance-point-1920x1080" range="120" /> <Limit name="performance-point-1920x1080" range="120" />
<Limit name="concurrent-instances" max="16" /> <Limit name="concurrent-instances" max="16" />
<Feature name="adaptive-playback" /> <Feature name="adaptive-playback" />
<Feature name="can-swap-width-height" value="1" />
</MediaCodec> </MediaCodec>
<MediaCodec name="c2.exynos.h263.decoder" type="video/3gpp"> <MediaCodec name="c2.exynos.h263.decoder" type="video/3gpp">
<Limit name="size" min="32x32" max="2048x1152" /> <Limit name="size" min="32x32" max="2048x1152" />
@ -104,6 +109,7 @@
<Limit name="performance-point-3840x2160" range="120" /> <Limit name="performance-point-3840x2160" range="120" />
<Limit name="concurrent-instances" max="16" /> <Limit name="concurrent-instances" max="16" />
<Feature name="adaptive-playback" /> <Feature name="adaptive-playback" />
<Feature name="can-swap-width-height" value="1" />
</MediaCodec> </MediaCodec>
<MediaCodec name="c2.exynos.vp9.decoder" type="video/x-vnd.on2.vp9" > <MediaCodec name="c2.exynos.vp9.decoder" type="video/x-vnd.on2.vp9" >
<Limit name="size" min="64x64" max="3840x2176" /> <Limit name="size" min="64x64" max="3840x2176" />
@ -116,6 +122,7 @@
<Limit name="performance-point-3840x2160" range="120" /> <Limit name="performance-point-3840x2160" range="120" />
<Limit name="concurrent-instances" max="16" /> <Limit name="concurrent-instances" max="16" />
<Feature name="adaptive-playback" /> <Feature name="adaptive-playback" />
<Feature name="can-swap-width-height" value="1" />
</MediaCodec> </MediaCodec>
<MediaCodec name="c2.exynos.vp9.decoder.secure" type="video/x-vnd.on2.vp9" > <MediaCodec name="c2.exynos.vp9.decoder.secure" type="video/x-vnd.on2.vp9" >
<Limit name="size" min="64x64" max="3840x2176" /> <Limit name="size" min="64x64" max="3840x2176" />
@ -129,6 +136,7 @@
<Limit name="concurrent-instances" max="2" /> <Limit name="concurrent-instances" max="2" />
<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>
@ -143,6 +151,7 @@
<Limit name="performance-point-1280x720" range="240" /> <Limit name="performance-point-1280x720" range="240" />
<Limit name="performance-point-3840x2160" range="120" /> <Limit name="performance-point-3840x2160" range="120" />
<Limit name="concurrent-instances" max="16" /> <Limit name="concurrent-instances" max="16" />
<Feature name="can-swap-width-height" value="1" />
</MediaCodec> </MediaCodec>
<MediaCodec name="c2.exynos.hevc.encoder" type="video/hevc" > <MediaCodec name="c2.exynos.hevc.encoder" type="video/hevc" >
<Limit name="size" min="64x64" max="3840x2176" /> <Limit name="size" min="64x64" max="3840x2176" />
@ -154,6 +163,7 @@
<Limit name="performance-point-1280x720" range="240" /> <Limit name="performance-point-1280x720" range="240" />
<Limit name="performance-point-3840x2160" range="120" /> <Limit name="performance-point-3840x2160" range="120" />
<Limit name="concurrent-instances" max="16" /> <Limit name="concurrent-instances" max="16" />
<Feature name="can-swap-width-height" value="1" />
</MediaCodec> </MediaCodec>
<MediaCodec name="c2.exynos.mpeg4.encoder" type="video/mp4v-es"> <MediaCodec name="c2.exynos.mpeg4.encoder" type="video/mp4v-es">
<Limit name="size" min="32x32" max="2048x2048" /> <Limit name="size" min="32x32" max="2048x2048" />
@ -165,6 +175,7 @@
<Limit name="performance-point-1280x720" range="240" /> <Limit name="performance-point-1280x720" range="240" />
<Limit name="performance-point-1920x1080" range="120" /> <Limit name="performance-point-1920x1080" range="120" />
<Limit name="concurrent-instances" max="16" /> <Limit name="concurrent-instances" max="16" />
<Feature name="can-swap-width-height" value="1" />
</MediaCodec> </MediaCodec>
<MediaCodec name="c2.exynos.h263.encoder" type="video/3gpp"> <MediaCodec name="c2.exynos.h263.encoder" type="video/3gpp">
<Limit name="size" min="32x32" max="2048x1152" /> <Limit name="size" min="32x32" max="2048x1152" />
@ -187,6 +198,7 @@
<Limit name="performance-point-1280x720" range="240" /> <Limit name="performance-point-1280x720" range="240" />
<Limit name="performance-point-3840x2160" range="120" /> <Limit name="performance-point-3840x2160" range="120" />
<Limit name="concurrent-instances" max="16" /> <Limit name="concurrent-instances" max="16" />
<Feature name="can-swap-width-height" value="1" />
</MediaCodec> </MediaCodec>
<MediaCodec name="c2.exynos.vp9.encoder" type="video/x-vnd.on2.vp9" > <MediaCodec name="c2.exynos.vp9.encoder" type="video/x-vnd.on2.vp9" >
<Limit name="size" min="64x64" max="3840x2176" /> <Limit name="size" min="64x64" max="3840x2176" />
@ -198,6 +210,7 @@
<Limit name="performance-point-1280x720" range="240" /> <Limit name="performance-point-1280x720" range="240" />
<Limit name="performance-point-3840x2160" range="120" /> <Limit name="performance-point-3840x2160" range="120" />
<Limit name="concurrent-instances" max="16" /> <Limit name="concurrent-instances" max="16" />
<Feature name="can-swap-width-height" value="1" />
</MediaCodec> </MediaCodec>
</Encoders> </Encoders>
</MediaCodecs> </MediaCodecs>