• Home
  • Raw
  • Download

Lines Matching refs:PNG_CONST

158    PNG_CONST char *cat)  in safecat()
187 static PNG_CONST char invalid[] = "invalid";
188 static PNG_CONST char sep[] = ": ";
190 static PNG_CONST char *colour_types[8] =
839 size_t pos, PNG_CONST char *msg) in store_message()
957 store_image_row(PNG_CONST png_store* ps, png_const_structp pp, int nImage, in store_image_row()
1061 store_image_check(PNG_CONST png_store* ps, png_const_structp pp, int iImage) in store_image_check()
1308 store_pool_error(png_store *ps, png_const_structp pp, PNG_CONST char *msg) in store_pool_error()
1372 (unsigned long)next->size, (PNG_CONST void*)(next+1)); in store_pool_delete()
1528 PNG_CONST char * volatile name) in set_store_for_write()
1648 PNG_CONST char *name) in set_store_for_read()
1768 white_point(PNG_CONST color_encoding *encoding) in white_point()
1783 PNG_CONST double whiteY = encoding->red.Y + encoding->green.Y + in normalize_color_encoding()
1803 PNG_CONST color_encoding *e, double encoding_gamma) in safecat_color_encoding()
1864 PNG_CONST color_encoding *encodings;
1866 PNG_CONST color_encoding *current_encoding; /* If an encoding has been set */
2060 PNG_CONST unsigned int digitization_factor = (1U << depth) -1; in digitize()
2079 static double abserr(PNG_CONST png_modifier *pm, int in_depth, int out_depth) in abserr()
2091 static double calcerr(PNG_CONST png_modifier *pm, int in_depth, int out_depth) in calcerr()
2104 static double pcerr(PNG_CONST png_modifier *pm, int in_depth, int out_depth) in pcerr()
2127 static double outerr(PNG_CONST png_modifier *pm, int in_depth, int out_depth) in outerr()
2159 static double outlog(PNG_CONST png_modifier *pm, int in_depth, int out_depth) in outlog()
2197 static int output_quantization_factor(PNG_CONST png_modifier *pm, int in_depth, in output_quantization_factor()
2261 modifier_current_encoding(PNG_CONST png_modifier *pm, color_encoding *ce) in modifier_current_encoding()
2275 PNG_CONST png_modifier *pm) in safecat_current_encoding()
2304 modifier_total_encodings(PNG_CONST png_modifier *pm) in modifier_total_encodings()
2420 modifier_color_encoding_is_sRGB(PNG_CONST png_modifier *pm) in modifier_color_encoding_is_sRGB()
2427 modifier_color_encoding_is_set(PNG_CONST png_modifier *pm) in modifier_color_encoding_is_set()
2746 PNG_CONST char *name) in set_modifier_for_read()
2806 PNG_CONST color_encoding *encoding;
2830 PNG_CONST color_encoding *encoding) in chrm_modification_init()
3419 check_interlace_type(int PNG_CONST interlace_type) in check_interlace_type()
3439 make_transform_image(png_store* PNG_CONST ps, png_byte PNG_CONST colour_type, in make_transform_image()
3440 png_byte PNG_CONST bit_depth, unsigned int palette_number, in make_transform_image()
3671 make_size_image(png_store* PNG_CONST ps, png_byte PNG_CONST colour_type, in make_size_image()
3672 png_byte PNG_CONST bit_depth, int PNG_CONST interlace_type, in make_size_image()
3673 png_uint_32 PNG_CONST w, png_uint_32 PNG_CONST h, in make_size_image()
3674 int PNG_CONST do_interlace) in make_size_image()
3692 PNG_CONST png_uint_32 id = FILEID(colour_type, bit_depth, 0/*palette*/, in make_size_image()
3770 PNG_CONST png_uint_32 wPass = PNG_PASS_COLS(w, pass); in make_size_image()
3869 make_size(png_store* PNG_CONST ps, png_byte PNG_CONST colour_type, int bdlo, in make_size()
3870 int PNG_CONST bdhi) in make_size()
3966 static PNG_CONST struct
3969 PNG_CONST char *msg;
3979 make_error(png_store* volatile psIn, png_byte PNG_CONST colour_type, in make_error()
4083 make_errors(png_modifier* PNG_CONST pm, png_byte PNG_CONST colour_type, in make_errors()
4084 int bdlo, int PNG_CONST bdhi) in make_errors()
4694 PNG_CONST standard_display *dp = voidcast(standard_display*, in progressive_row()
4753 PNG_CONST int iImage, PNG_CONST int iDisplay) in sequential_row()
4755 PNG_CONST int npasses = dp->npasses; in sequential_row()
4756 PNG_CONST int do_interlace = dp->do_interlace && in sequential_row()
4758 PNG_CONST png_uint_32 height = standard_height(pp, dp->id); in sequential_row()
4759 PNG_CONST png_uint_32 width = standard_width(pp, dp->id); in sequential_row()
4760 PNG_CONST png_store* ps = dp->ps; in sequential_row()
5023 standard_test(png_store* PNG_CONST psIn, png_uint_32 PNG_CONST id, in standard_test()
5111 test_standard(png_modifier* PNG_CONST pm, png_byte PNG_CONST colour_type, in test_standard()
5112 int bdlo, int PNG_CONST bdhi) in test_standard()
5157 test_size(png_modifier* PNG_CONST pm, png_byte PNG_CONST colour_type, in test_size()
5158 int bdlo, int PNG_CONST bdhi) in test_size()
5167 static PNG_CONST png_byte hinc[] = {1, 3, 11, 1, 5}; in test_size()
5168 static PNG_CONST png_byte winc[] = {1, 9, 5, 7, 1}; in test_size()
5329 PNG_CONST png_byte sample_depth = (png_byte)(colour_type == in image_pixel_init()
5331 PNG_CONST unsigned int max = (1U<<sample_depth)-1; in image_pixel_init()
5349 PNG_CONST unsigned int i = this->palette_index; in image_pixel_init()
5419 image_pixel_add_alpha(image_pixel *this, PNG_CONST standard_display *display) in image_pixel_add_alpha()
5481 PNG_CONST char *name;
5487 struct image_transform *PNG_CONST list;
5500 PNG_CONST struct image_transform *next;
5508 void (*ini)(PNG_CONST struct image_transform *this,
5513 void (*set)(PNG_CONST struct image_transform *this,
5522 void (*mod)(PNG_CONST struct image_transform *this, image_pixel *that,
5523 png_const_structp pp, PNG_CONST struct transform_display *display);
5531 PNG_CONST struct image_transform **that, png_byte colour_type,
5541 PNG_CONST image_transform* transform_list;
5582 image_transform_ini_end(PNG_CONST image_transform *this, in image_transform_ini_end()
5590 image_transform_set_end(PNG_CONST image_transform *this, in image_transform_set_end()
5617 image_transform_mod_end(PNG_CONST image_transform *this, image_pixel *that, in image_transform_mod_end()
5618 png_const_structp pp, PNG_CONST transform_display *display) in image_transform_mod_end()
5620 PNG_CONST unsigned int scale = (1U<<that->sample_depth)-1; in image_transform_mod_end()
5695 PNG_CONST image_transform *transform_list) in transform_display_init()
5850 PNG_CONST char *name, double digitization_error) in transform_range_check()
5894 PNG_CONST png_store* PNG_CONST ps = dp->this.ps; in transform_image_validate()
5895 PNG_CONST png_byte in_ct = dp->this.colour_type; in transform_image_validate()
5896 PNG_CONST png_byte in_bd = dp->this.bit_depth; in transform_image_validate()
5897 PNG_CONST png_uint_32 w = dp->this.w; in transform_image_validate()
5898 PNG_CONST png_uint_32 h = dp->this.h; in transform_image_validate()
5899 PNG_CONST png_byte out_ct = dp->output_colour_type; in transform_image_validate()
5900 PNG_CONST png_byte out_bd = dp->output_bit_depth; in transform_image_validate()
5901 PNG_CONST png_byte sample_depth = (png_byte)(out_ct == in transform_image_validate()
5903 PNG_CONST png_byte red_sBIT = dp->this.red_sBIT; in transform_image_validate()
5904 PNG_CONST png_byte green_sBIT = dp->this.green_sBIT; in transform_image_validate()
5905 PNG_CONST png_byte blue_sBIT = dp->this.blue_sBIT; in transform_image_validate()
5906 PNG_CONST png_byte alpha_sBIT = dp->this.alpha_sBIT; in transform_image_validate()
5907 PNG_CONST int have_tRNS = dp->this.is_transparent; in transform_image_validate()
5962 png_const_bytep PNG_CONST pRow = store_image_row(ps, pp, 0, y); in transform_image_validate()
6061 transform_test(png_modifier *pmIn, PNG_CONST png_uint_32 idIn, in transform_test()
6062 PNG_CONST image_transform* transform_listIn, PNG_CONST char * volatile name) in transform_test()
6164 image_transform_default_ini(PNG_CONST image_transform *this, in image_transform_default_ini()
6173 PNG_CONST image_transform **that, png_byte colour_type, png_byte bit_depth) in image_transform_default_add()
6188 image_transform_png_set_palette_to_rgb_set(PNG_CONST image_transform *this, in image_transform_png_set_palette_to_rgb_set()
6196 image_transform_png_set_palette_to_rgb_mod(PNG_CONST image_transform *this, in image_transform_png_set_palette_to_rgb_mod()
6198 PNG_CONST transform_display *display) in image_transform_png_set_palette_to_rgb_mod()
6208 PNG_CONST image_transform **that, png_byte colour_type, png_byte bit_depth) in image_transform_png_set_palette_to_rgb_add()
6226 image_transform_png_set_tRNS_to_alpha_set(PNG_CONST image_transform *this, in image_transform_png_set_tRNS_to_alpha_set()
6234 image_transform_png_set_tRNS_to_alpha_mod(PNG_CONST image_transform *this, in image_transform_png_set_tRNS_to_alpha_mod()
6236 PNG_CONST transform_display *display) in image_transform_png_set_tRNS_to_alpha_mod()
6262 PNG_CONST image_transform **that, png_byte colour_type, png_byte bit_depth) in image_transform_png_set_tRNS_to_alpha_add()
6284 image_transform_png_set_gray_to_rgb_set(PNG_CONST image_transform *this, in image_transform_png_set_gray_to_rgb_set()
6292 image_transform_png_set_gray_to_rgb_mod(PNG_CONST image_transform *this, in image_transform_png_set_gray_to_rgb_mod()
6294 PNG_CONST transform_display *display) in image_transform_png_set_gray_to_rgb_mod()
6325 PNG_CONST image_transform **that, png_byte colour_type, png_byte bit_depth) in image_transform_png_set_gray_to_rgb_add()
6343 image_transform_png_set_expand_set(PNG_CONST image_transform *this, in image_transform_png_set_expand_set()
6351 image_transform_png_set_expand_mod(PNG_CONST image_transform *this, in image_transform_png_set_expand_mod()
6353 PNG_CONST transform_display *display) in image_transform_png_set_expand_mod()
6369 PNG_CONST image_transform **that, png_byte colour_type, png_byte bit_depth) in image_transform_png_set_expand_add()
6393 PNG_CONST image_transform *this, transform_display *that, png_structp pp, in image_transform_png_set_expand_gray_1_2_4_to_8_set()
6402 PNG_CONST image_transform *this, image_pixel *that, png_const_structp pp, in image_transform_png_set_expand_gray_1_2_4_to_8_mod()
6403 PNG_CONST transform_display *display) in image_transform_png_set_expand_gray_1_2_4_to_8_mod()
6410 PNG_CONST image_transform **that, png_byte colour_type, png_byte bit_depth) in image_transform_png_set_expand_gray_1_2_4_to_8_add()
6424 image_transform_png_set_expand_16_set(PNG_CONST image_transform *this, in image_transform_png_set_expand_16_set()
6432 image_transform_png_set_expand_16_mod(PNG_CONST image_transform *this, in image_transform_png_set_expand_16_mod()
6434 PNG_CONST transform_display *display) in image_transform_png_set_expand_16_mod()
6453 PNG_CONST image_transform **that, png_byte colour_type, png_byte bit_depth) in image_transform_png_set_expand_16_add()
6472 image_transform_png_set_scale_16_set(PNG_CONST image_transform *this, in image_transform_png_set_scale_16_set()
6480 image_transform_png_set_scale_16_mod(PNG_CONST image_transform *this, in image_transform_png_set_scale_16_mod()
6482 PNG_CONST transform_display *display) in image_transform_png_set_scale_16_mod()
6498 PNG_CONST image_transform **that, png_byte colour_type, png_byte bit_depth) in image_transform_png_set_scale_16_add()
6516 image_transform_png_set_strip_16_set(PNG_CONST image_transform *this, in image_transform_png_set_strip_16_set()
6524 image_transform_png_set_strip_16_mod(PNG_CONST image_transform *this, in image_transform_png_set_strip_16_mod()
6526 PNG_CONST transform_display *display) in image_transform_png_set_strip_16_mod()
6551 PNG_CONST double d = (255-128.5)/65535; in image_transform_png_set_strip_16_mod()
6565 PNG_CONST image_transform **that, png_byte colour_type, png_byte bit_depth) in image_transform_png_set_strip_16_add()
6583 image_transform_png_set_strip_alpha_set(PNG_CONST image_transform *this, in image_transform_png_set_strip_alpha_set()
6591 image_transform_png_set_strip_alpha_mod(PNG_CONST image_transform *this, in image_transform_png_set_strip_alpha_mod()
6593 PNG_CONST transform_display *display) in image_transform_png_set_strip_alpha_mod()
6608 PNG_CONST image_transform **that, png_byte colour_type, png_byte bit_depth) in image_transform_png_set_strip_alpha_add()
6666 image_transform_png_set_rgb_to_gray_ini(PNG_CONST image_transform *this, in image_transform_png_set_rgb_to_gray_ini()
6670 PNG_CONST color_encoding *e = pm->current_encoding; in image_transform_png_set_rgb_to_gray_ini()
6685 PNG_CONST double whiteY = e->red.Y + e->green.Y + e->blue.Y; in image_transform_png_set_rgb_to_gray_ini()
6825 image_transform_png_set_rgb_to_gray_set(PNG_CONST image_transform *this, in image_transform_png_set_rgb_to_gray_set()
6828 PNG_CONST int error_action = 1; /* no error, no defines in png.h */ in image_transform_png_set_rgb_to_gray_set()
6865 PNG_CONST char *el; in image_transform_png_set_rgb_to_gray_set()
6952 image_transform_png_set_rgb_to_gray_mod(PNG_CONST image_transform *this, in image_transform_png_set_rgb_to_gray_mod()
6954 PNG_CONST transform_display *display) in image_transform_png_set_rgb_to_gray_mod()
6966 PNG_CONST png_modifier *pm = display->pm; in image_transform_png_set_rgb_to_gray_mod()
7007 PNG_CONST double power = 1/data.gamma; in image_transform_png_set_rgb_to_gray_mod()
7008 PNG_CONST double abse = calc_depth == 16 ? .5/65535 : .5/255; in image_transform_png_set_rgb_to_gray_mod()
7043 PNG_CONST int do_round = data.gamma != 1 || calc_depth == 16; in image_transform_png_set_rgb_to_gray_mod()
7044 PNG_CONST double ce = 1. / 32768; in image_transform_png_set_rgb_to_gray_mod()
7062 PNG_CONST double power = data.gamma; in image_transform_png_set_rgb_to_gray_mod()
7139 PNG_CONST png_modifier *pm = display->pm; in image_transform_png_set_rgb_to_gray_mod()
7229 PNG_CONST image_transform **that, png_byte colour_type, png_byte bit_depth) in image_transform_png_set_rgb_to_gray_add()
7260 image_transform_png_set_background_set(PNG_CONST image_transform *this, in image_transform_png_set_background_set()
7320 image_transform_png_set_background_mod(PNG_CONST image_transform *this, in image_transform_png_set_background_mod()
7322 PNG_CONST transform_display *display) in image_transform_png_set_background_mod()
7385 static image_transform *PNG_CONST image_transform_first = &PT;
7388 transform_enable(PNG_CONST char *name) in transform_enable()
7421 transform_disable(PNG_CONST char *name) in transform_disable()
7484 image_transform_add(PNG_CONST image_transform **this, unsigned int max, in image_transform_add()
7563 image_transform_png_set_@_set(PNG_CONST image_transform *this, in _set()
7571 image_transform_png_set_@_mod(PNG_CONST image_transform *this, in _mod()
7573 PNG_CONST transform_display *display) in _mod()
7580 PNG_CONST image_transform **that, char *name, size_t sizeof_name, in _add()
7656 PNG_CONST image_transform *list = 0; in perform_transform_test()
7717 int do_background, PNG_CONST png_color_16 *pointer_to_the_background_color, in gamma_display_init()
7785 PNG_CONST double sg = dp->screen_gamma; in gamma_info_imp()
7787 PNG_CONST png_fixed_point g = fix(sg); in gamma_info_imp()
7833 PNG_CONST double bg = dp->background_gamma; in gamma_info_imp()
7835 PNG_CONST png_fixed_point g = fix(bg); in gamma_info_imp()
7909 PNG_CONST unsigned int outmax = (1U<<out_depth)-1; in init_validate_info()
7954 PNG_CONST double bg_inverse = 1/dp->background_gamma; in init_validate_info()
8068 gamma_component_validate(PNG_CONST char *name, PNG_CONST validate_info *vi, in gamma_component_validate()
8069 PNG_CONST unsigned int id, PNG_CONST unsigned int od, in gamma_component_validate()
8070 PNG_CONST double alpha /* <0 for the alpha channel itself */, in gamma_component_validate()
8071 PNG_CONST double background /* component background value */) in gamma_component_validate()
8073 PNG_CONST unsigned int isbit = id >> vi->isbit_shift; in gamma_component_validate()
8074 PNG_CONST unsigned int sbit_max = vi->sbit_max; in gamma_component_validate()
8075 PNG_CONST unsigned int outmax = vi->outmax; in gamma_component_validate()
8076 PNG_CONST int do_background = vi->do_background; in gamma_component_validate()
8641 PNG_CONST png_store* PNG_CONST ps = dp->this.ps; in gamma_image_validate()
8642 PNG_CONST png_byte in_ct = dp->this.colour_type; in gamma_image_validate()
8643 PNG_CONST png_byte in_bd = dp->this.bit_depth; in gamma_image_validate()
8644 PNG_CONST png_uint_32 w = dp->this.w; in gamma_image_validate()
8645 PNG_CONST png_uint_32 h = dp->this.h; in gamma_image_validate()
8646 PNG_CONST size_t cbRow = dp->this.cbRow; in gamma_image_validate()
8647 PNG_CONST png_byte out_ct = png_get_color_type(pp, pi); in gamma_image_validate()
8648 PNG_CONST png_byte out_bd = png_get_bit_depth(pp, pi); in gamma_image_validate()
8689 PNG_CONST unsigned int samples_per_pixel = (out_ct & 2U) ? 3U : 1U; in gamma_image_validate()
8692 PNG_CONST store_palette_entry *in_palette = dp->this.palette; in gamma_image_validate()
8693 PNG_CONST int in_is_transparent = dp->this.is_transparent; in gamma_image_validate()
8739 PNG_CONST unsigned int in_index = in gamma_image_validate()
8741 PNG_CONST unsigned int out_index = in gamma_image_validate()
8750 PNG_CONST unsigned int input_alpha = in_ct == 3 ? in gamma_image_validate()
8846 gamma_test(png_modifier *pmIn, PNG_CONST png_byte colour_typeIn, in gamma_test()
8847 PNG_CONST png_byte bit_depthIn, PNG_CONST int palette_numberIn, in gamma_test()
8848 PNG_CONST int interlace_typeIn, in gamma_test()
8849 PNG_CONST double file_gammaIn, PNG_CONST double screen_gammaIn, in gamma_test()
8850 PNG_CONST png_byte sbitIn, PNG_CONST int threshold_testIn, in gamma_test()
8851 PNG_CONST char *name, in gamma_test()
8852 PNG_CONST int use_input_precisionIn, PNG_CONST int scale16In, in gamma_test()
8853 PNG_CONST int expand16In, PNG_CONST int do_backgroundIn, in gamma_test()
8854 PNG_CONST png_color_16 *bkgd_colorIn, double bkgd_gammaIn) in gamma_test()
9053 PNG_CONST png_byte colour_type, PNG_CONST png_byte bit_depth, in gamma_transform_test()
9054 PNG_CONST int palette_number, in gamma_transform_test()
9055 PNG_CONST int interlace_type, PNG_CONST double file_gamma, in gamma_transform_test()
9056 PNG_CONST double screen_gamma, PNG_CONST png_byte sbit, in gamma_transform_test()
9057 PNG_CONST int use_input_precision, PNG_CONST int scale16) in gamma_transform_test()
9208 PNG_CONST png_byte colour_type, PNG_CONST png_byte bit_depth, in gamma_composition_test()
9209 PNG_CONST int palette_number, in gamma_composition_test()
9210 PNG_CONST int interlace_type, PNG_CONST double file_gamma, in gamma_composition_test()
9211 PNG_CONST double screen_gamma, in gamma_composition_test()
9212 PNG_CONST int use_input_precision, PNG_CONST int do_background, in gamma_composition_test()
9213 PNG_CONST int expand_16) in gamma_composition_test()
9582 static PNG_CONST
9933 static PNG_CONST color_encoding test_encodings[] =
10030 PNG_CONST char *volatile touch = NULL; in main()