blob: 0e36a4c2b39a6b1bcd8e4d6fd92ecd7055bf8fd3 [file] [log] [blame]
Praveen Chavan33532eb2015-08-07 17:03:00 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2012-2013 The Android Open Source Project
3 Copyright (C) 2012-2015 The Linux Foundation. All rights reserved.
4 Not a contribution.
Praveen Chavane4d7c6b2013-11-06 17:52:03 -08005
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17-->
Shalaj Jainf1840dd2015-02-27 15:39:27 -080018
Praveen Chavan33532eb2015-08-07 17:03:00 -070019<!--
20<!DOCTYPE MediaCodecs [
21<!ELEMENT Include EMPTY>
22<!ATTLIST Include href CDATA #REQUIRED>
23<!ELEMENT MediaCodecs (Decoders|Encoders|Include)*>
24<!ELEMENT Decoders (MediaCodec|Include)*>
25<!ELEMENT Encoders (MediaCodec|Include)*>
26<!ELEMENT MediaCodec (Type|Quirk|Include)*>
27<!ATTLIST MediaCodec name CDATA #REQUIRED>
28<!ATTLIST MediaCodec type CDATA>
29<!ELEMENT Type EMPTY>
30<!ATTLIST Type name CDATA #REQUIRED>
31<!ELEMENT Quirk EMPTY>
32<!ATTLIST Quirk name CDATA #REQUIRED>
33]>
34
35There's a simple and a complex syntax to declare the availability of a
36media codec:
37
38A codec that properly follows the OpenMax spec and therefore doesn't have any
39quirks and that only supports a single content type can be declared like so:
40
41 <MediaCodec name="OMX.foo.bar" type="something/interesting" />
42
43If a codec has quirks OR supports multiple content types, the following syntax
44can be used:
45
46 <MediaCodec name="OMX.foo.bar" >
47 <Type name="something/interesting" />
48 <Type name="something/else" />
49 ...
50 <Quirk name="requires-allocate-on-input-ports" />
51 <Quirk name="requires-allocate-on-output-ports" />
52 <Quirk name="output-buffers-are-unreadable" />
53 </MediaCodec>
54
55Only the three quirks included above are recognized at this point:
56
57"requires-allocate-on-input-ports"
58 must be advertised if the component does not properly support specification
59 of input buffers using the OMX_UseBuffer(...) API but instead requires
60 OMX_AllocateBuffer to be used.
61
62"requires-allocate-on-output-ports"
63 must be advertised if the component does not properly support specification
64 of output buffers using the OMX_UseBuffer(...) API but instead requires
65 OMX_AllocateBuffer to be used.
66
67"output-buffers-are-unreadable"
68 must be advertised if the emitted output buffers of a decoder component
69 are not readable, i.e. use a custom format even though abusing one of
70 the official OMX colorspace constants.
71 Clients of such decoders will not be able to access the decoded data,
72 naturally making the component much less useful. The only use for
73 a component with this quirk is to render the output to the screen.
74 Audio decoders MUST NOT advertise this quirk.
75 Video decoders that advertise this quirk must be accompanied by a
76 corresponding color space converter for thumbnail extraction,
77 matching surfaceflinger support that can render the custom format to
78 a texture and possibly other code, so just DON'T USE THIS QUIRK.
79
80
81-->
82
83<!--
Shivaprasad Hongalc35aec52015-09-02 16:54:03 -070084 8996 Decoder capabilities
85 __________________________________________________________________
86 | Codec | W H fps Mbps MB/s | Secure-dec |
87 |__________|_________________________________________|____________|
88 | h264 | 3840 2160 60 100 1958400 | Y |
89 | | (4096) (2160) (56) (100) | |
90 | hevc | 3840 2160 60 100 1958400 | Y |
91 | | (4096) (2160) (56) (100) | |
92 | mpeg4 | 1920 1088 60 60 489600 | N |
93 | vc1 | 1920 1088 60 60 489600 | Y |
94 | vp8 | 3840 2160 30 20 979200 | N |
95 | divx3 | 720 480 30 2 40500 | N |
96 | div4/5/6 | 1920 1088 30 10 244800 | N |
97 | h263 | 864 480 30 2 48600 | N |
98 | mpeg2 | 1920 1088 30 40 244800 | Y |
99 |__________|_________________________________________|____________|
100
101
102 8996 Encoder capabilities
103 ______________________________________________________
104 | Codec | W H fps Mbps MB/s |
105 |__________|_________________________________________|
106 | h264 | 3840 2160 30 100 979200 |
107 | hevc | 3840 2160 30 100 979200 |
108 | mpeg4 | 1920 1088 60 60 489600 |
109 | vp8 | 3840 2160 30 20 979200 |
110 | h263 | 864 480 30 2 48600 |
111 |__________|_________________________________________|
Praveen Chavan33532eb2015-08-07 17:03:00 -0700112-->
113
Shalaj Jainf1840dd2015-02-27 15:39:27 -0800114<MediaCodecs>
115 <Include href="media_codecs_google_audio.xml" />
116 <Include href="media_codecs_google_telephony.xml" />
Shivaprasad Hongalab2ada92015-08-20 19:52:35 -0700117 <Settings>
118 <Setting name="max-video-encoder-input-buffers" value="11" />
119 </Settings>
Praveen Chavane4d7c6b2013-11-06 17:52:03 -0800120 <Encoders>
Praveen Chavan33532eb2015-08-07 17:03:00 -0700121 <!-- Audio Hardware -->
Praveen Chavan33532eb2015-08-07 17:03:00 -0700122 <!-- Audio Software -->
123 <!-- Video Hardware -->
124 <MediaCodec name="OMX.qcom.video.encoder.avc" type="video/avc" >
125 <Quirk name="requires-allocate-on-input-ports" />
126 <Quirk name="requires-allocate-on-output-ports" />
127 <Quirk name="requires-loaded-to-idle-after-allocation" />
128 <Limit name="size" min="96x64" max="4096x2160" />
129 <Limit name="alignment" value="2x2" />
130 <Limit name="block-size" value="16x16" />
Shivaprasad Hongalc35aec52015-09-02 16:54:03 -0700131 <Limit name="blocks-per-second" min="1" max="979200" />
Praveen Chavan33532eb2015-08-07 17:03:00 -0700132 <Limit name="bitrate" range="1-100000000" />
Shivaprasad Hongald3365332015-09-15 14:01:54 -0700133 <Limit name="frame-rate" range="1-240" />
Shivaprasad Hongalab2ada92015-08-20 19:52:35 -0700134 <Limit name="concurrent-instances" max="16" />
Ashray Kulkarnib19ef3d2015-06-03 15:17:21 -0700135 <!-- vt-version, upper 16 bit major version lower 16 bit minor version -->
136 <Limit name="vt-version" value="65536" />
137 <Limit name="vt-low-latency" value="1" />
138 <Limit name="vt-max-instances" value="16" />
139 <Limit name="vt-max-temporal-layer-count" value="3" />
140 <Limit name="vt-max-ref-frames" value="9" />
141 <Limit name="vt-max-ltr-frames" value="3" />
142 <Limit name="vt-max-level" value="52" />
143 <Limit name="vt-ratecontrol" value="0" />
144 <Limit name="vt-slice-control-modes-bitmask" value="15" />
145 <Limit name="vt-max-macroblock-processing-rate" value="972000" />
146 <Limit name="vt-down-scale-factor" value="8" />
147 <Limit name="vt-min-scale-factor" value="1" />
148 <Limit name="vt-slice-hdr-spacing" value="1" />
Praveen Chavan33532eb2015-08-07 17:03:00 -0700149 </MediaCodec>
Praveen Chavane4d7c6b2013-11-06 17:52:03 -0800150 <MediaCodec name="OMX.qcom.video.encoder.mpeg4" type="video/mp4v-es" >
151 <Quirk name="requires-allocate-on-input-ports" />
Praveen Chavan33532eb2015-08-07 17:03:00 -0700152 <Quirk name="requires-allocate-on-output-ports" />
Praveen Chavane4d7c6b2013-11-06 17:52:03 -0800153 <Quirk name="requires-loaded-to-idle-after-allocation"/>
Shalaj Jainf1840dd2015-02-27 15:39:27 -0800154 <Limit name="size" min="96x64" max="1920x1088" />
155 <Limit name="alignment" value="2x2" />
156 <Limit name="block-size" value="16x16" />
157 <Limit name="blocks-per-second" min="1" max="489600" />
158 <Limit name="bitrate" range="1-60000000" />
Shivaprasad Hongald3365332015-09-15 14:01:54 -0700159 <Limit name="frame-rate" range="1-240" />
Shivaprasad Hongalab2ada92015-08-20 19:52:35 -0700160 <Limit name="concurrent-instances" max="16" />
Praveen Chavane4d7c6b2013-11-06 17:52:03 -0800161 </MediaCodec>
162 <MediaCodec name="OMX.qcom.video.encoder.h263" type="video/3gpp" >
163 <Quirk name="requires-allocate-on-input-ports" />
Praveen Chavan33532eb2015-08-07 17:03:00 -0700164 <Quirk name="requires-allocate-on-output-ports" />
165 <Quirk name="requires-loaded-to-idle-after-allocation" />
166 <Limit name="size" min="96x64" max="864x480" />
Shalaj Jainf1840dd2015-02-27 15:39:27 -0800167 <Limit name="alignment" value="2x2" />
Praveen Chavan33532eb2015-08-07 17:03:00 -0700168 <Limit name="block-size" value="16x16" />
169 <Limit name="blocks-per-second" min="1" max="48600" />
170 <Limit name="bitrate" range="1-2000000" />
Shivaprasad Hongald3365332015-09-15 14:01:54 -0700171 <Limit name="frame-rate" range="1-240" />
Shivaprasad Hongalab2ada92015-08-20 19:52:35 -0700172 <Limit name="concurrent-instances" max="16" />
Praveen Chavane4d7c6b2013-11-06 17:52:03 -0800173 </MediaCodec>
Praveen Chavan33532eb2015-08-07 17:03:00 -0700174 <MediaCodec name="OMX.qcom.video.encoder.vp8" type="video/x-vnd.on2.vp8" >
Praveen Chavan285bd5d2014-03-11 10:22:26 -0700175 <Quirk name="requires-allocate-on-input-ports" />
Praveen Chavan33532eb2015-08-07 17:03:00 -0700176 <Quirk name="requires-allocate-on-output-ports" />
177 <Quirk name="requires-loaded-to-idle-after-allocation" />
Shalaj Jainf1840dd2015-02-27 15:39:27 -0800178 <Limit name="size" min="96x64" max="3840x2160" />
179 <Limit name="alignment" value="2x2" />
180 <Limit name="block-size" value="16x16" />
Shivaprasad Hongalc35aec52015-09-02 16:54:03 -0700181 <Limit name="blocks-per-second" min="1" max="979200" />
Praveen Chavan33532eb2015-08-07 17:03:00 -0700182 <Limit name="bitrate" range="1-20000000" />
Shivaprasad Hongald3365332015-09-15 14:01:54 -0700183 <Limit name="frame-rate" range="1-240" />
Shivaprasad Hongalab2ada92015-08-20 19:52:35 -0700184 <Limit name="concurrent-instances" max="16" />
Praveen Chavan33532eb2015-08-07 17:03:00 -0700185 </MediaCodec>
186 <MediaCodec name="OMX.qcom.video.encoder.hevc" type="video/hevc" >
187 <Quirk name="requires-allocate-on-input-ports" />
188 <Quirk name="requires-allocate-on-output-ports" />
189 <Quirk name="requires-loaded-to-idle-after-allocation" />
Shivaprasad Hongalc35aec52015-09-02 16:54:03 -0700190 <Limit name="size" min="162x64" max="4096x2160" />
Praveen Chavan33532eb2015-08-07 17:03:00 -0700191 <Limit name="alignment" value="2x2" />
192 <Limit name="block-size" value="16x16" />
Shivaprasad Hongalc35aec52015-09-02 16:54:03 -0700193 <Limit name="blocks-per-second" min="1" max="979200" />
Shalaj Jainf1840dd2015-02-27 15:39:27 -0800194 <Limit name="bitrate" range="1-100000000" />
Shivaprasad Hongald3365332015-09-15 14:01:54 -0700195 <Limit name="frame-rate" range="1-240" />
Shivaprasad Hongalab2ada92015-08-20 19:52:35 -0700196 <Limit name="concurrent-instances" max="16" />
Shalaj Jainf1840dd2015-02-27 15:39:27 -0800197 </MediaCodec>
Praveen Chavane4d7c6b2013-11-06 17:52:03 -0800198 </Encoders>
199 <Decoders>
Praveen Chavan33532eb2015-08-07 17:03:00 -0700200 <!-- Video Hardware -->
Praveen Chavane4d7c6b2013-11-06 17:52:03 -0800201 <MediaCodec name="OMX.qcom.video.decoder.avc" type="video/avc" >
202 <Quirk name="requires-allocate-on-input-ports" />
Praveen Chavan33532eb2015-08-07 17:03:00 -0700203 <Quirk name="requires-allocate-on-output-ports" />
204 <Limit name="size" min="64x64" max="4096x2160" />
Shalaj Jainf1840dd2015-02-27 15:39:27 -0800205 <Limit name="alignment" value="2x2" />
206 <Limit name="block-size" value="16x16" />
Shivaprasad Hongalc35aec52015-09-02 16:54:03 -0700207 <Limit name="blocks-per-second" min="1" max="1958400" />
Shalaj Jainf1840dd2015-02-27 15:39:27 -0800208 <Limit name="bitrate" range="1-100000000" />
Shivaprasad Hongald3365332015-09-15 14:01:54 -0700209 <Limit name="frame-rate" range="1-240" />
Ashray Kulkarnib19ef3d2015-06-03 15:17:21 -0700210 <Limit name="vt-low-latency" value="1" />
211 <Limit name="vt-max-macroblock-processing-rate" value="972000" />
212 <Limit name="vt-max-level" value="52" />
213 <Limit name="vt-max-instances" value="16" />
Shalaj Jainf1840dd2015-02-27 15:39:27 -0800214 <Feature name="adaptive-playback" />
Shivaprasad Hongalab2ada92015-08-20 19:52:35 -0700215 <Limit name="concurrent-instances" max="16" />
Shalaj Jainf1840dd2015-02-27 15:39:27 -0800216 </MediaCodec>
217 <MediaCodec name="OMX.qcom.video.decoder.avc.secure" type="video/avc" >
218 <Quirk name="requires-allocate-on-input-ports" />
Praveen Chavan33532eb2015-08-07 17:03:00 -0700219 <Quirk name="requires-allocate-on-output-ports" />
220 <Limit name="size" min="64x64" max="4096x2160" />
Shalaj Jainf1840dd2015-02-27 15:39:27 -0800221 <Limit name="alignment" value="2x2" />
222 <Limit name="block-size" value="16x16" />
Shivaprasad Hongalc35aec52015-09-02 16:54:03 -0700223 <Limit name="blocks-per-second" min="1" max="1958400" />
Shalaj Jainf1840dd2015-02-27 15:39:27 -0800224 <Limit name="bitrate" range="1-100000000" />
Shivaprasad Hongald3365332015-09-15 14:01:54 -0700225 <Limit name="frame-rate" range="1-240" />
Shalaj Jainf1840dd2015-02-27 15:39:27 -0800226 <Feature name="adaptive-playback" />
227 <Feature name="secure-playback" required="true" />
Shivaprasad Hongalab2ada92015-08-20 19:52:35 -0700228 <Limit name="concurrent-instances" max="7" />
Shalaj Jainf1840dd2015-02-27 15:39:27 -0800229 </MediaCodec>
230 <MediaCodec name="OMX.qcom.video.decoder.mpeg4" type="video/mp4v-es" >
231 <Quirk name="requires-allocate-on-input-ports" />
232 <Quirk name="requires-allocate-on-output-ports"/>
233 <Limit name="size" min="64x64" max="1920x1088" />
234 <Limit name="alignment" value="2x2" />
235 <Limit name="block-size" value="16x16" />
236 <Limit name="blocks-per-second" min="1" max="489600" />
237 <Limit name="bitrate" range="1-60000000" />
Shivaprasad Hongald3365332015-09-15 14:01:54 -0700238 <Limit name="frame-rate" range="1-240" />
Shalaj Jainf1840dd2015-02-27 15:39:27 -0800239 <Feature name="adaptive-playback" />
Shivaprasad Hongalab2ada92015-08-20 19:52:35 -0700240 <Limit name="concurrent-instances" max="16" />
Praveen Chavane4d7c6b2013-11-06 17:52:03 -0800241 </MediaCodec>
Praveen Chavan33532eb2015-08-07 17:03:00 -0700242 <MediaCodec name="OMX.qcom.video.decoder.mpeg2" type="video/mpeg2" >
243 <Quirk name="requires-allocate-on-input-ports" />
244 <Quirk name="requires-allocate-on-output-ports" />
245 <Limit name="size" min="96x64" max="1920x1088" />
246 <Limit name="alignment" value="2x2" />
247 <Limit name="block-size" value="16x16" />
248 <Limit name="blocks-per-second" min="1" max="244800" />
249 <Limit name="bitrate" range="1-40000000" />
Shivaprasad Hongald3365332015-09-15 14:01:54 -0700250 <Limit name="frame-rate" range="1-240" />
Praveen Chavan33532eb2015-08-07 17:03:00 -0700251 <Feature name="adaptive-playback" />
Shivaprasad Hongalab2ada92015-08-20 19:52:35 -0700252 <Limit name="concurrent-instances" max="16" />
Praveen Chavan33532eb2015-08-07 17:03:00 -0700253 </MediaCodec>
254 <MediaCodec name="OMX.qcom.video.decoder.mpeg2.secure" type="video/mpeg2" >
255 <Quirk name="requires-allocate-on-input-ports" />
256 <Quirk name="requires-allocate-on-output-ports" />
257 <Limit name="size" min="96x64" max="1920x1088" />
258 <Limit name="alignment" value="2x2" />
259 <Limit name="block-size" value="16x16" />
260 <Limit name="blocks-per-second" min="1" max="244800" />
261 <Limit name="bitrate" range="1-40000000" />
Shivaprasad Hongald3365332015-09-15 14:01:54 -0700262 <Limit name="frame-rate" range="1-240" />
Praveen Chavan33532eb2015-08-07 17:03:00 -0700263 <Feature name="adaptive-playback" />
264 <Feature name="secure-playback" required="true" />
Shivaprasad Hongalab2ada92015-08-20 19:52:35 -0700265 <Limit name="concurrent-instances" max="10" />
Praveen Chavan33532eb2015-08-07 17:03:00 -0700266 </MediaCodec>
Praveen Chavane4d7c6b2013-11-06 17:52:03 -0800267 <MediaCodec name="OMX.qcom.video.decoder.h263" type="video/3gpp" >
268 <Quirk name="requires-allocate-on-input-ports" />
Praveen Chavan33532eb2015-08-07 17:03:00 -0700269 <Quirk name="requires-allocate-on-output-ports" />
Shalaj Jainf1840dd2015-02-27 15:39:27 -0800270 <Limit name="size" min="64x64" max="864x480" />
271 <Limit name="alignment" value="2x2" />
272 <Limit name="block-size" value="16x16" />
273 <Limit name="blocks-per-second" min="1" max="489600" />
274 <Limit name="bitrate" range="1-2000000" />
Shivaprasad Hongald3365332015-09-15 14:01:54 -0700275 <Limit name="frame-rate" range="1-240" />
Shalaj Jainf1840dd2015-02-27 15:39:27 -0800276 <Feature name="adaptive-playback" />
Shivaprasad Hongalab2ada92015-08-20 19:52:35 -0700277 <Limit name="concurrent-instances" max="16" />
Praveen Chavane4d7c6b2013-11-06 17:52:03 -0800278 </MediaCodec>
Praveen Chavan33532eb2015-08-07 17:03:00 -0700279 <MediaCodec name="OMX.qcom.video.decoder.vc1" type="video/x-ms-wmv" >
280 <Quirk name="requires-allocate-on-input-ports" />
281 <Quirk name="requires-allocate-on-output-ports" />
282 <Limit name="size" min="64x64" max="1920x1088" />
283 <Limit name="alignment" value="2x2" />
284 <Limit name="block-size" value="16x16" />
285 <Limit name="blocks-per-second" min="1" max="489600" />
286 <Limit name="bitrate" range="1-60000000" />
Shivaprasad Hongald3365332015-09-15 14:01:54 -0700287 <Limit name="frame-rate" range="1-240" />
Praveen Chavan33532eb2015-08-07 17:03:00 -0700288 <Feature name="adaptive-playback" />
Shivaprasad Hongalab2ada92015-08-20 19:52:35 -0700289 <Limit name="concurrent-instances" max="16" />
Praveen Chavan33532eb2015-08-07 17:03:00 -0700290 </MediaCodec>
291 <MediaCodec name="OMX.qcom.video.decoder.vc1.secure" type="video/x-ms-wmv" >
292 <Quirk name="requires-allocate-on-input-ports" />
293 <Quirk name="requires-allocate-on-output-ports" />
294 <Limit name="size" min="64x64" max="1920x1088" />
295 <Limit name="alignment" value="2x2" />
296 <Limit name="block-size" value="16x16" />
297 <Limit name="blocks-per-second" min="1" max="489600" />
298 <Limit name="bitrate" range="1-60000000" />
Shivaprasad Hongald3365332015-09-15 14:01:54 -0700299 <Limit name="frame-rate" range="1-240" />
Praveen Chavan33532eb2015-08-07 17:03:00 -0700300 <Feature name="adaptive-playback" />
301 <Feature name="secure-playback" required="true" />
Shivaprasad Hongalab2ada92015-08-20 19:52:35 -0700302 <Limit name="concurrent-instances" max="16" />
Praveen Chavan33532eb2015-08-07 17:03:00 -0700303 </MediaCodec>
304 <MediaCodec name="OMX.qcom.video.decoder.divx" type="video/divx" >
Praveen Chavane4d7c6b2013-11-06 17:52:03 -0800305 <Quirk name="requires-allocate-on-input-ports" />
306 <Quirk name="requires-allocate-on-output-ports" />
Shalaj Jainf1840dd2015-02-27 15:39:27 -0800307 <Limit name="size" min="64x64" max="1920x1088" />
308 <Limit name="alignment" value="2x2" />
309 <Limit name="block-size" value="16x16" />
310 <Limit name="blocks-per-second" min="1" max="244800" />
311 <Limit name="bitrate" range="1-10000000" />
Shivaprasad Hongald3365332015-09-15 14:01:54 -0700312 <Limit name="frame-rate" range="1-240" />
Shalaj Jainf1840dd2015-02-27 15:39:27 -0800313 <Feature name="adaptive-playback" />
Shivaprasad Hongalab2ada92015-08-20 19:52:35 -0700314 <Limit name="concurrent-instances" max="16" />
Praveen Chavane4d7c6b2013-11-06 17:52:03 -0800315 </MediaCodec>
316 <MediaCodec name="OMX.qcom.video.decoder.divx311" type="video/divx311" >
317 <Quirk name="requires-allocate-on-input-ports" />
318 <Quirk name="requires-allocate-on-output-ports" />
Shalaj Jainf1840dd2015-02-27 15:39:27 -0800319 <Limit name="size" min="64x64" max="720x480" />
320 <Limit name="alignment" value="2x2" />
321 <Limit name="block-size" value="16x16" />
322 <Limit name="blocks-per-second" min="1" max="40500" />
323 <Limit name="bitrate" range="1-2000000" />
Shivaprasad Hongald3365332015-09-15 14:01:54 -0700324 <Limit name="frame-rate" range="1-240" />
Shalaj Jainf1840dd2015-02-27 15:39:27 -0800325 <Feature name="adaptive-playback" />
Shivaprasad Hongalab2ada92015-08-20 19:52:35 -0700326 <Limit name="concurrent-instances" max="16" />
Praveen Chavane4d7c6b2013-11-06 17:52:03 -0800327 </MediaCodec>
328 <MediaCodec name="OMX.qcom.video.decoder.divx4" type="video/divx4" >
329 <Quirk name="requires-allocate-on-input-ports" />
330 <Quirk name="requires-allocate-on-output-ports" />
Shalaj Jainf1840dd2015-02-27 15:39:27 -0800331 <Limit name="size" min="64x64" max="1920x1088" />
332 <Limit name="alignment" value="2x2" />
333 <Limit name="block-size" value="16x16" />
334 <Limit name="blocks-per-second" min="1" max="244800" />
335 <Limit name="bitrate" range="1-10000000" />
Shivaprasad Hongald3365332015-09-15 14:01:54 -0700336 <Limit name="frame-rate" range="1-240" />
Shalaj Jainf1840dd2015-02-27 15:39:27 -0800337 <Feature name="adaptive-playback" />
Shivaprasad Hongalab2ada92015-08-20 19:52:35 -0700338 <Limit name="concurrent-instances" max="16" />
Praveen Chavane4d7c6b2013-11-06 17:52:03 -0800339 </MediaCodec>
340 <MediaCodec name="OMX.qcom.video.decoder.vp8" type="video/x-vnd.on2.vp8" >
341 <Quirk name="requires-allocate-on-input-ports" />
342 <Quirk name="requires-allocate-on-output-ports" />
Shalaj Jainf1840dd2015-02-27 15:39:27 -0800343 <Limit name="size" min="64x64" max="3840x2160" />
344 <Limit name="alignment" value="2x2" />
345 <Limit name="block-size" value="16x16" />
Shivaprasad Hongalc35aec52015-09-02 16:54:03 -0700346 <Limit name="blocks-per-second" min="1" max="979200" />
Shalaj Jainf1840dd2015-02-27 15:39:27 -0800347 <Limit name="bitrate" range="1-20000000" />
Shivaprasad Hongald3365332015-09-15 14:01:54 -0700348 <Limit name="frame-rate" range="1-240" />
Shalaj Jainf1840dd2015-02-27 15:39:27 -0800349 <Feature name="adaptive-playback" />
Shivaprasad Hongalab2ada92015-08-20 19:52:35 -0700350 <Limit name="concurrent-instances" max="16" />
Praveen Chavane4d7c6b2013-11-06 17:52:03 -0800351 </MediaCodec>
352 <MediaCodec name="OMX.qcom.video.decoder.hevc" type="video/hevc" >
353 <Quirk name="requires-allocate-on-input-ports" />
354 <Quirk name="requires-allocate-on-output-ports" />
Shalaj Jainf1840dd2015-02-27 15:39:27 -0800355 <Limit name="size" min="64x64" max="4096x2160" />
356 <Limit name="alignment" value="2x2" />
357 <Limit name="block-size" value="16x16" />
Shivaprasad Hongalc35aec52015-09-02 16:54:03 -0700358 <Limit name="blocks-per-second" min="1" max="1958400" />
Shalaj Jainf1840dd2015-02-27 15:39:27 -0800359 <Limit name="bitrate" range="1-100000000" />
Shivaprasad Hongald3365332015-09-15 14:01:54 -0700360 <Limit name="frame-rate" range="1-240" />
Shalaj Jainf1840dd2015-02-27 15:39:27 -0800361 <Feature name="adaptive-playback" />
Shivaprasad Hongalab2ada92015-08-20 19:52:35 -0700362 <Limit name="concurrent-instances" max="16" />
Praveen Chavane4d7c6b2013-11-06 17:52:03 -0800363 </MediaCodec>
Shalaj Jain3711bf72015-05-19 15:49:10 -0700364 <MediaCodec name="OMX.qcom.video.decoder.hevc.secure" type="video/hevc" >
365 <Quirk name="requires-allocate-on-input-ports" />
366 <Quirk name="requires-allocate-on-output-ports" />
367 <Limit name="size" min="64x64" max="4096x2160" />
368 <Limit name="alignment" value="2x2" />
369 <Limit name="block-size" value="16x16" />
Shivaprasad Hongalc35aec52015-09-02 16:54:03 -0700370 <Limit name="blocks-per-second" min="1" max="1958400" />
Shalaj Jain3711bf72015-05-19 15:49:10 -0700371 <Limit name="bitrate" range="1-100000000" />
Shivaprasad Hongald3365332015-09-15 14:01:54 -0700372 <Limit name="frame-rate" range="1-240" />
Shalaj Jain3711bf72015-05-19 15:49:10 -0700373 <Feature name="adaptive-playback" />
374 <Feature name="secure-playback" required="true" />
Shivaprasad Hongalab2ada92015-08-20 19:52:35 -0700375 <Limit name="concurrent-instances" max="7" />
Shalaj Jain3711bf72015-05-19 15:49:10 -0700376 </MediaCodec>
SathishKumar Mani05c80b32015-08-17 17:39:36 -0700377 <!-- Audio Software -->
378 <MediaCodec name="OMX.qti.audio.decoder.flac" type="audio/flac" />
Praveen Chavane4d7c6b2013-11-06 17:52:03 -0800379 </Decoders>
Shalaj Jainf1840dd2015-02-27 15:39:27 -0800380 <Include href="media_codecs_google_video.xml" />
381</MediaCodecs>