Home
last modified time | relevance | path

Searched refs:SpeexBits (Results 1 – 19 of 19) sorted by relevance

/external/speex/include/speex/
Dspeex_bits.h49 typedef struct SpeexBits { struct
59 } SpeexBits; typedef
62 void speex_bits_init(SpeexBits *bits);
65 void speex_bits_init_buffer(SpeexBits *bits, void *buff, int buf_size);
68 void speex_bits_set_bit_buffer(SpeexBits *bits, void *buff, int buf_size);
71 void speex_bits_destroy(SpeexBits *bits);
74 void speex_bits_reset(SpeexBits *bits);
77 void speex_bits_rewind(SpeexBits *bits);
80 void speex_bits_read_from(SpeexBits *bits, char *bytes, int len);
88 void speex_bits_read_whole_bytes(SpeexBits *bits, char *bytes, int len);
[all …]
Dspeex_callbacks.h88 typedef int (*speex_callback_func)(SpeexBits *bits, void *state, void *data);
100 int speex_inband_handler(SpeexBits *bits, SpeexCallback *callback_list, void *state);
103 int speex_std_mode_request_handler(SpeexBits *bits, void *state, void *data);
106 int speex_std_high_mode_request_handler(SpeexBits *bits, void *state, void *data);
109 int speex_std_char_handler(SpeexBits *bits, void *state, void *data);
112 int speex_default_user_handler(SpeexBits *bits, void *state, void *data);
117 int speex_std_low_mode_request_handler(SpeexBits *bits, void *state, void *data);
120 int speex_std_vbr_request_handler(SpeexBits *bits, void *state, void *data);
123 int speex_std_enh_request_handler(SpeexBits *bits, void *state, void *data);
126 int speex_std_vbr_quality_request_handler(SpeexBits *bits, void *state, void *data);
Dspeex.h227 typedef int (*encode_func)(void *state, void *in, SpeexBits *bits);
239 typedef int (*decode_func)(void *state, SpeexBits *bits, void *out);
316 int speex_encode(void *state, float *in, SpeexBits *bits);
325 int speex_encode_int(void *state, spx_int16_t *in, SpeexBits *bits);
361 int speex_decode(void *state, SpeexBits *bits, float *out);
371 int speex_decode_int(void *state, SpeexBits *bits, spx_int16_t *out);
Dspeex_stereo.h72 void speex_encode_stereo(float *data, int frame_size, SpeexBits *bits);
75 void speex_encode_stereo_int(spx_int16_t *data, int frame_size, SpeexBits *bits);
84 int speex_std_stereo_request_handler(SpeexBits *bits, void *state, void *data);
/external/speex/libspeex/
Dbits.c48 EXPORT void speex_bits_init(SpeexBits *bits) in speex_bits_init()
61 EXPORT void speex_bits_init_buffer(SpeexBits *bits, void *buff, int buf_size) in speex_bits_init_buffer()
71 EXPORT void speex_bits_set_bit_buffer(SpeexBits *bits, void *buff, int buf_size) in speex_bits_set_bit_buffer()
85 EXPORT void speex_bits_destroy(SpeexBits *bits) in speex_bits_destroy()
92 EXPORT void speex_bits_reset(SpeexBits *bits) in speex_bits_reset()
102 EXPORT void speex_bits_rewind(SpeexBits *bits) in speex_bits_rewind()
109 EXPORT void speex_bits_read_from(SpeexBits *bits, char *chars, int len) in speex_bits_read_from()
147 static void speex_bits_flush(SpeexBits *bits) in speex_bits_flush()
156 EXPORT void speex_bits_read_whole_bytes(SpeexBits *bits, char *chars, int nbytes) in speex_bits_read_whole_bytes()
188 EXPORT int speex_bits_write(SpeexBits *bits, char *chars, int max_nbytes) in speex_bits_write()
[all …]
Dspeex_callbacks.c43 EXPORT int speex_inband_handler(SpeexBits *bits, SpeexCallback *callback_list, void *state) in speex_inband_handler()
75 EXPORT int speex_std_mode_request_handler(SpeexBits *bits, void *state, void *data) in speex_std_mode_request_handler()
83 EXPORT int speex_std_low_mode_request_handler(SpeexBits *bits, void *state, void *data) in speex_std_low_mode_request_handler()
91 EXPORT int speex_std_high_mode_request_handler(SpeexBits *bits, void *state, void *data) in speex_std_high_mode_request_handler()
100 EXPORT int speex_std_vbr_request_handler(SpeexBits *bits, void *state, void *data) in speex_std_vbr_request_handler()
109 EXPORT int speex_std_enh_request_handler(SpeexBits *bits, void *state, void *data) in speex_std_enh_request_handler()
118 EXPORT int speex_std_vbr_quality_request_handler(SpeexBits *bits, void *state, void *data) in speex_std_vbr_quality_request_handler()
127 EXPORT int speex_std_char_handler(SpeexBits *bits, void *state, void *data) in speex_std_char_handler()
139 EXPORT int speex_default_user_handler(SpeexBits *bits, void *state, void *data) in speex_default_user_handler()
Dmodes.h68 typedef void (*lsp_quant_func)(spx_lsp_t *, spx_lsp_t *, int, SpeexBits *);
71 typedef void (*lsp_unquant_func)(spx_lsp_t *, int, SpeexBits *);
77 … int, int, SpeexBits*, char *, spx_word16_t *, spx_word16_t *, int, int, int, spx_word32_t *);
81 spx_word16_t *, SpeexBits*, char*, int, int, spx_word16_t, int);
86 spx_sig_t *, spx_word16_t *, SpeexBits *, char *, int, int);
89 typedef void (*innovation_unquant_func)(spx_sig_t *, const void *, int, SpeexBits*, char *, spx_int…
155 int speex_encode_native(void *state, spx_word16_t *in, SpeexBits *bits);
156 int speex_decode_native(void *state, SpeexBits *bits, spx_word16_t *out);
Dquant_lsp.h57 void lsp_quant_nb(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits);
60 void lsp_unquant_nb(spx_lsp_t *lsp, int order, SpeexBits *bits);
63 void lsp_quant_lbr(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits);
66 void lsp_unquant_lbr(spx_lsp_t *lsp, int order, SpeexBits *bits);
69 void lsp_quant_high(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits);
72 void lsp_unquant_high(spx_lsp_t *lsp, int order, SpeexBits *bits);
Dspeex.c73 int speex_encode_native(void *state, spx_word16_t *in, SpeexBits *bits) in speex_encode_native()
78 int speex_decode_native(void *state, SpeexBits *bits, spx_word16_t *out) in speex_decode_native()
88 EXPORT int speex_encode(void *state, float *in, SpeexBits *bits) in speex_encode()
107 EXPORT int speex_encode_int(void *state, spx_int16_t *in, SpeexBits *bits) in speex_encode_int()
115 EXPORT int speex_decode(void *state, SpeexBits *bits, float *out) in speex_decode()
128 EXPORT int speex_decode_int(void *state, SpeexBits *bits, spx_int16_t *out) in speex_decode_int()
136 EXPORT int speex_encode(void *state, float *in, SpeexBits *bits) in speex_encode()
141 EXPORT int speex_encode_int(void *state, spx_int16_t *in, SpeexBits *bits) in speex_encode_int()
152 EXPORT int speex_decode(void *state, SpeexBits *bits, float *out) in speex_decode()
157 EXPORT int speex_decode_int(void *state, SpeexBits *bits, spx_int16_t *out) in speex_decode_int()
Dcb_search.h61 SpeexBits *bits,
71 SpeexBits *bits,
87 SpeexBits *bits,
98 SpeexBits *bits,
Dltp.h71 SpeexBits *bits,
92 SpeexBits *bits,
114 SpeexBits *bits,
135 SpeexBits *bits,
Dquant_lsp.c159 void lsp_quant_nb(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits) in lsp_quant_nb()
213 void lsp_unquant_nb(spx_lsp_t *lsp, int order, SpeexBits *bits) in lsp_unquant_nb()
242 void lsp_quant_lbr(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits) in lsp_quant_lbr()
283 void lsp_unquant_lbr(spx_lsp_t *lsp, int order, SpeexBits *bits) in lsp_unquant_lbr()
306 void lsp_quant_high(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits) in lsp_quant_high()
310 void lsp_unquant_high(spx_lsp_t *lsp, int order, SpeexBits *bits) in lsp_unquant_high()
319 void lsp_quant_high(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits) in lsp_quant_high()
366 void lsp_unquant_high(spx_lsp_t *lsp, int order, SpeexBits *bits) in lsp_unquant_high()
Dsb_celp.h139 int sb_encode(void *state, void *in, SpeexBits *bits);
149 int sb_decode(void *state, SpeexBits *bits, void *out);
Dnb_celp.h184 int nb_encode(void *state, void *in, SpeexBits *bits);
194 int nb_decode(void *state, SpeexBits *bits, void *out);
Dstereo.c108 EXPORT void speex_encode_stereo(float *data, int frame_size, SpeexBits *bits) in speex_encode_stereo()
146 EXPORT void speex_encode_stereo_int(spx_int16_t *data, int frame_size, SpeexBits *bits) in speex_encode_stereo_int()
274 EXPORT int speex_std_stereo_request_handler(SpeexBits *bits, void *state, void *data) in speex_std_stereo_request_handler()
Dcb_search.c110 SpeexBits *bits, in split_cb_search_shape_sign_N1()
252 SpeexBits *bits, in split_cb_search_shape_sign()
518 SpeexBits *bits, in split_cb_shape_sign_unquant()
582 SpeexBits *bits, in noise_codebook_quant()
603 SpeexBits *bits, in noise_codebook_unquant()
Dltp.c359 SpeexBits *bits, in pitch_gain_search_3tap()
541 SpeexBits *bits, in pitch_search_3tap()
665 SpeexBits *bits, in pitch_unquant_3tap()
768 SpeexBits *bits, in forced_pitch_quant()
815 SpeexBits *bits, in forced_pitch_unquant()
Dsb_celp.c75 int sb_encode(void *state, void *vin, SpeexBits *bits) in sb_encode()
89 int sb_decode(void *state, SpeexBits *bits, void *vout) in sb_decode()
304 int sb_encode(void *state, void *vin, SpeexBits *bits) in sb_encode()
873 int sb_decode(void *state, SpeexBits *bits, void *vout) in sb_decode()
Dnb_celp.c252 int nb_encode(void *state, void *vin, SpeexBits *bits) in nb_encode()
1083 int nb_decode(void *state, SpeexBits *bits, void *vout) in nb_decode()