131 lines
4.3 KiB
Makefile
Executable File
131 lines
4.3 KiB
Makefile
Executable File
#############################################################################
|
|
############################ a83 configuration. #############################
|
|
#############################################################################
|
|
|
|
##---: new bdmv stream
|
|
LOCAL_CFLAGS += -DCONF_NEW_BDMV_STREAM
|
|
##---------------------------------------------------------------------------##
|
|
|
|
##---: new display
|
|
CONF_NEW_DISPLAY = yes
|
|
LOCAL_CFLAGS += -DCONF_NEW_DISPLAY
|
|
##---------------------------------------------------------------------------##
|
|
|
|
##---: STB // Set Top Box
|
|
CONF_PRODUCT_STB = no
|
|
#LOCAL_CFLAGS += -DCONF_PRODUCT_STB
|
|
##---------------------------------------------------------------------------##
|
|
|
|
##---: CMCC-OTT // must be STB
|
|
CONF_CMCC = no
|
|
ifeq ($(CONF_PRODUCT_STB), yes)
|
|
ifeq (cmccwasu, $(TARGET_BUSINESS_PLATFORM))
|
|
CONF_CMCC = yes
|
|
endif
|
|
|
|
ifeq ($(CONF_CMCC), yes)
|
|
LOCAL_CFLAGS += -DCONF_CMCC
|
|
endif
|
|
endif
|
|
##---------------------------------------------------------------------------##
|
|
|
|
##---: YUNOS-OTT // must be STB
|
|
CONF_YUNOS = no
|
|
ifeq ($(CONF_PRODUCT_STB), yes)
|
|
ifeq (aliyunos , $(TARGET_BUSINESS_PLATFORM))
|
|
CONF_YUNOS = yes
|
|
endif
|
|
|
|
ifeq ($(CONF_YUNOS), yes)
|
|
LOCAL_CFLAGS += -DCONF_YUNOS
|
|
endif
|
|
endif
|
|
##---------------------------------------------------------------------------##
|
|
|
|
##---: dtv
|
|
CONF_DTV = no
|
|
#LOCAL_CFLAGS += -DCONF_DTV
|
|
##---------------------------------------------------------------------------##
|
|
|
|
##---: fec-rtp
|
|
CONF_RTP = no
|
|
#LOCAL_CFLAGS += -DCONF_RTP
|
|
##---------------------------------------------------------------------------##
|
|
|
|
##---: detail track info
|
|
#LOCAL_CFLAGS += -DCONF_DETAIL_TRACK_INFO
|
|
##---------------------------------------------------------------------------##
|
|
|
|
##---: send pts to surface flinger
|
|
#LOCAL_CFLAGS += -DCONF_PTS_TOSF
|
|
##---------------------------------------------------------------------------##
|
|
|
|
##---: H.264@4K point to point // H5 not support
|
|
#LOCAL_CFLAGS += -DCONF_H264_4K_P2P
|
|
##---------------------------------------------------------------------------##
|
|
|
|
##---: H.265@4K point to point
|
|
#LOCAL_CFLAGS += -DCONF_H265_4K_P2P
|
|
##---------------------------------------------------------------------------##
|
|
|
|
##---: ion_handle type
|
|
#LOCAL_CFLAGS += -DCONF_ION_HANDLE_POINTER
|
|
LOCAL_CFLAGS += -DCONF_ION_HANDLE_INT
|
|
##---------------------------------------------------------------------------##
|
|
|
|
##---: enable media boost memory
|
|
#LOCAL_CFLAGS += -DCONF_MEDIA_BOOST_MEM
|
|
##---------------------------------------------------------------------------##
|
|
|
|
##---: enable lock cpu num/freq, h5 only
|
|
#LOCAL_CFLAGS += -DCONF_MEDIA_BOOST_CPU
|
|
##---------------------------------------------------------------------------##
|
|
|
|
##---: GPU type IMG/MALI
|
|
#LOCAL_CFLAGS += -DCONF_GPU_MALI
|
|
LOCAL_CFLAGS += -DCONF_GPU_IMG
|
|
##---------------------------------------------------------------------------##
|
|
|
|
##---: define kernel bitwide, values 32/64
|
|
LOCAL_CFLAGS += -DCONF_KERN_BITWIDE=64
|
|
##---------------------------------------------------------------------------##
|
|
|
|
##---: ve phy offset
|
|
LOCAL_CFLAGS += -DCONF_VE_PHY_OFFSET=0x40000000
|
|
##---------------------------------------------------------------------------##
|
|
|
|
##---: if support 3D
|
|
#LOCAL_CFLAGS += -DCONF_3D_ENABLE
|
|
##---------------------------------------------------------------------------##
|
|
|
|
##---: if need send black frame to gpu for avoid GPU bug
|
|
#LOCAL_CFLAGS += -DCONF_SEND_BLACK_FRAME_TO_GPU
|
|
##---------------------------------------------------------------------------##
|
|
|
|
##---: sound control write data with async mode
|
|
LOCAL_CFLAGS += -DCONF_SC_WRITE_ASYNC_MODE
|
|
##---------------------------------------------------------------------------##
|
|
|
|
##---------------------------------------------------------------------------##
|
|
|
|
##----------------------- for openmax config begin ------------------------->##
|
|
##---: if support 4K 30fps recoder
|
|
#LOCAL_CFLAGS += -DCONF_SUPPORT_4K_30FPS_RECORDER
|
|
|
|
##---: scaledown when resolution more than 1080p
|
|
#LOCAL_CFLAGS += -DCONF_OMX_BIG_SIZE_SCALEDOWN
|
|
|
|
##---: omx drop B frame
|
|
LOCAL_CFLAGS += -DCONF_OMX_DROP_B_FRAME_4K
|
|
|
|
##---: DI process enable
|
|
#LOCAL_CFLAGS += -DCONF_ENABLE_OPENMAX_DI_FUNCTION
|
|
|
|
##---: for the function of hdr and afbc
|
|
#LOCAL_CFLAGS += -DCONF_SURPPORT_METADATA_BUFFER
|
|
|
|
|
|
##<-----------------------for openmax config end ----------------------------##
|
|
|
|
###################################end define####################################
|