|
libclosedcaption 1.0.3
ISDB-Tb/SBTVD (Brazilian DTV) closed caption extraction from MPEG-TS
|
1-byte DRCS (characters drawn by the broadcaster) data unit. More...


Go to the source code of this file.
Data Structures | |
| struct | CaptionSuperImpose1ByteDrcs_t |
Macros | |
| #define | CAPTION_DRCS_MODE_2_GRADATION 0x00 |
| #define | CAPTION_DRCS_MODE_MULTI_GRAD 0x01 |
| #define | CAPTION_DRCS_MODE_2_COLOR_GEO 0x02 |
| #define | CAPTION_DRCS_MODE_MULTI_COLOR 0x03 |
Typedefs | |
| typedef struct CaptionSuperImpose1ByteDrcs_t | CaptionSuperImpose1ByteDrcs_t |
Functions | |
| CaptionSuperImpose1ByteDrcs_t * | caption_superimpose_1bytedrcs_new (const CaptionManagement_t *m) |
| void | caption_superimpose_1bytedrcs_free (CaptionSuperImpose1ByteDrcs_t *cc) |
1-byte DRCS (characters drawn by the broadcaster) data unit.
Reads the data units of type CAPTION_HANDLER_TYPE_1BYTE_DRCS, following the "DRCS structure syntax" (ARIB STD-B24, Volume 1, Part 2, Annex D). Each character/font sent in the data unit becomes one item of the list.
Example (prints the glyphs as ASCII art):
Definition in file caption-superimpose-1bytedrcs.h.
| #define CAPTION_DRCS_MODE_2_GRADATION 0x00 |
2 gradations, no compression: pixels is filled.
Definition at line 31 of file caption-superimpose-1bytedrcs.h.
| #define CAPTION_DRCS_MODE_MULTI_GRAD 0x01 |
Several gradations, no compression: pixels is filled.
Definition at line 32 of file caption-superimpose-1bytedrcs.h.
| #define CAPTION_DRCS_MODE_2_COLOR_GEO 0x02 |
Geometric data (2 colors): geometric is filled.
Definition at line 33 of file caption-superimpose-1bytedrcs.h.
| #define CAPTION_DRCS_MODE_MULTI_COLOR 0x03 |
Geometric data (multi-color): geometric is filled.
Definition at line 34 of file caption-superimpose-1bytedrcs.h.
| typedef struct CaptionSuperImpose1ByteDrcs_t CaptionSuperImpose1ByteDrcs_t |
One font (typeface) of one DRCS character. A character sent with more than one font becomes more than one item, all with the same character_code.
| CaptionSuperImpose1ByteDrcs_t * caption_superimpose_1bytedrcs_new | ( | const CaptionManagement_t * | m | ) |
Creates the list from a 1-byte DRCS (characters drawn by the broadcaster) data unit.
| m | Content read by caption_management_load() or caption_management_load_unit(), of type CAPTION_HANDLER_TYPE_1BYTE_DRCS, with a non-empty data unit. |
| void caption_superimpose_1bytedrcs_free | ( | CaptionSuperImpose1ByteDrcs_t * | cc | ) |
Frees the list created by caption_superimpose_1bytedrcs_new(), including all the items chained in next.
| cc | The list. NULL is fine. |