Lines Matching refs:gb
86 int ff_dca_parse_core_frame_header(DCACoreFrameHeader *h, GetBitContext *gb)
88 if (get_bits_long(gb, 32) != DCA_SYNCWORD_CORE_BE)
91 h->normal_frame = get_bits1(gb);
92 h->deficit_samples = get_bits(gb, 5) + 1;
96 h->crc_present = get_bits1(gb);
97 h->npcmblocks = get_bits(gb, 7) + 1;
101 h->frame_size = get_bits(gb, 14) + 1;
105 h->audio_mode = get_bits(gb, 6);
109 h->sr_code = get_bits(gb, 4);
113 h->br_code = get_bits(gb, 5);
114 if (get_bits1(gb))
117 h->drc_present = get_bits1(gb);
118 h->ts_present = get_bits1(gb);
119 h->aux_present = get_bits1(gb);
120 h->hdcd_master = get_bits1(gb);
121 h->ext_audio_type = get_bits(gb, 3);
122 h->ext_audio_present = get_bits1(gb);
123 h->sync_ssf = get_bits1(gb);
124 h->lfe_present = get_bits(gb, 2);
128 h->predictor_history = get_bits1(gb);
130 skip_bits(gb, 16);
131 h->filter_perfect = get_bits1(gb);
132 h->encoder_rev = get_bits(gb, 4);
133 h->copy_hist = get_bits(gb, 2);
134 h->pcmr_code = get_bits(gb, 3);
138 h->sumdiff_front = get_bits1(gb);
139 h->sumdiff_surround = get_bits1(gb);
140 h->dn_code = get_bits(gb, 4);
146 GetBitContext gb;
149 ret = init_get_bits8(&gb, buf, size);
153 if (ff_dca_parse_core_frame_header(h, &gb) < 0)