extract.c File Reference

Include dependency graph for extract.c:


Data Structures

struct  filter_sys_t
 filter_sys_t: chroma method descriptor More...

Defines

#define COMPONENT_TEXT   N_("RGB component to extract")
#define COMPONENT_LONGTEXT   N_("RGB component to extract. 0 for Red, 1 for Green and 2 for Blue.")
#define FILTER_PREFIX   "extract-"
#define U   128
#define V   128

Enumerations

enum  { RED = 0xFF0000, GREEN = 0x00FF00, BLUE = 0x0000FF }

Functions

static int Create (vlc_object_t *)
static void Destroy (vlc_object_t *)
static picture_tFilter (filter_t *, picture_t *)
static int ExtractCallback (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *)
static void get_red_from_yuv420 (picture_t *, picture_t *, int, int, int)
static void get_green_from_yuv420 (picture_t *, picture_t *, int, int, int)
static void get_blue_from_yuv420 (picture_t *, picture_t *, int, int, int)
static void get_red_from_yuv422 (picture_t *, picture_t *, int, int, int)
static void get_green_from_yuv422 (picture_t *, picture_t *, int, int, int)
static void get_blue_from_yuv422 (picture_t *, picture_t *, int, int, int)
static void make_projection_matrix (filter_t *, int color, int *matrix)
static void get_custom_from_yuv420 (picture_t *, picture_t *, int, int, int, int *)
static void get_custom_from_yuv422 (picture_t *, picture_t *, int, int, int, int *)
static void get_custom_from_packedyuv422 (picture_t *, picture_t *, int *)
int vlc_entry__main (module_t *p_module)
const char * vlc_entry_license__main (void)
static uint8_t crop (int a)
static void mmult (double *res, double *a, double *b)

Variables

static const int pi_component_values [] = { 0xFF0000, 0x00FF00, 0x0000FF }
static const char *const ppsz_component_descriptions []
static const char *const ppsz_filter_options []

Define Documentation

#define COMPONENT_LONGTEXT   N_("RGB component to extract. 0 for Red, 1 for Green and 2 for Blue.")

#define COMPONENT_TEXT   N_("RGB component to extract")

#define FILTER_PREFIX   "extract-"

#define U   128

#define V   128


Enumeration Type Documentation

anonymous enum

Enumerator:
RED 
GREEN 
BLUE 


Function Documentation

static int Create ( vlc_object_t p_this  )  [static]

static uint8_t crop ( int  a  )  [inline, static]

static void Destroy ( vlc_object_t p_this  )  [static]

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

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

static void get_blue_from_yuv420 ( picture_t p_inpic,
picture_t p_outpic,
int  yp,
int  up,
int  vp 
) [static]

static void get_blue_from_yuv422 ( picture_t p_inpic,
picture_t p_outpic,
int  yp,
int  up,
int  vp 
) [static]

static void get_custom_from_packedyuv422 ( picture_t p_inpic,
picture_t p_outpic,
int *  m 
) [static]

static void get_custom_from_yuv420 ( picture_t p_inpic,
picture_t p_outpic,
int  yp,
int  up,
int  vp,
int *  m 
) [static]

static void get_custom_from_yuv422 ( picture_t p_inpic,
picture_t p_outpic,
int  yp,
int  up,
int  vp,
int *  m 
) [static]

static void get_green_from_yuv420 ( picture_t p_inpic,
picture_t p_outpic,
int  yp,
int  up,
int  vp 
) [static]

static void get_green_from_yuv422 ( picture_t p_inpic,
picture_t p_outpic,
int  yp,
int  up,
int  vp 
) [static]

static void get_red_from_yuv420 ( picture_t p_inpic,
picture_t p_outpic,
int  yp,
int  up,
int  vp 
) [static]

static void get_red_from_yuv422 ( picture_t p_inpic,
picture_t p_outpic,
int  yp,
int  up,
int  vp 
) [static]

static void make_projection_matrix ( filter_t p_filter,
int  color,
int *  matrix 
) [static]

References i, mmult(), and msg_Dbg.

Referenced by Create(), and ExtractCallback().

static void mmult ( double *  res,
double *  a,
double *  b 
) [static]

References i.

Referenced by make_projection_matrix().

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 


Variable Documentation

const int pi_component_values[] = { 0xFF0000, 0x00FF00, 0x0000FF } [static]

const char* const ppsz_component_descriptions[] [static]

Initial value:

 {
    "Red", "Green", "Blue" }

const char* const ppsz_filter_options[] [static]

Initial value:

 {
    "component", NULL
}


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