7#include "core/fxcodec/bmp/bmp_progressive_decoder.h"
9#include "core/fxcodec/bmp/bmp_decoder.h"
10#include "core/fxcodec/cfx_codec_memory.h"
11#include "third_party/base/check.h"
17BmpProgressiveDecoder* g_bmp_decoder =
nullptr;
23 CHECK(!g_bmp_decoder);
24 g_bmp_decoder =
new BmpProgressiveDecoder();
30 g_bmp_decoder =
nullptr;
38BmpProgressiveDecoder::BmpProgressiveDecoder() =
default;
47 RetainPtr<CFX_CodecMemory> codec_memory) {
static bool Input(ProgressiveDecoderIface::Context *pContext, RetainPtr< CFX_CodecMemory > codec_memory)
static FX_FILESIZE GetAvailInput(ProgressiveDecoderIface::Context *pContext)
~BmpProgressiveDecoder() override
FX_FILESIZE GetAvailInput(Context *context) const override
static void DestroyGlobals()
static BmpProgressiveDecoder * GetInstance()
static void InitializeGlobals()
bool Input(Context *context, RetainPtr< CFX_CodecMemory > codec_memory) override