Cea608Parser
Constructor Summary
| Public Constructor | ||
| public |
|
|
Member Summary
| Public Members | ||
| public |
|
|
| public |
currChNr: * |
|
| public |
dataCounters: {"padding": *, "char": *, "cmd": *, "other": *} |
|
| public |
field: * |
|
| public |
lastCmdA: * |
|
| public |
lastCmdB: * |
|
| public |
lastTime: * |
|
| public |
|
|
Method Summary
| Public Methods | ||
| public |
Add data for time t in forms of list of bytes (unsigned ints). |
|
| public |
cueSplitAtTime(t: number) Trigger the generation of a cue, and the start of a new one if displayScreens are not empty. |
|
| public |
getHandler(index: number): * |
|
| public |
interpretPAC(row: number, byte: number): PACData Interpret the second byte of the pac, and return the information. |
|
| public |
parseBackgroundAttributes(a: number, b: number): boolean Parse extended background attributes as well as new foreground color black. |
|
| public |
parseChars(a: number, b: number): * Parse characters. |
|
| public |
Parse Command. |
|
| public |
parseMidrow(a: number, b: number): boolean Parse midrow styling command |
|
| public |
Parse Preable Access Codes (Table 53). |
|
| public |
reset() Reset state of parser and its channels. |
|
| public |
setHandler(index: number, newHandler: OutputFilter) |
|
Public Constructors
public constructor() source
Public Members
public currChNr: * source
public dataCounters: {"padding": *, "char": *, "cmd": *, "other": *} source
public field: * source
public lastCmdA: * source
public lastCmdB: * source
public lastTime: * source
Public Methods
public addData(t: undefined, byteList: undefined) source
Add data for time t in forms of list of bytes (unsigned ints). The bytes are treated as pairs.
public cueSplitAtTime(t: number) source
Trigger the generation of a cue, and the start of a new one if displayScreens are not empty.
Params:
| Name | Type | Attribute | Description |
| t | number |
public getHandler(index: number): * source
Params:
| Name | Type | Attribute | Description |
| index | number |
Return:
| * |
public interpretPAC(row: number, byte: number): PACData source
Interpret the second byte of the pac, and return the information.
Return:
| PACData |
public parseBackgroundAttributes(a: number, b: number): boolean source
Parse extended background attributes as well as new foreground color black.
public setHandler(index: number, newHandler: OutputFilter) source
Params:
| Name | Type | Attribute | Description |
| index | number | ||
| newHandler | OutputFilter |
