feat(csi): support CSI format conversion and bit swap

This commit is contained in:
gaoxu
2026-08-18 11:14:03 +08:00
parent 12d5921057
commit 5a062218c0
12 changed files with 275 additions and 25 deletions
@@ -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,