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.cpp125 m_BitStream = pdfium::MakeUnique<CFX_BitStream>(m_pStream->GetSpan()); in Load()
166 return m_BitStream->BitsRemaining() >= m_nFlagBits; in CanReadFlag()
170 return m_BitStream->BitsRemaining() / 2 >= m_nCoordBits; in CanReadCoords()
174 return m_BitStream->BitsRemaining() / m_nComponentBits >= m_nComponents; in CanReadColor()
179 return m_BitStream->GetBits(m_nFlagBits) & 0x03; in ReadFlag()
187 pos.x = m_xmin + m_BitStream->GetBits(m_nCoordBits) * (m_xmax - m_xmin) / in ReadCoords()
189 pos.y = m_ymin + m_BitStream->GetBits(m_nCoordBits) * (m_ymax - m_ymin) / in ReadCoords()
193 m_BitStream->GetBits(m_nCoordBits) * (m_xmax - m_xmin) / m_CoordMax; in ReadCoords()
195 m_BitStream->GetBits(m_nCoordBits) * (m_ymax - m_ymin) / m_CoordMax; in ReadCoords()
205 color_value[i] = m_ColorMin[i] + m_BitStream->GetBits(m_nComponentBits) * in ReadColor()
[all …]
Dcpdf_meshstream.h62 CFX_BitStream* BitStream() { return m_BitStream.get(); } in BitStream()
84 std::unique_ptr<CFX_BitStream> m_BitStream; variable