Lines Matching defs:params

47  * @params: pointer to bit_depth_reduction_params.
51 const struct bit_depth_reduction_params *params)
54 FMT_TRUNCATE_EN, params->flags.TRUNCATE_ENABLED,
55 FMT_TRUNCATE_DEPTH, params->flags.TRUNCATE_DEPTH,
56 FMT_TRUNCATE_MODE, params->flags.TRUNCATE_MODE);
61 const struct bit_depth_reduction_params *params)
75 if (params->flags.FRAME_RANDOM == 1) {
76 if (params->flags.SPATIAL_DITHER_DEPTH == 0 || params->flags.SPATIAL_DITHER_DEPTH == 1) {
80 } else if (params->flags.SPATIAL_DITHER_DEPTH == 2) {
97 FMT_RAND_R_SEED, params->r_seed_value);
100 FMT_RAND_G_SEED, params->g_seed_value);
103 FMT_RAND_B_SEED, params->b_seed_value);
123 FMT_SPATIAL_DITHER_EN, params->flags.SPATIAL_DITHER_ENABLED,
127 FMT_SPATIAL_DITHER_MODE, params->flags.SPATIAL_DITHER_MODE,
129 FMT_SPATIAL_DITHER_DEPTH, params->flags.SPATIAL_DITHER_DEPTH,
131 FMT_HIGHPASS_RANDOM_ENABLE, params->flags.HIGHPASS_RANDOM,
133 FMT_FRAME_RANDOM_ENABLE, params->flags.FRAME_RANDOM,
135 FMT_RGB_RANDOM_ENABLE, params->flags.RGB_RANDOM);
140 const struct bit_depth_reduction_params *params)
144 opp1_set_truncation(oppn10, params);
145 opp1_set_spatial_dither(oppn10, params);
147 * set_temporal_dither(oppn10, params);
157 * @params: pointer to clamping_and_pixel_encoding_params.
161 const struct clamping_and_pixel_encoding_params *params)
163 switch (params->pixel_encoding) {
193 * @params: pointer to clamping_and_pixel_encoding_params.
197 const struct clamping_and_pixel_encoding_params *params)
203 switch (params->clamping_level) {
278 const struct clamping_and_pixel_encoding_params *params)
282 opp1_set_clamping(oppn10, params);
283 opp1_set_pixel_encoding(oppn10, params);