From edebdf99e0eaf7b39434f032430d9fc97dc6ca22 Mon Sep 17 00:00:00 2001 From: Stricted Date: Sat, 22 Sep 2018 00:22:31 +0200 Subject: [PATCH] universal7580: add stock media codec files Change-Id: I0fe4f491037be7a168e29d8f4ab58ad817b6de4b --- configs/media/media_codecs.xml | 213 ++++++++++ configs/media/media_codecs_performance.xml | 170 ++++++++ configs/media/media_profiles_V1_0.xml | 443 +++++++++++++++++++++ device-common.mk | 9 + 4 files changed, 835 insertions(+) create mode 100644 configs/media/media_codecs.xml create mode 100644 configs/media/media_codecs_performance.xml create mode 100644 configs/media/media_profiles_V1_0.xml diff --git a/configs/media/media_codecs.xml b/configs/media/media_codecs.xml new file mode 100644 index 0000000..4527691 --- /dev/null +++ b/configs/media/media_codecs.xml @@ -0,0 +1,213 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/configs/media/media_codecs_performance.xml b/configs/media/media_codecs_performance.xml new file mode 100644 index 0000000..d12504f --- /dev/null +++ b/configs/media/media_codecs_performance.xml @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/configs/media/media_profiles_V1_0.xml b/configs/media/media_profiles_V1_0.xml new file mode 100644 index 0000000..7a55e7a --- /dev/null +++ b/configs/media/media_profiles_V1_0.xml @@ -0,0 +1,443 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/device-common.mk b/device-common.mk index a2f368a..f991ea2 100644 --- a/device-common.mk +++ b/device-common.mk @@ -55,6 +55,15 @@ PRODUCT_PACKAGES += \ android.hardware.graphics.mapper@2.0-impl \ libhwc2on1adapter +# Media +PRODUCT_COPY_FILES += \ + $(LOCAL_PATH)/configs/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \ + $(LOCAL_PATH)/configs/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \ + $(LOCAL_PATH)/configs/media/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \ + frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \ + frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \ + frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml + # Permissions PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \ -- 2.20.1