Commit | Line | Data |
---|---|---|
83dc35bd S |
1 | <?xml version="1.0" encoding="utf-8" ?> |
2 | <!-- Copyright (C) 2014 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 | <Included> | |
18 | <Decoders> | |
19 | <MediaCodec name="OMX.google.mp3.decoder" type="audio/mpeg"> | |
20 | <Limit name="channel-count" max="2" /> | |
21 | <Limit name="sample-rate" ranges="8000,11025,12000,16000,22050,24000,32000,44100,48000" /> | |
22 | <Limit name="bitrate" range="8000-320000" /> | |
23 | </MediaCodec> | |
24 | <MediaCodec name="OMX.google.amrnb.decoder" type="audio/3gpp"> | |
25 | <Limit name="channel-count" max="1" /> | |
26 | <Limit name="sample-rate" ranges="8000" /> | |
27 | <Limit name="bitrate" range="4750-12200" /> | |
28 | </MediaCodec> | |
29 | <MediaCodec name="OMX.google.amrwb.decoder" type="audio/amr-wb"> | |
30 | <Limit name="channel-count" max="1" /> | |
31 | <Limit name="sample-rate" ranges="16000" /> | |
32 | <Limit name="bitrate" range="6600-23850" /> | |
33 | </MediaCodec> | |
34 | <MediaCodec name="OMX.google.aac.decoder" type="audio/mp4a-latm"> | |
35 | <Limit name="channel-count" max="8" /> | |
36 | <Limit name="sample-rate" ranges="7350,8000,11025,12000,16000,22050,24000,32000,44100,48000" /> | |
37 | <Limit name="bitrate" range="8000-960000" /> | |
38 | </MediaCodec> | |
39 | <MediaCodec name="OMX.google.g711.alaw.decoder" type="audio/g711-alaw"> | |
83dc35bd S |
40 | <Limit name="channel-count" max="1" /> |
41 | <Limit name="sample-rate" ranges="8000-48000" /> | |
42 | <Limit name="bitrate" range="64000" /> | |
43 | </MediaCodec> | |
44 | <MediaCodec name="OMX.google.g711.mlaw.decoder" type="audio/g711-mlaw"> | |
83dc35bd S |
45 | <Limit name="channel-count" max="1" /> |
46 | <Limit name="sample-rate" ranges="8000-48000" /> | |
47 | <Limit name="bitrate" range="64000" /> | |
48 | </MediaCodec> | |
49 | <MediaCodec name="OMX.google.vorbis.decoder" type="audio/vorbis"> | |
50 | <Limit name="channel-count" max="8" /> | |
51 | <Limit name="sample-rate" ranges="8000-96000" /> | |
52 | <Limit name="bitrate" range="32000-500000" /> | |
53 | </MediaCodec> | |
54 | <MediaCodec name="OMX.google.opus.decoder" type="audio/opus"> | |
55 | <Limit name="channel-count" max="8" /> | |
56 | <Limit name="sample-rate" ranges="48000" /> | |
57 | <Limit name="bitrate" range="6000-510000" /> | |
58 | </MediaCodec> | |
59 | <MediaCodec name="OMX.google.raw.decoder" type="audio/raw"> | |
60 | <Limit name="channel-count" max="8" /> | |
61 | <Limit name="sample-rate" ranges="8000-96000" /> | |
62 | <Limit name="bitrate" range="1-10000000" /> | |
63 | </MediaCodec> | |
64 | </Decoders> | |
65 | <Encoders> | |
66 | <MediaCodec name="OMX.google.aac.encoder" type="audio/mp4a-latm"> | |
67 | <Limit name="channel-count" max="6" /> | |
68 | <Limit name="sample-rate" ranges="8000,11025,12000,16000,22050,24000,32000,44100,48000" /> | |
69 | <!-- also may support 64000, 88200 and 96000 Hz --> | |
70 | <Limit name="bitrate" range="8000-960000" /> | |
71 | </MediaCodec> | |
72 | <MediaCodec name="OMX.google.amrnb.encoder" type="audio/3gpp"> | |
73 | <Limit name="channel-count" max="1" /> | |
74 | <Limit name="sample-rate" ranges="8000" /> | |
75 | <Limit name="bitrate" range="4750-12200" /> | |
76 | <Feature name="bitrate-modes" value="CBR" /> | |
77 | </MediaCodec> | |
78 | <MediaCodec name="OMX.google.amrwb.encoder" type="audio/amr-wb"> | |
79 | <Limit name="channel-count" max="1" /> | |
80 | <Limit name="sample-rate" ranges="16000" /> | |
81 | <Limit name="bitrate" range="6600-23850" /> | |
82 | <Feature name="bitrate-modes" value="CBR" /> | |
83 | </MediaCodec> | |
84 | <MediaCodec name="OMX.google.flac.encoder" type="audio/flac"> | |
85 | <Limit name="channel-count" max="2" /> | |
86 | <Limit name="sample-rate" ranges="1-655350" /> | |
87 | <Limit name="bitrate" range="1-21000000" /> | |
88 | <Limit name="complexity" range="0-8" default="5" /> | |
89 | <Feature name="bitrate-modes" value="CQ" /> | |
90 | </MediaCodec> | |
91 | </Encoders> | |
92 | </Included> |