From fcb71eb28fb15bea37fc4c3981f560756b03ab0a Mon Sep 17 00:00:00 2001 From: Anand S Date: Sat, 27 Jul 2024 12:56:42 +0530 Subject: [PATCH] sm6375-common: media: Import more media configs from stock * From fogos_g-user 14 U1UGS34M.23-82-2-2 0c9cb9 release-keys. Change-Id: I9e911846ef7d0a86db1a655ee60ea950026768f8 --- common.mk | 8 +- media/media_codecs.xml | 304 ++++++++++++++ media/media_codecs_c2.xml | 129 ++++++ media/media_codecs_performance.xml | 180 ++++++++ media/media_profiles.xml | 643 +++++++++++++++++++++++++++++ media/media_profiles_V1_0.xml | 511 +++++++++++++++++++++++ media/media_profiles_vendor.xml | 624 ++++++++++++++++++++++++++++ 7 files changed, 2398 insertions(+), 1 deletion(-) create mode 100644 media/media_codecs.xml create mode 100644 media/media_codecs_c2.xml create mode 100644 media/media_codecs_performance.xml create mode 100644 media/media_profiles.xml create mode 100644 media/media_profiles_V1_0.xml create mode 100644 media/media_profiles_vendor.xml diff --git a/common.mk b/common.mk index c6a6fa3..21ecc77 100644 --- a/common.mk +++ b/common.mk @@ -261,7 +261,13 @@ PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/media/init.qti.media.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.qti.media.rc PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/media/media_codecs_vendor_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_audio.xml + $(LOCAL_PATH)/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \ + $(LOCAL_PATH)/media/media_codecs_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_c2.xml \ + $(LOCAL_PATH)/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \ + $(LOCAL_PATH)/media/media_codecs_vendor_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_audio.xml \ + $(LOCAL_PATH)/media/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles.xml \ + $(LOCAL_PATH)/media/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \ + $(LOCAL_PATH)/media/media_profiles_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/media/holi/media_codecs_holi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_holi.xml \ diff --git a/media/media_codecs.xml b/media/media_codecs.xml new file mode 100644 index 0000000..6646dc7 --- /dev/null +++ b/media/media_codecs.xml @@ -0,0 +1,304 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/media/media_codecs_c2.xml b/media/media_codecs_c2.xml new file mode 100644 index 0000000..5abcda5 --- /dev/null +++ b/media/media_codecs_c2.xml @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/media/media_codecs_performance.xml b/media/media_codecs_performance.xml new file mode 100644 index 0000000..d48d864 --- /dev/null +++ b/media/media_codecs_performance.xml @@ -0,0 +1,180 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/media/media_profiles.xml b/media/media_profiles.xml new file mode 100644 index 0000000..0fd1de9 --- /dev/null +++ b/media/media_profiles.xml @@ -0,0 +1,643 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/media/media_profiles_V1_0.xml b/media/media_profiles_V1_0.xml new file mode 100644 index 0000000..dc4a051 --- /dev/null +++ b/media/media_profiles_V1_0.xml @@ -0,0 +1,511 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/media/media_profiles_vendor.xml b/media/media_profiles_vendor.xml new file mode 100644 index 0000000..c5db6ae --- /dev/null +++ b/media/media_profiles_vendor.xml @@ -0,0 +1,624 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +