#include "dce110_transform_v.h"
#include "dm_services.h"
#include "dc.h"
#include "dce/dce_11_0_d.h"
#include "dce/dce_11_0_sh_mask.h"
#define SCLV_PHASES …
#define DC_LOGGER …
struct sclv_ratios_inits { … };
static void calculate_viewport(
const struct scaler_data *scl_data,
struct rect *luma_viewport,
struct rect *chroma_viewport)
{ … }
static void program_viewport(
struct dce_transform *xfm_dce,
struct rect *luma_view_port,
struct rect *chroma_view_port)
{ … }
static bool setup_scaling_configuration(
struct dce_transform *xfm_dce,
const struct scaler_data *data)
{ … }
static void program_overscan(
struct dce_transform *xfm_dce,
const struct scaler_data *data)
{ … }
static void set_coeff_update_complete(
struct dce_transform *xfm_dce)
{ … }
static void program_multi_taps_filter(
struct dce_transform *xfm_dce,
int taps,
const uint16_t *coeffs,
enum ram_filter_type filter_type)
{ … }
static void calculate_inits(
struct dce_transform *xfm_dce,
const struct scaler_data *data,
struct sclv_ratios_inits *inits,
struct rect *luma_viewport,
struct rect *chroma_viewport)
{ … }
static void program_scl_ratios_inits(
struct dce_transform *xfm_dce,
struct sclv_ratios_inits *inits)
{ … }
static const uint16_t *get_filter_coeffs_64p(int taps, struct fixed31_32 ratio)
{ … }
static bool dce110_xfmv_power_up_line_buffer(struct transform *xfm)
{ … }
static void dce110_xfmv_set_scaler(
struct transform *xfm,
const struct scaler_data *data)
{ … }
static void dce110_xfmv_reset(struct transform *xfm)
{ … }
static void dce110_xfmv_set_gamut_remap(
struct transform *xfm,
const struct xfm_grph_csc_adjustment *adjust)
{ … }
static void dce110_xfmv_set_pixel_storage_depth(
struct transform *xfm,
enum lb_pixel_depth depth,
const struct bit_depth_reduction_params *bit_depth_params)
{ … }
static const struct transform_funcs dce110_xfmv_funcs = …;
bool dce110_transform_v_construct(
struct dce_transform *xfm_dce,
struct dc_context *ctx)
{ … }