Home
last modified time | relevance | path

Searched refs:gamma_table (Results 1 – 14 of 14) sorted by relevance

/external/libpng/contrib/libtests/
Dmakepng.c240 png_const_bytep gamma_table) in set_color() argument
242 color->red = gamma_table[red]; in set_color()
243 color->green = gamma_table[green]; in set_color()
244 color->blue = gamma_table[blue]; in set_color()
250 png_const_bytep gamma_table, unsigned int *colors) in generate_palette() argument
270 gamma_table); in generate_palette()
275 colors[2], gamma_table); in generate_palette()
280 gamma_table); in generate_palette()
285 colors[4], gamma_table); in generate_palette()
291 set_color(palette+0, trans+0, 255, 0, 0, 0, gamma_table); in generate_palette()
[all …]
/external/syslinux/com32/lib/libpng/
Dpngrtran.c932 back.red = png_ptr->gamma_table[png_ptr->background.red]; in png_init_read_transformations()
933 back.green = png_ptr->gamma_table[png_ptr->background.green]; in png_init_read_transformations()
934 back.blue = png_ptr->gamma_table[png_ptr->background.blue]; in png_init_read_transformations()
1017 palette[i].red = png_ptr->gamma_table[palette[i].red]; in png_init_read_transformations()
1018 palette[i].green = png_ptr->gamma_table[palette[i].green]; in png_init_read_transformations()
1019 palette[i].blue = png_ptr->gamma_table[palette[i].blue]; in png_init_read_transformations()
1102 palette[i].red = png_ptr->gamma_table[palette[i].red]; in png_init_read_transformations()
1103 palette[i].green = png_ptr->gamma_table[palette[i].green]; in png_init_read_transformations()
1104 palette[i].blue = png_ptr->gamma_table[palette[i].blue]; in png_init_read_transformations()
1455 png_ptr->gamma_table, png_ptr->gamma_from_1, in png_do_read_transformations()
[all …]
Dpngread.c1229 png_free(png_ptr, png_ptr->gamma_table); in png_read_destroy()
/external/libpng/
Dpngrtran.c1601 back.red = png_ptr->gamma_table[png_ptr->background.red]; in png_init_read_transformations()
1602 back.green = png_ptr->gamma_table[png_ptr->background.green]; in png_init_read_transformations()
1603 back.blue = png_ptr->gamma_table[png_ptr->background.blue]; in png_init_read_transformations()
1700 palette[i].red = png_ptr->gamma_table[palette[i].red]; in png_init_read_transformations()
1701 palette[i].green = png_ptr->gamma_table[palette[i].green]; in png_init_read_transformations()
1702 palette[i].blue = png_ptr->gamma_table[palette[i].blue]; in png_init_read_transformations()
1821 palette[i].red = png_ptr->gamma_table[palette[i].red]; in png_init_read_transformations()
1822 palette[i].green = png_ptr->gamma_table[palette[i].green]; in png_init_read_transformations()
1823 palette[i].blue = png_ptr->gamma_table[palette[i].blue]; in png_init_read_transformations()
3039 if (png_ptr->gamma_table != NULL) in png_do_rgb_to_gray()
[all …]
Dpngstruct.h293 png_bytep gamma_table; /* gamma table for 8-bit depth files */ member
Dpng.c4063 png_free(png_ptr, png_ptr->gamma_table);
4064 png_ptr->gamma_table = NULL;
4131 if (png_ptr->gamma_table != NULL || png_ptr->gamma_16_table != NULL)
4139 png_build_8bit_table(png_ptr, &png_ptr->gamma_table,
DCHANGES2615 Reverted the gamma_table changes from libpng-1.4.0beta109.
/external/skia/third_party/libpng/
Dpngrtran.c1601 back.red = png_ptr->gamma_table[png_ptr->background.red]; in png_init_read_transformations()
1602 back.green = png_ptr->gamma_table[png_ptr->background.green]; in png_init_read_transformations()
1603 back.blue = png_ptr->gamma_table[png_ptr->background.blue]; in png_init_read_transformations()
1700 palette[i].red = png_ptr->gamma_table[palette[i].red]; in png_init_read_transformations()
1701 palette[i].green = png_ptr->gamma_table[palette[i].green]; in png_init_read_transformations()
1702 palette[i].blue = png_ptr->gamma_table[palette[i].blue]; in png_init_read_transformations()
1821 palette[i].red = png_ptr->gamma_table[palette[i].red]; in png_init_read_transformations()
1822 palette[i].green = png_ptr->gamma_table[palette[i].green]; in png_init_read_transformations()
1823 palette[i].blue = png_ptr->gamma_table[palette[i].blue]; in png_init_read_transformations()
3039 if (png_ptr->gamma_table != NULL) in png_do_rgb_to_gray()
[all …]
Dpngstruct.h293 png_bytep gamma_table; /* gamma table for 8-bit depth files */ member
Dpng.c4031 png_free(png_ptr, png_ptr->gamma_table);
4032 png_ptr->gamma_table = NULL;
4099 if (png_ptr->gamma_table != NULL || png_ptr->gamma_16_table != NULL)
4107 png_build_8bit_table(png_ptr, &png_ptr->gamma_table,
/external/pdfium/third_party/libpng16/
Dpngrtran.c1601 back.red = png_ptr->gamma_table[png_ptr->background.red]; in png_init_read_transformations()
1602 back.green = png_ptr->gamma_table[png_ptr->background.green]; in png_init_read_transformations()
1603 back.blue = png_ptr->gamma_table[png_ptr->background.blue]; in png_init_read_transformations()
1700 palette[i].red = png_ptr->gamma_table[palette[i].red]; in png_init_read_transformations()
1701 palette[i].green = png_ptr->gamma_table[palette[i].green]; in png_init_read_transformations()
1702 palette[i].blue = png_ptr->gamma_table[palette[i].blue]; in png_init_read_transformations()
1821 palette[i].red = png_ptr->gamma_table[palette[i].red]; in png_init_read_transformations()
1822 palette[i].green = png_ptr->gamma_table[palette[i].green]; in png_init_read_transformations()
1823 palette[i].blue = png_ptr->gamma_table[palette[i].blue]; in png_init_read_transformations()
3039 if (png_ptr->gamma_table != NULL) in png_do_rgb_to_gray()
[all …]
Dpngstruct.h293 png_bytep gamma_table; /* gamma table for 8-bit depth files */ member
Dpng.c4032 png_free(png_ptr, png_ptr->gamma_table);
4033 png_ptr->gamma_table = NULL;
4100 if (png_ptr->gamma_table != NULL || png_ptr->gamma_16_table != NULL)
4108 png_build_8bit_table(png_ptr, &png_ptr->gamma_table,
/external/syslinux/com32/include/
Dpng.h1359 png_bytep gamma_table PNG_DEPSTRUCT; /* gamma table for 8-bit depth files */
3523 png_bytep gamma_table, png_bytep gamma_from_1, png_bytep gamma_to_1,
3534 png_bytep gamma_table, png_uint_16pp gamma_16_table,