samples: video: capture: leverage PXP to flip image
PXP can flip image written to the frame buffer. Provide a mirror image on the display by flipping the camera image horizontally. Enabled on boards mimxrt1066_evk and mimxrt1060_evkb. Signed-off-by: Derek Snell <derek.snell@nxp.com>
This commit is contained in:
parent
200a669dd2
commit
3226d10266
2 changed files with 8 additions and 0 deletions
4
samples/subsys/video/capture/boards/mimxrt1060_evkb.conf
Normal file
4
samples/subsys/video/capture/boards/mimxrt1060_evkb.conf
Normal file
|
@ -0,0 +1,4 @@
|
|||
# Leverage PXP to mirror image by flipping
|
||||
CONFIG_DMA=y
|
||||
CONFIG_MCUX_ELCDIF_PXP=y
|
||||
CONFIG_MCUX_ELCDIF_PXP_FLIP_HORIZONTAL=y
|
4
samples/subsys/video/capture/boards/mimxrt1064_evk.conf
Normal file
4
samples/subsys/video/capture/boards/mimxrt1064_evk.conf
Normal file
|
@ -0,0 +1,4 @@
|
|||
# Leverage PXP to mirror image by flipping
|
||||
CONFIG_DMA=y
|
||||
CONFIG_MCUX_ELCDIF_PXP=y
|
||||
CONFIG_MCUX_ELCDIF_PXP_FLIP_HORIZONTAL=y
|
Loading…
Add table
Add a link
Reference in a new issue