Sungmin Choi | 5eece52 | 2012-07-18 19:33:22 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8" ?> |
| 2 | <!-- Copyright (C) 2012 The Android Open Source Project |
| 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 | --> |
| 16 | |
| 17 | <MediaCodecs> |
Lajos Molnar | e7a468a | 2014-03-19 14:38:20 -0700 | [diff] [blame] | 18 | <Include href="media_codecs_google_audio.xml" /> |
| 19 | <Include href="media_codecs_google_telephony.xml" /> |
Sungmin Choi | 5eece52 | 2012-07-18 19:33:22 -0700 | [diff] [blame] | 20 | <Encoders> |
dongkeun1.lee | d3c247d | 2012-07-25 16:04:10 -0700 | [diff] [blame] | 21 | <MediaCodec name="OMX.qcom.video.encoder.mpeg4" type="video/mp4v-es" > |
| 22 | <Quirk name="requires-allocate-on-input-ports" /> |
| 23 | <Quirk name="requires-allocate-on-output-ports"/> |
| 24 | <Quirk name="requires-loaded-to-idle-after-allocation"/> |
Lajos Molnar | ac79444 | 2014-08-13 18:50:23 -0700 | [diff] [blame] | 25 | <Limit name="size" min="96x64" max="1920x1088" /> |
| 26 | <Limit name="alignment" value="8x8" /> |
| 27 | <Limit name="block-size" value="16x16" /> |
| 28 | <Limit name="blocks-per-second" min="1" max="244800" /> |
| 29 | <Limit name="bitrate" range="1-20000000" /> |
| 30 | <Feature name="can-swap-width-height" /> |
dongkeun1.lee | d3c247d | 2012-07-25 16:04:10 -0700 | [diff] [blame] | 31 | </MediaCodec> |
| 32 | <MediaCodec name="OMX.qcom.video.encoder.h263" type="video/3gpp" > |
| 33 | <Quirk name="requires-allocate-on-input-ports" /> |
| 34 | <Quirk name="requires-allocate-on-output-ports"/> |
| 35 | <Quirk name="requires-loaded-to-idle-after-allocation"/> |
Lajos Molnar | ac79444 | 2014-08-13 18:50:23 -0700 | [diff] [blame] | 36 | <Limit name="size" min="96x64" max="720x576" /> |
| 37 | <Limit name="alignment" value="8x8" /> |
dongkeun1.lee | d3c247d | 2012-07-25 16:04:10 -0700 | [diff] [blame] | 38 | </MediaCodec> |
Sungmin Choi | 5eece52 | 2012-07-18 19:33:22 -0700 | [diff] [blame] | 39 | <MediaCodec name="OMX.qcom.video.encoder.avc" type="video/avc" > |
| 40 | <Quirk name="requires-allocate-on-input-ports" /> |
| 41 | <Quirk name="requires-allocate-on-output-ports"/> |
| 42 | <Quirk name="requires-loaded-to-idle-after-allocation"/> |
Lajos Molnar | ac79444 | 2014-08-13 18:50:23 -0700 | [diff] [blame] | 43 | <Limit name="size" min="96x64" max="1920x1088" /> |
| 44 | <Limit name="alignment" value="8x8" /> |
| 45 | <Limit name="block-size" value="16x16" /> |
| 46 | <Limit name="blocks-per-second" min="1" max="244800" /> |
| 47 | <Limit name="bitrate" range="1-20000000" /> |
| 48 | <Feature name="can-swap-width-height" /> |
Sungmin Choi | 5eece52 | 2012-07-18 19:33:22 -0700 | [diff] [blame] | 49 | </MediaCodec> |
Sungmin Choi | 5eece52 | 2012-07-18 19:33:22 -0700 | [diff] [blame] | 50 | </Encoders> |
| 51 | <Decoders> |
Sungmin Choi | 5eece52 | 2012-07-18 19:33:22 -0700 | [diff] [blame] | 52 | <MediaCodec name="OMX.qcom.video.decoder.avc" type="video/avc" > |
| 53 | <Quirk name="requires-allocate-on-input-ports" /> |
| 54 | <Quirk name="requires-allocate-on-output-ports"/> |
| 55 | <Quirk name="defers-output-buffer-allocation"/> |
Lajos Molnar | ac79444 | 2014-08-13 18:50:23 -0700 | [diff] [blame] | 56 | <Limit name="size" min="64x64" max="1920x1088" /> |
| 57 | <Limit name="alignment" value="2x2" /> |
| 58 | <Limit name="block-size" value="16x16" /> |
| 59 | <Limit name="blocks-per-second" min="1" max="244800" /> |
| 60 | <Limit name="bitrate" range="1-20000000" /> |
| 61 | <Feature name="adaptive-playback" /> |
| 62 | <Feature name="can-swap-width-height" /> |
| 63 | </MediaCodec> |
| 64 | <MediaCodec name="OMX.qcom.video.decoder.avc.secure" type="video/avc" > |
| 65 | <Quirk name="requires-allocate-on-input-ports" /> |
| 66 | <Quirk name="requires-allocate-on-output-ports"/> |
| 67 | <Quirk name="defers-output-buffer-allocation"/> |
| 68 | <Limit name="size" min="64x64" max="1920x1088" /> |
| 69 | <Limit name="alignment" value="2x2" /> |
| 70 | <Limit name="block-size" value="16x16" /> |
| 71 | <Limit name="blocks-per-second" min="1" max="244800" /> |
| 72 | <Limit name="bitrate" range="1-20000000" /> |
| 73 | <Feature name="adaptive-playback" /> |
| 74 | <Feature name="secure-playback" required="true" /> |
| 75 | <Feature name="can-swap-width-height" /> |
Sungmin Choi | 5eece52 | 2012-07-18 19:33:22 -0700 | [diff] [blame] | 76 | </MediaCodec> |
Sungmin Choi | 5eece52 | 2012-07-18 19:33:22 -0700 | [diff] [blame] | 77 | <MediaCodec name="OMX.qcom.video.decoder.mpeg4" type="video/mp4v-es" > |
| 78 | <Quirk name="requires-allocate-on-input-ports" /> |
| 79 | <Quirk name="requires-allocate-on-output-ports"/> |
| 80 | <Quirk name="defers-output-buffer-allocation"/> |
Lajos Molnar | ac79444 | 2014-08-13 18:50:23 -0700 | [diff] [blame] | 81 | <Limit name="size" min="64x64" max="1920x1088" /> |
| 82 | <Limit name="alignment" value="2x2" /> |
| 83 | <Limit name="block-size" value="16x16" /> |
| 84 | <Limit name="blocks-per-second" min="1" max="244800" /> |
| 85 | <Limit name="bitrate" range="1-20000000" /> |
| 86 | <Feature name="adaptive-playback" /> |
| 87 | <Feature name="can-swap-width-height" /> |
Sungmin Choi | 5eece52 | 2012-07-18 19:33:22 -0700 | [diff] [blame] | 88 | </MediaCodec> |
| 89 | <MediaCodec name="OMX.qcom.video.decoder.h263" type="video/3gpp" > |
| 90 | <Quirk name="requires-allocate-on-input-ports" /> |
| 91 | <Quirk name="requires-allocate-on-output-ports"/> |
| 92 | <Quirk name="defers-output-buffer-allocation"/> |
Lajos Molnar | ac79444 | 2014-08-13 18:50:23 -0700 | [diff] [blame] | 93 | <Limit name="size" min="64x64" max="720x576" /> |
| 94 | <Limit name="alignment" value="2x2" /> |
| 95 | <Feature name="adaptive-playback" /> |
Sungmin Choi | 5eece52 | 2012-07-18 19:33:22 -0700 | [diff] [blame] | 96 | </MediaCodec> |
Sungmin Choi | 5eece52 | 2012-07-18 19:33:22 -0700 | [diff] [blame] | 97 | </Decoders> |
Lajos Molnar | e7a468a | 2014-03-19 14:38:20 -0700 | [diff] [blame] | 98 | <Include href="media_codecs_google_video.xml" /> |
Sungmin Choi | 5eece52 | 2012-07-18 19:33:22 -0700 | [diff] [blame] | 99 | </MediaCodecs> |