[MPlayer-cvslog] r25773 - trunk/libvo/gl_common.c

reimar subversion at mplayerhq.hu
Wed Jan 16 21:36:01 CET 2008


Author: reimar
Date: Wed Jan 16 21:36:01 2008
New Revision: 25773

Log:
Fix OpenGL unsharp filter


Modified:
   trunk/libvo/gl_common.c

Modified: trunk/libvo/gl_common.c
==============================================================================
--- trunk/libvo/gl_common.c	(original)
+++ trunk/libvo/gl_common.c	Wed Jan 16 21:36:01 2008
@@ -760,9 +760,10 @@ static const char *bicub_x_filt_template
   "TEX a.r, fragment.texcoord[%c], texture[%c], "textype";" \
   "TEX b.r, coord.xyxy, texture[%c], "textype";" \
   "TEX b.g, coord.zwzw, texture[%c], "textype";" \
+  "ADD b.r, b.r, b.g;" \
   "TEX b.b, coord2.xyxy, texture[%c], "textype";" \
-  "TEX b.a, coord2.zwzw, texture[%c], "textype";" \
-  "DP4 b, b, {0.25, 0.25, 0.25, 0.25};" \
+  "TEX b.g, coord2.zwzw, texture[%c], "textype";" \
+  "DP3 b, b, {0.25, 0.25, 0.25};" \
   "SUB b.r, a.r, b.r;" \
   "MAD yuv.%c, b.r, %s, a.r;"
 



More information about the MPlayer-cvslog mailing list