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