Home
last modified time | relevance | path

Searched refs:m_BitStream (Results 1 – 2 of 2) sorted by relevance

/external/pdfium/core/fpdfapi/page/
Dcpdf_meshstream.cpp120 m_BitStream = pdfium::MakeUnique<CFX_BitStream>(m_pStream->GetData(), in Load()
162 return m_BitStream->BitsRemaining() >= m_nFlagBits; in CanReadFlag()
166 return m_BitStream->BitsRemaining() / 2 >= m_nCoordBits; in CanReadCoords()
170 return m_BitStream->BitsRemaining() / m_nComponentBits >= m_nComponents; in CanReadColor()
175 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()
[all …]
Dcpdf_meshstream.h60 CFX_BitStream* BitStream() { return m_BitStream.get(); } in BitStream()
84 std::unique_ptr<CFX_BitStream> m_BitStream; variable