Home
last modified time | relevance | path

Searched refs:bits_read (Results 1 – 25 of 66) sorted by relevance

123

/dports/devel/hyperscan/hyperscan-5.4.0/src/util/
H A Dpack_bits.h164 u32 bits_read = 8 - used; in unpack_bits_32() local
166 if (b <= bits_read) { in unpack_bits_32()
177 vidx += bits_read; in unpack_bits_32()
178 b -= bits_read; in unpack_bits_32()
202 u32 bits_read = 8 - used; in unpack_bits_64() local
204 if (b <= bits_read) { in unpack_bits_64()
215 vidx += bits_read; in unpack_bits_64()
216 b -= bits_read; in unpack_bits_64()
/dports/www/firefox-legacy/firefox-52.8.0esr/python/eme/
H A Dgen-eme-voucher.py116 bits_read = 0
129 bits_read += bits
139 bits_read += bits
152 bits_read += bit_length
157 return bits_read, total_bits_read
281 _, bits_read = parse_items(stream, items, self.items)
282 self.bits_read += bits_read
287 while self.bits_read / 8 < size:
291 self.bits_read += bits_read
312 self.bits_read += self.OptionalHeader.bits_read
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/nuvie/files/
H A Du6_lzw.cpp184 long bits_read = 0; in decompress_buffer() local
197 cW = get_next_codeword(&bits_read, source, codeword_size); in decompress_buffer()
205 cW = get_next_codeword(&bits_read, source, codeword_size); in decompress_buffer()
321 int U6Lzw::get_next_codeword(long *bits_read, unsigned char *source, int codeword_size) { in get_next_codeword() argument
325 b0 = source[*bits_read / 8]; in get_next_codeword()
326 b1 = source[*bits_read / 8 + 1]; in get_next_codeword()
327 if (codeword_size + (*bits_read % 8) > 16) in get_next_codeword()
328 b2 = source[*bits_read / 8 + 2]; // only read next byte if necessary in get_next_codeword()
333 codeword = codeword >> (*bits_read % 8); in get_next_codeword()
351 *bits_read += codeword_size; in get_next_codeword()
/dports/www/chromium-legacy/chromium-88.0.4324.182/media/formats/mp2t/
H A Ddescriptors.cc55 int initial_bits_read = reader->bits_read(); in Read()
56 int bits_read = 0; in Read() local
72 bits_read = reader->bits_read() - initial_bits_read; in Read()
73 } while (bits_read < bits_available); in Read()
74 return bits_read == bits_available; in Read()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/media/formats/mp2t/
H A Ddescriptors.cc55 int initial_bits_read = reader->bits_read(); in Read()
56 int bits_read = 0; in Read() local
72 bits_read = reader->bits_read() - initial_bits_read; in Read()
73 } while (bits_read < bits_available); in Read()
74 return bits_read == bits_available; in Read()
/dports/audio/libadplug/adplug-adplug-2.3.3/src/
H A Du6m.cpp204 unsigned long bits_read = 0; in lzw_decompress() local
218 cW = get_next_codeword(bits_read, source, codeword_size); in lzw_decompress()
227 cW = get_next_codeword(bits_read, source, codeword_size); in lzw_decompress()
314 int Cu6mPlayer::get_next_codeword (unsigned long& bits_read, data_block& source, in get_next_codeword() argument
320 if (source.size - bits_read / 8 < 2 + (bits_read % 8 + codeword_size > 16)) in get_next_codeword()
325 b0 = source.data[bits_read/8]; in get_next_codeword()
326 b1 = source.data[bits_read/8+1]; in get_next_codeword()
327 b2 = bits_read % 8 + codeword_size > 16 ? source.data[bits_read/8+2] : 0; in get_next_codeword()
330 codeword = codeword >> (bits_read % 8); in get_next_codeword()
350 bits_read += codeword_size; in get_next_codeword()
/dports/www/chromium-legacy/chromium-88.0.4324.182/media/base/
H A Dbit_reader.h43 return initial_size_ * 8 - bits_read(); in bits_available()
46 int bits_read() const { in bits_read() function
47 return bit_reader_core_.bits_read(); in bits_read()
H A Dbit_reader_unittest.cc132 EXPECT_EQ(reader1.bits_read(), 2); in TEST()
135 EXPECT_EQ(reader1.bits_read(), 5); in TEST()
138 EXPECT_EQ(reader1.bits_read(), 6); in TEST()
141 EXPECT_EQ(reader1.bits_read(), 82); in TEST()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/media/base/
H A Dbit_reader.h43 return initial_size_ * 8 - bits_read(); in bits_available()
46 int bits_read() const { in bits_read() function
47 return bit_reader_core_.bits_read(); in bits_read()
H A Dbit_reader_unittest.cc132 EXPECT_EQ(reader1.bits_read(), 2); in TEST()
135 EXPECT_EQ(reader1.bits_read(), 5); in TEST()
138 EXPECT_EQ(reader1.bits_read(), 6); in TEST()
141 EXPECT_EQ(reader1.bits_read(), 82); in TEST()
/dports/devel/aws-c-compression/aws-c-compression-0.2.14/source/
H A Dhuffman.c235 uint8_t bits_read = decoder->coder->decode( in aws_huffman_decode() local
240 if (bits_read == 0) { in aws_huffman_decode()
248 if (bits_read > bits_left) { in aws_huffman_decode()
270 bits_left -= bits_read; in aws_huffman_decode()
271 decoder->working_bits <<= bits_read; in aws_huffman_decode()
272 decoder->num_bits -= bits_read; in aws_huffman_decode()
/dports/audio/deadbeef/deadbeef-0.7.2/plugins/adplug/adplug/
H A Du6m.cpp210 long bits_read = 0; in lzw_decompress() local
228 cW = get_next_codeword(bits_read, source.data, codeword_size); in lzw_decompress()
237 cW = get_next_codeword(bits_read, source.data, codeword_size); in lzw_decompress()
321 int Cu6mPlayer::get_next_codeword (long& bits_read, unsigned char *source, int codeword_size) in get_next_codeword() argument
326 b0 = source[bits_read/8]; in get_next_codeword()
327 b1 = source[bits_read/8+1]; in get_next_codeword()
328 b2 = source[bits_read/8+2]; in get_next_codeword()
331 codeword = codeword >> (bits_read % 8); in get_next_codeword()
351 bits_read += codeword_size; in get_next_codeword()
/dports/multimedia/gstreamer1-plugins-svt-av1/SVT-AV1-3971c982311d49f9355dc8dccdcf8d21b70fa624/Source/Lib/Decoder/Codec/
H A DEbDecBitstream.c43 uint32_t bits_read; in dec_get_bits() local
46 GET_BITS(bits_read, bs->buf, bs->bit_ofst, bs->cur_word, bs->nxt_word, numbits); in dec_get_bits()
47 return bits_read; in dec_get_bits()
/dports/multimedia/svt-av1/SVT-AV1-3971c982311d49f9355dc8dccdcf8d21b70fa624/Source/Lib/Decoder/Codec/
H A DEbDecBitstream.c43 uint32_t bits_read; in dec_get_bits() local
46 GET_BITS(bits_read, bs->buf, bs->bit_ofst, bs->cur_word, bs->nxt_word, numbits); in dec_get_bits()
47 return bits_read; in dec_get_bits()
/dports/www/chromium-legacy/chromium-88.0.4324.182/media/filters/
H A Dvp9_raw_bits_reader.cc52 return (reader_->bits_read() + 7) / 8; in GetBytesRead()
57 int bits_left = GetBytesRead() * 8 - reader_->bits_read(); in ConsumeTrailingBits()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/media/filters/
H A Dvp9_raw_bits_reader.cc52 return (reader_->bits_read() + 7) / 8; in GetBytesRead()
57 int bits_left = GetBytesRead() * 8 - reader_->bits_read(); in ConsumeTrailingBits()
/dports/www/links/links-2.25/
H A Dgif.c42 int bits_read; /* How many bits are already read from the symbol member
316 deco->read_code|=(int)((unsigned long)c<<deco->bits_read); in accept_byte()
317 deco->bits_read+=8; in accept_byte()
318 while (deco->bits_read>=deco->code_size) in accept_byte()
325 deco->bits_read-=original_code_size; in accept_byte()
485 deco->bits_read=0; in gif_accept_byte()
/dports/www/geckodriver/mozilla-central-e9783a644016aa9b317887076618425586730d73/testing/geckodriver/cargo-crates/image-0.22.1/src/
H A Dimage.rs282 let mut bits_read = 0u64; in load_rect() localVariable
298 if position >= start && end - position >= scanline_bytes * 8 && bits_read % 8 == 0 { in load_rect()
299 read_scanline(decoder, &mut buf[((bits_read/8) as usize)..] in load_rect()
301 bits_read += scanline_bytes * 8; in load_rect()
310 if bits_read % 8 == 0 && offset % 8 == 0 && len % 8 == 0 { in load_rect()
313 buf[((bits_read/8) as usize)..][..l].copy_from_slice(&tmp[o..][..l]); in load_rect()
314 bits_read += len; in load_rect()
322 progress_callback(Progress {current: bits_read, total: total_bits}); in load_rect()
/dports/shells/ion/ion-a8872014dbce730ccd00aaa722397dc394a52bf4/cargo-crates/image-0.21.2/src/
H A Dimage.rs283 let mut bits_read = 0u64; in load_rect() localVariable
299 if position >= start && end - position >= scanline_bytes * 8 && bits_read % 8 == 0 { in load_rect()
300 read_scanline(decoder, &mut buf[((bits_read/8) as usize)..] in load_rect()
302 bits_read += scanline_bytes * 8; in load_rect()
311 if bits_read % 8 == 0 && offset % 8 == 0 && len % 8 == 0 { in load_rect()
314 buf[((bits_read/8) as usize)..][..l].copy_from_slice(&tmp[o..][..l]); in load_rect()
315 bits_read += len; in load_rect()
323 progress_callback(Progress {current: bits_read, total: total_bits}); in load_rect()
/dports/multimedia/termplay/termplay-2.0.6/cargo-crates/image-0.22.3/src/
H A Dimage.rs294 let mut bits_read = 0u64; in load_rect() localVariable
310 if position >= start && end - position >= scanline_bytes * 8 && bits_read % 8 == 0 { in load_rect()
311 read_scanline(decoder, &mut buf[((bits_read/8) as usize)..] in load_rect()
313 bits_read += scanline_bytes * 8; in load_rect()
322 if bits_read % 8 == 0 && offset % 8 == 0 && len % 8 == 0 { in load_rect()
325 buf[((bits_read/8) as usize)..][..l].copy_from_slice(&tmp[o..][..l]); in load_rect()
326 bits_read += len; in load_rect()
334 progress_callback(Progress {current: bits_read, total: total_bits}); in load_rect()
/dports/graphics/viu/viu-1.1/cargo-crates/image-0.22.5/src/
H A Dimage.rs282 let mut bits_read = 0u64; in load_rect() localVariable
298 if position >= start && end - position >= scanline_bytes * 8 && bits_read % 8 == 0 { in load_rect()
299 read_scanline(decoder, &mut buf[((bits_read/8) as usize)..] in load_rect()
301 bits_read += scanline_bytes * 8; in load_rect()
310 if bits_read % 8 == 0 && offset % 8 == 0 && len % 8 == 0 { in load_rect()
313 buf[((bits_read/8) as usize)..][..l].copy_from_slice(&tmp[o..][..l]); in load_rect()
314 bits_read += len; in load_rect()
322 progress_callback(Progress {current: bits_read, total: total_bits}); in load_rect()
/dports/databases/py-asyncmy/asyncmy-0.2.3/asyncmy/replication/
H A Dpackets.py252 bits_read = 0
255 length = length | ((byte & 0x7F) << bits_read)
256 bits_read = bits_read + 7
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/safe_browsing/core/db/
H A Dv4_rice.cc283 unsigned bits_read = (data_byte_index_ - sizeof(uint32_t)) * kBitsPerByte + in DebugString() local
288 bits_read, current_word_, data_byte_index_, current_word_bit_index_, in DebugString()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/safe_browsing/core/db/
H A Dv4_rice.cc282 unsigned bits_read = (data_byte_index_ - sizeof(uint32_t)) * kBitsPerByte + in DebugString() local
287 bits_read, current_word_, data_byte_index_, current_word_bit_index_, in DebugString()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chromecast/media/cdm/
H A Dchromecast_init_data.cc62 pssh_data.begin() + reader.bits_read() / 8, pssh_data.end()); in FindChromecastInitData()

123