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::BmpDecoder Class Reference

#include <bmp_decoder.h>

+ Collaboration diagram for fxcodec::BmpDecoder:

Classes

class  Delegate
 

Public Types

enum class  Status : uint8_t { kFail , kSuccess , kContinue }
 

Public Member Functions

 BmpDecoder ()=delete
 
 BmpDecoder (const BmpDecoder &)=delete
 
BmpDecoderoperator= (const BmpDecoder &)=delete
 

Static Public Member Functions

static std::unique_ptr< ProgressiveDecoderIface::ContextStartDecode (Delegate *pDelegate)
 
static Status ReadHeader (ProgressiveDecoderIface::Context *pContext, int32_t *width, int32_t *height, bool *tb_flag, int32_t *components, int32_t *pal_num, const std::vector< uint32_t > **palette, CFX_DIBAttribute *pAttribute)
 
static Status LoadImage (ProgressiveDecoderIface::Context *pContext)
 
static FX_FILESIZE GetAvailInput (ProgressiveDecoderIface::Context *pContext)
 
static bool Input (ProgressiveDecoderIface::Context *pContext, RetainPtr< CFX_CodecMemory > codec_memory)
 

Detailed Description

Definition at line 26 of file bmp_decoder.h.

Member Enumeration Documentation

◆ Status

enum class fxcodec::BmpDecoder::Status : uint8_t
strong
Enumerator
kFail 
kSuccess 
kContinue 

Definition at line 35 of file bmp_decoder.h.

Constructor & Destructor Documentation

◆ BmpDecoder() [1/2]

fxcodec::BmpDecoder::BmpDecoder ( )
delete

◆ BmpDecoder() [2/2]

fxcodec::BmpDecoder::BmpDecoder ( const BmpDecoder & )
delete

Member Function Documentation

◆ GetAvailInput()

FX_FILESIZE fxcodec::BmpDecoder::GetAvailInput ( ProgressiveDecoderIface::Context * pContext)
static

Definition at line 62 of file bmp_decoder.cpp.

Referenced by fxcodec::BmpProgressiveDecoder::GetAvailInput().

+ Here is the caller graph for this function:

◆ Input()

bool fxcodec::BmpDecoder::Input ( ProgressiveDecoderIface::Context * pContext,
RetainPtr< CFX_CodecMemory > codec_memory )
static

Definition at line 68 of file bmp_decoder.cpp.

Referenced by fxcodec::BmpProgressiveDecoder::Input().

+ Here is the caller graph for this function:

◆ LoadImage()

BmpDecoder::Status fxcodec::BmpDecoder::LoadImage ( ProgressiveDecoderIface::Context * pContext)
static

Definition at line 56 of file bmp_decoder.cpp.

◆ operator=()

BmpDecoder & fxcodec::BmpDecoder::operator= ( const BmpDecoder & )
delete

◆ ReadHeader()

BmpDecoder::Status fxcodec::BmpDecoder::ReadHeader ( ProgressiveDecoderIface::Context * pContext,
int32_t * width,
int32_t * height,
bool * tb_flag,
int32_t * components,
int32_t * pal_num,
const std::vector< uint32_t > ** palette,
CFX_DIBAttribute * pAttribute )
static

Definition at line 27 of file bmp_decoder.cpp.

References kSuccess.

◆ StartDecode()

std::unique_ptr< ProgressiveDecoderIface::Context > fxcodec::BmpDecoder::StartDecode ( Delegate * pDelegate)
static

Definition at line 21 of file bmp_decoder.cpp.


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