VLC  3.0.0-git
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
filter_t Struct Reference

Structure describing a filter. More...

Collaboration diagram for filter_t:
Collaboration graph
[legend]

Data Fields

module_tp_module
filter_sys_tp_sys
es_format_t fmt_in
es_format_t fmt_out
bool b_allow_fmt_out_change
config_chain_tp_cfg
union {
   struct {
      picture_t *(*   pf_filter )(filter_t *, picture_t *)
      void(*   pf_flush )(filter_t *)
      int(*   pf_mouse )(filter_t *, vlc_mouse_t
         *, const vlc_mouse_t *p_old,
         const vlc_mouse_t *p_new)
   }   video
   struct {
      block_t *(*   pf_filter )(filter_t *, block_t *)
   }   audio
   struct {
      void(*   pf_blend )(filter_t *, picture_t
         *, const picture_t *, int, int,
         int)
   }   blend
   struct {
      subpicture_t *(*   pf_source )(filter_t *, mtime_t)
      int(*   pf_mouse )(filter_t *, const
         vlc_mouse_t *p_old, const
         vlc_mouse_t *p_new, const
         video_format_t *)
   }   sub
   struct {
      subpicture_t *(*   pf_filter )(filter_t *, subpicture_t *)
   }   subf
   struct {
      int(*   pf_text )(filter_t
         *, subpicture_region_t
         *, subpicture_region_t
         *, const vlc_fourcc_t *)
      int(*   pf_html )(filter_t
         *, subpicture_region_t
         *, subpicture_region_t
         *, const vlc_fourcc_t *)
   }   render
u
int(* pf_get_attachments )(filter_t *, input_attachment_t ***, int *)
filter_owner_t owner
VLC_COMMON_MEMBERS \ * these members are common for all vlc objects \
const char * psz_object_type
char * psz_header
int i_flags
bool b_force
 set by the outside (eg.
libvlc_int_tp_libvlc
 (root of all evil) - 1
vlc_object_tp_parent
 our parent

Detailed Description

Structure describing a filter.

Warning
BIG FAT WARNING : the code relies on the first 4 members of filter_t and decoder_t to be the same, so if you have anything to add, do it at the end of the structure.

Field Documentation

struct { ... } filter_t::audio
bool filter_t::b_allow_fmt_out_change
bool filter_t::b_force

set by the outside (eg.

module_need())

struct { ... } filter_t::blend
es_format_t filter_t::fmt_in
es_format_t filter_t::fmt_out
int filter_t::i_flags
filter_owner_t filter_t::owner
config_chain_t* filter_t::p_cfg
libvlc_int_t* filter_t::p_libvlc

(root of all evil) - 1

module_t* filter_t::p_module
vlc_object_t* filter_t::p_parent

our parent

Referenced by aout_filter_RequestVout().

filter_sys_t* filter_t::p_sys
void(* filter_t::pf_blend)(filter_t *, picture_t *, const picture_t *, int, int, int)
picture_t*(* filter_t::pf_filter)(filter_t *, picture_t *)
block_t*(* filter_t::pf_filter)(filter_t *, block_t *)
subpicture_t*(* filter_t::pf_filter)(filter_t *, subpicture_t *)
void(* filter_t::pf_flush)(filter_t *)
int(* filter_t::pf_get_attachments)(filter_t *, input_attachment_t ***, int *)
int(* filter_t::pf_html)(filter_t *, subpicture_region_t *, subpicture_region_t *, const vlc_fourcc_t *)
int(* filter_t::pf_mouse)(filter_t *, const vlc_mouse_t *p_old, const vlc_mouse_t *p_new, const video_format_t *)
subpicture_t*(* filter_t::pf_source)(filter_t *, mtime_t)
int(* filter_t::pf_text)(filter_t *, subpicture_region_t *, subpicture_region_t *, const vlc_fourcc_t *)
char* filter_t::psz_header
const char* filter_t::psz_object_type
struct { ... } filter_t::render
struct { ... } filter_t::sub
struct { ... } filter_t::subf
union { ... } filter_t::u
struct { ... } filter_t::video

The documentation for this struct was generated from the following file: