Home | History | Annotate | Download | only in libpng-1.2.19

Lines Matching refs:filter_costs

1093    png_free(png_ptr, png_ptr->filter_costs);
1246 png_doublep filter_costs)
1321 if (png_ptr->filter_costs == NULL)
1323 png_ptr->filter_costs = (png_uint_16p)png_malloc(png_ptr,
1332 png_ptr->filter_costs[i] = PNG_COST_FACTOR;
1345 if (filter_costs == NULL || filter_costs[i] < 0.0)
1348 png_ptr->filter_costs[i] = PNG_COST_FACTOR;
1350 else if (filter_costs[i] >= 1.0)
1353 (png_uint_16)((double)PNG_COST_FACTOR / filter_costs[i] + 0.5);
1354 png_ptr->filter_costs[i] =
1355 (png_uint_16)((double)PNG_COST_FACTOR * filter_costs[i] + 0.5);