summaryrefslogtreecommitdiffstats
path: root/video/fmt-conversion.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-12-08 17:08:26 +0100
committerwm4 <wm4@nowhere>2014-12-08 17:08:26 +0100
commit08e9bbe3dd4f928232fd81d8fcf796fe81fecbbe (patch)
treea9df8272d0f5cd95b1488c3aced1dce6cbf8e040 /video/fmt-conversion.c
parent9c484cb080330d131e5a0b0049492f3583f463ff (diff)
downloadmpv-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