VLC  2.1.0-git
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Typedefs | Functions
vlc_video_splitter.h File Reference

This file defines the structure and types used by video splitter filters. More...

Include dependency graph for vlc_video_splitter.h:

Go to the source code of this file.

Data Structures

struct  video_splitter_output_t
 Structure describing a video splitter output properties. More...
struct  video_splitter_t
 Structure describing a video splitter. More...

Typedefs

typedef struct video_splitter_t video_splitter_t
typedef struct video_splitter_sys_t video_splitter_sys_t
typedef struct
video_splitter_owner_t 
video_splitter_owner_t

Functions

static int video_splitter_NewPicture (video_splitter_t *p_splitter, picture_t *pp_picture[])
 It will create an array of pictures suitable as output.
static void video_splitter_DeletePicture (video_splitter_t *p_splitter, picture_t *pp_picture[])
 It will release an array of pictures created by video_splitter_NewPicture.
video_splitter_tvideo_splitter_New (vlc_object_t *, const char *psz_name, const video_format_t *)
void video_splitter_Delete (video_splitter_t *)
static int video_splitter_Filter (video_splitter_t *p_splitter, picture_t *pp_dst[], picture_t *p_src)
static int video_splitter_Mouse (video_splitter_t *p_splitter, vlc_mouse_t *p_mouse, int i_index, const vlc_mouse_t *p_old, const vlc_mouse_t *p_new)

Detailed Description

This file defines the structure and types used by video splitter filters.

Typedef Documentation

Function Documentation

void video_splitter_Delete ( video_splitter_t )
static void video_splitter_DeletePicture ( video_splitter_t p_splitter,
picture_t pp_picture[] 
)
inlinestatic

It will release an array of pictures created by video_splitter_NewPicture.

Provided for convenience.

References video_splitter_t::pf_picture_del.

static int video_splitter_Filter ( video_splitter_t p_splitter,
picture_t pp_dst[],
picture_t p_src 
)
inlinestatic

References video_splitter_t::pf_filter.

Referenced by SplitterPrepare().

static int video_splitter_Mouse ( video_splitter_t p_splitter,
vlc_mouse_t p_mouse,
int  i_index,
const vlc_mouse_t p_old,
const vlc_mouse_t p_new 
)
inlinestatic

< No error

References video_splitter_t::pf_mouse, and VLC_SUCCESS.

video_splitter_t* video_splitter_New ( vlc_object_t ,
const char *  psz_name,
const video_format_t  
)
static int video_splitter_NewPicture ( video_splitter_t p_splitter,
picture_t pp_picture[] 
)
inlinestatic

It will create an array of pictures suitable as output.

You must either returned them through pf_filter or by calling video_splitter_DeletePicture.

If VLC_SUCCESS is not returned, pp_picture values are undefined.

References msg_Warn, and video_splitter_t::pf_picture_new.