Lines Matching refs:params

106 		const struct bit_depth_reduction_params *params)  in set_truncation()  argument
115 if (params->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in set_truncation()
117 if (params->flags.TRUNCATE_DEPTH == 1) in set_truncation()
122 else if (params->flags.TRUNCATE_DEPTH == 2) in set_truncation()
131 if (params->flags.TRUNCATE_ENABLED == 0) in set_truncation()
137 params->flags.TRUNCATE_DEPTH, in set_truncation()
139 params->flags.TRUNCATE_MODE); in set_truncation()
160 const struct bit_depth_reduction_params *params) in set_spatial_dither() argument
177 if (params->flags.SPATIAL_DITHER_ENABLED == 0 || in set_spatial_dither()
178 params->flags.SPATIAL_DITHER_DEPTH == 2) in set_spatial_dither()
185 if (params->flags.FRAME_RANDOM == 1) { in set_spatial_dither()
186 if (params->flags.SPATIAL_DITHER_DEPTH == 0 || in set_spatial_dither()
187 params->flags.SPATIAL_DITHER_DEPTH == 1) { in set_spatial_dither()
191 } else if (params->flags.SPATIAL_DITHER_DEPTH == 2) { in set_spatial_dither()
207 FMT_RAND_R_SEED, params->r_seed_value); in set_spatial_dither()
210 FMT_RAND_G_SEED, params->g_seed_value); in set_spatial_dither()
213 FMT_RAND_B_SEED, params->b_seed_value); in set_spatial_dither()
236 FMT_HIGHPASS_RANDOM_ENABLE, params->flags.HIGHPASS_RANDOM, in set_spatial_dither()
237 FMT_FRAME_RANDOM_ENABLE, params->flags.FRAME_RANDOM, in set_spatial_dither()
238 FMT_RGB_RANDOM_ENABLE, params->flags.RGB_RANDOM); in set_spatial_dither()
246 FMT_SPATIAL_DITHER_DEPTH, params->flags.SPATIAL_DITHER_DEPTH, in set_spatial_dither()
247 FMT_SPATIAL_DITHER_MODE, params->flags.SPATIAL_DITHER_MODE, in set_spatial_dither()
264 const struct bit_depth_reduction_params *params) in set_temporal_dither() argument
282 if (params->flags.FRAME_MODULATION_ENABLED == 0 || in set_temporal_dither()
283 params->flags.FRAME_MODULATION_DEPTH == 2) in set_temporal_dither()
288 FMT_TEMPORAL_DITHER_DEPTH, params->flags.FRAME_MODULATION_DEPTH, in set_temporal_dither()
303 FMT_TEMPORAL_LEVEL, params->flags.TEMPORAL_LEVEL); in set_temporal_dither()
306 FMT_25FRC_SEL, params->flags.FRC25, in set_temporal_dither()
307 FMT_50FRC_SEL, params->flags.FRC50, in set_temporal_dither()
308 FMT_75FRC_SEL, params->flags.FRC75); in set_temporal_dither()
326 const struct clamping_and_pixel_encoding_params *params) in dce110_opp_set_clamping() argument
332 switch (params->clamping_level) { in dce110_opp_set_clamping()
383 const struct clamping_and_pixel_encoding_params *params) in set_pixel_encoding() argument
395 if (params->pixel_encoding == PIXEL_ENCODING_YCBCR422) { in set_pixel_encoding()
400 if (params->pixel_encoding == PIXEL_ENCODING_YCBCR420) { in set_pixel_encoding()
411 const struct bit_depth_reduction_params *params) in dce110_opp_program_bit_depth_reduction() argument
415 set_truncation(opp110, params); in dce110_opp_program_bit_depth_reduction()
416 set_spatial_dither(opp110, params); in dce110_opp_program_bit_depth_reduction()
417 set_temporal_dither(opp110, params); in dce110_opp_program_bit_depth_reduction()
422 const struct clamping_and_pixel_encoding_params *params) in dce110_opp_program_clamping_and_pixel_encoding() argument
426 dce110_opp_set_clamping(opp110, params); in dce110_opp_program_clamping_and_pixel_encoding()
427 set_pixel_encoding(opp110, params); in dce110_opp_program_clamping_and_pixel_encoding()