From 7411328584bd9b319b575e1e19e80ef6d1d44129 Mon Sep 17 00:00:00 2001 From: Davide Garberi Date: Wed, 25 Sep 2019 22:59:17 +0200 Subject: msm8996-common: Kang media profiles from marlin * Source: https://android.googlesource.com/device/google/marlin/+/refs/tags/android-10.0.0_r3 * Helpful to make our video recording work fine on Android 10 (and fix lags for Snap in the previous versions) Change-Id: I8a6714c3cea8e801bb33164f8db66053657b4ee8 --- configs/media_codecs.xml | 244 +++------ configs/media_codecs_performance.xml | 221 ++++---- configs/media_profiles_V1_0.xml | 974 ++++++++++++++--------------------- 3 files changed, 568 insertions(+), 871 deletions(-) diff --git a/configs/media_codecs.xml b/configs/media_codecs.xml index eed96b9..86983dd 100644 --- a/configs/media_codecs.xml +++ b/configs/media_codecs.xml @@ -1,21 +1,15 @@ - - - - - @@ -119,23 +94,6 @@ Only the three quirks included above are recognized at this point: - - - - - - - - - - - - - - - - - @@ -147,6 +105,9 @@ Only the three quirks included above are recognized at this point: + + + @@ -159,98 +120,110 @@ Only the three quirks included above are recognized at this point: + + + + - + - + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + - - + + - - + + + - + + - + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - + + @@ -260,136 +233,89 @@ Only the three quirks included above are recognized at this point: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - + + - - + + + + - + + + + + - + + - + + + - + + - + + + - + + - - - - - + + + diff --git a/configs/media_codecs_performance.xml b/configs/media_codecs_performance.xml index c16aeb3..c5da446 100644 --- a/configs/media_codecs_performance.xml +++ b/configs/media_codecs_performance.xml @@ -1,141 +1,132 @@ - - + + + + + + + - - - - + + + + + + + + + + - - - - - + + + + + - - - + + - - - - - - - - - - - - - - - + + + - - + + - - + + + + + - - - - - + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + - - - - + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + diff --git a/configs/media_profiles_V1_0.xml b/configs/media_profiles_V1_0.xml index 80aa065..135d07f 100644 --- a/configs/media_profiles_V1_0.xml +++ b/configs/media_profiles_V1_0.xml @@ -1,12 +1,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - - + - + minFrameRate="15" maxFrameRate="30" /> - + minFrameRate="15" maxFrameRate="30" /> - - - + minFrameHeight="144" maxFrameHeight="1080" + minFrameRate="15" maxFrameRate="30" /> - + minBitRate="758" maxBitRate="288000" + minSampleRate="8000" maxSampleRate="48000" + minChannels="1" maxChannels="1" /> - - - - - - - - - - - - - - - - + + -- cgit v1.2.3