]> git.saurik.com Git - wxWidgets.git/blame - src/png/libpngpf.3
several fixes
[wxWidgets.git] / src / png / libpngpf.3
CommitLineData
c801d85f
KB
1.TH LIBPNGPF 3 "March 15, 1998"
2.SH NAME
3libpng \- Portable Network Graphics (PNG) Reference Library
4(private functions)
5.SH SYNOPSIS
6#include <png.h>
7
8void png_build_gamma_table (png_structp png_ptr);
9
10void png_build_grayscale_palette (int bit_depth, png_colorp
11palette);
12
13void png_calculate_crc (png_structp png_ptr, png_bytep ptr,
14png_size_t length);
15void png_check_chunk_name (png_structp png_ptr, png_bytep
16chunk_name);
17
18png_size_t png_check_keyword (png_structp png_ptr, png_charp
19key, png_charpp new_key);
20
21void png_combine_row (png_structp png_ptr, png_bytep row, int
22mask);
23
24void png_correct_palette (png_structp png_ptr, png_colorp
25palette, int num_palette);
26
27int png_crc_error (png_structp png_ptr);
28
29int png_crc_finish (png_structp png_ptr, png_uint_32 skip);
30
31void png_crc_read (png_structp png_ptr, png_bytep buf,
32png_size_t length);
33
34png_voidp png_create_struct (int type);
35
36void png_destroy_struct (png_voidp struct_ptr);
37
38void png_do_background (png_row_infop row_info, png_bytep row,
39png_color_16p trans_values, png_color_16p background,
40png_color_16p background_1, png_bytep gamma_table, png_bytep
41gamma_from_1, png_bytep gamma_to_1, png_uint_16pp gamma_16,
42png_uint_16pp gamma_16_from_1, png_uint_16pp gamma_16_to_1, int
43gamma_shift);
44
45void png_do_bgr (png_row_infop row_info, png_bytep row);
46
47void png_do_chop (png_row_infop row_info, png_bytep row);
48
49void png_do_dither (png_row_infop row_info, png_bytep row,
50png_bytep palette_lookup, png_bytep dither_lookup);
51
52void png_do_expand (png_row_infop row_info, png_bytep row,
53png_color_16p trans_value);
54
55void png_do_expand_palette (png_row_infop row_info, png_bytep
56row, png_colorp palette, png_bytep trans, int num_trans);
57
58void png_do_gamma (png_row_infop row_info, png_bytep row,
59png_bytep gamma_table, png_uint_16pp gamma_16_table, int
60gamma_shift);
61
62void png_do_gray_to_rgb (png_row_infop row_info, png_bytep
63row);
64
65void png_do_invert (png_row_infop row_info, png_bytep row);
66
67void png_do_pack (png_row_infop row_info, png_bytep row,
68png_uint_32 bit_depth);
69
70void png_do_packswap (png_row_infop row_info, png_bytep row);
71
72void png_do_read_filler (png_row_infop row_info, png_bytep row,
73png_uint_32 filler, png_uint_32 flags);
74
75void png_do_read_interlace (png_row_infop row_info, png_bytep
76row, int pass, png_uint_32 transformations);
77
78void png_do_read_invert_alpha (png_row_infop row_info,
79png_bytep row);
80
81void png_do_read_swap_alpha (png_row_infop row_info, png_bytep
82row);
83
84void png_do_read_transformations (png_structp png_ptr);
85
86void png_do_rgb_to_gray (png_row_infop row_info, png_bytep
87row);
88
89void png_do_shift (png_row_infop row_info, png_bytep row,
90png_color_8p bit_depth);
91
92void png_do_strip_filler (png_row_infop row_info, png_bytep
93row, png_uint_32 flags);
94
95void png_do_swap (png_row_infop row_info, png_bytep row);
96
97void png_do_unpack (png_row_infop row_info, png_bytep row);
98
99void png_do_unshift (png_row_infop row_info, png_bytep row,
100png_color_8p sig_bits);
101
102void png_do_write_interlace (png_row_infop row_info, png_bytep
103row, int pass);
104
105void png_do_write_invert_alpha (png_row_infop row_info,
106png_bytep row);
107
108void png_do_write_swap_alpha (png_row_infop row_info, png_bytep
109row);
110
111void png_do_write_transformations (png_structp png_ptr);
112
113void *png_far_to_near (png_structp png_ptr,png_voidp ptr,
114int check);
115
116void png_flush (png_structp png_ptr);
117
118png_int_32 png_get_int_32 (png_bytep buf);
119
120png_uint_16 png_get_uint_16 (png_bytep buf);
121
122png_uint_32 png_get_uint_32 (png_bytep buf);
123
124void png_handle_bKGD (png_structp png_ptr, png_infop info_ptr,
125png_uint_32 length);
126
127void png_handle_cHRM (png_structp png_ptr, png_infop info_ptr,
128png_uint_32 length);
129
130void png_handle_gAMA (png_structp png_ptr, png_infop info_ptr,
131png_uint_32 length);
132
133void png_handle_hIST (png_structp png_ptr, png_infop info_ptr,
134png_uint_32 length);
135
136void png_handle_IEND (png_structp png_ptr, png_infop info_ptr,
137png_uint_32 length);
138
139void png_handle_IHDR (png_structp png_ptr, png_infop info_ptr,
140png_uint_32 length);
141
142void png_handle_oFFs (png_structp png_ptr, png_infop info_ptr,
143png_uint_32 length);
144
145void png_handle_pCAL (png_structp png_ptr, png_infop info_ptr,
146png_uint_32 length);
147
148void png_handle_pHYs (png_structp png_ptr, png_infop info_ptr,
149png_uint_32 length);
150
151void png_handle_PLTE (png_structp png_ptr, png_infop info_ptr,
152png_uint_32 length);
153
154void png_handle_sBIT (png_structp png_ptr, png_infop info_ptr,
155png_uint_32 length);
156
157void png_handle_sRGB (png_structp png_ptr, png_infop info_ptr,
158png_uint_32 length);
159
160void png_handle_tEXt (png_structp png_ptr, png_infop info_ptr,
161png_uint_32 length);
162
163void png_handle_tIME (png_structp png_ptr, png_infop info_ptr,
164png_uint_32 length);
165
166void png_handle_tRNS (png_structp png_ptr, png_infop info_ptr,
167png_uint_32 length);
168
169void png_handle_unknown (png_structp png_ptr, png_infop
170info_ptr, png_uint_32 length);
171
172void png_handle_zTXt (png_structp png_ptr, png_infop info_ptr,
173png_uint_32 length);
174
175void png_info_destroy (png_structp png_ptr, png_infop
176info_ptr);
177
178void png_init_read_transformations (png_structp png_ptr);
179
180void png_process_IDAT_data (png_structp png_ptr, png_bytep
181buffer, png_size_t buffer_length);
182
183void png_process_some_data (png_structp png_ptr, png_infop
184info_ptr);
185
186void png_push_check_crc (png_structp png_ptr);
187
188void png_push_crc_finish (png_structp png_ptr);
189
190void png_push_crc_skip (png_structp png_ptr, png_uint_32
191length);
192
193void png_push_fill_buffer (png_structp png_ptr, png_bytep
194buffer, png_size_t length);
195
196void png_push_handle_tEXt (png_structp png_ptr, png_infop
197info_ptr, png_uint_32 length);
198
199void png_push_handle_unknown (png_structp png_ptr, png_infop
200info_ptr, png_uint_32 length);
201
202void png_push_handle_zTXt (png_structp png_ptr, png_infop
203info_ptr, png_uint_32 length);
204
205void png_push_have_end (png_structp png_ptr, png_infop
206info_ptr);
207
208void png_push_have_info (png_structp png_ptr, png_infop
209info_ptr);
210
211void png_push_have_row (png_structp png_ptr, png_bytep row);
212
213void png_push_process_row (png_structp png_ptr);
214
215void png_push_read_chunk (png_structp png_ptr, png_infop
216info_ptr);
217
218void png_push_read_end (png_structp png_ptr, png_infop
219info_ptr);
220
221void png_push_read_IDAT (png_structp png_ptr);
222
223void png_push_read_sig (png_structp png_ptr, png_infop
224info_ptr);
225
226void png_push_read_tEXt (png_structp png_ptr, png_infop
227info_ptr);
228
229void png_push_read_zTXt (png_structp png_ptr, png_infop
230info_ptr);
231
232void png_push_restore_buffer (png_structp png_ptr, png_bytep
233buffer, png_size_t buffer_length);
234
235void png_push_save_buffer (png_structp png_ptr);
236
237void png_read_data (png_structp png_ptr, png_bytep data,
238png_size_t length);
239
240void png_read_filter_row (png_structp png_ptr, png_row_infop
241row_info, png_bytep row, png_bytep prev_row, int filter);
242
243void png_read_finish_row (png_structp png_ptr);
244
245void png_read_init (png_structp png_ptr);
246
247void png_read_push_finish_row (png_structp png_ptr);
248
249void png_read_start_row (png_structp png_ptr);
250
251void png_read_transform_info (png_structp png_ptr, png_infop
252info_ptr);
253
254void png_reset_crc (png_structp png_ptr);
255
256void png_save_int_32 (png_bytep buf, png_int_32 i);
257
258void png_save_uint_16 (png_bytep buf, unsigned int i);
259
260void png_save_uint_32 (png_bytep buf, png_uint_32 i);
261
262void png_write_bKGD (png_structp png_ptr, png_color_16p values,
263int color_type);
264
265void png_write_cHRM (png_structp png_ptr, double white_x,
266double white_y, double red_x, double red_y, double green_x,
267double green_y, double blue_x, double blue_y);
268
269void png_write_data (png_structp png_ptr, png_bytep data,
270png_size_t length);
271void png_write_filtered_row (png_structp png_ptr, png_bytep
272filtered_row);
273
274void png_write_find_filter (png_structp png_ptr, png_row_infop
275row_info);
276
277void png_write_finish_row (png_structp png_ptr);
278
279void png_write_gAMA (png_structp png_ptr, double file_gamma);
280
281void png_write_hIST (png_structp png_ptr, png_uint_16p hist,
282int num_hist);
283
284void png_write_init (png_structp png_ptr);
285
286void png_write_IDAT (png_structp png_ptr, png_bytep data,
287png_size_t length);
288
289void png_write_IEND (png_structp png_ptr);
290
291void png_write_IHDR (png_structp png_ptr, png_uint_32 width,
292png_uint_32 height, int bit_depth, int color_type, int
293compression_type, int filter_type, int interlace_type);
294
295void png_write_oFFs (png_structp png_ptr, png_uint_32 x_offset,
296png_uint_32 y_offset, int unit_type);
297
298void png_write_pCAL (png_structp png_ptr, png_charp purpose,
299png_int_32 X0, png_int_32 X1, int type, int nparams, png_charp
300units, png_charpp params);
301
302void png_write_pHYs (png_structp png_ptr, png_uint_32
303x_pixels_per_unit, png_uint_32 y_pixels_per_unit, int
304unit_type);
305
306void png_write_PLTE (png_structp png_ptr, png_colorp palette,
307png_uint_32 num_pal);
308
309void png_write_sBIT (png_structp png_ptr, png_color_8p sbit,
310int color_type);
311
312void png_write_sig (png_structp png_ptr);
313
314void png_write_sRGB (png_structp png_ptr, int intent);
315
316void png_write_start_row (png_structp png_ptr);
317
318void png_write_tEXt (png_structp png_ptr, png_charp key,
319png_charp text, png_size_t text_len);
320
321void png_write_tIME (png_structp png_ptr, png_timep mod_time);
322
323void png_write_tRNS (png_structp png_ptr, png_bytep trans,
324png_color_16p values, int number, int color_type);
325
326void png_write_zTXt (png_structp png_ptr, png_charp key,
327png_charp text, png_size_t text_len, int compression);
328
329voidpf png_zalloc (voidpf png_ptr, uInt items, uInt size);
330
331void png_zfree (voidpf png_ptr, voidpf ptr);
332
333.SH DESCRIPTION
334The functions listed above are used privately by libpng
335and are not recommended for use by applications. They
336are listed alphabetically here as an aid to libpng maintainers.
337See png.h for more information on these functions.
338
339.SH SEE ALSO
340libpng(3), png(5)
341.SH AUTHOR
342Glenn Randers-Pehrson