Home
last modified time | relevance | path

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

/external/pdfium/core/fxge/dib/
Dfx_dib_main.cpp52 m_Pitch(0) {} in CFX_DIBSource()
84 m_Width = m_Height = m_Pitch = 0; in Create()
114 m_Pitch = pitch; in Create()
122 m_Width = m_Height = m_Pitch = 0; in Create()
140 FXSYS_memcpy(m_pBuffer + row * m_Pitch, pSrc->GetScanline(row), m_Pitch); in Copy()
157 return m_pBuffer ? m_pBuffer + line * m_Pitch : nullptr; in GetScanline()
175 m_Pitch = pSrcBitmap->m_Pitch; in TakeOver()
194 int dword_count = pNewBitmap->m_Pitch / 4; in Clone()
205 if (m_Pitch < (uint32_t)copy_len) in Clone()
206 copy_len = m_Pitch; in Clone()
[all …]
Dfx_dib_convert.cpp842 uint8_t* scanline = m_pBuffer + row * m_Pitch + 3; in ConvertFormat()
909 m_Pitch = dest_pitch; in ConvertFormat()
Dfx_dib_composite.cpp4528 m_pBuffer + (dest_top + row) * m_Pitch + dest_left * dest_Bpp; in CompositeBitmap()
4541 (dest_top + row - clip_box.top) * pClipMask->m_Pitch + in CompositeBitmap()
4605 m_pBuffer + (dest_top + row) * m_Pitch + dest_left * Bpp; in CompositeMask()
4614 (dest_top + row - clip_box.top) * pClipMask->m_Pitch + in CompositeMask()
4678 uint8_t* dest_scan = m_pBuffer + row * m_Pitch + rect.left; in CompositeRect()
4754 uint8_t* dest_scan = m_pBuffer + row * m_Pitch + rect.left * Bpp; in CompositeRect()
4777 uint8_t* dest_scan = m_pBuffer + row * m_Pitch + rect.left * Bpp; in CompositeRect()
/external/pdfium/core/fxcodec/codec/
Dfx_codec_fax.cpp551 for (uint32_t i = 0; i < m_Pitch; ++i) { in v_GetNextLine()
755 const int m_Pitch; member in __anondb1c505e0211::CCodec_FaxEncoder
763 : m_Cols(width), m_Rows(height), m_Pitch(pitch), m_pSrcBuf(src_buf) { in CCodec_FaxEncoder()
764 m_RefLine.resize(m_Pitch); in CCodec_FaxEncoder()
765 FXSYS_memset(m_RefLine.data(), 0xff, m_Pitch); in CCodec_FaxEncoder()
766 m_pLineBuf = FX_Alloc2D(uint8_t, m_Pitch, 8); in CCodec_FaxEncoder()
780 const uint8_t* scan_line = m_pSrcBuf + i * m_Pitch; in Encode()
781 FXSYS_memset(m_pLineBuf, 0, m_Pitch * 8); in Encode()
787 FXSYS_memcpy(m_RefLine.data(), scan_line, m_Pitch); in Encode()
Dfx_codec.cpp48 m_Pitch(nPitch), in CCodec_ScanlineDecoder()
357 m_Pitch = pitch.ValueOrDie(); in Create()
360 m_pScanline = FX_Alloc(uint8_t, m_Pitch); in Create()
364 FXSYS_memset(m_pScanline, 0, m_Pitch); in v_Rewind()
378 FXSYS_memset(m_pScanline, 0, m_Pitch); in v_GetNextLine()
Dfx_codec_flate.cpp684 m_Pitch = (static_cast<uint32_t>(width) * nComps * bpc + 7) / 8; in Create()
685 m_pScanline = FX_Alloc(uint8_t, m_Pitch); in Create()
726 if (m_Pitch == m_PredictPitch) { in v_GetNextLine()
733 FPDFAPI_FlateOutput(m_pFlate, m_pScanline, m_Pitch); in v_GetNextLine()
738 size_t bytes_to_go = m_Pitch; in v_GetNextLine()
761 FXSYS_memcpy(m_pScanline + m_Pitch - bytes_to_go, m_pPredictBuffer, in v_GetNextLine()
768 FPDFAPI_FlateOutput(m_pFlate, m_pScanline, m_Pitch); in v_GetNextLine()
Dccodec_scanlinedecoder.h48 uint32_t m_Pitch; variable
Dfx_codec_jpeg.cpp272 m_Pitch = in Create()
275 m_pScanlineBuf = FX_Alloc(uint8_t, m_Pitch); in Create()
/external/pdfium/core/fpdfapi/render/
Dcpdf_dibsource.cpp201 m_Pitch = pitch.ValueOrDie(); in Load()
239 m_Pitch = pitch.ValueOrDie(); in ContinueToLoadMask()
1004 FXSYS_memset(pLineBuf, 0xFF, m_Pitch); in GetScanline()
1093 FXSYS_memset(m_pMaskedLine, 0xFF, m_Pitch); in GetScanline()
/external/pdfium/core/fxge/
Dfx_dib.h192 uint32_t GetPitch() const { return m_Pitch; } in GetPitch()
272 uint32_t m_Pitch; variable