summaryrefslogtreecommitdiffstats
path: root/video/out/filter_kernels.h
diff options
context:
space:
mode:
authorNicholas J. Kain <nicholas@kain.us>2017-03-03 23:35:22 -0500
committerRostislav Pehlivanov <atomnuker@gmail.com>2017-03-06 03:31:35 +0000
commit69cc9f2a2c970610df0ea961998d494f69ef73c0 (patch)
tree930afe718e043bf806663f1cd63f3bc05ef6baaf /video/out/filter_kernels.h
parent85c8556eef9ccdb6b172f64a0016bc16f8a092fb (diff)
downloadmpv-69cc9f2a2c970610df0ea961998d494f69ef73c0.tar.bz2
mpv-69cc9f2a2c970610df0ea961998d494f69ef73c0.tar.xz
filter_kernels: Apply blur/taper before culling radius.
Modifications to the input coordinates should all be performed before the final range check against the filter boundaries. However, in the existing code, the blur/taper is applied after the filter radius check is performed. Thus, effectively the filter radius cutoff is applied to only-downscaling-metric-modified coordinates, not the final coordinates. Correct this issue and restructure the returns a bit to make it more obvious what is being done.
Diffstat (limited to 'video/out/filter_kernels.h')
0 files changed, 0 insertions, 0 deletions