Re: v4l2 api / Zoran v4l2_jpegcompression

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



> > Likewise alternating fields are passed in transmitted = temporal order,
> > starting with what? One could check V4L2_BUF_FLAG_TOPFIELD/BOTFIELD, but
> > it seems they're gone.
>  
>  enum v4l2_field {
>  [..]
>          V4L2_FIELD_TOP        = 2, /* top field only */
>          V4L2_FIELD_BOTTOM     = 3, /* bottom field only */
>  [..]
>  };
>  
>  Isn't that what you're looking for?

Exactly this I have in mind:  If one uses V4L2_FIELD_ALTERNATE in S_FMT,
the driver will set buffer->field to V4L2_FIELD_TOP or V4L2_FIELD_BOTTOM
depending on what the field actually is.

>  I hope this is clear.

If not I suggest to read the libjpeg docs ...

  Gerd

-- 
You can't please everybody.  And usually if you _try_ to please
everybody, the end result is one big mess.
				-- Linus Torvalds, 2002-04-20





[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