summaryrefslogtreecommitdiffstats
path: root/configs/media_codecs.xml
diff options
context:
space:
mode:
Diffstat (limited to 'configs/media_codecs.xml')
-rwxr-xr-xconfigs/media_codecs.xml56
1 files changed, 46 insertions, 10 deletions
diff --git a/configs/media_codecs.xml b/configs/media_codecs.xml
index b628b68..48c516c 100755
--- a/configs/media_codecs.xml
+++ b/configs/media_codecs.xml
@@ -78,18 +78,54 @@ Only the three quirks included above are recognized at this point:
<MediaCodecs>
<Include href="media_codecs_google_audio.xml" />
<Include href="media_codecs_google_telephony.xml" />
-
<Decoders>
- <MediaCodec name="OMX.SEC.MPEG4.Decoder" type="video/mp4v-es" />
- <MediaCodec name="OMX.SEC.H263.Decoder" type="video/3gpp" />
- <MediaCodec name="OMX.SEC.AVC.Decoder" type="video/avc" />
+ <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" />
+ </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" />
+ </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" />
+ </MediaCodec>
</Decoders>
-
<Encoders>
- <MediaCodec name="OMX.SEC.MPEG4.Encoder" type="video/mp4v-es" />
- <MediaCodec name="OMX.SEC.H263.Encoder" type="video/3gpp" />
- <MediaCodec name="OMX.SEC.AVC.Encoder" type="video/avc" />
+ <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" />
+ </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" />
+ </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" />
+ </MediaCodec>
</Encoders>
- <Include href="media_codecs_google_video.xml" />
- <Include href="media_codecs_ffmpeg.xml" />
+ <Include href="media_codecs_google_video_le.xml" />
</MediaCodecs>