Searched refs:PNG_WEIGHT_FACTOR (Results 1 – 4 of 4) sorted by relevance
1126 png_ptr->filter_weights[i] = PNG_WEIGHT_FACTOR; in png_init_filter_heuristics()1193 png_ptr->filter_weights[i] = PNG_WEIGHT_FACTOR; in png_set_filter_heuristics()1199 (png_uint_16)(PNG_WEIGHT_FACTOR*filter_weights[i]+.5); in png_set_filter_heuristics()1202 (png_uint_16)(PNG_WEIGHT_FACTOR/filter_weights[i]+.5); in png_set_filter_heuristics()1248 png_ptr->filter_weights[i] = PNG_WEIGHT_FACTOR; in png_set_filter_heuristics_fixed()1254 ((PNG_WEIGHT_FACTOR*filter_weights[i]+PNG_FP_HALF)/PNG_FP_1); in png_set_filter_heuristics_fixed()1256 png_ptr->filter_weights[i] = (png_uint_16)((PNG_WEIGHT_FACTOR* in png_set_filter_heuristics_fixed()
550 #define PNG_WEIGHT_FACTOR (1<<(PNG_WEIGHT_SHIFT)) macro
1192 png_ptr->filter_weights[i] = PNG_WEIGHT_FACTOR; in png_init_filter_heuristics()1259 png_ptr->filter_weights[i] = PNG_WEIGHT_FACTOR; in png_set_filter_heuristics()1265 (png_uint_16)(PNG_WEIGHT_FACTOR*filter_weights[i]+.5); in png_set_filter_heuristics()1268 (png_uint_16)(PNG_WEIGHT_FACTOR/filter_weights[i]+.5); in png_set_filter_heuristics()1314 png_ptr->filter_weights[i] = PNG_WEIGHT_FACTOR; in png_set_filter_heuristics_fixed()1320 ((PNG_WEIGHT_FACTOR*filter_weights[i]+PNG_FP_HALF)/PNG_FP_1); in png_set_filter_heuristics_fixed()1322 png_ptr->filter_weights[i] = (png_uint_16)((PNG_WEIGHT_FACTOR* in png_set_filter_heuristics_fixed()
597 #define PNG_WEIGHT_FACTOR (1<<(PNG_WEIGHT_SHIFT)) macro