finding image data from "evkimxrt1170_csi_mipi_rgb_cm7" example

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

finding image data from "evkimxrt1170_csi_mipi_rgb_cm7" example

Jump to solution
499 Views
winterGrey
Contributor I

Hi,

I am trying to get RGB565 image data from "evkmimxrt1170_csi_mipi_yuv_cm7" example. All of the requirements are correct to run the application, and application runs correctly. I am debugging the code to find the image data. I suppose the image data must be 1280x720x2. But, I couldn't find any buffer that size.

 

Thank you for your help.

0 Kudos
1 Solution
490 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @winterGrey ,

The buffer is defined in csi_mipi_yuv.c, at line 61.

AT_NONCACHEABLE_SECTION_ALIGN(
static uint8_t s_lcdBuffer[DEMO_LCD_BUFFER_COUNT][DEMO_BUFFER_HEIGHT][DEMO_BUFFER_WIDTH * DEMO_LCD_BUFFER_BPP],
FRAME_BUFFER_ALIGN);

AT_NONCACHEABLE_SECTION_ALIGN(static uint8_t s_cameraBuffer[DEMO_CAMERA_BUFFER_COUNT][DEMO_CAMERA_HEIGHT]
[DEMO_CAMERA_WIDTH * DEMO_CAMERA_BUFFER_BPP],
DEMO_CAMERA_BUFFER_ALIGN);

 

Regards,

Jing

View solution in original post

1 Reply
491 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @winterGrey ,

The buffer is defined in csi_mipi_yuv.c, at line 61.

AT_NONCACHEABLE_SECTION_ALIGN(
static uint8_t s_lcdBuffer[DEMO_LCD_BUFFER_COUNT][DEMO_BUFFER_HEIGHT][DEMO_BUFFER_WIDTH * DEMO_LCD_BUFFER_BPP],
FRAME_BUFFER_ALIGN);

AT_NONCACHEABLE_SECTION_ALIGN(static uint8_t s_cameraBuffer[DEMO_CAMERA_BUFFER_COUNT][DEMO_CAMERA_HEIGHT]
[DEMO_CAMERA_WIDTH * DEMO_CAMERA_BUFFER_BPP],
DEMO_CAMERA_BUFFER_ALIGN);

 

Regards,

Jing