middleware: weekly update 2023-04-26 1. add new sensor driver: tp2863,gc0329,mis2008 2. add some panel driver and sample app 3. update vi/vo driver 4. add ko_shrink for cv180x

Change-Id: Iea07e7ff516682255616f8f066ae33131e243a31
This commit is contained in:
sam.xiang
2023-04-27 15:29:21 +08:00
committed by forum_service
parent a57169ae72
commit ce9f68c35f
116 changed files with 9008 additions and 71 deletions

View File

@ -47,6 +47,8 @@ enum VENC_BIND_MODE_E {
#define CVI_VENC_MASK_TRACE 0x10000
#define CVI_VENC_MASK_DUMP_YUV 0x100000
#define CVI_VENC_MASK_DUMP_BS 0x200000
#define CVI_VENC_MASK_DEBUG 0x400000
#define CVI_VENC_MASK_CURR (CVI_VENC_MASK_ERR)
typedef struct _venc_dbg_ {
@ -197,12 +199,13 @@ extern pthread_t gs_VencTask[VENC_MAX_CHN_NUM];
#define CVI_VENC_DEBUG(msg, ...) \
do { \
struct timespec64 ts; \
ktime_get_ts64(&ts); \
pr_info("[DEBUG][%llu] %s = %d," msg, ts.tv_sec * 1000 + ts.tv_nsec / 1000000, __func__, \
__LINE__, ## __VA_ARGS__); \
if (vencDbg.currMask & CVI_VENC_MASK_DEBUG) { \
struct timespec64 ts; \
ktime_get_ts64(&ts); \
pr_info("[DEBUG][%llu] %s = %d," msg, ts.tv_sec * 1000 + ts.tv_nsec / 1000000, __func__, \
__LINE__, ## __VA_ARGS__); \
} \
} while (0)
#define CVI_VENC_ERR(msg, ...) \
do { \
if (vencDbg.currMask & CVI_VENC_MASK_ERR) \