340 lines
7.3 KiB
C
340 lines
7.3 KiB
C
/*
|
|
Copyright (c), 2001-2022, Shenshu Tech. Co., Ltd.
|
|
*/
|
|
#ifndef __AUTOCONF_H__
|
|
#define __AUTOCONF_H__
|
|
|
|
#define AUTOCONF_TIMESTAMP "2022-04-18 15:02:44 CST"
|
|
|
|
/*
|
|
* General Setup
|
|
*/
|
|
#define CONFIG_SS524V100 1
|
|
#define CONFIG_OT_CHIP_TYPE 0x01050200
|
|
#define CONFIG_OT_ARCH "ss524v100"
|
|
#define CONFIG_SUBCHIP_SS524V100 1
|
|
#define CONFIG_OT_SUBARCH "ss524v100"
|
|
#define CONFIG_OT_SUBCHIP_TYPE 0x01050200
|
|
#define CONFIG_SMP 1
|
|
#define CONFIG_ARM_ARCH_TYPE "smp"
|
|
#define CONFIG_A7 1
|
|
#define CONFIG_CPU_TYPE "a7"
|
|
#define CONFIG_VERSION_ASIC 1
|
|
#define CONFIG_OT_FPGA "n"
|
|
#define CONFIG_LINUX_OS 1
|
|
#define CONFIG_OS_TYPE "linux"
|
|
#define CONFIG_LINUX_4_19_y 1
|
|
#define CONFIG_KERNEL_VERSION "linux-4.19.y"
|
|
#define CONFIG_KERNEL_ARM_MIX410_LINUX 1
|
|
#define CONFIG_OT_CROSS "arm-mix410-linux-"
|
|
#define CONFIG_LIBC_TYPE "glibc"
|
|
#define CONFIG_KERNEL_BIT "KERNEL_BIT_32"
|
|
#define CONFIG_USER_ARM_MIX410_LINUX 1
|
|
#define CONFIG_OT_CROSS_LIB "arm-mix410-linux-"
|
|
#define CONFIG_USER_BIT "USER_BIT_32"
|
|
#define CONFIG_LINUX_STYLE 1
|
|
#define CONFIG_CODE_SYTLE "USE_LINUX_STYLE"
|
|
#define CONFIG_RELEASE_TYPE_RELEASE 1
|
|
#define CONFIG_OT_RLS_MODE "OT_RELEASE"
|
|
#define CONFIG_OT_PLATFORM_V8 1
|
|
|
|
/*
|
|
* Media Modules Setup
|
|
*/
|
|
|
|
/*
|
|
* media audio config
|
|
*/
|
|
#define CONFIG_OT_AUDIO_SUPPORT 1
|
|
#define CONFIG_OT_ACODEC_VERSION ""
|
|
#define CONFIG_OT_ACODEC_MAX_GAIN 0
|
|
#define CONFIG_OT_ACODEC_MIN_GAIN 0
|
|
#define CONFIG_OT_ACODEC_GAIN_STEP 0
|
|
#define CONFIG_OT_DOWNVQE_SUPPORT 1
|
|
#define CONFIG_OT_TALKVQE_SUPPORT 1
|
|
#define CONFIG_OT_RECORDVQE_SUPPORT 1
|
|
#define CONFIG_OT_AUDIO_STATIC_REGISTER_SUPPORT 1
|
|
|
|
/*
|
|
* media base config
|
|
*/
|
|
#define CONFIG_OT_VB_EXTPOOL_SUPPORT 1
|
|
|
|
/*
|
|
* media chnl config
|
|
*/
|
|
#define CONFIG_OT_CHNL_SUPPORT 1
|
|
|
|
/*
|
|
* media dis config
|
|
*/
|
|
|
|
/*
|
|
* media gdc config
|
|
*/
|
|
|
|
/*
|
|
* media hdmi config
|
|
*/
|
|
#define CONFIG_OT_HDMI_SUPPORT 1
|
|
|
|
/*
|
|
* media isp config
|
|
*/
|
|
|
|
/*
|
|
* media region config
|
|
*/
|
|
#define CONFIG_OT_REGION_SUPPORT 1
|
|
#define CONFIG_OT_RGN_EXPORT_MODIFY_SUPPORT 1
|
|
|
|
/*
|
|
* media sys config
|
|
*/
|
|
#define CONFIG_OT_SYS_SUPPORT 1
|
|
#define CONFIG_OT_SYS_SCALE_COEF_SUPPORT 1
|
|
|
|
/*
|
|
* media tde config
|
|
*/
|
|
#define CONFIG_OT_TDE_SUPPORT 1
|
|
|
|
/*
|
|
* media vda config
|
|
*/
|
|
#define CONFIG_OT_VDA_SUPPORT 1
|
|
|
|
/*
|
|
* media vdec config
|
|
*/
|
|
#define CONFIG_OT_VDEC_SUPPORT 1
|
|
#define CONFIG_OT_H265D_SUPPORT 1
|
|
#define CONFIG_OT_H264D_SUPPORT 1
|
|
#define CONFIG_OT_JPEGD_SUPPORT 1
|
|
#define CONFIG_OT_DEC_SHVC_SUPPORT 1
|
|
#define CONFIG_VDEC_IP "VDEC_IP_VDH"
|
|
#define CONFIG_OT_JPEGD_SUPPORT 1
|
|
#define CONFIG_OT_JPEGD_PROGRESSIVE 1
|
|
#define CONFIG_VDEC_ROTATION_SUPPORT 1
|
|
#define CONFIG_VDEC_TILE_ROTATION_SUPPORT 1
|
|
#define CONFIG_VDEC_USERPIC_SUPPORT 1
|
|
#define CONFIG_VDEC_USERDATA_SUPPORT 1
|
|
#define CONFIG_OT_VDEC_QUICK_SCHEDULE_SUPPORT 1
|
|
|
|
/*
|
|
* media venc config
|
|
*/
|
|
#define CONFIG_OT_VENC_SUPPORT 1
|
|
#define CONFIG_OT_H265E_SUPPORT 1
|
|
#define CONFIG_OT_H265E_USERDATA_SUPPORT 1
|
|
#define CONFIG_OT_H265E_INTRA_REFRESH_SUPPORT 1
|
|
#define CONFIG_OT_H264E_SUPPORT 1
|
|
#define CONFIG_OT_H264E_USERDATA_SUPPORT 1
|
|
#define CONFIG_OT_H264E_INTRA_REFRESH_SUPPORT 1
|
|
#define CONFIG_OT_JPEGE_SUPPORT 1
|
|
#define CONFIG_OT_JPEGE_ROI_SUPPORT 1
|
|
#define CONFIG_OT_MJPEGE_SUPPORT 1
|
|
#define CONFIG_OT_JPEGE_USERDATA_SUPPORT 1
|
|
#define CONFIG_OT_VENC_VPSSAUTO_SUPPORT 1
|
|
#define CONFIG_OT_VENC_FRAMEBUF_RECYCLE_SUPPORT 1
|
|
#define CONFIG_OT_VENC_VGS_SUPPORT 1
|
|
#define CONFIG_OT_VENC_SVC_SUPPORT 1
|
|
#define CONFIG_OT_VENC_SMARTP_SUPPORT 1
|
|
#define CONFIG_OT_VENC_RCNREF_SHARE_SUPPORT 1
|
|
#define CONFIG_OT_VENC_DEBREATH_SUPPORT 1
|
|
#define CONFIG_OT_VENC_SKIPREF_SUPPORT 1
|
|
#define CONFIG_OT_VENC_SCENE0_SUPPORT 1
|
|
#define CONFIG_OT_VENC_SCENE1_SUPPORT 1
|
|
#define CONFIG_OT_VENC_SCENE2_SUPPORT 1
|
|
#define CONFIG_OT_RC_AVBR_SUPPORT 1
|
|
#define CONFIG_OT_RC_QPMAP_SUPPORT 1
|
|
#define CONFIG_OT_RC_QVBR_SUPPORT 1
|
|
#define CONFIG_OT_RC_CVBR_SUPPORT 1
|
|
|
|
/*
|
|
* media vgs config
|
|
*/
|
|
#define CONFIG_OT_VGS_SUPPORT 1
|
|
#define CONFIG_OT_VGS_LUMA_STAT_SUPPORT 1
|
|
#define CONFIG_OT_VGS_ARGB_ROTATE_SUPPORT 1
|
|
|
|
/*
|
|
* media vi config
|
|
*/
|
|
#define CONFIG_OT_VI_SUPPORT 1
|
|
#define CONFIG_OT_VI_XVR_SUPPORT 1
|
|
#define CONFIG_OT_VI_MINOR_CHN_SUPPORT 1
|
|
#define CONFIG_OT_VI_ODD_CHN_COMPRESS_SUPPORT 1
|
|
#define CONFIG_OT_VI_BT1120_SUPPORT 1
|
|
#define CONFIG_OT_VI_BT656_SUPPORT 1
|
|
#define CONFIG_OT_VI_BIND_SUPPORT 1
|
|
#define CONFIG_OT_VI_COVER_SUPPORT 1
|
|
|
|
/*
|
|
* media vo config
|
|
*/
|
|
#define CONFIG_OT_VO_SUPPORT 1
|
|
#define CONFIG_OT_VO_HD 1
|
|
#define CONFIG_OT_VO_VPSS_AUTO 1
|
|
#define CONFIG_OT_VO_PLAY_CTL 1
|
|
#define CONFIG_OT_VO_LUMA 1
|
|
#define CONFIG_OT_VO_COVER_OSD_SUPPORT 1
|
|
#define CONFIG_OT_VO_VIRTDEV_SUPPORT 1
|
|
#define CONFIG_OT_VO_VGS 1
|
|
#define CONFIG_OT_VO_GRAPH 1
|
|
#define CONFIG_OT_VO_BATCH 1
|
|
#define CONFIG_OT_VO_WBC 1
|
|
#define CONFIG_OT_VO_CVBS 1
|
|
#define CONFIG_OT_VO_VGA 1
|
|
#define CONFIG_OT_VO_RGB 1
|
|
#define CONFIG_OT_VO_BT1120 1
|
|
#define CONFIG_OT_VO_HDMI 1
|
|
#define CONFIG_OT_VO_LESS_BUF 1
|
|
#define CONFIG_OT_VO_DEV_BYPASS 1
|
|
#define CONFIG_OT_VO_CHN_ASPECT_RATIO 1
|
|
#define CONFIG_OT_VO_QUICK_SCHEDULE_SUPPORT 1
|
|
#define CONFIG_OT_VO_EXPORT_FUNCTION 1
|
|
|
|
/*
|
|
* media vpss config
|
|
*/
|
|
#define CONFIG_OT_VPSS_SUPPORT 1
|
|
#define CONFIG_OT_VPSS_SHARPEN 1
|
|
#define CONFIG_OT_VPSS_3DNR_SUPPORT 1
|
|
#define CONFIG_OT_VPSS_AUTO_SUPPORT 1
|
|
#define CONFIG_OT_VPSS_BACKUP_SUPPORT 1
|
|
#define CONFIG_OT_VPSS_GRP_RGN_LUMA_STAT_SUPPORT 1
|
|
#define CONFIG_OT_VPSS_VGS_ROTATION_SUPPORT 1
|
|
#define CONFIG_OT_VPSS_COVER_SUPPORT 1
|
|
#define CONFIG_OT_VPSS_MOSAIC_SUPPORT 1
|
|
#define CONFIG_OT_VPSS_OVERLAY_SUPPORT 1
|
|
#define CONFIG_OT_VPSS_DELAY_SUPPORT 1
|
|
#define CONFIG_OT_VPSS_2SCALE_SUPPORT 1
|
|
#define CONFIG_OT_VPSS_VGS_GRP_SUPPORT 1
|
|
#define CONFIG_OT_VPSS_BUFFER_REUSE_SUPPORT 1
|
|
#define CONFIG_OT_VPSS_LDCI_SUPPORT 1
|
|
#define CONFIG_OT_VPSS_QUICK_SCHEDULE_SUPPORT 1
|
|
|
|
/*
|
|
* media avs config
|
|
*/
|
|
|
|
/*
|
|
* media dcc config
|
|
*/
|
|
|
|
/*
|
|
* media uvc config
|
|
*/
|
|
|
|
/*
|
|
* Device Driver Setup
|
|
*/
|
|
|
|
/*
|
|
* drv config
|
|
*/
|
|
#define CONFIG_DRV 1
|
|
#define CONFIG_EXTDRV 1
|
|
#define CONFIG_INTERDRV 1
|
|
#define CONFIG_OT_USER 1
|
|
#define CONFIG_MIPI_RX 1
|
|
#define CONFIG_OT_IR 1
|
|
#define CONFIG_OT_WDG 1
|
|
#define CONFIG_OT_SYSCFG 1
|
|
|
|
/*
|
|
* Component Setup
|
|
*/
|
|
|
|
/*
|
|
* Component security_subsys Config
|
|
*/
|
|
#define CONFIG_OT_SECURITY_SUBSYS_SUPPORT 1
|
|
#define CONFIG_OT_CIPHER_SUPPORT 1
|
|
#define CONFIG_OT_OTP_SUPPORT 1
|
|
|
|
/*
|
|
* Component gfbg Config
|
|
*/
|
|
#define CONFIG_OT_GFBG_SUPPORT 1
|
|
#define CONFIG_GFBG_DPU_V2 1
|
|
|
|
/*
|
|
* Component ot_syslink Config
|
|
*/
|
|
|
|
/*
|
|
* Component pciv Config
|
|
*/
|
|
|
|
/*
|
|
* Component avs lut Config
|
|
*/
|
|
|
|
/*
|
|
* Component avs convert Config
|
|
*/
|
|
|
|
/*
|
|
* Component pos_query Config
|
|
*/
|
|
|
|
/*
|
|
* Component snap Config
|
|
*/
|
|
|
|
/*
|
|
* Component photo Config
|
|
*/
|
|
|
|
/*
|
|
* Component svp Config
|
|
*/
|
|
#define CONFIG_OT_SVP_SUPPORT 1
|
|
#define CONFIG_OT_SVP_CNN 1
|
|
#define CONFIG_OT_SVP_RUNTIME 1
|
|
#define CONFIG_OT_SVP_IVE 1
|
|
#define CONFIG_OT_SVP_IVE_CSC 1
|
|
#define CONFIG_OT_SVP_IVE_FILTER_AND_CSC 1
|
|
#define CONFIG_OT_SVP_IVE_NCC 1
|
|
#define CONFIG_OT_SVP_IVE_LBP 1
|
|
#define CONFIG_OT_SVP_IVE_NORM_GRAD 1
|
|
#define CONFIG_OT_SVP_IVE_ST_CANDI_CORNER 1
|
|
#define CONFIG_OT_SVP_IVE_RESIZE 1
|
|
#define CONFIG_OT_SVP_IVE_PERSP_TRANS 1
|
|
#define CONFIG_OT_SVP_IVE_KCF 1
|
|
#define CONFIG_OT_SVP_IVE_HOG 1
|
|
#define CONFIG_OT_SVP_MD 1
|
|
#define CONFIG_OT_SVP_MAU 1
|
|
|
|
/*
|
|
* Component motionfusion config
|
|
*/
|
|
|
|
/*
|
|
* Component mcf Config
|
|
*/
|
|
|
|
/*
|
|
* Component securec Config
|
|
*/
|
|
#define CONFIG_OT_SECUREC_SUPPORT 1
|
|
|
|
/*
|
|
* Debug Config
|
|
*/
|
|
#define CONFIG_OT_GDB_NO 1
|
|
#define CONFIG_OT_GDB "n"
|
|
#define CONFIG_OT_PROC_SHOW_SUPPORT 1
|
|
#define CONFIG_OT_LOG_TRACE_SUPPORT 1
|
|
#define CONFIG_OT_LOG_TRACE_ALL 1
|
|
#define CONFIG_OT_LOG_TRACE_LEVEL 7
|
|
|
|
/*
|
|
* Test Config
|
|
*/
|
|
|
|
#endif /* __AUTOCONF_H__ */
|
|
|