Home
last modified time | relevance | path

Searched refs:bit_idx (Results 1 – 3 of 3) sorted by relevance

/external/opencv/otherlibs/highgui/
Dbitstrm.cpp398 int bit_idx = m_bit_idx; in Get() local
399 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() local
418 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() local
509 int mask = bit_idx >> 31; in Get()
[all …]
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dforward_error_correction.cc555 for (uint16_t bit_idx = 0; bit_idx < 8; ++bit_idx) { in InsertFECPacket() local
556 if (packet_mask & (1 << (7 - bit_idx))) { in InsertFECPacket()
561 static_cast<uint16_t>(seq_num_base + (byte_idx << 3) + bit_idx); in InsertFECPacket()
/external/opencv3/modules/videoio/src/
Dcap_mjpeg_encoder.cpp1245 int bit_idx = 32; in writeFrameData() local
1248 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()