Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxge/dib/
Dfx_dib_main.cpp49 m_Pitch = 0; in CFX_DIBSource()
71 m_Width = m_Height = m_Pitch = 0; in Create()
101 m_Pitch = pitch; in Create()
109 m_Width = m_Height = m_Pitch = 0; in Create()
126 FXSYS_memcpy(m_pBuffer + row * m_Pitch, pSrc->GetScanline(row), m_Pitch); in Copy()
153 m_Pitch = pSrcBitmap->m_Pitch; in TakeOver()
173 int dword_count = pNewBitmap->m_Pitch / 4; in Clone()
184 if (m_Pitch < (FX_DWORD)copy_len) { in Clone()
185 copy_len = m_Pitch; in Clone()
286 m_Pitch * m_Height); in Clear()
[all …]
Dfx_dib_convert.cpp1159 uint8_t* scanline = m_pBuffer + row * m_Pitch + 3; in ConvertFormat()
1231 m_Pitch = dest_pitch; in ConvertFormat()
Dfx_dib_composite.cpp4690 m_pBuffer + (dest_top + row) * m_Pitch + dest_left * dest_Bpp; in CompositeBitmap()
4703 (dest_top + row - clip_box.top) * pClipMask->m_Pitch + in CompositeBitmap()
4766 m_pBuffer + (dest_top + row) * m_Pitch + dest_left * Bpp; in CompositeMask()
4775 (dest_top + row - clip_box.top) * pClipMask->m_Pitch + in CompositeMask()
4838 uint8_t* dest_scan = m_pBuffer + row * m_Pitch + rect.left; in CompositeRect()
4913 uint8_t* dest_scan = m_pBuffer + row * m_Pitch + rect.left * Bpp; in CompositeRect()
4936 uint8_t* dest_scan = m_pBuffer + row * m_Pitch + rect.left * Bpp; in CompositeRect()
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec.cpp36 : m_Width(width), m_Height(height), m_Pitch(pitch), m_nCachedLines(0) {} in ImageDataCache()
42 if (m_Pitch == 0 || m_Height < 0) in AllocateCache()
45 FX_SAFE_SIZE_T size = m_Pitch; in AllocateCache()
56 if (m_Pitch == 0 || m_nCachedLines >= m_Height) { in AppendLine()
61 size_t offset = m_Pitch; in AppendLine()
62 FXSYS_memcpy(m_Data.get() + offset * m_nCachedLines, line, m_Pitch); in AppendLine()
67 if (m_Pitch == 0 || line < 0 || line >= m_nCachedLines) in GetLine()
70 size_t offset = m_Pitch; in GetLine()
145 new ImageDataCache(m_OutputWidth, m_OutputHeight, m_Pitch)); in DownScale()
382 m_Pitch = pitch.ValueOrDie(); in Create()
[all …]
Dfx_codec_fax.cpp660 m_Pitch = (static_cast<FX_DWORD>(m_OrigWidth) + 31) / 32 * 4; in Create()
663 m_pScanlineBuf = FX_Alloc(uint8_t, m_Pitch); in Create()
664 m_pRefBuf = FX_Alloc(uint8_t, m_Pitch); in Create()
673 FXSYS_memset(m_pRefBuf, 0xff, m_Pitch); in v_Rewind()
683 FXSYS_memset(m_pScanlineBuf, 0xff, m_Pitch); in v_GetNextLine()
687 FXSYS_memcpy(m_pRefBuf, m_pScanlineBuf, m_Pitch); in v_GetNextLine()
699 FXSYS_memcpy(m_pRefBuf, m_pScanlineBuf, m_Pitch); in v_GetNextLine()
720 for (FX_DWORD i = 0; i < m_Pitch; i++) { in v_GetNextLine()
766 int m_Cols, m_Rows, m_Pitch; member in CCodec_FaxEncoder
776 m_Pitch = pitch; in CCodec_FaxEncoder()
[all …]
Dfx_codec_flate.cpp807 m_Pitch = (static_cast<FX_DWORD>(width) * nComps * bpc + 7) / 8; in Create()
808 m_pScanline = FX_Alloc(uint8_t, m_Pitch); in Create()
849 if (m_Pitch == m_PredictPitch) { in v_GetNextLine()
856 FPDFAPI_FlateOutput(m_pFlate, m_pScanline, m_Pitch); in v_GetNextLine()
861 size_t bytes_to_go = m_Pitch; in v_GetNextLine()
884 FXSYS_memcpy(m_pScanline + m_Pitch - bytes_to_go, m_pPredictBuffer, in v_GetNextLine()
891 FPDFAPI_FlateOutput(m_pFlate, m_pScanline, m_Pitch); in v_GetNextLine()
Dfx_codec_jpeg.cpp434 m_Pitch = in Create()
437 m_pScanlineBuf = FX_Alloc(uint8_t, m_Pitch); in Create()
470 m_Pitch = (static_cast<FX_DWORD>(m_OutputWidth) * m_nComps + 3) / 4 * 4; in v_DownScale()
Dcodec_int.h80 const FX_DWORD m_Pitch; variable
98 FX_DWORD m_Pitch; variable
/external/pdfium/core/include/fxge/
Dfx_dib.h175 FX_DWORD GetPitch() const { return m_Pitch; } in GetPitch()
275 FX_DWORD m_Pitch; variable
304 return m_pBuffer ? m_pBuffer + line * m_Pitch : NULL; in GetScanline()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_loadimage.cpp283 m_Pitch = pitch.ValueOrDie(); in Load()
326 m_Pitch = pitch.ValueOrDie(); in ContinueToLoadMask()
1100 FXSYS_memset(pLineBuf, 0xFF, m_Pitch); in GetScanline()
1189 FXSYS_memset(m_pMaskedLine, 0xFF, m_Pitch); in GetScanline()