Home
last modified time | relevance | path

Searched refs:GetBits (Results 1 – 19 of 19) sorted by relevance

/external/pdfium/core/fpdfapi/parser/
Dcpdf_hint_tables.cpp79 const uint32_t dwObjLeastNum = hStream->GetBits(32); in ReadPageHintTable()
84 const uint32_t dwFirstObjLoc = hStream->GetBits(32); in ReadPageHintTable()
99 const uint32_t dwDeltaObjectsBits = hStream->GetBits(16); in ReadPageHintTable()
104 const uint32_t dwPageLeastLen = hStream->GetBits(32); in ReadPageHintTable()
110 const uint32_t dwDeltaPageLenBits = hStream->GetBits(16); in ReadPageHintTable()
119 const uint32_t dwSharedObjBits = hStream->GetBits(16); in ReadPageHintTable()
125 const uint32_t dwSharedIdBits = hStream->GetBits(16); in ReadPageHintTable()
133 const uint32_t dwSharedNumeratorBits = hStream->GetBits(16); in ReadPageHintTable()
151 FX_SAFE_UINT32 safeDeltaObj = hStream->GetBits(dwDeltaObjectsBits); in ReadPageHintTable()
166 FX_SAFE_UINT32 safePageLen = hStream->GetBits(dwDeltaPageLenBits); in ReadPageHintTable()
[all …]
/external/pdfium/third_party/libtiff/
Dtif_fax3.h174 #define GetBits(n) (BitAcc & ((1<<(n))-1)) macro
200 TabEnt = tab + GetBits(wid); \
212 TabEnt = tab + GetBits(wid); \
231 TabEnt = tab + GetBits(wid); \
236 TabEnt = tab + GetBits(wid); \
265 if (GetBits(11) == 0) \
272 if (GetBits(8)) \
276 while (GetBits(1) == 0) \
499 if (GetBits(4)) \
524 if (!GetBits(1)) \
Dtif_fax3.c291 is1D = GetBits(1); /* 1D/2D-encoding tag bit */ in Fax3Decode2D()
1465 if( GetBits(13) != 0x1001 ) in Fax4Decode()
/external/pdfium/core/fpdfapi/page/
Dcpdf_meshstream.cpp175 return m_BitStream->GetBits(m_nFlagBits) & 0x03; in ReadFlag()
183 pos.x = m_xmin + m_BitStream->GetBits(m_nCoordBits) * (m_xmax - m_xmin) / in ReadCoords()
185 pos.y = m_ymin + m_BitStream->GetBits(m_nCoordBits) * (m_ymax - m_ymin) / in ReadCoords()
189 m_BitStream->GetBits(m_nCoordBits) * (m_xmax - m_xmin) / m_CoordMax; in ReadCoords()
191 m_BitStream->GetBits(m_nCoordBits) * (m_ymax - m_ymin) / m_CoordMax; in ReadCoords()
201 color_value[i] = m_ColorMin[i] + m_BitStream->GetBits(m_nComponentBits) * in ReadColor()
/external/vboot_reference/utility/
Defidecompress.c145 GetBits ( in GetBits() function
360 Pos = (UINT32) ((1U << (Val - 1)) + GetBits (Sd, (UINT16) (Val - 1))); in DecodeP()
399 Number = (UINT16) GetBits (Sd, nbit); in ReadPTLen()
402 CharC = (UINT16) GetBits (Sd, nbit); in ReadPTLen()
434 CharC = (UINT16) GetBits (Sd, 2); in ReadPTLen()
472 Number = (UINT16) GetBits (Sd, CBIT); in ReadCLen()
475 CharC = (UINT16) GetBits (Sd, CBIT); in ReadCLen()
517 CharC = (UINT16) (GetBits (Sd, 4) + 3); in ReadCLen()
519 CharC = (UINT16) (GetBits (Sd, CBIT) + 20); in ReadCLen()
570 Sd->mBlockSize = (UINT16) GetBits (Sd, 16); in DecodeC()
/external/mesa3d/src/amd/addrlib/core/
Daddrlib2.cpp1533 microBlockOffset = GetBits(pIn->x, 0, 3, log2ElementBytes) | in ComputeSurface2DMicroBlockOffset()
1534 GetBits(pIn->y, 1, 2, 3 + log2ElementBytes) | in ComputeSurface2DMicroBlockOffset()
1535 GetBits(pIn->x, 3, 1, 5 + log2ElementBytes) | in ComputeSurface2DMicroBlockOffset()
1536 GetBits(pIn->y, 3, 1, 6 + log2ElementBytes); in ComputeSurface2DMicroBlockOffset()
1537 microBlockOffset = GetBits(microBlockOffset, 0, 4, 0) | in ComputeSurface2DMicroBlockOffset()
1539 GetBits(microBlockOffset, 4, 3, 5); in ComputeSurface2DMicroBlockOffset()
1544 microBlockOffset = GetBits(pIn->y, 0, 3, log2ElementBytes) | in ComputeSurface2DMicroBlockOffset()
1545 GetBits(pIn->x, 1, 2, 3 + log2ElementBytes) | in ComputeSurface2DMicroBlockOffset()
1546 GetBits(pIn->x, 3, 1, 5 + log2ElementBytes) | in ComputeSurface2DMicroBlockOffset()
1547 GetBits(pIn->y, 3, 1, 6 + log2ElementBytes); in ComputeSurface2DMicroBlockOffset()
[all …]
Daddrcommon.h668 static inline UINT_32 GetBits( in GetBits() function
/external/pdfium/fxbarcode/common/
DBC_CommonBitArray.cpp31 m_bits = array->GetBits(); in CBC_CommonBitArray()
50 std::vector<int32_t>& CBC_CommonBitArray::GetBits() { in GetBits() function in CBC_CommonBitArray
DBC_CommonBitArray.h23 std::vector<int32_t>& GetBits();
DBC_CommonBitMatrix.h34 int32_t* GetBits() const { return m_bits; } in GetBits() function
DBC_CommonBitMatrix.cpp105 for (size_t i = 0; i < col->GetBits().size(); ++i) in SetCol()
/external/pdfium/core/fxcrt/
Dcfx_bitstream.h23 uint32_t GetBits(uint32_t nBits);
Dcfx_bitstream.cpp24 uint32_t CFX_BitStream::GetBits(uint32_t nBits) { in GetBits() function in CFX_BitStream
/external/mesa3d/src/amd/addrlib/r800/
Dciaddrlib.cpp101 static UINT_64 GetBits( in GetBits() function
134 ret = GetBits(bits, lsb - 1, 0) // low bits in RemoveBits()
135 | (GetBits(bits, 8 * sizeof(bits) - 1, msb + 1) << lsb); //high bits in RemoveBits()
160 ret = GetBits(bits, lsb - 1, 0) // old low bitss in InsertBits()
161 | (GetBits(newBits, msb - lsb, 0) << lsb) //new bits in InsertBits()
162 | (GetBits(bits, 8 * sizeof(bits) - 1, lsb) << (msb + 1)); //old high bits in InsertBits()
1992 UINT_64 bankDataBits = GetBits(offset, msb, lsb); in HwlComputeMetadataNibbleAddress()
2000 UINT_64 pipeDataBits = GetBits(offset, msb, lsb); in HwlComputeMetadataNibbleAddress()
/external/pdfium/fxbarcode/qrcode/
DBC_QRCoderErrorCorrectionLevel.h27 int32_t GetBits() const { return m_bits; } in GetBits() function
DBC_QRCoderMode.h26 int32_t GetBits() const;
DBC_QRCoderMode.cpp106 int32_t CBC_QRCoderMode::GetBits() const { in GetBits() function in CBC_QRCoderMode
DBC_QRCoderMatrixUtil.cpp269 int32_t typeInfo = (ecLevel->GetBits() << 3) | maskPattern; in MakeTypeInfoBits()
DBC_QRCoderEncoder.cpp162 bits->AppendBits(mode->GetBits(), 4); in AppendModeInfo()