mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
9 lines
355 B
C
9 lines
355 B
C
|
//
|
||
|
// nearest.h
|
||
|
// pngquant
|
||
|
//
|
||
|
struct nearest_map;
|
||
|
LIQ_PRIVATE struct nearest_map *nearest_init(const colormap *palette, const bool fast);
|
||
|
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);
|
||
|
LIQ_PRIVATE void nearest_free(struct nearest_map *map);
|