OSDN Git Service

90fb57a570624ca496dab29c6a0c2668ddb5df02
[android-x86/external-stagefright-plugins.git] / data / media_codecs_ffmpeg.xml
1 <?xml version="1.0" encoding="utf-8" ?>
2 <!-- Copyright (C) 2014 The CyanogenMod 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
20         <!--  ffmpeg audio codecs -->
21         <MediaCodec name="OMX.ffmpeg.aac.decoder"    type="audio/mp4a-latm">
22             <Limit name="channel-count" max="8" />
23             <Limit name="sample-rate" ranges="8000-192000" />
24         </MediaCodec>
25         <MediaCodec name="OMX.ffmpeg.ac3.decoder"    type="audio/ac3" >
26             <Limit name="channel-count" max="8" />
27             <Limit name="sample-rate" ranges="8000-192000" />
28         </MediaCodec>
29         <MediaCodec name="OMX.ffmpeg.alac.decoder"   type="audio/alac" >
30             <Limit name="channel-count" max="8" />
31             <Limit name="sample-rate" ranges="8000-192000" />
32         </MediaCodec>
33         <MediaCodec name="OMX.ffmpeg.ape.decoder"    type="audio/x-ape" >
34             <Limit name="channel-count" max="8" />
35             <Limit name="sample-rate" ranges="8000-192000" />
36         </MediaCodec>
37         <MediaCodec name="OMX.ffmpeg.atrial.decoder" type="audio/ffmpeg" >
38             <Limit name="channel-count" max="8" />
39             <Limit name="sample-rate" ranges="8000-192000" />
40         </MediaCodec>
41         <MediaCodec name="OMX.ffmpeg.dts.decoder">
42             <Type name="audio/vnd.dts" />
43             <Type name="audio/dts" />
44             <Limit name="channel-count" max="8" />
45             <Limit name="sample-rate" ranges="8000-192000" />
46         </MediaCodec>
47         <MediaCodec name="OMX.ffmpeg.flac.decoder"   type="audio/flac" >
48             <Limit name="channel-count" max="8" />
49             <Limit name="sample-rate" ranges="8000-192000" />
50         </MediaCodec>
51         <MediaCodec name="OMX.ffmpeg.mp2.decoder"    type="audio/mpeg-L2" >
52             <Limit name="channel-count" max="8" />
53             <Limit name="sample-rate" ranges="8000-192000" />
54         </MediaCodec>
55         <MediaCodec name="OMX.ffmpeg.mp3.decoder"    type="audio/mpeg" >
56             <Limit name="channel-count" max="8" />
57             <Limit name="sample-rate" ranges="8000-192000" />
58         </MediaCodec>
59         <MediaCodec name="OMX.ffmpeg.ra.decoder"     type="audio/vnd.rn-realaudio" >
60             <Limit name="channel-count" max="8" />
61             <Limit name="sample-rate" ranges="8000-192000" />
62         </MediaCodec>
63         <MediaCodec name="OMX.ffmpeg.vorbis.decoder" type="audio/vorbis" >
64             <Limit name="channel-count" max="8" />
65             <Limit name="sample-rate" ranges="8000-192000" />
66         </MediaCodec>
67         <MediaCodec name="OMX.ffmpeg.wma.decoder"    type="audio/x-ms-wma" >
68             <Limit name="channel-count" max="8" />
69             <Limit name="sample-rate" ranges="8000-192000" />
70         </MediaCodec>
71
72         <!--  ffmpeg video codecs -->
73         <MediaCodec name="OMX.ffmpeg.divx.decoder"   type="video/divx">
74             <Limit name="size" min="2x2" max="2048x2048" />
75             <Limit name="alignment" value="2x2" />
76             <Feature name="adaptive-playback" />
77         </MediaCodec>
78         <MediaCodec name="OMX.ffmpeg.flv1.decoder"   type="video/x-flv">
79             <Limit name="size" min="2x2" max="2048x2048" />
80             <Limit name="alignment" value="2x2" />
81             <Feature name="adaptive-playback" />
82         </MediaCodec>
83         <MediaCodec name="OMX.ffmpeg.mpeg2.decoder"  type="video/mpeg2">
84             <Limit name="size" min="2x2" max="2048x2048" />
85             <Limit name="alignment" value="2x2" />
86             <Feature name="adaptive-playback" />
87         </MediaCodec>
88         <MediaCodec name="OMX.ffmpeg.mpeg4.decoder"  type="video/mp4v-es">
89             <Limit name="size" min="2x2" max="2048x2048" />
90             <Limit name="alignment" value="2x2" />
91             <Feature name="adaptive-playback" />
92         </MediaCodec>
93         <MediaCodec name="OMX.ffmpeg.h263.decoder"   type="video/3gpp">
94             <Limit name="size" min="2x2" max="2048x2048" />
95             <Limit name="alignment" value="2x2" />
96             <Feature name="adaptive-playback" />
97         </MediaCodec>
98         <MediaCodec name="OMX.ffmpeg.h264.decoder"   type="video/avc">
99             <Limit name="size" min="2x2" max="2048x2048" />
100             <Limit name="alignment" value="2x2" />
101             <Feature name="adaptive-playback" />
102         </MediaCodec>
103         <MediaCodec name="OMX.ffmpeg.hevc.decoder"   type="video/hevc">
104             <Limit name="size" min="2x2" max="2048x2048" />
105             <Limit name="alignment" value="2x2" />
106             <Feature name="adaptive-playback" />
107         </MediaCodec>
108         <MediaCodec name="OMX.ffmpeg.vp8.decoder" type="video/x-vnd.on2.vp8">
109             <Limit name="size" min="2x2" max="2048x2048" />
110             <Limit name="alignment" value="2x2" />
111             <Feature name="adaptive-playback" />
112         </MediaCodec>
113         <MediaCodec name="OMX.ffmpeg.vp9.decoder" type="video/x-vnd.on2.vp9">
114             <Limit name="size" min="2x2" max="2048x2048" />
115             <Limit name="alignment" value="2x2" />
116             <Feature name="adaptive-playback" />
117         </MediaCodec>
118         <MediaCodec name="OMX.ffmpeg.rv.decoder"     type="video/vnd.rn-realvideo">
119             <Limit name="size" min="2x2" max="2048x2048" />
120             <Limit name="alignment" value="2x2" />
121             <Feature name="adaptive-playback" />
122         </MediaCodec>
123         <MediaCodec name="OMX.ffmpeg.vc1.decoder"    type="video/vc1">
124             <Limit name="size" min="2x2" max="2048x2048" />
125             <Limit name="alignment" value="2x2" />
126             <Feature name="adaptive-playback" />
127         </MediaCodec>
128         <MediaCodec name="OMX.ffmpeg.vtrial.decoder" type="video/ffmpeg">
129             <Limit name="size" min="2x2" max="2048x2048" />
130             <Limit name="alignment" value="2x2" />
131             <Feature name="adaptive-playback" />
132         </MediaCodec>
133         <MediaCodec name="OMX.ffmpeg.wmv.decoder"    type="video/x-ms-wmv">
134             <Limit name="size" min="2x2" max="2048x2048" />
135             <Limit name="alignment" value="2x2" />
136             <Feature name="adaptive-playback" />
137         </MediaCodec>
138     </Decoders>
139 </Included>