File tree Expand file tree Collapse file tree 6 files changed +391
-10
lines changed Expand file tree Collapse file tree 6 files changed +391
-10
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 1.5.1
4+
5+ - Added byte swap option and RGB565 format support for OV5640.
6+
37## 1.5.0
48
59- Added option to return byte swap flags for GC0308
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ menu "Espressif Camera Sensors Configurations"
2424 bool "Enable pixel byte order swapping"
2525 default y if IDF_TARGET_ESP32P4
2626 default n if IDF_TARGET_ESP32S3
27- depends on CAMERA_OV2640 || CAMERA_BF3901 || CAMERA_GC0308 || CAMERA_SC030IOT || CAMERA_SC101IOT || CAMERA_BF3A03
27+ depends on CAMERA_OV2640 || CAMERA_BF3901 || CAMERA_GC0308 || CAMERA_SC030IOT || CAMERA_SC101IOT || CAMERA_BF3A03 || CAMERA_OV5640
2828 help
2929 Enable pixel byte order swapping to match display or processing requirements.
3030
Original file line number Diff line number Diff line change 1- version : " 1.5.0 "
1+ version : " 1.5.1 "
22description : " Espressif camera sensor drivers, it is recommended to use with esp_video"
33targets :
44 - esp32p4
Original file line number Diff line number Diff line change @@ -66,12 +66,18 @@ if CAMERA_OV5640
6666 help
6767 YUV422 color format at 800x600 resolution (SVGA) with 10fps framerate.
6868 Requires 8-bit DVP interface and 24MHz input clock.
69+ config CAMERA_OV5640_DVP_RGB565_800X600_10FPS
70+ bool "RGB565 800x600 10fps, DVP 8-bit, 24M input"
71+ help
72+ RGB565 color format at 800x600 resolution (SVGA) with 10fps framerate.
73+ Requires 8-bit DVP interface and 24MHz input clock.
6974 endchoice # CAMERA_OV5640_DVP_DEFAULT_FMT
7075
7176 config CAMERA_OV5640_DVP_IF_FORMAT_INDEX_DEFAULT
7277 int
7378 depends on SOC_LCDCAM_CAM_SUPPORTED
7479 default 0 if CAMERA_OV5640_DVP_YUV422_800X600_10FPS
80+ default 1 if CAMERA_OV5640_DVP_RGB565_800X600_10FPS
7581 help
7682 Sets the default configuration for the DVP interface.
7783 Use query_support_formats() API to get more format options.
Original file line number Diff line number Diff line change @@ -71,6 +71,20 @@ static const esp_cam_sensor_format_t ov5640_format_info_dvp[] = {
7171 .mipi_info = {0 },
7272 .reserved = NULL ,
7373 },
74+ {
75+ .name = "DVP_8bit_24Minput_RGB565_800x600_10fps" ,
76+ .format = ESP_CAM_SENSOR_PIXFORMAT_RGB565 ,
77+ .port = ESP_CAM_SENSOR_DVP ,
78+ .xclk = 24000000 ,
79+ .width = 800 ,
80+ .height = 600 ,
81+ .regs = ov5640_dvp_yuv422_svga_10fps ,
82+ .regs_size = ARRAY_SIZE (ov5640_dvp_yuv422_svga_10fps ),
83+ .fps = 10 ,
84+ .isp_info = NULL ,
85+ .mipi_info = {0 },
86+ .reserved = NULL ,
87+ }
7488};
7589#endif
7690
You can’t perform that action at this time.
0 commit comments