We are using esp32s3 board with OV5640 sensor. For PIXFORMAT_RAW format, we couldn't find support in ll_cam.c
We tried to add support in ll_cam.c in function ll_cam_set_sample_mode()
else if(pix_format == PIXFORMAT_RAW){
cam->in_bytes_per_pixel = 1; //ADDED TO SUPPORT RAW FORMAT
cam->fb_bytes_per_pixel = 1;
}
Is this only sufficient? Or do we need to modify anything in dma_config ?
Also, we observed that register 0x3034 is set as 10-bit MIPI mode in set_pll() function
ret = write_reg(sensor->slv_addr, 0x3034, 0x1A);//10bit mode
We tried to capture RAW image in both 10 bit and 8 bit and used Pixel viewer tool to view the image, but we are seeing miss aligned image most of the time. Some time, we are getting proper image and Image captures are inconsistent.
Do anyone faced similar issue ? Any support would be grateful for us.
ESP32 Camera Driver support for RAW format
ESP32 Camera Driver support for RAW format
- Attachments
-
- Misalignment Image
- Screenshot 2024-10-29 123559.png (687.18 KiB) Viewed 507 times
-
- Proper Image
- Screenshot 2024-10-29 123455.png (670.72 KiB) Viewed 507 times
Who is online
Users browsing this forum: No registered users and 147 guests