|
libclosedcaption 1.0.3
ISDB-Tb/SBTVD (Brazilian DTV) closed caption extraction from MPEG-TS
|
2-byte DRCS (characters drawn by the broadcaster) data unit. More...
#include "caption-common.h"#include "caption-data.h"#include "caption-management.h"#include "caption-superimpose-1bytedrcs.h"

Go to the source code of this file.
Typedefs | |
| typedef CaptionSuperImpose1ByteDrcs_t | CaptionSuperImpose2ByteDrcs_t |
Functions | |
| CaptionSuperImpose2ByteDrcs_t * | caption_superimpose_2bytedrcs_new (const CaptionManagement_t *m) |
| void | caption_superimpose_2bytedrcs_free (CaptionSuperImpose2ByteDrcs_t *cc) |
2-byte DRCS (characters drawn by the broadcaster) data unit.
Reads the data units of type CAPTION_HANDLER_TYPE_2BYTE_DRCS. The syntax is the same as the 1-byte DRCS one (ARIB STD-B24, Volume 1, Part 2, Annex D); only the meaning of the character_code changes: here the two bytes are the code of the supplemental character (Gaiji) itself. So the struct is the same of caption-superimpose-1bytedrcs.h.
Definition in file caption-superimpose-2bytedrcs.h.
One font of one 2-byte DRCS character: same fields as CaptionSuperImpose1ByteDrcs_t, but character_code is the 2-byte code of the character.
Definition at line 24 of file caption-superimpose-2bytedrcs.h.
| CaptionSuperImpose2ByteDrcs_t * caption_superimpose_2bytedrcs_new | ( | const CaptionManagement_t * | m | ) |
Creates the list from a 2-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_2BYTE_DRCS, with a non-empty data unit. |
| void caption_superimpose_2bytedrcs_free | ( | CaptionSuperImpose2ByteDrcs_t * | cc | ) |
Frees the list created by caption_superimpose_2bytedrcs_new(), including all the items chained in next.
| cc | The list. NULL is fine. |