Home
last modified time | relevance | path

Searched refs:C2_SHIFT (Results 1 – 1 of 1) sorted by relevance

/external/libjpeg-turbo/
Djquant2.c126 #define C2_SHIFT (BITS_IN_JSAMPLE - HIST_C2_BITS) macro
220 [GETJSAMPLE(ptr[2]) >> C2_SHIFT]; in prescan_quantize()
385 dist2 = ((c2max - c2min) << C2_SHIFT) * C2_SCALE; in update_box()
432 c2 = ((b1->c2max - b1->c2min) << C2_SHIFT) * C2_SCALE; in median_cut()
506 c2total += ((c2 << C2_SHIFT) + ((1 << C2_SHIFT) >> 1)) * count; in compute_color()
535 boxlist[0].c2max = MAXJSAMPLE >> C2_SHIFT; in select_colors()
613 #define BOX_C2_SHIFT (C2_SHIFT + BOX_C2_LOG)
653 maxc2 = minc2 + ((1 << BOX_C2_SHIFT) - (1 << C2_SHIFT)); in find_nearby_colors()
788 #define STEP_C2 ((1 << C2_SHIFT) * C2_SCALE) in find_best_colors()
862 minc2 = (c2 << BOX_C2_SHIFT) + ((1 << C2_SHIFT) >> 1); in fill_inverse_cmap()
[all …]