libclosedcaption 1.0.3
ISDB-Tb/SBTVD (Brazilian DTV) closed caption extraction from MPEG-TS
Loading...
Searching...
No Matches
caption-closed.h
Go to the documentation of this file.
1
16#ifndef CAPTION_CLOSED_H_
17#define CAPTION_CLOSED_H_
18
19#include "caption-common.h"
20#include "caption-data.h"
21#include "caption-management.h"
22
35
55
59typedef struct {
60 uint16_t width;
61 uint16_t height;
63
65#define CC_Dimension_is_equal(dimen1, dimen2) \
66 ((dimen1).width == (dimen2).width && (dimen1).height == (dimen2).height)
67
71typedef struct {
72 uint8_t r;
73 uint8_t g;
74 uint8_t b;
75 uint8_t a;
77
79#define CC_Color_is_equal(color1, color2) \
80 ((color1).r == (color2).r && (color1).g == (color2).g && \
81 (color1).b == (color2).b && (color1).a == (color2).a)
82
105
CC_Format_t
@ CC_Format_HOR_1920x1080
@ CC_Format_VER_720x480
@ CC_Format_HOR_HIGH_DENSITY
@ CC_Format_HOR_960x540
@ CC_Format_HOR_1280x720
@ CC_Format_HOR_STAN_DENSITY
@ CC_Format_VER_HIGH_DENSITY
@ CC_Format_VER_STAN_DENSITY
@ CC_Format_HOR_WEST_LANG
@ CC_Format_VER_1280x720
@ CC_Format_t_eMax
@ CC_Format_VER_1920x1080
@ CC_Format_HOR_720x480
@ CC_Format_VER_960x540
CC_Rcs_t
@ CC_Rcs_FULL_INTENSITY_RED
@ Cc_Rcs_HALF_INTENSITY_YELLOW
@ Cc_Rcs_HALF_INTENSITY_GREEN
@ CC_Rcs_FULL_INTENSITY_CYAN
@ Cc_Rcs_HALF_INTENSITY_WHITE
@ CC_Rcs_t_eMax
@ Cc_Rcs_HALF_INTENSITY_CYAN
@ CC_Rcs_BLACK
@ Cc_Rcs_HALF_INTENSITY_BLUE
@ CC_Rcs_FULL_INTENSITY_BLUE
@ CC_Rcs_FULL_INTENSITY_YELLOW
@ CC_Rcs_FULL_INTENSITY_GREEN
@ CC_Rcs_FULL_INTENSITY_WHITE
@ CC_Rcs_TRANSPARENT
@ CC_Rcs_FULL_INTENSITY_MAGNETA
@ Cc_Rcs_HALF_INTENSITY_RED
@ Cc_Rcs_HALF_INTENSITY_MAGNETA
uint8_t char_latin9_to_utf8(const char *const from, char *const to, uint8_t to_len)
bool caption_closed_run(const CaptionManagement_t *m, CaptionClosed_t *cc)
CC_CharacterSize_t
@ CC_CharacterSize_UNKNOWN
@ CC_CharacterSize_t_eMax
@ CC_CharacterSize_Middle
@ CC_CharacterSize_Small
@ CC_CharacterSize_Custom
@ CC_CharacterSize_Standard
Standard headers and helper macros used all over the library.
Reading the caption data_group (ARIB STD-B24, Volume 3, 9.2).
Reading the "caption management data" and the "caption statement data" (ARIB STD-B24,...
CC_Color_t half_background
uint8_t char_number_in_oneline
CC_Dimension_t SSM
CC_Color_t half_foreground
const PES_pts_t * pts
CC_Color_t foreground
CC_Dimension_t SDF
CC_Dimension_t SDP
CC_Color_t background
CC_CharacterSize_t char_size
CC_Format_t format