Lines Matching defs:filter_weights
1146 png_free(png_ptr, png_ptr->filter_weights);
1301 int num_weights, png_doublep filter_weights,
1321 if (num_weights < 0 || filter_weights == NULL ||
1344 if (png_ptr->filter_weights == NULL)
1346 png_ptr->filter_weights = (png_uint_16p)png_malloc(png_ptr,
1354 png_ptr->filter_weights[i] = PNG_WEIGHT_FACTOR;
1360 if (filter_weights[i] < 0.0)
1363 png_ptr->filter_weights[i] = PNG_WEIGHT_FACTOR;
1368 (png_uint_16)((double)PNG_WEIGHT_FACTOR*filter_weights[i]+0.5);
1369 png_ptr->filter_weights[i] =
1370 (png_uint_16)((double)PNG_WEIGHT_FACTOR/filter_weights[i]+0.5);