Home
last modified time | relevance | path

Searched refs:cmap_entries (Results 1 – 3 of 3) sorted by relevance

/external/libjpeg-turbo/
Dwrbmp.c232 int bits_per_pixel, cmap_entries; in write_bmp_header() local
239 cmap_entries = 256; in write_bmp_header()
243 cmap_entries = 0; in write_bmp_header()
248 cmap_entries = 0; in write_bmp_header()
252 cmap_entries = 256; in write_bmp_header()
255 headersize = 14 + 40 + cmap_entries * 4; /* Header and colormap */ in write_bmp_header()
281 PUT_2B(bmpinfoheader, 32, cmap_entries); /* biClrUsed */ in write_bmp_header()
289 if (cmap_entries > 0) in write_bmp_header()
290 write_colormap(cinfo, dest, cmap_entries, 4); in write_bmp_header()
301 int bits_per_pixel, cmap_entries; in write_os2_header() local
[all …]
/external/pdfium/third_party/libpng16/
Dpngread.c1444 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()
[all …]
/external/libpng/
Dpngread.c1444 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()
[all …]