|
libclosedcaption 1.0.3
ISDB-Tb/SBTVD (Brazilian DTV) closed caption extraction from MPEG-TS
|
Bitmap data unit (a PNG image with position and flashing colors). More...


Go to the source code of this file.
Data Structures | |
| struct | CaptionSuperImposeBitmap_t |
Typedefs | |
| typedef struct CaptionSuperImposeBitmap_t | CaptionSuperImposeBitmap_t |
Functions | |
| CaptionSuperImposeBitmap_t * | caption_superimpose_bitmap_new (const CaptionManagement_t *m) |
| void | caption_superimpose_bitmap_free (CaptionSuperImposeBitmap_t *cc) |
Bitmap data unit (a PNG image with position and flashing colors).
Reads the data units of type CAPTION_HANDLER_TYPE_BITMAP, following the "bitmap graphics coding" (ARIB STD-B24, Volume 1, Part 3, 6.2, Table 6-1, p. 156): position header, flashing header and the PNG file. The library does not decode the PNG: it validates the signature, reads the size from the IHDR chunk and hands the bytes to be used with any PNG decoder.
Definition in file caption-superimpose-bitmap.h.
| typedef struct CaptionSuperImposeBitmap_t CaptionSuperImposeBitmap_t |
Bitmap data unit.
| CaptionSuperImposeBitmap_t * caption_superimpose_bitmap_new | ( | const CaptionManagement_t * | m | ) |
Creates the struct from a bitmap data unit.
| m | Content read by caption_management_load() or caption_management_load_unit(), of type CAPTION_HANDLER_TYPE_BITMAP, with a non-empty data unit. |
| void caption_superimpose_bitmap_free | ( | CaptionSuperImposeBitmap_t * | cc | ) |
Frees the struct created by caption_superimpose_bitmap_new(), including all the items chained in next.
| cc | The struct. NULL is fine. |