[devel] Commented out declaration png_set_sCAL_fixed which hasn't been written yet

Also png_set_filter_heuristics_fixed and png_get_aspect_ratio_fixed.
This commit is contained in:
Glenn Randers-Pehrson 2010-07-30 07:36:50 -05:00
parent 7b81e2e747
commit 1e7d7d3cbf
3 changed files with 12 additions and 6 deletions

6
png.h
View File

@ -1295,9 +1295,11 @@ PNG_EXPORT(void,png_set_filter,(png_structp png_ptr, int method, int filters),,
PNG_FP_EXPORT(void,png_set_filter_heuristics,(png_structp png_ptr, PNG_FP_EXPORT(void,png_set_filter_heuristics,(png_structp png_ptr,
int heuristic_method, int num_weights, png_doublep filter_weights, int heuristic_method, int num_weights, png_doublep filter_weights,
png_doublep filter_costs),,68); png_doublep filter_costs),,68);
#if 0 /* TO DO */
PNG_FIXED_EXPORT(void,png_set_filter_heuristics_fixed,(png_structp png_ptr, PNG_FIXED_EXPORT(void,png_set_filter_heuristics_fixed,(png_structp png_ptr,
int heuristic_method, int num_weights, png_fixed_point_p filter_weights, int heuristic_method, int num_weights, png_fixed_point_p filter_weights,
png_fixed_point_p filter_costs),,209); png_fixed_point_p filter_costs),,209);
#endif
#endif /* PNG_WRITE_WEIGHTED_FILTER_SUPPORTED */ #endif /* PNG_WRITE_WEIGHTED_FILTER_SUPPORTED */
/* Heuristic used for row filter selection. These defines should NOT be /* Heuristic used for row filter selection. These defines should NOT be
@ -1605,8 +1607,10 @@ PNG_EXPORT(png_uint_32,png_get_y_pixels_per_meter,(png_structp png_ptr,
/* Returns pixel aspect ratio, computed from pHYs chunk data. */ /* Returns pixel aspect ratio, computed from pHYs chunk data. */
PNG_FP_EXPORT(float,png_get_pixel_aspect_ratio,(png_structp png_ptr, PNG_FP_EXPORT(float,png_get_pixel_aspect_ratio,(png_structp png_ptr,
png_infop info_ptr),,125); png_infop info_ptr),,125);
#if 0 /* TO DO */
PNG_FIXED_EXPORT(png_fixed_point,png_get_pixel_aspect_ratio_fixed, PNG_FIXED_EXPORT(png_fixed_point,png_get_pixel_aspect_ratio_fixed,
(png_structp png_ptr, png_infop info_ptr),,210); (png_structp png_ptr, png_infop info_ptr),,210);
#endif
/* Returns image x, y offset in pixels or microns, from oFFs chunk data. */ /* Returns image x, y offset in pixels or microns, from oFFs chunk data. */
PNG_EXPORT(png_int_32,png_get_x_offset_pixels,(png_structp png_ptr, PNG_EXPORT(png_int_32,png_get_x_offset_pixels,(png_structp png_ptr,
@ -1824,9 +1828,11 @@ PNG_EXPORT(png_uint_32,png_get_sCAL_s,(png_structp png_ptr,
PNG_FP_EXPORT(void,png_set_sCAL,(png_structp png_ptr, png_infop info_ptr, PNG_FP_EXPORT(void,png_set_sCAL,(png_structp png_ptr, png_infop info_ptr,
int unit, double width, double height),,170); int unit, double width, double height),,170);
#if 0 /* TO DO */
PNG_FIXED_EXPORT(void,png_set_sCAL_fixed,(png_structp png_ptr, PNG_FIXED_EXPORT(void,png_set_sCAL_fixed,(png_structp png_ptr,
png_infop info_ptr, int unit, png_fixed_point width, png_infop info_ptr, int unit, png_fixed_point width,
png_fixed_point height), ,213); png_fixed_point height), ,213);
#endif
PNG_EXPORT(void,png_set_sCAL_s,(png_structp png_ptr, png_infop info_ptr, PNG_EXPORT(void,png_set_sCAL_s,(png_structp png_ptr, png_infop info_ptr,
int unit, png_charp swidth, png_charp sheight),,171); int unit, png_charp swidth, png_charp sheight),,171);
#endif /* PNG_sCAL_SUPPORTED */ #endif /* PNG_sCAL_SUPPORTED */

View File

@ -218,11 +218,11 @@ EXPORTS
png_save_int_32 @206 png_save_int_32 @206
png_save_uint_16 @207 png_save_uint_16 @207
png_set_gamma_fixed @208 png_set_gamma_fixed @208
png_set_filter_heuristics_fixed @209 ; png_set_filter_heuristics_fixed @209
png_get_pixel_aspect_ratio_fixed @210 ; png_get_pixel_aspect_ratio_fixed @210
png_get_x_offset_inches_fixed @211 png_get_x_offset_inches_fixed @211
png_get_y_offset_inches_fixed @212 png_get_y_offset_inches_fixed @212
png_set_sCAL_fixed @213 ; png_set_sCAL_fixed @213
png_get_sCAL_fixed @214 png_get_sCAL_fixed @214
png_get_num_passes @215 png_get_num_passes @215
png_get_num_rows @216 png_get_num_rows @216

View File

@ -214,11 +214,11 @@ EXPORTS
png_save_int_32 @206 png_save_int_32 @206
png_save_uint_16 @207 png_save_uint_16 @207
png_set_gamma_fixed @208 png_set_gamma_fixed @208
png_set_filter_heuristics_fixed @209 ; png_set_filter_heuristics_fixed @209
png_get_pixel_aspect_ratio_fixed @210 ; png_get_pixel_aspect_ratio_fixed @210
png_get_x_offset_inches_fixed @211 png_get_x_offset_inches_fixed @211
png_get_y_offset_inches_fixed @212 png_get_y_offset_inches_fixed @212
png_set_sCAL_fixed @213 ; png_set_sCAL_fixed @213
png_get_sCAL_fixed @214 png_get_sCAL_fixed @214
png_get_num_passes @215 png_get_num_passes @215
png_get_num_rows @216 png_get_num_rows @216