Searched refs:PNG_WEIGHT_FACTOR (Results 1 – 6 of 6) sorted by relevance
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
1354 png_ptr->filter_weights[i] = PNG_WEIGHT_FACTOR; in png_set_filter_heuristics()1363 png_ptr->filter_weights[i] = PNG_WEIGHT_FACTOR; in png_set_filter_heuristics()1368 (png_uint_16)((double)PNG_WEIGHT_FACTOR*filter_weights[i]+0.5); in png_set_filter_heuristics()1370 (png_uint_16)((double)PNG_WEIGHT_FACTOR/filter_weights[i]+0.5); in png_set_filter_heuristics()
3040 #define PNG_WEIGHT_FACTOR (1<<(PNG_WEIGHT_SHIFT)) macro
2968 #define PNG_WEIGHT_FACTOR (1<<(PNG_WEIGHT_SHIFT)) macro