blob: cddd61779e2ad6c9f272f209b154d278be09d9ac [file] [log] [blame]
Robin Pengc2b5ca92021-02-23 20:00:28 +08001<?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 <Settings>
18 <Setting name="supports-multiple-secure-codecs" value="true" />
19 <Setting name="supports-secure-with-non-secure-codec" value="true" />
20 </Settings>
21 <Decoders>
22 <MediaCodec name="c2.exynos.h264.decoder" type="video/avc">
23 <Limit name="size" min="32x32" max="3840x2160" />
24 <Limit name="alignment" value="2x2" />
25 <Limit name="block-size" value="16x16" />
26 <Limit name="block-count" range="1-32400" />
27 <Limit name="blocks-per-second" min="1" max="3888000" />
28 <Limit name="bitrate" range="1-120000000" />
Ruofei Ma079810e2022-06-15 02:22:47 +000029 <Limit name="performance-point-1280x720" range="240" />
Robin Pengc2b5ca92021-02-23 20:00:28 +080030 <Limit name="performance-point-3840x2160" range="120" />
31 <Limit name="concurrent-instances" max="16" />
32 <Feature name="adaptive-playback" />
Taehwan Kim2fadf612021-06-12 10:42:45 +090033 <Feature name="can-swap-width-height" value="1" />
Robin Pengc2b5ca92021-02-23 20:00:28 +080034 </MediaCodec>
35 <MediaCodec name="c2.exynos.h264.decoder.secure" type="video/avc">
36 <Limit name="size" min="32x32" max="3840x2160" />
37 <Limit name="alignment" value="2x2" />
38 <Limit name="block-size" value="16x16" />
39 <Limit name="block-count" range="1-32400" />
40 <Limit name="blocks-per-second" min="1" max="3888000" />
41 <Limit name="bitrate" range="1-120000000" />
Ruofei Ma079810e2022-06-15 02:22:47 +000042 <Limit name="performance-point-1280x720" range="240" />
Robin Pengc2b5ca92021-02-23 20:00:28 +080043 <Limit name="performance-point-3840x2160" range="120" />
44 <Limit name="concurrent-instances" max="2" />
45 <Feature name="adaptive-playback" />
46 <Feature name="secure-playback" required="true" />
Taehwan Kim2fadf612021-06-12 10:42:45 +090047 <Feature name="can-swap-width-height" value="1" />
Robin Pengc2b5ca92021-02-23 20:00:28 +080048 </MediaCodec>
49 <MediaCodec name="c2.exynos.hevc.decoder" type="video/hevc" >
wenchangliu6a062f12023-04-13 06:41:32 +000050 <Limit name="size" min="64x64" max="3840x2176" />
Robin Pengc2b5ca92021-02-23 20:00:28 +080051 <Limit name="alignment" value="2x2" />
52 <Limit name="block-size" value="16x16" />
wenchangliu6a062f12023-04-13 06:41:32 +000053 <Limit name="block-count" range="1-32640" />
54 <Limit name="blocks-per-second" min="1" max="3916800" />
Robin Pengc2b5ca92021-02-23 20:00:28 +080055 <Limit name="bitrate" range="1-120000000" />
Ruofei Ma079810e2022-06-15 02:22:47 +000056 <Limit name="performance-point-1280x720" range="240" />
Robin Pengc2b5ca92021-02-23 20:00:28 +080057 <Limit name="performance-point-3840x2160" range="120" />
58 <Limit name="concurrent-instances" max="16" />
59 <Feature name="adaptive-playback" />
Taehwan Kim2fadf612021-06-12 10:42:45 +090060 <Feature name="can-swap-width-height" value="1" />
Robin Pengc2b5ca92021-02-23 20:00:28 +080061 </MediaCodec>
62 <MediaCodec name="c2.exynos.hevc.decoder.secure" type="video/hevc" >
63 <Limit name="size" min="64x64" max="3840x2160" />
64 <Limit name="alignment" value="2x2" />
65 <Limit name="block-size" value="16x16" />
66 <Limit name="block-count" range="1-32400" />
67 <Limit name="blocks-per-second" min="1" max="3888000" />
68 <Limit name="bitrate" range="1-120000000" />
Ruofei Ma079810e2022-06-15 02:22:47 +000069 <Limit name="performance-point-1280x720" range="240" />
Robin Pengc2b5ca92021-02-23 20:00:28 +080070 <Limit name="performance-point-3840x2160" range="120" />
71 <Limit name="concurrent-instances" max="2" />
72 <Feature name="adaptive-playback" />
73 <Feature name="secure-playback" required="true" />
Taehwan Kim2fadf612021-06-12 10:42:45 +090074 <Feature name="can-swap-width-height" value="1" />
Robin Pengc2b5ca92021-02-23 20:00:28 +080075 </MediaCodec>
76 <MediaCodec name="c2.exynos.mpeg4.decoder" type="video/mp4v-es">
77 <Limit name="size" min="32x32" max="2048x2048" />
78 <Limit name="alignment" value="2x2" />
79 <Limit name="block-size" value="16x16" />
80 <Limit name="block-count" range="1-16384" />
81 <Limit name="blocks-per-second" min="1" max="979200" />
82 <Limit name="bitrate" range="1-80000000" />
byunggwan kang676f9412021-06-30 16:11:26 +090083 <Limit name="performance-point-1280x720" range="240" />
Robin Pengc2b5ca92021-02-23 20:00:28 +080084 <Limit name="performance-point-1920x1080" range="120" />
85 <Limit name="concurrent-instances" max="16" />
86 <Feature name="adaptive-playback" />
Taehwan Kim2fadf612021-06-12 10:42:45 +090087 <Feature name="can-swap-width-height" value="1" />
Robin Pengc2b5ca92021-02-23 20:00:28 +080088 </MediaCodec>
89 <MediaCodec name="c2.exynos.h263.decoder" type="video/3gpp">
90 <Limit name="size" min="32x32" max="2048x1152" />
91 <Limit name="alignment" value="4x4" />
92 <Limit name="block-size" value="16x16" />
93 <Limit name="block-count" range="1-9216" />
94 <Limit name="blocks-per-second" min="1" max="979200" />
95 <Limit name="bitrate" range="1-80000000" />
byunggwan kang676f9412021-06-30 16:11:26 +090096 <Limit name="performance-point-1280x720" range="240" />
Robin Pengc2b5ca92021-02-23 20:00:28 +080097 <Limit name="performance-point-1920x1080" range="120" />
98 <Limit name="concurrent-instances" max="16" />
99 <Feature name="adaptive-playback" />
100 </MediaCodec>
101 <MediaCodec name="c2.exynos.vp8.decoder" type="video/x-vnd.on2.vp8" >
102 <Limit name="size" min="32x32" max="3840x2160" />
103 <Limit name="alignment" value="2x2" />
104 <Limit name="block-size" value="16x16" />
105 <Limit name="block-count" range="1-32400" />
106 <Limit name="blocks-per-second" min="1" max="3888000" />
107 <Limit name="bitrate" range="1-80000000" />
Ruofei Ma079810e2022-06-15 02:22:47 +0000108 <Limit name="performance-point-1280x720" range="240" />
Robin Pengc2b5ca92021-02-23 20:00:28 +0800109 <Limit name="performance-point-3840x2160" range="120" />
110 <Limit name="concurrent-instances" max="16" />
111 <Feature name="adaptive-playback" />
Taehwan Kim2fadf612021-06-12 10:42:45 +0900112 <Feature name="can-swap-width-height" value="1" />
Robin Pengc2b5ca92021-02-23 20:00:28 +0800113 </MediaCodec>
114 <MediaCodec name="c2.exynos.vp9.decoder" type="video/x-vnd.on2.vp9" >
wenchangliu6a3dcb92021-04-27 20:10:05 +0800115 <Limit name="size" min="64x64" max="3840x2176" />
Robin Pengc2b5ca92021-02-23 20:00:28 +0800116 <Limit name="alignment" value="2x2" />
117 <Limit name="block-size" value="64x64" />
wenchangliu10126362022-03-07 08:43:49 +0000118 <Limit name="block-count" range="1-2040" />
Robin Pengc2b5ca92021-02-23 20:00:28 +0800119 <Limit name="blocks-per-second" min="1" max="3888000" />
120 <Limit name="bitrate" range="1-80000000" />
Ruofei Ma079810e2022-06-15 02:22:47 +0000121 <Limit name="performance-point-1280x720" range="240" />
Robin Pengc2b5ca92021-02-23 20:00:28 +0800122 <Limit name="performance-point-3840x2160" range="120" />
123 <Limit name="concurrent-instances" max="16" />
124 <Feature name="adaptive-playback" />
Taehwan Kim2fadf612021-06-12 10:42:45 +0900125 <Feature name="can-swap-width-height" value="1" />
Robin Pengc2b5ca92021-02-23 20:00:28 +0800126 </MediaCodec>
127 <MediaCodec name="c2.exynos.vp9.decoder.secure" type="video/x-vnd.on2.vp9" >
wenchangliu6a3dcb92021-04-27 20:10:05 +0800128 <Limit name="size" min="64x64" max="3840x2176" />
Robin Pengc2b5ca92021-02-23 20:00:28 +0800129 <Limit name="alignment" value="2x2" />
130 <Limit name="block-size" value="64x64" />
wenchangliu10126362022-03-07 08:43:49 +0000131 <Limit name="block-count" range="1-2040" />
Robin Pengc2b5ca92021-02-23 20:00:28 +0800132 <Limit name="blocks-per-second" min="1" max="3888000" />
133 <Limit name="bitrate" range="1-80000000" />
Ruofei Ma079810e2022-06-15 02:22:47 +0000134 <Limit name="performance-point-1280x720" range="240" />
Robin Pengc2b5ca92021-02-23 20:00:28 +0800135 <Limit name="performance-point-3840x2160" range="120" />
136 <Limit name="concurrent-instances" max="2" />
137 <Feature name="adaptive-playback" />
138 <Feature name="secure-playback" required="true" />
Taehwan Kim2fadf612021-06-12 10:42:45 +0900139 <Feature name="can-swap-width-height" value="1" />
Robin Pengc2b5ca92021-02-23 20:00:28 +0800140 </MediaCodec>
141 </Decoders>
142
143 <Encoders>
144 <MediaCodec name="c2.exynos.h264.encoder" type="video/avc">
145 <Limit name="size" min="32x32" max="3840x2160" />
146 <Limit name="alignment" value="2x2" />
147 <Limit name="block-size" value="16x16" />
148 <Limit name="block-count" range="1-32400" />
149 <Limit name="blocks-per-second" min="1" max="3888000" />
150 <Limit name="bitrate" range="1-120000000" />
Ruofei Ma079810e2022-06-15 02:22:47 +0000151 <Limit name="performance-point-1280x720" range="240" />
Robin Pengc2b5ca92021-02-23 20:00:28 +0800152 <Limit name="performance-point-3840x2160" range="120" />
153 <Limit name="concurrent-instances" max="16" />
Taehwan Kim2fadf612021-06-12 10:42:45 +0900154 <Feature name="can-swap-width-height" value="1" />
Taehwan Kim78c5e4b2021-07-15 17:37:16 +0900155 <Feature name="vq-minimum-quality"/>
Taehwan Kim5cb4f1d2021-11-30 13:48:57 +0900156 <Feature name="qp-bounds"/>
wenchangliu73b675d2022-05-20 08:48:56 +0000157 <Feature name="bitrate-modes" value="VBR,CBR,CBR-FD" />
Robin Pengc2b5ca92021-02-23 20:00:28 +0800158 </MediaCodec>
159 <MediaCodec name="c2.exynos.hevc.encoder" type="video/hevc" >
wenchangliu6a3dcb92021-04-27 20:10:05 +0800160 <Limit name="size" min="64x64" max="3840x2176" />
Robin Pengc2b5ca92021-02-23 20:00:28 +0800161 <Limit name="alignment" value="2x2" />
Taehwan Kima27563b2021-04-13 10:38:05 +0900162 <Limit name="block-size" value="32x32" />
wenchangliu10126362022-03-07 08:43:49 +0000163 <Limit name="block-count" range="1-8160" />
Robin Pengc2b5ca92021-02-23 20:00:28 +0800164 <Limit name="blocks-per-second" min="1" max="979200" />
165 <Limit name="bitrate" range="1-120000000" />
Ruofei Ma079810e2022-06-15 02:22:47 +0000166 <Limit name="performance-point-1280x720" range="240" />
Robin Pengc2b5ca92021-02-23 20:00:28 +0800167 <Limit name="performance-point-3840x2160" range="120" />
168 <Limit name="concurrent-instances" max="16" />
wenchangliu73b675d2022-05-20 08:48:56 +0000169 <Limit name="quality" range="0-100" default="57" />
Taehwan Kim2fadf612021-06-12 10:42:45 +0900170 <Feature name="can-swap-width-height" value="1" />
Taehwan Kim78c5e4b2021-07-15 17:37:16 +0900171 <Feature name="vq-minimum-quality"/>
Taehwan Kim5cb4f1d2021-11-30 13:48:57 +0900172 <Feature name="qp-bounds"/>
wenchangliu73b675d2022-05-20 08:48:56 +0000173 <Feature name="bitrate-modes" value="VBR,CBR,CQ,CBR-FD" />
Robin Pengc2b5ca92021-02-23 20:00:28 +0800174 </MediaCodec>
175 <MediaCodec name="c2.exynos.mpeg4.encoder" type="video/mp4v-es">
176 <Limit name="size" min="32x32" max="2048x2048" />
177 <Limit name="alignment" value="2x2" />
178 <Limit name="block-size" value="16x16" />
179 <Limit name="block-count" range="1-16384" />
180 <Limit name="blocks-per-second" min="1" max="979200" />
181 <Limit name="bitrate" range="1-80000000" />
byunggwan kang676f9412021-06-30 16:11:26 +0900182 <Limit name="performance-point-1280x720" range="240" />
Robin Pengc2b5ca92021-02-23 20:00:28 +0800183 <Limit name="performance-point-1920x1080" range="120" />
184 <Limit name="concurrent-instances" max="16" />
Taehwan Kim2fadf612021-06-12 10:42:45 +0900185 <Feature name="can-swap-width-height" value="1" />
Taehwan Kim78c5e4b2021-07-15 17:37:16 +0900186 <Feature name="vq-minimum-quality"/>
Taehwan Kim5cb4f1d2021-11-30 13:48:57 +0900187 <Feature name="qp-bounds"/>
wenchangliu73b675d2022-05-20 08:48:56 +0000188 <Feature name="bitrate-modes" value="VBR,CBR" />
Robin Pengc2b5ca92021-02-23 20:00:28 +0800189 </MediaCodec>
190 <MediaCodec name="c2.exynos.h263.encoder" type="video/3gpp">
191 <Limit name="size" min="32x32" max="2048x1152" />
192 <Limit name="alignment" value="4x4" />
193 <Limit name="block-size" value="16x16" />
194 <Limit name="block-count" range="1-9216" />
195 <Limit name="blocks-per-second" min="1" max="979200" />
196 <Limit name="bitrate" range="1-80000000" />
byunggwan kang676f9412021-06-30 16:11:26 +0900197 <Limit name="performance-point-1280x720" range="240" />
Robin Pengc2b5ca92021-02-23 20:00:28 +0800198 <Limit name="performance-point-1920x1080" range="120" />
199 <Limit name="concurrent-instances" max="16" />
Taehwan Kim78c5e4b2021-07-15 17:37:16 +0900200 <Feature name="vq-minimum-quality"/>
Taehwan Kim5cb4f1d2021-11-30 13:48:57 +0900201 <Feature name="qp-bounds"/>
wenchangliu73b675d2022-05-20 08:48:56 +0000202 <Feature name="bitrate-modes" value="VBR,CBR" />
Robin Pengc2b5ca92021-02-23 20:00:28 +0800203 </MediaCodec>
204 <MediaCodec name="c2.exynos.vp8.encoder" type="video/x-vnd.on2.vp8" >
205 <Limit name="size" min="32x32" max="3840x2160" />
206 <Limit name="alignment" value="2x2" />
207 <Limit name="block-size" value="16x16" />
208 <Limit name="block-count" range="1-32400" />
209 <Limit name="blocks-per-second" min="1" max="3888000" />
210 <Limit name="bitrate" range="1-80000000" />
Ruofei Ma079810e2022-06-15 02:22:47 +0000211 <Limit name="performance-point-1280x720" range="240" />
Robin Pengc2b5ca92021-02-23 20:00:28 +0800212 <Limit name="performance-point-3840x2160" range="120" />
213 <Limit name="concurrent-instances" max="16" />
Taehwan Kim2fadf612021-06-12 10:42:45 +0900214 <Feature name="can-swap-width-height" value="1" />
Taehwan Kim78c5e4b2021-07-15 17:37:16 +0900215 <Feature name="vq-minimum-quality"/>
Taehwan Kim5cb4f1d2021-11-30 13:48:57 +0900216 <Feature name="qp-bounds"/>
wenchangliu73b675d2022-05-20 08:48:56 +0000217 <Feature name="bitrate-modes" value="VBR,CBR" />
Robin Pengc2b5ca92021-02-23 20:00:28 +0800218 </MediaCodec>
219 <MediaCodec name="c2.exynos.vp9.encoder" type="video/x-vnd.on2.vp9" >
wenchangliu6a3dcb92021-04-27 20:10:05 +0800220 <Limit name="size" min="64x64" max="3840x2176" />
Robin Pengc2b5ca92021-02-23 20:00:28 +0800221 <Limit name="alignment" value="2x2" />
222 <Limit name="block-size" value="64x64" />
wenchangliu10126362022-03-07 08:43:49 +0000223 <Limit name="block-count" range="1-2040" />
Robin Pengc2b5ca92021-02-23 20:00:28 +0800224 <Limit name="blocks-per-second" min="1" max="243000" />
225 <Limit name="bitrate" range="1-80000000" />
Ruofei Ma079810e2022-06-15 02:22:47 +0000226 <Limit name="performance-point-1280x720" range="240" />
Robin Pengc2b5ca92021-02-23 20:00:28 +0800227 <Limit name="performance-point-3840x2160" range="120" />
228 <Limit name="concurrent-instances" max="16" />
Taehwan Kim2fadf612021-06-12 10:42:45 +0900229 <Feature name="can-swap-width-height" value="1" />
Taehwan Kim78c5e4b2021-07-15 17:37:16 +0900230 <Feature name="vq-minimum-quality"/>
Taehwan Kim5cb4f1d2021-11-30 13:48:57 +0900231 <Feature name="qp-bounds"/>
wenchangliu73b675d2022-05-20 08:48:56 +0000232 <Feature name="bitrate-modes" value="VBR,CBR" />
Robin Pengc2b5ca92021-02-23 20:00:28 +0800233 </MediaCodec>
234 </Encoders>
235</MediaCodecs>