search for: shape_cb_size

Displaying 7 results from an estimated 7 matches for "shape_cb_size".

2005 Jan 25
1
"spx_word16_t *" is incompatible with parameter of type "float *"
...exits when it find this discrepancy in \libspeex\cb_search.c : ".\libspeex\cb_search.c", line 185: cc0167: error: argument of type "spx_word16_t *" is incompatible with parameter of type "float *" compute_weighted_codebook(shape_cb, r, resp, resp2, E, shape_cb_size, subvect_size, stack); The function definition defines resp2 as a float in line 47: static void compute_weighted_codebook(const signed char *shape_cb, const spx_sig_t *r, spx_word16_t *resp, float *resp2, spx_word32_t *E, int shape_cb_size, int subvect_size, char *stack) But then calls it with re...
2006 Sep 19
2
Exc CB Search very little Question
Hi, Jean-Marc Valin wrote: > Well, you could change the order in the encoder as long as you reverse > it in the decoder as well. Ok, I see that in the split_cb_shape_sign_unquant function, that each coefficient is tied to it's position in the nb_subvect exc coefficients. Honestly, I have problems understanding what exactly the codebook search works like. If you have the time to to
2006 Sep 19
2
Exc CB Search very little Question
...r >> ant adding a loop variable to it as done in the exc unquant function. >> for (j=0;j<subvect_size;j++) >> exc[subvect_size*i+j]+=s*0.03125*shape_cb[ind[i]*subvect_size+j]; > > That's just how you represent a 2D array in C: the codebook has > shape_cb_size entries and subvect_size samples per entry. Ok, that helps. Thanks. >> PS: for me personally, I'd like to know how to change the cb id found >> while keeping the error introduced by this low. > > That's for steganography? I'd say you just look at the nbest list and...
2006 Sep 19
0
Exc CB Search very little Question
...ebook index with some number > ant adding a loop variable to it as done in the exc unquant function. > for (j=0;j<subvect_size;j++) > exc[subvect_size*i+j]+=s*0.03125*shape_cb[ind[i]*subvect_size+j]; That's just how you represent a 2D array in C: the codebook has shape_cb_size entries and subvect_size samples per entry. > 2. How does the CB search function split_cb_search_shape_sign work? I > know the parameter N defines the number of candidates for each of the > nb_subvect CB line numbers which are later on written into the stream. > But especially, how the...
2006 Sep 19
0
Exc CB Search very little Question
...ant adding a loop variable to it as done in the exc unquant function. >>> for (j=0;j<subvect_size;j++) >>> exc[subvect_size*i+j]+=s*0.03125*shape_cb[ind[i]*subvect_size+j]; >> That's just how you represent a 2D array in C: the codebook has >> shape_cb_size entries and subvect_size samples per entry. > > Ok, that helps. Thanks. > >>> PS: for me personally, I'd like to know how to change the cb id found >>> while keeping the error introduced by this low. >> That's for steganography? I'd say you just look a...
2006 Sep 20
2
Denoiser level and AEC problem
...ebook index with some number > ant adding a loop variable to it as done in the exc unquant function. > for (j=0;j<subvect_size;j++) > exc[subvect_size*i+j]+=s*0.03125*shape_cb[ind[i]*subvect_size+j]; That's just how you represent a 2D array in C: the codebook has shape_cb_size entries and subvect_size samples per entry. > 2. How does the CB search function split_cb_search_shape_sign work? I > know the parameter N defines the number of candidates for each of the > nb_subvect CB line numbers which are later on written into the stream. > But especially, how the...
2009 Apr 24
2
[PATCH] Blackfin: cleanup astat/cc/hardware loop asm clobbers
...3,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include "bfin.h" + #define OVERRIDE_COMPUTE_WEIGHTED_CODEBOOK void compute_weighted_codebook(const signed char *shape_cb, const spx_word16_t *r, spx_word16_t *resp, spx_word16_t *resp2, spx_word32_t *E, int shape_cb_size, int subvect_size, char *stack) { @@ -73,10 +75,7 @@ void compute_weighted_codebook(const signed char *shape_cb, const spx_word16_t * : : "m" (subvect_size), "m" (shape_cb), "m" (r), "m" (resp), "m" (E) : "A0", &qu...