mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
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:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user