merothh | f25a4a7 | 2022-01-02 21:45:42 +0530 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8" ?> |
| 2 | <!-- |
| 3 | Copyright (c) 2019-2020 Qualcomm Technologies, Inc. |
| 4 | All Rights Reserved. |
| 5 | Confidential and Proprietary - Qualcomm Technologies, Inc. |
| 6 | |
| 7 | Not a Contribution. |
| 8 | |
| 9 | Copyright (C) 2012-2018 The Linux Foundation. All rights reserved. |
| 10 | Copyright (C) 2012-2013 The Android Open Source Project |
| 11 | |
| 12 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 13 | you may not use this file except in compliance with the License. |
| 14 | You may obtain a copy of the License at |
| 15 | |
| 16 | http://www.apache.org/licenses/LICENSE-2.0 |
| 17 | |
| 18 | Unless required by applicable law or agreed to in writing, software |
| 19 | distributed under the License is distributed on an "AS IS" BASIS, |
| 20 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 21 | See the License for the specific language governing permissions and |
| 22 | limitations under the License. |
| 23 | --> |
| 24 | |
| 25 | <!-- |
| 26 | Saipan Non-Secure decoder capabilities |
| 27 | _________________________________________________________ |
| 28 | | Codec | W H fps Mbps MB/s | |
| 29 | |_____________|_________________________________________| |
| 30 | | h264 | 3840 2176 60 100 1958400 | |
| 31 | | | (4096) (2176) (48) (100) | |
| 32 | | hevc | 3840 2176 60 100 1958400 | |
| 33 | | | (4096) (2176) (48) (100) | |
| 34 | | vp8 | 3840 2176 30 100 979200 | |
| 35 | | | (4096) (2176) (24) (100) | |
| 36 | | vp9 | 3840 2176 60 100 1958400 | |
| 37 | | | (4096) (2176) (48) (100) | |
| 38 | |_____________|_________________________________________| |
| 39 | |
| 40 | Saipan Secure decoder capabilities |
| 41 | ______________________________________________________ |
| 42 | | Codec | W H fps Mbps MB/s | |
| 43 | |__________|_________________________________________| |
| 44 | | h264 | 3840 2176 60 40 1958400 | |
| 45 | | | (4096) (2176) (48) (40) | |
| 46 | | vp9 | 3840 2176 60 40 1958400 | |
| 47 | | | (4096) (2176) (48) (40) | |
| 48 | | hevc | 3840 2176 60 40 1958400 | |
| 49 | | | (4096) (2176) (48) (40) | |
| 50 | |__________|_________________________________________| |
| 51 | |
| 52 | Saipan Non-Secure encoder capabilities (Secure not supported) |
| 53 | ______________________________________________________ |
| 54 | | Codec | W H fps Mbps MB/s | |
| 55 | |__________|_________________________________________| |
| 56 | | h264 | 3840 2176 60 100 1958400 | |
| 57 | | | (4096) (2176) (48) (100) | |
| 58 | | hevc | 3840 2176 60 100 1958400 | |
| 59 | | | (4096) (2176) (48) (100) | |
| 60 | | vp8 | 3840 2176 30 100 979200 | |
| 61 | | | (4096) (2176) (24) (100) | |
| 62 | |__________|_________________________________________| |
| 63 | --> |
| 64 | |
| 65 | <Included> |
| 66 | <Include href="media_codecs_google_audio.xml" /> |
| 67 | <Include href="media_codecs_google_telephony.xml" /> |
| 68 | <Settings> |
| 69 | <Setting name="max-video-encoder-input-buffers" value="11" /> |
| 70 | </Settings> |
| 71 | <Decoders> |
| 72 | <!-- C2 decoders --> |
| 73 | <MediaCodec name="c2.qti.avc.decoder" type="video/avc"> |
| 74 | <Limit name="size" min="128x128" max="4096x2176" /> |
| 75 | <Limit name="alignment" value="2x2" /> |
| 76 | <Limit name="block-size" value="16x16" /> |
| 77 | <Limit name="blocks-per-second" range="64-1958400" /> |
| 78 | <Limit name="bitrate" range="1-100000000" /> |
| 79 | <Limit name="frame-rate" range="1-480" /> |
| 80 | <Limit name="concurrent-instances" max="16" /> |
| 81 | <Limit name="performance-point-4096x2160" value="30" /> |
| 82 | <Limit name="performance-point-3840x2160" value="60" /> |
| 83 | <Limit name="performance-point-1920x1080" value="240" /> |
| 84 | <Limit name="performance-point-1280x720" value="480" /> |
| 85 | <Feature name="adaptive-playback" /> |
| 86 | </MediaCodec> |
| 87 | <MediaCodec name="c2.qti.avc.decoder.low_latency" type="video/avc"> |
| 88 | <Limit name="size" min="128x128" max="4096x2176" /> |
| 89 | <Limit name="alignment" value="2x2" /> |
| 90 | <Limit name="block-size" value="16x16" /> |
| 91 | <Limit name="blocks-per-second" range="64-1958400" /> |
| 92 | <Limit name="bitrate" range="1-60000000" /> |
| 93 | <Limit name="frame-rate" range="1-480" /> |
| 94 | <Limit name="concurrent-instances" max="16" /> |
| 95 | <Feature name="adaptive-playback" /> |
| 96 | <Feature name="low-latency" /> |
| 97 | <Limit name="concurrent-instances" max="16" /> |
| 98 | <Limit name="performance-point-1280x720" value="240" /> |
| 99 | <Limit name="performance-point-1920x1080" value="120" /> |
| 100 | <Limit name="performance-point-3840x2160" value="30" /> |
| 101 | <Limit name="performance-point-4096x2160" value="24" /> |
| 102 | </MediaCodec> |
| 103 | <MediaCodec name="c2.qti.avc.decoder.secure" type="video/avc" > |
| 104 | <Limit name="size" min="128x128" max="4096x2176" /> |
| 105 | <Limit name="alignment" value="2x2" /> |
| 106 | <Limit name="block-size" value="16x16" /> |
| 107 | <Limit name="blocks-per-second" min="64" max="1958400" /> |
| 108 | <Limit name="bitrate" range="1-40000000" /> |
| 109 | <Limit name="frame-rate" range="1-240" /> |
| 110 | <Feature name="adaptive-playback" /> |
| 111 | <Feature name="secure-playback" required="true" /> |
| 112 | <Limit name="concurrent-instances" max="6" /> |
| 113 | <Limit name="performance-point-4096x2160" value="30" /> |
| 114 | <Limit name="performance-point-3840x2160" value="60" /> |
| 115 | </MediaCodec> |
| 116 | <MediaCodec name="c2.qti.hevc.decoder" type="video/hevc" > |
| 117 | <Limit name="size" min="128x128" max="4096x2176" /> |
| 118 | <Limit name="alignment" value="2x2" /> |
| 119 | <Limit name="block-size" value="16x16" /> |
| 120 | <Limit name="blocks-per-second" min="64" max="1958400" /> |
| 121 | <Limit name="bitrate" range="1-100000000" /> |
| 122 | <Limit name="frame-rate" range="1-480" /> |
| 123 | <Feature name="adaptive-playback" /> |
| 124 | <Limit name="concurrent-instances" max="16" /> |
| 125 | <Limit name="performance-point-4096x2160" value="30" /> |
| 126 | <Limit name="performance-point-3840x2160" value="60" /> |
| 127 | <Limit name="performance-point-1920x1080" value="240" /> |
| 128 | <Limit name="performance-point-1280x720" value="480" /> |
| 129 | </MediaCodec> |
| 130 | <MediaCodec name="c2.qti.hevc.decoder.low_latency" type="video/hevc" > |
| 131 | <Limit name="size" min="128x128" max="4096x2176" /> |
| 132 | <Limit name="alignment" value="2x2" /> |
| 133 | <Limit name="block-size" value="16x16" /> |
| 134 | <Limit name="blocks-per-second" min="64" max="1958400" /> |
| 135 | <Limit name="bitrate" range="1-60000000" /> |
| 136 | <Limit name="frame-rate" range="1-480" /> |
| 137 | <Feature name="adaptive-playback" /> |
| 138 | <Feature name="low-latency" /> |
| 139 | <Limit name="concurrent-instances" max="16" /> |
| 140 | <Limit name="performance-point-1280x720" value="240" /> |
| 141 | <Limit name="performance-point-1920x1080" value="120" /> |
| 142 | <Limit name="performance-point-3840x2160" value="30" /> |
| 143 | <Limit name="performance-point-4096x2160" value="24" /> |
| 144 | </MediaCodec> |
| 145 | <MediaCodec name="c2.qti.hevc.decoder.secure" type="video/hevc" > |
| 146 | <Limit name="size" min="128x128" max="4096x2176" /> |
| 147 | <Limit name="alignment" value="2x2" /> |
| 148 | <Limit name="block-size" value="16x16" /> |
| 149 | <Limit name="blocks-per-second" min="64" max="1958400" /> |
| 150 | <Limit name="bitrate" range="1-40000000" /> |
| 151 | <Limit name="frame-rate" range="1-480" /> |
| 152 | <Feature name="adaptive-playback" /> |
| 153 | <Feature name="secure-playback" required="true" /> |
| 154 | <Limit name="concurrent-instances" max="6" /> |
| 155 | <Limit name="performance-point-4096x2304" value="30" /> |
| 156 | <Limit name="performance-point-3840x2160" value="60" /> |
| 157 | </MediaCodec> |
| 158 | <MediaCodec name="c2.qti.vp8.decoder" type="video/x-vnd.on2.vp8" > |
| 159 | <Limit name="size" min="128x128" max="4096x2176" /> |
| 160 | <Limit name="alignment" value="2x2" /> |
| 161 | <Limit name="block-size" value="16x16" /> |
| 162 | <Limit name="blocks-per-second" min="64" max="1036800" /> |
| 163 | <Limit name="bitrate" range="1-100000000" /> |
| 164 | <Limit name="frame-rate" range="1-240" /> |
| 165 | <Feature name="adaptive-playback" /> |
| 166 | <Limit name="concurrent-instances" max="16" /> |
| 167 | <Limit name="performance-point-4096x2160" value="24" /> |
| 168 | <Limit name="performance-point-3840x2160" value="30" /> |
| 169 | <Limit name="performance-point-1920x1080" value="120" /> |
| 170 | <Limit name="performance-point-1280x720" value="240" /> |
| 171 | </MediaCodec> |
| 172 | <MediaCodec name="c2.qti.vp9.decoder" type="video/x-vnd.on2.vp9" > |
| 173 | <Limit name="size" min="128x128" max="4096x2176" /> |
| 174 | <Limit name="alignment" value="2x2" /> |
| 175 | <Limit name="block-size" value="16x16" /> |
| 176 | <Limit name="blocks-per-second" min="64" max="1958400" /> |
| 177 | <Limit name="bitrate" range="1-100000000" /> |
| 178 | <Limit name="frame-rate" range="1-480" /> |
| 179 | <Feature name="adaptive-playback" /> |
| 180 | <Limit name="concurrent-instances" max="6" /> |
| 181 | <Limit name="performance-point-4096x2160" value="30" /> |
| 182 | <Limit name="performance-point-3840x2160" value="60" /> |
| 183 | <Limit name="performance-point-1920x1080" value="240" /> |
| 184 | <Limit name="performance-point-1280x720" value="480" /> |
| 185 | </MediaCodec> |
| 186 | <MediaCodec name="c2.qti.vp9.decoder.secure" type="video/x-vnd.on2.vp9" > |
| 187 | <Limit name="size" min="128x128" max="4096x2176" /> |
| 188 | <Limit name="alignment" value="2x2" /> |
| 189 | <Limit name="block-size" value="16x16" /> |
| 190 | <Limit name="blocks-per-second" min="64" max="1958400" /> |
| 191 | <Limit name="bitrate" range="1-40000000" /> |
| 192 | <Limit name="frame-rate" range="1-480" /> |
| 193 | <Feature name="adaptive-playback" /> |
| 194 | <Feature name="secure-playback" required="true" /> |
| 195 | <Limit name="concurrent-instances" max="6" /> |
| 196 | <Limit name="performance-point-4096x2304" value="30" /> |
| 197 | <Limit name="performance-point-3840x2160" value="60" /> |
| 198 | </MediaCodec> |
| 199 | <!-- TODO: parameters are copied from kona omx --> |
| 200 | |
| 201 | <!-- OMX alias decoders (Codec2 decoders with OMX names) --> |
| 202 | <MediaCodec name="OMX.qcom.video.decoder.avc" type="video/avc" > |
| 203 | <Quirk name="requires-allocate-on-input-ports" /> |
| 204 | <Quirk name="requires-allocate-on-output-ports" /> |
| 205 | <Limit name="size" min="128x128" max="4096x2176" /> |
| 206 | <Limit name="alignment" value="2x2" /> |
| 207 | <Limit name="block-size" value="16x16" /> |
| 208 | <Limit name="blocks-per-second" min="64" max="1958400" /> |
| 209 | <Limit name="bitrate" range="1-100000000" /> |
| 210 | <Limit name="frame-rate" range="1-480" /> |
| 211 | <Feature name="adaptive-playback" /> |
| 212 | <Limit name="concurrent-instances" max="16" /> |
| 213 | <Limit name="performance-point-4096x2160" value="30" /> |
| 214 | <Limit name="performance-point-3840x2160" value="60" /> |
| 215 | <Limit name="performance-point-1920x1080" value="240" /> |
| 216 | <Limit name="performance-point-1280x720" value="480" /> |
| 217 | </MediaCodec> |
| 218 | <MediaCodec name="OMX.qcom.video.decoder.avc.secure" type="video/avc" > |
| 219 | <Quirk name="requires-allocate-on-input-ports" /> |
| 220 | <Quirk name="requires-allocate-on-output-ports" /> |
| 221 | <Limit name="size" min="128x128" max="4096x2176" /> |
| 222 | <Limit name="alignment" value="2x2" /> |
| 223 | <Limit name="block-size" value="16x16" /> |
| 224 | <Limit name="blocks-per-second" min="64" max="1958400" /> |
| 225 | <Limit name="bitrate" range="1-40000000" /> |
| 226 | <Limit name="frame-rate" range="1-60" /> |
| 227 | <Feature name="adaptive-playback" /> |
| 228 | <Feature name="secure-playback" required="true" /> |
| 229 | <Limit name="concurrent-instances" max="6" /> |
| 230 | <Limit name="performance-point-4096x2160" value="30" /> |
| 231 | <Limit name="performance-point-3840x2160" value="60" /> |
| 232 | </MediaCodec> |
| 233 | <MediaCodec name="OMX.qcom.video.decoder.vp8" type="video/x-vnd.on2.vp8" > |
| 234 | <Quirk name="requires-allocate-on-input-ports" /> |
| 235 | <Quirk name="requires-allocate-on-output-ports" /> |
| 236 | <Limit name="size" min="128x128" max="4096x2176" /> |
| 237 | <Limit name="alignment" value="2x2" /> |
| 238 | <Limit name="block-size" value="16x16" /> |
| 239 | <Limit name="blocks-per-second" min="64" max="979200" /> |
| 240 | <Limit name="bitrate" range="1-120000000" /> |
| 241 | <Limit name="frame-rate" range="1-240" /> |
| 242 | <Feature name="adaptive-playback" /> |
| 243 | <Limit name="concurrent-instances" max="16" /> |
| 244 | <Limit name="performance-point-4096x2160" value="24" /> |
| 245 | <Limit name="performance-point-3840x2160" value="30" /> |
| 246 | <Limit name="performance-point-1920x1080" value="120" /> |
| 247 | <Limit name="performance-point-1280x720" value="240" /> |
| 248 | </MediaCodec> |
| 249 | <MediaCodec name="OMX.qcom.video.decoder.vp9" type="video/x-vnd.on2.vp9" > |
| 250 | <Quirk name="requires-allocate-on-input-ports" /> |
| 251 | <Quirk name="requires-allocate-on-output-ports" /> |
| 252 | <Limit name="size" min="128x128" max="4096x2176" /> |
| 253 | <Limit name="alignment" value="2x2" /> |
| 254 | <Limit name="block-size" value="16x16" /> |
| 255 | <Limit name="blocks-per-second" min="64" max="1958400" /> |
| 256 | <Limit name="bitrate" range="1-100000000" /> |
| 257 | <Limit name="frame-rate" range="1-480" /> |
| 258 | <Feature name="adaptive-playback" /> |
| 259 | <Limit name="concurrent-instances" max="6" /> |
| 260 | <Limit name="performance-point-4096x2160" value="30" /> |
| 261 | <Limit name="performance-point-3840x2160" value="60" /> |
| 262 | <Limit name="performance-point-1920x1080" value="240" /> |
| 263 | <Limit name="performance-point-1280x720" value="480" /> |
| 264 | </MediaCodec> |
| 265 | <MediaCodec name="OMX.qcom.video.decoder.vp9.secure" type="video/x-vnd.on2.vp9" > |
| 266 | <Quirk name="requires-allocate-on-input-ports" /> |
| 267 | <Quirk name="requires-allocate-on-output-ports" /> |
| 268 | <Limit name="size" min="128x128" max="4096x2176" /> |
| 269 | <Limit name="alignment" value="2x2" /> |
| 270 | <Limit name="block-size" value="16x16" /> |
| 271 | <Limit name="blocks-per-second" min="64" max="1958400" /> |
| 272 | <Limit name="bitrate" range="1-40000000" /> |
| 273 | <Limit name="frame-rate" range="1-60" /> |
| 274 | <Feature name="adaptive-playback" /> |
| 275 | <Feature name="secure-playback" required="true" /> |
| 276 | <Limit name="concurrent-instances" max="6" /> |
| 277 | <Limit name="performance-point-4096x2160" value="30" /> |
| 278 | <Limit name="performance-point-3840x2160" value="60" /> |
| 279 | </MediaCodec> |
| 280 | <MediaCodec name="OMX.qcom.video.decoder.hevc" type="video/hevc" > |
| 281 | <Quirk name="requires-allocate-on-input-ports" /> |
| 282 | <Quirk name="requires-allocate-on-output-ports" /> |
| 283 | <Limit name="size" min="128x128" max="4096x2176" /> |
| 284 | <Limit name="alignment" value="2x2" /> |
| 285 | <Limit name="block-size" value="16x16" /> |
| 286 | <Limit name="blocks-per-second" min="64" max="1958400" /> |
| 287 | <Limit name="bitrate" range="1-100000000" /> |
| 288 | <Limit name="frame-rate" range="1-480" /> |
| 289 | <Feature name="adaptive-playback" /> |
| 290 | <Limit name="concurrent-instances" max="16" /> |
| 291 | <Limit name="performance-point-4096x2160" value="30" /> |
| 292 | <Limit name="performance-point-3840x2160" value="60" /> |
| 293 | <Limit name="performance-point-1920x1080" value="240" /> |
| 294 | <Limit name="performance-point-1280x720" value="480" /> |
| 295 | </MediaCodec> |
| 296 | <MediaCodec name="OMX.qcom.video.decoder.hevc.secure" type="video/hevc" > |
| 297 | <Quirk name="requires-allocate-on-input-ports" /> |
| 298 | <Quirk name="requires-allocate-on-output-ports" /> |
| 299 | <Limit name="size" min="128x128" max="4096x2176" /> |
| 300 | <Limit name="alignment" value="2x2" /> |
| 301 | <Limit name="block-size" value="16x16" /> |
| 302 | <Limit name="blocks-per-second" min="64" max="1958400" /> |
| 303 | <Limit name="bitrate" range="1-40000000" /> |
| 304 | <Limit name="frame-rate" range="1-60" /> |
| 305 | <Feature name="adaptive-playback" /> |
| 306 | <Feature name="secure-playback" required="true" /> |
| 307 | <Limit name="concurrent-instances" max="6" /> |
| 308 | <Limit name="performance-point-4096x2160" value="30" /> |
| 309 | <Limit name="performance-point-3840x2160" value="60" /> |
| 310 | </MediaCodec> |
| 311 | <!-- TODO: parameters are copied from kona omx --> |
| 312 | </Decoders> |
| 313 | |
| 314 | <Encoders> |
| 315 | <!-- C2 encoders --> |
| 316 | <MediaCodec name="c2.qti.avc.encoder" type="video/avc"> |
| 317 | <Limit name="size" min="128x128" max="4096x2176" /> |
| 318 | <Limit name="alignment" value="2x2" /> |
| 319 | <Limit name="block-size" value="16x16" /> |
| 320 | <Limit name="blocks-per-second" min="64" max="1958400" /> |
| 321 | <Limit name="bitrate" range="1-100000000" /> |
| 322 | <Limit name="frame-rate" range="1-480" /> |
| 323 | <Limit name="performance-point-4096x2160" value="30" /> |
| 324 | <Limit name="performance-point-3840x2160" value="60" /> |
| 325 | <Limit name="performance-point-1920x1080" value="240" /> |
| 326 | <Limit name="performance-point-1280x720" value="480" /> |
| 327 | <Limit name="concurrent-instances" max="16" /> |
| 328 | </MediaCodec> |
| 329 | <MediaCodec name="c2.qti.hevc.encoder" type="video/hevc"> |
| 330 | <Limit name="size" min="128x128" max="4096x2176" /> |
| 331 | <Limit name="alignment" value="2x2" /> |
| 332 | <Limit name="block-size" value="16x16" /> |
| 333 | <Limit name="blocks-per-second" min="64" max="1958400" /> |
| 334 | <Limit name="bitrate" range="1-100000000" /> |
| 335 | <Limit name="frame-rate" range="1-480" /> |
| 336 | <Limit name="concurrent-instances" max="16" /> |
| 337 | <Limit name="performance-point-4096x2160" value="30" /> |
| 338 | <Limit name="performance-point-3840x2160" value="60" /> |
| 339 | <Limit name="performance-point-1920x1080" value="240" /> |
| 340 | <Limit name="performance-point-1280x720" value="480" /> |
| 341 | <Feature name="bitrate-modes" value="VBR,CBR" /> |
| 342 | </MediaCodec> |
| 343 | <MediaCodec name="c2.qti.hevc.encoder.cq" type="video/hevc" > |
| 344 | <Alias name="OMX.qcom.video.encoder.hevc.cq"/> |
| 345 | <Quirk name="requires-allocate-on-input-ports" /> |
| 346 | <Quirk name="requires-allocate-on-output-ports" /> |
| 347 | <Quirk name="requires-loaded-to-idle-after-allocation" /> |
| 348 | <Limit name="size" min="128x128" max="512x512" /> |
| 349 | <Limit name="alignment" value="2x2" /> |
| 350 | <Limit name="block-size" value="16x16" /> |
| 351 | <Limit name="frame-rate" range="1-20" /> |
| 352 | <Limit name="concurrent-instances" max="6" /> |
| 353 | <Limit name="quality" range="0-100" default="80" /> |
| 354 | <Feature name="bitrate-modes" value="CQ" /> |
| 355 | <Limit name="performance-point-512x512" value="2025" /> |
| 356 | </MediaCodec> |
| 357 | <MediaCodec name="c2.qti.heic.encoder" type="image/vnd.android.heic" > |
| 358 | <Alias name="OMX.qcom.video.encoder.heic"/> |
| 359 | <Quirk name="requires-allocate-on-input-ports" /> |
| 360 | <Quirk name="requires-allocate-on-input-ports" /> |
| 361 | <Quirk name="requires-allocate-on-output-ports" /> |
| 362 | <Quirk name="requires-loaded-to-idle-after-allocation" /> |
| 363 | <Limit name="size" min="512x512" max="8192x8192" /> |
| 364 | <Limit name="alignment" value="2x2" /> |
| 365 | <Limit name="block-size" value="16x16" /> |
| 366 | <Limit name="frame-rate" range="1-20" /> |
| 367 | <Limit name="concurrent-instances" max="6" /> |
| 368 | <Limit name="quality" range="0-100" default="80" /> |
| 369 | <Feature name="bitrate-modes" value="CQ" /> |
| 370 | <Limit name="performance-point-8192x4320" value="3" /> |
| 371 | <Limit name="performance-point-1920x1080" value="6" /> |
| 372 | </MediaCodec> |
| 373 | <MediaCodec name="c2.qti.vp8.encoder" type="video/x-vnd.on2.vp8"> |
| 374 | <Limit name="size" min="128x128" max="4096x2176" /> |
| 375 | <Limit name="alignment" value="2x2" /> |
| 376 | <Limit name="block-size" value="16x16" /> |
| 377 | <Limit name="blocks-per-second" min="64" max="2073600" /> |
| 378 | <Limit name="bitrate" range="1-100000000" /> |
| 379 | <Limit name="frame-rate" range="1-480" /> |
| 380 | <Limit name="concurrent-instances" max="16" /> |
| 381 | <Limit name="performance-point-4096x2160" value="24" /> |
| 382 | <Limit name="performance-point-3840x2160" value="30" /> |
| 383 | <Limit name="performance-point-1920x1080" value="120" /> |
| 384 | <Limit name="performance-point-1280x720" value="240" /> |
| 385 | </MediaCodec> |
| 386 | |
| 387 | <!-- OMX alias encoders (Codec2 encoders with OMX names) --> |
| 388 | <MediaCodec name="OMX.qcom.video.encoder.avc" type="video/avc" > |
| 389 | <Quirk name="requires-allocate-on-input-ports" /> |
| 390 | <Quirk name="requires-allocate-on-output-ports" /> |
| 391 | <Quirk name="requires-loaded-to-idle-after-allocation" /> |
| 392 | <Limit name="size" min="128x128" max="4096x2176" /> |
| 393 | <Limit name="alignment" value="2x2" /> |
| 394 | <Limit name="block-size" value="16x16" /> |
| 395 | <Limit name="blocks-per-second" min="64" max="1958400" /> |
| 396 | <Limit name="bitrate" range="1-100000000" /> |
| 397 | <Limit name="frame-rate" range="1-480" /> |
| 398 | <Limit name="concurrent-instances" max="16" /> |
| 399 | <Limit name="performance-point-4096x2160" value="30" /> |
| 400 | <Limit name="performance-point-3840x2160" value="60" /> |
| 401 | <Limit name="performance-point-1920x1080" value="240" /> |
| 402 | <Limit name="performance-point-1280x720" value="480" /> |
| 403 | </MediaCodec> |
| 404 | <MediaCodec name="OMX.qcom.video.encoder.vp8" type="video/x-vnd.on2.vp8" > |
| 405 | <Quirk name="requires-allocate-on-input-ports" /> |
| 406 | <Quirk name="requires-allocate-on-output-ports" /> |
| 407 | <Quirk name="requires-loaded-to-idle-after-allocation" /> |
| 408 | <Limit name="size" min="128x128" max="4096x2176" /> |
| 409 | <Limit name="alignment" value="2x2" /> |
| 410 | <Limit name="block-size" value="16x16" /> |
| 411 | <Limit name="blocks-per-second" min="64" max="979200" /> |
| 412 | <Limit name="bitrate" range="1-100000000" /> |
| 413 | <Limit name="frame-rate" range="1-240" /> |
| 414 | <Limit name="concurrent-instances" max="16" /> |
| 415 | <Limit name="performance-point-4096x2160" value="24" /> |
| 416 | <Limit name="performance-point-3840x2160" value="30" /> |
| 417 | <Limit name="performance-point-1920x1080" value="120" /> |
| 418 | <Limit name="performance-point-1280x720" value="240" /> |
| 419 | </MediaCodec> |
| 420 | <MediaCodec name="OMX.qcom.video.encoder.hevc" type="video/hevc" > |
| 421 | <Quirk name="requires-allocate-on-input-ports" /> |
| 422 | <Quirk name="requires-allocate-on-output-ports" /> |
| 423 | <Quirk name="requires-loaded-to-idle-after-allocation" /> |
| 424 | <Limit name="size" min="128x128" max="4096x2176" /> |
| 425 | <Limit name="alignment" value="2x2" /> |
| 426 | <Limit name="block-size" value="16x16" /> |
| 427 | <Limit name="blocks-per-second" min="64" max="1958400" /> |
| 428 | <Limit name="bitrate" range="1-100000000" /> |
| 429 | <Limit name="frame-rate" range="1-480" /> |
| 430 | <Limit name="concurrent-instances" max="16" /> |
| 431 | <Limit name="performance-point-4096x2160" value="30" /> |
| 432 | <Limit name="performance-point-3840x2160" value="60" /> |
| 433 | <Limit name="performance-point-1920x1080" value="240" /> |
| 434 | <Limit name="performance-point-1280x720" value="480" /> |
| 435 | <Limit name="quality" range="0-100" default="80" /> |
| 436 | <Feature name="bitrate-modes" value="VBR,CBR,CQ" /> |
| 437 | </MediaCodec> |
| 438 | </Encoders> |
| 439 | <Include href="media_codecs_google_c2.xml" /> |
| 440 | </Included> |