denniz: configs: Copy over proper configs from stock

This commit is contained in:
lahaina
2024-02-02 19:35:26 +09:00
parent 5fd7d19564
commit d6a5e35734
14 changed files with 482 additions and 283 deletions

View File

@@ -22,7 +22,7 @@
<library name="downmix" path="libdownmix.so"/>
<library name="loudness_enhancer" path="libldnhncr.so"/>
<library name="dynamics_processing" path="libdynproc.so"/>
<library name="pre_processing" path="libaudiopreprocessing.so"/>
<library name="pre_processing" path="libaudiopreprocessing_mtk.so"/>
</libraries>
<!-- list of effects to load.

View File

@@ -356,6 +356,9 @@
<!-- BT Audio HAL -->
<xi:include href="bluetooth_offload_audio_policy_configuration.xml"/>
<!-- A2dp Input Audio HAL -->
<xi:include href="a2dp_in_audio_policy_configuration.xml"/>
<!-- Usb Audio HAL -->
<xi:include href="usb_audio_accessory_only_policy_configuration.xml"/>

View File

@@ -330,6 +330,9 @@
<!-- BT Audio HAL -->
<xi:include href="bluetooth_audio_policy_configuration.xml"/>
<!-- A2dp Input Audio HAL -->
<xi:include href="a2dp_in_audio_policy_configuration.xml"/>
<!-- Usb Audio HAL -->
<xi:include href="usb_audio_accessory_only_policy_configuration.xml"/>

View File

@@ -380,6 +380,9 @@
<!-- BT Audio HAL -->
<xi:include href="bluetooth_ums_offload_audio_policy_configuration.xml"/>
<!-- A2dp Input Audio HAL -->
<xi:include href="a2dp_in_audio_policy_configuration.xml"/>
<!-- Usb Audio HAL -->
<xi:include href="usb_audio_accessory_only_policy_configuration.xml"/>

View File

@@ -398,6 +398,9 @@
<!-- BT Audio HAL -->
<xi:include href="bluetooth_a2dp_offload_ums_offload_audio_policy_configuration.xml"/>
<!-- A2dp Input Audio HAL -->
<xi:include href="a2dp_in_audio_policy_configuration.xml"/>
<!-- Usb Audio HAL -->
<xi:include href="usb_audio_accessory_only_policy_configuration.xml"/>

View File

@@ -221,6 +221,9 @@
</module>
<!-- A2dp Audio HAL -->
<xi:include href="a2dp_audio_policy_configuration.xml"/>
<!-- Usb Audio HAL -->
<xi:include href="usb_audio_policy_configuration.xml"/>

View File

@@ -1,35 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (C) 2015 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- USB Audio HAL Audio Policy Configuration file -->
<module name="usb" halVersion="2.0">
<mixPorts>
<mixPort name="usb_accessory output" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
</mixPorts>
<devicePorts>
<devicePort tagName="USB Host Out" type="AUDIO_DEVICE_OUT_USB_ACCESSORY" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>
</devicePorts>
<routes>
<route type="mix" sink="USB Host Out"
sources="usb_accessory output"/>
</routes>
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (C) 2015 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- USB Audio HAL Audio Policy Configuration file -->
<module name="usb" halVersion="2.0">
<mixPorts>
<mixPort name="usb_accessory output" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
</mixPorts>
<devicePorts>
<devicePort tagName="USB Host Out" type="AUDIO_DEVICE_OUT_USB_ACCESSORY" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>
</devicePorts>
<routes>
<route type="mix" sink="USB Host Out"
sources="usb_accessory output"/>
</routes>
</module>

View File

