• Home
  • Raw
  • Download

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