diff --git a/common.mk b/common.mk index 9701b577..d67d5935 100644 --- a/common.mk +++ b/common.mk @@ -674,8 +674,8 @@ endif # BOARD_HAVE_BLUETOOTH_BLUEZ PRODUCT_COPY_FILES += \ device/qcom/common/sec_config:system/etc/sec_config -#PRODUCT_COPY_FILES += device/qcom/common/media/media_profiles.xml:system/etc/media_profiles.xml \ -# device/qcom/common/media/media_codecs.xml:system/etc/media_codecs.xml +PRODUCT_COPY_FILES += device/qcom/common/media/media_profiles.xml:system/etc/media_profiles.xml \ + device/qcom/common/media/media_codecs.xml:system/etc/media_codecs.xml # enable overlays to use our version of # source/resources etc. diff --git a/media/media_codecs.xml b/media/media_codecs.xml index 27438c1b..dd6114e6 100644 --- a/media/media_codecs.xml +++ b/media/media_codecs.xml @@ -1,5 +1,5 @@ - - - - + + - - - - - - - - - - - - - - - - - - - - - - + - - + + - - - - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - + + - + + - - + - + diff --git a/media/media_profiles.xml b/media/media_profiles.xml index f26988ab..0935bbc9 100644 --- a/media/media_profiles.xml +++ b/media/media_profiles.xml @@ -1,5 +1,5 @@ - - - + - + @@ -61,14 +56,14 @@ - + - - + + @@ -92,236 +87,132 @@ --> - - + - - + + - - + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + @@ -329,221 +220,108 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + - - + - - + + + + + + + + + + + + + @@ -561,9 +339,9 @@ or query the capabilities of the codec at all if it is disabled --> + minChannels="1" maxChannels="1" /> + + + + @@ -593,11 +381,6 @@ minSampleRate="8000" maxSampleRate="8000" minChannels="1" maxChannels="1" /> - - - - + + + maxInputFrameHeight="1080" maxOutputFrameWidth="1920" + maxOutputFrameHeight="1080" maxPrefetchYUVFrames="10"/> - + - + - +