Searched refs:readNBits (Results 1 – 8 of 8) sorted by relevance
/external/pdfium/core/fxcodec/jbig2/ |
D | JBig2_BitStream_unittest.cpp | 18 EXPECT_EQ(0, stream.readNBits(1, &val1)); in TEST() 22 EXPECT_EQ(0, stream.readNBits(1, &val2)); in TEST() 25 EXPECT_EQ(0, stream.readNBits(2, &val2)); in TEST() 28 EXPECT_EQ(0, stream.readNBits(4, &val2)); in TEST() 37 EXPECT_EQ(0, stream.readNBits(10, &val1)); in TEST() 45 EXPECT_EQ(-1, stream.readNBits(1, &val1)); in TEST() 48 EXPECT_EQ(-1, stream.readNBits(2, &val2)); in TEST() 56 EXPECT_EQ(0, stream.readNBits(8, &val1)); in TEST() 59 EXPECT_EQ(-1, stream.readNBits(2, &val2)); in TEST() 68 EXPECT_EQ(0, stream.readNBits(34, &val1)); in TEST()
|
D | JBig2_HuffmanTable.cpp | 185 if ((pStream->readNBits(HTPS, &CODES[NTEMP].codelen) == -1) || in ParseFromCodedBuffer() 186 (pStream->readNBits(HTRS, &RANGELEN[NTEMP]) == -1) || in ParseFromCodedBuffer() 201 if (pStream->readNBits(HTPS, &CODES[NTEMP].codelen) == -1) in ParseFromCodedBuffer() 211 if (pStream->readNBits(HTPS, &CODES[NTEMP].codelen) == -1) in ParseFromCodedBuffer() 219 if (pStream->readNBits(HTPS, &CODES[NTEMP].codelen) == -1) in ParseFromCodedBuffer()
|
D | JBig2_BitStream.h | 21 int32_t readNBits(uint32_t dwBits, uint32_t* dwResult); 22 int32_t readNBits(uint32_t dwBits, int32_t* nResult);
|
D | JBig2_BitStream.cpp | 27 int32_t CJBig2_BitStream::readNBits(uint32_t dwBits, uint32_t* dwResult) { in readNBits() function in CJBig2_BitStream 49 int32_t CJBig2_BitStream::readNBits(uint32_t dwBits, int32_t* nResult) { in readNBits() function in CJBig2_BitStream
|
D | JBig2_HuffmanDecoder.cpp | 41 if (m_pStream->readNBits(pTable->GetRANGELEN()[i], &nTmp) == -1) in DecodeAValue()
|
D | JBig2_Context.cpp | 1134 if (m_pStream->readNBits(4, &huffman_codes[i].codelen) != 0) in DecodeSymbolIDHuffmanTable() 1171 if (m_pStream->readNBits(2, &nTemp) != 0) in DecodeSymbolIDHuffmanTable() 1175 if (m_pStream->readNBits(3, &nTemp) != 0) in DecodeSymbolIDHuffmanTable() 1179 if (m_pStream->readNBits(7, &nTemp) != 0) in DecodeSymbolIDHuffmanTable()
|
D | JBig2_TrdProc.cpp | 105 if (pStream->readNBits(nTmp, &nVal) != 0) in DecodeHuffman()
|
/external/zstd/doc/ |
D | zstd_compression_format.md | 755 Offset_Value = (1 << offsetCode) + readNBits(offsetCode);
|