@@ -7,6 +7,13 @@
"Value": "1"
},
{
"VendorTag": "com.hdr.upgrade.bubble.tips.support",
"Type": "Byte",
"Count": "1",
"Value": "1"
},
{
"VendorTag": "com.oplus.feature.video.eis.support",
"Type": "Byte",
@@ -25,21 +32,35 @@
"VendorTag": "com.oplus.feature.video.super.eis.wide.support",
"Type": "Byte",
"Count": "1",
"Value": "1"
"Value": "0"
},
{
"VendorTag": "com.oplus.feature.hyper.lapse.support",
"Type": "Byte",
"Count": "1",
"Value": "0"
"Value": "1"
},
{
"VendorTag": "com.oplus.sat.need.set.zoomratio",
"Type": "Byte",
"Count": "1",
"Value": "1"
},
{
"VendorTag": "com.oplus.feature.hyper.lapse.zoom.list",
"Type": "Float",
"Count": "1",
"Value": "1"
},
{
"VendorTag": "com.oplus.feature.macro.mode.support",
"Type": "Byte",
"Count": "1",
"Value": "1"
"Value": "0"
},
{
@@ -52,7 +73,7 @@
"VendorTag": "com.oplus.feature.video.super.eis.wide.60fps.support",
"Type": "Byte",
"Count": "1",
"Value": "1"
"Value": "0"
},
{
@@ -76,6 +97,34 @@
"Value": "1"
},
{
"VendorTag": "com.oplus.athena.new.support",
"Type": "Byte",
"Count": "1",
"Value": "1"
},
{
"VendorTag": "com.oplus.camera.athena.target.mem.low",
"Type": "Float",
"Count": "3",
"Value": "2.25,2.25,2.25"
},
{
"VendorTag": "com.oplus.camera.athena.target.mem.medium",
"Type": "Float",
"Count": "3",
"Value": "1.7,1.7,1.7"
},
{
"VendorTag": "com.oplus.camera.athena.target.mem.high",
"Type": "Float",
"Count": "3",
"Value": "1.7,1.7,1.7"
},
{
"VendorTag": "com.oplus.tunning.front.panorama.max.height",
"Type": "Int32",
@@ -101,7 +150,21 @@
"VendorTag": "com.oplus.high.picturesize",
"Type": "Int32",
"Count": "2",
"Value": "9248x6944"
"Value": "8192x6144"
},
{
"VendorTag": "com.oplus.high.picturesize.name",
"Type": "Int32",
"Count": "1",
"Value": "5000"
},
{
"VendorTag": "com.oplus.feature.sticker.support",
"Type": "Byte",
"Count": "1",
"Value": "0"
},
{
@@ -234,7 +297,7 @@
"VendorTag": "com.oplus.tunning.rear.to.front.switchtime",
"Type": "Int32",
"Count": "1",
"Value": "600"
"Value": "500"
},
{
@@ -283,7 +346,7 @@
"VendorTag": "com.oplus.feature.video.4k.60fps.support",
"Type": "Byte",
"Count": "1",
"Value": "1"
"Value": "0"
},
{
@@ -332,7 +395,7 @@
"VendorTag": "com.oplus.feature.DCIP3.support",
"Type": "Byte",
"Count": "1",
"Value": "1"
"Value": "0"
},
{
@@ -349,6 +412,13 @@
"Value": "-1"
},
{
"VendorTag": "com.oplus.facebeauty.version",
"Type": "Int32",
"Count": "1",
"Value": "6"
},
{
"VendorTag": "com.oplus.bokeh.beauty.support",
"Type": "Byte",
@@ -360,7 +430,7 @@
"VendorTag": "com.oplus.feature.ultra.high.resolution.support",
"Type": "Byte",
"Count": "1",
"Value": "0"
"Value": "1"
},
{
@@ -388,7 +458,7 @@
"VendorTag": "com.oplus.ui.shutterbutton.type.lowlight",
"Type": "Byte",
"Count": "1",
"Value": "0"
"Value": "1"
},
{
@@ -433,13 +503,6 @@
"Value": "1"
},
{
"VendorTag": "com.oplus.super.text.detect.frame.gap",
"Type": "Int32",
"Count": "1",
"Value": "4"
},
{
"VendorTag": "com.oplus.feature.portrait.retention.support",
"Type": "Byte",
@@ -447,18 +510,11 @@
"Value": "1"
},
{
"VendorTag": "com.oplus.feature.portrait.front.retention.support",
"Type": "Byte",
"Count": "1",
"Value": "0"
},
{
"VendorTag": "com.oplus.feature.super.clear.portrait.support",
"Type": "Byte",
"Count": "1",
"Value": "0"
"Value": "1"
},
{
@@ -472,7 +528,7 @@
"VendorTag": "com.oplus.sticker.use.nv12",
"Type": "Byte",
"Count": "1",
"Value": "1"
"Value": "0"
},
{
@@ -482,6 +538,13 @@
"Value": "1"
},
{
"VendorTag": "com.oplus.face.rectify.support",
"Type": "Byte",
"Count": "1",
"Value": "1"
},
{
"VendorTag": "com.oplus.app.feature.sticker.support",
"Type": "Byte",
@@ -496,6 +559,13 @@
"Value": "common,commonVideo,night,superText"
},
{
"VendorTag": "com.oplus.camera.rear.num",
"Type": "Int32",
"Count": "1",
"Value": "3"
},
{
"VendorTag": "com.oplus.video.watermark.support",
"Type": "Byte",
@@ -507,6 +577,13 @@
"VendorTag": "com.oplus.feature.insensor.zoom.20x.support",
"Type": "Byte",
"Count": "1",
"Value": "0"
},
{
"VendorTag": "com.oplus.feature.mtk.insensor.zoom",
"Type": "Byte",
"Count": "1",
"Value": "1"
},
@@ -518,24 +595,17 @@
},
{
"VendorTag": "com.oplus.feature.mtk.insensor.zoom",
"VendorTag": "com.oplus.feature.ai.enhancement.front.video.support",
"Type": "Byte",
"Count": "1",
"Value": "1"
},
{
"VendorTag": "com.oplus.feature.ai.enhancement.front.video.support",
"Type": "Byte",
"Count": "1",
"Value": "0"
},
{
"VendorTag": "com.oplus.feature.custom.beauty.front.video.support",
"Type": "Byte",
"Count": "1",
"Value": "0"
"Value": "1"
},
{
@@ -556,7 +626,14 @@
"VendorTag": "com.oplus.feature.screen.bright.video.support",
"Type": "Byte",
"Count": "1",
"Value": "0"
"Value": "1"
},
{
"VendorTag": "com.oplus.feature.screen.bright.video.support",
"Type": "Byte",
"Count": "1",
"Value": "92"
},
{
@@ -570,7 +647,7 @@
"VendorTag": "com.oplus.feature.screen.bright.recover.threshold",
"Type": "Int32",
"Count": "1",
"Value": "440"
"Value": "452"
},
{
"VendorTag": "com.oplus.show.soloop.support",
@@ -583,7 +660,7 @@
"VendorTag": "com.oplus.show.soloop.support.same",
"Type": "Byte",
"Count": "1",
"Value": "0"
"Value": "1"
},
{
@@ -614,6 +691,20 @@
"Value": "1"
},
{
"VendorTag": "com.oplus.feature.video.eis.fps.setting.suppot",
"Type": "Byte",
"Count": "1",
"Value": "1"
},
{
"VendorTag": "com.oplus.capture.with.detach",
"Type": "Byte",
"Count": "1",
"Value": "0"
},
{
"VendorTag": "com.oplus.hal.memory.common",
"Type": "Int32",
@@ -622,180 +713,47 @@
},
{
"VendorTag": "com.oplus.feature.portrait.streamer.support",
"Type": "Byte",
"Count": "1",
"Value": "1"
},
{
"VendorTag": "com.oplus.night.filter.type.list",
"Type": "String",
"Count": "5",
"Value": "oplus-r-black-gold-1.1-RGB.CUBE.rgb.bin,oplus-r-cyberpunk-RGB.CUBE.rgb.bin,oplus-r-infra-RGB.CUBE.rgb.bin,interstellar_space.bin,bright_coloured.bin"
},
{
"VendorTag": "com.oplus.night.filter.support",
"Type": "Byte",
"Count": "1",
"Value": "1"
},
{
"VendorTag": "com.oplus.slow.video.720p.default.value",
"VendorTag": "com.oplus.hal.memory.night",
"Type": "Int32",
"Count": "1",
"Value": "960"
"Value": "900"
},
{
"VendorTag": "com.oplus.feature.intelligent.high.frame.support",
"Type": "Byte",
"Count": "1",
"Value": "1"
},
{
"VendorTag": "com.oplus.feature.front.slow.video.support",
"Type": "Byte",
"Count": "1",
"Value": "1"
},
{
"VendorTag": "com.oplus.feature.front.720p.slow.video.support",
"Type": "Byte",
"Count": "1",
"Value": "0"
},
{
"VendorTag": "com.oplus.feature.slow.video.zoom.support",
"Type": "Byte",
"Count": "1",
"Value": "1"
},
{
"VendorTag": "com.oplus.feature.slow.video.red.dot.support",
"Type": "Byte",
"Count": "1",
"Value": "1"
},
{
"VendorTag": "com.oplus.night.pro.support",
"Type": "Byte",
"Count": "1",
"Value": "0"
},
{
"VendorTag": "com.oplus.highpicture.pro.support",
"Type": "Byte",
"Count": "1",
"Value": "0"
},
{
"VendorTag": "com.oplus.feature.high.definition.support",
"VendorTag": "com.oplus.hal.memory.portrait",
"Type": "Int32",
"Count": "1",
"Value": "1"
"Value": "900"
},
{
"VendorTag": "com.oplus.video.color_extraction.support",
"Type": "Byte",
"Count": "1",
"Value": "1"
},
{
"VendorTag": "com.oplus.video.retention.support",
"Type": "Byte",
"Count": "1",
"Value": "1"
},
{
"VendorTag": "com.oplus.night.tripod.support",
"Type": "Byte",
"Count": "1",
"Value": "0"
},
{
"VendorTag": "com.oplus.feature.dirty.detect.support",
"Type": "Byte",
"Count": "1",
"Value": "0"
},
{
"VendorTag": "com.oplus.feature.arscoft.single.bokeh.support",
"Type": "Byte",
"Count": "1",
"Value": "1"
},
{
"VendorTag": "com.oplus.ultra.wide.4K.or.60fps.support",
"Type": "Byte",
"Count": "1",
"Value": "0"
},
{
"VendorTag": "com.oplus.feature.videoblur.ultrawide.support",
"Type": "Byte",
"Count": "1",
"Value": "1"
},
{
"VendorTag": "com.oplus.feature.elevate.audio.bit.video.support",
"Type": "Byte",
"Count": "1",
"Value": "1"
},
{
"VendorTag": "com.oplus.maincamera.asd.aiscene.support",
"Type": "Byte",
"Count": "1",
"Value": "1"
},
{
"VendorTag": "com.oplus.widecamera.asd.aiscene.support",
"Type": "Byte",
"Count": "1",
"Value": "0"
},
{
"VendorTag": "com.oplus.feature.raw.camera.type.support",
"Type": "String",
"Count": "1",
"Value": "camera_main"
},
{
"VendorTag": "com.oplus.professional.switch.camera.type",
"VendorTag": "com.oplus.video.high.fps.range",
"Type": "Int32",
"Count": "1",
"Value": "3"
"Value": "55"
},
{
"VendorTag": "com.oplus.feature.professional.raw.support",
"VendorTag": "com.oplus.temperature.control.stop_video_recording",
"Type": "Byte",
"Count": "1",
"Value": "1"
},
{
"VendorTag": "com.oplus.night.picture.timer.support",
"Type": "Byte",
"Count": "1",
"Value": "1"
},
{
"VendorTag": "com.oplus.night.hand.process.time",
"Type": "Int32",
"Count": "1",
"Value": "3000"
},
{
"VendorTag": "com.oplus.feature.allmighty.video.scene.support",
"Type": "Byte",
@@ -804,12 +762,61 @@
},
{
"VendorTag": "com.oplus.feature.raw.zoom.mutex.support",
"VendorTag": "com.oplus.memory.not.enough.hint",
"Type": "Byte",
"Count": "1",
"Value": "0"
},
{
"VendorTag": "com.oplus.track.focus.support",
"Type": "Byte",
"Count": "1",
"Value": "1"
},
{
"VendorTag": "com.oplus.video.4k.track.focus.support",
"Type": "Byte",
"Count": "1",
"Value": "0"
},
{
"VendorTag": "com.oplus.feature.intelligent.high.frame.support",
"Type": "Byte",
"Count": "1",
"Value": "0"
},
{
"VendorTag": "com.oplus.video.retention.support",
"Type": "Byte",
"Count": "1",
"Value": "0"
},
{
"VendorTag": "com.oplus.quick.jpeg.support",
"Type": "Byte",
"Count": "1",
"Value": "1"
},
{
"VendorTag": "com.oplus.preview.max.images",
"Type": "Byte",
"Count": "1",
"Value": "50"
},
{
"VendorTag": "com.oplus.capture.max.images",
"Type": "Byte",
"Count": "1",
"Value": "52"
},
{
"VendorTag": "com.oplus.capture.with.raw10",
"Type": "Byte",
@@ -818,60 +825,177 @@
},
{
"VendorTag": "com.oplus.face.rectify.config.value",
"Type": "String",
"Count": "1",
"Value": "off"
},
{
"VendorTag": "com.oplus.feature.slogan.location.support",
"Type": "Byte",
"Count": "1",
"Value": "0"
},
{
"VendorTag": "com.oplus.quick.jpeg.support",
"Type": "Byte",
"Count": "1",
"Value": "0"
},
{
"VendorTag": "com.oplus.video.blur.v2.support",
"Type": "String",
"Count": "1",
"Value": "1"
},
{
"VendorTag": "com.hdr.upgrade.bubble.tips.support",
"VendorTag": "com.oplus.video.neon.support",
"Type": "Byte",
"Count": "1",
"Value": "1"
},
{
"VendorTag": "com.oplus.gesture.detect.in.aps",
"VendorTag": "com.oplus.feature.portrait.neon.front.support",
"Type": "Byte",
"Count": "1",
"Value": "1"
},
{
"VendorTag": "com.oplus.feature.facebeauty.support.videosize",
"Type": "String",
"VendorTag": "com.oplus.single.portrait.support",
"Type": "Byte",
"Count": "1",
"Value": "video_size_720p"
"Value": "1"
},
{
"VendorTag": "com.oplus.mfnr_hdr_isp7.support",
"VendorTag": "com.oplus.feature.ai.enhancement.video.front.resolution",
"Type": "String",
"Count": "1",
"Value": "video_size_1080p"
},
{
"VendorTag": "com.oplus.size.change.duration",
"Type": "Int32",
"Count": "1",
"Value": "400"
},
{
"VendorTag": "com.oplus.feature.custom.makeup.front.support",
"Type": "Byte",
"Count": "1",
"Value": "0"
},
{
"VendorTag": "com.oplus.feature.custom.makeup.type.snow.support",
"Type": "Byte",
"Count": "1",
"Value": "0"
},
{
"VendorTag": "com.oplus.feature.custom.makeup.type.dream.support",
"Type": "Byte",
"Count": "1",
"Value": "0"
},
{
"VendorTag": "com.oplus.feature.custom.makeup.watermark.support",
"Type": "Byte",
"Count": "1",
"Value": "0"
},
{
"VendorTag": "com.oplus.video.neon.app.rear.params",
"Type": "Int32",
"Count": "5",
"Value": "80,70,80,100,300"
},
{
"VendorTag": "com.oplus.video.neon.app.front.params",
"Type": "Int32",
"Count": "5",
"Value": "75,65,80,100,300"
},
{
"VendorTag": "com.oplus.first.launch.animation.support",
"Type": "Byte",
"Count": "1",
"Value": "0"
},
{
"VendorTag": "com.oplus.temperature.sendtohal",
"Type": "Byte",
"Count": "1",
"Value": "1"
},
{
"VendorTag": "com.oplus.feature.professional.raw.support",
"Type": "String",
"Count": "1",
"Value": "1"
},
{
"VendorTag": "com.oplus.hasselblad.watermark.support.default",
"Type": "Byte",
"Count": "1",
"Value": "0"
},
{
"VendorTag": "com.oplus.portrait.half.body.remosaic.support",
"Type": "Byte",
"Count": "1",
"Value": "1"
},
{
"VendorTag": "com.oplus.bokeh.beauty.open.default",
"Type": "Byte",
"Count": "1",
"Value": "1"
},
{
"VendorTag": "com.oplus.feature.screenhole.support",
"Type": "Byte",
"Count": "1",
"Value": "1"
},
{
"VendorTag": "com.oplus.tunning.rear.panorama.correct.preview.frame.size",
"Type": "Int32",
"Count": "1",
"Value": "2400x1080"
},
{
"VendorTag": "com.oplus.tunning.rear.panorama.max.height",
"Type": "Int32",
"Count": "1",
"Value": "1080"
},
{
"VendorTag": "com.oplus.blur.new.design",
"Type": "Byte",
"Count": "1",
"Value": "1"
},
{
"VendorTag": "com.oplus.front.portrait.blur.value.default",
"Type": "Int32",
"Count": "1",
"Value": "44"
},
{
"VendorTag": "com.oplus.front.blur.value.default",
"Type": "Int32",
"Count": "1",
"Value": "44"
},
{
"VendorTag": "com.oplus.filter.keep.without.normalization",
"Type": "Byte",
"Count": "1",
"Value": "1"
},
{
"VendorTag": "com.oplus.feature.blindhole.offset.support",
"Type": "Byte",
"Count": "1",
"Value": "1"
}
]

