mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-22 21:56:26 -08:00
LG8n: Reconfigure Media Stack
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
parent
d5d0aea1f6
commit
5abd04f064
|
@ -324,6 +324,9 @@
|
||||||
<Limit name="concurrent-instances" max="16" />
|
<Limit name="concurrent-instances" max="16" />
|
||||||
<Feature name="can-swap-width-height" value="1"/>
|
<Feature name="can-swap-width-height" value="1"/>
|
||||||
<Limit name="performance-point-1920x1088" value="30" />
|
<Limit name="performance-point-1920x1088" value="30" />
|
||||||
|
<!-- modify CH6IH6921T-651 by liming.bai 20230607 start -->
|
||||||
|
<!-- Feature name="bitrate-modes" value="VBR,CBR,CQ" / -->
|
||||||
|
<!-- modify CH6IH6921T-651 by liming.bai 20230607 end -->
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.mtk.avc.encoder.secure" type="video/avc" >
|
<MediaCodec name="c2.mtk.avc.encoder.secure" type="video/avc" >
|
||||||
<Limit name="size" min="160x128" max="1920x1088" />
|
<Limit name="size" min="160x128" max="1920x1088" />
|
||||||
|
@ -332,6 +335,7 @@
|
||||||
<Limit name="concurrent-instances" max="16" />
|
<Limit name="concurrent-instances" max="16" />
|
||||||
<Limit name="performance-point-1920x1088" value="30" />
|
<Limit name="performance-point-1920x1088" value="30" />
|
||||||
<Feature name="special-codec" required="true" />
|
<Feature name="special-codec" required="true" />
|
||||||
|
<Feature name="bitrate-modes" value="VBR,CBR,CQ" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.mtk.hevc.encoder" type="video/hevc" >
|
<MediaCodec name="c2.mtk.hevc.encoder" type="video/hevc" >
|
||||||
<Alias name="OMX.MTK.VIDEO.ENCODER.HEVC" />
|
<Alias name="OMX.MTK.VIDEO.ENCODER.HEVC" />
|
||||||
|
@ -353,6 +357,19 @@
|
||||||
<Feature name="bitrate-modes" value="VBR,CBR,CQ" />
|
<Feature name="bitrate-modes" value="VBR,CBR,CQ" />
|
||||||
<Limit name="performance-point-1920x1088" value="30" />
|
<Limit name="performance-point-1920x1088" value="30" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
|
<!-- TCD:revert c2.android.av1.encoder X6837H897-1608 by mengmeng.zhang5 20230829 start -->
|
||||||
|
<!--<MediaCodec name="c2.android.av1.encoder" type="video/av01" update="true" enabled="false" minsdk="34">
|
||||||
|
<Limit name="alignment" value="2x2" />
|
||||||
|
<Limit name="block-size" value="16x16" />
|
||||||
|
<Limit name="size" min="2x2" max="720x720" />
|
||||||
|
<Limit name="block-count" range="1-1350" />--> <!-- max 720x480 -->
|
||||||
|
<!--<Limit name="bitrate" range="1-5000000" />
|
||||||
|
<Limit name="quality" range="0-100" default="80" />
|
||||||
|
<Limit name="complexity" range="0-5" default="0" />
|
||||||
|
<Feature name="bitrate-modes" value="VBR,CBR,CQ" />
|
||||||
|
<Attribute name="software-codec" />
|
||||||
|
</MediaCodec>-->
|
||||||
|
<!-- TCD:revert c2.android.av1.encoder X6837H897-1608 by mengmeng.zhang5 20230829 end -->
|
||||||
<MediaCodec name="c2.android.h263.encoder" type="video/3gpp" update="true">
|
<MediaCodec name="c2.android.h263.encoder" type="video/3gpp" update="true">
|
||||||
<Alias name="OMX.google.h263.encoder" />
|
<Alias name="OMX.google.h263.encoder" />
|
||||||
<!-- profiles and levels: ProfileBaseline : Level45 -->
|
<!-- profiles and levels: ProfileBaseline : Level45 -->
|
||||||
|
|
|
@ -103,6 +103,12 @@ Only the three quirks included above are recognized at this point:
|
||||||
<Limit name="measured-frame-rate-1280x720" range="13-29" />
|
<Limit name="measured-frame-rate-1280x720" range="13-29" />
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="9-20" />
|
<Limit name="measured-frame-rate-1920x1080" range="9-20" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
|
<!-- TCD:revert c2.android.av1.encoder X6837H897-1608 by mengmeng.zhang5 20230829 start -->
|
||||||
|
<!--<MediaCodec name="c2.android.av1.encoder" type="video/av01" update="true">
|
||||||
|
<Limit name="measured-frame-rate-320x240" range="100-219" />
|
||||||
|
<Limit name="measured-frame-rate-720x480" range="59-129" />
|
||||||
|
</MediaCodec>-->
|
||||||
|
<!-- TCD:revert c2.android.av1.encoder X6837H897-1608 by mengmeng.zhang5 20230829 end -->
|
||||||
</Encoders>
|
</Encoders>
|
||||||
<Decoders>
|
<Decoders>
|
||||||
<!-- MTK codec -->
|
<!-- MTK codec -->
|
||||||
|
@ -173,5 +179,13 @@ Only the three quirks included above are recognized at this point:
|
||||||
<Limit name="measured-frame-rate-1280x720" range="52-115" />
|
<Limit name="measured-frame-rate-1280x720" range="52-115" />
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="29-64" />
|
<Limit name="measured-frame-rate-1920x1080" range="29-64" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
|
<!-- TCD:revert c2.android.av1.encoder X6837H897-1608 by mengmeng.zhang5 20230829 start -->
|
||||||
|
<!--<MediaCodec name="c2.android.av1.decoder" type="video/av01" update="true">
|
||||||
|
<Limit name="measured-frame-rate-352x288" range="284-626" />
|
||||||
|
<Limit name="measured-frame-rate-640x360" range="188-415" />
|
||||||
|
<Limit name="measured-frame-rate-720x480" range="135-298" />
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="64-142" />
|
||||||
|
</MediaCodec>-->
|
||||||
|
<!-- TCD:revert c2.android.av1.encoder X6837H897-1608 by mengmeng.zhang5 20230829 end -->
|
||||||
</Decoders>
|
</Decoders>
|
||||||
</MediaCodecs>
|
</MediaCodecs>
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
<Video name="c2.mtk.avc.decoder.secure"
|
<Video name="c2.mtk.avc.decoder.secure"
|
||||||
type="video/avc"
|
type="video/avc"
|
||||||
driverIntf="v4l2"
|
driverIntf="v4l2"
|
||||||
maxConcurrentInstances="1" />
|
maxConcurrentInstances="32" />
|
||||||
<Video name="c2.mtk.hevc.decoder"
|
<Video name="c2.mtk.hevc.decoder"
|
||||||
type="video/hevc"
|
type="video/hevc"
|
||||||
driverIntf="v4l2"
|
driverIntf="v4l2"
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
<Video name="c2.mtk.hevc.decoder.secure"
|
<Video name="c2.mtk.hevc.decoder.secure"
|
||||||
type="video/hevc"
|
type="video/hevc"
|
||||||
driverIntf="v4l2"
|
driverIntf="v4l2"
|
||||||
maxConcurrentInstances="1"
|
maxConcurrentInstances="32"
|
||||||
metaBufferSize="4096" />
|
metaBufferSize="4096" />
|
||||||
<Video name="c2.mtk.heif.decoder"
|
<Video name="c2.mtk.heif.decoder"
|
||||||
type="image/vnd.android.heic"
|
type="image/vnd.android.heic"
|
||||||
|
@ -54,7 +54,7 @@
|
||||||
<Video name="c2.mtk.vp9.decoder.secure"
|
<Video name="c2.mtk.vp9.decoder.secure"
|
||||||
type="video/x-vnd.on2.vp9"
|
type="video/x-vnd.on2.vp9"
|
||||||
driverIntf="v4l2"
|
driverIntf="v4l2"
|
||||||
maxConcurrentInstances="1" />
|
maxConcurrentInstances="32" />
|
||||||
<Video name="c2.mtk.mpeg2.decoder"
|
<Video name="c2.mtk.mpeg2.decoder"
|
||||||
type="video/mpeg2"
|
type="video/mpeg2"
|
||||||
driverIntf="v4l2"
|
driverIntf="v4l2"
|
||||||
|
|
Loading…
Reference in a new issue