Re: v4l2 - request buffersize

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



Ronald Bultje wrote:
>  Hi all,
>  
>  just a minor point of critique on v4l2 - why isn't there a field '__u32
>  size' in the struct v4l2_requestbuffers?

Because there is a length field in struct v4l2_buffer.  That one is
filled by the driver and the application should use it together with
the offset to mmap() the buffer.

  Gerd

-- 
#include </dev/tty>





[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