Praveen Chavan | e3674af | 2016-03-18 12:27:29 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8" ?> |
| 2 | <!-- Copyright 2016 The Android Open Source Project |
Praveen Chavan | e4d7c6b | 2013-11-06 17:52:03 -0800 | [diff] [blame] | 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 | --> |
Shalaj Jain | f1840dd | 2015-02-27 15:39:27 -0800 | [diff] [blame] | 16 | |
Praveen Chavan | 33532eb | 2015-08-07 17:03:00 -0700 | [diff] [blame] | 17 | <!-- |
| 18 | <!DOCTYPE MediaCodecs [ |
| 19 | <!ELEMENT Include EMPTY> |
| 20 | <!ATTLIST Include href CDATA #REQUIRED> |
| 21 | <!ELEMENT MediaCodecs (Decoders|Encoders|Include)*> |
| 22 | <!ELEMENT Decoders (MediaCodec|Include)*> |
| 23 | <!ELEMENT Encoders (MediaCodec|Include)*> |
| 24 | <!ELEMENT MediaCodec (Type|Quirk|Include)*> |
| 25 | <!ATTLIST MediaCodec name CDATA #REQUIRED> |
| 26 | <!ATTLIST MediaCodec type CDATA> |
| 27 | <!ELEMENT Type EMPTY> |
| 28 | <!ATTLIST Type name CDATA #REQUIRED> |
| 29 | <!ELEMENT Quirk EMPTY> |
| 30 | <!ATTLIST Quirk name CDATA #REQUIRED> |
| 31 | ]> |
| 32 | |
| 33 | There's a simple and a complex syntax to declare the availability of a |
| 34 | media codec: |
| 35 | |
| 36 | A codec that properly follows the OpenMax spec and therefore doesn't have any |
| 37 | quirks and that only supports a single content type can be declared like so: |
| 38 | |
| 39 | <MediaCodec name="OMX.foo.bar" type="something/interesting" /> |
| 40 | |
| 41 | If a codec has quirks OR supports multiple content types, the following syntax |
| 42 | can be used: |
| 43 | |
| 44 | <MediaCodec name="OMX.foo.bar" > |
| 45 | <Type name="something/interesting" /> |
| 46 | <Type name="something/else" /> |
| 47 | ... |
| 48 | <Quirk name="requires-allocate-on-input-ports" /> |
| 49 | <Quirk name="requires-allocate-on-output-ports" /> |
| 50 | <Quirk name="output-buffers-are-unreadable" /> |
| 51 | </MediaCodec> |
| 52 | |
| 53 | Only the three quirks included above are recognized at this point: |
| 54 | |
| 55 | "requires-allocate-on-input-ports" |
| 56 | must be advertised if the component does not properly support specification |
| 57 | of input buffers using the OMX_UseBuffer(...) API but instead requires |
| 58 | OMX_AllocateBuffer to be used. |
| 59 | |
| 60 | "requires-allocate-on-output-ports" |
| 61 | must be advertised if the component does not properly support specification |
| 62 | of output buffers using the OMX_UseBuffer(...) API but instead requires |
| 63 | OMX_AllocateBuffer to be used. |
| 64 | |
| 65 | "output-buffers-are-unreadable" |
| 66 | must be advertised if the emitted output buffers of a decoder component |
| 67 | are not readable, i.e. use a custom format even though abusing one of |
| 68 | the official OMX colorspace constants. |
| 69 | Clients of such decoders will not be able to access the decoded data, |
| 70 | naturally making the component much less useful. The only use for |
| 71 | a component with this quirk is to render the output to the screen. |
| 72 | Audio decoders MUST NOT advertise this quirk. |
| 73 | Video decoders that advertise this quirk must be accompanied by a |
| 74 | corresponding color space converter for thumbnail extraction, |
| 75 | matching surfaceflinger support that can render the custom format to |
| 76 | a texture and possibly other code, so just DON'T USE THIS QUIRK. |
| 77 | |
| 78 | |
| 79 | --> |
| 80 | |
| 81 | <!-- |
Shivaprasad Hongal | c35aec5 | 2015-09-02 16:54:03 -0700 | [diff] [blame] | 82 | 8996 Decoder capabilities |
| 83 | __________________________________________________________________ |
| 84 | | Codec | W H fps Mbps MB/s | Secure-dec | |
| 85 | |__________|_________________________________________|____________| |
| 86 | | h264 | 3840 2160 60 100 1958400 | Y | |
| 87 | | | (4096) (2160) (56) (100) | | |
| 88 | | hevc | 3840 2160 60 100 1958400 | Y | |
| 89 | | | (4096) (2160) (56) (100) | | |
| 90 | | mpeg4 | 1920 1088 60 60 489600 | N | |
Shivaprasad Hongal | c35aec5 | 2015-09-02 16:54:03 -0700 | [diff] [blame] | 91 | | vp8 | 3840 2160 30 20 979200 | N | |
Shalaj Jain | 0f3f18f | 2015-08-25 19:30:27 -0700 | [diff] [blame] | 92 | | vp9 | 3840 2160 30 20 979200 | Y | |
Shivaprasad Hongal | c35aec5 | 2015-09-02 16:54:03 -0700 | [diff] [blame] | 93 | | h263 | 864 480 30 2 48600 | N | |
Shivaprasad Hongal | c35aec5 | 2015-09-02 16:54:03 -0700 | [diff] [blame] | 94 | |__________|_________________________________________|____________| |
| 95 | |
| 96 | |
| 97 | 8996 Encoder capabilities |
| 98 | ______________________________________________________ |
| 99 | | Codec | W H fps Mbps MB/s | |
| 100 | |__________|_________________________________________| |
| 101 | | h264 | 3840 2160 30 100 979200 | |
| 102 | | hevc | 3840 2160 30 100 979200 | |
| 103 | | mpeg4 | 1920 1088 60 60 489600 | |
| 104 | | vp8 | 3840 2160 30 20 979200 | |
| 105 | | h263 | 864 480 30 2 48600 | |
| 106 | |__________|_________________________________________| |
Praveen Chavan | 33532eb | 2015-08-07 17:03:00 -0700 | [diff] [blame] | 107 | --> |
| 108 | |
Shalaj Jain | f1840dd | 2015-02-27 15:39:27 -0800 | [diff] [blame] | 109 | <MediaCodecs> |
| 110 | <Include href="media_codecs_google_audio.xml" /> |
| 111 | <Include href="media_codecs_google_telephony.xml" /> |
Shivaprasad Hongal | ab2ada9 | 2015-08-20 19:52:35 -0700 | [diff] [blame] | 112 | <Settings> |
| 113 | <Setting name="max-video-encoder-input-buffers" value="11" /> |
| 114 | </Settings> |
Praveen Chavan | e4d7c6b | 2013-11-06 17:52:03 -0800 | [diff] [blame] | 115 | <Encoders> |
Praveen Chavan | e4d7c6b | 2013-11-06 17:52:03 -0800 | [diff] [blame] | 116 | <MediaCodec name="OMX.qcom.video.encoder.mpeg4" type="video/mp4v-es" > |
| 117 | <Quirk name="requires-allocate-on-input-ports" /> |
Praveen Chavan | 33532eb | 2015-08-07 17:03:00 -0700 | [diff] [blame] | 118 | <Quirk name="requires-allocate-on-output-ports" /> |
Praveen Chavan | e4d7c6b | 2013-11-06 17:52:03 -0800 | [diff] [blame] | 119 | <Quirk name="requires-loaded-to-idle-after-allocation"/> |
Shalaj Jain | f1840dd | 2015-02-27 15:39:27 -0800 | [diff] [blame] | 120 | <Limit name="size" min="96x64" max="1920x1088" /> |
| 121 | <Limit name="alignment" value="2x2" /> |
| 122 | <Limit name="block-size" value="16x16" /> |
| 123 | <Limit name="blocks-per-second" min="1" max="489600" /> |
| 124 | <Limit name="bitrate" range="1-60000000" /> |
Shivaprasad Hongal | d336533 | 2015-09-15 14:01:54 -0700 | [diff] [blame] | 125 | <Limit name="frame-rate" range="1-240" /> |
Shivaprasad Hongal | ab2ada9 | 2015-08-20 19:52:35 -0700 | [diff] [blame] | 126 | <Limit name="concurrent-instances" max="16" /> |
Praveen Chavan | e4d7c6b | 2013-11-06 17:52:03 -0800 | [diff] [blame] | 127 | </MediaCodec> |
| 128 | <MediaCodec name="OMX.qcom.video.encoder.h263" type="video/3gpp" > |
| 129 | <Quirk name="requires-allocate-on-input-ports" /> |
Praveen Chavan | 33532eb | 2015-08-07 17:03:00 -0700 | [diff] [blame] | 130 | <Quirk name="requires-allocate-on-output-ports" /> |
| 131 | <Quirk name="requires-loaded-to-idle-after-allocation" /> |
| 132 | <Limit name="size" min="96x64" max="864x480" /> |
Shalaj Jain | f1840dd | 2015-02-27 15:39:27 -0800 | [diff] [blame] | 133 | <Limit name="alignment" value="2x2" /> |
Praveen Chavan | 33532eb | 2015-08-07 17:03:00 -0700 | [diff] [blame] | 134 | <Limit name="block-size" value="16x16" /> |
| 135 | <Limit name="blocks-per-second" min="1" max="48600" /> |
| 136 | <Limit name="bitrate" range="1-2000000" /> |
Shivaprasad Hongal | d336533 | 2015-09-15 14:01:54 -0700 | [diff] [blame] | 137 | <Limit name="frame-rate" range="1-240" /> |
Shivaprasad Hongal | ab2ada9 | 2015-08-20 19:52:35 -0700 | [diff] [blame] | 138 | <Limit name="concurrent-instances" max="16" /> |
Praveen Chavan | e4d7c6b | 2013-11-06 17:52:03 -0800 | [diff] [blame] | 139 | </MediaCodec> |
Praveen Chavan | e3674af | 2016-03-18 12:27:29 -0700 | [diff] [blame] | 140 | <MediaCodec name="OMX.qcom.video.encoder.avc" type="video/avc" > |
| 141 | <Quirk name="requires-allocate-on-input-ports" /> |
| 142 | <Quirk name="requires-allocate-on-output-ports" /> |
| 143 | <Quirk name="requires-loaded-to-idle-after-allocation" /> |
| 144 | <Limit name="size" min="96x64" max="4096x2160" /> |
| 145 | <Limit name="alignment" value="2x2" /> |
| 146 | <Limit name="block-size" value="16x16" /> |
| 147 | <Limit name="blocks-per-second" min="1" max="979200" /> |
| 148 | <Limit name="bitrate" range="1-100000000" /> |
| 149 | <Limit name="frame-rate" range="1-240" /> |
| 150 | <Limit name="concurrent-instances" max="16" /> |
| 151 | </MediaCodec> |
Praveen Chavan | 33532eb | 2015-08-07 17:03:00 -0700 | [diff] [blame] | 152 | <MediaCodec name="OMX.qcom.video.encoder.vp8" type="video/x-vnd.on2.vp8" > |
Praveen Chavan | 285bd5d | 2014-03-11 10:22:26 -0700 | [diff] [blame] | 153 | <Quirk name="requires-allocate-on-input-ports" /> |
Praveen Chavan | 33532eb | 2015-08-07 17:03:00 -0700 | [diff] [blame] | 154 | <Quirk name="requires-allocate-on-output-ports" /> |
| 155 | <Quirk name="requires-loaded-to-idle-after-allocation" /> |
Shalaj Jain | f1840dd | 2015-02-27 15:39:27 -0800 | [diff] [blame] | 156 | <Limit name="size" min="96x64" max="3840x2160" /> |
| 157 | <Limit name="alignment" value="2x2" /> |
| 158 | <Limit name="block-size" value="16x16" /> |
Shivaprasad Hongal | c35aec5 | 2015-09-02 16:54:03 -0700 | [diff] [blame] | 159 | <Limit name="blocks-per-second" min="1" max="979200" /> |
Praveen Chavan | 33532eb | 2015-08-07 17:03:00 -0700 | [diff] [blame] | 160 | <Limit name="bitrate" range="1-20000000" /> |
Shivaprasad Hongal | d336533 | 2015-09-15 14:01:54 -0700 | [diff] [blame] | 161 | <Limit name="frame-rate" range="1-240" /> |
Shivaprasad Hongal | ab2ada9 | 2015-08-20 19:52:35 -0700 | [diff] [blame] | 162 | <Limit name="concurrent-instances" max="16" /> |
Praveen Chavan | 33532eb | 2015-08-07 17:03:00 -0700 | [diff] [blame] | 163 | </MediaCodec> |
| 164 | <MediaCodec name="OMX.qcom.video.encoder.hevc" type="video/hevc" > |
| 165 | <Quirk name="requires-allocate-on-input-ports" /> |
| 166 | <Quirk name="requires-allocate-on-output-ports" /> |
| 167 | <Quirk name="requires-loaded-to-idle-after-allocation" /> |
Praveen Chavan | e3674af | 2016-03-18 12:27:29 -0700 | [diff] [blame] | 168 | <Limit name="size" min="176x64" max="4096x2160" /> |
Praveen Chavan | 33532eb | 2015-08-07 17:03:00 -0700 | [diff] [blame] | 169 | <Limit name="alignment" value="2x2" /> |
| 170 | <Limit name="block-size" value="16x16" /> |
Shivaprasad Hongal | c35aec5 | 2015-09-02 16:54:03 -0700 | [diff] [blame] | 171 | <Limit name="blocks-per-second" min="1" max="979200" /> |
Shalaj Jain | f1840dd | 2015-02-27 15:39:27 -0800 | [diff] [blame] | 172 | <Limit name="bitrate" range="1-100000000" /> |
Shivaprasad Hongal | d336533 | 2015-09-15 14:01:54 -0700 | [diff] [blame] | 173 | <Limit name="frame-rate" range="1-240" /> |
Shivaprasad Hongal | ab2ada9 | 2015-08-20 19:52:35 -0700 | [diff] [blame] | 174 | <Limit name="concurrent-instances" max="16" /> |
Shalaj Jain | f1840dd | 2015-02-27 15:39:27 -0800 | [diff] [blame] | 175 | </MediaCodec> |
Praveen Chavan | e4d7c6b | 2013-11-06 17:52:03 -0800 | [diff] [blame] | 176 | </Encoders> |
| 177 | <Decoders> |
Praveen Chavan | e4d7c6b | 2013-11-06 17:52:03 -0800 | [diff] [blame] | 178 | <MediaCodec name="OMX.qcom.video.decoder.avc" type="video/avc" > |
| 179 | <Quirk name="requires-allocate-on-input-ports" /> |
Praveen Chavan | 33532eb | 2015-08-07 17:03:00 -0700 | [diff] [blame] | 180 | <Quirk name="requires-allocate-on-output-ports" /> |
| 181 | <Limit name="size" min="64x64" max="4096x2160" /> |
Shalaj Jain | f1840dd | 2015-02-27 15:39:27 -0800 | [diff] [blame] | 182 | <Limit name="alignment" value="2x2" /> |
| 183 | <Limit name="block-size" value="16x16" /> |
Shivaprasad Hongal | c35aec5 | 2015-09-02 16:54:03 -0700 | [diff] [blame] | 184 | <Limit name="blocks-per-second" min="1" max="1958400" /> |
Shalaj Jain | f1840dd | 2015-02-27 15:39:27 -0800 | [diff] [blame] | 185 | <Limit name="bitrate" range="1-100000000" /> |
| 186 | <Feature name="adaptive-playback" /> |
Shivaprasad Hongal | ab2ada9 | 2015-08-20 19:52:35 -0700 | [diff] [blame] | 187 | <Limit name="concurrent-instances" max="16" /> |
Shalaj Jain | f1840dd | 2015-02-27 15:39:27 -0800 | [diff] [blame] | 188 | </MediaCodec> |
| 189 | <MediaCodec name="OMX.qcom.video.decoder.avc.secure" type="video/avc" > |
| 190 | <Quirk name="requires-allocate-on-input-ports" /> |
Praveen Chavan | 33532eb | 2015-08-07 17:03:00 -0700 | [diff] [blame] | 191 | <Quirk name="requires-allocate-on-output-ports" /> |
| 192 | <Limit name="size" min="64x64" max="4096x2160" /> |
Shalaj Jain | f1840dd | 2015-02-27 15:39:27 -0800 | [diff] [blame] | 193 | <Limit name="alignment" value="2x2" /> |
| 194 | <Limit name="block-size" value="16x16" /> |
Shivaprasad Hongal | c35aec5 | 2015-09-02 16:54:03 -0700 | [diff] [blame] | 195 | <Limit name="blocks-per-second" min="1" max="1958400" /> |
Shalaj Jain | f1840dd | 2015-02-27 15:39:27 -0800 | [diff] [blame] | 196 | <Limit name="bitrate" range="1-100000000" /> |
| 197 | <Feature name="adaptive-playback" /> |
| 198 | <Feature name="secure-playback" required="true" /> |
Shalaj Jain | 600e1d6 | 2015-11-24 17:34:56 -0800 | [diff] [blame] | 199 | <Limit name="concurrent-instances" max="6" /> |
Shalaj Jain | f1840dd | 2015-02-27 15:39:27 -0800 | [diff] [blame] | 200 | </MediaCodec> |
| 201 | <MediaCodec name="OMX.qcom.video.decoder.mpeg4" type="video/mp4v-es" > |
| 202 | <Quirk name="requires-allocate-on-input-ports" /> |
Praveen Chavan | e3674af | 2016-03-18 12:27:29 -0700 | [diff] [blame] | 203 | <Quirk name="requires-allocate-on-output-ports" /> |
Shalaj Jain | f1840dd | 2015-02-27 15:39:27 -0800 | [diff] [blame] | 204 | <Limit name="size" min="64x64" max="1920x1088" /> |
| 205 | <Limit name="alignment" value="2x2" /> |
| 206 | <Limit name="block-size" value="16x16" /> |
| 207 | <Limit name="blocks-per-second" min="1" max="489600" /> |
| 208 | <Limit name="bitrate" range="1-60000000" /> |
| 209 | <Feature name="adaptive-playback" /> |
Shivaprasad Hongal | ab2ada9 | 2015-08-20 19:52:35 -0700 | [diff] [blame] | 210 | <Limit name="concurrent-instances" max="16" /> |
Praveen Chavan | e4d7c6b | 2013-11-06 17:52:03 -0800 | [diff] [blame] | 211 | </MediaCodec> |
Praveen Chavan | e4d7c6b | 2013-11-06 17:52:03 -0800 | [diff] [blame] | 212 | <MediaCodec name="OMX.qcom.video.decoder.h263" type="video/3gpp" > |
| 213 | <Quirk name="requires-allocate-on-input-ports" /> |
Praveen Chavan | 33532eb | 2015-08-07 17:03:00 -0700 | [diff] [blame] | 214 | <Quirk name="requires-allocate-on-output-ports" /> |
Shalaj Jain | f1840dd | 2015-02-27 15:39:27 -0800 | [diff] [blame] | 215 | <Limit name="size" min="64x64" max="864x480" /> |
| 216 | <Limit name="alignment" value="2x2" /> |
| 217 | <Limit name="block-size" value="16x16" /> |
| 218 | <Limit name="blocks-per-second" min="1" max="489600" /> |
| 219 | <Limit name="bitrate" range="1-2000000" /> |
Shalaj Jain | f1840dd | 2015-02-27 15:39:27 -0800 | [diff] [blame] | 220 | <Feature name="adaptive-playback" /> |
Shivaprasad Hongal | ab2ada9 | 2015-08-20 19:52:35 -0700 | [diff] [blame] | 221 | <Limit name="concurrent-instances" max="16" /> |
Praveen Chavan | e4d7c6b | 2013-11-06 17:52:03 -0800 | [diff] [blame] | 222 | </MediaCodec> |
| 223 | <MediaCodec name="OMX.qcom.video.decoder.vp8" type="video/x-vnd.on2.vp8" > |
| 224 | <Quirk name="requires-allocate-on-input-ports" /> |
| 225 | <Quirk name="requires-allocate-on-output-ports" /> |
Shalaj Jain | f1840dd | 2015-02-27 15:39:27 -0800 | [diff] [blame] | 226 | <Limit name="size" min="64x64" max="3840x2160" /> |
| 227 | <Limit name="alignment" value="2x2" /> |
| 228 | <Limit name="block-size" value="16x16" /> |
Shivaprasad Hongal | c35aec5 | 2015-09-02 16:54:03 -0700 | [diff] [blame] | 229 | <Limit name="blocks-per-second" min="1" max="979200" /> |
Shalaj Jain | f1840dd | 2015-02-27 15:39:27 -0800 | [diff] [blame] | 230 | <Limit name="bitrate" range="1-20000000" /> |
| 231 | <Feature name="adaptive-playback" /> |
Shivaprasad Hongal | ab2ada9 | 2015-08-20 19:52:35 -0700 | [diff] [blame] | 232 | <Limit name="concurrent-instances" max="16" /> |
Praveen Chavan | e4d7c6b | 2013-11-06 17:52:03 -0800 | [diff] [blame] | 233 | </MediaCodec> |
Praveen Chavan | da23933 | 2016-03-18 12:45:26 -0700 | [diff] [blame] | 234 | <MediaCodec name="OMX.qcom.video.decoder.vp9" type="video/x-vnd.on2.vp9" > |
| 235 | <Quirk name="requires-allocate-on-input-ports" /> |
| 236 | <Quirk name="requires-allocate-on-output-ports" /> |
| 237 | <Limit name="size" min="64x64" max="3840x2160" /> |
| 238 | <Limit name="alignment" value="2x2" /> |
| 239 | <Limit name="block-size" value="16x16" /> |
| 240 | <Limit name="blocks-per-second" min="1" max="979200" /> |
| 241 | <Limit name="bitrate" range="1-100000000" /> |
| 242 | <Limit name="frame-rate" range="1-240" /> |
| 243 | <Feature name="adaptive-playback" /> |
| 244 | <Limit name="concurrent-instances" max="16" /> |
| 245 | </MediaCodec> |
Rohit Kulkarni | b2e99f9 | 2016-06-10 15:19:50 -0700 | [diff] [blame] | 246 | <MediaCodec name="OMX.qcom.video.decoder.vp9.secure" type="video/x-vnd.on2.vp9" > |
| 247 | <Quirk name="requires-allocate-on-input-ports" /> |
| 248 | <Quirk name="requires-allocate-on-output-ports" /> |
| 249 | <Limit name="size" min="64x64" max="3840x2160" /> |
| 250 | <Limit name="alignment" value="2x2" /> |
| 251 | <Limit name="block-size" value="16x16" /> |
| 252 | <Limit name="blocks-per-second" min="1" max="979200" /> |
| 253 | <Limit name="bitrate" range="1-100000000" /> |
| 254 | <Feature name="adaptive-playback" /> |
| 255 | <Feature name="secure-playback" required="true" /> |
| 256 | <Limit name="concurrent-instances" max="6" /> |
| 257 | </MediaCodec> |
Praveen Chavan | e4d7c6b | 2013-11-06 17:52:03 -0800 | [diff] [blame] | 258 | <MediaCodec name="OMX.qcom.video.decoder.hevc" type="video/hevc" > |
| 259 | <Quirk name="requires-allocate-on-input-ports" /> |
| 260 | <Quirk name="requires-allocate-on-output-ports" /> |
Shalaj Jain | f1840dd | 2015-02-27 15:39:27 -0800 | [diff] [blame] | 261 | <Limit name="size" min="64x64" max="4096x2160" /> |
| 262 | <Limit name="alignment" value="2x2" /> |
| 263 | <Limit name="block-size" value="16x16" /> |
Shivaprasad Hongal | c35aec5 | 2015-09-02 16:54:03 -0700 | [diff] [blame] | 264 | <Limit name="blocks-per-second" min="1" max="1958400" /> |
Shalaj Jain | f1840dd | 2015-02-27 15:39:27 -0800 | [diff] [blame] | 265 | <Limit name="bitrate" range="1-100000000" /> |
| 266 | <Feature name="adaptive-playback" /> |
Shivaprasad Hongal | ab2ada9 | 2015-08-20 19:52:35 -0700 | [diff] [blame] | 267 | <Limit name="concurrent-instances" max="16" /> |
Praveen Chavan | e4d7c6b | 2013-11-06 17:52:03 -0800 | [diff] [blame] | 268 | </MediaCodec> |
Shalaj Jain | 3711bf7 | 2015-05-19 15:49:10 -0700 | [diff] [blame] | 269 | <MediaCodec name="OMX.qcom.video.decoder.hevc.secure" type="video/hevc" > |
| 270 | <Quirk name="requires-allocate-on-input-ports" /> |
| 271 | <Quirk name="requires-allocate-on-output-ports" /> |
| 272 | <Limit name="size" min="64x64" max="4096x2160" /> |
| 273 | <Limit name="alignment" value="2x2" /> |
| 274 | <Limit name="block-size" value="16x16" /> |
Shivaprasad Hongal | c35aec5 | 2015-09-02 16:54:03 -0700 | [diff] [blame] | 275 | <Limit name="blocks-per-second" min="1" max="1958400" /> |
Shalaj Jain | 3711bf7 | 2015-05-19 15:49:10 -0700 | [diff] [blame] | 276 | <Limit name="bitrate" range="1-100000000" /> |
| 277 | <Feature name="adaptive-playback" /> |
| 278 | <Feature name="secure-playback" required="true" /> |
Shalaj Jain | 600e1d6 | 2015-11-24 17:34:56 -0800 | [diff] [blame] | 279 | <Limit name="concurrent-instances" max="6" /> |
Shalaj Jain | 3711bf7 | 2015-05-19 15:49:10 -0700 | [diff] [blame] | 280 | </MediaCodec> |
Praveen Chavan | e4d7c6b | 2013-11-06 17:52:03 -0800 | [diff] [blame] | 281 | </Decoders> |
Shalaj Jain | f1840dd | 2015-02-27 15:39:27 -0800 | [diff] [blame] | 282 | <Include href="media_codecs_google_video.xml" /> |
| 283 | </MediaCodecs> |