1CONFIG_PATH := hardware/qcom/media/conf_files/atoll 2 3# Video feature flags 4 5# Video configuration files 6PRODUCT_COPY_FILES += \ 7 $(CONFIG_PATH)/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \ 8 $(CONFIG_PATH)/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \ 9 $(CONFIG_PATH)/media_codecs_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor.xml \ 10 $(CONFIG_PATH)/media_codecs_vendor_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_audio.xml \ 11 $(CONFIG_PATH)/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml \ 12 $(CONFIG_PATH)/mediacodec-seccomp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \ 13 $(CONFIG_PATH)/system_properties.xml:$(TARGET_COPY_OUT_VENDOR)/etc/system_properties.xml 14 15# Vendor property overrides 16 17ifeq ($(GENERIC_ODM_IMAGE),true) 18 $(warning "Forcing codec2.0 HW for generic odm build variant") 19 #Set default ranks and rank Codec 2.0 over OMX codecs 20 PRODUCT_ODM_PROPERTIES += debug.stagefright.ccodec=4 21 PRODUCT_ODM_PROPERTIES += debug.stagefright.omx_default_rank=1000 22else 23 $(warning "Enabling codec2.0 non-audio SW only for non-generic odm build variant") 24 PRODUCT_PROPERTY_OVERRIDES += debug.stagefright.omx_default_rank=0 25 PRODUCT_COPY_FILES += \ 26 device/qcom/common/media/media_profiles.xml:$(TARGET_COPY_OUT_ODM)/etc/media_profiles_V1_0.xml 27endif 28