mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-23 06:06:27 -08:00
LG8n: media: Kang media configs from X6837
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
parent
47781bffd2
commit
411f8b3cf0
|
@ -119,14 +119,15 @@
|
||||||
<Limit name="size" min="16x16" max="2048x1088" />
|
<Limit name="size" min="16x16" max="2048x1088" />
|
||||||
<Feature name="adaptive-playback"/>
|
<Feature name="adaptive-playback"/>
|
||||||
<Limit name="concurrent-instances" max="32" />
|
<Limit name="concurrent-instances" max="32" />
|
||||||
<Limit name="performance-point-1920x1088" value="30" />
|
<Limit name="performance-point-1280x720" value="120" />
|
||||||
|
<Limit name="performance-point-1920x1088" value="60" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.mtk.h263.decoder" type="video/3gpp" >
|
<MediaCodec name="c2.mtk.h263.decoder" type="video/3gpp" >
|
||||||
<Alias name="OMX.MTK.VIDEO.DECODER.H263" />
|
<Alias name="OMX.MTK.VIDEO.DECODER.H263" />
|
||||||
<Limit name="size" min="128x96" max="1408x1152" />
|
<Limit name="size" min="128x96" max="1408x1152" />
|
||||||
<Feature name="adaptive-playback"/>
|
<Feature name="adaptive-playback"/>
|
||||||
<Limit name="concurrent-instances" max="32" />
|
<Limit name="concurrent-instances" max="32" />
|
||||||
<Limit name="performance-point-1280x720" value="30" />
|
<Limit name="performance-point-1280x720" value="60" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.mtk.avc.decoder" type="video/avc" >
|
<MediaCodec name="c2.mtk.avc.decoder" type="video/avc" >
|
||||||
<Alias name="OMX.MTK.VIDEO.DECODER.AVC" />
|
<Alias name="OMX.MTK.VIDEO.DECODER.AVC" />
|
||||||
|
@ -134,15 +135,17 @@
|
||||||
<Quirk name="wants-NAL-fragments" />
|
<Quirk name="wants-NAL-fragments" />
|
||||||
<Feature name="adaptive-playback"/>
|
<Feature name="adaptive-playback"/>
|
||||||
<Limit name="concurrent-instances" max="32" />
|
<Limit name="concurrent-instances" max="32" />
|
||||||
<Limit name="performance-point-1920x1088" value="30" />
|
<Limit name="performance-point-1280x720" value="120" />
|
||||||
|
<Limit name="performance-point-1920x1088" value="60" />
|
||||||
|
<Limit name="performance-point-2560x1440" value="30" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.mtk.avc.decoder.secure" type="video/avc" >
|
<MediaCodec name="c2.mtk.avc.decoder.secure" type="video/avc" >
|
||||||
<Alias name="OMX.MTK.VIDEO.DECODER.AVC.secure" />
|
<Alias name="OMX.MTK.VIDEO.DECODER.AVC.secure" />
|
||||||
<Limit name="size" min="64x64" max="2560x1440" />
|
<Limit name="size" min="64x64" max="1920x1088" />
|
||||||
<Quirk name="wants-NAL-fragments" />
|
<Quirk name="wants-NAL-fragments" />
|
||||||
<Feature name="secure-playback" required="true" />
|
<Feature name="secure-playback" required="true" />
|
||||||
<Feature name="adaptive-playback"/>
|
<Feature name="adaptive-playback"/>
|
||||||
<Limit name="concurrent-instances" max="32" />
|
<Limit name="concurrent-instances" max="1" />
|
||||||
<Limit name="performance-point-1920x1088" value="30" />
|
<Limit name="performance-point-1920x1088" value="30" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.mtk.hevc.decoder" type="video/hevc" >
|
<MediaCodec name="c2.mtk.hevc.decoder" type="video/hevc" >
|
||||||
|
@ -150,15 +153,17 @@
|
||||||
<Limit name="size" min="16x16" max="2560x1440" />
|
<Limit name="size" min="16x16" max="2560x1440" />
|
||||||
<Feature name="adaptive-playback"/>
|
<Feature name="adaptive-playback"/>
|
||||||
<Limit name="concurrent-instances" max="32" />
|
<Limit name="concurrent-instances" max="32" />
|
||||||
<Limit name="performance-point-1920x1088" value="30" />
|
<Limit name="performance-point-1280x720" value="120" />
|
||||||
|
<Limit name="performance-point-1920x1088" value="60" />
|
||||||
|
<Limit name="performance-point-2560x1440" value="30" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.mtk.hevc.decoder.secure" type="video/hevc" >
|
<MediaCodec name="c2.mtk.hevc.decoder.secure" type="video/hevc" >
|
||||||
<Alias name="OMX.MTK.VIDEO.DECODER.HEVC.secure" />
|
<Alias name="OMX.MTK.VIDEO.DECODER.HEVC.secure" />
|
||||||
<Limit name="size" min="16x16" max="2560x1440" />
|
<Limit name="size" min="16x16" max="1920x1088" />
|
||||||
<Quirk name="wants-NAL-fragments" />
|
<Quirk name="wants-NAL-fragments" />
|
||||||
<Feature name="secure-playback" required="true" />
|
<Feature name="secure-playback" required="true" />
|
||||||
<Feature name="adaptive-playback"/>
|
<Feature name="adaptive-playback"/>
|
||||||
<Limit name="concurrent-instances" max="32" />
|
<Limit name="concurrent-instances" max="1" />
|
||||||
<Limit name="performance-point-1920x1088" value="30" />
|
<Limit name="performance-point-1920x1088" value="30" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.mtk.heif.decoder" type="image/vnd.android.heic" >
|
<MediaCodec name="c2.mtk.heif.decoder" type="image/vnd.android.heic" >
|
||||||
|
@ -180,15 +185,17 @@
|
||||||
<Limit name="size" min="16x16" max="2560x1440" />
|
<Limit name="size" min="16x16" max="2560x1440" />
|
||||||
<Feature name="adaptive-playback"/>
|
<Feature name="adaptive-playback"/>
|
||||||
<Limit name="concurrent-instances" max="32" />
|
<Limit name="concurrent-instances" max="32" />
|
||||||
<Limit name="performance-point-1920x1088" value="30" />
|
<Limit name="performance-point-1280x720" value="120" />
|
||||||
|
<Limit name="performance-point-1920x1088" value="60" />
|
||||||
|
<Limit name="performance-point-2560x1440" value="30" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.mtk.vp9.decoder.secure" type="video/x-vnd.on2.vp9" >
|
<MediaCodec name="c2.mtk.vp9.decoder.secure" type="video/x-vnd.on2.vp9" >
|
||||||
<Alias name="OMX.MTK.VIDEO.DECODER.VP9.secure" />
|
<Alias name="OMX.MTK.VIDEO.DECODER.VP9.secure" />
|
||||||
<Limit name="size" min="16x16" max="2560x1440" />
|
<Limit name="size" min="16x16" max="1920x1088" />
|
||||||
<Quirk name="wants-NAL-fragments" />
|
<Quirk name="wants-NAL-fragments" />
|
||||||
<Feature name="secure-playback" required="true" />
|
<Feature name="secure-playback" required="true" />
|
||||||
<Feature name="adaptive-playback"/>
|
<Feature name="adaptive-playback"/>
|
||||||
<Limit name="concurrent-instances" max="32" />
|
<Limit name="concurrent-instances" max="1" />
|
||||||
<Limit name="performance-point-1920x1088" value="30" />
|
<Limit name="performance-point-1920x1088" value="30" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.mtk.mpeg2.decoder" type="video/mpeg2" >
|
<MediaCodec name="c2.mtk.mpeg2.decoder" type="video/mpeg2" >
|
||||||
|
@ -196,7 +203,8 @@
|
||||||
<Limit name="size" min="16x16" max="2048x1088" />
|
<Limit name="size" min="16x16" max="2048x1088" />
|
||||||
<Feature name="adaptive-playback"/>
|
<Feature name="adaptive-playback"/>
|
||||||
<Limit name="concurrent-instances" max="32" />
|
<Limit name="concurrent-instances" max="32" />
|
||||||
<Limit name="performance-point-1920x1088" value="30" />
|
<Limit name="performance-point-1280x720" value="120" />
|
||||||
|
<Limit name="performance-point-1920x1088" value="60" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.android.mpeg4.decoder" type="video/mp4v-es" update="true">
|
<MediaCodec name="c2.android.mpeg4.decoder" type="video/mp4v-es" update="true">
|
||||||
<Alias name="OMX.google.mpeg4.decoder" />
|
<Alias name="OMX.google.mpeg4.decoder" />
|
||||||
|
@ -260,11 +268,11 @@
|
||||||
<Feature name="adaptive-playback" />
|
<Feature name="adaptive-playback" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.android.av1.decoder" type="video/av01" update="true">
|
<MediaCodec name="c2.android.av1.decoder" type="video/av01" update="true">
|
||||||
<Limit name="size" min="2x2" max="1920x1080" />
|
<Limit name="size" min="2x2" max="1920x1088" />
|
||||||
<Limit name="alignment" value="2x2" />
|
<Limit name="alignment" value="2x2" />
|
||||||
<Limit name="block-size" value="16x16" />
|
<Limit name="block-size" value="16x16" />
|
||||||
<Limit name="block-count" range="1-16384" />
|
<Limit name="block-count" range="1-8160" />
|
||||||
<Limit name="blocks-per-second" range="1-2073600" />
|
<Limit name="blocks-per-second" range="1-244800" />
|
||||||
<Limit name="bitrate" range="1-120000000" />
|
<Limit name="bitrate" range="1-120000000" />
|
||||||
<Feature name="adaptive-playback" />
|
<Feature name="adaptive-playback" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
|
@ -322,7 +330,6 @@
|
||||||
<Limit name="alignment" value="16x16" />
|
<Limit name="alignment" value="16x16" />
|
||||||
<Limit name="block-size" value="16x16" />
|
<Limit name="block-size" value="16x16" />
|
||||||
<Limit name="concurrent-instances" max="16" />
|
<Limit name="concurrent-instances" max="16" />
|
||||||
<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 -->
|
<!-- modify CH6IH6921T-651 by liming.bai 20230607 start -->
|
||||||
<!-- Feature name="bitrate-modes" value="VBR,CBR,CQ" / -->
|
<!-- Feature name="bitrate-modes" value="VBR,CBR,CQ" / -->
|
||||||
|
|
|
@ -66,20 +66,16 @@ Only the three quirks included above are recognized at this point:
|
||||||
<Encoders>
|
<Encoders>
|
||||||
<!-- MTK codec -->
|
<!-- MTK codec -->
|
||||||
<MediaCodec name="c2.mtk.avc.encoder" type="video/avc" update="true">
|
<MediaCodec name="c2.mtk.avc.encoder" type="video/avc" update="true">
|
||||||
<!--BSP: modify XLQLBH-1277 by junhong.cai 20220601 start-->
|
<Limit name="measured-frame-rate-320x240" range="130-286" />
|
||||||
<Limit name="measured-frame-rate-320x240" range="81-179" />
|
<Limit name="measured-frame-rate-720x480" range="75-166" />
|
||||||
<!--BSP: modify XLQLBH-1277 by junhong.cai 20220601 end-->
|
<Limit name="measured-frame-rate-1280x720" range="50-111" />
|
||||||
<Limit name="measured-frame-rate-720x480" range="32-70" />
|
<Limit name="measured-frame-rate-1920x1080" range="36-80" />
|
||||||
<Limit name="measured-frame-rate-1280x720" range="62-141" />
|
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="55-122" />
|
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.mtk.hevc.encoder" type="video/hevc" update="true">
|
<MediaCodec name="c2.mtk.hevc.encoder" type="video/hevc" update="true">
|
||||||
<Limit name="measured-frame-rate-320x240" range="139-305" />
|
<Limit name="measured-frame-rate-320x240" range="129-283" />
|
||||||
<Limit name="measured-frame-rate-640x480" range="267-540" />
|
<Limit name="measured-frame-rate-720x480" range="75-166" />
|
||||||
<Limit name="measured-frame-rate-720x480" range="68-149" />
|
<Limit name="measured-frame-rate-1280x720" range="51-113" />
|
||||||
<Limit name="measured-frame-rate-1280x720" range="45-170" />
|
<Limit name="measured-frame-rate-1920x1080" range="44-96" />
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="39-140" />
|
|
||||||
<Limit name="measured-frame-rate-3840x2160" range="20-76" />
|
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<!-- Google codec -->
|
<!-- Google codec -->
|
||||||
<MediaCodec name="c2.android.avc.encoder" type="video/avc" update="true">
|
<MediaCodec name="c2.android.avc.encoder" type="video/avc" update="true">
|
||||||
|
@ -92,10 +88,10 @@ Only the three quirks included above are recognized at this point:
|
||||||
<Limit name="measured-frame-rate-320x240" range="20-43" />
|
<Limit name="measured-frame-rate-320x240" range="20-43" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.android.h263.encoder" type="video/3gpp" update="true">
|
<MediaCodec name="c2.android.h263.encoder" type="video/3gpp" update="true">
|
||||||
<Limit name="measured-frame-rate-176x144" range="52-115" />
|
<Limit name="measured-frame-rate-176x144" range="265-584" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.android.mpeg4.encoder" type="video/mp4v-es" update="true">
|
<MediaCodec name="c2.android.mpeg4.encoder" type="video/mp4v-es" update="true">
|
||||||
<Limit name="measured-frame-rate-176x144" range="52-115" />
|
<Limit name="measured-frame-rate-176x144" range="243-536" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.android.vp8.encoder" type="video/x-vnd.on2.vp8" update="true">
|
<MediaCodec name="c2.android.vp8.encoder" type="video/x-vnd.on2.vp8" update="true">
|
||||||
<Limit name="measured-frame-rate-320x180" range="128-281" />
|
<Limit name="measured-frame-rate-320x180" range="128-281" />
|
||||||
|
@ -122,21 +118,21 @@ Only the three quirks included above are recognized at this point:
|
||||||
<Limit name="measured-frame-rate-352x288" range="233-513" />
|
<Limit name="measured-frame-rate-352x288" range="233-513" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.mtk.avc.decoder" type="video/avc" update="true">
|
<MediaCodec name="c2.mtk.avc.decoder" type="video/avc" update="true">
|
||||||
<Limit name="measured-frame-rate-320x240" range="186-1036" />
|
<Limit name="measured-frame-rate-320x240" range="426-938" />
|
||||||
<Limit name="measured-frame-rate-720x480" range="124-743" />
|
<Limit name="measured-frame-rate-720x480" range="193-424" />
|
||||||
<Limit name="measured-frame-rate-1280x720" range="74-402" />
|
<Limit name="measured-frame-rate-1280x720" range="138-304" />
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="55-122" />
|
<Limit name="measured-frame-rate-1920x1080" range="55-122" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.mtk.hevc.decoder" type="video/hevc" update="true">
|
<MediaCodec name="c2.mtk.hevc.decoder" type="video/hevc" update="true">
|
||||||
<Limit name="measured-frame-rate-352x288" range="177-1050" />
|
<Limit name="measured-frame-rate-352x288" range="484-1065" />
|
||||||
<Limit name="measured-frame-rate-720x480" range="142-803" />
|
<Limit name="measured-frame-rate-640x360" range="362-796" />
|
||||||
<Limit name="measured-frame-rate-1280x720" range="75-569" />
|
<Limit name="measured-frame-rate-720x480" range="241-530" />
|
||||||
|
<Limit name="measured-frame-rate-1280x720" range="184-405" />
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="69-354" />
|
<Limit name="measured-frame-rate-1920x1080" range="69-354" />
|
||||||
<Limit name="measured-frame-rate-3840x2160" range="55-120" />
|
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<MediaCodec name="c2.mtk.vpx.decoder" type="video/x-vnd.on2.vp8" update="true">
|
<MediaCodec name="c2.mtk.vpx.decoder" type="video/x-vnd.on2.vp8" update="true">
|
||||||
<Limit name="measured-frame-rate-320x180" range="158-549" />
|
<Limit name="measured-frame-rate-320x180" range="161-355" />
|
||||||
<Limit name="measured-frame-rate-640x360" range="91-315" />
|
<Limit name="measured-frame-rate-640x360" range="132-292" />
|
||||||
<Limit name="measured-frame-rate-1280x720" range="65-142" />
|
<Limit name="measured-frame-rate-1280x720" range="65-142" />
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="23-79" />
|
<Limit name="measured-frame-rate-1920x1080" range="23-79" />
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
|
@ -145,7 +141,6 @@ Only the three quirks included above are recognized at this point:
|
||||||
<Limit name="measured-frame-rate-640x360" range="170-373" />
|
<Limit name="measured-frame-rate-640x360" range="170-373" />
|
||||||
<Limit name="measured-frame-rate-1280x720" range="89-196" />
|
<Limit name="measured-frame-rate-1280x720" range="89-196" />
|
||||||
<Limit name="measured-frame-rate-1920x1080" range="55-121" />
|
<Limit name="measured-frame-rate-1920x1080" range="55-121" />
|
||||||
<Limit name="measured-frame-rate-3840x2160" range="18-40" />
|
|
||||||
</MediaCodec>
|
</MediaCodec>
|
||||||
<!-- Google codec -->
|
<!-- Google codec -->
|
||||||
<MediaCodec name="c2.android.mpeg4.decoder" type="video/mp4v-es" update="true">
|
<MediaCodec name="c2.android.mpeg4.decoder" type="video/mp4v-es" update="true">
|
||||||
|
|
Loading…
Reference in a new issue