From ae2fc813b6b5697418c6f669d0885d040ff28a70 Mon Sep 17 00:00:00 2001 From: davidevinavil Date: Mon, 21 Nov 2016 02:20:50 +0100 Subject: change defconfig and add Camera2 Change-Id: I1ac11d8d4972f4f46a761677e3bc9940fe754175 --- BoardConfig.mk | 3 +- configs/media_codecs.xml | 13 ++--- configs/media_codecs_performance.xml | 92 ++++++++++++++++++------------------ configs/media_profiles.xml | 47 ++---------------- device.mk | 3 +- 5 files changed, 60 insertions(+), 98 deletions(-) diff --git a/BoardConfig.mk b/BoardConfig.mk index 5290935..aea3305 100755 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -68,7 +68,7 @@ TARGET_KERNEL_APPEND_DTB := true TARGET_KERNEL_ARCH := arm64 TARGET_KERNEL_HEADER_ARCH := arm64 TARGET_KERNEL_CROSS_COMPILE_PREFIX := aarch64-linux-android- -TARGET_KERNEL_CONFIG := cyanogenmod_z2_plus_defconfig +TARGET_KERNEL_CONFIG := new_cyanogenmod_z2_plus_defconfig TARGET_KERNEL_SOURCE := kernel/zuk/msm8996 # QCOM hardware @@ -110,7 +110,6 @@ QCOM_BT_USE_SMD_TTY := true # Camera BOARD_QTI_CAMERA_32BIT_ONLY := true USE_DEVICE_SPECIFIC_CAMERA := true -TARGET_HAS_LEGACY_CAMERA_HAL1 := true # Charger diff --git a/configs/media_codecs.xml b/configs/media_codecs.xml index 45298b6..aece615 100644 --- a/configs/media_codecs.xml +++ b/configs/media_codecs.xml @@ -91,7 +91,7 @@ Only the three quirks included above are recognized at this point: | | (4096) (2160) (56) (100) | | | mpeg4 | 1920 1088 60 60 489600 | N | | vc1 | 1920 1088 60 60 489600 | Y | - | vp8 | 3840 2160 30 100 979200 | N | + | vp8 | 3840 2160 30 20 979200 | N | | vp9 | 3840 2160 30 100 979200 | Y | | divx3 | 720 480 30 2 40500 | N | | div4/5/6 | 1920 1088 30 10 244800 | N | @@ -107,7 +107,7 @@ Only the three quirks included above are recognized at this point: | h264 | 3840 2160 30 100 979200 | | hevc | 3840 2160 30 100 979200 | | mpeg4 | 1920 1088 60 60 489600 | - | vp8 | 3840 2160 30 100 979200 | + | vp8 | 3840 2160 30 20 979200 | | h263 | 864 480 30 2 48600 | |__________|_________________________________________| --> @@ -181,7 +181,7 @@ Only the three quirks included above are recognized at this point: - + @@ -349,7 +349,7 @@ Only the three quirks included above are recognized at this point: - + @@ -373,7 +373,7 @@ Only the three quirks included above are recognized at this point: - + @@ -404,7 +404,8 @@ 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 c5d1e55..44a175e 100644 --- a/configs/media_codecs_performance.xml +++ b/configs/media_codecs_performance.xml @@ -45,55 +45,56 @@ limitations under the License. - - - + + + - - - - + + + + - + - + - - - - + + + + - - - - + + + + - - - - - + + + + + - + + - - - - + + + + @@ -103,20 +104,21 @@ limitations under the License. - - - - + + + + - - + + - - - - + + + + + @@ -124,16 +126,16 @@ limitations under the License. - - - - + + + + - - - - + + + + diff --git a/configs/media_profiles.xml b/configs/media_profiles.xml index 7aed187..f996cd8 100644 --- a/configs/media_profiles.xml +++ b/configs/media_profiles.xml @@ -93,7 +93,7 @@ - + - - - - - - - - - - - @@ -493,7 +452,7 @@ - +