linux/drivers/gpu/drm/sun4i/sun8i_vi_scaler.c

/*
 * 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_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)
{}