Searched defs:filter_weights (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/third_party/libpng/
H A Dpngwrite.c1146 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[
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 Dpngwrite.c1146 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[
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 Dpngwrite.c1137 if (png_ptr->filter_weights != NULL)
1139 png_uint_16p old = png_ptr->filter_weights;
1140 png_ptr->filter_weights = NULL;
1183 png_ptr->filter_weights = (png_uint_16p)png_malloc(png_ptr,
1192 png_ptr->filter_weights[i] = PNG_WEIGHT_FACTOR;
1239 int num_weights, png_const_doublep filter_weights,
1256 if (filter_weights[i] <= 0.0)
1259 png_ptr->filter_weights[i] = PNG_WEIGHT_FACTOR;
1265 (png_uint_16)(PNG_WEIGHT_FACTOR*filter_weights[i]+.5);
1267 png_ptr->filter_weights[
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 Dpngstruct.h401 png_uint_16p filter_weights; /* weight(s) for previous line(s) */ member in struct:png_struct_def

Completed in 113 milliseconds