Do I need to explicitly use PXP?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Do I need to explicitly use PXP?

416 Views
tamir_michael
Contributor IV

Hello,

Using a i.mxrt1064, I have a camera generating grayscale data with a resolution of 640X512 pixels (2 bytes per pixel).

I store the data in SRAM using CSI, with the destination format having the resolution 320X240 (again, 2 bytes per pixel) in RGB565 (format conversion is my problem). However, I see that only the very beginning of the SRAM buffer is occupied under these circumstances (about 1K). I see much more if I set the camera resolution to 320X240.

My question is: Do I need to involve PXP to re-scale the image or is this done automatically if the resolution of the camera and the destination "image" in SRAM are not equal? I could not find any reference to this in the user manual.

Thanks in advance.

Tags (1)
0 Kudos
1 Reply

347 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Tamir Michael,

Thank you for your interest in NXP Semiconductor products and
for the opportunity to serve you.
According to your introduction, the video frame hasn't been stored into the RAM successful, in addition, MCU can store more data if the size of the video frame is smaller, is it right?
In further, I'd like to suggest you refer to the application note: AN12110 which may give some insight into this phenomenon.

https://www.nxp.com/docs/en/application-note/AN12110.pdf 

Have a great day,
TIC

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos