colorthres.c File Reference

Include dependency graph for colorthres.c:


Data Structures

struct  filter_sys_t
 filter_sys_t: chroma method descriptor More...

Defines

#define COLOR_TEXT   N_("Color")
#define COLOR_LONGTEXT
#define COLOR_HELP   N_("Select one color in the video")
#define CFG_PREFIX   "colorthres-"

Functions

static int Create (vlc_object_t *)
static void Destroy (vlc_object_t *)
static picture_tFilter (filter_t *, picture_t *)
static picture_tFilterPacked (filter_t *, picture_t *)
int vlc_entry__main (module_t *p_module)
const char * vlc_entry_license__main (void)
static int FilterCallback (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *)

Variables

static const int pi_color_values []
static const char *const ppsz_color_descriptions []
static const char *const ppsz_filter_options []

Define Documentation

#define CFG_PREFIX   "colorthres-"

#define COLOR_HELP   N_("Select one color in the video")

#define COLOR_LONGTEXT

Value:

N_("Colors similar to this will be kept, others will be "\
    "grayscaled. This must be an hexadecimal (like HTML colors). The first two "\
    "chars are for red, then green, then blue. #000000 = black, #FF0000 = red,"\
    " #00FF00 = green, #FFFF00 = yellow (red + green), #FFFFFF = white" )

#define COLOR_TEXT   N_("Color")


Function Documentation

static int Create ( vlc_object_t p_this  )  [static]

static void Destroy ( vlc_object_t p_this  )  [static]

static picture_t * Filter ( filter_t p_filter,
picture_t p_pic 
) [static]

static int FilterCallback ( vlc_object_t p_this,
char const *  psz_var,
vlc_value_t  oldval,
vlc_value_t  newval,
void *  p_data 
) [static]

static picture_t * FilterPacked ( filter_t p_filter,
picture_t p_pic 
) [static]

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 


Variable Documentation

const int pi_color_values[] [static]

Initial value:

 {
  0x00FF0000, 0x00FF00FF, 0x00FFFF00, 0x0000FF00, 0x000000FF, 0x0000FFFF }

const char* const ppsz_color_descriptions[] [static]

Initial value:

 {
  N_("Red"), N_("Fuchsia"), N_("Yellow"), N_("Lime"), N_("Blue"), N_("Aqua") }

const char* const ppsz_filter_options[] [static]

Initial value:

 {
    "color", "saturationthres", "similaritythres", NULL
}


Generated on Tue May 25 08:05:30 2010 for VLC by  doxygen 1.5.6