From 81783bceed260a17ccd353038327d168109c2a25 Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 19 Dec 2009 21:08:14 +0000 Subject: Slightly improve vo_gl suboption documentation. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30075 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/man/en/mplayer.1 | 13 ++++++++++--- libvo/vo_gl.c | 4 ++-- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/DOCS/man/en/mplayer.1 b/DOCS/man/en/mplayer.1 index 80f85a3069..f8bd228b8b 100644 --- a/DOCS/man/en/mplayer.1 +++ b/DOCS/man/en/mplayer.1 @@ -3839,6 +3839,9 @@ Values below 0 will leave it at the system default. This limits the framerate to (horizontal refresh rate / n). Requires GLX_SGI_swap_control support to work. With some (most/all?) implementations this only works in fullscreen mode. +.IPs ycbcr +Use the GL_MESA_ycbcr_texture extension to convert YUV to RGB. +In most cases this is probably slower than doing software conversion to RGB. .IPs yuv= Select the type of YUV to RGB conversion. .RSss @@ -3882,9 +3885,6 @@ Provides brightness, contrast, saturation, hue and gamma control. Gamma can also be set independently for red, green and blue. Speed depends more on GPU memory bandwidth than other methods. .RE -.IPs ycbcr -Use the GL_MESA_ycbcr_texture extension to convert YUV to RGB. -In most cases this is probably slower than doing software conversion to RGB. .IPs lscale= Select the scaling function to use for luminance scaling. Only valid for yuv modes 2, 3, 4 and 6. @@ -3922,6 +3922,13 @@ for customtex texture. .IPs (no)customtrect If enabled, use texture_rectangle for customtex texture. Default is disabled. +.IPs (no)mipmapgen +If enabled, mipmaps for the video are automatically generated. +This should be useful together with the customprog and the TXB +instruction to implement blur filters with a large radius. +For most OpenGL implementations this is very slow for any non-RGB +formats. +Default is disabled. .RE .sp 1 .RS diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c index 95b182912e..712c0439ec 100644 --- a/libvo/vo_gl.c +++ b/libvo/vo_gl.c @@ -1067,6 +1067,8 @@ static int preinit(const char *arg) " Interval in displayed frames between to buffer swaps.\n" " 1 is equivalent to enable VSYNC, 0 to disable VSYNC.\n" " Requires GLX_SGI_swap_control support to work.\n" + " ycbcr\n" + " also try to use the GL_MESA_ycbcr_texture extension\n" " yuv=\n" " 0: use software YUV to RGB conversion.\n" " 1: use register combiners (nVidia only, for older cards).\n" @@ -1098,8 +1100,6 @@ static int preinit(const char *arg) " generate mipmaps for the video image (use with TXB in customprog)\n" " osdcolor=<0xAARRGGBB>\n" " use the given color for the OSD\n" - " ycbcr\n" - " also try to use the GL_MESA_ycbcr_texture extension\n" "\n" ); return -1; } -- cgit v1.2.3