Home
last modified time | relevance | path

Searched refs:m_Pitch (Results 1 – 11 of 11) sorted by relevance

/external/pdfium/core/fxge/dib/
Dcfx_dibitmap.cpp46 m_Pitch = 0; in Create()
68 m_Pitch = pitch; in Create()
81 m_Pitch = 0; in Create()
95 memcpy(m_pBuffer.Get() + row * m_Pitch, pSrc->GetScanline(row), m_Pitch); in Copy()
106 return m_pBuffer.Get() ? m_pBuffer.Get() + line * m_Pitch : nullptr; in GetScanline()
119 m_Pitch = pSrcBitmap->m_Pitch; in TakeOver()
129 memset(pBuffer, (color & 0xff000000) ? 0xff : 0, m_Pitch * m_Height); in Clear()
133 memset(pBuffer, index ? 0xff : 0, m_Pitch * m_Height); in Clear()
137 memset(pBuffer, color >> 24, m_Pitch * m_Height); in Clear()
141 memset(pBuffer, index, m_Pitch * m_Height); in Clear()
[all …]
Dcfx_dibbase.h57 uint32_t GetPitch() const { return m_Pitch; } in GetPitch()
130 uint32_t m_Pitch; variable
Dcfx_dibbase.cpp718 : m_Width(0), m_Height(0), m_bpp(0), m_AlphaFlag(0), m_Pitch(0) {} in CFX_DIBBase()
746 int dword_count = pNewBitmap->m_Pitch / 4; in Clone()
759 if (m_Pitch < static_cast<uint32_t>(copy_len)) in Clone()
760 copy_len = m_Pitch; in Clone()
996 m_pAlphaMask->m_Pitch); in SetAlphaMask()
1012 pDestBuffer + m_Pitch * (bYFlip ? (m_Height - row - 1) : row); in FlipImage()
1014 memcpy(dest_scan, src_scan, m_Pitch); in FlipImage()
1018 memset(dest_scan, 0, m_Pitch); in FlipImage()
/external/pdfium/core/fxcodec/fax/
Dfaxmodule.cpp505 m_ScanlineBuf(m_Pitch), in FaxDecoder()
506 m_RefBuf(m_Pitch) {} in FaxDecoder()
566 ASSERT(m_Pitch == m_ScanlineBuf.size()); in InvertBuffer()
567 ASSERT(m_Pitch % 4 == 0); in InvertBuffer()
684 const int m_Pitch; member in fxcodec::__anon7b3ad7730211::FaxEncoder
694 m_Pitch(pitch), in FaxEncoder()
788 const uint8_t* scan_line = m_pSrcBuf + i * m_Pitch; in Encode()
795 memcpy(m_RefLine.data(), scan_line, m_Pitch); in Encode()
/external/pdfium/core/fxcodec/basic/
Dbasicmodule.cpp101 m_Pitch = pitch.ValueOrDie(); in Create()
104 m_pScanline.reset(FX_Alloc(uint8_t, m_Pitch)); in Create()
109 memset(m_pScanline.get(), 0, m_Pitch); in v_Rewind()
122 memset(m_pScanline.get(), 0, m_Pitch); in v_GetNextLine()
/external/pdfium/core/fxcodec/jpeg/
Djpegmodule.cpp368 m_pScanlineBuf.reset(FX_Alloc(uint8_t, m_Pitch)); in Create()
414 m_Pitch = static_cast<uint32_t>(m_Cinfo.image_width) * m_Cinfo.num_components; in CalcPitch()
415 m_Pitch += 3; in CalcPitch()
416 m_Pitch /= 4; in CalcPitch()
417 m_Pitch *= 4; in CalcPitch()
/external/pdfium/core/fpdfapi/page/
Dcpdf_transferfuncdib.cpp29 m_Pitch = (m_Width * m_bpp + 31) / 32 * 4; in CPDF_TransferFuncDIB()
31 m_Scanline.resize(m_Pitch); in CPDF_TransferFuncDIB()
Dcpdf_dib.cpp199 m_Pitch = pitch.ValueOrDie(); in Load()
230 m_Pitch = pitch.ValueOrDie(); in ContinueToLoadMask()
1017 memset(pLineBuf, 0xFF, m_Pitch); in GetScanline()
1093 memset(m_pMaskedLine.get(), 0xFF, m_Pitch); in GetScanline()
/external/pdfium/core/fxcodec/
Dscanlinedecoder.h50 uint32_t m_Pitch; variable
Dscanlinedecoder.cpp28 m_Pitch(nPitch) {} in ScanlineDecoder()
/external/pdfium/core/fxcodec/flate/
Dflatemodule.cpp626 m_pScanline(FX_Alloc(uint8_t, m_Pitch)) {} in FlateScanlineDecoder()
640 FlateOutput(m_pFlate.get(), m_pScanline.get(), m_Pitch); in v_GetNextLine()
719 if (m_Pitch == m_PredictPitch) in v_GetNextLine()
735 FlateOutput(m_pFlate.get(), m_pScanline.get(), m_Pitch); in GetNextLineWithPredictedPitch()
746 size_t bytes_to_go = m_Pitch; in GetNextLineWithoutPredictedPitch()
774 memcpy(m_pScanline.get() + m_Pitch - bytes_to_go, m_PredictBuffer.data(), in GetNextLineWithoutPredictedPitch()