• Home
  • Raw
  • Download

Lines Matching refs:cmap_entries

1444       png_uint_32 cmap_entries;  in png_image_read_header()  local
1449 cmap_entries = 1U << png_ptr->bit_depth; in png_image_read_header()
1453 cmap_entries = (png_uint_32)png_ptr->num_palette; in png_image_read_header()
1457 cmap_entries = 256; in png_image_read_header()
1461 if (cmap_entries > 256) in png_image_read_header()
1462 cmap_entries = 256; in png_image_read_header()
1464 image->colormap_entries = cmap_entries; in png_image_read_header()
2101 unsigned int cmap_entries; in png_image_read_colormap() local
2190 cmap_entries = 1U << png_ptr->bit_depth; in png_image_read_colormap()
2191 if (cmap_entries > image->colormap_entries) in png_image_read_colormap()
2194 step = 255 / (cmap_entries - 1); in png_image_read_colormap()
2215 for (i=val=0; i<cmap_entries; ++i, val += step) in png_image_read_colormap()
2273 cmap_entries = (unsigned int)make_gray_colormap(display); in png_image_read_colormap()
2371 cmap_entries = (unsigned int)make_ga_colormap(display); in png_image_read_colormap()
2405 cmap_entries = (unsigned int)make_gray_colormap(display); in png_image_read_colormap()
2503 cmap_entries = i; in png_image_read_colormap()
2544 cmap_entries = (unsigned int)make_ga_colormap(display); in png_image_read_colormap()
2570 cmap_entries = (unsigned int)make_gray_file_colormap(display); in png_image_read_colormap()
2575 cmap_entries = (unsigned int)make_gray_colormap(display); in png_image_read_colormap()
2663 cmap_entries = (unsigned int)make_rgb_colormap(display); in png_image_read_colormap()
2666 png_create_colormap_entry(display, cmap_entries, 255, 255, in png_image_read_colormap()
2672 background_index = cmap_entries++; in png_image_read_colormap()
2687 png_create_colormap_entry(display, cmap_entries++, in png_image_read_colormap()
2712 cmap_entries = (unsigned int)make_rgb_colormap(display); in png_image_read_colormap()
2714 png_create_colormap_entry(display, cmap_entries, back_r, in png_image_read_colormap()
2737 sample_size * cmap_entries, in png_image_read_colormap()
2743 background_index = cmap_entries++; in png_image_read_colormap()
2756 png_create_colormap_entry(display, cmap_entries++, in png_image_read_colormap()
2797 cmap_entries = (unsigned int)make_rgb_colormap(display); in png_image_read_colormap()
2821 cmap_entries = (unsigned int)png_ptr->num_palette; in png_image_read_colormap()
2822 if (cmap_entries > 256) in png_image_read_colormap()
2823 cmap_entries = 256; in png_image_read_colormap()
2825 if (cmap_entries > (unsigned int)image->colormap_entries) in png_image_read_colormap()
2828 for (i=0; i < cmap_entries; ++i) in png_image_read_colormap()
2896 if (cmap_entries > 256 || cmap_entries > image->colormap_entries) in png_image_read_colormap()
2899 image->colormap_entries = cmap_entries; in png_image_read_colormap()
2915 if (background_index >= cmap_entries || in png_image_read_colormap()