mirror of
https://github.com/mpv-player/mpv
synced 2024-12-11 01:16:45 +00:00
Fix OpenGL unsharp filter
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25773 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
7b83b07bea
commit
da44633714
@ -760,9 +760,10 @@ static const char *bicub_x_filt_template_RECT =
|
|||||||
"TEX a.r, fragment.texcoord[%c], texture[%c], "textype";" \
|
"TEX a.r, fragment.texcoord[%c], texture[%c], "textype";" \
|
||||||
"TEX b.r, coord.xyxy, texture[%c], "textype";" \
|
"TEX b.r, coord.xyxy, texture[%c], "textype";" \
|
||||||
"TEX b.g, coord.zwzw, 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.b, coord2.xyxy, texture[%c], "textype";" \
|
||||||
"TEX b.a, coord2.zwzw, texture[%c], "textype";" \
|
"TEX b.g, coord2.zwzw, texture[%c], "textype";" \
|
||||||
"DP4 b, b, {0.25, 0.25, 0.25, 0.25};" \
|
"DP3 b, b, {0.25, 0.25, 0.25};" \
|
||||||
"SUB b.r, a.r, b.r;" \
|
"SUB b.r, a.r, b.r;" \
|
||||||
"MAD yuv.%c, b.r, %s, a.r;"
|
"MAD yuv.%c, b.r, %s, a.r;"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user