/external/pdfium/core/fxge/dib/ |
D | cfx_dibitmap.cpp | 43 m_Pitch = 0; in Create() 67 m_Pitch = pitch; in Create() 80 m_Pitch = 0; in Create() 94 memcpy(m_pBuffer.Get() + row * m_Pitch, pSrc->GetScanline(row), m_Pitch); in Copy() 105 return m_pBuffer.Get() ? m_pBuffer.Get() + line * m_Pitch : nullptr; in GetScanline() 118 m_Pitch = pSrcBitmap->m_Pitch; in TakeOver() 128 memset(pBuffer, (color & 0xff000000) ? 0xff : 0, m_Pitch * m_Height); in Clear() 132 memset(pBuffer, index ? 0xff : 0, m_Pitch * m_Height); in Clear() 136 memset(pBuffer, color >> 24, m_Pitch * m_Height); in Clear() 140 memset(pBuffer, index, m_Pitch * m_Height); in Clear() [all …]
|
D | cfx_filtereddib.cpp | 22 m_Pitch = (m_Width * (format & 0xff) + 31) / 32 * 4; in LoadSrc() 24 m_Scanline.resize(m_Pitch); in LoadSrc()
|
D | cfx_dibsource.h | 53 uint32_t GetPitch() const { return m_Pitch; } in GetPitch() 131 uint32_t m_Pitch; variable
|
D | cfx_dibsource.cpp | 600 : m_Width(0), m_Height(0), m_bpp(0), m_AlphaFlag(0), m_Pitch(0) {} in CFX_DIBSource() 628 int dword_count = pNewBitmap->m_Pitch / 4; in Clone() 639 if (m_Pitch < static_cast<uint32_t>(copy_len)) in Clone() 640 copy_len = m_Pitch; in Clone() 847 m_pAlphaMask->m_Pitch); in SetAlphaMask() 864 pDestBuffer + m_Pitch * (bYFlip ? (m_Height - row - 1) : row); in FlipImage() 866 memcpy(dest_scan, src_scan, m_Pitch); in FlipImage() 870 memset(dest_scan, 0, m_Pitch); in FlipImage()
|
/external/pdfium/core/fxcodec/codec/ |
D | fx_codec_fax.cpp | 551 for (uint32_t i = 0; i < m_Pitch; ++i) in v_GetNextLine() 751 const int m_Pitch; member in __anon243d12bf0211::CCodec_FaxEncoder 759 : m_Cols(width), m_Rows(height), m_Pitch(pitch), m_pSrcBuf(src_buf) { in CCodec_FaxEncoder() 760 m_RefLine.resize(m_Pitch); in CCodec_FaxEncoder() 761 memset(m_RefLine.data(), 0xff, m_Pitch); in CCodec_FaxEncoder() 762 m_pLineBuf = FX_Alloc2D(uint8_t, m_Pitch, 8); in CCodec_FaxEncoder() 776 const uint8_t* scan_line = m_pSrcBuf + i * m_Pitch; in Encode() 777 memset(m_pLineBuf, 0, m_Pitch * 8); in Encode() 783 memcpy(m_RefLine.data(), scan_line, m_Pitch); in Encode()
|
D | fx_codec_flate.cpp | 651 m_Pitch = (static_cast<uint32_t>(width) * nComps * bpc + 7) / 8; in Create() 652 m_pScanline = FX_Alloc(uint8_t, m_Pitch); in Create() 695 if (m_Pitch == m_PredictPitch) { in v_GetNextLine() 702 FlateOutput(m_pFlate, m_pScanline, m_Pitch); in v_GetNextLine() 707 size_t bytes_to_go = m_Pitch; in v_GetNextLine() 729 memcpy(m_pScanline + m_Pitch - bytes_to_go, m_pPredictBuffer, in v_GetNextLine() 736 FlateOutput(m_pFlate, m_pScanline, m_Pitch); in v_GetNextLine()
|
D | fx_codec.cpp | 1647 m_Pitch = pitch.ValueOrDie(); in Create() 1650 m_pScanline = FX_Alloc(uint8_t, m_Pitch); in Create() 1654 memset(m_pScanline, 0, m_Pitch); in v_Rewind() 1668 memset(m_pScanline, 0, m_Pitch); in v_GetNextLine()
|
D | ccodec_scanlinedecoder.h | 48 uint32_t m_Pitch; variable
|
D | ccodec_scanlinedecoder.cpp | 27 m_Pitch(nPitch), in CCodec_ScanlineDecoder()
|
D | fx_codec_jpeg.cpp | 290 m_Pitch = in Create() 293 m_pScanlineBuf = FX_Alloc(uint8_t, m_Pitch); in Create()
|
/external/pdfium/core/fpdfapi/render/ |
D | cpdf_dibsource.cpp | 212 m_Pitch = pitch.ValueOrDie(); in Load() 249 m_Pitch = pitch.ValueOrDie(); in ContinueToLoadMask() 992 memset(pLineBuf, 0xFF, m_Pitch); in GetScanline() 1081 memset(m_pMaskedLine, 0xFF, m_Pitch); in GetScanline()
|