diff options
author | Suprith Malligere Shankaregowda <supgow@codeaurora.org> | 2020-07-23 17:08:42 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2020-07-24 04:45:07 -0700 |
commit | d73298d1b983596be7e24db86f8f9edda11a6477 (patch) | |
tree | 3b007a51313d4d73f896443910b04d8563d48c7f | |
parent | 30742eff9871ade149e22bad937e0292d4065e5f (diff) |
conf_files: Set OMX as default
Reduce the priority of C2, so that
OMX will be picked as default
Change-Id: Ia2d9f8645dc0881d8817d92e700036fa64174884
-rw-r--r-- | conf_files/sm6150/sm6150.mk | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/conf_files/sm6150/sm6150.mk b/conf_files/sm6150/sm6150.mk index 9c1db434..bdfdd0f2 100644 --- a/conf_files/sm6150/sm6150.mk +++ b/conf_files/sm6150/sm6150.mk @@ -31,7 +31,17 @@ endif # Vendor property overrides # Enable Codec2.0 HAL for pure AOSP variants. -ifeq ($(GENERIC_ODM_IMAGE),true) +# Enable OMX for pure AOSP AUTO variants. +ifeq (,$(filter true, $(GENERIC_ODM_IMAGE)$(TARGET_BOARD_AUTO))) + $(warning "Forcing OMX for Generic auto build variant") + DEVICE_MANIFEST_FILE += hardware/qcom/media/conf_files/sm6150/c2_manifest_vendor.xml + PRODUCT_ODM_PROPERTIES += debug.media.codec2=0 + PRODUCT_ODM_PROPERTIES += debug.stagefright.ccodec=0 + PRODUCT_ODM_PROPERTIES += debug.stagefright.omx_default_rank=1000 + PRODUCT_COPY_FILES += \ + device/qcom/common/media/media_profiles.xml:$(TARGET_COPY_OUT_ODM)/etc/media_profiles_V1_0.xml \ + device/qcom/common/media/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml +else ifeq ($(GENERIC_ODM_IMAGE),true) $(warning "Forcing codec2.0 HW for generic odm build variant") DEVICE_MANIFEST_FILE += hardware/qcom/media/conf_files/sm6150/c2_manifest_vendor.xml #Set default ranks and rank Codec 2.0 over OMX codecs |