This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi All,
While running the capture display demo on dm388evm with 3.8.1 ipnc sdk the buffers are not flushed , I can see the repeated frames even after disconnecting the input while running the demo.How to flush the YUV buffers so that i should see a blank screen when input is disconnected in between the demo.
I tried to memset the yuv frames to 0x80 in CaptureLink_drvPutEmptyFrames.
for (frameId = 0; frameId < pFrameList->numFrames; frameId++)
{
pFrame = pFrameList->frames[frameId];
size = Utils_getBufferSize();// This one returns the size of the frame which is used while allocating the YUV frame buffer for each frame.
memset(pFrame->addr[0][0], 0x80, size);
}
Thanks
Kailash
Hi Kailash,
Capture will stop giving YUV data when you dont get interrupt from input source but display would be displaying last filled buffer data.
So, You need to write mechanism to flush display buffer.
Regards,
Prashant
Pathpartner Technology Pvt. Ltd.