#ifndef _SUN8I_UI_SCALER_H_
#define _SUN8I_UI_SCALER_H_
#include "sun8i_mixer.h"
#define DE2_UI_SCALER_UNIT_SIZE …
#define DE3_UI_SCALER_UNIT_SIZE …
#define SUN8I_UI_SCALER_SCALE_MIN …
#define SUN8I_UI_SCALER_SCALE_MAX …
#define SUN8I_UI_SCALER_SCALE_FRAC …
#define SUN8I_UI_SCALER_PHASE_FRAC …
#define SUN8I_UI_SCALER_COEFF_COUNT …
#define SUN8I_UI_SCALER_SIZE(w, h) …
#define SUN8I_SCALER_GSU_CTRL(base) …
#define SUN8I_SCALER_GSU_OUTSIZE(base) …
#define SUN8I_SCALER_GSU_INSIZE(base) …
#define SUN8I_SCALER_GSU_HSTEP(base) …
#define SUN8I_SCALER_GSU_VSTEP(base) …
#define SUN8I_SCALER_GSU_HPHASE(base) …
#define SUN8I_SCALER_GSU_VPHASE(base) …
#define SUN8I_SCALER_GSU_HCOEFF(base, index) …
#define SUN8I_SCALER_GSU_CTRL_EN …
#define SUN8I_SCALER_GSU_CTRL_COEFF_RDY …
void sun8i_ui_scaler_enable(struct sun8i_mixer *mixer, int layer, bool enable);
void sun8i_ui_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);
#endif