Identifying 'failed' grabs with v4l2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hello,

I'm using the streaming grabbing capture mode from v4l2 (QBUF, DQBUF, etc)
on a 'bad' video signal with noise and broken vsyncs (caused by fast
switching of out-of-sync input signals). 

Is there a way to tell a frame is 100% successfully grabbed, from top to
bottom ? Right now I solved this by initializing the buffer with a known
value, and looking for pixels of this value after the grab. If they're still
there, the grab probably failed. 

Is there a nicer way to check for this ?

Regards,

/Ico





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux