
Functions | |
| overlay_t * | OverlayCreate (void) |
| int | OverlayDestroy (overlay_t *p_ovl) |
| static int | skip_space (char **psz_command) |
| static int | parse_digit (char **psz_command, int32_t *value) |
| static int | parse_char (char **psz_command, char **psz_end, int count, char *psz_value) |
| static int | parser_DataSharedMem (char *psz_command, char *psz_end, commandparams_t *p_params) |
| static int | parser_Id (char *psz_command, char *psz_end, commandparams_t *p_params) |
| static int | parser_None (char *psz_command, char *psz_end, commandparams_t *p_params) |
| static int | parser_SetAlpha (char *psz_command, char *psz_end, commandparams_t *p_params) |
| static int | parser_SetPosition (char *psz_command, char *psz_end, commandparams_t *p_params) |
| static int | parser_SetTextAlpha (char *psz_command, char *psz_end, commandparams_t *p_params) |
| static int | parser_SetTextColor (char *psz_command, char *psz_end, commandparams_t *p_params) |
| static int | parser_SetTextSize (char *psz_command, char *psz_end, commandparams_t *p_params) |
| static int | parser_SetVisibility (char *psz_command, char *psz_end, commandparams_t *p_params) |
| static int | unparse_default (const commandparams_t *p_results, buffer_t *p_output) |
| static int | unparse_GenImage (const commandparams_t *p_results, buffer_t *p_output) |
| static int | unparse_GetAlpha (const commandparams_t *p_results, buffer_t *p_output) |
| static int | unparse_GetPosition (const commandparams_t *p_results, buffer_t *p_output) |
| static int | unparse_GetTextAlpha (const commandparams_t *p_results, buffer_t *p_output) |
| static int | unparse_GetTextColor (const commandparams_t *p_results, buffer_t *p_output) |
| static int | unparse_GetTextSize (const commandparams_t *p_results, buffer_t *p_output) |
| static int | unparse_GetVisibility (const commandparams_t *p_results, buffer_t *p_output) |
| static int | exec_DataSharedMem (filter_t *p_filter, const commandparams_t *p_params, commandparams_t *p_results) |
| static int | exec_DeleteImage (filter_t *p_filter, const commandparams_t *p_params, commandparams_t *p_results) |
| static int | exec_EndAtomic (filter_t *p_filter, const commandparams_t *p_params, commandparams_t *p_results) |
| static int | exec_GenImage (filter_t *p_filter, const commandparams_t *p_params, commandparams_t *p_results) |
| static int | exec_GetAlpha (filter_t *p_filter, const commandparams_t *p_params, commandparams_t *p_results) |
| static int | exec_GetPosition (filter_t *p_filter, const commandparams_t *p_params, commandparams_t *p_results) |
| static int | exec_GetTextAlpha (filter_t *p_filter, const commandparams_t *p_params, commandparams_t *p_results) |
| static int | exec_GetTextColor (filter_t *p_filter, const commandparams_t *p_params, commandparams_t *p_results) |
| static int | exec_GetTextSize (filter_t *p_filter, const commandparams_t *p_params, commandparams_t *p_results) |
| static int | exec_GetVisibility (filter_t *p_filter, const commandparams_t *p_params, commandparams_t *p_results) |
| static int | exec_SetAlpha (filter_t *p_filter, const commandparams_t *p_params, commandparams_t *p_results) |
| static int | exec_SetPosition (filter_t *p_filter, const commandparams_t *p_params, commandparams_t *p_results) |
| static int | exec_SetTextAlpha (filter_t *p_filter, const commandparams_t *p_params, commandparams_t *p_results) |
| static int | exec_SetTextColor (filter_t *p_filter, const commandparams_t *p_params, commandparams_t *p_results) |
| static int | exec_SetTextSize (filter_t *p_filter, const commandparams_t *p_params, commandparams_t *p_results) |
| static int | exec_SetVisibility (filter_t *p_filter, const commandparams_t *p_params, commandparams_t *p_results) |
| static int | exec_StartAtomic (filter_t *p_filter, const commandparams_t *p_params, commandparams_t *p_results) |
| void | RegisterCommand (filter_t *p_filter) |
| void | UnregisterCommand (filter_t *p_filter) |
Variables | |
| static const commanddesc_static_t | p_commands [] |
| static int exec_DataSharedMem | ( | filter_t * | p_filter, | |
| const commandparams_t * | p_params, | |||
| commandparams_t * | p_results | |||
| ) | [static] |
References filter_sys_t::b_updated, commandparams_t::fourcc, commandparams_t::i_height, commandparams_t::i_id, commandparams_t::i_shmid, commandparams_t::i_width, ListGet(), msg_Err, filter_sys_t::overlays, filter_t::p_sys, p_sys, picture_New(), picture_Release(), video_format_Setup(), VLC_CODEC_TEXT, VLC_EGENERIC, VLC_ENOMEM, vlc_memcpy(), VLC_SUCCESS, and VLC_UNUSED.
| static int exec_DeleteImage | ( | filter_t * | p_filter, | |
| const commandparams_t * | p_params, | |||
| commandparams_t * | p_results | |||
| ) | [static] |
References filter_sys_t::b_updated, commandparams_t::i_id, ListRemove(), filter_sys_t::overlays, filter_t::p_sys, p_sys, and VLC_UNUSED.
| static int exec_EndAtomic | ( | filter_t * | p_filter, | |
| const commandparams_t * | p_params, | |||
| commandparams_t * | p_results | |||
| ) | [static] |
References filter_sys_t::atomic, filter_sys_t::b_atomic, filter_t::p_sys, p_sys, filter_sys_t::pending, QueueTransfer(), VLC_SUCCESS, and VLC_UNUSED.
| static int exec_GenImage | ( | filter_t * | p_filter, | |
| const commandparams_t * | p_params, | |||
| commandparams_t * | p_results | |||
| ) | [static] |
References commandparams_t::i_id, ListAdd(), OverlayCreate(), filter_sys_t::overlays, filter_t::p_sys, p_sys, VLC_ENOMEM, VLC_SUCCESS, and VLC_UNUSED.
| static int exec_GetAlpha | ( | filter_t * | p_filter, | |
| const commandparams_t * | p_params, | |||
| commandparams_t * | p_results | |||
| ) | [static] |
References commandparams_t::i_alpha, commandparams_t::i_id, ListGet(), filter_sys_t::overlays, filter_t::p_sys, p_sys, VLC_EGENERIC, and VLC_SUCCESS.
| static int exec_GetPosition | ( | filter_t * | p_filter, | |
| const commandparams_t * | p_params, | |||
| commandparams_t * | p_results | |||
| ) | [static] |
| static int exec_GetTextAlpha | ( | filter_t * | p_filter, | |
| const commandparams_t * | p_params, | |||
| commandparams_t * | p_results | |||
| ) | [static] |
| static int exec_GetTextColor | ( | filter_t * | p_filter, | |
| const commandparams_t * | p_params, | |||
| commandparams_t * | p_results | |||
| ) | [static] |
| static int exec_GetTextSize | ( | filter_t * | p_filter, | |
| const commandparams_t * | p_params, | |||
| commandparams_t * | p_results | |||
| ) | [static] |
| static int exec_GetVisibility | ( | filter_t * | p_filter, | |
| const commandparams_t * | p_params, | |||
| commandparams_t * | p_results | |||
| ) | [static] |
| static int exec_SetAlpha | ( | filter_t * | p_filter, | |
| const commandparams_t * | p_params, | |||
| commandparams_t * | p_results | |||
| ) | [static] |
| static int exec_SetPosition | ( | filter_t * | p_filter, | |
| const commandparams_t * | p_params, | |||
| commandparams_t * | p_results | |||
| ) | [static] |
| static int exec_SetTextAlpha | ( | filter_t * | p_filter, | |
| const commandparams_t * | p_params, | |||
| commandparams_t * | p_results | |||
| ) | [static] |
| static int exec_SetTextColor | ( | filter_t * | p_filter, | |
| const commandparams_t * | p_params, | |||
| commandparams_t * | p_results | |||
| ) | [static] |
| static int exec_SetTextSize | ( | filter_t * | p_filter, | |
| const commandparams_t * | p_params, | |||
| commandparams_t * | p_results | |||
| ) | [static] |
| static int exec_SetVisibility | ( | filter_t * | p_filter, | |
| const commandparams_t * | p_params, | |||
| commandparams_t * | p_results | |||
| ) | [static] |
| static int exec_StartAtomic | ( | filter_t * | p_filter, | |
| const commandparams_t * | p_params, | |||
| commandparams_t * | p_results | |||
| ) | [static] |
References filter_sys_t::b_atomic, filter_t::p_sys, p_sys, VLC_SUCCESS, and VLC_UNUSED.
| overlay_t* OverlayCreate | ( | void | ) |
References overlay_t::b_active, overlay_t::data, overlay_t::format, overlay_t::i_alpha, overlay_t::i_x, overlay_t::i_y, overlay_t::p_fontstyle, overlay_t::p_text, text_style_New(), video_format_Setup(), and VLC_FOURCC.
Referenced by exec_GenImage().
| int OverlayDestroy | ( | overlay_t * | p_ovl | ) |
References overlay_t::data, overlay_t::p_fontstyle, overlay_t::p_text, text_style_Delete(), and VLC_SUCCESS.
Referenced by ListDestroy(), and ListRemove().
| static int parse_char | ( | char ** | psz_command, | |
| char ** | psz_end, | |||
| int | count, | |||
| char * | psz_value | |||
| ) | [static] |
| static int parse_digit | ( | char ** | psz_command, | |
| int32_t * | value | |||
| ) | [static] |
References VLC_EGENERIC, and VLC_SUCCESS.
Referenced by parser_DataSharedMem(), parser_Id(), parser_SetAlpha(), parser_SetPosition(), parser_SetTextAlpha(), parser_SetTextColor(), parser_SetTextSize(), and parser_SetVisibility().
| static int parser_DataSharedMem | ( | char * | psz_command, | |
| char * | psz_end, | |||
| commandparams_t * | p_params | |||
| ) | [static] |
| static int parser_Id | ( | char * | psz_command, | |
| char * | psz_end, | |||
| commandparams_t * | p_params | |||
| ) | [static] |
References commandparams_t::i_id, parse_digit(), skip_space(), VLC_EGENERIC, VLC_SUCCESS, and VLC_UNUSED.
| static int parser_None | ( | char * | psz_command, | |
| char * | psz_end, | |||
| commandparams_t * | p_params | |||
| ) | [static] |
References VLC_SUCCESS, and VLC_UNUSED.
| static int parser_SetAlpha | ( | char * | psz_command, | |
| char * | psz_end, | |||
| commandparams_t * | p_params | |||
| ) | [static] |
References commandparams_t::i_alpha, commandparams_t::i_id, parse_digit(), skip_space(), VLC_EGENERIC, VLC_SUCCESS, and VLC_UNUSED.
| static int parser_SetPosition | ( | char * | psz_command, | |
| char * | psz_end, | |||
| commandparams_t * | p_params | |||
| ) | [static] |
References commandparams_t::i_id, commandparams_t::i_x, commandparams_t::i_y, parse_digit(), skip_space(), VLC_EGENERIC, VLC_SUCCESS, and VLC_UNUSED.
| static int parser_SetTextAlpha | ( | char * | psz_command, | |
| char * | psz_end, | |||
| commandparams_t * | p_params | |||
| ) | [static] |
| static int parser_SetTextColor | ( | char * | psz_command, | |
| char * | psz_end, | |||
| commandparams_t * | p_params | |||
| ) | [static] |
| static int parser_SetTextSize | ( | char * | psz_command, | |
| char * | psz_end, | |||
| commandparams_t * | p_params | |||
| ) | [static] |
| static int parser_SetVisibility | ( | char * | psz_command, | |
| char * | psz_end, | |||
| commandparams_t * | p_params | |||
| ) | [static] |
References commandparams_t::b_visible, commandparams_t::i_id, parse_digit(), skip_space(), VLC_EGENERIC, VLC_SUCCESS, and VLC_UNUSED.
| void RegisterCommand | ( | filter_t * | p_filter | ) |
References ARRAY_SIZE, commanddesc_static_t::b_atomic, commanddesc_t::b_atomic, filter_sys_t::i_commands, msg_Dbg, filter_t::p_sys, p_sys, commanddesc_static_t::pf_execute, commanddesc_t::pf_execute, commanddesc_static_t::pf_parser, commanddesc_t::pf_parser, commanddesc_static_t::pf_unparse, commanddesc_t::pf_unparse, filter_sys_t::pp_commands, commanddesc_t::psz_command, and strdup().
Referenced by Create().
| static int skip_space | ( | char ** | psz_command | ) | [static] |
References VLC_EGENERIC, and VLC_SUCCESS.
Referenced by parser_DataSharedMem(), parser_Id(), parser_SetAlpha(), parser_SetPosition(), parser_SetTextAlpha(), parser_SetTextColor(), parser_SetTextSize(), and parser_SetVisibility().
| static int unparse_default | ( | const commandparams_t * | p_results, | |
| buffer_t * | p_output | |||
| ) | [static] |
References VLC_SUCCESS, and VLC_UNUSED.
| static int unparse_GenImage | ( | const commandparams_t * | p_results, | |
| buffer_t * | p_output | |||
| ) | [static] |
References BufferPrintf(), commandparams_t::i_id, and VLC_SUCCESS.
| static int unparse_GetAlpha | ( | const commandparams_t * | p_results, | |
| buffer_t * | p_output | |||
| ) | [static] |
References BufferPrintf(), commandparams_t::i_alpha, and VLC_SUCCESS.
| static int unparse_GetPosition | ( | const commandparams_t * | p_results, | |
| buffer_t * | p_output | |||
| ) | [static] |
References BufferPrintf(), commandparams_t::i_x, commandparams_t::i_y, and VLC_SUCCESS.
| static int unparse_GetTextAlpha | ( | const commandparams_t * | p_results, | |
| buffer_t * | p_output | |||
| ) | [static] |
References BufferPrintf(), commandparams_t::fontstyle, text_style_t::i_font_alpha, and VLC_SUCCESS.
| static int unparse_GetTextColor | ( | const commandparams_t * | p_results, | |
| buffer_t * | p_output | |||
| ) | [static] |
References BufferPrintf(), commandparams_t::fontstyle, text_style_t::i_font_color, and VLC_SUCCESS.
| static int unparse_GetTextSize | ( | const commandparams_t * | p_results, | |
| buffer_t * | p_output | |||
| ) | [static] |
References BufferPrintf(), commandparams_t::fontstyle, text_style_t::i_font_size, and VLC_SUCCESS.
| static int unparse_GetVisibility | ( | const commandparams_t * | p_results, | |
| buffer_t * | p_output | |||
| ) | [static] |
References commandparams_t::b_visible, BufferPrintf(), and VLC_SUCCESS.
| void UnregisterCommand | ( | filter_t * | p_filter | ) |
References filter_sys_t::i_commands, filter_t::p_sys, p_sys, filter_sys_t::pp_commands, and commanddesc_t::psz_command.
Referenced by Destroy().
const commanddesc_static_t p_commands[] [static] |
1.5.6