Hi,
I have to access the decoded data buffer from the video thread before it is sent to Display thread in DM6467 demo application.
I guess, in the following structure, hBufs holds the decoded data
typedef struct BufTab_Object {
Buffer_Handle *hBufs; /* Array of buffers in the BufTab. */
Int numBufs; /* The number of buffers in the BufTab. */
Buffer_Handle *hOrigBufs;
Int origNumBufs;
} BufTab_Object;
In video.c, handleCodecBufs(), I tried to access the numBufs variables\ like this : hOutBuf->hBufTab->numBufs. But it is giving “Deferencing pointer to incompatible type” error.
Please let me know if my assumptions regarding the decoded data buffer is right or not. Kindly help me out in solving this error.
The final idea is access the decoded data buffer and apply Moving Average Filter algorithm on that data and send the processed data to the display thread for displaying it on the display device.
Kindly help me out.
Thanks and Regards,
Uma