#ifndef VQ_H
#define VQ_H

#include "entcode.h"
#include "config.h"

#ifndef HW_EXPROTATION_LAST
void alg_quant(short *X, short N, short K, ec_enc *enc);
void alg_unquant(short *X, short N, short K, ec_dec *dec);
#else
void alg_quant(short *X, short N, short K, ec_enc *enc, short exp_flag);
void alg_unquant(short *X, short N, short K, ec_dec *dec, short exp_flag);
#endif

#ifndef HW_DEC_RANDOM
void renormalise_vector(short *X, short N,short flag);
#else
void renormalise_vector(short *X, short N);
#endif

#endif /* VQ_H */
