VLC 4.0.0-dev
|
This file defines the structure and types used by video splitter filters. More...
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_t * | video_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) |
This file defines the structure and types used by video splitter filters.
typedef struct video_splitter_t video_splitter_t |
void video_splitter_Delete | ( | video_splitter_t * | p_splitter | ) |
References video_splitter_t::fmt, module_unneed, video_splitter_t::p_module, video_format_Clean(), and vlc_object_delete.
Referenced by video_splitter_New().
|
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().
|
inlinestatic |
References video_splitter_t::pf_filter.
|
inlinestatic |
References video_splitter_t::mouse, and VLC_SUCCESS.
video_splitter_t * video_splitter_New | ( | vlc_object_t * | p_this, |
const char * | psz_name, | ||
const video_format_t * | p_fmt | ||
) |
|
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.