Lines Matching defs:min
87 static void get_colors(uint8_t *min, uint8_t *max, uint8_t color4[4][3])
91 color4[0][0] = min[0];
92 color4[0][1] = min[1];
93 color4[0][2] = min[2];
192 * color values. Put the minimum value in min, maximum in max and the channel
196 uint8_t *min, uint8_t *max, channel_offset *chan)
227 *min = min_r;
231 *min = min_g;
235 *min = min_b;
319 int min, int max, int tmp_min, int tmp_max,
333 x_inc = floor( (x - min) * 3.0 / (max - min) + 0.5);
344 lin_x = (int)(min + (max - min) * x_inc / 3.0 + 0.5);
393 // round min and max wider
558 uint8_t min = 0, max = 0;
692 get_max_component_diff(&bi, &src_pixels[block_offset], &min, &max, &chan);
704 min_color[i] = min;
716 tmp_min = (int)(0.5 + min * slope + y_intercept);
720 // clamp min and max color values
725 min, max, tmp_min, tmp_max, chan, i), err);