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

CSI 16 bit swap and format conversion  (v5.5)

See merge request espressif/esp-idf!45700
This commit is contained in:
morris
2026-08-20 11:11:29 +08:00
12 changed files with 275 additions and 25 deletions

View File

@@ -159,7 +159,7 @@ Camera controller driver can be implemented in one of following ways:
ESP_ERROR_CHECK(esp_cam_new_dvp_ctlr(&dvp_config, &cam_handle));
const cam_ctlr_format_conv_config_t conv_cfg = {
.src_format = CAM_CTLR_COLOR_YUV422, // Source format: YUV422
.src_format = CAM_CTLR_COLOR_YUV422_UYVY, // Source format: YUV422 UYVY
.dst_format = CAM_CTLR_COLOR_RGB565, // Destination format: RGB565
.conv_std = COLOR_CONV_STD_RGB_YUV_BT601,
.data_width = 8,

View File

@@ -159,8 +159,8 @@
ESP_ERROR_CHECK(esp_cam_new_dvp_ctlr(&dvp_config, &cam_handle));
const cam_ctlr_format_conv_config_t conv_cfg = {
.src_format = CAM_CTLR_COLOR_YUV422, // 源格式YUV422
.dst_format = CAM_CTLR_COLOR_RGB565, // 目标格式RGB565
.src_format = CAM_CTLR_COLOR_YUV422_UYVY, // 源格式YUV422 UYVY
.dst_format = CAM_CTLR_COLOR_RGB565, // 目标格式RGB565
.conv_std = COLOR_CONV_STD_RGB_YUV_BT601,
.data_width = 8,
.input_range = COLOR_RANGE_LIMIT,