Aaron Ding | bb4beaf | 2021-05-19 13:18:49 +0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8" ?> |
| 2 | <!-- Copyright 2018 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | <MediaCodecs> |
| 17 | <Include href="media_codecs_aosp_c2.xml" /> |
Jean-Michel Trivi | 65b6f92 | 2022-09-19 21:31:16 +0000 | [diff] [blame] | 18 | <Include href="media_codecs_dolby_c2.xml" /> |
Aaron Ding | bb4beaf | 2021-05-19 13:18:49 +0800 | [diff] [blame] | 19 | <Decoders> |
| 20 | <MediaCodec name="c2.google.av1.decoder" type="video/av01"> |
| 21 | <Limit name="size" min="96x96" max="3840x2160" /> |
| 22 | <Limit name="alignment" value="2x2" /> |
| 23 | <Limit name="block-size" value="16x16" /> |
| 24 | <Limit name="block-count" range="36-32400" /> |
| 25 | <Limit name="blocks-per-second" min="24" max="1944000" /> |
| 26 | <Limit name="bitrate" range="1-120000000" /> |
| 27 | <Limit name="frame-rate" range="1-120" /> |
| 28 | <Limit name="concurrent-instances" max="16" /> |
Ruofei Ma | 4ac9538 | 2022-10-18 17:31:38 +0000 | [diff] [blame] | 29 | <Limit name="performance-point-1920x1080" value="180" /> |
| 30 | <Limit name="performance-point-1920x1079" value="120" /> |
Aaron Ding | bb4beaf | 2021-05-19 13:18:49 +0800 | [diff] [blame] | 31 | <Limit name="performance-point-3840x2160" value="60" /> |
| 32 | <!--Feature name="adaptive-playback" /--> |
| 33 | </MediaCodec> |
| 34 | <MediaCodec name="c2.google.av1.decoder.secure" type="video/av01"> |
| 35 | <Limit name="size" min="96x96" max="3840x2160" /> |
| 36 | <Limit name="alignment" value="2x2" /> |
| 37 | <Limit name="block-size" value="16x16" /> |
| 38 | <Limit name="block-count" range="36-32400" /> |
| 39 | <Limit name="blocks-per-second" min="24" max="1944000" /> |
| 40 | <Limit name="bitrate" range="1-120000000" /> |
| 41 | <Limit name="frame-rate" range="1-120" /> |
| 42 | <Limit name="concurrent-instances" max="16" /> |
Ruofei Ma | 4ac9538 | 2022-10-18 17:31:38 +0000 | [diff] [blame] | 43 | <Limit name="performance-point-1920x1080" value="180" /> |
| 44 | <Limit name="performance-point-1920x1079" value="120" /> |
Aaron Ding | bb4beaf | 2021-05-19 13:18:49 +0800 | [diff] [blame] | 45 | <Limit name="performance-point-3840x2160" value="60" /> |
| 46 | <!--Feature name="adaptive-playback" /--> |
| 47 | <Feature name="secure-playback" required="true" /> |
| 48 | </MediaCodec> |
| 49 | </Decoders> |
| 50 | </MediaCodecs> |