diff options
author | Bin Jin <bjin1990@gmail.com> | 2015-12-06 16:22:41 +0000 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-12-07 23:48:40 +0100 |
commit | c569d4f6ed7f8395d8c399bde048234065f0c65a (patch) | |
tree | 6ac6d402c07fd3189f13d7618edf46f60f309c37 /video | |
parent | e6058d3dc30ca8160ebeb8bba562ba08574164bb (diff) |
vo_opengl: decrease default lookup texture size to 64
It turns out that with accurate lookup we can decrease the
default size of texture now. Do it to compensate the performance
loss introduced by the LUT_POS macro.
Diffstat (limited to 'video')
-rw-r--r-- | video/out/opengl/video.c | 4 |
1 files changed, 2 insertions, 2 deletions
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, |