Lines Matching refs:get_bits
39 #include "get_bits.h"
550 *dst++ = get_bits(gb, bits);
582 hdr_size = get_bits(&s->gb, 7) + 1;
585 nchans = get_bits(&s->gb, 3) + 1;
593 this_chans = get_bits(&s->gb, s->xxch_nbits_spk_mask - 6) << 6;
603 coeff = get_bits(&s->gb, 6);
615 mask[i] = get_bits(&s->gb, s->xxch_nbits_spk_mask);
629 coeff = get_bits(&s->gb, 7);
647 s->subband_activity[i] = get_bits(&s->gb, 5) + 2;
652 s->vq_start_subband[i] = get_bits(&s->gb, 5) + 1;
666 s->quant_index_huffman[i][j] = get_bits(&s->gb, bitlen[j]);
676 s->scalefactor_adj[i][j] = adj_table[get_bits(&s->gb, 2)];
681 get_bits(&s->gb, 16);
731 s->frame_type = get_bits(&s->gb, 1);
732 s->samples_deficit = get_bits(&s->gb, 5) + 1;
733 s->crc_present = get_bits(&s->gb, 1);
734 s->sample_blocks = get_bits(&s->gb, 7) + 1;
735 s->frame_size = get_bits(&s->gb, 14) + 1;
738 s->amode = get_bits(&s->gb, 6);
739 s->sample_rate = avpriv_dca_sample_rates[get_bits(&s->gb, 4)];
742 s->bit_rate_index = get_bits(&s->gb, 5);
748 s->dynrange = get_bits(&s->gb, 1);
749 s->timestamp = get_bits(&s->gb, 1);
750 s->aux_data = get_bits(&s->gb, 1);
751 s->hdcd = get_bits(&s->gb, 1);
752 s->ext_descr = get_bits(&s->gb, 3);
753 s->ext_coding = get_bits(&s->gb, 1);
754 s->aspf = get_bits(&s->gb, 1);
755 s->lfe = get_bits(&s->gb, 2);
756 s->predictor_history = get_bits(&s->gb, 1);
766 s->header_crc = get_bits(&s->gb, 16);
768 s->multirate_inter = get_bits(&s->gb, 1);
769 s->version = get_bits(&s->gb, 4);
770 s->copy_history = get_bits(&s->gb, 2);
771 s->source_pcm_res = get_bits(&s->gb, 3);
772 s->front_sum = get_bits(&s->gb, 1);
773 s->surround_sum = get_bits(&s->gb, 1);
774 s->dialog_norm = get_bits(&s->gb, 4);
819 s->subframes = get_bits(&s->gb, 4) + 1;
834 value = get_bits(gb, log2range);
836 value = get_bits(gb, level + 1);
851 s->subsubframes[s->current_subframe] = get_bits(&s->gb, 2) + 1;
852 s->partial_samples[s->current_subframe] = get_bits(&s->gb, 3);
857 s->prediction_mode[j][k] = get_bits(&s->gb, 1);
865 s->prediction_vq[j][k] = get_bits(&s->gb, 12);
874 s->bitalloc[j][k] = get_bits(&s->gb, 5);
876 s->bitalloc[j][k] = get_bits(&s->gb, 4);
945 s->joint_huff[j] = get_bits(&s->gb, 3);
978 s->dynrange_coef = get_bits(&s->gb, 8);
982 get_bits(&s->gb, 16);
993 s->high_freq_vq[j][k] = get_bits(&s->gb, 10);
1009 quant7 = get_bits(&s->gb, 8);
1320 block_code1 = get_bits(&s->gb, size);
1321 block_code2 = get_bits(&s->gb, size);
1397 if (0xFFFF == get_bits(&s->gb, 16)) { /* 0xFFFF */
1464 aux_data_count = get_bits(&s->gb, 6);
1487 int am = get_bits(&s->gb, 3);
1518 uint16_t tmp = get_bits(&s->gb, 9);
1546 get_bits(&s->gb, 16);
1629 int mix_map_mask = get_bits(gb, out_ch);
1655 header_size = get_bits(&s->gb, 9) + 1;
1667 int text_length = get_bits(&s->gb, 10) + 1;
1675 channels = get_bits(&s->gb, 8) + 1;
1688 spkr_mask_size = (get_bits(&s->gb, 2) + 1) << 2;
1692 spkr_remap_sets = get_bits(&s->gb, 3);
1696 num_spkrs[i] = dca_exss_mask2count(get_bits(&s->gb, spkr_mask_size));
1700 int num_dec_ch_remaps = get_bits(&s->gb, 5) + 1;
1718 get_bits(&s->gb, 8); // drc code
1724 get_bits(&s->gb, 8); // drc stereo code
1730 if (get_bits(&s->gb, 2) != 3) // mixer drc code
1752 switch (get_bits(&s->gb, 2)) {
1753 case 0: extensions_mask = get_bits(&s->gb, 12); break;
1802 hdr_size = get_bits(&s->gb, 6) + 1;
1803 num_chsets = get_bits(&s->gb, 2) + 1;
1806 chset_fsize[i] = get_bits(&s->gb, 14) + 1;
1811 n_xbr_ch[i] = get_bits(&s->gb, 3) + 1;
1812 k = get_bits(&s->gb, 2) + 5;
1814 active_bands[i][j] = get_bits(&s->gb, k) + 1;
1837 anctemp[i] = get_bits(&s->gb, 2) + 2;
1845 anctemp[i] = get_bits(&s->gb, 3);
1868 scale_table[get_bits(&s->gb, nbits)];
1872 scale_table[get_bits(&s->gb, nbits)];
1900 block_code1 = get_bits(&s->gb, size);
1901 block_code2 = get_bits(&s->gb, size);
1919 if(get_bits(&s->gb, 16) != 0xffff) {
1954 hdr_size = get_bits(&s->gb, 6) + 1;
1956 spkmsk_bits = get_bits(&s->gb, 5) + 1;
1957 num_chsets = get_bits(&s->gb, 2) + 1;
1960 fsize[i] = get_bits(&s->gb, 14) + 1;
1962 core_spk = get_bits(&s->gb, spkmsk_bits);
2022 ss_index = get_bits(&s->gb, 2);
2025 hdrsize = get_bits(&s->gb, 8 + 4 * blownup) + 1; // header_size
2039 num_audiop = get_bits(&s->gb, 3) + 1;
2047 num_assets = get_bits(&s->gb, 3) + 1;
2055 active_ss_mask[i] = get_bits(&s->gb, ss_index + 1);
2067 mix_out_mask_size = (get_bits(&s->gb, 2) + 1) << 2;
2068 s->num_mix_configs = get_bits(&s->gb, 2) + 1;
2071 int mix_out_mask = get_bits(&s->gb, mix_out_mask_size);
2265 if ((ext_amode = get_bits(&s->gb, 4)) != 1) {
2305 av_log(avctx, AV_LOG_DEBUG, "REVNO = %d\n", get_bits(&s->gb, 4));