Description | Hierarchy | Fields | Methods | Properties |
type TAdVideoMemory = class(TObject)
This class represents an element in the video decoder thread buffer.
![]() |
Memory: PByte; |
![]() |
Width: integer; |
![]() |
Height: integer; |
![]() |
CriticalSection: TCriticalSection; |
![]() |
StreamEnd: boolean; |
![]() |
VideoInfo: TAdVideoInfo; |
![]() |
Time: TAdVideoPosition; |
![]() |
Used: boolean; |
![]() |
constructor Create; |
![]() |
destructor Destroy; override; |
![]() |
procedure ReserveMemory(AWidth, AHeight: integer); |
![]() |
procedure ClearMemory; |
![]() |
Memory: PByte; |
Pointer to the reserved memory |
![]() |
Width: integer; |
Width of the buffer. |
![]() |
Height: integer; |
Height of the buffer. |
![]() |
CriticalSection: TCriticalSection; |
Critical section that has to be entered when changing data of this video buffer object. |
![]() |
StreamEnd: boolean; |
If this flag is set, this element in the buffer queue will be the last one. |
![]() |
VideoInfo: TAdVideoInfo; |
Video information that has been received from the video decoder when saving the video data. |
![]() |
Time: TAdVideoPosition; |
Video position information that has been received when saving the video data. |
![]() |
Used: boolean; |
Idicates whether this video memory element has been used and can be overwritten. |
![]() |
constructor Create; |
Creates an instance of the video memory |
![]() |
destructor Destroy; override; |
Destroys the instance of the video memory and frees reserved memory. |
![]() |
procedure ReserveMemory(AWidth, AHeight: integer); |
Reserves an amout of buffer memory and stores the size in the width and height property. |
![]() |
procedure ClearMemory; |
Clears the reserved memory. |