• Home
  • Raw
  • Download

Lines Matching refs:codebook

332         if (prev_cp->codebook    != cp->codebook  ||  in compare_decoding_params()
433 cp->codebook = 0; in clear_channel_params()
990 if (cp->codebook > 0 && cp->huff_lsbs > 24) { in write_decoding_params()
994 put_bits(pb, 2, cp->codebook ); in write_decoding_params()
1020 codebook_index [ch] = cp->codebook - 1; in write_block_data()
1023 sign_shift = lsb_bits[ch] + (cp->codebook ? 2 - cp->codebook : -1); in write_block_data()
1025 if (cp->codebook > 0) in write_block_data()
1630 unsigned int channel, int codebook, in codebook_bits_offset() argument
1634 int32_t codebook_min = codebook_extremes[codebook][0]; in codebook_bits_offset()
1635 int32_t codebook_max = codebook_extremes[codebook][1]; in codebook_bits_offset()
1638 int codebook_offset = 7 + (2 - codebook); in codebook_bits_offset()
1657 if (codebook == 2) { in codebook_bits_offset()
1678 bitcount += ff_mlp_huffman_tables[codebook][sample + codebook_offset][1]; in codebook_bits_offset()
1694 unsigned int channel, int codebook, in codebook_bits() argument
1708 codebook_bits_offset(ctx, channel, codebook, in codebook_bits()
2005 unsigned int codebook; in set_best_codebook() local
2009 for (codebook = 0; codebook < NUM_CODEBOOKS; codebook++) { in set_best_codebook()
2014 PathCounter *dst_path = &path_counter[codebook]; in set_best_codebook()
2023 if (compare_best_offset(&prev_bo[codebook], &cur_bo[codebook])) in set_best_codebook()
2026 src_path = &path_counter[codebook]; in set_best_codebook()
2029 temp_bitcount = best_codebook_path_cost(ctx, channel, src_path, codebook); in set_best_codebook()
2033 best_codebook = codebook; in set_best_codebook()
2041 dst_path->path[++dst_path->cur_idx] = codebook; in set_best_codebook()
2063 cp->codebook = best_codebook; in set_best_codebook()