Added support for codebooks up to 64 bits.

This commit is contained in:
Jean-Marc Valin 2007-12-11 14:52:56 +11:00
parent f13fea7b53
commit f8db800c44
5 changed files with 153 additions and 4 deletions

View file

@ -32,6 +32,7 @@
#ifndef CWRS_H
#define CWRS_H
#include "arch.h"
unsigned ncwrs(int _n,int _m);
@ -43,4 +44,11 @@ void comb2pulse(int _n,int _m,int *_y,const int *_x,const int *_s);
void pulse2comb(int _n,int _m,int *_x,int *_s,const int *_y);
/* 64-bit versions */
celt_uint64_t ncwrs64(int _n,int _m);
void cwrsi64(int _n,int _m,celt_uint64_t _i,int *_x,int *_s);
celt_uint64_t icwrs64(int _n,int _m,const int *_x,const int *_s);
#endif /* CWRS_H */