Home
last modified time | relevance | path

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

/external/libjpeg-turbo/
Djquant2.c124 #define C0_SHIFT (BITS_IN_JSAMPLE-HIST_C0_BITS) macro
218 histp = & histogram[GETJSAMPLE(ptr[0]) >> C0_SHIFT] in prescan_quantize()
383 dist0 = ((c0max - c0min) << C0_SHIFT) * C0_SCALE; in update_box()
430 c0 = ((b1->c0max - b1->c0min) << C0_SHIFT) * C0_SCALE; in median_cut()
505 c0total += ((c0 << C0_SHIFT) + ((1<<C0_SHIFT)>>1)) * count; in compute_color()
532 boxlist[0].c0max = MAXJSAMPLE >> C0_SHIFT; in select_colors()
612 #define BOX_C0_SHIFT (C0_SHIFT + BOX_C0_LOG)
650 maxc0 = minc0 + ((1 << BOX_C0_SHIFT) - (1 << C0_SHIFT)); in find_nearby_colors()
787 #define STEP_C0 ((1 << C0_SHIFT) * C0_SCALE) in find_best_colors()
861 minc0 = (c0 << BOX_C0_SHIFT) + ((1 << C0_SHIFT) >> 1); in fill_inverse_cmap()
[all …]