![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <progressive_decoder.h>
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 () |
Definition at line 47 of file progressive_decoder.h.
Enumerator | |
---|---|
FXCodec_Invalid | |
FXCodec_8bppGray | |
FXCodec_8bppRgb | |
FXCodec_Rgb | |
FXCodec_Rgb32 | |
FXCodec_Argb | |
FXCodec_Cmyk |
Definition at line 59 of file progressive_decoder.h.
|
default |
|
virtualdefault |
FXCODEC_STATUS fxcodec::ProgressiveDecoder::ContinueDecode | ( | ) |
Definition at line 1253 of file progressive_decoder.cpp.
References kDecodeToBeContinued, and kError.
FXDIB_Format fxcodec::ProgressiveDecoder::GetBitmapFormat | ( | ) | const |
Definition at line 1134 of file progressive_decoder.cpp.
std::pair< FXCODEC_STATUS, size_t > fxcodec::ProgressiveDecoder::GetFrames | ( | ) |
Definition at line 1154 of file progressive_decoder.cpp.
References kDecodeReady, kError, kFrameReady, and kFrameToBeContinued.
|
inline |
Definition at line 78 of file progressive_decoder.h.
|
inline |
Definition at line 77 of file progressive_decoder.h.
FXCODEC_STATUS fxcodec::ProgressiveDecoder::LoadImageInfo | ( | RetainPtr< IFX_SeekableReadStream > | pFile, |
FXCODEC_IMAGE_TYPE | imageType, | ||
CFX_DIBAttribute * | pAttribute, | ||
bool | bSkipImageTypeCheck ) |
Definition at line 834 of file progressive_decoder.cpp.
References kDecodeFinished, kDecodeReady, kDecodeToBeContinued, kError, kFrameReady, and kFrameToBeContinued.
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.