Searched refs:num_palette (Results 1 - 10 of 10) sorted by relevance
/vbox/src/libs/libpng-1.2.8/ |
H A D | pngrtran.c | 147 int num_palette, int maximum_colors, png_uint_16p histogram, 158 (png_uint_32)(num_palette * png_sizeof (png_byte))); 159 for (i = 0; i < num_palette; i++) 163 if (num_palette > maximum_colors) 174 (png_uint_32)(num_palette * png_sizeof (png_byte))); 177 for (i = 0; i < num_palette; i++) 186 for (i = num_palette - 1; i >= maximum_colors; i--) 212 int j = num_palette; 229 int j = num_palette; 254 for (i = 0; i < num_palette; 146 png_set_dither(png_structp png_ptr, png_colorp palette, int num_palette, int maximum_colors, png_uint_16p histogram, int full_dither) argument 795 int num_palette = png_ptr->num_palette; local 951 int num_palette = png_ptr->num_palette; local 2365 int num_palette; local 2409 png_correct_palette(png_structp png_ptr, png_colorp palette, int num_palette) argument [all...] |
H A D | example.c | 270 int num_palette; 283 else if (png_get_PLTE(png_ptr, info_ptr, &palette, &num_palette)) 289 png_set_dither(png_ptr, palette, num_palette,
|
H A D | pngset.c | 212 if (info_ptr->num_palette == 0) 222 /* Changed from info->num_palette to 256 in version 1.2.1 */ 231 for (i = 0; i < info_ptr->num_palette; i++) 513 png_colorp palette, int num_palette) 529 /* Changed in libpng-1.2.1 to allocate 256 instead of num_palette entries, 534 png_memcpy(png_ptr->palette, palette, num_palette * png_sizeof (png_color)); 536 info_ptr->num_palette = png_ptr->num_palette = (png_uint_16)num_palette; 512 png_set_PLTE(png_structp png_ptr, png_infop info_ptr, png_colorp palette, int num_palette) argument
|
H A D | pngget.c | 690 int *num_palette) 697 *num_palette = info_ptr->num_palette; 698 png_debug1(3, "num_palette = %d\n", *num_palette); 689 png_get_PLTE(png_structp png_ptr, png_infop info_ptr, png_colorp *palette, int *num_palette) argument
|
H A D | pngwutil.c | 572 png_ptr->num_palette = (png_uint_16)num_pal; 573 png_debug1(3, "num_palette = %d\n", png_ptr->num_palette); 1037 if (num_trans <= 0 || num_trans > (int)png_ptr->num_palette) 1093 (png_ptr->num_palette || 1096 back->index > png_ptr->num_palette) 1143 if (num_hist > (int)png_ptr->num_palette) 1145 png_debug2(3, "num_hist = %d, num_palette = %d\n", num_hist, 1146 png_ptr->num_palette);
|
H A D | png.h | 660 png_uint_16 num_palette; /* number of color entries in "palette" (PLTE) */ member in struct:png_info_struct 775 * reduced-color palette, if required. Data is an array of "num_palette" 1135 png_uint_16 num_palette; /* number of color entries in palette */ member in struct:png_struct_def 1597 png_colorp palette, int num_palette, int maximum_colors, 2219 png_infop info_ptr, png_colorp *palette, int *num_palette)); 2222 png_infop info_ptr, png_colorp palette, int num_palette)); 3195 png_colorp palette, int num_palette));
|
H A D | pngtest.c | 892 int num_palette; local 894 if (png_get_PLTE(read_ptr, read_info_ptr, &palette, &num_palette)) 896 png_set_PLTE(write_ptr, write_info_ptr, palette, num_palette);
|
H A D | png.c | 539 info_ptr->num_palette = 0;
|
H A D | pngrutil.c | 1293 if (length > (png_uint_32)png_ptr->num_palette || 1380 if(info_ptr->num_palette) 1382 if(buf[0] > info_ptr->num_palette) 1444 if (num != (unsigned int) png_ptr->num_palette || num >
|
H A D | pngwrite.c | 135 (png_uint_32)info_ptr->num_palette); 162 png_write_hIST(png_ptr, info_ptr->hist, info_ptr->num_palette);
|
Completed in 329 milliseconds