search for: celt_decode_float

Displaying 5 results from an estimated 5 matches for "celt_decode_float".

2010 Mar 09
1
Using CELT on iPod
...ELT 0.7.1 on an iPod touch and it seems we are already reaching the CPU limit of the machine for a 1 channel both directions stream. The CELT README says that the code should be compiled with fixed-point support, but it it not clear how it has to be used later on. We currently use celt_encode_float/celt_decode_float functions. Can we still use them with the fixed point version of CELT? Anny other advice to improve the CPU use issue? (size of the encoded packet, frame rate... etc...) Thanks Stephane Letz
2009 Nov 08
2
Problem compiling celt 0.7.0
...dden -W -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare -MT celt.lo -MD -MP -MF .deps/celt.Tpo -c celt.c -fPIC -DPIC -o .libs/celt.o celt.c:1231:17: error: plc.c: No such file or directory celt.c: In function 'celt_decode_float': celt.c:1340: warning: implicit declaration of function 'celt_decode_lost' celt.c:1340: warning: nested extern declaration of 'celt_decode_lost' make[2]: *** [celt.lo] Error 1 make[2]: Leaving directory `/tmp/celt-0.7.0/libcelt' make[1]: *** [all-recursive] Error 1 make[1]:...
2009 May 20
2
Encoder crash in multithreading processing
Hi, I try to work with CELT encoder & decoder in 2 different threads at the same time. So I create/destroy encoder and encode in one thread and create/destroy decoder and decode in other thread. If I didn't protect celt_encoder_create, celt_encode_float and celt_decoder_create, celt_decode_float with CRITICAL_SECTION I get stable error in icwrs32 or ec_byte_write1 (more often) in encoder. What does it mean ? Is CELT not thread-safe ? Any way to avoid this error except CRITICAL_SECTION ? Sergei ps: I use last version from git repository, but I also checked with previous version and with...
2009 Jan 14
0
[PATCH] Pitch now quantised at the band level, got rid of all the VQ code.
...nbEBands;i++) offsets[i] = 0; bits = nbCompressedBytes*8 - ec_enc_tell(&enc, 0) - 1; + if (has_pitch) + bits -= st->mode->nbPBands; #ifndef STDIN_TUNING compute_allocation(st->mode, offsets, stereo_mode, bits, pulses, fine_quant); #endif @@ -991,10 +988,6 @@ int celt_decode_float(CELTDecoder * restrict st, unsigned char *data, int len, c if (has_pitch) { - int id; - /* Get the pitch gains and index */ - id = ec_dec_bits(&dec, 7); - unquant_pitch(id, gains, st->mode->nbPBands); pitch_index = ec_dec_uint(&dec, MAX_PERIOD-(...
2009 Jan 14
0
[PATCH] Moved the application of the pitch gain to (un)quant_bands(). This doesn't change anything to the codec, but will make the next changes easier.
...mp;enc); + quant_bands(st->mode, X, P, NULL, has_pitch, gains, bandE, stereo_mode, pulses, shortBlocks, has_fold, nbCompressedBytes*8, &enc); /* Re-synthesis of the coded audio if required */ if (st->pitch_available>0 || optional_synthesis!=NULL) @@ -1034,14 +1033,13 @@ int celt_decode_float(CELTDecoder * restrict st, unsigned char *data, int len, c compute_band_energies(st->mode, freq, bandEp); normalise_bands(st->mode, freq, P, bandEp); /* Apply pitch gains */ - pitch_quant_bands(st->mode, P, gains); } else { for (i=0;i<C*N;i++)...