Home
last modified time | relevance | path

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

/external/qemu/distrib/jpeg-6b/
Djquant2.c144 #define C2_SHIFT (BITS_IN_JSAMPLE-HIST_C2_BITS) macro
241 [GETJSAMPLE(ptr[2]) >> C2_SHIFT]; in prescan_quantize()
406 dist2 = ((c2max - c2min) << C2_SHIFT) * C2_SCALE; in update_box()
453 c2 = ((b1->c2max - b1->c2min) << C2_SHIFT) * C2_SCALE; in median_cut()
527 c2total += ((c2 << C2_SHIFT) + ((1<<C2_SHIFT)>>1)) * count; in compute_color()
556 boxlist[0].c2max = MAXJSAMPLE >> C2_SHIFT; in select_colors()
634 #define BOX_C2_SHIFT (C2_SHIFT + BOX_C2_LOG)
674 maxc2 = minc2 + ((1 << BOX_C2_SHIFT) - (1 << C2_SHIFT)); in find_nearby_colors()
809 #define STEP_C2 ((1 << C2_SHIFT) * C2_SCALE) in find_best_colors()
883 minc2 = (c2 << BOX_C2_SHIFT) + ((1 << C2_SHIFT) >> 1); in fill_inverse_cmap()
[all …]
/external/jpeg/
Djquant2.c144 #define C2_SHIFT (BITS_IN_JSAMPLE-HIST_C2_BITS) macro
241 [GETJSAMPLE(ptr[2]) >> C2_SHIFT]; in prescan_quantize()
406 dist2 = ((c2max - c2min) << C2_SHIFT) * C2_SCALE; in update_box()
453 c2 = ((b1->c2max - b1->c2min) << C2_SHIFT) * C2_SCALE; in median_cut()
527 c2total += ((c2 << C2_SHIFT) + ((1<<C2_SHIFT)>>1)) * count; in compute_color()
556 boxlist[0].c2max = MAXJSAMPLE >> C2_SHIFT; in select_colors()
634 #define BOX_C2_SHIFT (C2_SHIFT + BOX_C2_LOG)
674 maxc2 = minc2 + ((1 << BOX_C2_SHIFT) - (1 << C2_SHIFT)); in find_nearby_colors()
809 #define STEP_C2 ((1 << C2_SHIFT) * C2_SCALE) in find_best_colors()
883 minc2 = (c2 << BOX_C2_SHIFT) + ((1 << C2_SHIFT) >> 1); in fill_inverse_cmap()
[all …]