search for: speex_bits_flush

Displaying 6 results from an estimated 6 matches for "speex_bits_flush".

2007 Aug 06
2
Attempting to shrink speex: Are these functions necessary?
...im Crichton as well to shrink nb_celp, but is there anything else I can do to shrink the code or am I reaching my limit? Thanks. these are the functions that I removed: In bits.c: speex_bits_init speex_bits_init_buffer speex_bits_destroy speex_bits_reset speex_bits_rewind speex_bits_read_from speex_bits_flush speex_bits_read_whole_bytes speex_bits_write speex_bits_write_whole_bytes speex_bits_unpack_signed speex_bits_peek_unsigned speex_bits_peek speex_bits_nbytes speex_bits_insert_terminator In cd_search.c: noise_codebook_quant noise_codebook_unquant In filters.c: compute_rms syn_percep_zero16 qmf_...
2008 Nov 07
1
Patch : Make speex_bits_read_from and speex_bits_read_whole_bytes const correct
...eex_bits_rewind(SpeexBits *bits) bits->overflow=0; } -EXPORT void speex_bits_read_from(SpeexBits *bits, char *chars, int len) +EXPORT void speex_bits_read_from(SpeexBits *bits, const char *chars, int len) { int i; int nchars = len / BYTES_PER_CHAR; @@ -153,7 +153,7 @@ static void speex_bits_flush(SpeexBits *bits) bits->charPtr=0; } -EXPORT void speex_bits_read_whole_bytes(SpeexBits *bits, char *chars, int nbytes) +EXPORT void speex_bits_read_whole_bytes(SpeexBits *bits, const char *chars, int nbytes) { int i,pos; int nchars = nbytes/BYTES_PER_CHAR; -- -----------------...
2007 Aug 07
1
Attempting to shrink speex: Are these functions necessary?
...he only exception might be the packet loss concealment function (nb_decode_lost). > these are the functions that I removed: > > In bits.c: > speex_bits_init > speex_bits_init_buffer > speex_bits_destroy > speex_bits_reset > speex_bits_rewind > speex_bits_read_from > speex_bits_flush > speex_bits_read_whole_bytes > speex_bits_write > speex_bits_write_whole_bytes > speex_bits_unpack_signed > speex_bits_peek_unsigned > speex_bits_peek > speex_bits_nbytes > speex_bits_insert_terminator You probably don't need most of these, but I'm surprised you...
2007 Aug 07
1
Attempting to shrink speex: Are these functions necessary?
...I can do to shrink the code or am I reaching > my limit? Thanks. > > > these are the functions that I removed: > > In bits.c: > speex_bits_init > speex_bits_init_buffer > speex_bits_destroy > speex_bits_reset > speex_bits_rewind > speex_bits_read_from > speex_bits_flush > speex_bits_read_whole_bytes > speex_bits_write > speex_bits_write_whole_bytes > speex_bits_unpack_signed > speex_bits_peek_unsigned > speex_bits_peek > speex_bits_nbytes > speex_bits_insert_terminator > > In cd_search.c: > noise_codebook_quant > noise_codeboo...
2007 Aug 07
0
Attempting to shrink speex: Are these functions necessary?
...do to shrink the code or >> am I reaching my limit? Thanks. >> >> >> these are the functions that I removed: >> >> In bits.c: speex_bits_init speex_bits_init_buffer >> speex_bits_destroy speex_bits_reset speex_bits_rewind >> speex_bits_read_from speex_bits_flush speex_bits_read_whole_bytes >> speex_bits_write speex_bits_write_whole_bytes >> speex_bits_unpack_signed speex_bits_peek_unsigned speex_bits_peek >> speex_bits_nbytes speex_bits_insert_terminator >> >> In cd_search.c: noise_codebook_quant noise_codebook_unquant &gt...
2010 Mar 18
0
Errors compiling speex1.2-rc1 in Symbian 3th edition SDK
...n syntax error ..\libspeex\bits.c:162: declaration syntax error ..\libspeex\bits.c:164: declaration syntax error ..\libspeex\bits.c:165: declaration syntax error ..\libspeex\bits.c:175: declaration syntax error ..\libspeex\bits.c:179: declaration syntax error ..\libspeex\bits.c:181: identifier 'speex_bits_flush(struct SpeexBits *)' redeclared ..\libspeex\bits.c:181: was declared as: 'void (struct SpeexBits *)' ..\libspeex\bits.c:181: now declared as: 'int (...)' ..\libspeex\bits.c:182: illegal function definition ..\libspeex\bits.c:183: undefined identifier 'i' ..\libspeex\bits...