Re: some questions about VIDIOCGMBUF

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



From: ST <sergei7@xxxxxxxxx>
Subject:  some questions about VIDIOCGMBUF
Date: Wed, 9 Jan 2002 00:08:13 -0800 (PST)

> I'm using the mmap method of reading images from my tv
> card. Checking the size variable in the struct
> video_mbuf, it shows 4259840bytes. That is the size of
> 1 single frame right? 

No. That size is for whole of buffer required by the driver.
Usually for 2 frames(see 'frames' of the struct video_mbuf),
and the size of each frame is the largest frame what the driver
supports (and extra 8 byte?).

Kentarou Fukuchi





[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