summaryrefslogtreecommitdiffstats
path: root/video/out/filter_kernels.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/filter_kernels.h')
-rw-r--r--video/out/filter_kernels.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/filter_kernels.h b/video/out/filter_kernels.h
index dd9672a256..b8b2f672fb 100644
--- a/video/out/filter_kernels.h
+++ b/video/out/filter_kernels.h
@@ -29,17 +29,17 @@ struct filter_kernel {
struct filter_window f; // the kernel itself
struct filter_window w; // window storage
double clamp; // clamping factor, affects negative weights
- double value_cutoff; // discard all contributions below this value (polar)
// Constant values
const char *window; // default window
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 radius; // true filter radius, derived from f.radius and f.blur
double filter_scale; // Factor to convert the mathematical filter
// function radius to the possibly wider
// (in the case of downsampling) filter sample
// radius.
- double radius_cutoff; // the true radius at which we can cut off the filter
+ double radius_cutoff; // the radius at which we can cut off the filter
};
extern const struct filter_window mp_filter_windows[];