-
Couldn't load subscription status.
- Fork 8.1k
drivers: video: improve the sample and ESP32 driver #95958
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
drivers: video: improve the sample and ESP32 driver #95958
Conversation
099130a to
e76a0b1
Compare
|
Currently, this still does not work because there was a correction for RGB vs BGR swap in displays in #79996 I applied this fix 099130a And I get this image as a result: This is a HFLIP and upside-down version of the classic MacBeth color chart: seems ok. However, I only see the first frame, the display is not updated. |
|
@josuah, make |
113e27e to
8ba7e39
Compare
|
I confirm, this works smoothly now. Force-push:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM except that the 1st commit is a bit unrelated and can be in a separate PR (I see it in another PR already) so that the scope of the PR is all about esp32
Increase the ESP32 S3 Eye board buffer size to fit the selected frame size configured. This fixes a buffer allocation error preventing the sample to run. Only use a single buffer which is enough to run it. Signed-off-by: Josuah Demangeon <[email protected]>
In the ESP32 video driver, set the caps.min_vbuf_count field to indicate that a two buffers are enough. Fix use of un-initialized memory breaking the samples in some situations. Signed-off-by: Josuah Demangeon <[email protected]>
Propagate zephyrproject-rtos#79996 where RGB_565 and BGR_565 interchange got fixed. It is not necessary to enable the BGR_565 format for the ST7789V display as RGB_565, the default, is correct. Signed-off-by: Josuah Demangeon <[email protected]>
8ba7e39 to
71e5694
Compare
|
Good point, this is now only having the ESP32-specific commit... Another review cycle then. |
|





Small adjustments to make the ESP32 DVP driver work out of the box.
I will test it with the OV2640 present on the ESP32-S3 EYE board as soon as I get a chance (past Monday), and then un-draft the PR.