mirror of
https://github.com/xiph/opus.git
synced 2025-05-19 01:48:30 +00:00
Add LPCNet decoder object
This commit is contained in:
parent
fe608dfc51
commit
54b057c9cd
7 changed files with 144 additions and 39 deletions
19
dnn/lpcnet.h
19
dnn/lpcnet.h
|
@ -32,8 +32,23 @@
|
|||
|
||||
typedef struct LPCNetState LPCNetState;
|
||||
|
||||
typedef struct LPCNetDecState LPCNetDecState;
|
||||
|
||||
typedef struct LPCNetEncState LPCNetEncState;
|
||||
|
||||
|
||||
int lpcnet_decoder_get_size();
|
||||
|
||||
int lpcnet_decoder_init(LPCNetDecState *st);
|
||||
|
||||
LPCNetDecState *lpcnet_decoder_create();
|
||||
|
||||
void lpcnet_decoder_destroy(LPCNetDecState *st);
|
||||
|
||||
int lpcnet_decode(LPCNetDecState *st, const unsigned char *buf, short *pcm);
|
||||
|
||||
|
||||
|
||||
int lpcnet_encoder_get_size();
|
||||
|
||||
int lpcnet_encoder_init(LPCNetEncState *st);
|
||||
|
@ -46,6 +61,10 @@ int lpcnet_encode(LPCNetEncState *st, const short *pcm, unsigned char *buf);
|
|||
|
||||
|
||||
|
||||
int lpcnet_get_size();
|
||||
|
||||
int lpcnet_init(LPCNetState *lpcnet);
|
||||
|
||||
LPCNetState *lpcnet_create();
|
||||
|
||||
void lpcnet_destroy(LPCNetState *lpcnet);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue