search for: speex_bits_write_whole_byt

Displaying 15 results from an estimated 15 matches for "speex_bits_write_whole_byt".

2009 Oct 29
1
speex_bits_write_whole_bytes problem
An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20091029/e587399d/attachment.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: tmezo.vcf Type: text/x-vcard Size: 345 bytes Desc: not available Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20091029/e587399d/attachment.vcf
2007 Aug 06
2
Attempting to shrink speex: Are these functions necessary?
...lse 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_decomp qmf_synth In ltp.c: forced_pitch_quant forced_pitch_unquant I...
2005 Sep 03
2
Library export file for Win32 (patch)
...er_init -speex_decoder_destroy -speex_decode -speex_decoder_ctl -speex_mode_query -speex_lib_ctl -speex_lib_get_mode -speex_bits_init -speex_bits_init_buffer -speex_bits_destroy -speex_bits_reset -speex_bits_rewind -speex_bits_read_from -speex_bits_read_whole_bytes -speex_bits_write -speex_bits_write_whole_bytes -speex_bits_pack -speex_bits_unpack_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_reque...
2007 Aug 07
1
Attempting to shrink speex: Are these functions necessary?
...st). > 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're not at least using speex_bits_init(), speex_bits_read_from() and speex_bits_write(...
2006 Apr 11
2
Major internal changes
Hi everyone, I've recently done some major internal changes in Speex aimed at reducing RAM (by nearly a factor of 2!) and improving quality of the fixed-point. In doing so, I might have accidently broken a few things. I'd like to hear feedback on the current svn code to make sure I fix any regression before the next release. I'm already aware that --enable-vorbis-psy is broken and
2007 Aug 07
1
Attempting to shrink speex: Are these functions necessary?
...gt; > 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_de...
2006 Nov 21
1
1.2beta1 speex_bits_pack realloc issue?
In bits.c\speex_bits_pack there is logic to reallocate the bits buffer. In that section there is a call to speex_memset_bytes which appears to wipe out all the old bytes. I found when I encoded a multi-frame message that needed less than the default 2000 bytes for bits->chars, everything worked fine. However, when I encoded a longer message that triggered the realloc code in speex_bits_pack,
2004 Aug 06
1
Encoding frame limit
When encoding many frames, I get a write access exception. It appears the "bits" structure has a fixed-size buffer (allocated in speex_bits_init()), and speex-encode() pukes when it overruns it. I understand I could just initialize bits with a bigger buffer, or watch the buffer and stop encoding when it gets full. But I don't want to care about compressed frame sizes, nor *can* I
2006 Apr 17
0
Major internal changes, TI DSP build change
...cause these processors have 16 bit char size, there is some special code in bits.c to handle the packing. As part of this, there is code to swap the byte order for each 16-bit char within speex_bits_write. There is no such byte swapping in speex_bits_read_from, speex_bits_read_whole_bytes, or speex_bits_write_whole_bytes. For consistency, the byte swapping should be done in all four places or in none of them. In my present build, I have byte swapping in all four places, but it seems cleaner to take this out and leave it to the calling function to do the swapping if it is needed. The demo builds are not aff...
2007 Aug 07
0
Attempting to shrink speex: Are these functions necessary?
...gt; >> >> 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_decomp qmf_synth &...
2008 Mar 29
0
GCC/ELF Visibility patch
...t;LOG2_BITS_PER_CHAR; } -int speex_bits_write(SpeexBits *bits, char *chars, int max_nbytes) +EXPORT int speex_bits_write(SpeexBits *bits, char *chars, int max_nbytes) { int i; int max_nchars = max_nbytes/BYTES_PER_CHAR; @@ -208,7 +208,7 @@ return max_nchars*BYTES_PER_CHAR; } -int speex_bits_write_whole_bytes(SpeexBits *bits, char *chars, int max_nbytes) +EXPORT int speex_bits_write_whole_bytes(SpeexBits *bits, char *chars, int max_nbytes) { int max_nchars = max_nbytes/BYTES_PER_CHAR; int i; @@ -226,7 +226,7 @@ return max_nchars*BYTES_PER_CHAR; } -void speex_bits_pack(SpeexBits *bits,...
2008 Mar 29
2
GCC/ELF Visibility patch (fwd)
...t;LOG2_BITS_PER_CHAR; } -int speex_bits_write(SpeexBits *bits, char *chars, int max_nbytes) +EXPORT int speex_bits_write(SpeexBits *bits, char *chars, int max_nbytes) { int i; int max_nchars = max_nbytes/BYTES_PER_CHAR; @@ -208,7 +208,7 @@ return max_nchars*BYTES_PER_CHAR; } -int speex_bits_write_whole_bytes(SpeexBits *bits, char *chars, int max_nbytes) +EXPORT int speex_bits_write_whole_bytes(SpeexBits *bits, char *chars, int max_nbytes) { int max_nchars = max_nbytes/BYTES_PER_CHAR; int i; @@ -226,7 +226,7 @@ return max_nchars*BYTES_PER_CHAR; } -void speex_bits_pack(SpeexBits *bits,...
2006 Apr 17
2
Major internal changes, TI DSP build change
...rs have 16 bit char size, there is some special code > in bits.c to handle the packing. As part of this, there is code to swap the > byte order for each 16-bit char within speex_bits_write. There is no such > byte swapping in speex_bits_read_from, speex_bits_read_whole_bytes, or > speex_bits_write_whole_bytes. For consistency, the byte swapping should be > done in all four places or in none of them. In my present build, I have > byte swapping in all four places, but it seems cleaner to take this out and > leave it to the calling function to do the swapping if it is needed. The > dem...
2004 Aug 06
4
Raw Speex?
Hi, I want to take a .wav and generate a bytestream that I can feed direct to speex_decode(). The speexenc program appears to produce it wrapped up in an ogg stream, and it doesn't have any sort of "raw" mode. I've tried hacking on it to remove the ogg parts, but I must have got it wrong, as my decode dies after decoding 160 bytes (which I believe is one frame) with an
2004 Aug 06
1
linux.conf.au and streaming (was Re: patch for libspeex)
> Otherwise Greg, can you send the latest version of the RTP draft so I > can put it on the site (the current one is getting old)? Attached for all to see. Greg -------------- next part -------------- Internet Engineering Task Force Greg Herlein Internet Draft Jean-Marc Valin draft-herlein-speex-rtp-profile-06