croppadd.c File Reference

Include dependency graph for croppadd.c:


Data Structures

struct  filter_sys_t
 filter_sys_t: chroma method descriptor More...

Defines

#define CROPTOP_TEXT   N_( "Pixels to crop from top" )
#define CROPTOP_LONGTEXT
#define CROPBOTTOM_TEXT   N_( "Pixels to crop from bottom" )
#define CROPBOTTOM_LONGTEXT
#define CROPLEFT_TEXT   N_( "Pixels to crop from left" )
#define CROPLEFT_LONGTEXT
#define CROPRIGHT_TEXT   N_( "Pixels to crop from right" )
#define CROPRIGHT_LONGTEXT
#define PADDTOP_TEXT   N_( "Pixels to padd to top" )
#define PADDTOP_LONGTEXT
#define PADDBOTTOM_TEXT   N_( "Pixels to padd to bottom" )
#define PADDBOTTOM_LONGTEXT
#define PADDLEFT_TEXT   N_( "Pixels to padd to left" )
#define PADDLEFT_LONGTEXT
#define PADDRIGHT_TEXT   N_( "Pixels to padd to right" )
#define PADDRIGHT_LONGTEXT
#define CFG_PREFIX   "croppadd-"
#define GET_OPTION(name)

Functions

static int OpenFilter (vlc_object_t *)
static void CloseFilter (vlc_object_t *)
static picture_tFilter (filter_t *, picture_t *)
int vlc_entry__main (module_t *p_module)
const char * vlc_entry_license__main (void)

Variables

static const char *const ppsz_filter_options []

Define Documentation

#define CFG_PREFIX   "croppadd-"

#define CROPBOTTOM_LONGTEXT

Value:

N_( \
    "Number of pixels to crop from the bottom of the image." )

#define CROPBOTTOM_TEXT   N_( "Pixels to crop from bottom" )

#define CROPLEFT_LONGTEXT

Value:

N_( \
    "Number of pixels to crop from the left of the image." )

#define CROPLEFT_TEXT   N_( "Pixels to crop from left" )

#define CROPRIGHT_LONGTEXT

Value:

N_( \
    "Number of pixels to crop from the right of the image." )

#define CROPRIGHT_TEXT   N_( "Pixels to crop from right" )

#define CROPTOP_LONGTEXT

Value:

N_( \
    "Number of pixels to crop from the top of the image." )

#define CROPTOP_TEXT   N_( "Pixels to crop from top" )

#define GET_OPTION ( name   ) 

Value:

p_sys->i_ ## name = var_CreateGetInteger( p_filter, CFG_PREFIX #name ); \
    if( p_sys->i_ ## name & 1 ) \
        msg_Warn( p_filter, "Using even values for `" #name "' is recommended" );

Referenced by OpenFilter().

#define PADDBOTTOM_LONGTEXT

Value:

N_( \
    "Number of pixels to padd to the bottom of the image after cropping." )

#define PADDBOTTOM_TEXT   N_( "Pixels to padd to bottom" )

#define PADDLEFT_LONGTEXT

Value:

N_( \
    "Number of pixels to padd to the left of the image after cropping." )

#define PADDLEFT_TEXT   N_( "Pixels to padd to left" )

#define PADDRIGHT_LONGTEXT

Value:

N_( \
    "Number of pixels to padd to the right of the image after cropping." )

#define PADDRIGHT_TEXT   N_( "Pixels to padd to right" )

#define PADDTOP_LONGTEXT

Value:

N_( \
    "Number of pixels to padd to the top of the image after cropping." )

#define PADDTOP_TEXT   N_( "Pixels to padd to top" )


Function Documentation

static void CloseFilter ( vlc_object_t p_this  )  [static]

References filter_t::p_sys.

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

static int OpenFilter ( vlc_object_t p_this  )  [static]

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 


Variable Documentation

const char* const ppsz_filter_options[] [static]

Initial value:

 {
    "croptop", "cropbottom", "cropleft", "cropright",
    "paddtop", "paddbottom", "paddleft", "paddright",
    NULL
}


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