We are using esp32s3 board with OV5640 sensor.
I understand that OV5640 support RAW Bayer output. However, I couldn't see any support in ESP32-camera driver.
I have modifed esp32-camera\target\esp32s3\ll_cam.c file to add support for PIXFORMAT_RAW,
inside ll_cam_set_sample_mode() function
else if(pix_format == PIXFORMAT_RAW){
cam->in_bytes_per_pixel = 1; //ADDED TO SUPPORT RAW FORMAT
cam->fb_bytes_per_pixel = 1;
}
In esp32-camera\driver\cam_hal.c file, I observed the following function
cam_dma_config()-->ll_cam_dma_sizes()-->ll_cam_calc_rgb_dma()
If not jpeg mode " ll_cam_calc_rgb_dma() " function will be called. Is this function applicable to only PIXFORMAT_RGB565 or will this also work fine for PIXFORMAT_RAW?
If anyone has any information, kindly let me know. It would be appreciated and useful for me.
RAW format support in esp32 camera driver
Who is online
Users browsing this forum: No registered users and 84 guests