summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--DOCS/man/vo.rst4
-rw-r--r--video/out/opengl/video.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/DOCS/man/vo.rst b/DOCS/man/vo.rst
index 56339f1468..f4f78c491f 100644
--- a/DOCS/man/vo.rst
+++ b/DOCS/man/vo.rst
@@ -432,9 +432,9 @@ Available video output drivers are:
Defaults to 1.
``scaler-lut-size=<4..10>``
- Set the size of the lookup texture for scaler kernels (default: 8).
+ Set the size of the lookup texture for scaler kernels (default: 6).
The actual size of the texture is ``2^N`` for an option value of ``N``.
- So the lookup texture with the default setting uses 256 samples.
+ So the lookup texture with the default setting uses 64 samples.
All weights are bilinearly interpolated from those samples, so
increasing the size of lookup table might improve the accuracy of
diff --git a/video/out/opengl/video.c b/video/out/opengl/video.c
index 0fdc4df0a2..790ced1e42 100644
--- a/video/out/opengl/video.c
+++ b/video/out/opengl/video.c
@@ -345,7 +345,7 @@ const struct gl_video_opts gl_video_opts_def = {
{{"mitchell", .params={NAN, NAN}}, {.params = {NAN, NAN}},
.clamp = 1, }, // tscale
},
- .scaler_lut_size = 8,
+ .scaler_lut_size = 6,
.alpha_mode = 2,
.background = {0, 0, 0, 255},
.gamma = 1.0f,
@@ -369,7 +369,7 @@ const struct gl_video_opts gl_video_opts_hq_def = {
{{"mitchell", .params={NAN, NAN}}, {.params = {NAN, NAN}},
.clamp = 1, }, // tscale
},
- .scaler_lut_size = 8,
+ .scaler_lut_size = 6,
.alpha_mode = 2,
.background = {0, 0, 0, 255},
.gamma = 1.0f,