Lines Matching refs:codevectors
55 float *codevectors;
208 av_free(vc->codebooks[i].codevectors);
356 // If the codebook is used for (inverse) VQ, calculate codevectors.
367 av_dlog(NULL, " We expect %d numbers for building the codevectors. \n",
381 codebook_setup->codevectors = used_entries ? av_mallocz_array(used_entries,
383 sizeof(*codebook_setup->codevectors))
396 codebook_setup->codevectors[j * dim + k] = codebook_multiplicands[multiplicand_offset] * codebook_delta_value + codebook_minimum_value + last;
398 last = codebook_setup->codevectors[j * dim + k];
406 codebook_setup->codevectors[j * dim + k]);
1103 if (!codebook.codevectors)
1118 lsp[lsp_len+idx] = codebook.codevectors[vec_off+idx] + last;
1418 if (vqbook >= 0 && vc->codebooks[vqbook].codevectors) {
1430 vec[voffs + k + l * step] += codebook.codevectors[coffs + l];
1437 vec[voffs]+=codebook.codevectors[coffs+l];
1440 pass, voffs, vec[voffs], codebook.codevectors[coffs+l], coffs);
1449 vec[voffs + k ] += codebook.codevectors[coffs ];
1450 vec[voffs + k + vlen] += codebook.codevectors[coffs + 1];
1455 vec[voffs ] += codebook.codevectors[coffs ];
1456 vec[voffs + 1 ] += codebook.codevectors[coffs + 2];
1457 vec[voffs + vlen ] += codebook.codevectors[coffs + 1];
1458 vec[voffs + vlen + 1] += codebook.codevectors[coffs + 3];
1464 vec[voffs ] += codebook.codevectors[coffs + l ];
1465 vec[voffs + vlen] += codebook.codevectors[coffs + l + 1];
1470 codebook.codevectors[coffs + l], coffs, l);
1482 codebook.codevectors[coffs + l];
1487 codebook.codevectors[coffs + l], coffs, l);