Skip to content
Snippets Groups Projects
Commit 961f723a authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

Prototypes for the _ec variants of the calls

parent 2f6c5fea
No related branches found
No related tags found
No related merge requests found
......@@ -39,6 +39,8 @@
#include "arch.h"
#include "mdct.h"
#include "pitch.h"
#include "entenc.h"
#include "entdec.h"
#define MAX_CONFIG_SIZES 5
......@@ -110,4 +112,10 @@ struct CELTMode {
int check_mode(const CELTMode *mode);
/* Prototypes for _ec versions of the encoder/decoder calls (not public) */
int celt_encode_with_ec(CELTEncoder * restrict st, const celt_int16 * pcm, celt_int16 * optional_resynthesis, int frame_size, unsigned char *compressed, int nbCompressedBytes, ec_enc *enc);
int celt_encode_with_ec_float(CELTEncoder * restrict st, const float * pcm, float * optional_resynthesis, int frame_size, unsigned char *compressed, int nbCompressedBytes, ec_enc *enc);
int celt_decode_with_ec(CELTDecoder * restrict st, const unsigned char *data, int len, celt_int16 * restrict pcm, int frame_size, ec_dec *dec);
int celt_decode_with_ec_float(CELTDecoder * restrict st, const unsigned char *data, int len, celt_sig * restrict pcm, int frame_size, ec_dec *dec);
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment