Modify media_codecs_bo_c2.xml to enable HW AV1 encoder

Bug: 258860173

Signed-off-by: Szu-Wei (Wesley) Lee <szuweilee@google.com>
Change-Id: If02a16d21353a61fafb4f2cbaebdc3852e14a60d
This commit is contained in:
Szu-Wei (Wesley) Lee 2022-11-12 00:16:02 +00:00
parent 62e25a081e
commit 5d004953f5

View file

@ -44,4 +44,19 @@
<Feature name="secure-playback" required="true" />
</MediaCodec>
</Decoders>
<Encoders>
<MediaCodec name="c2.google.av1.encoder" type="video/av01">
<Limit name="size" min="64x64" max="3840x2176" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="64x64" />
<Limit name="block-count" range="1-2040" />
<Limit name="blocks-per-second" min="1" max="61200" />
<Limit name="bitrate" range="1-120000000" />
<Limit name="performance-point-1280x720" range="240" />
<Limit name="performance-point-3840x2160" range="30" />
<Limit name="concurrent-instances" max="16" />
<Feature name="can-swap-width-height" value="1" />
<Feature name="vq-minimum-quality"/>
</MediaCodec>
</Encoders>
</MediaCodecs>