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