The patch number 8222 was added via Thierry MERLE <[EMAIL PROTECTED]>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        [EMAIL PROTECTED]

------

From: Hans de Goede  <[EMAIL PROTECTED]>
v4l2-library: libv4l-pac207-comments.patch


Add comments to pac207.c about what todays experiments have teached us about
the pac207 compression.

Signed-off-by: Hans de Goede <[EMAIL PROTECTED]>
Signed-off-by: Thierry MERLE <[EMAIL PROTECTED]>


---

 v4l2-apps/lib/libv4l/libv4lconvert/pac207.c |   13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff -r 61deeffda900 -r 28ac9b034354 v4l2-apps/lib/libv4l/libv4lconvert/pac207.c
--- a/v4l2-apps/lib/libv4l/libv4lconvert/pac207.c       Fri Jul 04 07:21:55 
2008 +0200
+++ b/v4l2-apps/lib/libv4l/libv4lconvert/pac207.c       Fri Jul 04 19:23:56 
2008 +0200
@@ -170,15 +170,12 @@ or 0x1e 0xe1 for compressed line*/
            inp += pac_decompress_row(inp, outp, width);
            break;
 
-       default:
+       case 0x2DD2: /* prefix for "stronger" compressed lines, currently the
+                       kernel driver programs the cam so that we should not
+                       get any of these */
+
+       default: /* corrupt frame */
            /* FIXME add error reporting */
-           /* Notice this seems to happen with high framerates (low exposure
-              setting due to much light and bad compressible images, so most
-              likely the usb just cannot keep us and we miss parts of some
-              frames (sometimes of many frames in a row) messing things up
-              completely. It might be worth to try changing the compression
-              balance setting to see if that can compensate for this.
-              However currently I cannot reproduce this (no daylight) */
            return;
        }
        outp += width;


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/28ac9b034354f3ef21ab4fb38e4d76108b7cbe76

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to