#include "reg_helper.h"
#include "fixed31_32.h"
#include "resource.h"
#include "dwb.h"
#include "dcn20_dwb.h"
#define NUM_PHASES …
#define HORZ_MAX_TAPS …
#define VERT_MAX_TAPS …
#define REG(reg) …
#define CTX …
#undef FN
#define FN(reg_name, field_name) …
#define TO_DCN20_DWBC(dwbc_base) …
static const uint16_t filter_3tap_16p_upscale[27] = …;
static const uint16_t filter_3tap_16p_117[27] = …;
static const uint16_t filter_3tap_16p_150[27] = …;
static const uint16_t filter_3tap_16p_183[27] = …;
static const uint16_t filter_4tap_16p_upscale[36] = …;
static const uint16_t filter_4tap_16p_117[36] = …;
static const uint16_t filter_4tap_16p_150[36] = …;
static const uint16_t filter_4tap_16p_183[36] = …;
static const uint16_t filter_5tap_16p_upscale[45] = …;
static const uint16_t filter_5tap_16p_117[45] = …;
static const uint16_t filter_5tap_16p_150[45] = …;
static const uint16_t filter_5tap_16p_183[45] = …;
static const uint16_t filter_6tap_16p_upscale[54] = …;
static const uint16_t filter_6tap_16p_117[54] = …;
static const uint16_t filter_6tap_16p_150[54] = …;
static const uint16_t filter_6tap_16p_183[54] = …;
static const uint16_t filter_7tap_16p_upscale[63] = …;
static const uint16_t filter_7tap_16p_117[63] = …;
static const uint16_t filter_7tap_16p_150[63] = …;
static const uint16_t filter_7tap_16p_183[63] = …;
static const uint16_t filter_8tap_16p_upscale[72] = …;
static const uint16_t filter_8tap_16p_117[72] = …;
static const uint16_t filter_8tap_16p_150[72] = …;
static const uint16_t filter_8tap_16p_183[72] = …;
static const uint16_t filter_9tap_16p_upscale[81] = …;
static const uint16_t filter_9tap_16p_117[81] = …;
static const uint16_t filter_9tap_16p_150[81] = …;
static const uint16_t filter_9tap_16p_183[81] = …;
static const uint16_t filter_10tap_16p_upscale[90] = …;
static const uint16_t filter_10tap_16p_117[90] = …;
static const uint16_t filter_10tap_16p_150[90] = …;
static const uint16_t filter_10tap_16p_183[90] = …;
static const uint16_t filter_11tap_16p_upscale[99] = …;
static const uint16_t filter_11tap_16p_117[99] = …;
static const uint16_t filter_11tap_16p_150[99] = …;
static const uint16_t filter_11tap_16p_183[99] = …;
static const uint16_t filter_12tap_16p_upscale[108] = …;
static const uint16_t filter_12tap_16p_117[108] = …;
static const uint16_t filter_12tap_16p_150[108] = …;
static const uint16_t filter_12tap_16p_183[108] = …;
static const uint16_t *wbscl_get_filter_3tap_16p(struct fixed31_32 ratio)
{ … }
static const uint16_t *wbscl_get_filter_4tap_16p(struct fixed31_32 ratio)
{ … }
static const uint16_t *wbscl_get_filter_5tap_16p(struct fixed31_32 ratio)
{ … }
static const uint16_t *wbscl_get_filter_6tap_16p(struct fixed31_32 ratio)
{ … }
static const uint16_t *wbscl_get_filter_7tap_16p(struct fixed31_32 ratio)
{ … }
static const uint16_t *wbscl_get_filter_8tap_16p(struct fixed31_32 ratio)
{ … }
static const uint16_t *wbscl_get_filter_9tap_16p(struct fixed31_32 ratio)
{ … }
static const uint16_t *wbscl_get_filter_10tap_16p(struct fixed31_32 ratio)
{ … }
static const uint16_t *wbscl_get_filter_11tap_16p(struct fixed31_32 ratio)
{ … }
static const uint16_t *wbscl_get_filter_12tap_16p(struct fixed31_32 ratio)
{ … }
static const uint16_t *wbscl_get_filter_coeffs_16p(int taps, struct fixed31_32 ratio)
{ … }
static void wbscl_set_scaler_filter(
struct dcn20_dwbc *dwbc20,
uint32_t taps,
enum wbscl_coef_filter_type_sel filter_type,
const uint16_t *filter)
{ … }
bool dwb_program_horz_scalar(struct dcn20_dwbc *dwbc20,
uint32_t src_width,
uint32_t dest_width,
struct scaling_taps num_taps)
{ … }
bool dwb_program_vert_scalar(struct dcn20_dwbc *dwbc20,
uint32_t src_height,
uint32_t dest_height,
struct scaling_taps num_taps,
enum dwb_subsample_position subsample_position)
{ … }