search for: nb_mode_query

Displaying 10 results from an estimated 10 matches for "nb_mode_query".

2007 Aug 06
2
Attempting to shrink speex: Are these functions necessary?
..._unquant In math_approx.c: spx_ilog2 _spx_cos_pi_2 spx_cos_norm spx_exp2 spx_atan In nb_celp.c: nb_encoder_destroy nb_decoder_destroy In quant_lsp.c: lsp_quant_nb lsp_unquant_nb lsp_quant_high lsp_unquant_high In speex.c: speex_encoder_destroy speex_decoder_destroy speex_encode speex_decode nb_mode_query 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 spe...
2007 Aug 07
1
Attempting to shrink speex: Are these functions necessary?
...t if you never plan on freeing the memory > In quant_lsp.c: > lsp_quant_nb > lsp_unquant_nb > lsp_quant_high > lsp_unquant_high No need for that if you just want 8 kbps. > In speex.c: > speex_encoder_destroy > speex_decoder_destroy > speex_encode > speex_decode > nb_mode_query > wb_mode_query > speex_lib_ctl No need for that if you're not using them in your code. > 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_ha...
2007 Aug 07
1
Attempting to shrink speex: Are these functions necessary?
...gt; > In nb_celp.c: > nb_encoder_destroy > nb_decoder_destroy > > In quant_lsp.c: > lsp_quant_nb > lsp_unquant_nb > lsp_quant_high > lsp_unquant_high > > In speex.c: > speex_encoder_destroy > speex_decoder_destroy > speex_encode > speex_decode > nb_mode_query > 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...
2006 Apr 04
2
Error in pcm_wrapper.c release 1.1.12
...ease, I need your help! I'm not able to compile.... typedef struct { } PCMMode; static PCMMode ; int pcm_mode_query(const void *mode, int request, void *ptr) { /*const PCMMode *m = (const PCMMode*)mode;*/ switch (request) { default: speex_warning_int("Unknown nb_mode_query request: ", request); return -1; } return 0; } /* Default mode for narrowband */ const SpeexMode pcm_wrapper_mode = { &pcmmode, pcm_mode_query, "PCM", 0, 4, &pcm_encoder_init, &pcm_encoder_destroy, &pcm_encode, &pcm_decode...
2006 Jan 19
0
Compile error (svn 10743)
...3: 'w' : unknown size 3. pcm_wrappers.c typedef struct { } PCMMode; static PCMMode pcmmode; int pcm_mode_query(const void *mode, int request, void *ptr) { const PCMMode *m = (const PCMMode*)mode; switch (request) { default: speex_warning_int("Unknown nb_mode_query request: ", request); return -1; } return 0; } /* Default mode for narrowband */ const SpeexMode pcm_wrapper_mode = { &pcmmode, pcm_mode_query, "PCM", 0, 4, &pcm_encoder_init, &pcm_encoder_destroy, &pcm_encode, &pcm_decode...
2006 Jan 19
1
Compile error (svn 10743)
...3: 'w' : unknown size 3. pcm_wrappers.c typedef struct { } PCMMode; static PCMMode pcmmode; int pcm_mode_query(const void *mode, int request, void *ptr) { const PCMMode *m = (const PCMMode*)mode; switch (request) { default: speex_warning_int("Unknown nb_mode_query request: ", request); return -1; } return 0; } /* Default mode for narrowband */ const SpeexMode pcm_wrapper_mode = { &pcmmode, pcm_mode_query, "PCM", 0, 4, &pcm_encoder_init, &pcm_encoder_destroy, &pcm_encode, &pcm_decode...
2007 Aug 07
0
Attempting to shrink speex: Are these functions necessary?
...gt; spx_atan >> >> In nb_celp.c: nb_encoder_destroy nb_decoder_destroy >> >> In quant_lsp.c: lsp_quant_nb lsp_unquant_nb lsp_quant_high >> lsp_unquant_high >> >> In speex.c: speex_encoder_destroy speex_decoder_destroy >> speex_encode speex_decode nb_mode_query 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_s...
2008 Mar 29
0
GCC/ELF Visibility patch
...=================================================================== --- libspeex/modes.c (revision 14645) +++ libspeex/modes.c (working copy) @@ -337,7 +337,7 @@ /* Default mode for narrowband */ -const SpeexMode speex_nb_mode = { +EXPORT const SpeexMode speex_nb_mode = { &nb_mode, nb_mode_query, "narrowband", @@ -355,7 +355,7 @@ -int speex_mode_query(const SpeexMode *mode, int request, void *ptr) +EXPORT int speex_mode_query(const SpeexMode *mode, int request, void *ptr) { return mode->query(mode->mode, request, ptr); } Index: libspeex/resample.c ==========...
2008 Mar 29
2
GCC/ELF Visibility patch (fwd)
...=================================================================== --- libspeex/modes.c (revision 14645) +++ libspeex/modes.c (working copy) @@ -337,7 +337,7 @@ /* Default mode for narrowband */ -const SpeexMode speex_nb_mode = { +EXPORT const SpeexMode speex_nb_mode = { &nb_mode, nb_mode_query, "narrowband", @@ -355,7 +355,7 @@ -int speex_mode_query(const SpeexMode *mode, int request, void *ptr) +EXPORT int speex_mode_query(const SpeexMode *mode, int request, void *ptr) { return mode->query(mode->mode, request, ptr); } Index: libspeex/resample.c ==========...
2004 Aug 06
2
[PATCH] Make SSE Run Time option. Add Win32 SSE code
...state))->dec_ctl(state, request, ptr); + if (request == SPEEX_SET_ASM_FLAG) + { + global_use_mmx_sse = *((int*)ptr); + return 0; + } + else + return (*((SpeexMode**)state))->dec_ctl(state, request, ptr); } <p>- static int nb_mode_query(void *mode, int request, void *ptr) { SpeexNBMode *m = (SpeexNBMode*)mode; diff -ru speex-1.0.3-orig/libspeex/speex.h speex-1.0.3/libspeex/speex.h --- speex-1.0.3-orig/libspeex/speex.h 2003-01-22 23:29:39.000000000 -0800 +++ speex-1.0.3/libspeex/speex.h 2004-01-08 20:46:21.000000000...