Patch provided by Keith KacLeod / Eric Preston.
-quote-
Shouldn't send email without sleep. The single most
important thing
to get the picture for the 505 looking ok would be
this:
--- ../spca50x/drivers/usb/spca50x.c Wed Dec 4
15:04:05 2002
+++ drivers/usb/spca50x.c Sat Dec 28 15:10:04 2002
@@ -2242,8 +2242,8 @@
int UVoffset = 2 * frame->width;
for(I = 0; I < frame->width; I += 2)
{
- spca50x_move_420_block(scratch[I], scratch[I + 1],
- scratch[frame->width + I], scratch[frame->width + I
+ 1],
+ spca50x_move_420_block(scratch[I] + 128, scratch[I
+ 1] + 128,
+ scratch[frame->width + I] + 128,
scratch[frame->width + I + 1] + 128,
scratch[UVoffset + (I >> 1)],
scratch[UVoffset + (frame->width >> 1) + (I >> 1)],
frame->width, frame->highwater, 24,
-quote-
I need comments on this, as I'm really not sure
what the above will do to other cameras/chipsets.
Logged In: YES
user_id=427992
The above fix is now in CVS, but the header file patch is
pending review.
Replacement spca505 initialisation
Logged In: YES
user_id=1061045
I"m relativlely new to patch's and have no clue what I"m
doing in most cases. What I need to know is how to apply
this patch. I have the pc pro cs430 chip camera and would
like to get this running.