#include <single_frame_codec.h>
Public Member Functions | |
| 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 |
Public Member Functions inherited from flutter::Codec | |
| void | dispose () |
Public Member Functions inherited from flutter::RefCountedDartWrappable< Codec > | |
| virtual void | RetainDartWrappableReference () const override |
| virtual void | ReleaseDartWrappableReference () const override |
Public Member Functions inherited from fml::RefCountedThreadSafe< T > | |
| void | Release () const |
Public Member Functions inherited from fml::internal::RefCountedThreadSafeBase | |
| void | AddRef () const |
| bool | HasOneRef () const |
| void | AssertHasOneRef () const |
Public Member Functions inherited from tonic::DartWrappable | |
| DartWrappable () | |
| virtual const DartWrapperInfo & | GetDartWrapperInfo () const =0 |
| Dart_Handle | CreateDartWrapper (DartState *dart_state) |
| void | AssociateWithDartWrapper (Dart_Handle wrappable) |
| void | ClearDartWrapper () |
| Dart_WeakPersistentHandle | dart_wrapper () const |
Additional Inherited Members | |
Public Types inherited from tonic::DartWrappable | |
| enum | DartNativeFields { kPeerIndex , kNumberOfNativeFields } |
Protected Member Functions inherited from fml::RefCountedThreadSafe< T > | |
| RefCountedThreadSafe () | |
| ~RefCountedThreadSafe () | |
Protected Member Functions inherited from fml::internal::RefCountedThreadSafeBase | |
| RefCountedThreadSafeBase () | |
| ~RefCountedThreadSafeBase () | |
| bool | Release () const |
| void | Adopt () |
Protected Member Functions inherited from tonic::DartWrappable | |
| virtual | ~DartWrappable () |
Static Protected Member Functions inherited from tonic::DartWrappable | |
| static Dart_PersistentHandle | GetTypeForWrapper (tonic::DartState *dart_state, const tonic::DartWrapperInfo &wrapper_info) |
Definition at line 16 of file single_frame_codec.h.
| flutter::SingleFrameCodec::SingleFrameCodec | ( | const fml::RefPtr< ImageDescriptor > & | descriptor, |
| uint32_t | target_width, | ||
| uint32_t | target_height | ||
| ) |
Definition at line 12 of file single_frame_codec.cc.
|
overridedefault |
|
overridevirtual |
Implements flutter::Codec.
Definition at line 22 of file single_frame_codec.cc.
|
overridevirtual |
Implements flutter::Codec.
Definition at line 30 of file single_frame_codec.cc.
References callback, flutter::UIDartState::Current(), tonic::DartInvoke(), image, and tonic::ToDart().
|
overridevirtual |
Implements flutter::Codec.
Definition at line 26 of file single_frame_codec.cc.