To: | |
---|---|
Subject: | [pwc] [PATCH] make pcvc675 work again with libpwc |
From: | Gert Vervoort <> |
Date: | Sat, 15 Sep 2007 20:18:37 +0200 |
Hi, It seems that libpwc doesn't like the raw frame I captured from my pcvc675: libpwc-20060524]$ ./testlibpwc -v -i /tmp/output.raw -o kw.tga Detected image PWC2 size:640x480 Error while decoding the stream libpwc-20060524]$ diff -urN libpwc-20060524/convert.c libpwc/convert.c --- libpwc-20060524/convert.c 2006-05-24 21:22:06.000000000 +0200 +++ libpwc/convert.c 2007-09-15 19:50:47.000000000 +0200 @@ -465,11 +465,11 @@ /* Currently not supported */ case 645: case 646: - case 675: default: free(pwc); return NULL; + case 675: case 680: case 690: case 720: diff -urN libpwc-20060524/libpwc.c libpwc/libpwc.c --- libpwc-20060524/libpwc.c 2006-05-24 21:22:06.000000000 +0200 +++ libpwc/libpwc.c 2007-09-15 19:50:31.000000000 +0200 @@ -238,10 +238,10 @@ { case 645: case 646: - case 675: default: return -EINVAL; + case 675: case 680: case 690: pwc->codec_version = V4L2_PIX_FMT_PWC2; Gert _______________________________________________ pwc mailing list http://lists.saillard.org/mailman/listinfo/pwc |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | [pwc] [PATH] libpwc brg vs rgb problem in wc_yuv420p_to_rgb24_same_size(), Gert Vervoort |
---|---|
Next by Date: | [pwc] [PATH] libpwc brg vs rgb problem in wc_yuv420p_to_rgb24_same_size(), Gert Vervoort |
Previous by Thread: | [pwc] [PATH] libpwc brg vs rgb problem in wc_yuv420p_to_rgb24_same_size(), Gert Vervoort |
Next by Thread: | [pwc] Thank you +, oliver |
Indexes: | [Date] [Thread] [Top] [All Lists] |
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