VLC 4.0.0-dev
vlc_filter_operations Struct Reference

#include <vlc_filter.h>

Collaboration diagram for vlc_filter_operations:
[legend]

Data Fields

union {
   picture_t *(*   filter_video )(filter_t *, picture_t *)
 Filter a picture (video filter) More...
 
   block_t *(*   filter_audio )(filter_t *, block_t *)
 Filter an audio block (audio filter) More...
 
   void(*   blend_video )(filter_t *, picture_t *,
       const picture_t *, int, int,
       int)
 Blend a subpicture onto a picture (video blending) More...
 
   subpicture_t *(*   source_sub )(filter_t *, vlc_tick_t)
 Generate a subpicture (sub source) More...
 
   subpicture_t *(*   filter_sub )(filter_t *, subpicture_t *)
 Filter a subpicture (sub filter) More...
 
   int(*   render )(filter_t *,
       subpicture_region_t *,
       subpicture_region_t *, const
      vlc_fourcc_t *)
 Render text (text renderer) More...
 
}; 
 
union {
   block_t *(*   drain_audio )(filter_t *)
 Drain (audio filter) More...
 
}; 
 
void(* flush )(filter_t *)
 Flush. More...
 
void(* change_viewpoint )(filter_t *, const vlc_viewpoint_t *)
 Change viewpoint. More...
 
int(* video_mouse )(filter_t *, struct vlc_mouse_t *, const struct vlc_mouse_t *p_old)
 Filter mouse state (video filter). More...
 
void(* close )(filter_t *)
 Close the filter and release its resources. More...
 

Field Documentation

◆ 

union { ... } vlc_filter_operations::@228

◆ 

union { ... } vlc_filter_operations::@230

◆ blend_video

void(* vlc_filter_operations::blend_video) (filter_t *, picture_t *, const picture_t *, int, int, int)

Blend a subpicture onto a picture (video blending)

Referenced by filter_Blend().

◆ change_viewpoint

void(* vlc_filter_operations::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().

◆ close

void(* vlc_filter_operations::close) (filter_t *)

Close the filter and release its resources.

Referenced by filter_Close().

◆ drain_audio

block_t *(* vlc_filter_operations::drain_audio) (filter_t *)

Drain (audio filter)

Referenced by filter_DrainAudio(), and vlc_audio_meter_AddPlugin().

◆ filter_audio

block_t *(* vlc_filter_operations::filter_audio) (filter_t *, block_t *)

Filter an audio block (audio filter)

Referenced by aout_filter_Create(), aout_FiltersPipelinePlay(), and vlc_audio_meter_Process().

◆ filter_sub

subpicture_t *(* vlc_filter_operations::filter_sub) (filter_t *, subpicture_t *)

Filter a subpicture (sub filter)

Referenced by filter_chain_SubFilter().

◆ filter_video

picture_t *(* vlc_filter_operations::filter_video) (filter_t *, picture_t *)

Filter a picture (video filter)

Referenced by FilterChainVideoFilter(), ImageConvert(), ImageRead(), ImageWrite(), and SpuRenderRegion().

◆ flush

void(* vlc_filter_operations::flush) (filter_t *)

Flush.

Flush (i.e. discard) any internal buffer in a video or audio filter.

Referenced by filter_Flush().

◆ render

int(* vlc_filter_operations::render) (filter_t *, subpicture_region_t *, subpicture_region_t *, const vlc_fourcc_t *)

Render text (text renderer)

Referenced by SpuRenderText().

◆ source_sub

subpicture_t *(* vlc_filter_operations::source_sub) (filter_t *, vlc_tick_t)

Generate a subpicture (sub source)

Referenced by filter_chain_SubSource().

◆ video_mouse

int(* vlc_filter_operations::video_mouse) (filter_t *, struct vlc_mouse_t *, const struct vlc_mouse_t *p_old)

Filter mouse state (video filter).

If non-NULL, you must convert from output to input formats:

  • If VLC_SUCCESS is returned, the mouse state is propagated.
  • Otherwise, the mouse change is not propagated. If NULL, the mouse state is considered unchanged and will be propagated.

Referenced by filter_chain_MouseFilter().


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