[5.1/H-1-21] MUST support FEATURE_DynamicColorAspect for all hardware video decoders (AVC, HEVC, VP9, AV1, or later). Bug: 343864145 Flag: EXEMPT resource only update Test: run cts -m CtsMediaPerformanceClassTestCases -- --module-arg \ CtsMediaPerformanceClassTestCases:instrumentation-arg:media-performance-class:=35 Test: run cts -m CtsMediaV2TestCases -t android.mediav2.cts.DecoderDynamicColorAspectTest Test: run cts -m CtsMediaV2TestCases -t android.mediav2.cts.AdaptivePlaybackTest Change-Id: I97c2e683f2290a91e40be77f595b1043c548db6d
73 lines
3.6 KiB
XML
73 lines
3.6 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<!-- Copyright 2018 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<MediaCodecs>
|
|
<Include href="media_codecs_aosp_c2.xml" />
|
|
<Include href="media_codecs_dolby_c2.xml" />
|
|
<Decoders>
|
|
<MediaCodec name="c2.google.av1.decoder" type="video/av01">
|
|
<Limit name="size" min="96x96" max="3840x2160" />
|
|
<Limit name="alignment" value="1x1" />
|
|
<Limit name="block-size" value="16x16" />
|
|
<Limit name="block-count" range="36-32400" />
|
|
<Limit name="blocks-per-second" min="24" max="1944000" />
|
|
<Limit name="bitrate" range="1-120000000" />
|
|
<Limit name="frame-rate" range="1-120" />
|
|
<Limit name="concurrent-instances" max="16" />
|
|
<Limit name="performance-point-1920x1080" value="180" />
|
|
<Limit name="performance-point-1920x1079" value="120" />
|
|
<Limit name="performance-point-3840x2160" value="60" />
|
|
<Feature name="adaptive-playback" />
|
|
<Feature name="can-swap-width-height" value="1" />
|
|
<Feature name="dynamic-color-aspects" />
|
|
</MediaCodec>
|
|
<MediaCodec name="c2.google.av1.decoder.secure" type="video/av01">
|
|
<Limit name="size" min="96x96" max="3840x2160" />
|
|
<Limit name="alignment" value="1x1" />
|
|
<Limit name="block-size" value="16x16" />
|
|
<Limit name="block-count" range="36-32400" />
|
|
<Limit name="blocks-per-second" min="24" max="1944000" />
|
|
<Limit name="bitrate" range="1-120000000" />
|
|
<Limit name="frame-rate" range="1-120" />
|
|
<Limit name="concurrent-instances" max="16" />
|
|
<Limit name="performance-point-1920x1080" value="180" />
|
|
<Limit name="performance-point-1920x1079" value="120" />
|
|
<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" />
|
|
<Feature name="dynamic-color-aspects" />
|
|
</MediaCodec>
|
|
</Decoders>
|
|
<Encoders>
|
|
<MediaCodec name="c2.google.av1.encoder" type="video/av01">
|
|
<Limit name="size" min="64x64" max="3840x2176" />
|
|
<Limit name="alignment" value="1x1" />
|
|
<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="200" />
|
|
<Limit name="performance-point-1920x1080" value="180" />
|
|
<Limit name="performance-point-1920x1079" value="120" />
|
|
<Limit name="performance-point-3840x2160" value="60" />
|
|
<Limit name="concurrent-instances" max="16" />
|
|
<Feature name="can-swap-width-height" value="1" />
|
|
<Feature name="vq-minimum-quality"/>
|
|
<Feature name="encoding-statistics"/>
|
|
<Feature name="hdr-editing" />
|
|
</MediaCodec>
|
|
</Encoders>
|
|
</MediaCodecs>
|