Publish performance points for AV1 codec

Publish performance points and fix capabilities.

BUG: 184694421

Signed-off-by: Ruofei Ma <ruofeim@google.com>
Change-Id: I9ca128c0055249967035bf0052a857a043939b43
This commit is contained in:
Ruofei Ma 2021-04-15 21:59:16 +00:00 committed by TreeHugger Robot
parent fc630f27e0
commit ccd044049a

View file

@ -17,23 +17,29 @@
<Include href="media_codecs_aosp_c2.xml" /> <Include href="media_codecs_aosp_c2.xml" />
<Decoders> <Decoders>
<MediaCodec name="c2.google.av1.decoder" type="video/av01"> <MediaCodec name="c2.google.av1.decoder" type="video/av01">
<Limit name="size" min="96x96" max="4096x2304" /> <Limit name="size" min="96x96" max="3840x2160" />
<Limit name="alignment" value="2x2" /> <Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" /> <Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="24" max="2073600" /> <Limit name="block-count" range="36-32400" />
<Limit name="blocks-per-second" min="24" max="1944000" />
<Limit name="bitrate" range="1-120000000" /> <Limit name="bitrate" range="1-120000000" />
<Limit name="frame-rate" range="1-60" /> <Limit name="frame-rate" range="1-120" />
<Limit name="concurrent-instances" max="16" /> <Limit name="concurrent-instances" max="16" />
<Limit name="performance-point-1920x1080" value="120" />
<Limit name="performance-point-3840x2160" value="60" />
<!--Feature name="adaptive-playback" /--> <!--Feature name="adaptive-playback" /-->
</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="4096x2304" /> <Limit name="size" min="96x96" max="3840x2160" />
<Limit name="alignment" value="2x2" /> <Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" /> <Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="24" max="2073600" /> <Limit name="block-count" range="36-32400" />
<Limit name="blocks-per-second" min="24" max="1944000" />
<Limit name="bitrate" range="1-120000000" /> <Limit name="bitrate" range="1-120000000" />
<Limit name="frame-rate" range="1-60" /> <Limit name="frame-rate" range="1-120" />
<Limit name="concurrent-instances" max="16" /> <Limit name="concurrent-instances" max="16" />
<Limit name="performance-point-1920x1080" value="120" />
<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" />
</MediaCodec> </MediaCodec>