#include "sun8i_vi_scaler.h"
static const u32 lan3coefftab32_left[480] = …;
static const u32 lan3coefftab32_right[480] = …;
static const u32 lan2coefftab32[480] = …;
static const u32 bicubic8coefftab32_left[480] = …;
static const u32 bicubic8coefftab32_right[480] = …;
static const u32 bicubic4coefftab32[480] = …;
static u32 sun8i_vi_scaler_base(struct sun8i_mixer *mixer, int channel)
{ … }
static int sun8i_vi_scaler_coef_index(unsigned int step)
{ … }
static void sun8i_vi_scaler_set_coeff(struct regmap *map, u32 base,
u32 hstep, u32 vstep,
const struct drm_format_info *format)
{ … }
void sun8i_vi_scaler_enable(struct sun8i_mixer *mixer, int layer, bool enable)
{ … }
void sun8i_vi_scaler_setup(struct sun8i_mixer *mixer, int layer,
u32 src_w, u32 src_h, u32 dst_w, u32 dst_h,
u32 hscale, u32 vscale, u32 hphase, u32 vphase,
const struct drm_format_info *format)
{ … }