Lines Matching refs:bits_left
97 int bits_left; in Siren7_EncodeFrame() local
157 bits_left = 16 - sample_rate_bits; in Siren7_EncodeFrame()
162 i = drp_num_bits[region] - bits_left; in Siren7_EncodeFrame()
165 bits_left -= drp_num_bits[region]; in Siren7_EncodeFrame()
168 bits_left += 16 - drp_num_bits[region]; in Siren7_EncodeFrame()
169 out_word = drp_code_bits[region] << bits_left; in Siren7_EncodeFrame()
182 if (current_word_bits_left < bits_left) { in Siren7_EncodeFrame()
183 bits_left -= current_word_bits_left; in Siren7_EncodeFrame()
185 (current_word >> (32 - current_word_bits_left)) << bits_left; in Siren7_EncodeFrame()
189 (short) (out_word + (current_word >> (32 - bits_left))); in Siren7_EncodeFrame()
190 current_word_bits_left -= bits_left; in Siren7_EncodeFrame()
191 current_word <<= bits_left; in Siren7_EncodeFrame()
192 bits_left = 16; in Siren7_EncodeFrame()
207 BufferOut[idx++] = (short) ((0xFFFF >> (16 - bits_left)) + out_word); in Siren7_EncodeFrame()
208 bits_left = 16; in Siren7_EncodeFrame()