Greetings,

Attached is a patch that fixes a number of issues with the current PWC webcam
driver as it is included in kernel 2.4.5. The most important feature is that
it restores the YUV420P palette so that some tools can at least work with
this. Also, I modified the wait-queue mechanism a bit, it could be this was
the cause of people not getting images from the camera.

And before Alan freaks out again about the palette stuff: no, this is not a
conversion; it is a reshuffling of bytes, yes. This is necessary to get
something that is recognized by at least some tools; it does not contain
multiplication/addition of the data. Actually, it�s not as bad as it sounds:
I enhanced the decompressor plugin to immediately deliver planar format;
only in uncompressed mode there is some reshuffling done.

NB: for those of you that test with camstream: there is a new version out,
it fixes a problem with the palette detection logic (it wouldn�t recognize
YUV420P, woops!)

This patch is against 2.4.5.

 - Nemosoft

-----------------------------------------------------------------------------
Try SorceryNet!   One of the best IRC-networks around!   irc.sorcery.net:9000
URL: never        IRC: nemosoft      IscaBBS (bbs.isca.uiowa.edu): Nemosoft
                        >> Never mind the daylight << 

pwc-8.0for2.4.5-a.diff

Reply via email to