Home
last modified time | relevance | path

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

/external/libjpeg-turbo/
Dwrbmp.c234 int bits_per_pixel, cmap_entries; in write_bmp_header() local
241 cmap_entries = 256; in write_bmp_header()
245 cmap_entries = 0; in write_bmp_header()
250 cmap_entries = 0; in write_bmp_header()
254 cmap_entries = 256; in write_bmp_header()
257 headersize = 14 + 40 + cmap_entries * 4; /* Header and colormap */ in write_bmp_header()
283 PUT_2B(bmpinfoheader, 32, cmap_entries); /* biClrUsed */ in write_bmp_header()
291 if (cmap_entries > 0) in write_bmp_header()
292 write_colormap(cinfo, dest, cmap_entries, 4); in write_bmp_header()
303 int bits_per_pixel, cmap_entries; in write_os2_header() local
[all …]
/external/libpng/
Dpngread.c1438 png_uint_32 cmap_entries; in png_image_read_header() local
1443 cmap_entries = 1U << png_ptr->bit_depth; in png_image_read_header()
1447 cmap_entries = (png_uint_32)png_ptr->num_palette; in png_image_read_header()
1451 cmap_entries = 256; in png_image_read_header()
1455 if (cmap_entries > 256) in png_image_read_header()
1456 cmap_entries = 256; in png_image_read_header()
1458 image->colormap_entries = cmap_entries; in png_image_read_header()
2095 unsigned int cmap_entries; in png_image_read_colormap() local
2184 cmap_entries = 1U << png_ptr->bit_depth; in png_image_read_colormap()
2185 if (cmap_entries > image->colormap_entries) in png_image_read_colormap()
[all …]
/external/pdfium/third_party/libpng16/
Dpngread.c1426 png_uint_32 cmap_entries; in png_image_read_header() local
1431 cmap_entries = 1U << png_ptr->bit_depth; in png_image_read_header()
1435 cmap_entries = png_ptr->num_palette; in png_image_read_header()
1439 cmap_entries = 256; in png_image_read_header()
1443 if (cmap_entries > 256) in png_image_read_header()
1444 cmap_entries = 256; in png_image_read_header()
1446 image->colormap_entries = cmap_entries; in png_image_read_header()
2081 unsigned int cmap_entries; in png_image_read_colormap() local
2170 cmap_entries = 1U << png_ptr->bit_depth; in png_image_read_colormap()
2171 if (cmap_entries > image->colormap_entries) in png_image_read_colormap()
[all …]