#include "dm_services.h"
#include "dce110_transform_v.h"
#include "basics/conversion.h"
#include "dce/dce_11_0_d.h"
#include "dce/dce_11_0_sh_mask.h"
#include "dce/dce_11_0_enum.h"
enum { … };
#define UNDERLAY_CONTRAST_DEFAULT …
#define UNDERLAY_CONTRAST_MAX …
#define UNDERLAY_CONTRAST_MIN …
#define UNDERLAY_CONTRAST_STEP …
#define UNDERLAY_CONTRAST_DIVIDER …
#define UNDERLAY_SATURATION_DEFAULT …
#define UNDERLAY_SATURATION_MIN …
#define UNDERLAY_SATURATION_MAX …
#define UNDERLAY_SATURATION_STEP …
#define UNDERLAY_HUE_DEFAULT …
#define UNDERLAY_HUE_MIN …
#define UNDERLAY_HUE_MAX …
#define UNDERLAY_HUE_STEP …
#define UNDERLAY_HUE_DIVIDER …
#define UNDERLAY_SATURATION_DIVIDER …
#define UNDERLAY_BRIGHTNESS_DEFAULT …
#define UNDERLAY_BRIGHTNESS_MIN …
#define UNDERLAY_BRIGHTNESS_MAX …
#define UNDERLAY_BRIGHTNESS_STEP …
#define UNDERLAY_BRIGHTNESS_DIVIDER …
static const struct out_csc_color_matrix global_color_matrix[] = …;
enum csc_color_mode { … };
enum grph_color_adjust_option { … };
static void program_color_matrix_v(
struct dce_transform *xfm_dce,
const struct out_csc_color_matrix *tbl_entry,
enum grph_color_adjust_option options)
{ … }
static bool configure_graphics_mode_v(
struct dce_transform *xfm_dce,
enum csc_color_mode config,
enum graphics_csc_adjust_type csc_adjust_type,
enum dc_color_space color_space)
{ … }
static void set_Denormalization(struct transform *xfm,
enum dc_color_depth color_depth)
{ … }
struct input_csc_matrix { … };
static const struct input_csc_matrix input_csc_matrix[] = …;
static void program_input_csc(
struct transform *xfm, enum dc_color_space color_space)
{ … }
void dce110_opp_v_set_csc_default(
struct transform *xfm,
const struct default_adjustment *default_adjust)
{ … }
void dce110_opp_v_set_csc_adjustment(
struct transform *xfm,
const struct out_csc_color_matrix *tbl_entry)
{ … }