/third_party/libpng/contrib/examples/ |
D | pngpixel.c | 97 png_bytep trans_alpha = NULL; in print_pixel() local 99 if ((png_get_tRNS(png_ptr, info_ptr, &trans_alpha, &num_trans, in print_pixel() 101 trans_alpha != NULL) in print_pixel() 105 index < num_trans ? trans_alpha[index] : 255); in print_pixel()
|
/third_party/flutter/skia/third_party/externals/libpng/contrib/examples/ |
D | pngpixel.c | 97 png_bytep trans_alpha = NULL; in print_pixel() local 99 if ((png_get_tRNS(png_ptr, info_ptr, &trans_alpha, &num_trans, in print_pixel() 101 trans_alpha != NULL) in print_pixel() 105 index < num_trans ? trans_alpha[index] : 255); in print_pixel()
|
/third_party/skia/third_party/externals/libpng/contrib/examples/ |
D | pngpixel.c | 97 png_bytep trans_alpha = NULL; in print_pixel() local 99 if ((png_get_tRNS(png_ptr, info_ptr, &trans_alpha, &num_trans, in print_pixel() 101 trans_alpha != NULL) in print_pixel() 105 index < num_trans ? trans_alpha[index] : 255); in print_pixel()
|
/third_party/flutter/skia/third_party/externals/libpng/arm/ |
D | palette_neon_intrinsics.c | 29 png_const_bytep trans_alpha = png_ptr->trans_alpha; in png_riffle_palette_neon() local 57 riffled_palette[(i << 2) + 3] = trans_alpha[i]; in png_riffle_palette_neon()
|
/third_party/libpng/arm/ |
D | palette_neon_intrinsics.c | 29 png_const_bytep trans_alpha = png_ptr->trans_alpha; in png_riffle_palette_neon() local 57 riffled_palette[(i << 2) + 3] = trans_alpha[i]; in png_riffle_palette_neon()
|
/third_party/skia/third_party/externals/libpng/arm/ |
D | palette_neon_intrinsics.c | 29 png_const_bytep trans_alpha = png_ptr->trans_alpha; in png_riffle_palette_neon() local 57 riffled_palette[(i << 2) + 3] = trans_alpha[i]; in png_riffle_palette_neon()
|
/third_party/flutter/skia/third_party/externals/libpng/ |
D | pngget.c | 1094 png_bytep *trans_alpha, int *num_trans, png_color_16p *trans_color) in png_get_tRNS() argument 1104 if (trans_alpha != NULL) in png_get_tRNS() 1106 *trans_alpha = info_ptr->trans_alpha; in png_get_tRNS() 1122 if (trans_alpha != NULL) in png_get_tRNS() 1123 *trans_alpha = NULL; in png_get_tRNS()
|
D | pngset.c | 995 png_const_bytep trans_alpha, int num_trans, png_const_color_16p trans_color) in png_set_tRNS() argument 1003 if (trans_alpha != NULL) in png_set_tRNS() 1019 info_ptr->trans_alpha = png_voidcast(png_bytep, in png_set_tRNS() 1021 memcpy(info_ptr->trans_alpha, trans_alpha, (size_t)num_trans); in png_set_tRNS() 1023 png_ptr->trans_alpha = info_ptr->trans_alpha; in png_set_tRNS()
|
D | pnginfo.h | 153 png_bytep trans_alpha; /* alpha values for paletted image */ member
|
D | pngrtran.c | 1137 if (png_ptr->trans_alpha[i] == 255) in png_init_palette_transformations() 1139 else if (png_ptr->trans_alpha[i] == 0) in png_init_palette_transformations() 1195 png_ptr->trans_alpha[i] = in png_init_palette_transformations() 1196 (png_byte)(255 - png_ptr->trans_alpha[i]); in png_init_palette_transformations() 1689 png_ptr->trans_alpha[i] != 0xff) in png_init_read_transformations() 1691 if (png_ptr->trans_alpha[i] == 0) in png_init_read_transformations() 1700 png_composite(w, v, png_ptr->trans_alpha[i], back_1.red); in png_init_read_transformations() 1704 png_composite(w, v, png_ptr->trans_alpha[i], back_1.green); in png_init_read_transformations() 1708 png_composite(w, v, png_ptr->trans_alpha[i], back_1.blue); in png_init_read_transformations() 1865 if (png_ptr->trans_alpha[i] == 0) in png_init_read_transformations() [all …]
|
D | pngstruct.h | 315 png_bytep trans_alpha; /* alpha values for paletted files */ member
|
D | pngtest.c | 1366 png_bytep trans_alpha; in test_one_file() local 1370 if (png_get_tRNS(read_ptr, read_info_ptr, &trans_alpha, &num_trans, in test_one_file() 1381 png_set_tRNS(write_ptr, write_info_ptr, trans_alpha, num_trans, in test_one_file()
|
/third_party/skia/third_party/externals/libpng/ |
D | pngget.c | 1094 png_bytep *trans_alpha, int *num_trans, png_color_16p *trans_color) in png_get_tRNS() argument 1104 if (trans_alpha != NULL) in png_get_tRNS() 1106 *trans_alpha = info_ptr->trans_alpha; in png_get_tRNS() 1122 if (trans_alpha != NULL) in png_get_tRNS() 1123 *trans_alpha = NULL; in png_get_tRNS()
|
D | pngset.c | 995 png_const_bytep trans_alpha, int num_trans, png_const_color_16p trans_color) in png_set_tRNS() argument 1003 if (trans_alpha != NULL) in png_set_tRNS() 1019 info_ptr->trans_alpha = png_voidcast(png_bytep, in png_set_tRNS() 1021 memcpy(info_ptr->trans_alpha, trans_alpha, (size_t)num_trans); in png_set_tRNS() 1023 png_ptr->trans_alpha = info_ptr->trans_alpha; in png_set_tRNS()
|
D | pnginfo.h | 153 png_bytep trans_alpha; /* alpha values for paletted image */ member
|
D | pngrtran.c | 1137 if (png_ptr->trans_alpha[i] == 255) in png_init_palette_transformations() 1139 else if (png_ptr->trans_alpha[i] == 0) in png_init_palette_transformations() 1195 png_ptr->trans_alpha[i] = in png_init_palette_transformations() 1196 (png_byte)(255 - png_ptr->trans_alpha[i]); in png_init_palette_transformations() 1689 png_ptr->trans_alpha[i] != 0xff) in png_init_read_transformations() 1691 if (png_ptr->trans_alpha[i] == 0) in png_init_read_transformations() 1700 png_composite(w, v, png_ptr->trans_alpha[i], back_1.red); in png_init_read_transformations() 1704 png_composite(w, v, png_ptr->trans_alpha[i], back_1.green); in png_init_read_transformations() 1708 png_composite(w, v, png_ptr->trans_alpha[i], back_1.blue); in png_init_read_transformations() 1865 if (png_ptr->trans_alpha[i] == 0) in png_init_read_transformations() [all …]
|
D | pngstruct.h | 315 png_bytep trans_alpha; /* alpha values for paletted files */ member
|
D | pngtest.c | 1366 png_bytep trans_alpha; in test_one_file() local 1370 if (png_get_tRNS(read_ptr, read_info_ptr, &trans_alpha, &num_trans, in test_one_file() 1381 png_set_tRNS(write_ptr, write_info_ptr, trans_alpha, num_trans, in test_one_file()
|
/third_party/libpng/ |
D | pngget.c | 1094 png_bytep *trans_alpha, int *num_trans, png_color_16p *trans_color) in png_get_tRNS() argument 1104 if (trans_alpha != NULL) in png_get_tRNS() 1106 *trans_alpha = info_ptr->trans_alpha; in png_get_tRNS() 1122 if (trans_alpha != NULL) in png_get_tRNS() 1123 *trans_alpha = NULL; in png_get_tRNS()
|
D | pngset.c | 995 png_const_bytep trans_alpha, int num_trans, png_const_color_16p trans_color) in png_set_tRNS() argument 1003 if (trans_alpha != NULL) in png_set_tRNS() 1019 info_ptr->trans_alpha = png_voidcast(png_bytep, in png_set_tRNS() 1021 memcpy(info_ptr->trans_alpha, trans_alpha, (size_t)num_trans); in png_set_tRNS() 1023 png_ptr->trans_alpha = info_ptr->trans_alpha; in png_set_tRNS()
|
D | pnginfo.h | 153 png_bytep trans_alpha; /* alpha values for paletted image */ member
|
D | pngrtran.c | 1137 if (png_ptr->trans_alpha[i] == 255) in png_init_palette_transformations() 1139 else if (png_ptr->trans_alpha[i] == 0) in png_init_palette_transformations() 1195 png_ptr->trans_alpha[i] = in png_init_palette_transformations() 1196 (png_byte)(255 - png_ptr->trans_alpha[i]); in png_init_palette_transformations() 1689 png_ptr->trans_alpha[i] != 0xff) in png_init_read_transformations() 1691 if (png_ptr->trans_alpha[i] == 0) in png_init_read_transformations() 1700 png_composite(w, v, png_ptr->trans_alpha[i], back_1.red); in png_init_read_transformations() 1704 png_composite(w, v, png_ptr->trans_alpha[i], back_1.green); in png_init_read_transformations() 1708 png_composite(w, v, png_ptr->trans_alpha[i], back_1.blue); in png_init_read_transformations() 1865 if (png_ptr->trans_alpha[i] == 0) in png_init_read_transformations() [all …]
|
D | pngstruct.h | 315 png_bytep trans_alpha; /* alpha values for paletted files */ member
|
D | pngtest.c | 1366 png_bytep trans_alpha; in test_one_file() local 1370 if (png_get_tRNS(read_ptr, read_info_ptr, &trans_alpha, &num_trans, in test_one_file() 1381 png_set_tRNS(write_ptr, write_info_ptr, trans_alpha, num_trans, in test_one_file()
|
D | pngwrite.c | 227 info_ptr->trans_alpha[j] = in png_write_info() 228 (png_byte)(255 - info_ptr->trans_alpha[j]); in png_write_info() 231 png_write_tRNS(png_ptr, info_ptr->trans_alpha, &(info_ptr->trans_color), in png_write_info()
|