Home
last modified time | relevance | path

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

/external/jpeg/
Djquant2.c142 #define C0_SHIFT (BITS_IN_JSAMPLE-HIST_C0_BITS) macro
239 histp = & histogram[GETJSAMPLE(ptr[0]) >> C0_SHIFT] in prescan_quantize()
404 dist0 = ((c0max - c0min) << C0_SHIFT) * C0_SCALE; in update_box()
451 c0 = ((b1->c0max - b1->c0min) << C0_SHIFT) * C0_SCALE; in median_cut()
525 c0total += ((c0 << C0_SHIFT) + ((1<<C0_SHIFT)>>1)) * count; in compute_color()
552 boxlist[0].c0max = MAXJSAMPLE >> C0_SHIFT; in select_colors()
632 #define BOX_C0_SHIFT (C0_SHIFT + BOX_C0_LOG)
670 maxc0 = minc0 + ((1 << BOX_C0_SHIFT) - (1 << C0_SHIFT)); in find_nearby_colors()
807 #define STEP_C0 ((1 << C0_SHIFT) * C0_SCALE) in find_best_colors()
881 minc0 = (c0 << BOX_C0_SHIFT) + ((1 << C0_SHIFT) >> 1); in fill_inverse_cmap()
[all …]