Class TAvifReader
Unit
avifbgra
Declaration
type TAvifReader = class(TObject)
Description
Reader for AVIF images or animations (not derived from TFPCustomImageReader)
Hierarchy
Overview
Fields
Methods
Properties
Description
Fields
|
FDecoder: PavifDecoder; |
This item has no description. |
|
FDecoderWrap: TObject; |
This item has no description. |
|
FHeight: uint32; |
This item has no description. |
|
FImageDurationSeconds: double; |
This item has no description. |
|
FImageDurationTimescales: UInt64; |
This item has no description. |
|
FStreamOwned: boolean; |
This item has no description. |
|
FWidth: uint32; |
This item has no description. |
Methods
|
constructor Create(AFileName: string); virtual; overload; |
call before unloading libavif
|
|
constructor Create(AStream: TStream; AStreamOwned: boolean = false); virtual; overload; |
This item has no description. |
|
destructor Destroy; override; |
This item has no description. |
|
class function CreateDecoder: PavifDecoder; |
This item has no description. |
|
function GetNextImage(AOutBitmap: TBGRACustomBitmap): boolean; |
This item has no description. |
|
function GetNthImage(AOutBitmap: TBGRACustomBitmap; AImageIndex: uint32): boolean; |
This item has no description. |
|
class procedure DestroyDecoder(var ADecoder: PavifDecoder); |
This item has no description. |
|
procedure Close; |
This item has no description. |
|
procedure Init(AStream: TStream; AStreamOwned: boolean); |
This item has no description. |
|
procedure SetDecoder(ACodec: avifCodecChoice); |
This item has no description. |
Properties
|
property Height: uint32 read FHeight; |
This item has no description. |
|
property ImageCount: uint32 read GetImageCount; |
This item has no description. |
|
property ImageIndex: integer read GetImageIndex; |
This item has no description. |
|
property RepetitionCount: integer read GetRepetitionCount; |
This item has no description. |
|
property SequenceDuration: double read GetSequenceDuration; |
This item has no description. |
|
property Timescale: uint64 read GetTimescale; |
This item has no description. |
|
property Width: uint32 read FWidth; |
This item has no description. |