/dports/multimedia/mpeg_encode/mpeg_encode/jpeg/ |
H A D | jquant2.c | 142 #define C0_SHIFT (BITS_IN_JSAMPLE-HIST_C0_BITS) macro 233 histp = & histogram[GETJSAMPLE(ptr[0]) >> C0_SHIFT] in prescan_quantize() 398 dist0 = ((c0max - c0min) << C0_SHIFT) * C0_SCALE; in update_box() 445 c0 = ((b1->c0max - b1->c0min) << C0_SHIFT) * C0_SCALE; in median_cut() 519 c0total += ((c0 << C0_SHIFT) + ((1<<C0_SHIFT)>>1)) * count; in compute_color() 547 boxlist[0].c0max = MAXJSAMPLE >> C0_SHIFT; in select_colors() 627 #define BOX_C0_SHIFT (C0_SHIFT + BOX_C0_LOG) 665 maxc0 = minc0 + ((1 << BOX_C0_SHIFT) - (1 << C0_SHIFT)); in find_nearby_colors() 802 #define STEP_C0 ((1 << C0_SHIFT) * C0_SCALE) in find_best_colors() 876 minc0 = (c0 << BOX_C0_SHIFT) + ((1 << C0_SHIFT) >> 1); in fill_inverse_cmap() [all …]
|
/dports/graphics/xv/xv-3.10a/jpeg/ |
H A D | jquant2.c | 142 #define C0_SHIFT (BITS_IN_JSAMPLE-HIST_C0_BITS) macro 233 histp = & histogram[GETJSAMPLE(ptr[0]) >> C0_SHIFT] in prescan_quantize() 398 dist0 = ((c0max - c0min) << C0_SHIFT) * C0_SCALE; in update_box() 445 c0 = ((b1->c0max - b1->c0min) << C0_SHIFT) * C0_SCALE; in median_cut() 519 c0total += ((c0 << C0_SHIFT) + ((1<<C0_SHIFT)>>1)) * count; in compute_color() 547 boxlist[0].c0max = MAXJSAMPLE >> C0_SHIFT; in select_colors() 627 #define BOX_C0_SHIFT (C0_SHIFT + BOX_C0_LOG) 665 maxc0 = minc0 + ((1 << BOX_C0_SHIFT) - (1 << C0_SHIFT)); in find_nearby_colors() 802 #define STEP_C0 ((1 << C0_SHIFT) * C0_SCALE) in find_best_colors() 876 minc0 = (c0 << BOX_C0_SHIFT) + ((1 << C0_SHIFT) >> 1); in fill_inverse_cmap() [all …]
|
/dports/graphics/xv-m17n/xv-3.10a/jpeg/ |
H A D | jquant2.c | 142 #define C0_SHIFT (BITS_IN_JSAMPLE-HIST_C0_BITS) macro 233 histp = & histogram[GETJSAMPLE(ptr[0]) >> C0_SHIFT] in prescan_quantize() 398 dist0 = ((c0max - c0min) << C0_SHIFT) * C0_SCALE; in update_box() 445 c0 = ((b1->c0max - b1->c0min) << C0_SHIFT) * C0_SCALE; in median_cut() 519 c0total += ((c0 << C0_SHIFT) + ((1<<C0_SHIFT)>>1)) * count; in compute_color() 547 boxlist[0].c0max = MAXJSAMPLE >> C0_SHIFT; in select_colors() 627 #define BOX_C0_SHIFT (C0_SHIFT + BOX_C0_LOG) 665 maxc0 = minc0 + ((1 << BOX_C0_SHIFT) - (1 << C0_SHIFT)); in find_nearby_colors() 802 #define STEP_C0 ((1 << C0_SHIFT) * C0_SCALE) in find_best_colors() 876 minc0 = (c0 << BOX_C0_SHIFT) + ((1 << C0_SHIFT) >> 1); in fill_inverse_cmap() [all …]
|
/dports/japanese/xv/xv-3.10a/jpeg/ |
H A D | jquant2.c | 142 #define C0_SHIFT (BITS_IN_JSAMPLE-HIST_C0_BITS) macro 233 histp = & histogram[GETJSAMPLE(ptr[0]) >> C0_SHIFT] in prescan_quantize() 398 dist0 = ((c0max - c0min) << C0_SHIFT) * C0_SCALE; in update_box() 445 c0 = ((b1->c0max - b1->c0min) << C0_SHIFT) * C0_SCALE; in median_cut() 519 c0total += ((c0 << C0_SHIFT) + ((1<<C0_SHIFT)>>1)) * count; in compute_color() 547 boxlist[0].c0max = MAXJSAMPLE >> C0_SHIFT; in select_colors() 627 #define BOX_C0_SHIFT (C0_SHIFT + BOX_C0_LOG) 665 maxc0 = minc0 + ((1 << BOX_C0_SHIFT) - (1 << C0_SHIFT)); in find_nearby_colors() 802 #define STEP_C0 ((1 << C0_SHIFT) * C0_SCALE) in find_best_colors() 876 minc0 = (c0 << BOX_C0_SHIFT) + ((1 << C0_SHIFT) >> 1); in fill_inverse_cmap() [all …]
|
/dports/games/libretro-scummvm/scummvm-7b1e929/backends/platform/libretro/deps/libjpeg/ |
H A D | jquant2.c | 124 #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 …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/glmark2/src/src/libjpeg-turbo/ |
H A D | jquant2.c | 124 #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 …]
|
/dports/math/giacxcas/fltk-1.3.0/jpeg/ |
H A D | jquant2.c | 142 #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 …]
|
/dports/graphics/freeimage/FreeImage/Source/LibJPEG/ |
H A D | jquant2.c | 143 #define C0_SHIFT (BITS_IN_JSAMPLE-HIST_C0_BITS) macro 240 histp = & histogram[GETJSAMPLE(ptr[0]) >> C0_SHIFT] in prescan_quantize() 405 dist0 = ((c0max - c0min) << C0_SHIFT) * C0_SCALE; in update_box() 452 c0 = ((b1->c0max - b1->c0min) << C0_SHIFT) * C0_SCALE; in median_cut() 526 c0total += ((c0 << C0_SHIFT) + ((1<<C0_SHIFT)>>1)) * count; in compute_color() 553 boxlist[0].c0max = MAXJSAMPLE >> C0_SHIFT; in select_colors() 633 #define BOX_C0_SHIFT (C0_SHIFT + BOX_C0_LOG) 671 maxc0 = minc0 + ((1 << BOX_C0_SHIFT) - (1 << C0_SHIFT)); in find_nearby_colors() 808 #define STEP_C0 ((1 << C0_SHIFT) * C0_SCALE) in find_best_colors() 882 minc0 = (c0 << BOX_C0_SHIFT) + ((1 << C0_SHIFT) >> 1); in fill_inverse_cmap() [all …]
|
/dports/science/InsightToolkit/ITK-5.0.1/Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmjpeg/ |
H A D | jquant2.c | 142 #define C0_SHIFT (BITS_IN_JSAMPLE-HIST_C0_BITS) macro 240 histp = & histogram[GETJSAMPLE(ptr[0]) >> C0_SHIFT] in prescan_quantize() 405 dist0 = ((c0max - c0min) << C0_SHIFT) * C0_SCALE; in update_box() 452 c0 = ((b1->c0max - b1->c0min) << C0_SHIFT) * C0_SCALE; in median_cut() 526 c0total += ((c0 << C0_SHIFT) + ((1<<C0_SHIFT)>>1)) * count; in compute_color() 553 boxlist[0].c0max = MAXJSAMPLE >> C0_SHIFT; in select_colors() 633 #define BOX_C0_SHIFT (C0_SHIFT + BOX_C0_LOG) 671 maxc0 = minc0 + ((1 << BOX_C0_SHIFT) - (1 << C0_SHIFT)); in find_nearby_colors() 808 #define STEP_C0 ((1 << C0_SHIFT) * C0_SCALE) in find_best_colors() 882 minc0 = (c0 << BOX_C0_SHIFT) + ((1 << C0_SHIFT) >> 1); in fill_inverse_cmap() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/libjpeg_turbo/ |
H A D | jquant2.c | 124 #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() 504 c0total += ((c0 << C0_SHIFT) + ((1 << C0_SHIFT) >> 1)) * count; in compute_color() 531 boxlist[0].c0max = MAXJSAMPLE >> C0_SHIFT; in select_colors() 611 #define BOX_C0_SHIFT (C0_SHIFT + BOX_C0_LOG) 649 maxc0 = minc0 + ((1 << BOX_C0_SHIFT) - (1 << C0_SHIFT)); in find_nearby_colors() 786 #define STEP_C0 ((1 << C0_SHIFT) * C0_SCALE) in find_best_colors() 860 minc0 = (c0 << BOX_C0_SHIFT) + ((1 << C0_SHIFT) >> 1); in fill_inverse_cmap() [all …]
|
/dports/games/ioquake3-server/ioquake3-1.36/code/jpeg-6b/ |
H A D | jquant2.c | 142 #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 …]
|
/dports/graphics/dcmtk/dcmtk-DCMTK-3.6.6/dcmjpeg/libijg8/ |
H A D | jquant2.c | 142 #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 …]
|
/dports/graphics/dcmtk/dcmtk-DCMTK-3.6.6/dcmjpeg/libijg12/ |
H A D | jquant2.c | 142 #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 …]
|
/dports/graphics/dcmtk/dcmtk-DCMTK-3.6.6/dcmjpeg/libijg16/ |
H A D | jquant2.c | 142 #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 …]
|
/dports/games/iortcw/iortcw-1.51c/SP/code/jpeg-8c/ |
H A D | jquant2.c | 142 #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 …]
|
/dports/games/ioquake3/ioquake3-1.36/code/jpeg-6b/ |
H A D | jquant2.c | 142 #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 …]
|
/dports/games/iortcw/iortcw-1.51c/MP/code/jpeg-8c/ |
H A D | jquant2.c | 142 #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 …]
|
/dports/emulators/mess/mame-mame0226/3rdparty/libjpeg/ |
H A D | jquant2.c | 143 #define C0_SHIFT (BITS_IN_JSAMPLE-HIST_C0_BITS) macro 240 histp = & histogram[GETJSAMPLE(ptr[0]) >> C0_SHIFT] in prescan_quantize() 405 dist0 = ((c0max - c0min) << C0_SHIFT) * C0_SCALE; in update_box() 452 c0 = ((b1->c0max - b1->c0min) << C0_SHIFT) * C0_SCALE; in median_cut() 526 c0total += ((c0 << C0_SHIFT) + ((1<<C0_SHIFT)>>1)) * count; in compute_color() 553 boxlist[0].c0max = MAXJSAMPLE >> C0_SHIFT; in select_colors() 633 #define BOX_C0_SHIFT (C0_SHIFT + BOX_C0_LOG) 671 maxc0 = minc0 + ((1 << BOX_C0_SHIFT) - (1 << C0_SHIFT)); in find_nearby_colors() 808 #define STEP_C0 ((1 << C0_SHIFT) * C0_SCALE) in find_best_colors() 882 minc0 = (c0 << BOX_C0_SHIFT) + ((1 << C0_SHIFT) >> 1); in fill_inverse_cmap() [all …]
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/native/libjavajpeg/ |
H A D | jquant2.c | 146 #define C0_SHIFT (BITS_IN_JSAMPLE-HIST_C0_BITS) macro 243 histp = & histogram[GETJSAMPLE(ptr[0]) >> C0_SHIFT] in prescan_quantize() 408 dist0 = ((c0max - c0min) << C0_SHIFT) * C0_SCALE; in update_box() 455 c0 = ((b1->c0max - b1->c0min) << C0_SHIFT) * C0_SCALE; in median_cut() 529 c0total += ((c0 << C0_SHIFT) + ((1<<C0_SHIFT)>>1)) * count; in compute_color() 556 boxlist[0].c0max = MAXJSAMPLE >> C0_SHIFT; in select_colors() 636 #define BOX_C0_SHIFT (C0_SHIFT + BOX_C0_LOG) 674 maxc0 = minc0 + ((1 << BOX_C0_SHIFT) - (1 << C0_SHIFT)); in find_nearby_colors() 811 #define STEP_C0 ((1 << C0_SHIFT) * C0_SCALE) in find_best_colors() 885 minc0 = (c0 << BOX_C0_SHIFT) + ((1 << C0_SHIFT) >> 1); in fill_inverse_cmap() [all …]
|
/dports/graphics/aseprite/aseprite-1.2.9/third_party/jpeg/ |
H A D | jquant2.c | 142 #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 …]
|
/dports/graphics/argyllcms/Argyll_V1.9.2/jpeg/ |
H A D | jquant2.c | 143 #define C0_SHIFT (BITS_IN_JSAMPLE-HIST_C0_BITS) macro 240 histp = & histogram[GETJSAMPLE(ptr[0]) >> C0_SHIFT] in prescan_quantize() 405 dist0 = ((c0max - c0min) << C0_SHIFT) * C0_SCALE; in update_box() 452 c0 = ((b1->c0max - b1->c0min) << C0_SHIFT) * C0_SCALE; in median_cut() 526 c0total += ((c0 << C0_SHIFT) + ((1<<C0_SHIFT)>>1)) * count; in compute_color() 553 boxlist[0].c0max = MAXJSAMPLE >> C0_SHIFT; in select_colors() 633 #define BOX_C0_SHIFT (C0_SHIFT + BOX_C0_LOG) 671 maxc0 = minc0 + ((1 << BOX_C0_SHIFT) - (1 << C0_SHIFT)); in find_nearby_colors() 808 #define STEP_C0 ((1 << C0_SHIFT) * C0_SCALE) in find_best_colors() 882 minc0 = (c0 << BOX_C0_SHIFT) + ((1 << C0_SHIFT) >> 1); in fill_inverse_cmap() [all …]
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/lib/libjpeg/ |
H A D | jquant2.c | 142 #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 …]
|
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/libjpeg/ |
H A D | jquant2.c | 142 #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 …]
|
/dports/games/tremulous/tremulous/tremulous-1.1.0-src/src/jpeg-6/ |
H A D | jquant2.c | 142 #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 …]
|
/dports/x11-wm/afterstep-stable/afterstep-devel-2.2.12/libAfterImage/libjpeg/ |
H A D | jquant2.c | 142 #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 …]
|