mirror of
https://github.com/mpv-player/mpv
synced 2025-02-09 00:17:07 +00:00
filter_kernels: improve a comment
It's not true anymore that the size necessarily depends on the radius.
This commit is contained in:
parent
e872852bcb
commit
2575c01c77
@ -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[];
|
||||
|
Loading…
Reference in New Issue
Block a user