View File

@@ -104,10 +104,21 @@
<Alias name="OMX.MTK.AUDIO.DECODER.ALAC" />
<Limit name="channel-count" max="8" />
</MediaCodec>
<!-- #ifdef OPLUS_BUG_COMPATIBILITY -->
<!-- xiaomiaobiao-xinzhi@MULTIMEDIA.MediaServer.CTS.4721281, 2022/11/5, Modify for CTS test -->
<!--
<MediaCodec name="c2.mtk.wma.decoder" type="audio/x-ms-wma">
<Alias name="OMX.MTK.AUDIO.DECODER.WMA" />
<Limit name="channel-count" max="2" />
</MediaCodec>
-->
<!-- #else //OPLUS_BUG_COMPATIBILITY -->
<MediaCodec name="c2.mtk.mp3.decoder" type="audio/mpeg" rank="5">
<Alias name="OMX.MTK.AUDIO.DECODER.MP3" />
<Limit name="channel-count" max="2" />
<Limit name="sample-rate" ranges="8000,11025,12000,16000,22050,24000,32000,44100,48000" />
<Limit name="bitrate" range="8000-320000" />
</MediaCodec>
<MediaCodec name="c2.mtk.mpeg4.decoder" type="video/mp4v-es" >
<Alias name="OMX.MTK.VIDEO.DECODER.MPEG4" />
<Limit name="size" min="16x16" max="2048x1088" />
@@ -122,6 +133,20 @@
<Limit name="concurrent-instances" max="15" />
<Limit name="performance-point-1280x720" value="30" />
</MediaCodec>
<MediaCodec name="c2.mtk.avc.decoder" type="video/avc" >
<Alias name="OMX.MTK.VIDEO.DECODER.AVC" />
<Limit name="size" min="64x64" max="4096x2176" />
<Quirk name="wants-NAL-fragments" />
<Feature name="adaptive-playback"/>
<!-- #ifdef OPLUS_BUG_STABILITY-->
<!-- Yugang.Ma@MULTIMEDIA.MEDIASERVER.PLAYER.4298357, 2022/09/01, add for wallpaper play-->
<Feature name="can-swap-width-height"/>
<!-- #endif OPLUS_BUG_STABILITY-->
<Limit name="concurrent-instances" max="15" />
<Limit name="performance-point-3840x2160" value="30" />
<Limit name="performance-point-1280x719" value="180" />
<Limit name="performance-point-1280x720" value="120" />
</MediaCodec>
<MediaCodec name="c2.mtk.avc.decoder.secure" type="video/avc" >
<Alias name="OMX.MTK.VIDEO.DECODER.AVC.secure" />
<Limit name="size" min="64x64" max="1920x1088" />
@@ -135,7 +160,10 @@
<Alias name="OMX.MTK.VIDEO.DECODER.HEVC" />
<Limit name="size" min="16x16" max="4096x2176" />
<Feature name="adaptive-playback"/>
<!-- #ifdef OPLUS_BUG_STABILITY-->
<!-- Yugang.Ma@MULTIMEDIA.MEDIASERVER.PLAYER.4298357, 2022/09/01, add for wallpaper play-->
<Feature name="can-swap-width-height"/>
<!-- #endif OPLUS_BUG_STABILITY-->
<Limit name="concurrent-instances" max="15" />
<Limit name="performance-point-3840x2160" value="30" />
<Limit name="performance-point-1280x719" value="180" />
@@ -376,7 +404,14 @@
</MediaCodec>
<MediaCodec name="c2.mtk.heif.encoder" type="image/vnd.android.heic" >
<Alias name="OMX.MTK.VIDEO.ENCODER.HEIF" />
<!-- #ifndef OPLUS_BUG_COMPATIBILITY-->
<!-- CaiBo@MM.MediaServer.CTS.3318645, 2022/3/15, Modify for CTS test-->
<!--
<Limit name="size" min="16x16" max="16383x16383" />
-->
<!-- #else OPLUS_BUG_COMPATIBILITY-->
<Limit name="size" min="160x128" max="16383x16383" />
<!-- #endif OPLUS_BUG_COMPATIBILITY-->
<Limit name="alignment" value="16x16" />
<Limit name="block-size" value="16x16" />
<Limit name="quality" range="0-100" default="50" />

