
Data Structures | |
| struct | filter_sys_t |
| filter_sys_t: chroma method descriptor More... | |
Defines | |
| #define | MASK_TEXT N_("Image mask") |
| #define | MASK_LONGTEXT N_("Image mask. Pixels with an alpha value greater than 50% will be erased.") |
| #define | POSX_TEXT N_("X coordinate") |
| #define | POSX_LONGTEXT N_("X coordinate of the mask.") |
| #define | POSY_TEXT N_("Y coordinate") |
| #define | POSY_LONGTEXT N_("Y coordinate of the mask.") |
| #define | ERASE_HELP N_("Remove zones of the video using a picture as mask") |
| #define | CFG_PREFIX "erase-" |
Functions | |
| static int | Create (vlc_object_t *) |
| static void | Destroy (vlc_object_t *) |
| static picture_t * | Filter (filter_t *, picture_t *) |
| static void | FilterErase (filter_t *, picture_t *, picture_t *) |
| static int | EraseCallback (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *) |
| int | vlc_entry__main (module_t *p_module) |
| const char * | vlc_entry_license__main (void) |
| static void | LoadMask (filter_t *p_filter, const char *psz_filename) |
Variables | |
| static const char *const | ppsz_filter_options [] |
| #define CFG_PREFIX "erase-" |
| #define ERASE_HELP N_("Remove zones of the video using a picture as mask") |
| #define MASK_LONGTEXT N_("Image mask. Pixels with an alpha value greater than 50% will be erased.") |
| #define MASK_TEXT N_("Image mask") |
| #define POSX_LONGTEXT N_("X coordinate of the mask.") |
| #define POSX_TEXT N_("X coordinate") |
| #define POSY_LONGTEXT N_("Y coordinate of the mask.") |
| #define POSY_TEXT N_("Y coordinate") |
| static int Create | ( | vlc_object_t * | p_this | ) | [static] |
References CFG_PREFIX, config_ChainParse, EraseCallback(), Filter(), filter_t::fmt_in, video_format_t::i_chroma, filter_sys_t::i_x, filter_sys_t::i_y, LoadMask(), filter_sys_t::lock, msg_Err, filter_t::p_cfg, filter_sys_t::p_mask, filter_t::p_sys, p_sys, ppsz_filter_options, var_AddCallback, var_CreateGetIntegerCommand, var_CreateGetNonEmptyStringCommand, es_format_t::video, VLC_CODEC_I420, VLC_CODEC_I422, VLC_CODEC_J420, VLC_CODEC_J422, VLC_CODEC_YV12, VLC_EGENERIC, VLC_ENOMEM, vlc_mutex_init(), and VLC_SUCCESS.
| static void Destroy | ( | vlc_object_t * | p_this | ) | [static] |
| static int EraseCallback | ( | vlc_object_t * | p_this, | |
| char const * | psz_var, | |||
| vlc_value_t | oldval, | |||
| vlc_value_t | newval, | |||
| void * | p_data | |||
| ) | [static] |
References __MAX, __MIN, A_PLANE, picture_t::format, video_format_t::i_chroma, i_height, plane_t::i_lines, plane_t::i_pitch, picture_t::i_planes, plane_t::i_visible_lines, plane_t::i_visible_pitch, filter_sys_t::i_x, filter_sys_t::i_y, next(), picture_t::p, filter_sys_t::p_mask, plane_t::p_pixels, filter_t::p_sys, p_sys, VLC_CODEC_I422, VLC_CODEC_J422, and vlc_memcpy().
Referenced by Filter().
| static void LoadMask | ( | filter_t * | p_filter, | |
| const char * | psz_filename | |||
| ) | [static] |
| int vlc_entry__main | ( | module_t * | p_module | ) |
| const char* vlc_entry_license__main | ( | void | ) |
const char* const ppsz_filter_options[] [static] |
Initial value:
{
"mask", "x", "y", NULL
}
1.5.6