Lines Matching refs:get_bits
37 #include "get_bits.h"
459 *dst++ = get_bits(gb, bits);
469 s->total_channels = get_bits(&s->gb, 3) + 1 + base_channel;
477 s->subband_activity[i] = get_bits(&s->gb, 5) + 2;
482 s->vq_start_subband[i] = get_bits(&s->gb, 5) + 1;
496 s->quant_index_huffman[i][j] = get_bits(&s->gb, bitlen[j]);
506 s->scalefactor_adj[i][j] = adj_table[get_bits(&s->gb, 2)];
510 get_bits(&s->gb, 16);
554 s->frame_type = get_bits(&s->gb, 1);
555 s->samples_deficit = get_bits(&s->gb, 5) + 1;
556 s->crc_present = get_bits(&s->gb, 1);
557 s->sample_blocks = get_bits(&s->gb, 7) + 1;
558 s->frame_size = get_bits(&s->gb, 14) + 1;
561 s->amode = get_bits(&s->gb, 6);
562 s->sample_rate = dca_sample_rates[get_bits(&s->gb, 4)];
565 s->bit_rate_index = get_bits(&s->gb, 5);
570 s->downmix = get_bits(&s->gb, 1);
571 s->dynrange = get_bits(&s->gb, 1);
572 s->timestamp = get_bits(&s->gb, 1);
573 s->aux_data = get_bits(&s->gb, 1);
574 s->hdcd = get_bits(&s->gb, 1);
575 s->ext_descr = get_bits(&s->gb, 3);
576 s->ext_coding = get_bits(&s->gb, 1);
577 s->aspf = get_bits(&s->gb, 1);
578 s->lfe = get_bits(&s->gb, 2);
579 s->predictor_history = get_bits(&s->gb, 1);
583 s->header_crc = get_bits(&s->gb, 16);
585 s->multirate_inter = get_bits(&s->gb, 1);
586 s->version = get_bits(&s->gb, 4);
587 s->copy_history = get_bits(&s->gb, 2);
588 s->source_pcm_res = get_bits(&s->gb, 3);
589 s->front_sum = get_bits(&s->gb, 1);
590 s->surround_sum = get_bits(&s->gb, 1);
591 s->dialog_norm = get_bits(&s->gb, 4);
637 s->subframes = get_bits(&s->gb, 4) + 1;
652 value = get_bits(gb, log2range);
654 value = get_bits(gb, level + 1);
669 s->subsubframes[s->current_subframe] = get_bits(&s->gb, 2) + 1;
670 s->partial_samples[s->current_subframe] = get_bits(&s->gb, 3);
675 s->prediction_mode[j][k] = get_bits(&s->gb, 1);
683 s->prediction_vq[j][k] = get_bits(&s->gb, 12);
692 s->bitalloc[j][k] = get_bits(&s->gb, 5);
694 s->bitalloc[j][k] = get_bits(&s->gb, 4);
763 s->joint_huff[j] = get_bits(&s->gb, 3);
798 s->downmix_coef[j][0] = get_bits(&s->gb, 7);
799 s->downmix_coef[j][1] = get_bits(&s->gb, 7);
817 s->dynrange_coef = get_bits(&s->gb, 8);
821 get_bits(&s->gb, 16);
832 s->high_freq_vq[j][k] = get_bits(&s->gb, 10);
848 s->lfe_scale_factor = scale_factor_quant7[get_bits(&s->gb, 7)];
1185 block_code1 = get_bits(&s->gb, size);
1186 block_code2 = get_bits(&s->gb, size);
1251 if (0xFFFF == get_bits(&s->gb, 16)) { /* 0xFFFF */
1316 aux_data_count = get_bits(&s->gb, 6);
1319 get_bits(&s->gb, 8);
1322 get_bits(&s->gb, 16);
1446 int mix_map_mask = get_bits(gb, out_ch);
1472 header_size = get_bits(&s->gb, 9) + 1;
1484 int text_length = get_bits(&s->gb, 10) + 1;
1492 channels = get_bits(&s->gb, 8) + 1;
1505 spkr_mask_size = (get_bits(&s->gb, 2) + 1) << 2;
1509 spkr_remap_sets = get_bits(&s->gb, 3);
1513 num_spkrs[i] = dca_exss_mask2count(get_bits(&s->gb, spkr_mask_size));
1517 int num_dec_ch_remaps = get_bits(&s->gb, 5) + 1;
1535 get_bits(&s->gb, 8); // drc code
1541 get_bits(&s->gb, 8); // drc stereo code
1547 if (get_bits(&s->gb, 2) != 3) // mixer drc code
1569 switch (get_bits(&s->gb, 2)) {
1570 case 0: extensions_mask = get_bits(&s->gb, 12); break;
1619 ss_index = get_bits(&s->gb, 2);
1636 num_audiop = get_bits(&s->gb, 3) + 1;
1643 num_assets = get_bits(&s->gb, 3) + 1;
1651 active_ss_mask[i] = get_bits(&s->gb, ss_index + 1);
1663 mix_out_mask_size = (get_bits(&s->gb, 2) + 1) << 2;
1664 s->num_mix_configs = get_bits(&s->gb, 2) + 1;
1667 int mix_out_mask = get_bits(&s->gb, mix_out_mask_size);
1776 if ((ext_amode = get_bits(&s->gb, 4)) != 1) {
1810 av_log(avctx, AV_LOG_DEBUG, "REVNO = %d\n", get_bits(&s->gb, 4));