Merge branch 'feat/p4_eco5_ccm_v5.5' into 'release/v5.5'

ISP:  support ccm on P4 eco5 (v5.5)

See merge request espressif/esp-idf!44812
This commit is contained in:
morris
2026-01-19 15:00:37 +08:00
4 changed files with 72 additions and 3 deletions
@@ -11,6 +11,7 @@
#include "hal/misc.h"
#include "hal/assert.h"
#include "hal/hal_utils.h"
#include "hal/config.h"
#include "hal/isp_types.h"
#include "hal/color_types.h"
#include "hal/config.h"
@@ -130,8 +131,13 @@ extern "C" {
/*---------------------------------------------------------------
CCM
---------------------------------------------------------------*/
#if HAL_CONFIG(CHIP_SUPPORT_MIN_REV) >= 300
#define ISP_LL_CCM_MATRIX_INT_BITS (4)
#define ISP_LL_CCM_MATRIX_FRAC_BITS (8)
#else
#define ISP_LL_CCM_MATRIX_INT_BITS (2)
#define ISP_LL_CCM_MATRIX_FRAC_BITS (10)
#endif
#define ISP_LL_CCM_MATRIX_TOT_BITS (ISP_LL_CCM_MATRIX_INT_BITS + ISP_LL_CCM_MATRIX_FRAC_BITS + 1) // including one sign bit
typedef union {