Description | Hierarchy | Fields | Methods | Properties |
type unaMsAcmCodecHeader = class(unaMsAcmDeviceHeader)
This class stores the data used by MS ACM codec.
constructor create(codec: unaMsAcmCodec; srcSize: unsigned; dstSize: unsigned); |
|
destructor Destroy(); override; |
|
function getStatus(index: integer): bool; override; |
|
function isDoneHeader(): bool; override; |
|
function isInQueue(): bool; override; |
|
procedure grow(newsize: unsigned); |
|
procedure write(data: pointer; size: unsigned; offset: unsigned = 0); |
|
procedure rePrepare(); override; |
|
procedure setStatus(index: integer; value: bool); override; |
property inQueue: bool index ACMSTREAMHEADER_STATUSF_INQUEUE read getStatus write setStatus; |
|
property isDone: bool index ACMSTREAMHEADER_STATUSF_DONE read getStatus write setStatus; |
|
property isPrepared: bool index ACMSTREAMHEADER_STATUSF_PREPARED read getStatus write setStatus; |
constructor create(codec: unaMsAcmCodec; srcSize: unsigned; dstSize: unsigned); |
|
Creates ACM codec header and allocates required buffers. |
destructor Destroy(); override; |
|
function getStatus(index: integer): bool; override; |
|
Used to return different statuses of header. |
function isDoneHeader(): bool; override; |
|
function isInQueue(): bool; override; |
|
procedure grow(newsize: unsigned); |
|
Reallocate source buffer. |
procedure write(data: pointer; size: unsigned; offset: unsigned = 0); |
|
Writes data to the source codec buffer. |
procedure rePrepare(); override; |
|
procedure setStatus(index: integer; value: bool); override; |
|
Used to set different statuses of header. |
property inQueue: bool index ACMSTREAMHEADER_STATUSF_INQUEUE read getStatus write setStatus; |
|
Returns true if header is still in codec queue. |
property isDone: bool index ACMSTREAMHEADER_STATUSF_DONE read getStatus write setStatus; |
|
Returns true if header is released by codec. |
property isPrepared: bool index ACMSTREAMHEADER_STATUSF_PREPARED read getStatus write setStatus; |
|
Returns true if header was prepared. |
(c) 2012 Lake of Soft