openbsd-ports/x11/mplayer/patches/patch-libpostproc_postprocess_template_c
jakemsr d11f853ac6 maintenence update to mplayer-1.0rc2
ok biorn@ (MAINTAINER), ajacoutot@, brad@
2008-02-08 17:32:41 +00:00

37 lines
1.7 KiB
Plaintext

$OpenBSD: patch-libpostproc_postprocess_template_c,v 1.1 2008/02/08 17:32:42 jakemsr Exp $
--- libpostproc/postprocess_template.c.orig Mon Jan 21 16:47:04 2008
+++ libpostproc/postprocess_template.c Mon Jan 21 16:47:55 2008
@@ -3747,7 +3747,7 @@ static void RENAME(postProcess)(uint8_t src[], int src
//FIXME filter first line
if(y>0) RENAME(dering)(dstBlock - stride - 8, stride, &c);
}
-
+#if 0
if(mode & TEMP_NOISE_FILTER)
{
RENAME(tempNoiseReducer)(dstBlock-8, stride,
@@ -3755,6 +3755,7 @@ static void RENAME(postProcess)(uint8_t src[], int src
c.tempBluredPast[isColor] + (y>>3)*256 + (x>>3),
c.ppMode.maxTmpNoise);
}
+#endif
}
dstBlock+=8;
@@ -3772,6 +3773,7 @@ static void RENAME(postProcess)(uint8_t src[], int src
if(y > 0) RENAME(dering)(dstBlock - dstStride - 8, dstStride, &c);
}
+#if 0
if((mode & TEMP_NOISE_FILTER))
{
RENAME(tempNoiseReducer)(dstBlock-8, dstStride,
@@ -3779,6 +3781,7 @@ static void RENAME(postProcess)(uint8_t src[], int src
c.tempBluredPast[isColor] + (y>>3)*256 + (x>>3),
c.ppMode.maxTmpNoise);
}
+#endif
/* did we use a tmp buffer for the last lines*/
if(y+15 >= height)