View File

@@ -78,9 +78,17 @@ Only the three quirks included above are recognized at this point:
<Included>
<Decoders>
<MediaCodec name="OMX.MTK.AUDIO.DECODER.MP3" type="audio/mpeg" rank="6">
<Limit name="channel-count" max="2" />
<Quirk name="decoder-lies-about-number-of-channels" />
<Quirk name="supports-multiple-frames-per-input-buffer" />
</MediaCodec>
<MediaCodec name="OMX.MTK.AUDIO.DECODER.GSM" type="audio/gsm" >
<Limit name="channel-count" max="1" />
</MediaCodec>
<!-- #ifdef OPLUS_BUG_COMPATIBILITY -->
<!-- guyishuang@MULTIMEDIA.MediaServer.CTS.2378060, 2021/10/27, Modify for CTS test -->
<!--
<MediaCodec name="OMX.MTK.AUDIO.DECODER.WMA" type="audio/x-ms-wma" >
<Limit name="channel-count" max="2" />
</MediaCodec>
@@ -98,5 +106,7 @@ Only the three quirks included above are recognized at this point:
<MediaCodec name="OMX.MTK.AUDIO.DECODER.ALAC" type="audio/alac" >
<Limit name="channel-count" max="8" />
</MediaCodec>
-->
<!-- #endif OPLUS_BUG_COMPATIBILITY -->
</Decoders>
</Included>

