Re: v4l1 scaling/cropping (was: Re: API spec vs API implementation)

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



On Tue, Oct 07, 2003 at 02:14:14PM +0200, Gerd Knorr wrote:
> Ladislav Michl <ladis@xxxxxxxxxxxxxx> writes:
> 
> > on. comments and suggestions are always welcome. (v4l2 looks indeed much
> > more suitable, but I'd like to give people something which could enter
> > 2.4 kernel first. I'll write v4l2 version of driver later).
> 
> As far I know there is no v4l1 driver (yet) with crop support.  I'd
> suggest you try to use the clear defined v4l2 semantics for v4l too.
> That will also simplify things if you add v4l2 support later.

that's what I'd like to do. the only unclear point was how to use decimation
field in struct video_capture. then VIDIOC_S_CROP is VIDIOCSCAPTURE and
"The target rectangle is given either by the width and height fields of
struct v4l2_pix_format or the width and height fields of the struct v4l2_rect
substructure of struct v4l2_window" which matches VIDIOCSWIN.

>   Gerd
> 
> -- 
> You have a new virus in /var/mail/kraxel
-ENOENT

	ladis




[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