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_1bppGray = 0x101 , FXCodec_1bppRgb = 0x001 , 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) |
FXCODEC_IMAGE_TYPE | GetType () const |
int32_t | GetWidth () const |
int32_t | GetHeight () const |
int32_t | GetBitsPerPixel () const |
void | SetClipBox (FX_RECT *clip) |
std::pair< FXCODEC_STATUS, size_t > | GetFrames () |
FXCODEC_STATUS | StartDecode (const RetainPtr< CFX_DIBitmap > &pDIBitmap, int start_x, int start_y, int size_x, int size_y) |
FXCODEC_STATUS | ContinueDecode () |
Definition at line 47 of file progressive_decoder.h.
Enumerator | |
---|---|
FXCodec_Invalid | |
FXCodec_1bppGray | |
FXCodec_1bppRgb | |
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 2169 of file progressive_decoder.cpp.
References kDecodeToBeContinued, and kError.
|
inline |
Definition at line 82 of file progressive_decoder.h.
std::pair< FXCODEC_STATUS, size_t > fxcodec::ProgressiveDecoder::GetFrames | ( | ) |
Definition at line 2040 of file progressive_decoder.cpp.
References kDecodeReady, kError, kFrameReady, and kFrameToBeContinued.
|
inline |
Definition at line 81 of file progressive_decoder.h.
|
inline |
Definition at line 79 of file progressive_decoder.h.
|
inline |
Definition at line 80 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 1493 of file progressive_decoder.cpp.
References FX_RECT::FX_RECT(), kDecodeReady, kDecodeToBeContinued, kError, kFrameReady, kFrameToBeContinued, and FX_RECT::operator=().
Definition at line 1545 of file progressive_decoder.cpp.
References FX_RECT::FX_RECT(), FX_RECT::bottom, FX_RECT::IsEmpty(), kFrameReady, FX_RECT::left, FX_RECT::operator=(), FX_RECT::right, and FX_RECT::top.
FXCODEC_STATUS fxcodec::ProgressiveDecoder::StartDecode | ( | const RetainPtr< CFX_DIBitmap > & | pDIBitmap, |
int | start_x, | ||
int | start_y, | ||
int | size_x, | ||
int | size_y ) |
Definition at line 2089 of file progressive_decoder.cpp.
References FX_RECT::FX_RECT(), FX_RECT::bottom, FX_RECT::Height(), FX_RECT::IsEmpty(), kDecodeReady, kError, FX_RECT::left, FX_RECT::right, FX_RECT::top, and FX_RECT::Width().