vq.c File Reference

#include "vq.h"
#include "stack_alloc.h"
#include "misc.h"

Include dependency graph for vq.c:


Functions

int scal_quant (spx_word16_t in, const spx_word16_t *boundary, int entries)
int scal_quant32 (spx_word32_t in, const spx_word32_t *boundary, int entries)
int vq_index (float *in, const float *codebook, int len, int entries)
void vq_nbest (spx_word16_t *in, const spx_word16_t *codebook, int len, int entries, spx_word32_t *E, int N, int *nbest, spx_word32_t *best_dist, char *stack)
void vq_nbest_sign (spx_word16_t *in, const spx_word16_t *codebook, int len, int entries, spx_word32_t *E, int N, int *nbest, spx_word32_t *best_dist, char *stack)

Function Documentation

int scal_quant ( spx_word16_t  in,
const spx_word16_t boundary,
int  entries 
)

Referenced by sb_encode().

int scal_quant32 ( spx_word32_t  in,
const spx_word32_t boundary,
int  entries 
)

int vq_index ( float *  in,
const float *  codebook,
int  len,
int  entries 
)

void vq_nbest ( spx_word16_t in,
const spx_word16_t codebook,
int  len,
int  entries,
spx_word32_t E,
int  N,
int *  nbest,
spx_word32_t best_dist,
char *  stack 
)

void vq_nbest_sign ( spx_word16_t in,
const spx_word16_t codebook,
int  len,
int  entries,
spx_word32_t E,
int  N,
int *  nbest,
spx_word32_t best_dist,
char *  stack 
)

References ADD32, MAC16_16, and SHR32.

Referenced by split_cb_search_shape_sign().


Generated on Wed May 7 21:15:08 2008 for speex by  doxygen 1.5.5