
Data Structures | |
| struct | filter_sys_t |
| filter_sys_t: chroma method descriptor More... | |
Defines | |
| #define | BLUESCREEN_HELP |
| #define | BLUESCREENU_TEXT N_("Bluescreen U value") |
| #define | BLUESCREENU_LONGTEXT |
| #define | BLUESCREENV_TEXT N_("Bluescreen V value") |
| #define | BLUESCREENV_LONGTEXT |
| #define | BLUESCREENUTOL_TEXT N_("Bluescreen U tolerance") |
| #define | BLUESCREENUTOL_LONGTEXT |
| #define | BLUESCREENVTOL_TEXT N_("Bluescreen V tolerance") |
| #define | BLUESCREENVTOL_LONGTEXT |
| #define | CFG_PREFIX "bluescreen-" |
| #define | GET_VAR(name, min, max) |
| #define | VAR_IS(a) !strcmp( psz_var, CFG_PREFIX a ) |
Functions | |
| static int | Create (vlc_object_t *) |
| static void | Destroy (vlc_object_t *) |
| static picture_t * | Filter (filter_t *, picture_t *) |
| static int | BluescreenCallback (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) |
Variables | |
| static const char *const | ppsz_filter_options [] |
| #define BLUESCREEN_HELP |
Value:
N_( \ "This effect, also known as \"greenscreen\" or \"chroma key\" blends " \ "the \"blue parts\" of the foreground image of the mosaic on the " \ "background (like weather forecasts). You can choose the \"key\" " \ "color for blending (blue by default)." )
| #define BLUESCREENU_LONGTEXT |
Value:
N_( \ "\"U\" value for the bluescreen key color " \ "(in YUV values). From 0 to 255. Defaults to 120 for blue." )
| #define BLUESCREENU_TEXT N_("Bluescreen U value") |
| #define BLUESCREENUTOL_LONGTEXT |
Value:
N_( \ "Tolerance of the bluescreen blender " \ "on color variations for the U plane. A value between 10 and 20 " \ "seems sensible." )
| #define BLUESCREENUTOL_TEXT N_("Bluescreen U tolerance") |
| #define BLUESCREENV_LONGTEXT |
Value:
N_( \ "\"V\" value for the bluescreen key color " \ "(in YUV values). From 0 to 255. Defaults to 90 for blue." )
| #define BLUESCREENV_TEXT N_("Bluescreen V value") |
| #define BLUESCREENVTOL_LONGTEXT |
Value:
N_( \ "Tolerance of the bluescreen blender " \ "on color variations for the V plane. A value between 10 and 20 " \ "seems sensible." )
| #define BLUESCREENVTOL_TEXT N_("Bluescreen V tolerance") |
| #define CFG_PREFIX "bluescreen-" |
| #define GET_VAR | ( | name, | |||
| min, | |||||
| max | ) |
Value:
val = var_CreateGetIntegerCommand( p_filter, CFG_PREFIX #name ); \ p_sys->i_##name = __MIN( max, __MAX( min, val ) ); \ var_AddCallback( p_filter, CFG_PREFIX #name, BluescreenCallback, p_sys );
Referenced by Create(), and CreateFilter().
| static int BluescreenCallback | ( | vlc_object_t * | p_this, | |
| char const * | psz_var, | |||
| vlc_value_t | oldval, | |||
| vlc_value_t | newval, | |||
| void * | p_data | |||
| ) | [static] |
References __MAX, __MIN, vlc_value_t::i_int, filter_sys_t::i_u, filter_sys_t::i_ut, filter_sys_t::i_v, filter_sys_t::i_vt, filter_sys_t::lock, p_sys, VAR_IS, vlc_mutex_lock(), vlc_mutex_unlock(), VLC_SUCCESS, and VLC_UNUSED.
Referenced by Destroy().
| static int Create | ( | vlc_object_t * | p_this | ) | [static] |
References CFG_PREFIX, config_ChainParse, Filter(), filter_t::fmt_in, GET_VAR, video_format_t::i_chroma, filter_sys_t::lock, msg_Err, filter_sys_t::p_at, filter_t::p_cfg, filter_t::p_sys, p_sys, ppsz_filter_options, es_format_t::video, VLC_CODEC_YUVA, VLC_EGENERIC, VLC_ENOMEM, vlc_mutex_init(), and VLC_SUCCESS.
| static void Destroy | ( | vlc_object_t * | p_this | ) | [static] |
References BluescreenCallback(), CFG_PREFIX, filter_sys_t::lock, filter_sys_t::p_at, filter_t::p_sys, p_sys, var_DelCallback, and vlc_mutex_destroy().
References A_PLANE, picture_t::format, i, video_format_t::i_chroma, plane_t::i_lines, plane_t::i_pitch, filter_sys_t::i_u, filter_sys_t::i_ut, filter_sys_t::i_v, filter_sys_t::i_vt, filter_sys_t::lock, msg_Err, picture_t::p, filter_sys_t::p_at, plane_t::p_pixels, filter_t::p_sys, p_sys, U_PLANE, V_PLANE, VLC_CODEC_YUVA, vlc_memset(), vlc_mutex_lock(), vlc_mutex_unlock(), and xrealloc().
| int vlc_entry__main | ( | module_t * | p_module | ) |
| const char* vlc_entry_license__main | ( | void | ) |
const char* const ppsz_filter_options[] [static] |
Initial value:
{
"u", "v", "ut", "vt", NULL
}
1.5.6