summaryrefslogtreecommitdiff
path: root/etc/media_codecs_c2.xml
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2020-06-16 13:56:16 -0700
committerAmit Pundir <amit.pundir@linaro.org>2020-12-07 14:07:27 +0530
commit1b8f2f58134e5fedb3780cc925eff27496515314 (patch)
tree3c45061cece78215df6077c2f45bd30b30781ed6 /etc/media_codecs_c2.xml
parent4a86774d36f1a3c109a7e2da05aca9f9ca33b0df (diff)
db845c: Add v4l2_codec2 support and qcomlt's v4l2_decode test appwip/aosp
Based on https: //android-review.googlesource.com/c/1424772 Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Change-Id: I72f0f19145daa322a4cc9024a41dc38ad04cd429
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>