<Decoders>
<!-- ffmpeg audio codecs -->
- <MediaCodec name="OMX.ffmpeg.aac.decoder" type="audio/mp4a-latm" />
- <MediaCodec name="OMX.ffmpeg.ac3.decoder" type="audio/ac3" />
- <MediaCodec name="OMX.ffmpeg.ape.decoder" type="audio/x-ape" />
- <MediaCodec name="OMX.ffmpeg.atrial.decoder" type="audio/ffmpeg" />
- <MediaCodec name="OMX.ffmpeg.dts.decoder" type="audio/vnd.dts" />
- <MediaCodec name="OMX.ffmpeg.flac.decoder" type="audio/flac" />
- <MediaCodec name="OMX.ffmpeg.mp2.decoder" type="audio/mpeg-L2" />
- <MediaCodec name="OMX.ffmpeg.ra.decoder" type="audio/vnd.rn-realaudio" />
- <MediaCodec name="OMX.ffmpeg.wma.decoder" type="audio/x-ms-wma" />
+ <MediaCodec name="OMX.ffmpeg.aac.decoder" type="audio/mp4a-latm">
+ <Limit name="channel-count" max="8" />
+ <Limit name="sample-rate" ranges="8000-192000" />
+ </MediaCodec>
+ <MediaCodec name="OMX.ffmpeg.ac3.decoder" type="audio/ac3" >
+ <Limit name="channel-count" max="8" />
+ <Limit name="sample-rate" ranges="8000-192000" />
+ </MediaCodec>
+ <MediaCodec name="OMX.ffmpeg.ape.decoder" type="audio/x-ape" >
+ <Limit name="channel-count" max="8" />
+ <Limit name="sample-rate" ranges="8000-192000" />
+ </MediaCodec>
+ <MediaCodec name="OMX.ffmpeg.atrial.decoder" type="audio/ffmpeg" >
+ <Limit name="channel-count" max="8" />
+ <Limit name="sample-rate" ranges="8000-192000" />
+ </MediaCodec>
+ <MediaCodec name="OMX.ffmpeg.dts.decoder" type="audio/vnd.dts" >
+ <Limit name="channel-count" max="8" />
+ <Limit name="sample-rate" ranges="8000-192000" />
+ </MediaCodec>
+ <MediaCodec name="OMX.ffmpeg.flac.decoder" type="audio/flac" >
+ <Limit name="channel-count" max="8" />
+ <Limit name="sample-rate" ranges="8000-192000" />
+ </MediaCodec>
+ <MediaCodec name="OMX.ffmpeg.mp2.decoder" type="audio/mpeg-L2" >
+ <Limit name="channel-count" max="8" />
+ <Limit name="sample-rate" ranges="8000-192000" />
+ </MediaCodec>
+ <MediaCodec name="OMX.ffmpeg.mp3.decoder" type="audio/mpeg" >
+ <Limit name="channel-count" max="8" />
+ <Limit name="sample-rate" ranges="8000-192000" />
+ </MediaCodec>
+ <MediaCodec name="OMX.ffmpeg.ra.decoder" type="audio/vnd.rn-realaudio" >
+ <Limit name="channel-count" max="8" />
+ <Limit name="sample-rate" ranges="8000-192000" />
+ </MediaCodec>
+ <MediaCodec name="OMX.ffmpeg.vorbis.decoder" type="audio/vorbis" >
+ <Limit name="channel-count" max="8" />
+ <Limit name="sample-rate" ranges="8000-192000" />
+ </MediaCodec>
+ <MediaCodec name="OMX.ffmpeg.wma.decoder" type="audio/x-ms-wma" >
+ <Limit name="channel-count" max="8" />
+ <Limit name="sample-rate" ranges="8000-192000" />
+ </MediaCodec>
<!-- ffmpeg video codecs -->
- <MediaCodec name="OMX.ffmpeg.divx.decoder" type="video/divx" />
- <MediaCodec name="OMX.ffmpeg.flv1.decoder" type="video/x-flv" />
- <MediaCodec name="OMX.ffmpeg.mpeg2.decoder" type="video/mpeg2" />
- <MediaCodec name="OMX.ffmpeg.mpeg4.decoder" type="video/mp4v-es" />
- <MediaCodec name="OMX.ffmpeg.hevc.decoder" type="video/hevc" />
- <MediaCodec name="OMX.ffmpeg.rv.decoder" type="video/vnd.rn-realvideo" />
- <MediaCodec name="OMX.ffmpeg.vc1.decoder" type="video/vc1" />
- <MediaCodec name="OMX.ffmpeg.vp8.decoder" type="video/vp8" />
- <MediaCodec name="OMX.ffmpeg.vtrial.decoder" type="video/ffmpeg" />
- <MediaCodec name="OMX.ffmpeg.wmv.decoder" type="video/x-ms-wmv" />
+ <MediaCodec name="OMX.ffmpeg.divx.decoder" type="video/divx">
+ <Limit name="size" min="2x2" max="2048x2048" />
+ <Limit name="alignment" value="2x2" />
+ <Feature name="adaptive-playback" />
+ </MediaCodec>
+ <MediaCodec name="OMX.ffmpeg.flv1.decoder" type="video/x-flv">
+ <Limit name="size" min="2x2" max="2048x2048" />
+ <Limit name="alignment" value="2x2" />
+ <Feature name="adaptive-playback" />
+ </MediaCodec>
+ <MediaCodec name="OMX.ffmpeg.mpeg2.decoder" type="video/mpeg2">
+ <Limit name="size" min="2x2" max="2048x2048" />
+ <Limit name="alignment" value="2x2" />
+ <Feature name="adaptive-playback" />
+ </MediaCodec>
+ <MediaCodec name="OMX.ffmpeg.mpeg4.decoder" type="video/mp4v-es">
+ <Limit name="size" min="2x2" max="2048x2048" />
+ <Limit name="alignment" value="2x2" />
+ <Feature name="adaptive-playback" />
+ </MediaCodec>
+ <MediaCodec name="OMX.ffmpeg.h263.decoder" type="video/3gpp">
+ <Limit name="size" min="2x2" max="2048x2048" />
+ <Limit name="alignment" value="2x2" />
+ <Feature name="adaptive-playback" />
+ </MediaCodec>
+ <MediaCodec name="OMX.ffmpeg.h264.decoder" type="video/avc">
+ <Limit name="size" min="2x2" max="2048x2048" />
+ <Limit name="alignment" value="2x2" />
+ <Feature name="adaptive-playback" />
+ </MediaCodec>
+ <MediaCodec name="OMX.ffmpeg.hevc.decoder" type="video/hevc">
+ <Limit name="size" min="2x2" max="2048x2048" />
+ <Limit name="alignment" value="2x2" />
+ <Feature name="adaptive-playback" />
+ </MediaCodec>
+ <MediaCodec name="OMX.ffmpeg.rv.decoder" type="video/vnd.rn-realvideo">
+ <Limit name="size" min="2x2" max="2048x2048" />
+ <Limit name="alignment" value="2x2" />
+ <Feature name="adaptive-playback" />
+ </MediaCodec>
+ <MediaCodec name="OMX.ffmpeg.vc1.decoder" type="video/vc1">
+ <Limit name="size" min="2x2" max="2048x2048" />
+ <Limit name="alignment" value="2x2" />
+ <Feature name="adaptive-playback" />
+ </MediaCodec>
+ <MediaCodec name="OMX.ffmpeg.vtrial.decoder" type="video/ffmpeg">
+ <Limit name="size" min="2x2" max="2048x2048" />
+ <Limit name="alignment" value="2x2" />
+ <Feature name="adaptive-playback" />
+ </MediaCodec>
+ <MediaCodec name="OMX.ffmpeg.wmv.decoder" type="video/x-ms-wmv">
+ <Limit name="size" min="2x2" max="2048x2048" />
+ <Limit name="alignment" value="2x2" />
+ <Feature name="adaptive-playback" />
+ </MediaCodec>
</Decoders>
</Included>