HomeSort by relevance Sort by last modified time
    Searched refs:num_palette (Results 1 - 25 of 31) sorted by null

1 2

  /ndk/tests/build/issue20862-libpng-O0/jni/
pnginfo.h 64 png_uint_16 num_palette; /* number of color entries in "palette" (PLTE) */ member in struct:png_info_def
179 * reduced-color palette, if required. Data is an array of "num_palette"
pngrtran.c 382 int num_palette, int maximum_colors, png_const_uint_16p histogram,
397 (png_uint_32)(num_palette * png_sizeof(png_byte)));
398 for (i = 0; i < num_palette; i++)
402 if (num_palette > maximum_colors)
414 (png_uint_32)(num_palette * png_sizeof(png_byte)));
417 for (i = 0; i < num_palette; i++)
427 for (i = num_palette - 1; i >= maximum_colors; i--)
454 int j = num_palette;
473 int j = num_palette;
499 for (i = 0; i < num_palette; i++
1554 int num_palette = png_ptr->num_palette; local
1770 int num_palette = png_ptr->num_palette; local
3431 int num_palette; local
    [all...]
pngstruct.h 123 png_uint_16 num_palette; /* number of color entries in palette */ member in struct:png_struct_def
png.h     [all...]
  /external/chromium_org/third_party/libpng/
pngset.c 191 if (info_ptr->num_palette == 0 || info_ptr->num_palette
202 /* Changed from info->num_palette to PNG_MAX_PALETTE_LENGTH in
213 for (i = 0; i < info_ptr->num_palette; i++)
446 png_colorp palette, int num_palette)
454 if (num_palette < 0 || num_palette > PNG_MAX_PALETTE_LENGTH)
474 * of num_palette entries, in case of an invalid PNG file that has
479 png_memcpy(png_ptr->palette, palette, num_palette * png_sizeof(png_color));
481 info_ptr->num_palette = png_ptr->num_palette = (png_uint_16)num_palette
    [all...]
pngrtran.c 165 int num_palette, int maximum_colors, png_uint_16p histogram,
179 (png_uint_32)(num_palette * png_sizeof(png_byte)));
180 for (i = 0; i < num_palette; i++)
184 if (num_palette > maximum_colors)
196 (png_uint_32)(num_palette * png_sizeof(png_byte)));
199 for (i = 0; i < num_palette; i++)
209 for (i = num_palette - 1; i >= maximum_colors; i--)
235 int j = num_palette;
253 int j = num_palette;
279 for (i = 0; i < num_palette; i++
939 int num_palette = png_ptr->num_palette; local
1108 int num_palette = png_ptr->num_palette; local
2571 int num_palette; local
    [all...]
pngget.c 731 int *num_palette)
739 *num_palette = info_ptr->num_palette;
740 png_debug1(3, "num_palette = %d", *num_palette);
pngwutil.c 608 png_ptr->num_palette = (png_uint_16)num_pal;
609 png_debug1(3, "num_palette = %d", png_ptr->num_palette);
    [all...]
pngrutil.c     [all...]
pngwrite.c 150 (png_uint_32)info_ptr->num_palette);
177 png_write_hIST(png_ptr, info_ptr->hist, info_ptr->num_palette);
    [all...]
  /external/libpng/
pngrtran.c 165 int num_palette, int maximum_colors, png_uint_16p histogram,
179 (png_uint_32)(num_palette * png_sizeof(png_byte)));
180 for (i = 0; i < num_palette; i++)
184 if (num_palette > maximum_colors)
196 (png_uint_32)(num_palette * png_sizeof(png_byte)));
199 for (i = 0; i < num_palette; i++)
209 for (i = num_palette - 1; i >= maximum_colors; i--)
235 int j = num_palette;
253 int j = num_palette;
279 for (i = 0; i < num_palette; i++
939 int num_palette = png_ptr->num_palette; local
1108 int num_palette = png_ptr->num_palette; local
2571 int num_palette; local
    [all...]
pngset.c 191 if (info_ptr->num_palette == 0 || info_ptr->num_palette
202 /* Changed from info->num_palette to PNG_MAX_PALETTE_LENGTH in
213 for (i = 0; i < info_ptr->num_palette; i++)
446 png_colorp palette, int num_palette)
454 if (num_palette < 0 || num_palette > PNG_MAX_PALETTE_LENGTH)
474 * of num_palette entries, in case of an invalid PNG file that has
479 png_memcpy(png_ptr->palette, palette, num_palette * png_sizeof(png_color));
481 info_ptr->num_palette = png_ptr->num_palette = (png_uint_16)num_palette
    [all...]
example.c 279 int num_palette;
292 else if (png_get_PLTE(png_ptr, info_ptr, &palette, &num_palette))
298 png_set_dither(png_ptr, palette, num_palette,
pngget.c 731 int *num_palette)
739 *num_palette = info_ptr->num_palette;
740 png_debug1(3, "num_palette = %d", *num_palette);
pngwutil.c 608 png_ptr->num_palette = (png_uint_16)num_pal;
609 png_debug1(3, "num_palette = %d", png_ptr->num_palette);
    [all...]
pngtest.c 990 int num_palette; local
992 if (png_get_PLTE(read_ptr, read_info_ptr, &palette, &num_palette))
993 png_set_PLTE(write_ptr, write_info_ptr, palette, num_palette);
    [all...]
png.c 576 info_ptr->num_palette = 0;
pngrutil.c     [all...]
pngwrite.c 150 (png_uint_32)info_ptr->num_palette);
177 png_write_hIST(png_ptr, info_ptr->hist, info_ptr->num_palette);
    [all...]
  /external/qemu/distrib/libpng-1.2.19/
pngrtran.c 142 int num_palette, int maximum_colors, png_uint_16p histogram,
154 (png_uint_32)(num_palette * png_sizeof (png_byte)));
155 for (i = 0; i < num_palette; i++)
159 if (num_palette > maximum_colors)
170 (png_uint_32)(num_palette * png_sizeof (png_byte)));
173 for (i = 0; i < num_palette; i++)
182 for (i = num_palette - 1; i >= maximum_colors; i--)
208 int j = num_palette;
225 int j = num_palette;
250 for (i = 0; i < num_palette; i++
876 int num_palette = png_ptr->num_palette; local
1032 int num_palette = png_ptr->num_palette; local
2464 int num_palette; local
    [all...]
pngset.c 225 if (info_ptr->num_palette <= 0 || info_ptr->num_palette
236 /* Changed from info->num_palette to PNG_MAX_PALETTE_LENGTH in version
246 for (i = 0; i < info_ptr->num_palette; i++)
530 png_colorp palette, int num_palette)
537 if (num_palette < 0 || num_palette > PNG_MAX_PALETTE_LENGTH)
558 of num_palette entries,
564 png_memcpy(png_ptr->palette, palette, num_palette * png_sizeof (png_color));
566 info_ptr->num_palette = png_ptr->num_palette = (png_uint_16)num_palette
    [all...]
pngget.c 695 int *num_palette)
702 *num_palette = info_ptr->num_palette;
703 png_debug1(3, "num_palette = %d\n", *num_palette);
pngwutil.c 578 png_ptr->num_palette = (png_uint_16)num_pal;
579 png_debug1(3, "num_palette = %d\n", png_ptr->num_palette);
    [all...]
png.h 704 png_uint_16 num_palette; /* number of color entries in "palette" (PLTE) */ member in struct:png_info_struct
1181 png_uint_16 num_palette; \/* number of color entries in palette *\/ member in struct:png_struct_def
    [all...]
png.c 559 info_ptr->num_palette = 0;

Completed in 1163 milliseconds

1 2