Home
last modified time | relevance | path

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

/external/pdfium/core/fxcodec/jbig2/
DJBig2_Image.cpp57 m_nStride = stride_pixels / 8; in CJBig2_Image()
59 FX_Alloc2D(uint8_t, m_nStride, m_nHeight))); in CJBig2_Image()
79 m_nStride = stride; in CJBig2_Image()
86 m_nStride(other.m_nStride) { in CJBig2_Image()
89 FX_Alloc2D(uint8_t, m_nStride, m_nHeight))); in CJBig2_Image()
90 memcpy(data(), other.data(), m_nStride * m_nHeight); in CJBig2_Image()
146 memset(pDst, 0, m_nStride); in CopyLine()
149 memcpy(pDst, pSrc, m_nStride); in CopyLine()
156 memset(data(), v ? 0xff : 0, m_nStride * m_nHeight); in Fill()
216 int32_t bytes_to_copy = std::min(pImage->m_nStride, m_nStride - m); in SubImageFast()
[all …]
DJBig2_Image.h41 int32_t stride() const { return m_nStride; } in stride()
48 uint8_t* GetLineUnsafe(int32_t y) const { return data() + y * m_nStride; } in GetLineUnsafe()
96 int32_t m_nStride = 0; // bytes, must be multiple of 4. variable