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::ProgressiveDecoder Class Referencefinal

#include <progressive_decoder.h>

Inheritance diagram for fxcodec::ProgressiveDecoder:
Collaboration diagram for fxcodec::ProgressiveDecoder:

Public Types

enum  FXCodec_Format {
  FXCodec_Invalid = 0 , FXCodec_8bppGray = 0x108 , FXCodec_8bppRgb = 0x008 , FXCodec_Rgb = 0x018 ,
  FXCodec_Rgb32 = 0x020 , FXCodec_Argb = 0x220 , FXCodec_Cmyk = 0x120
}

Public Member Functions

 ProgressiveDecoder ()
virtual ~ProgressiveDecoder ()
FXCODEC_STATUS LoadImageInfo (RetainPtr< IFX_SeekableReadStream > pFile, FXCODEC_IMAGE_TYPE imageType, CFX_DIBAttribute *pAttribute, bool bSkipImageTypeCheck)
int32_t GetWidth () const
int32_t GetHeight () const
FXDIB_Format GetBitmapFormat () const
std::pair< FXCODEC_STATUS, size_t > GetFrames ()
FXCODEC_STATUS StartDecode (RetainPtr< CFX_DIBitmap > bitmap)
FXCODEC_STATUS ContinueDecode ()

Detailed Description

Definition at line 47 of file progressive_decoder.h.

Member Enumeration Documentation

◆ FXCodec_Format

Enumerator
FXCodec_Invalid 
FXCodec_8bppGray 
FXCodec_8bppRgb 
FXCodec_Rgb 
FXCodec_Rgb32 
FXCodec_Argb 
FXCodec_Cmyk 

Definition at line 59 of file progressive_decoder.h.

Constructor & Destructor Documentation

◆ ProgressiveDecoder()

fxcodec::ProgressiveDecoder::ProgressiveDecoder ( )
default

◆ ~ProgressiveDecoder()

fxcodec::ProgressiveDecoder::~ProgressiveDecoder ( )
virtualdefault

Member Function Documentation

◆ ContinueDecode()

FXCODEC_STATUS fxcodec::ProgressiveDecoder::ContinueDecode ( )

Definition at line 1253 of file progressive_decoder.cpp.

References kDecodeToBeContinued, and kError.

◆ GetBitmapFormat()

FXDIB_Format fxcodec::ProgressiveDecoder::GetBitmapFormat ( ) const

Definition at line 1134 of file progressive_decoder.cpp.

References kBgr, kBgra, and kBgrx.

◆ GetFrames()

std::pair< FXCODEC_STATUS, size_t > fxcodec::ProgressiveDecoder::GetFrames ( )

Definition at line 1154 of file progressive_decoder.cpp.

References kDecodeReady, kError, kFrameReady, and kFrameToBeContinued.

◆ GetHeight()

int32_t fxcodec::ProgressiveDecoder::GetHeight ( ) const
inline

Definition at line 78 of file progressive_decoder.h.

◆ GetWidth()

int32_t fxcodec::ProgressiveDecoder::GetWidth ( ) const
inline

Definition at line 77 of file progressive_decoder.h.

◆ LoadImageInfo()

FXCODEC_STATUS fxcodec::ProgressiveDecoder::LoadImageInfo ( RetainPtr< IFX_SeekableReadStream > pFile,
FXCODEC_IMAGE_TYPE imageType,
CFX_DIBAttribute * pAttribute,
bool bSkipImageTypeCheck )

◆ StartDecode()

FXCODEC_STATUS fxcodec::ProgressiveDecoder::StartDecode ( RetainPtr< CFX_DIBitmap > bitmap)

Definition at line 1203 of file progressive_decoder.cpp.

References kBgr, kBgra, kBgrx, kDecodeReady, and kError.


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