You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: this all uses the Zephyr updates from my PR
zephyrproject-rtos/zephyr#93797
Which I added to the STM dcmi driver the ability to have the camera work in snapshot mode
instead of in continuous video mode. This allows for example that we start the camera
it grabs a frame and stops, we then take the buffer and process it, and repeat this.
This helps minimize how much the SDRAM gets used concurrently.
In addition, I added to the VIDEO_STM32_DCMI and GC2145 the ability to use some of the
new set_selection and get_selection code that was added for the DCMIPP. In particular
the DCMI simply forwards these messages to the camera if it defined thise apis...
And with this it allows you to setup a viewport into the frame. For example:
You can setup the frame on the GC2145 to be 800x600 and then define a view port
to be 480x320 to fill an ST7796/ILI9486 tft display or you could do it 400x240 to half fill
the GIGA display. You can also move that view port around within the frame (pan)
I have examples that do this on Portenta H7 on the ST7796 display and another one
that does this on the GIGA display shield.
Still WIP as we probably need to refine the APIS and the like
0 commit comments