diff options
author | Thierry MERLE <thierry.merle@free.fr> | 2008-07-04 19:23:56 +0200 |
---|---|---|
committer | Thierry MERLE <thierry.merle@free.fr> | 2008-07-04 19:23:56 +0200 |
commit | 47ca18f618040bcbca758432b8d8a28af5ac3bc8 (patch) | |
tree | f13f9f4bd3b14021c2be2758a4042316bd7351ca /v4l2-apps/lib/libv4l | |
parent | 61a18e29300c234b778a7d208016096bb4d5ce07 (diff) | |
download | mediapointer-dvb-s2-47ca18f618040bcbca758432b8d8a28af5ac3bc8.tar.gz mediapointer-dvb-s2-47ca18f618040bcbca758432b8d8a28af5ac3bc8.tar.bz2 |
v4l2-library: libv4l-pac207-comments.patch
From: Hans de Goede <j.w.r.degoede@hhs.nl>
Add comments to pac207.c about what todays experiments have teached us about
the pac207 compression.
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
Diffstat (limited to 'v4l2-apps/lib/libv4l')
-rw-r--r-- | v4l2-apps/lib/libv4l/libv4lconvert/pac207.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/v4l2-apps/lib/libv4l/libv4lconvert/pac207.c b/v4l2-apps/lib/libv4l/libv4lconvert/pac207.c index 3291a42e1..085d7a772 100644 --- a/v4l2-apps/lib/libv4l/libv4lconvert/pac207.c +++ b/v4l2-apps/lib/libv4l/libv4lconvert/pac207.c @@ -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; |