VLC 4.0.0-dev
Loading...
Searching...
No Matches
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
 

Functions

static int video_splitter_NewPicture (video_splitter_t *splitter, picture_t *pics[])
 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 *splitter, int index, struct vlc_window_mouse_event *ev)
 

Detailed Description

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

Typedef Documentation

◆ video_splitter_t

Function Documentation

◆ video_splitter_Delete()

◆ video_splitter_DeletePicture()

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::i_output, and picture_Release().

◆ video_splitter_Filter()

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

◆ video_splitter_Mouse()

static int video_splitter_Mouse ( video_splitter_t splitter,
int  index,
struct vlc_window_mouse_event ev 
)
inlinestatic

◆ video_splitter_New()

video_splitter_t * video_splitter_New ( vlc_object_t p_this,
const char *  psz_name,
const video_format_t p_fmt 
)

◆ video_splitter_NewPicture()

static int video_splitter_NewPicture ( video_splitter_t splitter,
picture_t pics[] 
)
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 video_splitter_output_t::fmt, video_splitter_t::i_output, msg_Warn, video_splitter_t::p_output, picture_NewFromFormat(), picture_Release(), VLC_EGENERIC, and VLC_SUCCESS.