Home
last modified time | relevance | path

Searched refs:bitindex (Results 1 – 7 of 7) sorted by relevance

/third_party/lame/mpglib/
Dcommon.c301 rval <<= mp->bitindex; in getbits()
304 mp->bitindex += number_of_bits; in getbits()
308 mp->wordpointer += (mp->bitindex >> 3); in getbits()
309 mp->bitindex &= 7; in getbits()
323 rval <<= mp->bitindex; in getbits_fast()
325 mp->bitindex += number_of_bits; in getbits_fast()
329 mp->wordpointer += (mp->bitindex >> 3); in getbits_fast()
330 mp->bitindex &= 7; in getbits_fast()
362 mp->bitindex = 0; in set_pointer()
Dmpglib.h101 int bitindex;
Dinterface.c80 mp->bitindex = 0; in InitMP3()
526 mp->bitindex = 0; in decodeMP3_clipchoice()
Dlayer3.c134 rval = *mp->wordpointer << mp->bitindex; in get1bit()
136 mp->bitindex++; in get1bit()
137 mp->wordpointer += (mp->bitindex >> 3); in get1bit()
138 mp->bitindex &= 7; in get1bit()
/third_party/qrcodegen/rust-no-heap/src/
Dlib.rs409 let bitindex: usize = index & 7; in get_module_bounded() localVariable
410 get_bit(self.modules[byteindex].into(), bitindex as u8) in get_module_bounded()
429 let bitindex: usize = index & 7; in set_module_bounded() localVariable
431 self.modules[byteindex] |= 1u8 << bitindex; in set_module_bounded()
433 self.modules[byteindex] &= !(1u8 << bitindex); in set_module_bounded()
/third_party/ffmpeg/libavcodec/
Dshorten.c110 int bitindex; member
575 skip_bits(&s->gb, s->bitindex); in shorten_decode_frame()
774 s->bitindex = get_bits_count(&s->gb) - 8 * (get_bits_count(&s->gb) / 8); in shorten_decode_frame()
/third_party/python/Python/
Dcompile.c87 is_bit_set_in_table(uint32_t *table, int bitindex) { in is_bit_set_in_table() argument
93 uint32_t word = table[bitindex >> LOG_BITS_PER_INT]; in is_bit_set_in_table()
94 return (word >> (bitindex & MASK_LOW_LOG_BITS)) & 1; in is_bit_set_in_table()