5#ifndef FLUTTER_LIB_UI_PAINTING_SINGLE_FRAME_CODEC_H_
6#define FLUTTER_LIB_UI_PAINTING_SINGLE_FRAME_CODEC_H_
8#include "flutter/fml/macros.h"
9#include "flutter/lib/ui/painting/codec.h"
10#include "flutter/lib/ui/painting/image.h"
11#include "flutter/lib/ui/painting/image_decoder.h"
12#include "flutter/lib/ui/painting/image_descriptor.h"
19 uint32_t target_width,
20 uint32_t target_height);
34 enum class Status { kNew, kInProgress, kComplete };
35 Status status_ = Status::kNew;
37 uint32_t target_width_;
38 uint32_t target_height_;
40 std::vector<tonic::DartPersistentValue> pending_callbacks_;
SingleFrameCodec(const fml::RefPtr< ImageDescriptor > &descriptor, uint32_t target_width, uint32_t target_height)
~SingleFrameCodec() override
int frameCount() const override
int repetitionCount() const override
Dart_Handle getNextFrame(Dart_Handle args) override
struct _Dart_Handle * Dart_Handle
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args