Lines Matching defs:params
106 const struct bit_depth_reduction_params *params)
115 if (params->pixel_encoding == PIXEL_ENCODING_YCBCR422) {
117 if (params->flags.TRUNCATE_DEPTH == 1)
122 else if (params->flags.TRUNCATE_DEPTH == 2)
131 if (params->flags.TRUNCATE_ENABLED == 0)
137 params->flags.TRUNCATE_DEPTH,
139 params->flags.TRUNCATE_MODE);
151 const struct bit_depth_reduction_params *params)
160 if (params->pixel_encoding == PIXEL_ENCODING_YCBCR422) {
162 if (params->flags.TRUNCATE_DEPTH == 1)
166 else if (params->flags.TRUNCATE_DEPTH == 2)
174 if (params->flags.TRUNCATE_ENABLED == 0)
180 params->flags.TRUNCATE_DEPTH);
201 const struct bit_depth_reduction_params *params)
217 if (params->flags.SPATIAL_DITHER_ENABLED == 0)
224 if (params->flags.FRAME_RANDOM == 1) {
225 if (params->flags.SPATIAL_DITHER_DEPTH == 0 ||
226 params->flags.SPATIAL_DITHER_DEPTH == 1) {
230 } else if (params->flags.SPATIAL_DITHER_DEPTH == 2) {
246 FMT_RAND_R_SEED, params->r_seed_value);
249 FMT_RAND_G_SEED, params->g_seed_value);
252 FMT_RAND_B_SEED, params->b_seed_value);
275 FMT_HIGHPASS_RANDOM_ENABLE, params->flags.HIGHPASS_RANDOM,
276 FMT_FRAME_RANDOM_ENABLE, params->flags.FRAME_RANDOM,
277 FMT_RGB_RANDOM_ENABLE, params->flags.RGB_RANDOM);
285 FMT_SPATIAL_DITHER_DEPTH, params->flags.SPATIAL_DITHER_DEPTH,
286 FMT_SPATIAL_DITHER_MODE, params->flags.SPATIAL_DITHER_MODE,
303 const struct bit_depth_reduction_params *params)
321 if (params->flags.FRAME_MODULATION_ENABLED == 0 ||
322 params->flags.FRAME_MODULATION_DEPTH == 2)
327 FMT_TEMPORAL_DITHER_DEPTH, params->flags.FRAME_MODULATION_DEPTH,
342 FMT_TEMPORAL_LEVEL, params->flags.TEMPORAL_LEVEL);
345 FMT_25FRC_SEL, params->flags.FRC25,
346 FMT_50FRC_SEL, params->flags.FRC50,
347 FMT_75FRC_SEL, params->flags.FRC75);
365 const struct clamping_and_pixel_encoding_params *params)
371 switch (params->clamping_level) {
425 const struct clamping_and_pixel_encoding_params *params)
431 switch (params->clamping_level) {
473 const struct clamping_and_pixel_encoding_params *params)
485 if (params->pixel_encoding == PIXEL_ENCODING_YCBCR422) {
490 if (params->pixel_encoding == PIXEL_ENCODING_YCBCR420) {
509 const struct clamping_and_pixel_encoding_params *params)
519 if (params->pixel_encoding == PIXEL_ENCODING_YCBCR422) {
523 if (params->pixel_encoding == PIXEL_ENCODING_YCBCR420) {
534 const struct bit_depth_reduction_params *params)
538 set_truncation(opp110, params);
539 set_spatial_dither(opp110, params);
540 set_temporal_dither(opp110, params);
546 const struct bit_depth_reduction_params *params)
550 dce60_set_truncation(opp110, params);
551 set_spatial_dither(opp110, params);
552 set_temporal_dither(opp110, params);
558 const struct clamping_and_pixel_encoding_params *params)
562 dce110_opp_set_clamping(opp110, params);
563 set_pixel_encoding(opp110, params);
569 const struct clamping_and_pixel_encoding_params *params)
573 dce60_opp_set_clamping(opp110, params);
574 dce60_set_pixel_encoding(opp110, params);