summaryrefslogtreecommitdiff
path: root/etc/media_codecs_c2.xml
diff options
context:
space:
mode:
Diffstat (limited to 'etc/media_codecs_c2.xml')
-rw-r--r--etc/media_codecs_c2.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/etc/media_codecs_c2.xml b/etc/media_codecs_c2.xml
new file mode 100644
index 0000000..0060d5d
--- /dev/null
+++ b/etc/media_codecs_c2.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<MediaCodecs>
+ <Decoders>
+ <!-- C2 decoders -->
+ <MediaCodec name="c2.v4l2.avc.decoder" type="video/avc" >
+ <Limit name="size" min="16x16" max="4096x4096" />
+ <Limit name="alignment" value="2x2" />
+ <Limit name="block-size" value="16x16" />
+ <Limit name="blocks-per-second" min="1" max="2586720" />
+ <Limit name="bitrate" range="1-62500000" />
+ <Limit name="frame-rate" range="1-60" />
+ <Limit name="concurrent-instances" max="8" />
+ <Feature name="adaptive-playback" />
+ </MediaCodec>
+ </Decoders>
+</MediaCodecs>