search for: speex_default_user_handl

Displaying 12 results from an estimated 12 matches for "speex_default_user_handl".

2007 Aug 06
2
Attempting to shrink speex: Are these functions necessary?
...ery wb_mode_query speex_lib_ctl In speex_callbacks.c: speex_inband_handler speex_std_mode_request_handler speex_std_low_mode_request_handler speex_std_high_mode_request_handler speex_std_vbr_request_handler speex_std_enh_request_handler speex_std_vbr_quality_request_handler speex_std_char_handler speex_default_user_handler In vbr.c: vbr_analysis vbr_destroy In vq.c: vq_index vq_nbest_sign -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20070806/81ab5672/attachment.htm
2005 Sep 03
2
Library export file for Win32 (patch)
...ck_signed -speex_bits_unpack_unsigned -speex_bits_nbytes -speex_bits_peek_unsigned -speex_bits_peek -speex_bits_advance -speex_bits_remaining -speex_bits_insert_terminator -speex_inband_handler -speex_std_mode_request_handler -speex_std_high_mode_request_handler -speex_std_char_handler -speex_default_user_handler -speex_std_low_mode_request_handler -speex_std_vbr_request_handler -speex_std_enh_request_handler -speex_std_vbr_quality_request_handler -speex_init_header -speex_header_to_packet -speex_packet_to_header -speex_encode_stereo -speex_decode_stereo -speex_std_stereo_request_handler +speex...
2007 Jul 07
3
In-band user data
...ode the packet. And this works :) My custom handler, set with SPEEX_SET_USER_HANDLER is called and everything is good. However, I kinda wondered what would happen if that handler WASN'T installed... And things aren't so good then. Looking at the code in speex_callbacks.c, it seems the speex_default_user_handler first unpacks 4 bits as size, then advances 8*size + 5 bits. First of all, shouldn't that be 5 bits for size (to match manual)? And where did that '+ 5 bits' come from? Next, and slightly unrelated question: Why does int jitter_buffer_update_delay(JitterBuffer *jitter, JitterBuffe...
2007 Aug 07
1
Attempting to shrink speex: Are these functions necessary?
...llbacks.c: > speex_inband_handler > speex_std_mode_request_handler > speex_std_low_mode_request_handler > speex_std_high_mode_request_handler > speex_std_vbr_request_handler > speex_std_enh_request_handler > speex_std_vbr_quality_request_handler > speex_std_char_handler > speex_default_user_handler No need for that. > In vbr.c: > vbr_analysis > vbr_destroy No need for that. > In vq.c: > vq_index > vq_nbest_sign No need for those. So yes, there's a lot of stuff you can remove. You can also get rid of the stereo preprocess, mdf files. You can also remove the VBR p...
2007 Aug 07
1
Attempting to shrink speex: Are these functions necessary?
...llbacks.c: > speex_inband_handler > speex_std_mode_request_handler > speex_std_low_mode_request_handler > speex_std_high_mode_request_handler > speex_std_vbr_request_handler > speex_std_enh_request_handler > speex_std_vbr_quality_request_handler > speex_std_char_handler > speex_default_user_handler > > In vbr.c: > vbr_analysis > vbr_destroy > > In vq.c: > vq_index > vq_nbest_sign > > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Speex-dev ma...
2007 Aug 07
0
Attempting to shrink speex: Are these functions necessary?
...ex_callbacks.c: speex_inband_handler >> speex_std_mode_request_handler speex_std_low_mode_request_handler >> speex_std_high_mode_request_handler speex_std_vbr_request_handler >> speex_std_enh_request_handler speex_std_vbr_quality_request_handler >> speex_std_char_handler speex_default_user_handler >> >> In vbr.c: vbr_analysis vbr_destroy >> >> In vq.c: vq_index vq_nbest_sign >> >> >> >> >> >> ------------------------------------------------------------------------ >> >> >> _______________________________...
2008 Mar 29
0
GCC/ELF Visibility patch
...-int speex_std_char_handler(SpeexBits *bits, void *state, void *data) +EXPORT int speex_std_char_handler(SpeexBits *bits, void *state, void *data) { unsigned char ch; ch = speex_bits_unpack_unsigned(bits, 8); @@ -136,7 +136,7 @@ /* Default handler for user callbacks: skip it */ -int speex_default_user_handler(SpeexBits *bits, void *state, void *data) +EXPORT int speex_default_user_handler(SpeexBits *bits, void *state, void *data) { int req_size = speex_bits_unpack_unsigned(bits, 4); speex_bits_advance(bits, 5+8*req_size); Index: libspeex/buffer.c ==============================================...
2008 Mar 29
2
GCC/ELF Visibility patch (fwd)
...-int speex_std_char_handler(SpeexBits *bits, void *state, void *data) +EXPORT int speex_std_char_handler(SpeexBits *bits, void *state, void *data) { unsigned char ch; ch = speex_bits_unpack_unsigned(bits, 8); @@ -136,7 +136,7 @@ /* Default handler for user callbacks: skip it */ -int speex_default_user_handler(SpeexBits *bits, void *state, void *data) +EXPORT int speex_default_user_handler(SpeexBits *bits, void *state, void *data) { int req_size = speex_bits_unpack_unsigned(bits, 4); speex_bits_advance(bits, 5+8*req_size); Index: libspeex/buffer.c ==============================================...
2008 Feb 12
1
Re: Problem with Blackfin assembly optimizations -- bug in fixed_bfin.h / resampler saturation???
...32': /home/lorenz/Blackfin/speex-1.2beta3/libspeex/fixed_debug.h:466: multiple definition of `_spx_mips' /home/lorenz/lib/libspeex_debug.a(speex.o):/home/lorenz/Blackfin/speex-1.2beta3/libspeex/speex.c:52: first defined here /home/lorenz/lib/libspeex_debug.a(speex_callbacks.o): In function `speex_default_user_handler': /home/lorenz/Blackfin/speex-1.2beta3/libspeex/speex_callbacks.c:140: multiple definition of `_spx_mips' /home/lorenz/lib/libspeex_debug.a(speex.o):/home/lorenz/Blackfin/speex-1.2beta3/libspeex/speex.c:52: first defined here /home/lorenz/lib/libspeex_debug.a(window.o):(.bss+0x0): multipl...
2008 Feb 22
1
Re: Problem with Blackfin assembly optimizations -- bug in fixed_bfin.h / resampler saturation???
...home/lorenz/Blackfin/speex-1.2beta3/libspeex/fixed_debug.h:466: multiple definition of `_spx_mips' > /home/lorenz/lib/libspeex_debug.a(speex.o):/home/lorenz/Blackfin/speex-1.2beta3/libspeex/speex.c:52: first defined here > /home/lorenz/lib/libspeex_debug.a(speex_callbacks.o): In function `speex_default_user_handler': > /home/lorenz/Blackfin/speex-1.2beta3/libspeex/speex_callbacks.c:140: multiple definition of `_spx_mips' > /home/lorenz/lib/libspeex_debug.a(speex.o):/home/lorenz/Blackfin/speex-1.2beta3/libspeex/speex.c:52: first defined here > /home/lorenz/lib/libspeex_debug.a(window.o):(.bs...
2008 Mar 05
1
Problem with Blackfin assembly optimizations -- bug in fixed_bfin.h / resampler saturation???
...ibspeex/fixed_debug.h:466: >> multiple definition of `_spx_mips' >> /home/lorenz/lib/libspeex_debug.a(speex.o):/home/lorenz/Blackfin/speex-1.2beta3/libspeex/speex.c:52: >> first defined here >> /home/lorenz/lib/libspeex_debug.a(speex_callbacks.o): In function >> `speex_default_user_handler': >> /home/lorenz/Blackfin/speex-1.2beta3/libspeex/speex_callbacks.c:140: >> multiple definition of `_spx_mips' >> /home/lorenz/lib/libspeex_debug.a(speex.o):/home/lorenz/Blackfin/speex-1.2beta3/libspeex/speex.c:52: >> first defined here >> /home/lorenz/li...
2005 May 25
3
Speex on TI C6x, Problem with TI C5x Patch
...frames)*sizeof(spx_word32_t)); st->last_pitch = 40; st->count_lost=0; st->pitch_gain_buf[0] = st->pitch_gain_buf[1] = st->pitch_gain_buf[2] = 0; st->pitch_gain_buf_idx = 0; st->sampling_rate=8000; st->last_ol_gain = 0; st->user_callback.func = &speex_default_user_handler; st->user_callback.data = NULL; for (i=0;i<16;i++) st->speex_callbacks[i].func = NULL; st->voc_m1=st->voc_m2=st->voc_mean=0; st->voc_offset=0; st->dtx_enabled=0; #ifdef ENABLE_VALGRIND VALGRIND_MAKE_READABLE(st, (st->stack-(char*)st)); #endif...