diff options
Diffstat (limited to 'video/out/filter_kernels.h')
-rw-r--r-- | video/out/filter_kernels.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/video/out/filter_kernels.h b/video/out/filter_kernels.h index fc90a1cdde..74cc3eb148 100644 --- a/video/out/filter_kernels.h +++ b/video/out/filter_kernels.h @@ -34,7 +34,10 @@ struct filter_kernel { bool polar; // whether or not the filter uses polar coordinates // The following values are set by mp_init_filter() at runtime. int size; // number of coefficients (may depend on radius) - double inv_scale; // scale factor (<1.0 is upscale, >1.0 downscale) + double filter_scale; // Factor to convert the mathematical filter + // function radius to the possibly wider + // (in the case of downsampling) filter sample + // radius. }; extern const struct filter_window mp_filter_windows[]; |