AnsweredAssumed Answered

i.MX6 V4L2 buffer status is not changed from V4L2_BUF_FLAG_QUEUED.

Question asked by Satoshi Shimoda on Apr 30, 2014
Latest reply on Sep 9, 2014 by Timesys Support
Branched to a new discussion

Hi community,


Our partner have a problem about i.MX6 V4L2 driver.
They want to do the following process to a buffer with V4L2 driver, but it was not succeeded.
(1) Write output data --> (2) VIDIOC_QBUF --> VIDIOC_DQBUF --> (1) --> (2) --> ...

Actually, process (3) was not work well when the input image data size is same as output field size.
Could you let me know how to resolve this issue?

For your information, they understand if the buffer status is changed from V4L2_BUF_FLAG_QUEUED (during driver output) to V4L2_BUF_FLAG_DONE (done driver output), the process by VIDIOC_DQBUF can start.
However, the buffer status was not changed from V4L2_BUF_FLAG_QUEUED if input data size = output field size.


Best Regards,
Satoshi Shimoda