summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--properties.mk4
-rw-r--r--sdm660.mk5
2 files changed, 9 insertions, 0 deletions
diff --git a/properties.mk b/properties.mk
index 997ba87..60f6a79 100644
--- a/properties.mk
+++ b/properties.mk
@@ -96,6 +96,10 @@ PRODUCT_PROPERTY_OVERRIDES += \
vendor.video.disable.ubwc=1 \
vidc.enc.dcvs.extra-buff-count=2
+# Codec2 switch
+PRODUCT_PROPERTY_OVERRIDES += \
+ debug.media.codec2=2
+
# CNE
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
persist.vendor.cne.feature=1
diff --git a/sdm660.mk b/sdm660.mk
index 77a1e67..0d01adf 100644
--- a/sdm660.mk
+++ b/sdm660.mk
@@ -161,6 +161,11 @@ PRODUCT_PACKAGES += \
android.hardware.camera.provider@2.5 \
vendor.qti.hardware.camera.device@1.0
+# Codec2 modules
+PRODUCT_PACKAGES += \
+ com.android.media.swcodec \
+ libsfplugin_ccodec
+
# Connectivity Engine support (CNE)
PRODUCT_PACKAGES += \
cneapiclient \