Represents a computed filter kernel.
More...
#include <filters.h>
Represents a computed filter kernel.
Definition at line 101 of file filters.h.
◆ filter_size
| int SwsFilterWeights::filter_size |
The number of source texels to convolve over for each row.
Definition at line 105 of file filters.h.
◆ weights
| int* SwsFilterWeights::weights |
The computed look-up table (LUT).
This is interpreted as a 2D array with dimensions [dst_height][row_size]. The inner rows contain the row_size samples to convolve with the corresponding input pixels. The outer coordinate is indexed by the position of the sample to reconstruct.
Definition at line 113 of file filters.h.
◆ num_weights
| size_t SwsFilterWeights::num_weights |
◆ offsets
| int* SwsFilterWeights::offsets |
The computed source pixel positions for each row of the filter.
This indexes into the source image, and gives the position of the first source pixel to convolve with for each entry.
Definition at line 121 of file filters.h.
◆ src_size
| int SwsFilterWeights::src_size |
Copy of the parameters used to generate this filter, for reference.
Definition at line 126 of file filters.h.
◆ dst_size
| int SwsFilterWeights::dst_size |
◆ virtual_size
| double SwsFilterWeights::virtual_size |
◆ offset
| double SwsFilterWeights::offset |
◆ name
| char SwsFilterWeights::name[16] |
Extra metadata about the filter, used to inform the optimizer / range tracker about the filter's behavior.
Definition at line 135 of file filters.h.
◆ sum_positive
| int SwsFilterWeights::sum_positive |
◆ sum_negative
| int SwsFilterWeights::sum_negative |
The documentation for this struct was generated from the following file: