update bitrate modes capability for video encoder

Bug: 236896946
Test: check support bitrate modes from getEncoderCapabilities()
Change-Id: I07f824df9f47d3476438604a7fb4e5ab4ee55870
This commit is contained in:
wenchangliu 2022-05-20 08:48:56 +00:00 committed by Wen Chang Liu
parent 3749b75764
commit 73b675de85

View file

@ -154,6 +154,7 @@
<Feature name="can-swap-width-height" value="1" /> <Feature name="can-swap-width-height" value="1" />
<Feature name="vq-minimum-quality"/> <Feature name="vq-minimum-quality"/>
<Feature name="qp-bounds"/> <Feature name="qp-bounds"/>
<Feature name="bitrate-modes" value="VBR,CBR,CBR-FD" />
</MediaCodec> </MediaCodec>
<MediaCodec name="c2.exynos.hevc.encoder" type="video/hevc" > <MediaCodec name="c2.exynos.hevc.encoder" type="video/hevc" >
<Limit name="size" min="64x64" max="3840x2176" /> <Limit name="size" min="64x64" max="3840x2176" />
@ -165,9 +166,11 @@
<Limit name="performance-point-1280x720" range="240" /> <Limit name="performance-point-1280x720" range="240" />
<Limit name="performance-point-3840x2160" range="120" /> <Limit name="performance-point-3840x2160" range="120" />
<Limit name="concurrent-instances" max="16" /> <Limit name="concurrent-instances" max="16" />
<Limit name="quality" range="0-100" default="57" />
<Feature name="can-swap-width-height" value="1" /> <Feature name="can-swap-width-height" value="1" />
<Feature name="vq-minimum-quality"/> <Feature name="vq-minimum-quality"/>
<Feature name="qp-bounds"/> <Feature name="qp-bounds"/>
<Feature name="bitrate-modes" value="VBR,CBR,CQ,CBR-FD" />
</MediaCodec> </MediaCodec>
<MediaCodec name="c2.exynos.mpeg4.encoder" type="video/mp4v-es"> <MediaCodec name="c2.exynos.mpeg4.encoder" type="video/mp4v-es">
<Limit name="size" min="32x32" max="2048x2048" /> <Limit name="size" min="32x32" max="2048x2048" />
@ -182,6 +185,7 @@
<Feature name="can-swap-width-height" value="1" /> <Feature name="can-swap-width-height" value="1" />
<Feature name="vq-minimum-quality"/> <Feature name="vq-minimum-quality"/>
<Feature name="qp-bounds"/> <Feature name="qp-bounds"/>
<Feature name="bitrate-modes" value="VBR,CBR" />
</MediaCodec> </MediaCodec>
<MediaCodec name="c2.exynos.h263.encoder" type="video/3gpp"> <MediaCodec name="c2.exynos.h263.encoder" type="video/3gpp">
<Limit name="size" min="32x32" max="2048x1152" /> <Limit name="size" min="32x32" max="2048x1152" />
@ -195,6 +199,7 @@
<Limit name="concurrent-instances" max="16" /> <Limit name="concurrent-instances" max="16" />
<Feature name="vq-minimum-quality"/> <Feature name="vq-minimum-quality"/>
<Feature name="qp-bounds"/> <Feature name="qp-bounds"/>
<Feature name="bitrate-modes" value="VBR,CBR" />
</MediaCodec> </MediaCodec>
<MediaCodec name="c2.exynos.vp8.encoder" type="video/x-vnd.on2.vp8" > <MediaCodec name="c2.exynos.vp8.encoder" type="video/x-vnd.on2.vp8" >
<Limit name="size" min="32x32" max="3840x2160" /> <Limit name="size" min="32x32" max="3840x2160" />
@ -209,6 +214,7 @@
<Feature name="can-swap-width-height" value="1" /> <Feature name="can-swap-width-height" value="1" />
<Feature name="vq-minimum-quality"/> <Feature name="vq-minimum-quality"/>
<Feature name="qp-bounds"/> <Feature name="qp-bounds"/>
<Feature name="bitrate-modes" value="VBR,CBR" />
</MediaCodec> </MediaCodec>
<MediaCodec name="c2.exynos.vp9.encoder" type="video/x-vnd.on2.vp9" > <MediaCodec name="c2.exynos.vp9.encoder" type="video/x-vnd.on2.vp9" >
<Limit name="size" min="64x64" max="3840x2176" /> <Limit name="size" min="64x64" max="3840x2176" />
@ -223,6 +229,7 @@
<Feature name="can-swap-width-height" value="1" /> <Feature name="can-swap-width-height" value="1" />
<Feature name="vq-minimum-quality"/> <Feature name="vq-minimum-quality"/>
<Feature name="qp-bounds"/> <Feature name="qp-bounds"/>
<Feature name="bitrate-modes" value="VBR,CBR" />
</MediaCodec> </MediaCodec>
</Encoders> </Encoders>
</MediaCodecs> </MediaCodecs>