pwc
[Top] [All Lists]

Re: [pwc] Change to VIDIOC_S_FMT call.

To: Philips Webcam Linux Driver <>
Subject: Re: [pwc] Change to VIDIOC_S_FMT call.
From: Ivor Hewitt <>
Date: Mon, 5 Sep 2005 13:17:22 +0100
On Monday 05 September 2005 12:35, Luc Saillard wrote:
> On Mon, Sep 05, 2005 at 11:04:42AM +0100, Ivor Hewitt wrote:
> > On Monday 05 September 2005 10:19, Luc Saillard wrote:
> > > On Sun, Sep 04, 2005 at 09:28:37PM +0100, Ivor Hewitt wrote:
> > > > Hi,
> > > >
> > > > Trying to use the pwc driver with kopete, it seems that kopete
> > > > attempts to determine the device capabilities by calling VIDIOC_S_FMT
> > > > (since it uses the same codepath for V4L1 and V4L2 and TRY_FMT is new
> > > > in V4L2).
> > >
> > > Kopete support the video conference ? in which protocol ?
> >
> > Indeed, current kopete supports MSN webcam conversations. Doesn't support
> > the pwc driver yet, but should do soon.
>
> Because, i can try to checkout the CVS, and see if we can add support for
> v4l2. In v4l2, we have an ioctl to list supported format.
>
Hi,

The problem is that TRY_FMT call is optional for drivers to implement so I 
expect a lot of v4l2 code will still simply use the S_FMT call to determine 
supported formats instead.
 
According to that v4l documentation, this is ok to do and the behaviour of 
TRY_FMT should be the same as S_FMT except that it shouldn't actually change 
the mode. That's why I think that the S_FMT iotl should include the same 
supported format checks as TRY_FMT, as I patched.

The only changes that need to be made to kopete at the moment for pwc to work 
are to support YUV420 source formats, this should be done soon.

You could join #kopete on freenode if you want to chat to the developers about 
this.

Cheers,

-- 
Ivor Hewitt.
_______________________________________________
pwc mailing list

http://lists.saillard.org/mailman/listinfo/pwc

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU