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