I found a couple of tiny (but crippling) y4mblackfix bugs. Did you check
in the right version? Seems to work now.
Dan
--- y4mblackfix.c.orig 2003-03-12 12:44:53.000000000 -0500
+++ y4mblackfix.c 2003-03-12 23:13:43.000000000 -0500
@@ -174,9 +174,9 @@
* process.
*/
mjpeg_info("frame %d num_dark: %d %s", frames, num_dark,
- num_dark <= pixel_thresh ? "" : "X");
+ num_dark < pixel_thresh ? "" : "X");
- if (num_dark <= pixel_thresh || nomodify)
+ if (num_dark < pixel_thresh || nomodify)
goto outputframe;
/*
@@ -187,9 +187,9 @@
{
for (j = 0; j < width; j++)
{
- y = yuv[0][i + j];
- u = yuv[1][(i/2) + (j/2)];
- v = yuv[2][(i/2) + (j/2)];
+ y = yuv[0][(i * width) + j];
+ u = yuv[1][(i/2) * (width/2) + (j/2)];
+ v = yuv[2][(i/2) * (width/2) + (j/2)];
if (y > highpass)
continue;
if ((luma_center - luma_radius) <= y &&
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users