View File

@@ -127,11 +127,25 @@ Only the three quirks included above are recognized at this point:
<MediaCodec name="c2.mtk.h263.decoder" type="video/3gpp" update="true">
<Limit name="measured-frame-rate-176x144" range="207-655" />
<Limit name="measured-frame-rate-352x288" range="167-367" />
</MediaCodec>
<MediaCodec name="c2.mtk.avc.decoder" type="video/avc" update="true">
<Limit name="measured-frame-rate-320x240" range="105-232" />
<Limit name="measured-frame-rate-720x480" range="324-713" />
<Limit name="measured-frame-rate-1280x720" range="186-409" />
<Limit name="measured-frame-rate-1920x1080" range="113-248" />
</MediaCodec>
<MediaCodec name="c2.mtk.hevc.decoder" type="video/hevc" update="true">
<Limit name="measured-frame-rate-352x288" range="131-288" />
<!-- #ifndef OPLUS_BUG_COMPATIBILITY-->
<!-- Jingcheng.Li@MULTMEDIASERVER.PLAYER.2726993, 2021/12/07, Modify for CTS test-->
<!--
<Limit name="measured-frame-rate-640x360" range="285-626" />
<Limit name="measured-frame-rate-720x480" range="145-155" />
-->
<!-- #else OPLUS_BUG_COMPATIBILITY-->
<Limit name="measured-frame-rate-640x360" range="285-626" />
<Limit name="measured-frame-rate-720x480" range="351-772" />
<!-- #endif OPLUS_BUG_COMPATIBILITY-->
<Limit name="measured-frame-rate-1280x720" range="206-454" />
<Limit name="measured-frame-rate-1920x1080" range="125-276" />
</MediaCodec>
@@ -142,7 +156,12 @@ Only the three quirks included above are recognized at this point:
<Limit name="measured-frame-rate-1920x1080" range="23-51" />
</MediaCodec>
<MediaCodec name="c2.mtk.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
<!-- #ifndef OPLUS_BUG_COMPATIBILITY-->
<!-- Yugang.Ma@MULTMEDIASERVER.PLAYER.2327311, 2021/10/21, Modify for CTS test-->
<!--<Limit name="measured-frame-rate-320x180" range="425-936" />-->
<!-- #else OPLUS_BUG_COMPATIBILITY-->
<Limit name="measured-frame-rate-320x180" range="285-630" />
<!-- #endif OPLUS_BUG_COMPATIBILITY-->
<Limit name="measured-frame-rate-640x360" range="249-547" />
<Limit name="measured-frame-rate-1280x720" range="139-305" />
<Limit name="measured-frame-rate-1920x1080" range="114-251" />
@@ -157,9 +176,18 @@ Only the three quirks included above are recognized at this point:
</MediaCodec>
<MediaCodec name="c2.android.avc.decoder" type="video/avc" update="true">
<Limit name="measured-frame-rate-320x240" range="110-243" />
<!-- #ifndef OPLUS_BUG_COMPATIBILITY-->
<!-- guyishuang@MULTMEDIASERVER.CODEC.3226509, 2022/3/3, Modify for CTS test-->
<!--
<Limit name="measured-frame-rate-720x480" range="31-68" />
<Limit name="measured-frame-rate-1280x720" range="10-23" />
<Limit name="measured-frame-rate-1920x1080" range="7-15" />
-->
<!-- #else OPLUS_BUG_COMPATIBILITY-->
<Limit name="measured-frame-rate-720x480" range="51-114" />
<Limit name="measured-frame-rate-1280x720" range="29-66" />
<Limit name="measured-frame-rate-1920x1080" range="16-37" />
<!-- #endif OPLUS_BUG_COMPATIBILITY-->
</MediaCodec>
<MediaCodec name="c2.android.hevc.decoder" type="video/hevc" update="true">
<Limit name="measured-frame-rate-352x288" range="114-250" />

File diff suppressed because one or more lines are too long

View File

@@ -22,10 +22,8 @@
<instance>ozoaudio</instance>
</interface>
</hal>
<hal format="hidl" optional="true">
<name>vendor.nxp.nxpnfc</name>
<transport>hwbinder</transport>
<version>1.0</version>
<hal format="aidl" optional="true">
<name>vendor.nxp.nxpnfc_aidl</name>
<interface>
<name>INxpNfc</name>
<instance>default</instance>

View File

@@ -529,20 +529,9 @@
<fqname>IRadioStable/OplusRadio0</fqname>
<fqname>IRadioStable/OplusRadio1</fqname>
</hal>
<hal format="hidl">
<name>android.hardware.nfc</name>
<transport>hwbinder</transport>
<version>1.2</version>
<interface>
<name>INfc</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>vendor.nxp.nxpnfc</name>
<transport>hwbinder</transport>
<version>1.0</version>
<hal format="aidl">
<name>vendor.nxp.nxpnfc_aidl</name>
<version>1</version>
<interface>
<name>INxpNfc</name>
<instance>default</instance>