Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
fxcodec::ScanlineDecoder Class Referenceabstract

#include <scanlinedecoder.h>

+ Collaboration diagram for fxcodec::ScanlineDecoder:

Public Member Functions

 ScanlineDecoder ()
 
 ScanlineDecoder (int nOrigWidth, int nOrigHeight, int nOutputWidth, int nOutputHeight, int nComps, int nBpc, uint32_t nPitch)
 
virtual ~ScanlineDecoder ()
 
pdfium::span< const uint8_t > GetScanline (int line)
 
bool SkipToScanline (int line, PauseIndicatorIface *pPause)
 
int GetWidth () const
 
int GetHeight () const
 
int CountComps () const
 
int GetBPC () const
 
virtual uint32_t GetSrcOffset ()=0
 

Protected Member Functions

virtual bool Rewind ()=0
 
virtual pdfium::span< uint8_t > GetNextLine ()=0
 

Protected Attributes

int m_OrigWidth
 
int m_OrigHeight
 
int m_OutputWidth
 
int m_OutputHeight
 
int m_nComps
 
int m_bpc
 
uint32_t m_Pitch
 
int m_NextLine = -1
 
pdfium::span< uint8_t > m_pLastScanline
 

Detailed Description

Definition at line 18 of file scanlinedecoder.h.

Constructor & Destructor Documentation

◆ ScanlineDecoder() [1/2]

fxcodec::ScanlineDecoder::ScanlineDecoder ( )

Definition at line 13 of file scanlinedecoder.cpp.

References ScanlineDecoder().

+ Here is the call graph for this function:

◆ ScanlineDecoder() [2/2]

fxcodec::ScanlineDecoder::ScanlineDecoder ( int nOrigWidth,
int nOrigHeight,
int nOutputWidth,
int nOutputHeight,
int nComps,
int nBpc,
uint32_t nPitch )

Definition at line 15 of file scanlinedecoder.cpp.

References m_bpc, m_nComps, m_OrigHeight, m_OrigWidth, m_OutputHeight, m_OutputWidth, and m_Pitch.

Referenced by ScanlineDecoder().

+ Here is the caller graph for this function:

◆ ~ScanlineDecoder()

fxcodec::ScanlineDecoder::~ScanlineDecoder ( )
virtualdefault

Member Function Documentation

◆ CountComps()

int fxcodec::ScanlineDecoder::CountComps ( ) const
inline

Definition at line 35 of file scanlinedecoder.h.

References m_nComps.

◆ GetBPC()

int fxcodec::ScanlineDecoder::GetBPC ( ) const
inline

Definition at line 36 of file scanlinedecoder.h.

References m_bpc.

◆ GetHeight()

int fxcodec::ScanlineDecoder::GetHeight ( ) const
inline

Definition at line 34 of file scanlinedecoder.h.

References m_OutputHeight.

◆ GetNextLine()

virtual pdfium::span< uint8_t > fxcodec::ScanlineDecoder::GetNextLine ( )
protectedpure virtual

Referenced by GetScanline().

+ Here is the caller graph for this function:

◆ GetScanline()

pdfium::span< const uint8_t > fxcodec::ScanlineDecoder::GetScanline ( int line)

Definition at line 32 of file scanlinedecoder.cpp.

References GetNextLine(), m_NextLine, and Rewind().

+ Here is the call graph for this function:

◆ GetSrcOffset()

virtual uint32_t fxcodec::ScanlineDecoder::GetSrcOffset ( )
pure virtual

◆ GetWidth()

int fxcodec::ScanlineDecoder::GetWidth ( ) const
inline

Definition at line 33 of file scanlinedecoder.h.

References m_OutputWidth.

◆ Rewind()

virtual bool fxcodec::ScanlineDecoder::Rewind ( )
protectedpure virtual

Referenced by GetScanline(), and SkipToScanline().

+ Here is the caller graph for this function:

◆ SkipToScanline()

bool fxcodec::ScanlineDecoder::SkipToScanline ( int line,
PauseIndicatorIface * pPause )

Definition at line 50 of file scanlinedecoder.cpp.

References m_NextLine, PauseIndicatorIface::NeedToPauseNow(), and Rewind().

+ Here is the call graph for this function:

Member Data Documentation

◆ m_bpc

int fxcodec::ScanlineDecoder::m_bpc
protected

Definition at line 49 of file scanlinedecoder.h.

Referenced by ScanlineDecoder(), and GetBPC().

◆ m_nComps

int fxcodec::ScanlineDecoder::m_nComps
protected

Definition at line 48 of file scanlinedecoder.h.

Referenced by ScanlineDecoder(), and CountComps().

◆ m_NextLine

int fxcodec::ScanlineDecoder::m_NextLine = -1
protected

Definition at line 51 of file scanlinedecoder.h.

Referenced by GetScanline(), and SkipToScanline().

◆ m_OrigHeight

int fxcodec::ScanlineDecoder::m_OrigHeight
protected

Definition at line 45 of file scanlinedecoder.h.

Referenced by ScanlineDecoder().

◆ m_OrigWidth

int fxcodec::ScanlineDecoder::m_OrigWidth
protected

Definition at line 44 of file scanlinedecoder.h.

Referenced by ScanlineDecoder().

◆ m_OutputHeight

int fxcodec::ScanlineDecoder::m_OutputHeight
protected

Definition at line 47 of file scanlinedecoder.h.

Referenced by ScanlineDecoder(), and GetHeight().

◆ m_OutputWidth

int fxcodec::ScanlineDecoder::m_OutputWidth
protected

Definition at line 46 of file scanlinedecoder.h.

Referenced by ScanlineDecoder(), and GetWidth().

◆ m_Pitch

uint32_t fxcodec::ScanlineDecoder::m_Pitch
protected

Definition at line 50 of file scanlinedecoder.h.

Referenced by ScanlineDecoder().

◆ m_pLastScanline

pdfium::span<uint8_t> fxcodec::ScanlineDecoder::m_pLastScanline
protected

Definition at line 52 of file scanlinedecoder.h.


The documentation for this class was generated from the following files: