1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-28 02:23:06 +00:00

Slightly improve vo_gl suboption documentation.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30075 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2009-12-19 21:08:14 +00:00
parent 763402d423
commit 81783bceed
2 changed files with 12 additions and 5 deletions

View File

@ -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=<n>
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=<n>
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

View File

@ -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>\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;
}