
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_t * | Filter (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 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" ) |
| static void CloseFilter | ( | vlc_object_t * | p_this | ) | [static] |
References filter_t::p_sys.
References CopyInfoAndRelease(), filter_NewPicture(), filter_t::fmt_in, filter_t::fmt_out, filter_sys_t::i_cropbottom, filter_sys_t::i_cropleft, filter_sys_t::i_cropright, filter_sys_t::i_croptop, i_height, filter_sys_t::i_paddleft, filter_sys_t::i_paddtop, plane_t::i_pitch, plane_t::i_pixel_pitch, picture_t::i_planes, video_format_t::i_visible_height, plane_t::i_visible_lines, plane_t::i_visible_pitch, video_format_t::i_visible_width, picture_t::p, plane_t::p_pixels, filter_t::p_sys, p_sys, picture_Release(), es_format_t::video, vlc_memcpy(), and vlc_memset().
| static int OpenFilter | ( | vlc_object_t * | p_this | ) | [static] |
References filter_t::b_allow_fmt_out_change, CFG_PREFIX, config_ChainParse, Filter(), filter_t::fmt_in, filter_t::fmt_out, GET_OPTION, video_format_t::i_chroma, filter_sys_t::i_cropbottom, filter_sys_t::i_cropleft, filter_sys_t::i_cropright, filter_sys_t::i_croptop, video_format_t::i_height, filter_sys_t::i_paddbottom, filter_sys_t::i_paddleft, filter_sys_t::i_paddright, filter_sys_t::i_paddtop, video_format_t::i_visible_height, video_format_t::i_visible_width, video_format_t::i_width, msg_Dbg, msg_Err, filter_t::p_cfg, filter_t::p_sys, p_sys, ppsz_filter_options, es_format_t::video, VLC_EGENERIC, VLC_ENOMEM, and VLC_SUCCESS.
| int vlc_entry__main | ( | module_t * | p_module | ) |
| const char* vlc_entry_license__main | ( | void | ) |
const char* const ppsz_filter_options[] [static] |
Initial value:
{
"croptop", "cropbottom", "cropleft", "cropright",
"paddtop", "paddbottom", "paddleft", "paddright",
NULL
}
1.5.6