Re: API spec vs API implementation

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



Ladislav Michl <ladis@xxxxxxxxxxxxxx> writes:

> in short VIDIOCGCAPTURE and VIDIOCSCAPTURE ioctl using struct video_capture
> should be used to set capture window while VIDIOCGWIN and VIDIOCSWIN using
> struct video_window should be used to set overlay window.

VIDIOCGCAPTURE/VIDIOCSCAPTURE are used to _crop_ the image,
i.e. capture not the whole image but a part only (i.e. the left side
or some something like that).

VIDIOCGWIN/VIDIOCSWIN is used to _scale_ the image, i.e. set the final
size (of the image part to be captured).

That are two different things ...

  Gerd

-- 
You have a new virus in /var/mail/kraxel




[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