Re: reading a capture from v4l1

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



Hi Jeffrey,

On Wed, 2003-02-19 at 22:27, Jeffrey Dever wrote:
> I don't understand the point of the VIDIOCCAPTURE ioctl.  I expected 
> that I would have to call it before doing a read().  But there is no 
> need, after VIDIOCSWIN the read works anyway.
> 
> According to the v4lapi:
> 
>     Merely setting the window does not enable capturing. Overlay
>     capturing is activatied by passing the VIDIOCCAPTURE ioctl a
>     value of 1, and disabled by passing it a value of 0.
> 
> So what is the function of this ioctl?

It enables video overlay, which is defined as "grabbing/capture to the
videocard's overlay framebuffer".

Ronald

-- 
Ronald Bultje <rbultje@xxxxxxxxxxxxxxxxxxx>





[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