Lines Matching refs:get_bits
24 #include "get_bits.h"
105 if (get_bits(gb, 24) != 0xf8726f) /* Sync words */
108 mh->stream_type = get_bits(gb, 8);
112 mh->group1_bits = mlp_quants[get_bits(gb, 4)];
113 mh->group2_bits = mlp_quants[get_bits(gb, 4)];
115 ratebits = get_bits(gb, 4);
117 mh->group2_samplerate = mlp_samplerate(get_bits(gb, 4));
122 channel_arrangement = get_bits(gb, 5);
129 ratebits = get_bits(gb, 4);
135 mh->channel_modifier_thd_stream0 = get_bits(gb, 2);
136 mh->channel_modifier_thd_stream1 = get_bits(gb, 2);
139 channel_arrangement = get_bits(gb, 5);
143 mh->channel_modifier_thd_stream2 = get_bits(gb, 2);
145 channel_arrangement = get_bits(gb, 13);
158 mh->peak_bitrate = (get_bits(gb, 15) * mh->group1_samplerate + 8) >> 4;
160 mh->num_substreams = get_bits(gb, 4);