php-internal-docs 8.4.8
Unofficial docs for php/php-src
|
Go to the source code of this file.
Data Structures | |
struct | my_cquantizer |
struct | box |
Typedefs | |
typedef UINT16 | histcell |
typedef histcell FAR * | histptr |
typedef histcell | hist1d[HIST_C2_ELEMS] |
typedef hist1d FAR * | hist2d |
typedef hist2d * | hist3d |
typedef INT16 | FSERROR |
typedef int | LOCFSERROR |
typedef FSERROR FAR * | FSERRPTR |
typedef my_cquantizer * | my_cquantize_ptr |
typedef box * | boxptr |
Definition at line 170 of file gd_topal.c.
#define BITS_IN_JSAMPLE 8 |
Definition at line 51 of file gd_topal.c.
#define boolean int |
Definition at line 104 of file gd_topal.c.
#define BOX_C0_ELEMS (1<<BOX_C0_LOG) /* # of hist cells in update box */ |
Definition at line 806 of file gd_topal.c.
#define BOX_C0_LOG (HIST_C0_BITS-3) |
Definition at line 802 of file gd_topal.c.
#define BOX_C0_SHIFT (C0_SHIFT + BOX_C0_LOG) |
Definition at line 810 of file gd_topal.c.
#define BOX_C1_ELEMS (1<<BOX_C1_LOG) |
Definition at line 807 of file gd_topal.c.
#define BOX_C1_LOG (HIST_C1_BITS-3) |
Definition at line 803 of file gd_topal.c.
#define BOX_C1_SHIFT (C1_SHIFT + BOX_C1_LOG) |
Definition at line 811 of file gd_topal.c.
#define BOX_C2_ELEMS (1<<BOX_C2_LOG) |
Definition at line 808 of file gd_topal.c.
#define BOX_C2_LOG (HIST_C2_BITS-3) |
Definition at line 804 of file gd_topal.c.
#define BOX_C2_SHIFT (C2_SHIFT + BOX_C2_LOG) |
Definition at line 812 of file gd_topal.c.
Definition at line 180 of file gd_topal.c.
#define C0_SHIFT (BITS_IN_JSAMPLE-HIST_C0_BITS) |
Definition at line 237 of file gd_topal.c.
Definition at line 186 of file gd_topal.c.
#define C1_SHIFT (BITS_IN_JSAMPLE-HIST_C1_BITS) |
Definition at line 238 of file gd_topal.c.
Definition at line 192 of file gd_topal.c.
#define C2_SHIFT (BITS_IN_JSAMPLE-HIST_C2_BITS) |
Definition at line 239 of file gd_topal.c.
#define FALSE 0 |
Definition at line 112 of file gd_topal.c.
#define FAR |
Definition at line 98 of file gd_topal.c.
Definition at line 169 of file gd_topal.c.
#define GETJSAMPLE |
Definition at line 227 of file gd_topal.c.
#define HIST_C0_ELEMS (1<<HIST_C0_BITS) |
Definition at line 232 of file gd_topal.c.
Definition at line 228 of file gd_topal.c.
#define HIST_C1_ELEMS (1<<HIST_C1_BITS) |
Definition at line 233 of file gd_topal.c.
Definition at line 229 of file gd_topal.c.
#define HIST_C2_ELEMS (1<<HIST_C2_BITS) |
Definition at line 234 of file gd_topal.c.
#define input_buf (oim->tpixels) |
Definition at line 116 of file gd_topal.c.
#define INT16 short |
Definition at line 86 of file gd_topal.c.
#define INT32 int |
Definition at line 94 of file gd_topal.c.
#define JDIMENSION int |
Definition at line 54 of file gd_topal.c.
#define JSAMPLE unsigned char |
Definition at line 49 of file gd_topal.c.
#define JSAMPROW int* |
Definition at line 53 of file gd_topal.c.
Definition at line 57 of file gd_topal.c.
#define MAXJSAMPLE (gdMaxColors-1) |
Definition at line 50 of file gd_topal.c.
#define MAXNUMCOLORS (MAXJSAMPLE+1) /* maximum size of colormap */ |
Definition at line 222 of file gd_topal.c.
Definition at line 56 of file gd_topal.c.
#define output_buf (nim->pixels) |
Definition at line 117 of file gd_topal.c.
#define QUANT_2PASS_SUPPORTED |
Definition at line 43 of file gd_topal.c.
Definition at line 168 of file gd_topal.c.
#define range_limit | ( | x | ) |
Definition at line 82 of file gd_topal.c.
#define RGB_BLUE 2 |
Definition at line 47 of file gd_topal.c.
#define RGB_GREEN 1 |
Definition at line 46 of file gd_topal.c.
#define RGB_RED 0 |
Definition at line 45 of file gd_topal.c.
#define RIGHT_SHIFT | ( | x, | |
shft ) |
Definition at line 78 of file gd_topal.c.
#define SHIFT_TEMPS |
Definition at line 77 of file gd_topal.c.
#define STEPSIZE ((MAXJSAMPLE+1)/16) |
#define TRUE 1 |
Definition at line 108 of file gd_topal.c.
#define UINT16 unsigned short |
Definition at line 90 of file gd_topal.c.
Definition at line 372 of file gd_topal.c.
Definition at line 276 of file gd_topal.c.
Definition at line 283 of file gd_topal.c.
typedef histcell hist1d[HIST_C2_ELEMS] |
Definition at line 246 of file gd_topal.c.
Definition at line 247 of file gd_topal.c.
Definition at line 248 of file gd_topal.c.
Definition at line 242 of file gd_topal.c.
Definition at line 244 of file gd_topal.c.
typedef int LOCFSERROR |
Definition at line 277 of file gd_topal.c.
typedef my_cquantizer* my_cquantize_ptr |
Definition at line 303 of file gd_topal.c.
compute_color | ( | gdImagePtr | oim, |
gdImagePtr | nim, | ||
my_cquantize_ptr | cquantize, | ||
boxptr | boxp, | ||
int | icolor ) |
Definition at line 643 of file gd_topal.c.
fill_inverse_cmap | ( | gdImagePtr | oim, |
gdImagePtr | nim, | ||
my_cquantize_ptr | cquantize, | ||
int | c0, | ||
int | c1, | ||
int | c2 ) |
Definition at line 1072 of file gd_topal.c.
find_nearby_colors | ( | gdImagePtr | oim, |
gdImagePtr | nim, | ||
my_cquantize_ptr | cquantize, | ||
int | minc0, | ||
int | minc1, | ||
int | minc2, | ||
JSAMPLE | colorlist[] ) |
Definition at line 824 of file gd_topal.c.
gdImagePtr gdImageCreatePaletteFromTrueColor | ( | gdImagePtr | im, |
int | dither, | ||
int | colorsWanted ) |
Definition at line 1431 of file gd_topal.c.
int gdImageTrueColorToPalette | ( | gdImagePtr | im, |
int | dither, | ||
int | colorsWanted ) |
Definition at line 1440 of file gd_topal.c.
init_error_limit | ( | gdImagePtr | oim, |
gdImagePtr | nim, | ||
my_cquantize_ptr | cquantize ) |
Definition at line 1372 of file gd_topal.c.
LOCAL | ( | boxptr | ) |
Definition at line 375 of file gd_topal.c.
LOCAL | ( | void | ) |
Definition at line 979 of file gd_topal.c.
median_cut | ( | gdImagePtr | oim, |
gdImagePtr | nim, | ||
my_cquantize_ptr | cquantize, | ||
boxptr | boxlist, | ||
int | numboxes, | ||
int | desired_colors ) |
Definition at line 543 of file gd_topal.c.
pass2_fs_dither | ( | gdImagePtr | oim, |
gdImagePtr | nim, | ||
my_cquantize_ptr | cquantize ) |
Definition at line 1190 of file gd_topal.c.
pass2_no_dither | ( | gdImagePtr | oim, |
gdImagePtr | nim, | ||
my_cquantize_ptr | cquantize ) |
Definition at line 1135 of file gd_topal.c.
prescan_quantize | ( | gdImagePtr | oim, |
gdImagePtr | nim, | ||
my_cquantize_ptr | cquantize ) |
Definition at line 316 of file gd_topal.c.
select_colors | ( | gdImagePtr | oim, |
gdImagePtr | nim, | ||
my_cquantize_ptr | cquantize, | ||
int | desired_colors ) |
Definition at line 703 of file gd_topal.c.
update_box | ( | gdImagePtr | oim, |
gdImagePtr | nim, | ||
my_cquantize_ptr | cquantize, | ||
boxptr | boxp ) |
Definition at line 418 of file gd_topal.c.