mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-01-27 19:18:35 +00:00
gs201: uses Codec2 HIDL 1.2 service
- Include mediacodec_samsung setting from gs-common - Enable Codec2 HIDL 1.2 from BoardConfig and update manifest hidl version for samsung.hardware.media.c2 Bug: 318793681 Test: run cts -m CtsMediaDecoderTestCases Test: run cts -m CtsMediaPlayerTestCases Test: run vts -m vts_treble_vintf_vendor_test Change-Id: I1f947d2eb75bd4d75d9db1d39b0b083d32f8032f
This commit is contained in:
committed by
Wen Chang Liu
parent
4305bf7cd0
commit
59ed5b77f5
@@ -190,6 +190,7 @@ BOARD_PERSISTIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||
# Video Codec
|
||||
########################
|
||||
# 1. Exynos C2
|
||||
BOARD_USE_CODEC2_HIDL_1_2 := true
|
||||
BOARD_USE_CSC_FILTER := false
|
||||
BOARD_USE_DEC_SW_CSC := true
|
||||
BOARD_USE_ENC_SW_CSC := true
|
||||
|
||||
24
device.mk
24
device.mk
@@ -752,30 +752,14 @@ endif
|
||||
$(call soong_config_set,bigo,soc,gs201)
|
||||
|
||||
# 1. Codec 2.0
|
||||
# exynos service
|
||||
PRODUCT_SOONG_NAMESPACES += vendor/samsung_slsi/codec2
|
||||
# for settings used by different C2 hal
|
||||
include device/google/gs-common/mediacodec/common/mediacodec_common.mk
|
||||
# for Exynos C2 Hal
|
||||
include device/google/gs-common/mediacodec/samsung/mediacodec_samsung.mk
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/gs201/media_codecs_performance_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_c2.xml \
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
samsung.hardware.media.c2@1.0-service \
|
||||
codec2.vendor.base.policy \
|
||||
codec2.vendor.ext.policy \
|
||||
libExynosC2ComponentStore \
|
||||
libExynosC2H264Dec \
|
||||
libExynosC2H264Enc \
|
||||
libExynosC2HevcDec \
|
||||
libExynosC2HevcEnc \
|
||||
libExynosC2Mpeg4Dec \
|
||||
libExynosC2Mpeg4Enc \
|
||||
libExynosC2H263Dec \
|
||||
libExynosC2H263Enc \
|
||||
libExynosC2Vp8Dec \
|
||||
libExynosC2Vp8Enc \
|
||||
libExynosC2Vp9Dec \
|
||||
libExynosC2Vp9Enc
|
||||
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
debug.stagefright.c2-poolmask=458752 \
|
||||
debug.c2.use_dmabufheaps=1 \
|
||||
|
||||
@@ -5,8 +5,16 @@
|
||||
<version>1.0</version>
|
||||
<interface>
|
||||
<name>IComponentStore</name>
|
||||
<instance>default</instance>
|
||||
<instance>default1</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.media.c2</name>
|
||||
<transport>hwbinder</transport>
|
||||
<version>1.2</version>
|
||||
<interface>
|
||||
<name>IComponentStore</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
</manifest>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.media.c2</name>
|
||||
<transport>hwbinder</transport>
|
||||
<version>1.0</version>
|
||||
<version>1.2</version>
|
||||
<interface>
|
||||
<name>IComponentStore</name>
|
||||
<instance>default</instance>
|
||||
|
||||
Reference in New Issue
Block a user