VLC
4.0.0-dev
|
Structure describing a filter. More...
Data Fields | |
struct vlc_object_t | obj |
module_t * | p_module |
void * | p_sys |
es_format_t | fmt_in |
vlc_video_context * | vctx_in |
es_format_t | fmt_out |
vlc_video_context * | vctx_out |
bool | b_allow_fmt_out_change |
const char * | psz_name |
config_chain_t * | p_cfg |
union { | |
picture_t *(* pf_video_filter )(filter_t *, picture_t *) | |
Filter a picture (video filter) More... | |
block_t *(* pf_audio_filter )(filter_t *, block_t *) | |
Filter an audio block (audio filter) More... | |
void(* pf_video_blend )(filter_t *, picture_t *, const picture_t *, int, int, int) | |
Blend a subpicture onto a picture (blend) More... | |
subpicture_t *(* pf_sub_source )(filter_t *, vlc_tick_t) | |
Generate a subpicture (sub source) More... | |
subpicture_t *(* pf_sub_filter )(filter_t *, subpicture_t *) | |
Filter a subpicture (sub filter) More... | |
int(* pf_render )(filter_t *, subpicture_region_t *, subpicture_region_t *, const vlc_fourcc_t *) | |
Render text (text render) More... | |
}; | |
union { | |
block_t *(* pf_audio_drain )(filter_t *) | |
Drain (audio filter) More... | |
}; | |
void(* | pf_flush )(filter_t *) |
Flush. More... | |
void(* | pf_change_viewpoint )(filter_t *, const vlc_viewpoint_t *) |
Change viewpoint. More... | |
union { | |
int(* pf_video_mouse )(filter_t *, struct vlc_mouse_t *, const struct vlc_mouse_t *p_old, const struct vlc_mouse_t *p_new) | |
Filter mouse state (video filter). More... | |
}; | |
int(* | pf_get_attachments )(filter_t *, input_attachment_t ***, int *) |
filter_owner_t | owner |
Private structure for the owner of the filter. More... | |
Structure describing a filter.
union { ... } |
union { ... } |
union { ... } |
bool filter_t::b_allow_fmt_out_change |
Referenced by filter_chain_AppendInner().
es_format_t filter_t::fmt_in |
Referenced by aout_FiltersDrain(), aout_FiltersPlay(), AppendFilter(), CreateConverter(), CreateFilter(), DeleteConverter(), filter_chain_AppendInner(), filter_ConfigureBlend(), filter_NewBlend(), ImageConvert(), ImageRead(), ImageWrite(), picture_BlendSubpicture(), SpuRenderCreateAndLoadScale(), SpuRenderCreateAndLoadText(), and SpuRenderRegion().
es_format_t filter_t::fmt_out |
Referenced by AppendFilter(), ConvertRGB32AndBlend(), CreateConverter(), CreateFilter(), DeleteConverter(), filter_chain_AppendInner(), filter_chain_GetFmtOut(), filter_ConfigureBlend(), filter_NewBlend(), filter_NewPicture(), ImageConvert(), ImageRead(), ImageWrite(), picture_BlendSubpicture(), SpuRenderCreateAndLoadScale(), SpuRenderCreateAndLoadText(), SpuRenderRegion(), SpuRenderText(), ThreadDisplayRenderPicture(), VideoBufferNew(), VoutVideoFilterInteractiveNewPicture(), and VoutVideoFilterStaticNewPicture().
struct vlc_object_t filter_t::obj |
filter_owner_t filter_t::owner |
Private structure for the owner of the filter.
Referenced by aout_filter_GetVout(), CreateFilter(), filter_chain_AppendInner(), filter_chain_VideoBufferNew(), filter_HoldDecoderDevice(), filter_HoldDecoderDeviceType(), filter_NewPicture(), filter_NewSubpicture(), spu_get_attachments(), SpuRenderCreateAndLoadText(), sub_new_buffer(), SubSourceClean(), SubSourceInit(), VideoBufferNew(), VoutVideoFilterInteractiveNewPicture(), and VoutVideoFilterStaticNewPicture().
config_chain_t* filter_t::p_cfg |
Referenced by CreateFilter(), and filter_chain_AppendInner().
module_t* filter_t::p_module |
Referenced by aout_FiltersPipelineDestroy(), AppendFilter(), CreateConverter(), CreateFilter(), DeleteConverter(), filter_Blend(), filter_chain_AppendInner(), filter_chain_DeleteFilter(), filter_ConfigureBlend(), filter_DeleteBlend(), filter_NewBlend(), FilterRelease(), SpuRenderCreateAndLoadScale(), and SpuRenderCreateAndLoadText().
void* filter_t::p_sys |
Drain (audio filter)
Referenced by filter_DrainAudio().
Filter an audio block (audio filter)
Referenced by aout_FiltersPipelinePlay(), and CreateFilter().
void(* filter_t::pf_change_viewpoint) (filter_t *, const vlc_viewpoint_t *) |
Change viewpoint.
Pass a new viewpoint to audio filters. Filters like the spatialaudio one used for Ambisonics rendering will change its output according to this viewpoint.
Referenced by filter_ChangeViewpoint().
void(* filter_t::pf_flush) (filter_t *) |
Flush.
Flush (i.e. discard) any internal buffer in a video or audio filter.
Referenced by filter_Flush().
int(* filter_t::pf_get_attachments) (filter_t *, input_attachment_t ***, int *) |
Referenced by filter_GetInputAttachments(), and SpuRenderCreateAndLoadText().
int(* filter_t::pf_render) (filter_t *, subpicture_region_t *, subpicture_region_t *, const vlc_fourcc_t *) |
Render text (text render)
Referenced by SpuRenderText().
subpicture_t*(* filter_t::pf_sub_filter) (filter_t *, subpicture_t *) |
Filter a subpicture (sub filter)
Referenced by filter_chain_SubFilter().
subpicture_t*(* filter_t::pf_sub_source) (filter_t *, vlc_tick_t) |
Generate a subpicture (sub source)
Referenced by filter_chain_SubSource().
Blend a subpicture onto a picture (blend)
Referenced by filter_Blend().
Filter a picture (video filter)
Referenced by FilterChainVideoFilter(), ImageConvert(), ImageRead(), ImageWrite(), and SpuRenderRegion().
int(* filter_t::pf_video_mouse) (filter_t *, struct vlc_mouse_t *, const struct vlc_mouse_t *p_old, const struct vlc_mouse_t *p_new) |
Filter mouse state (video filter).
If non-NULL, you must convert from output to input formats:
Referenced by filter_chain_MouseFilter().
const char* filter_t::psz_name |
Referenced by filter_chain_AppendInner().
vlc_video_context* filter_t::vctx_in |
Referenced by filter_chain_AppendInner().
vlc_video_context* filter_t::vctx_out |
Referenced by filter_chain_AppendInner(), and filter_chain_GetVideoCtxOut().