Searched refs:PNG_COST_FACTOR (Results 1 – 4 of 4) sorted by relevance
1148 png_ptr->filter_costs[i] = PNG_COST_FACTOR; in png_init_filter_heuristics()1216 (png_uint_16)(PNG_COST_FACTOR / filter_costs[i] + .5); in png_set_filter_heuristics()1219 (png_uint_16)(PNG_COST_FACTOR * filter_costs[i] + .5); in png_set_filter_heuristics()1277 tmp = PNG_COST_FACTOR*PNG_FP_1 + (filter_costs[i]/2); in png_set_filter_heuristics_fixed()1282 tmp = PNG_COST_FACTOR * filter_costs[i] + PNG_FP_HALF; in png_set_filter_heuristics_fixed()
551 #define PNG_COST_FACTOR (1<<(PNG_COST_SHIFT)) macro
1214 png_ptr->filter_costs[i] = PNG_COST_FACTOR; in png_init_filter_heuristics()1282 (png_uint_16)(PNG_COST_FACTOR / filter_costs[i] + .5); in png_set_filter_heuristics()1285 (png_uint_16)(PNG_COST_FACTOR * filter_costs[i] + .5); in png_set_filter_heuristics()1343 tmp = PNG_COST_FACTOR*PNG_FP_1 + (filter_costs[i]/2); in png_set_filter_heuristics_fixed()1348 tmp = PNG_COST_FACTOR * filter_costs[i] + PNG_FP_HALF; in png_set_filter_heuristics_fixed()
598 #define PNG_COST_FACTOR (1<<(PNG_COST_SHIFT)) macro