Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8" ?> |
| 2 | <!-- Copyright (C) 2012 The Android Open Source Project |
| 3 | Copyright (C) 2014 The Linux Foundation. All rights reserved. |
| 4 | Not a contribution. |
| 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 | |
| 35 | There's a simple and a complex syntax to declare the availability of a |
| 36 | media codec: |
| 37 | |
| 38 | A codec that properly follows the OpenMax spec and therefore doesn't have any |
| 39 | quirks and that only supports a single content type can be declared like so: |
| 40 | |
| 41 | <MediaCodec name="OMX.foo.bar" type="something/interesting" /> |
| 42 | |
| 43 | If a codec has quirks OR supports multiple content types, the following syntax |
| 44 | can 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 | |
| 55 | Only 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 | Decoder capabilities for 8916 |
| 85 | _________________________________________________________________ |
| 86 | | Codec | W H fps Mbps MB/s | Encode Secure-dec | |
| 87 | |__________|_________________________________________|___________________| |
| 88 | | h264 | 1920 1088 30 20 244800 | Y Y | |
| 89 | | hevc | 1280 720 30 3 108300 | N N | // Software |
| 90 | | mpeg4 | 1920 1088 30 20 244800 | Y N | |
| 91 | | vc1 | 1920 1088 30 20 244800 | N Y | |
| 92 | | vp8 | 1920 1088 30 20 244800 | N N | |
| 93 | | divx3 | 720 480 30 2 40500 | N N | |
| 94 | | div4/5/6 | 1920 1088 30 10 244800 | N N | |
| 95 | | h263 | 864 480 30 2 48600 | Y N | |
| 96 | | mpeg2 | 1920 1088 30 20 244800 | N Y | |
| 97 | |__________|_________________________________________|___________________| |
| 98 | --> |
| 99 | |
| 100 | <!-- |
| 101 | Encoder capabilities for 8916 |
| 102 | ___________________________________________________ |
| 103 | | Codec | W H fps Mbps MB/s | |
| 104 | |__________|_________________________________________| |
| 105 | | h264 | 1920 1088 30 20 244800 | |
| 106 | | mpeg4 | 1920 1088 30 20 244800 | |
| 107 | | h263 | 720 576 30 2 48600 | |
| 108 | | vp8 | 1920 1088 30 20 244800 | |
| 109 | |____________________________________________________| |
| 110 | --> |
| 111 | <MediaCodecs> |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 112 | <Encoders> |
Zvikomborero VIncent Zvikaramba | 8f87994 | 2016-07-22 01:41:01 -0400 | [diff] [blame] | 113 | <!-- Video Hardware --> |
| 114 | <MediaCodec name="OMX.qcom.video.encoder.mpeg4" type="video/mp4v-es" > |
| 115 | <Quirk name="requires-allocate-on-input-ports" /> |
| 116 | <Quirk name="requires-allocate-on-output-ports"/> |
| 117 | <Quirk name="requires-loaded-to-idle-after-allocation"/> |
| 118 | <Limit name="size" min="96x64" max="1920x1088" /> |
| 119 | <Limit name="alignment" value="2x2" /> |
| 120 | <Limit name="block-size" value="16x16" /> |
| 121 | <Limit name="blocks-per-second" min="1" max="244800" /> |
| 122 | <Limit name="bitrate" range="1-20000000" /> |
| 123 | <Quirk name="video-controller-check-enable" /> |
| 124 | </MediaCodec> |
| 125 | <MediaCodec name="OMX.qcom.video.encoder.h263" type="video/3gpp" > |
| 126 | <Quirk name="requires-allocate-on-input-ports" /> |
| 127 | <Quirk name="requires-allocate-on-output-ports"/> |
| 128 | <Quirk name="requires-loaded-to-idle-after-allocation"/> |
| 129 | <Limit name="size" min="96x64" max="720x576" /> |
| 130 | <Limit name="alignment" value="2x2" /> |
| 131 | <Limit name="block-size" value="16x16" /> |
| 132 | <Limit name="blocks-per-second" min="1" max="48600" /> |
| 133 | <Limit name="bitrate" range="1-2000000" /> |
| 134 | <Quirk name="video-controller-check-enable" /> |
| 135 | </MediaCodec> |
| 136 | <MediaCodec name="OMX.qcom.video.encoder.avc" type="video/avc" > |
| 137 | <Quirk name="requires-allocate-on-input-ports" /> |
| 138 | <Quirk name="requires-allocate-on-output-ports"/> |
| 139 | <Quirk name="requires-loaded-to-idle-after-allocation"/> |
| 140 | <Limit name="size" min="96x64" max="1920x1088" /> |
| 141 | <Limit name="alignment" value="2x2" /> |
| 142 | <Limit name="block-size" value="16x16" /> |
| 143 | <Limit name="blocks-per-second" min="1" max="244800" /> |
| 144 | <Limit name="bitrate" range="1-20000000" /> |
| 145 | <Quirk name="video-controller-check-enable" /> |
| 146 | </MediaCodec> |
| 147 | <MediaCodec name="OMX.qcom.video.encoder.vp8" type="video/x-vnd.on2.vp8" > |
| 148 | <Quirk name="requires-allocate-on-input-ports" /> |
| 149 | <Quirk name="requires-allocate-on-output-ports"/> |
| 150 | <Quirk name="requires-loaded-to-idle-after-allocation"/> |
| 151 | <Limit name="size" min="96x64" max="1920x1088" /> |
| 152 | <Limit name="alignment" value="2x2" /> |
| 153 | <Limit name="block-size" value="16x16" /> |
| 154 | <Limit name="blocks-per-second" min="1" max="244800" /> |
| 155 | <Limit name="bitrate" range="1-20000000" /> |
| 156 | <Quirk name="video-controller-check-enable" /> |
| 157 | </MediaCodec> |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 158 | <!-- Audio Hardware --> |
| 159 | <MediaCodec name="OMX.qcom.audio.encoder.evrc" type="audio/evrc" > |
| 160 | <Quirk name="requires-allocate-on-input-ports" /> |
| 161 | <Quirk name="requires-allocate-on-output-ports" /> |
| 162 | </MediaCodec> |
| 163 | <MediaCodec name="OMX.qcom.audio.encoder.qcelp13" type="audio/qcelp" > |
| 164 | <Quirk name="requires-allocate-on-input-ports" /> |
| 165 | <Quirk name="requires-allocate-on-output-ports" /> |
| 166 | </MediaCodec> |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 167 | </Encoders> |
| 168 | <Decoders> |
Zvikomborero VIncent Zvikaramba | 8f87994 | 2016-07-22 01:41:01 -0400 | [diff] [blame] | 169 | <!-- Audio Software --> |
| 170 | <MediaCodec name="OMX.SEC.amr.dec"> |
| 171 | <Type name="audio/amr-wb" /> |
| 172 | <Type name="audio/3gpp" /> |
| 173 | <Quirk name="needs-flush-before-disable" /> |
| 174 | <Quirk name="decoder-ignores-streamcorrupt-error" /> |
| 175 | </MediaCodec> |
| 176 | <MediaCodec name="OMX.SEC.mp3.dec"> |
| 177 | <Type name="audio/mpeg"/> |
| 178 | <Type name="audio/mpeg-L1"/> |
| 179 | <Type name="audio/mpeg-L2"/> |
| 180 | <Quirk name="needs-flush-before-disable" /> |
| 181 | <Quirk name="decoder-ignores-streamcorrupt-error" /> |
| 182 | </MediaCodec> |
| 183 | <MediaCodec name="OMX.SEC.aac.dec" type="audio/mp4a-latm" > |
| 184 | <Quirk name="needs-flush-before-disable" /> |
| 185 | <Quirk name="decoder-ignores-streamcorrupt-error" /> |
| 186 | </MediaCodec> |
| 187 | <MediaCodec name="OMX.SEC.flac.dec" type="audio/flac" > |
| 188 | <Quirk name="needs-flush-before-disable" /> |
| 189 | <Quirk name="decoder-ignores-streamcorrupt-error" /> |
| 190 | </MediaCodec> |
| 191 | <MediaCodec name="OMX.SEC.wma.dec" type="audio/x-ms-wma" > |
| 192 | <Quirk name="needs-flush-before-disable" /> |
| 193 | <Quirk name="decoder-ignores-streamcorrupt-error" /> |
| 194 | </MediaCodec> |
| 195 | <MediaCodec name="OMX.SEC.adpcm.dec" type="audio/x-ima" > |
| 196 | <Quirk name="needs-flush-before-disable" /> |
| 197 | <Quirk name="decoder-ignores-streamcorrupt-error" /> |
| 198 | </MediaCodec> |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 199 | <!-- Audio Hardware --> |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 200 | <MediaCodec name="OMX.qcom.audio.decoder.amrwbplus" type="audio/amr-wb-plus" > |
| 201 | </MediaCodec> |
| 202 | <!-- Audio Software --> |
Zvikomborero VIncent Zvikaramba | 8f87994 | 2016-07-22 01:41:01 -0400 | [diff] [blame] | 203 | <!-- |
| 204 | Use Google's RAW decoder to support ACodec path for FLAC clips as |
| 205 | FLACDecoder is non-OMX component based. A component can be used to |
| 206 | support several mimetypes, so existing raw decoder usecases will not |
| 207 | be affected by this. |
| 208 | --> |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 209 | <MediaCodec name="OMX.qcom.audio.decoder.Qcelp13" type="audio/qcelp" > |
| 210 | <Quirk name="requires-global-flush" /> |
| 211 | </MediaCodec> |
| 212 | <MediaCodec name="OMX.qcom.audio.decoder.evrc" type="audio/evrc" > |
| 213 | <Quirk name="requires-global-flush" /> |
| 214 | </MediaCodec> |
| 215 | <!-- Video Hardware --> |
| 216 | <MediaCodec name="OMX.qcom.video.decoder.avc" type="video/avc" > |
| 217 | <Quirk name="requires-allocate-on-input-ports" /> |
| 218 | <Quirk name="requires-allocate-on-output-ports" /> |
Zvikomborero VIncent Zvikaramba | 8f87994 | 2016-07-22 01:41:01 -0400 | [diff] [blame] | 219 | <Quirk name="requires-timestamp-reorder" /> |
| 220 | <Quirk name="video-controller-check-enable" /> |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 221 | <Limit name="size" min="64x64" max="1920x1088" /> |
| 222 | <Limit name="alignment" value="2x2" /> |
| 223 | <Limit name="block-size" value="16x16" /> |
| 224 | <Limit name="blocks-per-second" min="1" max="244800" /> |
| 225 | <Limit name="bitrate" range="1-20000000" /> |
| 226 | <Feature name="adaptive-playback" /> |
| 227 | </MediaCodec> |
| 228 | <MediaCodec name="OMX.qcom.video.decoder.avc.secure" type="video/avc" > |
| 229 | <Quirk name="requires-allocate-on-input-ports" /> |
| 230 | <Quirk name="requires-allocate-on-output-ports" /> |
Zvikomborero VIncent Zvikaramba | 8f87994 | 2016-07-22 01:41:01 -0400 | [diff] [blame] | 231 | <Quirk name="requires-timestamp-reorder" /> |
| 232 | <Quirk name="video-controller-check-enable" /> |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 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="244800" /> |
| 237 | <Limit name="bitrate" range="1-20000000" /> |
| 238 | <Feature name="adaptive-playback" /> |
| 239 | <Feature name="secure-playback" required="true" /> |
Zvikomborero VIncent Zvikaramba | 8f87994 | 2016-07-22 01:41:01 -0400 | [diff] [blame] | 240 | </MediaCodec> |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 241 | <MediaCodec name="OMX.qcom.video.decoder.mpeg4" type="video/mp4v-es" > |
| 242 | <Quirk name="requires-allocate-on-input-ports" /> |
| 243 | <Quirk name="requires-allocate-on-output-ports" /> |
Zvikomborero VIncent Zvikaramba | 8f87994 | 2016-07-22 01:41:01 -0400 | [diff] [blame] | 244 | <Quirk name="requires-timestamp-reorder" /> |
| 245 | <Quirk name="video-controller-check-enable" /> |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 246 | <Limit name="size" min="64x64" max="1920x1088" /> |
| 247 | <Limit name="alignment" value="2x2" /> |
| 248 | <Limit name="block-size" value="16x16" /> |
| 249 | <Limit name="blocks-per-second" min="1" max="244800" /> |
Zvikomborero VIncent Zvikaramba | 8f87994 | 2016-07-22 01:41:01 -0400 | [diff] [blame] | 250 | <Limit name="bitrate" range="1-20000000" /> |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 251 | <Feature name="adaptive-playback" /> |
| 252 | </MediaCodec> |
| 253 | <MediaCodec name="OMX.qcom.video.decoder.h263" type="video/3gpp" > |
| 254 | <Quirk name="requires-allocate-on-input-ports" /> |
| 255 | <Quirk name="requires-allocate-on-output-ports" /> |
Zvikomborero VIncent Zvikaramba | 8f87994 | 2016-07-22 01:41:01 -0400 | [diff] [blame] | 256 | <Quirk name="requires-timestamp-reorder" /> |
| 257 | <Quirk name="video-controller-check-enable" /> |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 258 | <Limit name="size" min="64x64" max="864x480" /> |
| 259 | <Limit name="alignment" value="2x2" /> |
| 260 | <Limit name="block-size" value="16x16" /> |
| 261 | <Limit name="blocks-per-second" min="1" max="48600" /> |
Zvikomborero VIncent Zvikaramba | 8f87994 | 2016-07-22 01:41:01 -0400 | [diff] [blame] | 262 | <Limit name="bitrate" range="1-2000000" /> |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 263 | <Feature name="adaptive-playback" /> |
| 264 | </MediaCodec> |
Zvikomborero VIncent Zvikaramba | 8f87994 | 2016-07-22 01:41:01 -0400 | [diff] [blame] | 265 | <MediaCodec name="OMX.qcom.video.decoder.vc1" > |
| 266 | <Type name="video/x-ms-wmv"/> |
| 267 | <Type name="video/wvc1"/> |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 268 | <Quirk name="requires-allocate-on-input-ports" /> |
| 269 | <Quirk name="requires-allocate-on-output-ports" /> |
Zvikomborero VIncent Zvikaramba | 8f87994 | 2016-07-22 01:41:01 -0400 | [diff] [blame] | 270 | <Quirk name="requires-timestamp-reorder" /> |
| 271 | <Quirk name="video-controller-check-enable" /> |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 272 | <Limit name="size" min="64x64" max="1920x1088" /> |
| 273 | <Limit name="alignment" value="2x2" /> |
| 274 | <Limit name="block-size" value="16x16" /> |
| 275 | <Limit name="blocks-per-second" min="1" max="244800" /> |
Zvikomborero VIncent Zvikaramba | 8f87994 | 2016-07-22 01:41:01 -0400 | [diff] [blame] | 276 | <Limit name="bitrate" range="1-20000000" /> |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 277 | <Feature name="adaptive-playback" /> |
| 278 | </MediaCodec> |
Zvikomborero VIncent Zvikaramba | 8f87994 | 2016-07-22 01:41:01 -0400 | [diff] [blame] | 279 | <!-- QCom DivX Components are not used --> |
| 280 | <!-- |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 281 | <MediaCodec name="OMX.qcom.video.decoder.divx" type="video/divx" > |
| 282 | <Quirk name="requires-allocate-on-input-ports" /> |
| 283 | <Quirk name="requires-allocate-on-output-ports" /> |
| 284 | <Limit name="size" min="64x64" max="1920x1088" /> |
| 285 | <Limit name="alignment" value="2x2" /> |
| 286 | <Limit name="block-size" value="16x16" /> |
| 287 | <Limit name="blocks-per-second" min="1" max="244800" /> |
Zvikomborero VIncent Zvikaramba | 8f87994 | 2016-07-22 01:41:01 -0400 | [diff] [blame] | 288 | <Limit name="bitrate" range="1-50000000" /> |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 289 | <Feature name="adaptive-playback" /> |
| 290 | </MediaCodec> |
| 291 | <MediaCodec name="OMX.qcom.video.decoder.divx311" type="video/divx311" > |
| 292 | <Quirk name="requires-allocate-on-input-ports" /> |
| 293 | <Quirk name="requires-allocate-on-output-ports" /> |
Zvikomborero VIncent Zvikaramba | 8f87994 | 2016-07-22 01:41:01 -0400 | [diff] [blame] | 294 | <Limit name="size" min="64x64" max="1920X1088" /> |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 295 | <Limit name="alignment" value="2x2" /> |
| 296 | <Limit name="block-size" value="16x16" /> |
Zvikomborero VIncent Zvikaramba | 8f87994 | 2016-07-22 01:41:01 -0400 | [diff] [blame] | 297 | <Limit name="blocks-per-second" min="1" max="244800" /> |
| 298 | <Limit name="bitrate" range="1-20000000" /> |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 299 | <Feature name="adaptive-playback" /> |
| 300 | </MediaCodec> |
| 301 | <MediaCodec name="OMX.qcom.video.decoder.divx4" type="video/divx4" > |
| 302 | <Quirk name="requires-allocate-on-input-ports" /> |
| 303 | <Quirk name="requires-allocate-on-output-ports" /> |
| 304 | <Limit name="size" min="64x64" max="1920x1088" /> |
| 305 | <Limit name="alignment" value="2x2" /> |
| 306 | <Limit name="block-size" value="16x16" /> |
| 307 | <Limit name="blocks-per-second" min="1" max="244800" /> |
Zvikomborero VIncent Zvikaramba | 8f87994 | 2016-07-22 01:41:01 -0400 | [diff] [blame] | 308 | <Limit name="bitrate" range="1-50000000" /> |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 309 | <Feature name="adaptive-playback" /> |
| 310 | </MediaCodec> |
Zvikomborero VIncent Zvikaramba | 8f87994 | 2016-07-22 01:41:01 -0400 | [diff] [blame] | 311 | --> |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 312 | <MediaCodec name="OMX.qcom.video.decoder.vp8" type="video/x-vnd.on2.vp8" > |
| 313 | <Quirk name="requires-allocate-on-input-ports" /> |
| 314 | <Quirk name="requires-allocate-on-output-ports" /> |
Zvikomborero VIncent Zvikaramba | 8f87994 | 2016-07-22 01:41:01 -0400 | [diff] [blame] | 315 | <Quirk name="requires-timestamp-reorder" /> |
| 316 | <Quirk name="video-controller-check-enable" /> |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 317 | <Limit name="size" min="64x64" max="1920x1088" /> |
| 318 | <Limit name="alignment" value="2x2" /> |
| 319 | <Limit name="block-size" value="16x16" /> |
| 320 | <Limit name="blocks-per-second" min="1" max="244800" /> |
Zvikomborero VIncent Zvikaramba | 8f87994 | 2016-07-22 01:41:01 -0400 | [diff] [blame] | 321 | <Limit name="bitrate" range="1-20000000" /> |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 322 | <Feature name="adaptive-playback" /> |
| 323 | </MediaCodec> |
Zvikomborero VIncent Zvikaramba | 8f87994 | 2016-07-22 01:41:01 -0400 | [diff] [blame] | 324 | <!-- |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 325 | <MediaCodec name="OMX.qcom.video.decoder.hevcswvdec" type="video/hevc" > |
| 326 | <Quirk name="requires-allocate-on-input-ports" /> |
| 327 | <Quirk name="requires-allocate-on-output-ports" /> |
Zvikomborero VIncent Zvikaramba | 8f87994 | 2016-07-22 01:41:01 -0400 | [diff] [blame] | 328 | <Quirk name="requires-timestamp-reorder" /> |
| 329 | <Quirk name="video-controller-check-enable" /> |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 330 | <Limit name="size" min="64x64" max="1280x720" /> |
| 331 | <Limit name="alignment" value="2x2" /> |
| 332 | <Limit name="block-size" value="16x16" /> |
| 333 | <Limit name="blocks-per-second" min="1" max="108300" /> |
| 334 | <Limit name="bitrate" range="1-3000000" /> |
Zvikomborero VIncent Zvikaramba | 8f87994 | 2016-07-22 01:41:01 -0400 | [diff] [blame] | 335 | <Feature name="adaptive-playback" /> |
| 336 | </MediaCodec> |
| 337 | --> |
| 338 | <!-- Video Software --> |
| 339 | <MediaCodec name="OMX.SEC.h263.sw.dec" type="video/3gpp" > |
| 340 | <Quirk name="decoder-ignores-streamcorrupt-error" /> |
| 341 | </MediaCodec> |
| 342 | <MediaCodec name="OMX.SEC.avc.sw.dec" type="video/avc" > |
| 343 | <Quirk name="decoder-ignores-streamcorrupt-error" /> |
| 344 | <Limit name="size" min="64x64" max="2048x2048" /> |
| 345 | <Feature name="adaptive-playback" /> |
| 346 | </MediaCodec> |
| 347 | <MediaCodec name="OMX.SEC.mpeg4.sw.dec" type="video/mp4v-es" > |
| 348 | <Quirk name="decoder-ignores-streamcorrupt-error" /> |
| 349 | </MediaCodec> |
| 350 | <MediaCodec name="OMX.SEC.vc1.sw.dec" > |
| 351 | <Type name="video/x-ms-wmv"/> |
| 352 | <Type name="video/wvc1"/> |
| 353 | <Quirk name="decoder-ignores-streamcorrupt-error" /> |
| 354 | </MediaCodec> |
| 355 | <MediaCodec name="OMX.SEC.wmv7.dec" type="video/x-ms-wmv7" > |
| 356 | <Quirk name="decoder-ignores-streamcorrupt-error" /> |
| 357 | </MediaCodec> |
| 358 | <MediaCodec name="OMX.SEC.wmv8.dec" type="video/x-ms-wmv8" > |
| 359 | <Quirk name="decoder-ignores-streamcorrupt-error" /> |
| 360 | </MediaCodec> |
| 361 | <MediaCodec name="OMX.SEC.mp43.dec" type="video/mp43" > |
| 362 | <Quirk name="decoder-ignores-streamcorrupt-error" /> |
| 363 | </MediaCodec> |
| 364 | <MediaCodec name="OMX.SEC.hevc.sw.dec" type="video/hevc" > |
| 365 | <Quirk name="decoder-ignores-streamcorrupt-error" /> |
| 366 | <Limit name="size" min="64x64" max="2048x2048" /> |
| 367 | <Feature name="adaptive-playback" /> |
| 368 | </MediaCodec> |
| 369 | <MediaCodec name="OMX.SEC.h263sr.dec" type="video/sorenson" > |
| 370 | <Quirk name="decoder-ignores-streamcorrupt-error" /> |
| 371 | </MediaCodec> |
| 372 | <MediaCodec name="OMX.SEC.vp8.dec" type="video/x-vnd.on2.vp8" > |
| 373 | <Quirk name="decoder-ignores-streamcorrupt-error" /> |
| 374 | <Limit name="size" min="64x64" max="2048x2048" /> |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 375 | <Feature name="adaptive-playback" /> |
| 376 | </MediaCodec> |
| 377 | </Decoders> |
| 378 | <Include href="media_codecs_google_video.xml" /> |
Zvikomborero VIncent Zvikaramba | 8f87994 | 2016-07-22 01:41:01 -0400 | [diff] [blame] | 379 | <Include href="media_codecs_google_audio.xml" /> |
| 380 | <Include href="media_codecs_google_telephony.xml" /> |
| 381 | <Encoders> |
| 382 | <MediaCodec name="OMX.SEC.naac.enc" type="audio/mp4a-latm"> |
| 383 | <Limit name="channel-count" max="6" /> |
| 384 | <Limit name="sample-rate" ranges="11025,12000,16000,22050,24000,32000,44100,48000" /> |
| 385 | <Limit name="bitrate" range="8000-960000" /> |
| 386 | </MediaCodec> |
| 387 | </Encoders> |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 388 | </MediaCodecs> |