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.

FVID_queue/FVID_dequeue Issue

Hi,

We are using a DM6437 to capture images with the VPFE Device Driver. We are manually controlling each image acquisition through a command sent to the image sensor, each one generating a single Frame Valid signal.

We are working with three FVID_Frame buffers in the following way:

1- FVID_queue frameBuf1

2- FVID_queue frameBuf2

3- Trigger an image acquisition on the sensor

4- FVID_dequeue

I would expect that the FVID_dequeue would return me the image acquired, but actually it is blocking. I don't understand why the driver blocks if two buffers were queued when came the time to acquire the image. I would expect it to release one of them in the FREE queue so I can retrieve it.

While debugging, I tried to trigger two image acquisitions instead of a single one in step three. In that case, the FVID_dequeue correctly returns my first image.

Anyone could help me understand this issue please?

Thanks

Franck