Home
last modified time | relevance | path

Searched refs:BitReader (Results 1 – 25 of 51) sorted by relevance

123

/external/brotli/java/org/brotli/dec/
DDecode.java64 private static int decodeVarLenUnsignedByte(BitReader br) { in decodeVarLenUnsignedByte()
65 if (BitReader.readBits(br, 1) != 0) { in decodeVarLenUnsignedByte()
66 int n = BitReader.readBits(br, 3); in decodeVarLenUnsignedByte()
70 return BitReader.readBits(br, n) + (1 << n); in decodeVarLenUnsignedByte()
76 private static void decodeMetaBlockLength(BitReader br, State state) { in decodeMetaBlockLength()
77 state.inputEnd = BitReader.readBits(br, 1) == 1; in decodeMetaBlockLength()
81 if (state.inputEnd && BitReader.readBits(br, 1) != 0) { in decodeMetaBlockLength()
84 int sizeNibbles = BitReader.readBits(br, 2) + 4; in decodeMetaBlockLength()
87 if (BitReader.readBits(br, 1) != 0) { in decodeMetaBlockLength()
90 int sizeBytes = BitReader.readBits(br, 2); in decodeMetaBlockLength()
[all …]
DBitReader.java15 final class BitReader { class
65 static void readMoreInput(BitReader br) { in readMoreInput()
96 static void checkHealth(BitReader br, boolean endOfStream) { in checkHealth()
112 static void fillBitWindow(BitReader br) { in fillBitWindow()
122 static int readBits(BitReader br, int n) { in readBits()
138 static void init(BitReader br, InputStream input) { in init()
151 private static void prepare(BitReader br) { in prepare()
158 static void reload(BitReader br) { in reload()
164 static void close(BitReader br) throws IOException { in close()
172 static void jumpToByteBoundary(BitReader br) { in jumpToByteBoundary()
[all …]
DState.java19 final BitReader br = new BitReader();
75 private static int decodeWindowBits(BitReader br) { in decodeWindowBits()
76 if (BitReader.readBits(br, 1) == 0) { in decodeWindowBits()
79 int n = BitReader.readBits(br, 3); in decodeWindowBits()
83 n = BitReader.readBits(br, 3); in decodeWindowBits()
100 BitReader.init(state.br, input); in setInput()
118 BitReader.close(state.br); in close()
DBitReaderTest.java24 BitReader reader = new BitReader(); in testReadAfterEos()
25 BitReader.init(reader, new ByteArrayInputStream(new byte[1])); in testReadAfterEos()
26 BitReader.readBits(reader, 9); in testReadAfterEos()
28 BitReader.checkHealth(reader, false); in testReadAfterEos()
DHuffmanTreeGroup.java48 static void decode(HuffmanTreeGroup group, BitReader br) { in decode()
/external/v4l2_codec2/vda/
Dbit_reader.cc9 BitReader::BitReader(const uint8_t* data, int size) in BitReader() function in media::BitReader
18 BitReader::~BitReader() {} in ~BitReader()
20 bool BitReader::ReadString(int num_bits, std::string* str) { in ReadString()
34 int BitReader::GetBytes(int max_nbytes, const uint8_t** out) { in GetBytes()
Dbit_reader.h17 class BitReader
22 BitReader(const uint8_t* data, int size); in NON_EXPORTED_BASE()
23 ~BitReader() override; in NON_EXPORTED_BASE()
65 DISALLOW_COPY_AND_ASSIGN(BitReader); in NON_EXPORTED_BASE()
Dvp9_raw_bits_reader.h17 class BitReader; variable
55 std::unique_ptr<BitReader> reader_;
Dvp9_bool_decoder.h17 class BitReader; variable
54 std::unique_ptr<BitReader> reader_;
/external/llvm/tools/llvm-bcanalyzer/
DCMakeLists.txt2 BitReader
/external/llvm/tools/llvm-dis/
DCMakeLists.txt2 BitReader
/external/llvm/tools/verify-uselistorder/
DCMakeLists.txt3 BitReader
/external/llvm/unittests/Bitcode/
DCMakeLists.txt3 BitReader
/external/llvm/lib/Bitcode/Reader/
DCMakeLists.txt2 BitReader.cpp
/external/spirv-llvm/tools/llvm-spirv/
DCMakeLists.txt3 BitReader
/external/llvm/tools/llvm-lto/
DCMakeLists.txt3 BitReader
/external/v8/tools/clang/translation_unit/
DCMakeLists.txt2 BitReader
/external/v8/tools/clang/empty_string/
DCMakeLists.txt2 BitReader
/external/v8/tools/clang/pass_to_move/
DCMakeLists.txt2 BitReader
/external/v8/tools/clang/rewrite_scoped_refptr/
DCMakeLists.txt2 BitReader
/external/v8/tools/clang/value_cleanup/
DCMakeLists.txt2 BitReader
/external/v8/tools/clang/rewrite_to_chrome_style/
DCMakeLists.txt2 BitReader
/external/v8/tools/clang/base_bind_rewriters/
DCMakeLists.txt2 BitReader
/external/clang/lib/Serialization/
DCMakeLists.txt2 BitReader
/external/llvm/tools/lto/
DCMakeLists.txt3 BitReader

123