mirror of
https://github.com/xiph/opus.git
synced 2025-06-04 01:27:42 +00:00
Add LPCNet decoder object
This commit is contained in:
parent
fe608dfc51
commit
54b057c9cd
7 changed files with 144 additions and 39 deletions
|
@ -33,7 +33,10 @@ struct LPCNetState {
|
|||
float deemph_mem;
|
||||
};
|
||||
|
||||
|
||||
struct LPCNetDecState {
|
||||
LPCNetState lpcnet_state;
|
||||
float vq_mem[NB_BANDS];
|
||||
};
|
||||
|
||||
struct LPCNetEncState{
|
||||
float analysis_mem[OVERLAP_SIZE];
|
||||
|
@ -70,6 +73,6 @@ void process_superframe(LPCNetEncState *st, unsigned char *buf, FILE *ffeat, int
|
|||
|
||||
void compute_frame_features(LPCNetEncState *st, const float *in);
|
||||
|
||||
void decode_packet(float features[4][NB_TOTAL_FEATURES], float *vq_mem, unsigned char buf[8]);
|
||||
void decode_packet(float features[4][NB_TOTAL_FEATURES], float *vq_mem, const unsigned char buf[8]);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue