Go to the documentation of this file.
21 #ifndef SWSCALE_FILTERS_H
22 #define SWSCALE_FILTERS_H
int filter_size
The number of source texels to convolve over for each row.
int src_size
The relative sizes of the input and output images.
Represents a computed filter kernel.
int * offsets
The computed source pixel positions for each row of the filter.
@ SWS_FILTER_SCALE
14-bit coefficients are picked to fit comfortably within int16_t for efficient SIMD processing (e....
int src_size
Copy of the parameters used to generate this filter, for reference.
int ff_sws_filter_generate(void *log_ctx, const SwsFilterParams *params, SwsFilterWeights **out)
Generate a filter kernel for the given parameters.
char name[16]
Extra metadata about the filter, used to inform the optimizer / range tracker about the filter's beha...
double scaler_params[SWS_NUM_SCALER_PARAMS]
#define SWS_NUM_SCALER_PARAMS
Extra parameters for fine-tuning certain scalers.
SwsScaler scaler
The filter kernel and parameters to use.
int * weights
The computed look-up table (LUT).