Here is another dumb question.
I want to allocate a chunk of memory block to served as the image buffer. I am using the VOS codes and the image processing is mainly resided in function adi_ProcessCapture(). The image buffer will be used to save a copy of the contents pointed by the pointer gapoFrm->pFramePtr. I added 3 lines of codes right above the creation of the buffer INFRM_BUF_A in vos_realtime.h, that is,
#pragma align 32#pragma section("sdram0_video_buf0")
uint8_t tmp_buffer[Height * Width *2];
#pragma align 32#pragma section("sdram0_video_buf0")uint8_t INFRM_BUF_A[DEMO_APP_MAX_WIDTH*DEMO_APP_MAX_HEIGHT*NUM_VIDEO_BUF];
and when I stop at the break point insdie adi_ProcessCapture(), ready to copy the image contents, I can access INFRM_BUF_A, but not tmp_buffer ? The debugger says that tmp_buffer is not in the object.
What am I missing ?
Since you are using VOS library, may I ask you to post your query in the Video Occupancy Sensor community?