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
CJBig2_GRDProc Class Reference

#include <JBig2_GrdProc.h>

+ Collaboration diagram for CJBig2_GRDProc:

Classes

class  ProgressiveArithDecodeState
 

Public Member Functions

 CJBig2_GRDProc ()
 
 ~CJBig2_GRDProc ()
 
std::unique_ptr< CJBig2_ImageDecodeArith (CJBig2_ArithDecoder *pArithDecoder, JBig2ArithCtx *gbContext)
 
FXCODEC_STATUS StartDecodeArith (ProgressiveArithDecodeState *pState)
 
FXCODEC_STATUS StartDecodeMMR (std::unique_ptr< CJBig2_Image > *pImage, CJBig2_BitStream *pStream)
 
FXCODEC_STATUS ContinueDecode (ProgressiveArithDecodeState *pState)
 
const FX_RECTGetReplaceRect () const
 

Public Attributes

bool MMR
 
bool TPGDON
 
bool USESKIP
 
uint8_t GBTEMPLATE
 
uint32_t GBW
 
uint32_t GBH
 
UnownedPtr< CJBig2_ImageSKIP
 
int8_t GBAT [8]
 

Detailed Description

Definition at line 25 of file JBig2_GrdProc.h.

Constructor & Destructor Documentation

◆ CJBig2_GRDProc()

CJBig2_GRDProc::CJBig2_GRDProc ( )
default

◆ ~CJBig2_GRDProc()

CJBig2_GRDProc::~CJBig2_GRDProc ( )
default

Member Function Documentation

◆ ContinueDecode()

FXCODEC_STATUS CJBig2_GRDProc::ContinueDecode ( ProgressiveArithDecodeState * pState)

Definition at line 471 of file JBig2_GrdProc.cpp.

References kDecodeToBeContinued, and kError.

Referenced by CJBig2_HTRDProc::DecodeArith().

+ Here is the caller graph for this function:

◆ DecodeArith()

std::unique_ptr< CJBig2_Image > CJBig2_GRDProc::DecodeArith ( CJBig2_ArithDecoder * pArithDecoder,
JBig2ArithCtx * gbContext )

Definition at line 61 of file JBig2_GrdProc.cpp.

References GBH, GBTEMPLATE, GBW, and CJBig2_Image::IsValidImageSize().

+ Here is the call graph for this function:

◆ GetReplaceRect()

const FX_RECT & CJBig2_GRDProc::GetReplaceRect ( ) const
inline

Definition at line 48 of file JBig2_GrdProc.h.

◆ StartDecodeArith()

FXCODEC_STATUS CJBig2_GRDProc::StartDecodeArith ( ProgressiveArithDecodeState * pState)

Definition at line 386 of file JBig2_GrdProc.cpp.

References GBH, GBW, CJBig2_Image::IsValidImageSize(), kDecodeFinished, kDecodeReady, and kError.

Referenced by CJBig2_HTRDProc::DecodeArith().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ StartDecodeMMR()

FXCODEC_STATUS CJBig2_GRDProc::StartDecodeMMR ( std::unique_ptr< CJBig2_Image > * pImage,
CJBig2_BitStream * pStream )

Definition at line 450 of file JBig2_GrdProc.cpp.

References fxcodec::FaxModule::FaxG4Decode(), GBH, GBW, CJBig2_BitStream::getBitPos(), CJBig2_BitStream::getBuf(), CJBig2_BitStream::getLength(), kDecodeFinished, kError, and CJBig2_BitStream::setBitPos().

+ Here is the call graph for this function:

Member Data Documentation

◆ GBAT

int8_t CJBig2_GRDProc::GBAT[8]

Definition at line 57 of file JBig2_GrdProc.h.

Referenced by CJBig2_HTRDProc::DecodeArith().

◆ GBH

uint32_t CJBig2_GRDProc::GBH

◆ GBTEMPLATE

uint8_t CJBig2_GRDProc::GBTEMPLATE

Definition at line 53 of file JBig2_GrdProc.h.

Referenced by DecodeArith(), and CJBig2_HTRDProc::DecodeArith().

◆ GBW

uint32_t CJBig2_GRDProc::GBW

◆ MMR

bool CJBig2_GRDProc::MMR

Definition at line 50 of file JBig2_GrdProc.h.

Referenced by CJBig2_HTRDProc::DecodeArith(), and CJBig2_HTRDProc::DecodeMMR().

◆ SKIP

UnownedPtr<CJBig2_Image> CJBig2_GRDProc::SKIP

Definition at line 56 of file JBig2_GrdProc.h.

◆ TPGDON

bool CJBig2_GRDProc::TPGDON

Definition at line 51 of file JBig2_GrdProc.h.

Referenced by CJBig2_HTRDProc::DecodeArith().

◆ USESKIP

bool CJBig2_GRDProc::USESKIP

Definition at line 52 of file JBig2_GrdProc.h.

Referenced by CJBig2_HTRDProc::DecodeArith().


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