38 CC_FONT_STYLE_DEFAULT = 0,
39 CC_FONT_STYLE_MONOSPACE_SERIFS = 1,
40 CC_FONT_STYLE_PROPORTIONAL_SERIFS = 2,
41 CC_FONT_STYLE_MONOSPACE_NO_SERIFS = 3,
42 CC_FONT_STYLE_PROPORTIONAL_NO_SERIFS = 4,
43 CC_FONT_STYLE_CASUAL = 5,
44 CC_FONT_STYLE_CURSIVE = 6,
45 CC_FONT_STYLE_SMALL_CAPITALS = 7,
46 CC_FONT_STYLE_BROADCAST = 255
51 CC_TEXT_SIZE_SMALL = 0,
52 CC_TEXT_SIZE_STANDARD = 1,
53 CC_TEXT_SIZE_LARGE = 2,
54 CC_TEXT_SIZE_BROADCAST = 3
75 void STB_CCSetDisplayInfo(E_STB_AV_ASPECT_RATIO tv_aspect_ratio, U16BIT screen_width, U16BIT screen_height);
86 void STB_CCSetFont(E_CC_FONT_STYLE font_style, U8BIT *font_data, U32BIT font_size);
124 BOOLEAN
STB_CCStart(U8BIT path, BOOLEAN digital_cc, U8BIT caption_service_number);
void STB_CCSetDisplayInfo(E_STB_AV_ASPECT_RATIO tv_aspect_ratio, U16BIT screen_width, U16BIT screen_height)
The TV aspect ratio and size in pixels are needed for closed captions so the safe area can be determi...
Definition: stbcc.c:931
void STB_CCSetUserFontStyle(E_CC_FONT_STYLE font_style)
Sets the user defined font style that will be used to display caption text, overriding the style defi...
Definition: stbcc.c:1048
Header file - Function prototypes for A/V control.
E_CC_FONT_STYLE STB_CCGetUserFontStyle(void)
Returns the user defined font style for rendering caption text.
Definition: stbcc.c:1068
BOOLEAN STB_CCStart(U8BIT path, BOOLEAN digital_cc, U8BIT caption_service_number)
Starts processing closed caption subtitling.
Definition: stbcc.c:1162
void STB_CCInitialise(void)
Initialises closed caption subtitling control.
Definition: stbcc.c:844
void STB_CCSetUserTextSize(E_CC_TEXT_SIZE text_size)
Sets the user defined text size of the caption text, overriding the broadcast text size...
Definition: stbcc.c:1090
void STB_CCEnable(BOOLEAN enable)
Enables or disables display of CC subtitles. If the CC service to be used hasn't been set then servic...
Definition: stbcc.c:1228
System Wide Global Technical Data Type Definitions.
void STB_CCStatus(BOOLEAN *started, BOOLEAN *enabled)
Returns the current status of CC subtitling.
Definition: stbcc.c:1359
void STB_CCSetFont(E_CC_FONT_STYLE font_style, U8BIT *font_data, U32BIT font_size)
Closed captions can use a number of defined font styles: monospaced serif, proportional serif...
Definition: stbcc.c:986
void STB_CCStop(U8BIT path)
Stops subtitling display.
Definition: stbcc.c:1286
E_CC_TEXT_SIZE STB_CCGetUserTextSize(void)
Returns the user defined text size for rendering caption text.
Definition: stbcc.c:1124