/* * Copyright (C) 2017 Jernej Skrabec <[email protected]> * * Coefficients are taken from BSP driver, which is: * Copyright (C) 2014-2015 Allwinner * * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied. */ #include "sun8i_ui_scaler.h" #include "sun8i_vi_scaler.h" static const u32 lan2coefftab16[240] = …; static u32 sun8i_ui_scaler_base(struct sun8i_mixer *mixer, int channel) { … } static int sun8i_ui_scaler_coef_index(unsigned int step) { … } 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) { … }