Searched refs:bit_idx (Results 1 – 3 of 3) sorted by relevance
398 int bit_idx = m_bit_idx; in Get() local399 int new_bit_idx = bit_idx + bits; in Get()411 return ((current[0] >> bit_idx) | in Get()412 ((current[1] <<-bit_idx) & mask)) & bs_bit_mask[bits]; in Get()417 int bit_idx = m_bit_idx; in Show() local418 int new_bit_idx = bit_idx + bits; in Show()430 return ((current[0] >> bit_idx) | in Show()431 ((current[1] <<-bit_idx) & mask)) & bs_bit_mask[bits]; in Show()508 int bit_idx = m_bit_idx - bits; in Get() local509 int mask = bit_idx >> 31; in Get()[all …]
555 for (uint16_t bit_idx = 0; bit_idx < 8; ++bit_idx) { in InsertFECPacket() local556 if (packet_mask & (1 << (7 - bit_idx))) { in InsertFECPacket()561 static_cast<uint16_t>(seq_num_base + (byte_idx << 3) + bit_idx); in InsertFECPacket()
1245 int bit_idx = 32; in writeFrameData() local1248 bit_idx -= (bits); \ in writeFrameData()1250 if( bit_idx <= 0 ) \ in writeFrameData()1252 strm.jput(currval | ((unsigned)tempval >> -bit_idx)); \ in writeFrameData()1253 bit_idx += 32; \ in writeFrameData()1254 currval = bit_idx < 32 ? (tempval << bit_idx) : 0; \ in writeFrameData()1257 currval |= (tempval << bit_idx) in writeFrameData()1462 strm.jflush(currval, bit_idx); in writeFrameData()