Searched refs:m_nStride (Results 1 – 2 of 2) sorted by relevance
/external/pdfium/core/fxcodec/jbig2/ |
D | JBig2_Image.cpp | 52 m_nStride = stride_pixels / 8; in CJBig2_Image() 54 FX_Alloc2D(uint8_t, m_nStride, m_nHeight))); in CJBig2_Image() 74 m_nStride = stride; in CJBig2_Image() 81 m_nStride(other.m_nStride) { in CJBig2_Image() 84 FX_Alloc2D(uint8_t, m_nStride, m_nHeight))); in CJBig2_Image() 85 memcpy(data(), other.data(), m_nStride * m_nHeight); in CJBig2_Image() 142 memset(pDst, 0, m_nStride); in CopyLine() 145 memcpy(pDst, pSrc, m_nStride); in CopyLine() 152 memset(data(), v ? 0xff : 0, m_nStride * m_nHeight); in Fill() 212 int32_t bytes_to_copy = std::min(pImage->m_nStride, m_nStride - m); in SubImageFast() [all …]
|
D | JBig2_Image.h | 37 int32_t stride() const { return m_nStride; } in stride() 44 uint8_t* GetLineUnsafe(int32_t y) const { return data() + y * m_nStride; } in GetLineUnsafe() 92 int32_t m_nStride = 0; // bytes, must be multiple of 4. variable
|