|
libclosedcaption 1.0.3
ISDB-Tb/SBTVD (Brazilian DTV) closed caption extraction from MPEG-TS
|
Internal use: calling the hooks registered in caption-hooking.h. More...

Go to the source code of this file.
Functions | |
| CaptionHookingControls_t | caption_hooking_priv_get_controls (void) |
| CaptionHookingString_t | caption_hooking_priv_get_string (void) |
| void | caption_hooking_priv_run_controls (CaptionClosed_t *caption, const uint8_t cmd) |
| void | caption_hooking_priv_run_string (CaptionClosed_t *caption, const char *string, uint8_t *len) |
Internal use: calling the hooks registered in caption-hooking.h.
These functions are used by caption-closed.c and caption-closed-controls.c and are not part of the public API.
Definition in file caption-hooking-priv.h.
| CaptionHookingControls_t caption_hooking_priv_get_controls | ( | void | ) |
Gets the hook of the control commands that is registered now (or NULL), to be able to restore it after a temporary caption_hooking_set_controls().
| CaptionHookingString_t caption_hooking_priv_get_string | ( | void | ) |
Gets the text hook that is registered now (or NULL), to be able to restore it after a temporary caption_hooking_set_string().
| void caption_hooking_priv_run_controls | ( | CaptionClosed_t * | caption, |
| const uint8_t | cmd | ||
| ) |
Calls the controls hook, if there is one registered.
| caption | Caption state. |
| cmd | Command code. |
| void caption_hooking_priv_run_string | ( | CaptionClosed_t * | caption, |
| const char * | string, | ||
| uint8_t * | len | ||
| ) |
Calls the text hook, if there is one registered.
| caption | Caption state. |
| string | UTF-8 character. |
| len | Number of bytes in string. |