Re: xawtv 3.49 and Philips webcams

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



> > I don't like the idea of adding non-standard formats to v4l/v4l2 ...
>  
>  That´s why I added a bunch of convertors, and this is exactly why I got so
>  pissed off when Alan ripped out that code.

I tend to agree with Alan that the driver should not convert to most/all
existing VIDEO_PALETTE_* format.  There are some of good reasons for it:

 * keep the drivers as simple as possible.
 * avoid converting stuff twice (the application doesn't know whenever
   a specific format is provided by the hardware or converted by the
   driver).

But IMHO the format delivered by the driver must be a standard format.
If the hardware format doesn't match any of the existing ones,
converting is needed to make sure the applications can use it without
adopting it to that particular driver (for the same reason the driver
handles decompressing ...).

For the philips webcam I'd pick YUV420P as you only need to reorder
the bytes.

  Gerd

-- 
Gerd Knorr <kraxel@xxxxxxxxxxx>





[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