aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configs/media_codecs.xml116
1 files changed, 77 insertions, 39 deletions
diff --git a/configs/media_codecs.xml b/configs/media_codecs.xml
index 3debf0b..0548b57 100644
--- a/configs/media_codecs.xml
+++ b/configs/media_codecs.xml
@@ -76,59 +76,97 @@ Only the three quirks included above are recognized at this point:
-->
<MediaCodecs>
-
- <Include href="media_codecs_google_video.xml" />
- <Include href="media_codecs_ffmpeg.xml" />
- <Include href="media_codecs_google_audio.xml" />
- <Include href="media_codecs_google_telephony.xml" />
-
<Decoders>
+ <MediaCodec name="OMX.google.mp3.decoder" type="audio/mpeg" />
+
<MediaCodec name="OMX.SEC.MPEG4.Decoder" type="video/mp4v-es" >
- <Limit name="size" min="64x64" max="1920x1088" />
- <Limit name="alignment" value="2x2" />
- <Limit name="block-size" value="16x16" />
- <Limit name="blocks-per-second" min="1" max="244800" />
- <Limit name="bitrate" range="1-20000000" />
+ <Quirk name="requires-allocate-on-input-ports" />
+ <Quirk name="requires-allocate-on-output-ports" />
+ <Quirk name="video-controller-check-enable" />
</MediaCodec>
+
<MediaCodec name="OMX.SEC.H263.Decoder" type="video/3gpp" >
- <Limit name="size" min="64x64" max="800x480" />
- <Limit name="alignment" value="2x2" />
- <Limit name="block-size" value="16x16" />
- <Limit name="blocks-per-second" min="1" max="45000" />
- <Limit name="bitrate" range="1-6000000" />
+ <Quirk name="requires-allocate-on-input-ports" />
+ <Quirk name="requires-allocate-on-output-ports" />
+ <Quirk name="video-controller-check-enable" />
</MediaCodec>
+
<MediaCodec name="OMX.SEC.AVC.Decoder" type="video/avc" >
- <Limit name="size" min="64x64" max="1920x1088" />
- <Limit name="alignment" value="2x2" />
- <Limit name="block-size" value="16x16" />
- <Limit name="blocks-per-second" min="1" max="244800" />
- <Limit name="bitrate" range="1-20000000" />
+ <Quirk name="requires-allocate-on-input-ports" />
+ <Quirk name="requires-allocate-on-output-ports" />
+ <Quirk name="video-controller-check-enable" />
+ </MediaCodec>
+
+ <MediaCodec name="OMX.SEC.VP8.Decoder" type="video/x-vnd.on2.vp8" >
+ <Quirk name="requires-allocate-on-input-ports" />
+ <Quirk name="requires-allocate-on-output-ports" />
+ <Quirk name="video-controller-check-enable" />
</MediaCodec>
+
+ <MediaCodec name="OMX.google.amrnb.decoder" type="audio/3gpp" />
+ <MediaCodec name="OMX.google.amrwb.decoder" type="audio/amr-wb" />
+ <MediaCodec name="OMX.google.aac.decoder" type="audio/mp4a-latm" />
+ <MediaCodec name="OMX.google.g711.alaw.decoder" type="audio/g711-alaw">
+ <Quirk name="decoder-lies-about-samplingrate" />
+ </MediaCodec>
+ <MediaCodec name="OMX.google.g711.mlaw.decoder" type="audio/g711-mlaw">
+ <Quirk name="decoder-lies-about-samplingrate" />
+ </MediaCodec>
+ <MediaCodec name="OMX.google.vorbis.decoder" type="audio/vorbis" />
+ <MediaCodec name="OMX.google.raw.decoder" type="audio/raw" />
+ <MediaCodec name="OMX.google.mpeg4.decoder" type="video/mp4v-es" />
+ <MediaCodec name="OMX.google.h263.decoder" type="video/3gpp" />
+ <MediaCodec name="OMX.google.vp8.decoder" type="video/x-vnd.on2.vp8" />
+ <MediaCodec name="OMX.google.vp9.decoder" type="video/x-vnd.on2.vp9" />
+
+ <!-- ffmpeg audio codecs -->
+ <MediaCodec name="OMX.ffmpeg.ra.decoder" type="audio/vnd.rn-realaudio"/>
+ <MediaCodec name="OMX.ffmpeg.flac.decoder" type="audio/flac"/>
+ <MediaCodec name="OMX.ffmpeg.mp2.decoder" type="audio/mpeg-L2"/>
+ <MediaCodec name="OMX.ffmpeg.ac3.decoder" type="audio/ac3"/>
+ <MediaCodec name="OMX.ffmpeg.ape.decoder" type="audio/x-ape"/>
+ <MediaCodec name="OMX.ffmpeg.dts.decoder" type="audio/vnd.dts"/>
+ <MediaCodec name="OMX.ffmpeg.atrial.decoder" type="audio/ffmpeg"/>
+
+ <!-- ffmpeg video codecs -->
+ <MediaCodec name="OMX.ffmpeg.mpeg2v.decoder" type="video/mpeg2"/>
+ <MediaCodec name="OMX.ffmpeg.wmv.decoder" type="video/x-ms-wmv"/>
+ <MediaCodec name="OMX.ffmpeg.rv.decoder" type="video/vnd.rn-realvideo"/>
+ <MediaCodec name="OMX.ffmpeg.vc1.decoder" type="video/vc1"/>
+ <MediaCodec name="OMX.ffmpeg.flv1.decoder" type="video/x-flv"/>
+ <MediaCodec name="OMX.ffmpeg.divx.decoder" type="video/divx"/>
+ <MediaCodec name="OMX.ffmpeg.hevc.decoder" type="video/hevc"/>
+ <MediaCodec name="OMX.ffmpeg.vtrial.decoder" type="video/ffmpeg"/>
+ <MediaCodec name="OMX.ffmpeg.h264.decoder" type="video/avc" />
</Decoders>
+
<Encoders>
+
<MediaCodec name="OMX.SEC.MPEG4.Encoder" type="video/mp4v-es" >
- <Quirk name="requires-loaded-to-idle-after-allocation"/>
- <Limit name="size" min="96x64" max="1920x1088" />
- <Limit name="alignment" value="2x2" />
- <Limit name="block-size" value="16x16" />
- <Limit name="blocks-per-second" min="1" max="244800" />
- <Limit name="bitrate" range="1-20000000" />
+ <Quirk name="requires-allocate-on-input-ports" />
+ <Quirk name="requires-allocate-on-output-ports" />
+ <Quirk name="video-controller-check-enable" />
</MediaCodec>
<MediaCodec name="OMX.SEC.H263.Encoder" type="video/3gpp" >
- <Quirk name="requires-loaded-to-idle-after-allocation" />
- <Limit name="size" min="96x64" max="800x480" />
- <Limit name="alignment" value="2x2" />
- <Limit name="block-size" value="16x16" />
- <Limit name="blocks-per-second" min="1" max="244800" />
- <Limit name="bitrate" range="1-6000000" />
+ <Quirk name="requires-allocate-on-input-ports" />
+ <Quirk name="requires-allocate-on-output-ports" />
+ <Quirk name="video-controller-check-enable" />
</MediaCodec>
<MediaCodec name="OMX.SEC.AVC.Encoder" type="video/avc" >
- <Quirk name="requires-loaded-to-idle-after-allocation" />
- <Limit name="size" min="96x64" max="1920x1088" />
- <Limit name="alignment" value="2x2" />
- <Limit name="block-size" value="16x16" />
- <Limit name="blocks-per-second" min="1" max="244800" />
- <Limit name="bitrate" range="1-20000000" />
+ <Quirk name="requires-allocate-on-input-ports" />
+ <Quirk name="requires-allocate-on-output-ports" />
+ <Quirk name="video-controller-check-enable" />
</MediaCodec>
+ <MediaCodec name="OMX.SEC.VP8.Encoder" type="video/x-vnd.on2.vp8" >
+ <Quirk name="requires-allocate-on-input-ports" />
+ <Quirk name="requires-allocate-on-output-ports" />
+ <Quirk name="video-controller-check-enable" />
+ </MediaCodec>
+
+
+ <MediaCodec name="OMX.google.amrnb.encoder" type="audio/3gpp" />
+ <MediaCodec name="OMX.google.amrwb.encoder" type="audio/amr-wb" />
+ <MediaCodec name="OMX.google.aac.encoder" type="audio/mp4a-latm" />
+ <MediaCodec name="OMX.google.flac.encoder" type="audio/flac" />
</Encoders>
</MediaCodecs>