From 0f79de8435a48d33556eb651ef7d9cb0adb35ac1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Sat, 26 Dec 2015 01:34:29 +0100 Subject: [PATCH] newlines --- src/vec_match.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/vec_match.c b/src/vec_match.c index 006ed2b..7f560af 100644 --- a/src/vec_match.c +++ b/src/vec_match.c @@ -79,6 +79,7 @@ bool vec_match(const float *data, const float *ref, } + bool vec_match_packed(const float *data, const float *ref_packed, uint32_t ref_p_len, const vec_match_cfg_t *cfg, float *fuzzy_match_error, float *abs_match_error) @@ -222,6 +223,7 @@ uint32_t vec_pack_fit(float *result, uint32_t result_capacity, } + uint32_t vec_unpack(float *result, uint32_t result_capacity, const float *compr_data, uint32_t compr_length) { @@ -264,6 +266,7 @@ void pw_init(pack_walker_t *wlkr, const float *packed_vec, uint32_t packed_len) } + // rewind the struct to first entry, handle leading zero(s) void pw_rewind(pack_walker_t *w) { @@ -281,6 +284,7 @@ void pw_rewind(pack_walker_t *w) } + // get value at index in packed vector float pw_get(pack_walker_t *w, uint32_t idx) {