Skip to content

Conversation

@DerekSnell
Copy link
Contributor

Update PXP driver to flip horizontally and/or vertically. Also updated display_mcux_elcdif driver to flip when writing to display. Tested with sample/subsys/video/capture.

Enable camera shield.  Tested with samples/subsys/video/capture.

Signed-off-by: Derek Snell <[email protected]>
Enable PXP in board devicetree for display samples.

Signed-off-by: Derek Snell <[email protected]>
PXP can flip an image in input buffer horizontally, vertically, or both.

Signed-off-by: Derek Snell <[email protected]>
display_write() can leverage PXP to flip the image.

Signed-off-by: Derek Snell <[email protected]>
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 <[email protected]>
@nashif nashif merged commit 3226d10 into zephyrproject-rtos:main Aug 7, 2024
@DerekSnell DerekSnell deleted the feature/pxp_horizontal_flip branch August 7, 2024 15:56
@kartben
Copy link
Contributor

kartben commented Aug 15, 2024

#73001 was merged before this one. Please resubmit, @DerekSnell, as the files are now in the wrong folder

@DerekSnell
Copy link
Contributor Author

#73001 was merged before this one. Please resubmit, @DerekSnell, as the files are now in the wrong folder

Will do, thanks for making me aware.

@ngphibang
Copy link
Contributor

ngphibang commented Aug 20, 2024

@DerekSnell : The video capture sample has been moved from sample/subsys/video/capture to sample/drivers/video/capture. I don't understand why you still let the board configs files (1064 and 1060 evk) in /subsys and not place them in /drivers ? Does it really work when the configs and the sample code are in two different places ?

@DerekSnell
Copy link
Contributor Author

Hi @ngphibang ,
No, it won't work, and this was not intentional. As kartben stated above, #73001 merged 2 days before this PR, and moved that sample. Now we need a new PR to move these files.

Best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Display area: DMA Direct Memory Access area: Samples Samples platform: NXP Drivers NXP Semiconductors, drivers platform: NXP NXP

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants