From 961f723ab756ac0a760a1b858c110720765a9a2c Mon Sep 17 00:00:00 2001 From: Jean-Marc Valin Date: Thu, 1 Jul 2010 10:14:20 -0400 Subject: [PATCH] Prototypes for the _ec variants of the calls --- libcelt/modes.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libcelt/modes.h b/libcelt/modes.h index 3b836cce..4fcdbf09 100644 --- a/libcelt/modes.h +++ b/libcelt/modes.h @@ -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