summaryrefslogtreecommitdiff
path: root/media_codecs_aosp_c2.xml
diff options
context:
space:
mode:
authorwenchangliu <wenchangliu@google.com>2022-05-20 08:48:56 +0000
committerWen Chang Liu <wenchangliu@google.com>2022-08-09 09:48:44 +0000
commit856edb847158d3740908e2bad67b487702748c68 (patch)
tree570170829800089da22adf5613d11cd47463b920 /media_codecs_aosp_c2.xml
parentf14529ed678b64f5bc9277995a0ed8cdddb549bb (diff)
downloadgs201-856edb847158d3740908e2bad67b487702748c68.tar.gz
update bitrate modes capability for video encoder
Bug: 236896946 Test: check support bitrate modes from getEncoderCapabilities() Change-Id: I07f824df9f47d3476438604a7fb4e5ab4ee55870
Diffstat (limited to 'media_codecs_aosp_c2.xml')
-rw-r--r--media_codecs_aosp_c2.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/media_codecs_aosp_c2.xml b/media_codecs_aosp_c2.xml
index c2eed11..bae71e6 100644
--- a/media_codecs_aosp_c2.xml
+++ b/media_codecs_aosp_c2.xml
@@ -164,6 +164,7 @@
<Feature name="vq-minimum-quality"/>
<Feature name="qp-bounds"/>
<Feature name="encoding-statistics"/>
+ <Feature name="bitrate-modes" value="VBR,CBR,CBR-FD" />
</MediaCodec>
<MediaCodec name="c2.exynos.hevc.encoder" type="video/hevc" >
<Limit name="size" min="64x64" max="3840x2176" />
@@ -175,11 +176,13 @@
<Limit name="performance-point-1920x1080" range="240" />
<Limit name="performance-point-3840x2160" range="120" />
<Limit name="concurrent-instances" max="16" />
+ <Limit name="quality" range="0-100" default="57" />
<Feature name="can-swap-width-height" value="1" />
<Feature name="vq-minimum-quality"/>
<Feature name="qp-bounds"/>
<Feature name="encoding-statistics"/>
<Feature name="hdr-editing" />
+ <Feature name="bitrate-modes" value="VBR,CBR,CQ,CBR-FD" />
</MediaCodec>
<MediaCodec name="c2.exynos.mpeg4.encoder" type="video/mp4v-es">
<Limit name="size" min="32x32" max="2048x2048" />
@@ -195,6 +198,7 @@
<Feature name="vq-minimum-quality"/>
<Feature name="qp-bounds"/>
<Feature name="encoding-statistics"/>
+ <Feature name="bitrate-modes" value="VBR,CBR" />
</MediaCodec>
<MediaCodec name="c2.exynos.h263.encoder" type="video/3gpp">
<Limit name="size" min="32x32" max="2048x1152" />
@@ -209,6 +213,7 @@
<Feature name="vq-minimum-quality"/>
<Feature name="qp-bounds"/>
<Feature name="encoding-statistics"/>
+ <Feature name="bitrate-modes" value="VBR,CBR" />
</MediaCodec>
<MediaCodec name="c2.exynos.vp8.encoder" type="video/x-vnd.on2.vp8" >
<Limit name="size" min="32x32" max="3840x2160" />
@@ -224,6 +229,7 @@
<Feature name="vq-minimum-quality"/>
<Feature name="qp-bounds"/>
<Feature name="encoding-statistics"/>
+ <Feature name="bitrate-modes" value="VBR,CBR" />
</MediaCodec>
<MediaCodec name="c2.exynos.vp9.encoder" type="video/x-vnd.on2.vp9" >
<Limit name="size" min="64x64" max="3840x2176" />
@@ -239,6 +245,7 @@
<Feature name="vq-minimum-quality"/>
<Feature name="qp-bounds"/>
<Feature name="encoding-statistics"/>
+ <Feature name="bitrate-modes" value="VBR,CBR" />
</MediaCodec>
</Encoders>
</MediaCodecs>