From da446337145dd0f72d339eaee042aef15b31480e Mon Sep 17 00:00:00 2001 From: reimar Date: Wed, 16 Jan 2008 20:36:01 +0000 Subject: Fix OpenGL unsharp filter git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25773 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/gl_common.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libvo') diff --git a/libvo/gl_common.c b/libvo/gl_common.c index 5690b8a94c..fd963409b8 100644 --- a/libvo/gl_common.c +++ b/libvo/gl_common.c @@ -760,9 +760,10 @@ static const char *bicub_x_filt_template_RECT = "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;" -- cgit v1.2.3