[MPlayer-dev-eng] [PATCH] improve quality of OpenGL output

wbrana at gmail.com wbrana at gmail.com
Sat Sep 12 17:44:25 CEST 2009


patch makes OpenGL output to use ARB_precision_hint_nicest
instead of ARB_precision_hint_fastest to improve image quality
-------------- next part --------------
Index: libvo/gl_common.c
===================================================================
--- libvo/gl_common.c	(revision 29672)
+++ libvo/gl_common.c	(working copy)
@@ -1186,7 +1186,7 @@
   int rect = params->target == GL_TEXTURE_RECTANGLE;
   static const char prog_hdr[] =
     "!!ARBfp1.0\n"
-    "OPTION ARB_precision_hint_fastest;"
+    "OPTION ARB_precision_hint_nicest;"
     // all scaler variables must go here so they aren't defined
     // multiple times when the same scaler is used more than once
     "TEMP coord, coord2, cdelta, parmx, parmy, a, b, yuv;";


More information about the MPlayer-dev-eng mailing list