#include <vbi.h>
Inheritance diagram for VBILine:
Public Member Functions | |
VBILine (int LineNumber, VBIWrappingType Wrapping, VBISampleCoding Coding) | |
Construct a VBILine with no data. | |
VBILine (int Field, int LineNumber, VBIWrappingType Wrapping, VBISampleCoding Coding) | |
Construct a VBILine with no data, for an interlaced frame. | |
VBILine (int LineNumber, VBIWrappingType Wrapping, VBISampleCoding Coding, UInt16 SampleCount, DataChunkPtr &LineData) | |
Construct a VBILine with data. | |
VBILine (int Field, int LineNumber, VBIWrappingType Wrapping, VBISampleCoding Coding, UInt16 SampleCount, DataChunkPtr &LineData) | |
Construct a VBILine with data, for an interlaced frame. | |
void | SetData (UInt16 SampleCount, DataChunkPtr &LineData) |
Set (or replace) the current line data. | |
size_t | GetDataSize (void) |
Get the size of the data buffer, excluding the line number, wrapping type, sample coding and sample count bytes. | |
size_t | GetFullDataSize (void) |
Get the size of the data buffer, including the line number, wrapping type, sample coding and sample count bytes. | |
void | WriteData (UInt8 *Buffer) |
Write the line of data into a buffer, including the line number, wrapping type, sample coding and sample count bytes. | |
Protected Attributes | |
DataChunk | Data |
The VBI actual data bytes for this line, packed as per SMPTE-436M. | |
int | LineNumber |
The line number of this line in the frame, plus 0x4000 if the line is in field 2 of an interlaced picture. | |
VBIWrappingType | WrappingType |
The VBI Wrapping type for this line. | |
VBISampleCoding | SampleCoding |
SampleCoding for this line. | |
UInt16 | SampleCount |
Number of samples in this line. |
VBILine | ( | int | LineNumber, | |
VBIWrappingType | Wrapping, | |||
VBISampleCoding | Coding | |||
) | [inline] |
Construct a VBILine with no data.
VBILine | ( | int | Field, | |
int | LineNumber, | |||
VBIWrappingType | Wrapping, | |||
VBISampleCoding | Coding | |||
) | [inline] |
Construct a VBILine with no data, for an interlaced frame.
VBILine | ( | int | LineNumber, | |
VBIWrappingType | Wrapping, | |||
VBISampleCoding | Coding, | |||
UInt16 | SampleCount, | |||
DataChunkPtr & | LineData | |||
) | [inline] |
Construct a VBILine with data.
DRAGONS: The LineData chunk will be cleared by this operation
VBILine | ( | int | Field, | |
int | LineNumber, | |||
VBIWrappingType | Wrapping, | |||
VBISampleCoding | Coding, | |||
UInt16 | SampleCount, | |||
DataChunkPtr & | LineData | |||
) | [inline] |
Construct a VBILine with data, for an interlaced frame.
DRAGONS: The LineData chunk will be cleared by this operation
void SetData | ( | UInt16 | SampleCount, | |
DataChunkPtr & | LineData | |||
) | [inline] |
Set (or replace) the current line data.
DRAGONS: The LineData chunk will be cleared by this operation
size_t GetDataSize | ( | void | ) | [inline] |
Get the size of the data buffer, excluding the line number, wrapping type, sample coding and sample count bytes.
size_t GetFullDataSize | ( | void | ) | [inline] |
Get the size of the data buffer, including the line number, wrapping type, sample coding and sample count bytes.
void WriteData | ( | UInt8 * | Buffer | ) |
Write the line of data into a buffer, including the line number, wrapping type, sample coding and sample count bytes.
int LineNumber [protected] |
The line number of this line in the frame, plus 0x4000 if the line is in field 2 of an interlaced picture.
VBIWrappingType WrappingType [protected] |
The VBI Wrapping type for this line.
VBISampleCoding SampleCoding [protected] |
SampleCoding for this line.
UInt16 SampleCount [protected] |
Number of samples in this line.