diff options
author | wm4 <wm4@nowhere> | 2014-12-08 17:08:26 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-12-08 17:08:26 +0100 |
commit | 08e9bbe3dd4f928232fd81d8fcf796fe81fecbbe (patch) | |
tree | a9df8272d0f5cd95b1488c3aced1dce6cbf8e040 /video/fmt-conversion.c | |
parent | 9c484cb080330d131e5a0b0049492f3583f463ff (diff) | |
download | mpv-08e9bbe3dd4f928232fd81d8fcf796fe81fecbbe.tar.bz2 mpv-08e9bbe3dd4f928232fd81d8fcf796fe81fecbbe.tar.xz |
vo_opengl: use all filter sizes possible with the shaders
Not all filter sizes the shaders could handle were in the filter_sizes
list. The shader can handle any multiple of 4 (the sizes 2 and 6 are
special-cased to keep it simple).
Add all possible filter sizes, up to 64. 64 is ridiculously high anyway.
Most of the larger filter sizes are completely useless for upscaling,
but help with the fancy-downscaling option. (Although it would still be
more efficient to use cascaded scalers to handle downscaling better.)
I considered doing something less stupid than the hardcoded array, but
it seems this is still the simplest solution.
Diffstat (limited to 'video/fmt-conversion.c')
0 files changed, 0 insertions, 0 deletions