Mercurial > mplayer.hg
changeset 25745:0d516e7d404e
Fix OpenGL unsharp filter
author | reimar |
---|---|
date | Wed, 16 Jan 2008 20:36:01 +0000 |
parents | 7b9e015bca91 |
children | 330af0160c2d |
files | libvo/gl_common.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/gl_common.c Wed Jan 16 09:30:28 2008 +0000 +++ b/libvo/gl_common.c Wed Jan 16 20:36:01 2008 +0000 @@ -760,9 +760,10 @@ "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;"