Home
last modified time | relevance | path

Searched refs:m_pSrcBuf (Results 1 – 4 of 4) sorted by relevance

/external/pdfium/core/src/fxcodec/codec/
Dfx_codec.cpp311 const uint8_t* m_pSrcBuf; member in CCodec_RLScanlineDecoder
320 m_pSrcBuf(NULL), in CCodec_RLScanlineDecoder()
334 if (m_pSrcBuf[i] < 128) { in CheckDestSize()
336 dest_size += m_pSrcBuf[i] + 1; in CheckDestSize()
340 i += m_pSrcBuf[i] + 2; in CheckDestSize()
341 } else if (m_pSrcBuf[i] > 128) { in CheckDestSize()
343 dest_size += 257 - m_pSrcBuf[i]; in CheckDestSize()
364 m_pSrcBuf = src_buf; in Create()
417 FXSYS_memcpy(m_pScanline + col_pos, m_pSrcBuf + m_SrcOffset, copy_len); in v_GetNextLine()
423 fill = m_pSrcBuf[m_SrcOffset]; in v_GetNextLine()
[all …]
Dfx_codec_progress.cpp244 m_pSrcBuf = NULL; in CCodec_ProgressiveDecoder()
290 if (m_pSrcBuf != NULL) { in ~CCodec_ProgressiveDecoder()
291 FX_Free(m_pSrcBuf); in ~CCodec_ProgressiveDecoder()
315 m_pSrcBuf = FX_Realloc(uint8_t, m_pSrcBuf, m_SrcSize); in JpegReadMoreData()
316 if (!m_pSrcBuf) { in JpegReadMoreData()
323 FXSYS_memcpy(m_pSrcBuf, m_pSrcBuf + dwConsume, dwAvail); in JpegReadMoreData()
329 if (!m_pFile->ReadBlock(m_pSrcBuf + dwAvail, m_offSet, dwSize)) { in JpegReadMoreData()
334 pJpegModule->Input(m_pJpegContext, m_pSrcBuf, dwSize + dwAvail); in JpegReadMoreData()
573 m_pSrcBuf = FX_Realloc(uint8_t, m_pSrcBuf, m_SrcSize); in GifReadMoreData()
574 if (!m_pSrcBuf) { in GifReadMoreData()
[all …]
Dfx_codec_fax.cpp623 const uint8_t* m_pSrcBuf; member in CCodec_FaxDecoder
665 m_pSrcBuf = src_buf; in Create()
679 FaxSkipEOL(m_pSrcBuf, bitsize, bitpos); in v_GetNextLine()
685 FaxG4GetRow(m_pSrcBuf, bitsize, bitpos, m_pScanlineBuf, m_pRefBuf, in v_GetNextLine()
689 FaxGet1DLine(m_pSrcBuf, bitsize, bitpos, m_pScanlineBuf, m_OrigWidth); in v_GetNextLine()
691 FX_BOOL bNext1D = m_pSrcBuf[bitpos / 8] & (1 << (7 - bitpos % 8)); in v_GetNextLine()
694 FaxGet1DLine(m_pSrcBuf, bitsize, bitpos, m_pScanlineBuf, m_OrigWidth); in v_GetNextLine()
696 FaxG4GetRow(m_pSrcBuf, bitsize, bitpos, m_pScanlineBuf, m_pRefBuf, in v_GetNextLine()
702 FaxSkipEOL(m_pSrcBuf, bitsize, bitpos); in v_GetNextLine()
708 int bit = m_pSrcBuf[bitpos0 / 8] & (1 << (7 - bitpos0 % 8)); in v_GetNextLine()
[all …]
Dfx_codec_progress.h189 uint8_t* m_pSrcBuf; variable