search for: celt_encode_float

Displaying 4 results from an estimated 4 matches for "celt_encode_float".

Did you mean: celt_decode_float
2010 Mar 09
1
Using CELT on iPod
...We are testing CELT 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 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 a...
2009 Jan 14
0
[PATCH] Pitch now quantised at the band level, got rid of all the VQ code.
.../libcelt/celt.c +++ b/libcelt/celt.c @@ -44,7 +44,6 @@ #include "bands.h" #include "modes.h" #include "entcode.h" -#include "quant_pitch.h" #include "quant_bands.h" #include "psy.h" #include "rate.h" @@ -440,8 +439,8 @@ int celt_encode_float(CELTEncoder * restrict st, const celt_sig_t * pcm, celt_si #ifndef FIXED_POINT float gain_1; #endif - ec_enc_bits(&enc, 0, 1); //Pitch off - ec_enc_bits(&enc, 1, 1); //Transient on + ec_enc_bits(&enc, 0, 1); /*Pitch off */ + ec_enc_bits(&e...
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.
...s, int time_domain, int fold, int total_bits, ec_dec *dec); void stereo_decision(const CELTMode *m, celt_norm_t * restrict X, int *stereo_mode, int len); diff --git a/libcelt/celt.c b/libcelt/celt.c index 9ebd8df..61aa1fb 100644 --- a/libcelt/celt.c +++ b/libcelt/celt.c @@ -575,7 +575,6 @@ int celt_encode_float(CELTEncoder * restrict st, const celt_sig_t * pcm, celt_si ec_enc_bits(&enc, has_fold, 1); /* Folding flag */ ec_enc_bits(&enc, id, 7); ec_enc_uint(&enc, pitch_index, MAX_PERIOD-(2*N-2*N4)); - pitch_quant_bands(st->mode, P, gains); } else { if (!s...