From 5e340af2e67be2e7686f07ea2a77dd46a4b5b660 Mon Sep 17 00:00:00 2001 From: Matt Filetto Date: Tue, 10 Nov 2015 00:06:54 -0800 Subject: [PATCH] msm8974-common: update media codecs for M * Kanged from bacon Change-Id: I31047a4aff2dd08d52dd0ebacab855dd99403f0d --- configs/media_codecs.xml | 83 ++++++++++++-------- configs/media_codecs_performance.xml | 113 +++++++++++++++++++++++++++ msm8974.mk | 1 + 3 files changed, 163 insertions(+), 34 deletions(-) create mode 100644 configs/media_codecs_performance.xml diff --git a/configs/media_codecs.xml b/configs/media_codecs.xml index fde812a..4dd5b69 100644 --- a/configs/media_codecs.xml +++ b/configs/media_codecs.xml @@ -34,7 +34,8 @@ |__________|_________________________________________| | h264 | 3840 2160 30 100 972000 | | | 4096 2160 24 100 829440 | - | hevc | 1920 1088 30 6 244800 | + | hevc | 1280 720 30 2 108000 | + | hevchybd | 1920 1088 30 6 244800 | | mpeg4 | 1920 1088 60 60 489600 | | vc1 | 1920 1088 60 60 489600 | | vp8 | 3820 2160 30 20 972000 | @@ -49,16 +50,10 @@ + + + - - - - - - - - - @@ -69,6 +64,7 @@ + @@ -79,6 +75,7 @@ + @@ -89,6 +86,7 @@ + @@ -99,29 +97,11 @@ + - - - - - - - - - - - - - - - - - - - @@ -132,6 +112,19 @@ + + + + + + + + + + + + + @@ -142,6 +135,19 @@ + + + + + + + + + + + + + @@ -152,6 +158,7 @@ + @@ -162,6 +169,7 @@ + @@ -172,6 +180,7 @@ + @@ -182,6 +191,7 @@ + @@ -192,6 +202,7 @@ + @@ -202,6 +213,7 @@ + @@ -212,16 +224,18 @@ + - diff --git a/configs/media_codecs_performance.xml b/configs/media_codecs_performance.xml new file mode 100644 index 0000000..308557d --- /dev/null +++ b/configs/media_codecs_performance.xml @@ -0,0 +1,113 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/msm8974.mk b/msm8974.mk index d8e85bf..1396a1e 100644 --- a/msm8974.mk +++ b/msm8974.mk @@ -105,6 +105,7 @@ PRODUCT_COPY_FILES += \ frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml \ frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:system/etc/media_codecs_google_telephony.xml \ frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:system/etc/media_codecs_google_video.xml \ + device/samsung/msm8974-common/configs/media_codecs_performance.xml:system/etc/media_codecs_performance.xml \ device/samsung/msm8974-common/configs/media_codecs.xml:system/etc/media_codecs.xml # OMX