[vlc-devel] [PATCH 00/14] filter & filter chain cleaning

Steve Lhomme robux4 at ycbcr.xyz
Tue Sep 17 16:22:28 CEST 2019


This is similar to patches I sent a few weeks back, preparing for the addition
of push code.

I didn't separate the video/audio/spu owners anymore.

The main goal is to simplify picture allocation between intermediate filters
and the last one of the chain.

filter_chain_Clean() was added to only use filter_chain_Reset() when changing/
updating the formats, not just to remove filters.

Steve Lhomme (14):
  filter_chain: only set the filter callbacks for video
  filter_chain: replace the internal filter_owner_t by an obj
  filter_chain: only set the video owner for video filters
  filter_chain: use filter_NewPicture when getting pictures for the last
    filter
  filter: allow the owner not to provide a buffer callback
  ci filters: remove default buffer callback implementation
  image: remove default buffer callback implementation
  vout blend: remove default buffer callback implementation
  vout_subpictures: remove default buffer callback implementation
  filters: allow the filter owner not to provide pictures
  filter_chain: use an empty callback owner for intermediate filters
  filter_chain: add a specific function to clear (empty) a filter chain
  filter: use a specific type for blend filters
  chroma: chain: rename misleading p_parent parameter

 include/vlc_filter.h                     |  31 ++++--
 include/vlc_subpicture.h                 |   3 +-
 modules/spu/audiobargraph_v.c            |   2 +-
 modules/spu/logo.c                       |   2 +-
 modules/stream_out/transcode/transcode.h |   2 +-
 modules/video_chroma/chain.c             |  42 ++++----
 modules/video_filter/ci_filters.m        |  12 ---
 modules/video_output/android/display.c   |   2 +-
 src/libvlccore.sym                       |   1 +
 src/misc/filter.c                        |  10 +-
 src/misc/filter_chain.c                  | 121 ++++++++++++-----------
 src/misc/image.c                         |  11 ---
 src/misc/subpicture.c                    |   2 +-
 src/video_output/video_output.c          |  15 +--
 src/video_output/vout_internal.h         |   2 +-
 src/video_output/vout_subpictures.c      |  19 +---
 16 files changed, 125 insertions(+), 152 deletions(-)

-- 
2.17.1



More information about the vlc-devel mailing list