From b188d48e1cce6c78c4f08bafb02003c57675ff8c Mon Sep 17 00:00:00 2001 From: Nolen Johnson Date: Fri, 24 May 2024 12:31:03 -0400 Subject: [PATCH] beast: Deccommonize media codecs Change-Id: I9e6898801afe1781836b99f2adc680f2ffd7482e (cherry picked from commit a9b1b57cfd46f91b3dab4645d57dd16e75874b30) --- device.mk | 6 +- media/media_codecs_performance.xml | 96 ++++++++++++ media/media_profiles_V1_0.xml | 229 +++++++++++++++++++++++++++++ 3 files changed, 330 insertions(+), 1 deletion(-) create mode 100644 media/media_codecs_performance.xml create mode 100644 media/media_profiles_V1_0.xml diff --git a/device.mk b/device.mk index 529c9ea..3e8a05c 100644 --- a/device.mk +++ b/device.mk @@ -26,9 +26,13 @@ PRODUCT_PACKAGES += \ 8822bs ## Media +PRODUCT_COPY_FILES += \ + $(LOCAL_PATH)/media/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml + ifneq ($(PRODUCT_USE_SW_OMX),true) PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml + $(LOCAL_PATH)/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \ + $(LOCAL_PATH)/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml endif ## Platform diff --git a/media/media_codecs_performance.xml b/media/media_codecs_performance.xml new file mode 100644 index 0000000..dbf161f --- /dev/null +++ b/media/media_codecs_performance.xml @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/media/media_profiles_V1_0.xml b/media/media_profiles_V1_0.xml new file mode 100644 index 0000000..16e8eb8 --- /dev/null +++ b/media/media_profiles_V1_0.xml @@ -0,0 +1,229 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- 2.20.1