• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //
2 //  nearest.h
3 //  pngquant
4 //
5 struct nearest_map;
6 LIQ_PRIVATE struct nearest_map *nearest_init(const colormap *palette, const bool fast);
7 LIQ_PRIVATE unsigned int nearest_search(const struct nearest_map *map, const f_pixel px, const int palette_index_guess, const float min_opaque, float *diff);
8 LIQ_PRIVATE void nearest_free(struct nearest_map *map);
9