diff --git a/src/hal/hisi/v4_common.h b/src/hal/hisi/v4_common.h index 2a461a6..df33456 100644 --- a/src/hal/hisi/v4_common.h +++ b/src/hal/hisi/v4_common.h @@ -4,7 +4,6 @@ #include #include #include -#include #include #include "../types.h" diff --git a/src/hal/hisi/v4_hal.c b/src/hal/hisi/v4_hal.c index 57d929d..77a169f 100644 --- a/src/hal/hisi/v4_hal.c +++ b/src/hal/hisi/v4_hal.c @@ -303,8 +303,8 @@ int v4_pipeline_create(void) void v4_pipeline_destroy(void) { v4_isp.fnExit(_v4_vi_pipe); - v4_isp.fnUnregisterAWB(_v4_vi_pipe, &v4_ae_lib); - v4_isp.fnUnregisterAE(_v4_vi_pipe, &v4_awb_lib); + v4_isp.fnUnregisterAE(_v4_vi_pipe, &v4_ae_lib); + v4_isp.fnUnregisterAWB(_v4_vi_pipe, &v4_awb_lib); v4_snr_drv.obj->pfnUnRegisterCallback(_v4_vi_pipe, &v4_ae_lib, &v4_awb_lib); diff --git a/src/hal/hisi/v4_vpss.h b/src/hal/hisi/v4_vpss.h index 132f73c..f21ef75 100644 --- a/src/hal/hisi/v4_vpss.h +++ b/src/hal/hisi/v4_vpss.h @@ -2,10 +2,8 @@ #include "v4_common.h" -#define V4_VPSS_PHY_CHN_NUM 3 -#define V4_VPSS_EXT_CHN_NUM 8 -#define V4_VPSS_CHN_NUM (V4_VPSS_PHY_CHN_NUM + V4_VPSS_EXT_CHN_NUM) -#define V4_VPSS_GRP_NUM 32 +#define V4_VPSS_CHN_NUM 6 +#define V4_VPSS_GRP_NUM 8 typedef enum { V4_VPSS_NMODE_VIDEO, @@ -137,4 +135,4 @@ static void v4_vpss_unload(v4_vpss_impl *vpss_lib) { if (vpss_lib->handleGoke) dlclose(vpss_lib->handleGoke); vpss_lib->handleGoke = NULL; memset(vpss_lib, 0, sizeof(*vpss_lib)); -} \ No newline at end of file +}