Home
last modified time | relevance | path

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

1234

/external/brotli/java/org/brotli/dec/
DDecode.java127 BitReader.fillBitWindow(s); in decodeWindowBits()
128 if (BitReader.readFewBits(s, 1) == 0) { in decodeWindowBits()
131 int n = BitReader.readFewBits(s, 3); in decodeWindowBits()
135 n = BitReader.readFewBits(s, 3); in decodeWindowBits()
154 BitReader.initBitReader(s); in initState()
182 BitReader.fillBitWindow(s); in decodeVarLenUnsignedByte()
183 if (BitReader.readFewBits(s, 1) != 0) { in decodeVarLenUnsignedByte()
184 int n = BitReader.readFewBits(s, 3); in decodeVarLenUnsignedByte()
188 return BitReader.readFewBits(s, n) + (1 << n); in decodeVarLenUnsignedByte()
195 BitReader.fillBitWindow(s); in decodeMetaBlockLength()
[all …]
DBitReaderTest.java26 BitReader.readBits(reader, 9); in testReadAfterEos()
28 BitReader.checkHealth(reader, 0); in testReadAfterEos()
/external/brotli/csharp/org/brotli/dec/
DDecode.cs45 private static int DecodeVarLenUnsignedByte(Org.Brotli.Dec.BitReader br) in DecodeVarLenUnsignedByte()
47 if (Org.Brotli.Dec.BitReader.ReadBits(br, 1) != 0) in DecodeVarLenUnsignedByte()
49 int n = Org.Brotli.Dec.BitReader.ReadBits(br, 3); in DecodeVarLenUnsignedByte()
56 return Org.Brotli.Dec.BitReader.ReadBits(br, n) + (1 << n); in DecodeVarLenUnsignedByte()
62 private static void DecodeMetaBlockLength(Org.Brotli.Dec.BitReader br, Org.Brotli.Dec.State state) in DecodeMetaBlockLength()
64 state.inputEnd = Org.Brotli.Dec.BitReader.ReadBits(br, 1) == 1; in DecodeMetaBlockLength()
68 if (state.inputEnd && Org.Brotli.Dec.BitReader.ReadBits(br, 1) != 0) in DecodeMetaBlockLength()
72 int sizeNibbles = Org.Brotli.Dec.BitReader.ReadBits(br, 2) + 4; in DecodeMetaBlockLength()
76 if (Org.Brotli.Dec.BitReader.ReadBits(br, 1) != 0) in DecodeMetaBlockLength()
80 int sizeBytes = Org.Brotli.Dec.BitReader.ReadBits(br, 2); in DecodeMetaBlockLength()
[all …]
DBitReader.cs9 internal sealed class BitReader class
55 internal static void ReadMoreInput(Org.Brotli.Dec.BitReader br) in ReadMoreInput()
97 internal static void CheckHealth(Org.Brotli.Dec.BitReader br, bool endOfStream) in CheckHealth()
115 internal static void FillBitWindow(Org.Brotli.Dec.BitReader br) in FillBitWindow()
125 internal static int ReadBits(Org.Brotli.Dec.BitReader br, int n) in ReadBits()
141 internal static void Init(Org.Brotli.Dec.BitReader br, System.IO.Stream input) in Init()
156 private static void Prepare(Org.Brotli.Dec.BitReader br) in Prepare()
164 internal static void Reload(Org.Brotli.Dec.BitReader br) in Reload()
173 internal static void Close(Org.Brotli.Dec.BitReader br) in Close()
183 internal static void JumpToByteBoundary(Org.Brotli.Dec.BitReader br) in JumpToByteBoundary()
[all …]
DState.cs14 internal readonly Org.Brotli.Dec.BitReader br = new Org.Brotli.Dec.BitReader();
116 private static int DecodeWindowBits(Org.Brotli.Dec.BitReader br) in DecodeWindowBits()
118 if (Org.Brotli.Dec.BitReader.ReadBits(br, 1) == 0) in DecodeWindowBits()
122 int n = Org.Brotli.Dec.BitReader.ReadBits(br, 3); in DecodeWindowBits()
127 n = Org.Brotli.Dec.BitReader.ReadBits(br, 3); in DecodeWindowBits()
144 Org.Brotli.Dec.BitReader.Init(state.br, input); in SetInput()
168 Org.Brotli.Dec.BitReader.Close(state.br); in Close()
DBitReaderTest.cs18 Org.Brotli.Dec.BitReader reader = new Org.Brotli.Dec.BitReader(); in TestReadAfterEos()
19 Org.Brotli.Dec.BitReader.Init(reader, new System.IO.MemoryStream(new byte[1])); in TestReadAfterEos()
20 Org.Brotli.Dec.BitReader.ReadBits(reader, 9); in TestReadAfterEos()
23 Org.Brotli.Dec.BitReader.CheckHealth(reader, false); in TestReadAfterEos()
/external/v4l2_codec2/vda/
Dbit_reader.cc10 BitReader::BitReader(const uint8_t* data, int size) in BitReader() function in media::BitReader
19 BitReader::~BitReader() = default;
21 bool BitReader::ReadString(int num_bits, std::string* str) { in ReadString()
35 int BitReader::GetBytes(int max_nbytes, const uint8_t** out) { in GetBytes()
Dbit_reader.h18 class BitReader : private BitReaderCore::ByteStreamProvider {
22 BitReader(const uint8_t* data, int size);
23 ~BitReader() override;
65 DISALLOW_COPY_AND_ASSIGN(BitReader);
Dvp9_raw_bits_reader.h18 class BitReader; variable
56 std::unique_ptr<BitReader> reader_;
Dvp9_bool_decoder.h18 class BitReader; variable
55 std::unique_ptr<BitReader> reader_;
/external/llvm/tools/llvm-bcanalyzer/
DCMakeLists.txt2 BitReader
/external/llvm/tools/llvm-dis/
DCMakeLists.txt2 BitReader
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-bcanalyzer/
DCMakeLists.txt2 BitReader
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-modextract/
DCMakeLists.txt3 BitReader
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-dis/
DCMakeLists.txt2 BitReader
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cat/
DCMakeLists.txt3 BitReader
/external/llvm/tools/verify-uselistorder/
DCMakeLists.txt3 BitReader
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Bitcode/
DCMakeLists.txt3 BitReader
/external/llvm/lib/Bitcode/Reader/
DCMakeLists.txt2 BitReader.cpp
/external/llvm/unittests/Bitcode/
DCMakeLists.txt3 BitReader
/external/spirv-llvm/tools/llvm-spirv/
DCMakeLists.txt3 BitReader
/external/swiftshader/third_party/llvm-7.0/llvm/tools/verify-uselistorder/
DCMakeLists.txt3 BitReader
/external/llvm/tools/llvm-lto/
DCMakeLists.txt3 BitReader
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/
DCMakeLists.txt2 BitReader.cpp
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-lto2/
DCMakeLists.txt3 BitReader

1234