23#ifndef VLC_VIDEO_SPLITTER_H
24#define VLC_VIDEO_SPLITTER_H 1
99 for (
int i = 0; i < splitter->
i_output; i++) {
101 if (pics[i] == NULL) {
102 for (
int j = 0; j < i; j++)
105 msg_Warn(splitter,
"can't get output pictures");
119 for (
int i = 0; i < p_splitter->
i_output; i++)
130 return p_splitter->
pf_filter( p_splitter, pp_dst, p_src );
136 return (splitter->
mouse != NULL)
#define VLC_EGENERIC
Unspecified error.
Definition: vlc_common.h:505
#define VLC_SUCCESS
No error.
Definition: vlc_common.h:503
#define msg_Warn(p_this,...)
Definition: vlc_messages.h:104
static void picture_Release(picture_t *picture)
Decrements the picture reference count.
Definition: vlc_picture.h:374
picture_t * picture_NewFromFormat(const video_format_t *restrict fmt)
Definition: picture.c:266
Definition: vlc_configuration.h:319
Internal module descriptor.
Definition: modules.h:76
Video picture.
Definition: vlc_picture.h:130
Structure describing a video splitter output properties.
Definition: vlc_video_splitter.h:44
video_format_t fmt
Definition: vlc_video_splitter.h:46
char * psz_module
Definition: vlc_video_splitter.h:51
Structure describing a video splitter.
Definition: vlc_video_splitter.h:58
struct vlc_object_t obj
Definition: vlc_video_splitter.h:59
int(* pf_filter)(video_splitter_t *, picture_t *pp_dst[], picture_t *p_src)
Definition: vlc_video_splitter.h:81
void * p_sys
Definition: vlc_video_splitter.h:86
int(* mouse)(video_splitter_t *, int idx, struct vlc_window_mouse_event *)
Definition: vlc_video_splitter.h:83
video_format_t fmt
Definition: vlc_video_splitter.h:70
config_chain_t * p_cfg
Definition: vlc_video_splitter.h:65
module_t * p_module
Definition: vlc_video_splitter.h:62
int i_output
Definition: vlc_video_splitter.h:78
video_splitter_output_t * p_output
Definition: vlc_video_splitter.h:79
VLC object common members.
Definition: vlc_objects.h:45
Window mouse event.
Definition: vlc_window.h:103
const char * psz_name
Definition: text_style.c:33
This file is a collection of common definitions and types.
This file defines the elementary streams format types.
This file defines picture structures and functions in vlc.
void video_splitter_Delete(video_splitter_t *)
Definition: filter.c:210
video_splitter_t * video_splitter_New(vlc_object_t *, const char *psz_name, const video_format_t *)
Definition: filter.c:188
static int video_splitter_NewPicture(video_splitter_t *splitter, picture_t *pics[])
It will create an array of pictures suitable as output.
Definition: vlc_video_splitter.h:97
static int video_splitter_Filter(video_splitter_t *p_splitter, picture_t *pp_dst[], picture_t *p_src)
Definition: vlc_video_splitter.h:128
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.
Definition: vlc_video_splitter.h:117
static int video_splitter_Mouse(video_splitter_t *splitter, int index, struct vlc_window_mouse_event *ev)
Definition: vlc_video_splitter.h:134
Video output display modules interface.