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