Searched defs:filter_costs (Results 1 - 4 of 4) sorted by relevance
/external/chromium_org/third_party/libpng/ |
H A D | pngwrite.c | 1148 png_free(png_ptr, png_ptr->filter_costs); 1302 png_doublep filter_costs) 1378 if (png_ptr->filter_costs == NULL) 1380 png_ptr->filter_costs = (png_uint_16p)png_malloc(png_ptr, 1389 png_ptr->filter_costs[i] = PNG_COST_FACTOR; 1402 if (filter_costs == NULL || filter_costs[i] < 0.0) 1405 png_ptr->filter_costs[i] = PNG_COST_FACTOR; 1407 else if (filter_costs[i] >= 1.0) 1410 (png_uint_16)((double)PNG_COST_FACTOR / filter_costs[ 1300 png_set_filter_heuristics(png_structp png_ptr, int heuristic_method, int num_weights, png_doublep filter_weights, png_doublep filter_costs) argument [all...] |
/external/qemu/distrib/libpng-1.2.46/ |
H A D | pngwrite.c | 1148 png_free(png_ptr, png_ptr->filter_costs); 1302 png_doublep filter_costs) 1378 if (png_ptr->filter_costs == NULL) 1380 png_ptr->filter_costs = (png_uint_16p)png_malloc(png_ptr, 1389 png_ptr->filter_costs[i] = PNG_COST_FACTOR; 1402 if (filter_costs == NULL || filter_costs[i] < 0.0) 1405 png_ptr->filter_costs[i] = PNG_COST_FACTOR; 1407 else if (filter_costs[i] >= 1.0) 1410 (png_uint_16)((double)PNG_COST_FACTOR / filter_costs[ 1300 png_set_filter_heuristics(png_structp png_ptr, int heuristic_method, int num_weights, png_doublep filter_weights, png_doublep filter_costs) argument [all...] |
/external/libpng/ |
H A D | pngwrite.c | 941 /* Use this to save a little code space, it doesn't free the filter_costs */ 943 png_free(png_ptr, png_ptr->filter_costs); 1151 /* Leave the filter_costs - this array is fixed size. */ 1202 if (png_ptr->filter_costs == NULL) 1204 png_ptr->filter_costs = (png_uint_16p)png_malloc(png_ptr, 1214 png_ptr->filter_costs[i] = PNG_COST_FACTOR; 1240 png_const_doublep filter_costs) 1279 for (i = 0; i < PNG_FILTER_VALUE_LAST; i++) if (filter_costs[i] >= 1.0) 1282 (png_uint_16)(PNG_COST_FACTOR / filter_costs[i] + .5); 1284 png_ptr->filter_costs[ 1238 png_set_filter_heuristics(png_structrp png_ptr, int heuristic_method, int num_weights, png_const_doublep filter_weights, png_const_doublep filter_costs) argument 1293 png_set_filter_heuristics_fixed(png_structrp png_ptr, int heuristic_method, int num_weights, png_const_fixed_point_p filter_weights, png_const_fixed_point_p filter_costs) argument [all...] |
H A D | pngstruct.h | 403 png_uint_16p filter_costs; /* relative filter calculation cost */ member in struct:png_struct_def
|
Completed in 1134 milliseconds