Home
last modified time | relevance | path

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

/external/jpeg/
Djquant2.c143 #define C1_SHIFT (BITS_IN_JSAMPLE-HIST_C1_BITS) macro
240 [GETJSAMPLE(ptr[1]) >> C1_SHIFT] in prescan_quantize()
405 dist1 = ((c1max - c1min) << C1_SHIFT) * C1_SCALE; in update_box()
452 c1 = ((b1->c1max - b1->c1min) << C1_SHIFT) * C1_SCALE; in median_cut()
526 c1total += ((c1 << C1_SHIFT) + ((1<<C1_SHIFT)>>1)) * count; in compute_color()
554 boxlist[0].c1max = MAXJSAMPLE >> C1_SHIFT; in select_colors()
633 #define BOX_C1_SHIFT (C1_SHIFT + BOX_C1_LOG)
672 maxc1 = minc1 + ((1 << BOX_C1_SHIFT) - (1 << C1_SHIFT)); in find_nearby_colors()
808 #define STEP_C1 ((1 << C1_SHIFT) * C1_SCALE) in find_best_colors()
882 minc1 = (c1 << BOX_C1_SHIFT) + ((1 << C1_SHIFT) >> 1); in fill_inverse_cmap()
[all …]