1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2012-2020 The Linux Foundation. All rights reserved. 3 Not a contribution. 4 Copyright (C) 2012-2013 The Android Open Source Project 5 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--> 18 19<!-- 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<!-- 84 Non-Secure decoder capabilities 85 (MB is defined as 16x16) 86 _____________________________________________________________________ 87 | Codec | W H fps Mbps MB/s Max MB/s| 88 |_____________|_____________________________________________________| 89 | h264 | 1920 1088 480 220 3916800 3916800 | 90 | | 3820 2160 120 220 3888000 | 91 | | 4096 2160 96 220 3317760 | 92 | | 4096 2304 60 220 2211840 | 93 | | 7680 4320 30 220 3888000 | 94 | | 8192 4320 24 220 3317760 | 95 | hevc | 1920 1088 480 220 3916800 3916800 | 96 | | 3820 2160 120 220 3888000 | 97 | | 4096 2160 96 220 3317760 | 98 | | 4096 2304 60 220 2211840 | 99 | | 7680 4320 30 220 3888000 | 100 | | 8192 4320 24 220 3317760 | 101 | mpeg4-sw | 1920 1088 30 40 244800 244800 | 102 | vp8 | 1280 720 240 100 864000 1036800 | 103 | | 1920 1088 120 100 979200 | 104 | | 3840 2160 30 100 972000 | 105 | | 4096 2160 30 100 1036800 | 106 | | 4096 2304 24 100 884736 | 107 | vp9 | 1920 1088 480 220 3916800 3916800 | 108 | | 3820 2160 120 220 3888000 | 109 | | 4096 2160 96 220 3317760 | 110 | | 4096 2304 60 220 2211840 | 111 | | 7680 4320 30 220 3888000 | 112 | | 8192 4320 24 220 3317760 | 113 | vc1 | 1920 1088 30 20 244800 244800 | 114 | h263-sw | 864 480 30 16 48600 48600 | 115 | mpeg2 | 1920 1088 30 40 244800 244800 | 116 |_____________|_____________________________________________________| 117 118 Secure decoder capabilities 119 (MB is defined as 16x16) 120 __________________________________________________________________ 121 | Codec | W H fps Mbps MB/s Max MB/s| 122 |__________|_____________________________________________________| 123 | h264 | 1280 720 60 40 216000 2073600 | 124 | | 1920 1088 60 40 489600 | 125 | | 3840 2160 60 40 1944000 | 126 | | 4096 2160 60 40 2073600 | 127 | | 4096 2304 30 40 1105920 | 128 | hevc | 1280 720 60 40 216000 2073600 | 129 | | 1920 1088 60 40 489600 | 130 | | 3840 2160 60 40 1944000 | 131 | | 4096 2160 60 40 2073600 | 132 | | 4096 2304 30 40 1105920 | 133 | vp9 | 1280 720 60 40 216000 2073600 | 134 | | 1920 1088 60 40 489600 | 135 | | 3840 2160 60 40 1944000 | 136 | | 4096 2160 60 40 2073600 | 137 | | 4096 2304 30 40 1105920 | 138 | mpeg2 | 1920 1088 30 40 244800 244800 | 139 |__________|_____________________________________________________| 140 141 Non-Secure encoder capabilities (Secure not supported) 142 (MB is defined as 16x16) 143 __________________________________________________________________ 144 | Codec | W H fps Mbps MB/s Max MB/s| 145 |__________|_____________________________________________________| 146 | h264 | 1280 720 480 160 1728000 1958400 | 147 | | 1920 1088 240 160 1958400 | 148 | | 3840 2160 60 160 1944000 | 149 | | 4096 2160 48 160 1658880 | 150 | | 4096 2304 30 160 1105920 | 151 | hevc | 1280 720 480 160 1728000 1958400 | 152 | | 1920 1088 240 160 1958400 | 153 | | 3840 2160 60 160 1944000 | 154 | | 4096 2160 48 160 1658880 | 155 | | 4096 2304 30 160 1105920 | 156 | mpeg4-sw | 1280 720 30 4 108000 108000 | 157 | vp8 | 1280 720 240 40 864000 1036800 | 158 | | 1920 1088 120 40 979200 | 159 | | 3840 2160 30 40 972000 | 160 | | 4096 2160 30 40 1036800 | 161 | | 4096 2304 24 40 884736 | 162 | h263-sw | 864 480 30 2 48600 48600 | 163 |__________|_____________________________________________________| 164--> 165 166<MediaCodecs> 167 <Include href="media_codecs_google_audio.xml" /> 168 <Include href="media_codecs_vendor_audio.xml" /> 169 <Include href="media_codecs_google_telephony.xml" /> 170 <Settings> 171 <Setting name="max-video-encoder-input-buffers" value="11" /> 172 </Settings> 173 <Encoders> 174 <!-- Video Hardware --> 175 <MediaCodec name="OMX.qcom.video.encoder.avc" type="video/avc" > 176 <Quirk name="requires-allocate-on-input-ports" /> 177 <Quirk name="requires-allocate-on-output-ports" /> 178 <Quirk name="requires-loaded-to-idle-after-allocation" /> 179 <Limit name="size" min="96x96" max="4096x2304" /> 180 <Limit name="alignment" value="2x2" /> 181 <Limit name="block-size" value="16x16" /> 182 <Limit name="blocks-per-second" min="36" max="1958400" /> 183 <Limit name="bitrate" range="1-160000000" /> 184 <Limit name="frame-rate" range="1-480" /> 185 <Limit name="concurrent-instances" max="16" /> 186 <Limit name="performance-point-4096x2304" value="56" /> 187 <Limit name="performance-point-4096x2160" value="60" /> 188 <Limit name="performance-point-3840x2160" value="60" /> 189 <Limit name="performance-point-1920x1080" value="240" /> 190 <Limit name="performance-point-1280x720" value="480" /> 191 </MediaCodec> 192 <MediaCodec name="OMX.qcom.video.encoder.vp8" type="video/x-vnd.on2.vp8" > 193 <Quirk name="requires-allocate-on-input-ports" /> 194 <Quirk name="requires-allocate-on-output-ports" /> 195 <Quirk name="requires-loaded-to-idle-after-allocation" /> 196 <Limit name="size" min="96x96" max="4096x2304" /> 197 <Limit name="alignment" value="2x2" /> 198 <Limit name="block-size" value="16x16" /> 199 <Limit name="blocks-per-second" min="36" max="1036800" /> 200 <Limit name="bitrate" range="1-40000000" /> 201 <Limit name="frame-rate" range="1-240" /> 202 <Limit name="concurrent-instances" max="16" /> 203 <Limit name="performance-point-4096x2304" value="24" /> 204 <Limit name="performance-point-4096x2160" value="30" /> 205 <Limit name="performance-point-3840x2160" value="30" /> 206 <Limit name="performance-point-1920x1080" value="120" /> 207 <Limit name="performance-point-1280x720" value="240" /> 208 </MediaCodec> 209 <MediaCodec name="OMX.qcom.video.encoder.hevc" type="video/hevc" > 210 <Quirk name="requires-allocate-on-input-ports" /> 211 <Quirk name="requires-allocate-on-output-ports" /> 212 <Quirk name="requires-loaded-to-idle-after-allocation" /> 213 <Limit name="size" min="96x96" max="4096x2304" /> 214 <Limit name="alignment" value="2x2" /> 215 <Limit name="block-size" value="16x16" /> 216 <Limit name="blocks-per-second" min="36" max="1958400" /> 217 <Limit name="bitrate" range="1-160000000" /> 218 <Limit name="frame-rate" range="1-480" /> 219 <Limit name="concurrent-instances" max="16" /> 220 <Limit name="quality" range="0-100" default="80" /> 221 <Limit name="performance-point-4096x2304" value="56" /> 222 <Limit name="performance-point-4096x2160" value="60" /> 223 <Limit name="performance-point-3840x2160" value="60" /> 224 <Limit name="performance-point-1920x1080" value="240" /> 225 <Limit name="performance-point-1280x720" value="480" /> 226 <Feature name="bitrate-modes" value="VBR,CBR" /> 227 </MediaCodec> 228 <MediaCodec name="OMX.qcom.video.encoder.hevc.cq" type="video/hevc" > 229 <Quirk name="requires-allocate-on-input-ports" /> 230 <Quirk name="requires-allocate-on-output-ports" /> 231 <Quirk name="requires-loaded-to-idle-after-allocation" /> 232 <Limit name="size" min="96x96" max="512x512" /> 233 <Limit name="frame-rate" range="1-20" /> 234 <Limit name="concurrent-instances" max="16" /> 235 <Limit name="quality" range="0-100" default="80" /> 236 <Limit name="performance-point-512x512" value="480" /> 237 <Feature name="bitrate-modes" value="CQ" /> 238 </MediaCodec> 239 <MediaCodec name="OMX.qcom.video.encoder.heic" type="image/vnd.android.heic" > 240 <Quirk name="requires-allocate-on-input-ports" /> 241 <Quirk name="requires-allocate-on-output-ports" /> 242 <Quirk name="requires-loaded-to-idle-after-allocation" /> 243 <Limit name="size" min="512x512" max="8192x8192" /> 244 <Limit name="frame-rate" range="1-20" /> 245 <Limit name="concurrent-instances" max="6" /> 246 <Limit name="quality" range="0-100" default="80" /> 247 <Limit name="performance-point-8192x4320" value="3" /> 248 <Limit name="performance-point-4096x2304" value="12" /> 249 <Limit name="performance-point-1920x1080" value="40" /> 250 <Limit name="performance-point-1920x1080" value="30" /> 251 <Limit name="performance-point-1280x720" value="80" /> 252 <Limit name="performance-point-1280x720" value="60" /> 253 <Feature name="bitrate-modes" value="CQ" /> 254 </MediaCodec> 255 <!-- Video Software --> 256 <MediaCodec name="OMX.qcom.video.encoder.h263sw" type="video/3gpp" > 257 <Quirk name="requires-allocate-on-input-ports" /> 258 <Quirk name="requires-allocate-on-output-ports" /> 259 <Quirk name="requires-loaded-to-idle-after-allocation" /> 260 <Limit name="size" min="96x96" max="864x480" /> 261 <Limit name="alignment" value="4x4" /> 262 <Limit name="block-size" value="16x16" /> 263 <Limit name="blocks-per-second" min="36" max="48600" /> 264 <Limit name="bitrate" range="1-2000000" /> 265 <Limit name="frame-rate" range="1-30" /> 266 <Limit name="concurrent-instances" max="16" /> 267 <Limit name="performance-point-720x480" value="30" /> 268 </MediaCodec> 269 <MediaCodec name="OMX.qcom.video.encoder.mpeg4sw" type="video/mp4v-es" > 270 <Quirk name="requires-allocate-on-input-ports" /> 271 <Quirk name="requires-allocate-on-output-ports" /> 272 <Quirk name="requires-loaded-to-idle-after-allocation" /> 273 <Limit name="size" min="96x96" max="1280x720" /> 274 <Limit name="alignment" value="2x2" /> 275 <Limit name="block-size" value="16x16" /> 276 <Limit name="blocks-per-second" min="36" max="108000" /> 277 <Limit name="bitrate" range="1-4000000" /> 278 <Limit name="frame-rate" range="1-30" /> 279 <Limit name="concurrent-instances" max="16" /> 280 <Limit name="performance-point-1280x720" value="30" /> 281 </MediaCodec> 282 </Encoders> 283 <Decoders> 284 <!-- Video Hardware --> 285 <MediaCodec name="OMX.qcom.video.decoder.avc" type="video/avc" > 286 <Quirk name="requires-allocate-on-input-ports" /> 287 <Quirk name="requires-allocate-on-output-ports" /> 288 <Limit name="size" min="96x96" max="8192x4320" /> 289 <Limit name="alignment" value="2x2" /> 290 <Limit name="block-size" value="16x16" /> 291 <Limit name="blocks-per-second" min="36" max="3916800" /> 292 <Limit name="bitrate" range="1-220000000" /> 293 <Limit name="frame-rate" range="1-480" /> 294 <Feature name="adaptive-playback" /> 295 <Limit name="concurrent-instances" max="16" /> 296 <Limit name="performance-point-4096x2304" value="60" /> 297 <Limit name="performance-point-4096x2160" value="96" /> 298 <Limit name="performance-point-3840x2160" value="120" /> 299 <Limit name="performance-point-1920x1088" range="480" /> 300 <Limit name="performance-point-1920x1088" range="240" /> 301 <Limit name="performance-point-1280x720" value="480" /> 302 </MediaCodec> 303 <MediaCodec name="OMX.qcom.video.decoder.avc.secure" type="video/avc" > 304 <Quirk name="requires-allocate-on-input-ports" /> 305 <Quirk name="requires-allocate-on-output-ports" /> 306 <Limit name="size" min="96x96" max="4096x2304" /> 307 <Limit name="alignment" value="2x2" /> 308 <Limit name="block-size" value="16x16" /> 309 <Limit name="blocks-per-second" min="36" max="2073600" /> 310 <Limit name="bitrate" range="1-40000000" /> 311 <Limit name="frame-rate" range="1-60" /> 312 <Feature name="adaptive-playback" /> 313 <Feature name="secure-playback" required="true" /> 314 <Limit name="concurrent-instances" max="3" /> 315 <Limit name="performance-point-4096x2304" value="30" /> 316 <Limit name="performance-point-4096x2160" value="60" /> 317 <Limit name="performance-point-3840x2160" value="60" /> 318 </MediaCodec> 319 <MediaCodec name="OMX.qcom.video.decoder.mpeg2" type="video/mpeg2" > 320 <Quirk name="requires-allocate-on-input-ports" /> 321 <Quirk name="requires-allocate-on-output-ports" /> 322 <Limit name="size" min="96x96" max="1920x1088" /> 323 <Limit name="alignment" value="2x2" /> 324 <Limit name="block-size" value="16x16" /> 325 <Limit name="blocks-per-second" min="36" max="244800" /> 326 <Limit name="bitrate" range="1-40000000" /> 327 <Limit name="frame-rate" range="1-30" /> 328 <Feature name="adaptive-playback" /> 329 <Limit name="concurrent-instances" max="16" /> 330 <Limit name="performance-point-1920x1080" value="30" /> 331 </MediaCodec> 332 <MediaCodec name="OMX.qcom.video.decoder.mpeg2.secure" type="video/mpeg2" > 333 <Quirk name="requires-allocate-on-input-ports" /> 334 <Quirk name="requires-allocate-on-output-ports" /> 335 <Limit name="size" min="96x96" max="1920x1088" /> 336 <Limit name="alignment" value="2x2" /> 337 <Limit name="block-size" value="16x16" /> 338 <Limit name="blocks-per-second" min="36" max="244800" /> 339 <Limit name="bitrate" range="1-40000000" /> 340 <Limit name="frame-rate" range="1-30" /> 341 <Feature name="adaptive-playback" /> 342 <Feature name="secure-playback" required="true" /> 343 <Limit name="concurrent-instances" max="3" /> 344 <Limit name="performance-point-1920x1080" value="30" /> 345 </MediaCodec> 346 <MediaCodec name="OMX.qcom.video.decoder.vp8" type="video/x-vnd.on2.vp8" > 347 <Quirk name="requires-allocate-on-input-ports" /> 348 <Quirk name="requires-allocate-on-output-ports" /> 349 <Limit name="size" min="96x96" max="4096x2304" /> 350 <Limit name="alignment" value="2x2" /> 351 <Limit name="block-size" value="16x16" /> 352 <Limit name="blocks-per-second" min="36" max="1036800" /> 353 <Limit name="bitrate" range="1-100000000" /> 354 <Limit name="frame-rate" range="1-240" /> 355 <Feature name="adaptive-playback" /> 356 <Limit name="concurrent-instances" max="16" /> 357 <Limit name="performance-point-4096x2304" value="24" /> 358 <Limit name="performance-point-4096x2160" value="30" /> 359 <Limit name="performance-point-3840x2160" value="30" /> 360 <Limit name="performance-point-1920x1080" value="120" /> 361 <Limit name="performance-point-1280x720" value="240" /> 362 </MediaCodec> 363 <MediaCodec name="OMX.qcom.video.decoder.vp9" type="video/x-vnd.on2.vp9" > 364 <Quirk name="requires-allocate-on-input-ports" /> 365 <Quirk name="requires-allocate-on-output-ports" /> 366 <Limit name="size" min="96x96" max="8192x4320" /> 367 <Limit name="alignment" value="2x2" /> 368 <Limit name="block-size" value="16x16" /> 369 <Limit name="blocks-per-second" min="36" max="3916800" /> 370 <Limit name="bitrate" range="1-220000000" /> 371 <Limit name="frame-rate" range="1-480" /> 372 <Feature name="adaptive-playback" /> 373 <Limit name="concurrent-instances" max="6" /> 374 <Limit name="performance-point-4096x2304" value="60" /> 375 <Limit name="performance-point-4096x2160" value="96" /> 376 <Limit name="performance-point-3840x2160" value="120" /> 377 <Limit name="performance-point-1920x1088" range="480" /> 378 <Limit name="performance-point-1920x1088" range="240" /> 379 <Limit name="performance-point-1280x720" value="480" /> 380 </MediaCodec> 381 <MediaCodec name="OMX.qcom.video.decoder.vp9.secure" type="video/x-vnd.on2.vp9" > 382 <Quirk name="requires-allocate-on-input-ports" /> 383 <Quirk name="requires-allocate-on-output-ports" /> 384 <Limit name="size" min="96x96" max="4096x2304" /> 385 <Limit name="alignment" value="2x2" /> 386 <Limit name="block-size" value="16x16" /> 387 <Limit name="blocks-per-second" min="36" max="2073600" /> 388 <Limit name="bitrate" range="1-40000000" /> 389 <Limit name="frame-rate" range="1-60" /> 390 <Feature name="adaptive-playback" /> 391 <Feature name="secure-playback" required="true" /> 392 <Limit name="concurrent-instances" max="3" /> 393 <Limit name="performance-point-4096x2304" value="30" /> 394 <Limit name="performance-point-4096x2160" value="60" /> 395 <Limit name="performance-point-3840x2160" value="60" /> 396 </MediaCodec> 397 <MediaCodec name="OMX.qcom.video.decoder.hevc" type="video/hevc" > 398 <Quirk name="requires-allocate-on-input-ports" /> 399 <Quirk name="requires-allocate-on-output-ports" /> 400 <Limit name="size" min="96x96" max="8192x4320" /> 401 <Limit name="alignment" value="2x2" /> 402 <Limit name="block-size" value="16x16" /> 403 <Limit name="blocks-per-second" min="36" max="3916800" /> 404 <Limit name="bitrate" range="1-220000000" /> 405 <Limit name="frame-rate" range="1-480" /> 406 <Feature name="adaptive-playback" /> 407 <Limit name="concurrent-instances" max="16" /> 408 <Limit name="performance-point-4096x2304" value="60" /> 409 <Limit name="performance-point-4096x2160" value="96" /> 410 <Limit name="performance-point-3840x2160" value="120" /> 411 <Limit name="performance-point-1920x1088" range="480" /> 412 <Limit name="performance-point-1920x1088" range="240" /> 413 <Limit name="performance-point-1280x720" value="480" /> 414 </MediaCodec> 415 <MediaCodec name="OMX.qcom.video.decoder.hevc.secure" type="video/hevc" > 416 <Quirk name="requires-allocate-on-input-ports" /> 417 <Quirk name="requires-allocate-on-output-ports" /> 418 <Limit name="size" min="96x96" max="4096x2304" /> 419 <Limit name="alignment" value="2x2" /> 420 <Limit name="block-size" value="16x16" /> 421 <Limit name="blocks-per-second" min="36" max="2073600" /> 422 <Limit name="bitrate" range="1-40000000" /> 423 <Limit name="frame-rate" range="1-60" /> 424 <Feature name="adaptive-playback" /> 425 <Feature name="secure-playback" required="true" /> 426 <Limit name="concurrent-instances" max="3" /> 427 <Limit name="performance-point-4096x2304" value="30" /> 428 <Limit name="performance-point-4096x2160" value="60" /> 429 <Limit name="performance-point-3840x2160" value="60" /> 430 </MediaCodec> 431 <!-- Video Software --> 432 <MediaCodec name="OMX.qti.video.decoder.h263sw" type="video/3gpp" > 433 <Quirk name="requires-allocate-on-input-ports" /> 434 <Quirk name="requires-allocate-on-output-ports" /> 435 <Limit name="size" min="96x96" max="864x480" /> 436 <Limit name="alignment" value="4x4" /> 437 <Limit name="block-size" value="16x16" /> 438 <Limit name="blocks-per-second" min="36" max="48600" /> 439 <Limit name="bitrate" range="1-16000000" /> 440 <Limit name="frame-rate" range="1-30" /> 441 <Feature name="adaptive-playback" /> 442 <Limit name="concurrent-instances" max="16" /> 443 <Limit name="performance-point-720x480" value="30" /> 444 </MediaCodec> 445 <MediaCodec name="OMX.qti.video.decoder.mpeg4sw"> 446 <Quirk name="requires-allocate-on-input-ports" /> 447 <Quirk name="requires-allocate-on-output-ports" /> 448 <Type name="video/mp4v-es"> 449 <Limit name="size" min="96x96" max="1920x1088" /> 450 <Limit name="alignment" value="2x2" /> 451 <Limit name="block-size" value="16x16" /> 452 <Limit name="blocks-per-second" min="36" max="244800" /> 453 <Limit name="bitrate" range="1-40000000" /> 454 <Limit name="frame-rate" range="1-30" /> 455 <Limit name="concurrent-instances" max="16" /> 456 <Limit name="performance-point-1920x1080" value="30" /> 457 </Type> 458 <Type name="video/mp4v-esdp"> 459 <Limit name="size" min="96x96" max="1920x1088" /> 460 <Limit name="alignment" value="2x2" /> 461 <Limit name="block-size" value="16x16" /> 462 <Limit name="blocks-per-second" min="36" max="244800" /> 463 <Limit name="bitrate" range="1-40000000" /> 464 <Limit name="frame-rate" range="1-30" /> 465 <Limit name="concurrent-instances" max="16" /> 466 <Limit name="performance-point-1920x1080" value="30" /> 467 </Type> 468 </MediaCodec> 469 <MediaCodec name="OMX.qti.video.decoder.vc1sw" type="video/x-ms-wmv" > 470 <Quirk name="requires-allocate-on-input-ports" /> 471 <Quirk name="requires-allocate-on-output-ports" /> 472 <Limit name="size" min="96x96" max="1920x1088" /> 473 <Limit name="alignment" value="2x2" /> 474 <Limit name="block-size" value="16x16" /> 475 <Limit name="blocks-per-second" min="36" max="244800" /> 476 <Limit name="bitrate" range="1-20000000" /> 477 <Limit name="frame-rate" range="1-30" /> 478 <Feature name="adaptive-playback" /> 479 <Limit name="concurrent-instances" max="16" /> 480 <Limit name="performance-point-1920x1080" value="30" /> 481 </MediaCodec> 482 </Decoders> 483 <Include href="media_codecs_google_video.xml" /> 484</MediaCodecs> 485