summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-22 20:08:47 +0100
committerwm4 <wm4@nowhere>2015-01-22 20:08:47 +0100
commit2575c01c77819f82ada1fee5c1fea9a4931e4aa7 (patch)
treed51a69c76f9f2dd86b39ce21f589c9e04364f9ff
parente872852bcb7d672750292d8de82f2156f59fc20b (diff)
downloadmpv-2575c01c77819f82ada1fee5c1fea9a4931e4aa7.tar.bz2
mpv-2575c01c77819f82ada1fee5c1fea9a4931e4aa7.tar.xz
filter_kernels: improve a comment
It's not true anymore that the size necessarily depends on the radius.
-rw-r--r--video/out/filter_kernels.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/video/out/filter_kernels.h b/video/out/filter_kernels.h
index 3b12fcfe57..b2e07863fd 100644
--- a/video/out/filter_kernels.h
+++ b/video/out/filter_kernels.h
@@ -31,9 +31,8 @@ struct filter_kernel {
// Whether or not the filter uses polar coordinates
bool polar;
// The following values are set by mp_init_filter() at runtime.
- // Number of coefficients; equals the rounded up radius multiplied with 2.
- int size;
- double inv_scale;
+ int size; // number of coefficients (may depend on radius)
+ double inv_scale; // scale factor (<1.0 is upscale, >1.0 downscale)
};
extern const struct filter_kernel mp_filter_kernels[];