blob: 500f538d040a619206b5ad57d88a2d4d57c1b6ba [file] [log] [blame]
Sungmin Choi5eece522012-07-18 19:33:22 -07001<?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 Molnare7a468a2014-03-19 14:38:20 -070018 <Include href="media_codecs_google_audio.xml" />
19 <Include href="media_codecs_google_telephony.xml" />
Sungmin Choi5eece522012-07-18 19:33:22 -070020 <Encoders>
dongkeun1.leed3c247d2012-07-25 16:04:10 -070021 <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 Molnarac794442014-08-13 18:50:23 -070025 <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.leed3c247d2012-07-25 16:04:10 -070031 </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 Molnarac794442014-08-13 18:50:23 -070036 <Limit name="size" min="96x64" max="720x576" />
37 <Limit name="alignment" value="8x8" />
dongkeun1.leed3c247d2012-07-25 16:04:10 -070038 </MediaCodec>
Sungmin Choi5eece522012-07-18 19:33:22 -070039 <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 Molnarac794442014-08-13 18:50:23 -070043 <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 Choi5eece522012-07-18 19:33:22 -070049 </MediaCodec>
Sungmin Choi5eece522012-07-18 19:33:22 -070050 </Encoders>
51 <Decoders>
Sungmin Choi5eece522012-07-18 19:33:22 -070052 <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 Molnarac794442014-08-13 18:50:23 -070056 <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 Choi5eece522012-07-18 19:33:22 -070076 </MediaCodec>
Sungmin Choi5eece522012-07-18 19:33:22 -070077 <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 Molnarac794442014-08-13 18:50:23 -070081 <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 Choi5eece522012-07-18 19:33:22 -070088 </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 Molnarac794442014-08-13 18:50:23 -070093 <Limit name="size" min="64x64" max="720x576" />
94 <Limit name="alignment" value="2x2" />
95 <Feature name="adaptive-playback" />
Sungmin Choi5eece522012-07-18 19:33:22 -070096 </MediaCodec>
Sungmin Choi5eece522012-07-18 19:33:22 -070097 </Decoders>
Lajos Molnare7a468a2014-03-19 14:38:20 -070098 <Include href="media_codecs_google_video.xml" />
Sungmin Choi5eece522012-07-18 19:33:22 -070099</MediaCodecs>