sm8150-common: Import some media profiles from stock

- should set appropriate bitrate on camera
- will use to load dolby codecs

Change-Id: I47ee3fbaf45b2b72f7b7e7a348795383f14b17dd
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
[cyberknight777: Reorder proprietary files listing.]
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
This commit is contained in:
Omkar Chandorkar 2023-09-09 18:12:34 +05:30 committed by fazilsheik96
parent 215e00a365
commit de4cf068bd
3 changed files with 32 additions and 0 deletions

View File

@ -226,6 +226,10 @@ PRODUCT_VENDOR_PROPERTIES += \
PRODUCT_PACKAGES += \
vendor.lineage.health-service.default
# Media
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/media/media_codecs_vendor_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_audio.xml
# NFC
PRODUCT_PACKAGES += \
android.hardware.nfc@1.0-impl:64 \

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright (C) 2015-2020 The Linux Foundation. All rights reserved.
Not a contribution.
Copyright (C) 2012 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.
-->
<Included>
<Decoders>
<MediaCodec name="OMX.google.opus.decoder" type="audio/opus" update="true" rank="100"/>
<!-- SimpleOMXComponet based software decoder-->
</Decoders>
</Included>

View File

@ -521,6 +521,11 @@ vendor/lib/liblistensoundmodel2.so
vendor/lib/libmulawdec.so
vendor/lib/libsmwrapper.so
# Media profiles
odm/etc/media_profiles_V1_0.xml
vendor/etc/media_profiles.xml
vendor/etc/media_profiles_vendor.xml
# MDM
vendor/bin/init.mdm.sh
vendor/bin/ks