From 2575c01c77819f82ada1fee5c1fea9a4931e4aa7 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 22 Jan 2015 20:08:47 +0100 Subject: filter_kernels: improve a comment It's not true anymore that the size necessarily depends on the radius. --- video/out/filter_kernels.h | 5 ++--- 1 file 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[]; -- cgit v1.2.3