/reactos/dll/3rdparty/libpng/ |
H A D | pngset.c | 995 png_const_bytep trans_alpha, int num_trans, png_const_color_16p trans_color) in png_set_tRNS() argument 1016 if (num_trans > 0 && num_trans <= PNG_MAX_PALETTE_LENGTH) in png_set_tRNS() 1021 memcpy(info_ptr->trans_alpha, trans_alpha, (size_t)num_trans); in png_set_tRNS() 1049 if (num_trans == 0) in png_set_tRNS() 1050 num_trans = 1; in png_set_tRNS() 1053 info_ptr->num_trans = (png_uint_16)num_trans; in png_set_tRNS() 1055 if (num_trans != 0) in png_set_tRNS()
|
H A D | pngread.c | 1370 else if (png_ptr->num_trans > 0) in png_image_format() 2120 png_ptr->num_trans > 0) /* alpha in input */ && in png_image_read_colormap() 2200 if (png_ptr->num_trans > 0) in png_image_read_colormap() 2275 if (png_ptr->num_trans > 0) in png_image_read_colormap() 2532 png_ptr->num_trans > 0) && in png_image_read_colormap() 2567 png_ptr->num_trans > 0) && in png_image_read_colormap() 2580 png_ptr->num_trans > 0) in png_image_read_colormap() 2651 png_ptr->num_trans > 0) in png_image_read_colormap() 2808 unsigned int num_trans = png_ptr->num_trans; in png_image_read_colormap() local 2817 num_trans = 0; in png_image_read_colormap() [all …]
|
H A D | pngrtran.c | 1130 if (png_ptr->num_trans > 0) in png_init_palette_transformations() 1413 png_ptr->num_trans = 0; in png_init_read_transformations() 1953 if (png_ptr->num_trans > 0) in png_read_transform_info() 1960 info_ptr->num_trans = 0; in png_read_transform_info() 1967 if (png_ptr->num_trans != 0) in png_read_transform_info() 1975 info_ptr->num_trans = 0; in png_read_transform_info() 2093 info_ptr->num_trans = 0; in png_read_transform_info() 4211 int num_trans) in png_do_expand_palette() argument 4310 if (num_trans > 0) in png_do_expand_palette() 4792 if (png_ptr->num_trans != 0 && in png_do_read_transformations() [all …]
|
H A D | pngwrite.c | 222 jend = info_ptr->num_trans; in png_write_info() 232 info_ptr->num_trans, info_ptr->color_type); in png_write_info() 1819 int i, num_trans; in png_image_set_PLTE() local 1826 for (i=num_trans=0; i<entries; ++i) in png_image_set_PLTE() 1869 num_trans = i+1; in png_image_set_PLTE() 1898 num_trans = i+1; in png_image_set_PLTE() 1909 num_trans = i+1; in png_image_set_PLTE() 1932 if (num_trans > 0) in png_image_set_PLTE() 1934 num_trans, NULL); in png_image_set_PLTE()
|
H A D | pnginfo.h | 64 png_uint_16 num_trans; /* number of transparent palette color (tRNS) */ member
|
H A D | pngrutil.c | 1071 if (png_ptr->num_trans > 0 || in png_handle_PLTE() 1078 png_ptr->num_trans = 0; in png_handle_PLTE() 1081 info_ptr->num_trans = 0; in png_handle_PLTE() 1851 png_ptr->num_trans = 1; in png_handle_tRNS() 1867 png_ptr->num_trans = 1; in png_handle_tRNS() 1893 png_ptr->num_trans = (png_uint_16)length; in png_handle_tRNS() 1905 png_ptr->num_trans = 0; in png_handle_tRNS() 4459 if (png_ptr->num_trans != 0) in png_read_start_row() 4471 if (png_ptr->num_trans != 0) in png_read_start_row() 4477 if (png_ptr->num_trans != 0) in png_read_start_row() [all …]
|
H A D | pngget.c | 1094 png_bytep *trans_alpha, int *num_trans, png_color_16p *trans_color) in png_get_tRNS() argument 1126 if (num_trans != NULL) in png_get_tRNS() 1128 *num_trans = info_ptr->num_trans; in png_get_tRNS()
|
H A D | pngstruct.h | 247 png_uint_16 num_trans; /* number of transparency values */ member
|
H A D | pngwutil.c | 1349 png_const_color_16p tran, int num_trans, int color_type) in png_write_tRNS() argument 1357 if (num_trans <= 0 || num_trans > (int)png_ptr->num_palette) in png_write_tRNS() 1366 (size_t)num_trans); in png_write_tRNS()
|
H A D | png.c | 512 info_ptr->num_trans = 0; in png_free_data()
|
/reactos/dll/win32/windowscodecs/ |
H A D | pngformat.c | 582 int num_trans; in PngDecoder_Initialize() local 652 transparency = ppng_get_tRNS(This->png_ptr, This->info_ptr, &trans, &num_trans, &trans_values); in PngDecoder_Initialize() 1031 int num_trans; in PngDecoder_Frame_CopyPalette() local 1059 ret = ppng_get_tRNS(This->png_ptr, This->info_ptr, &trans_alpha, &num_trans, &trans_values); in PngDecoder_Frame_CopyPalette() 1060 if (!ret) num_trans = 0; in PngDecoder_Frame_CopyPalette() 1064 BYTE alpha = (i < num_trans) ? trans_alpha[i] : 0xff; in PngDecoder_Frame_CopyPalette() 1072 ret = ppng_get_tRNS(This->png_ptr, This->info_ptr, &trans_alpha, &num_trans, &trans_values); in PngDecoder_Frame_CopyPalette() 1671 UINT i, num_trans = 0, colors; in PngFrameEncode_WritePixels() local 1685 num_trans = i+1; in PngFrameEncode_WritePixels() 1690 if (num_trans) in PngFrameEncode_WritePixels() [all …]
|
/reactos/sdk/include/reactos/libs/libpng/ |
H A D | png.h | 2141 png_inforp info_ptr, png_bytep *trans_alpha, int *num_trans, 2147 png_inforp info_ptr, png_const_bytep trans_alpha, int num_trans,
|
/reactos/dll/3rdparty/libpng/docs/ |
H A D | libpng-manual.txt | 1455 &num_trans, &trans_color); 1460 num_trans - number of transparent entries 3104 num_trans, trans_color); 3109 num_trans - number of transparent entries
|
H A D | CHANGES | 392 Added a test such that png_do_gamma will be done when num_trans==0 770 info_ptr->num_trans as well as png_ptr->num_trans (Matthias Benckmann) 1598 Make sure num_trans is <= 256 before copying data in png_set_tRNS(). 1893 Added "png_ptr->num_trans=0" before error return in png_handle_tRNS,
|