Class TAdVideoMemory

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TAdVideoMemory = class(TObject)

Description

This class represents an element in the video decoder thread buffer.

Hierarchy

Overview

Fields

Public Memory: PByte;
Public Width: integer;
Public Height: integer;
Public CriticalSection: TCriticalSection;
Public StreamEnd: boolean;
Public VideoInfo: TAdVideoInfo;
Public Time: TAdVideoPosition;
Public Used: boolean;

Methods

Public constructor Create;
Public destructor Destroy; override;
Public procedure ReserveMemory(AWidth, AHeight: integer);
Public procedure ClearMemory;

Description

Fields

Public Memory: PByte;

Pointer to the reserved memory

Public Width: integer;

Width of the buffer.

Public Height: integer;

Height of the buffer.

Public CriticalSection: TCriticalSection;

Critical section that has to be entered when changing data of this video buffer object.

Public StreamEnd: boolean;

If this flag is set, this element in the buffer queue will be the last one.

Public VideoInfo: TAdVideoInfo;

Video information that has been received from the video decoder when saving the video data.

Public Time: TAdVideoPosition;

Video position information that has been received when saving the video data.

Public Used: boolean;

Idicates whether this video memory element has been used and can be overwritten.

Methods

Public constructor Create;

Creates an instance of the video memory

Public destructor Destroy; override;

Destroys the instance of the video memory and frees reserved memory.

Public procedure ReserveMemory(AWidth, AHeight: integer);

Reserves an amout of buffer memory and stores the size in the width and height property.

Public procedure ClearMemory;

Clears the reserved memory.

SourceForge.net Logo


Generated by PasDoc 0.11.0 on 2008-12-31 14:32:00