[vlc-devel] [PATCH v2 00/26] filter close callback in operations structure
Steve Lhomme
robux4 at ycbcr.xyz
Fri Oct 9 15:03:56 CEST 2020
This patchset sits on top of previously submited patches. The resulting branch
can be found at :
https://code.videolan.org/robUx4/vlc/-/tree/filters/close-cb/0
Changes since v1:
- add the rest of the filters, including audio ones
- add a close callback for generated video filter code that also generates
the operations structure.
- leverages previous patches like the code generator in more filters
- add the Close callback after the flush where the flush has been added
Alexandre Janniaux (1):
spatializer: use the Close as an operations callback
Steve Lhomme (25):
filters: add a typed Close callback to the operations structure
filters: allow specifying a close callback when creating the default
operations
d3d11: use a close callback for locally defined operations
d3d11: set the Close callback in the generated operations structure
i420_rgb: set the Close callback in the generated operations structure
i420_nv12: set the Close callback in the generated operations
structure
dxa9: set the Close callback in the generated operations structure
dxa9: use a close callback for locally defined operations
mmal/deinterlace: use a Close callback in the operations structure
vaapi/deinterlace: use a Close callback in the operations structure
vdpau/deinterlace: use a Close callback in the operations structure
deinterlace: use a Close callback in the operations structure
tospdif: use a Close callback in the operations structure
vdpau/chroma: use a Close callback in the operations structure
mmal/converter: use a Close callback in the operations structure
fps: use a Close callback in the operations structure
video_filters: use a typed close callback in the operations structure
blend: use a typed close callback in the operations structure
sub source: use a typed close callback in the operations structure
subdelay: use a typed close callback in the operations structure
text renderer: use a typed close callback in the operations structure
audio filters: use a typed close callback in the operations structure
visualization filters: use a typed close callback in the operations
structure
audio renderer/resampler/converter: use a typed close callback in the
operations structure
audio meter: use a typed close callback in the operations structure
include/vlc_filter.h | 14 ++-
modules/access/screen/screen.c | 1 +
modules/audio_filter/audiobargraph_a.c | 9 +-
.../audio_filter/channel_mixer/headphone.c | 9 +-
modules/audio_filter/channel_mixer/mono.c | 9 +-
.../channel_mixer/spatialaudio.cpp | 11 +-
modules/audio_filter/chorus_flanger.c | 33 +++---
modules/audio_filter/compressor.c | 9 +-
modules/audio_filter/converter/tospdif.c | 18 ++-
modules/audio_filter/equalizer.c | 9 +-
modules/audio_filter/gain.c | 9 +-
modules/audio_filter/libebur128.c | 25 ++--
modules/audio_filter/normvol.c | 9 +-
modules/audio_filter/param_eq.c | 9 +-
modules/audio_filter/resampler/bandlimited.c | 11 +-
modules/audio_filter/resampler/soxr.c | 10 +-
modules/audio_filter/resampler/speex.c | 11 +-
modules/audio_filter/resampler/src.c | 11 +-
modules/audio_filter/scaletempo.c | 23 ++--
.../audio_filter/spatializer/spatializer.cpp | 45 ++++---
modules/audio_filter/stereo_widen.c | 11 +-
modules/hw/d3d11/d3d11_deinterlace.c | 21 ++--
modules/hw/d3d11/d3d11_filters.c | 65 +++++-----
modules/hw/d3d11/d3d11_filters.h | 3 -
modules/hw/d3d11/d3d11_surface.c | 59 +++++-----
modules/hw/d3d9/d3d9_filters.c | 35 +++---
modules/hw/d3d9/d3d9_filters.h | 3 -
modules/hw/d3d9/dxa9.c | 49 ++++----
modules/hw/d3d9/dxva2_deinterlace.c | 28 ++---
modules/hw/mmal/converter.c | 12 +-
modules/hw/mmal/deinterlace.c | 14 +--
modules/hw/vaapi/chroma.c | 7 +-
modules/hw/vaapi/filters.c | 111 +++++++++---------
modules/hw/vaapi/filters.h | 2 +-
modules/hw/vdpau/adjust.c | 31 +++--
modules/hw/vdpau/chroma.c | 27 ++---
modules/hw/vdpau/deinterlace.c | 19 ++-
modules/hw/vdpau/sharpen.c | 19 ++-
modules/spu/audiobargraph_v.c | 13 +-
modules/spu/dynamicoverlay/dynamicoverlay.c | 9 +-
modules/spu/logo.c | 12 +-
modules/spu/marq.c | 9 +-
modules/spu/mosaic.c | 9 +-
modules/spu/rss.c | 9 +-
modules/spu/subsdelay.c | 9 +-
modules/text_renderer/freetype/freetype.c | 11 +-
modules/text_renderer/nsspeechsynthesizer.m | 9 +-
modules/text_renderer/sapi.cpp | 8 +-
modules/text_renderer/svg.c | 9 +-
modules/video_chroma/chain.c | 11 +-
modules/video_chroma/cvpx.c | 30 +++--
modules/video_chroma/i420_nv12.c | 27 ++---
modules/video_chroma/i420_rgb.c | 25 ++--
modules/video_chroma/swscale.c | 9 +-
modules/video_filter/adjust.c | 11 +-
modules/video_filter/alphamask.c | 9 +-
modules/video_filter/antiflicker.c | 9 +-
modules/video_filter/ball.c | 9 +-
modules/video_filter/blend.cpp | 8 +-
modules/video_filter/blendbench.c | 10 +-
modules/video_filter/bluescreen.c | 9 +-
modules/video_filter/canvas.c | 9 +-
modules/video_filter/ci_filters.m | 52 ++++----
modules/video_filter/colorthres.c | 10 +-
.../video_filter/deinterlace/deinterlace.c | 35 +++---
modules/video_filter/edgedetection.c | 9 +-
modules/video_filter/erase.c | 9 +-
modules/video_filter/extract.c | 9 +-
modules/video_filter/fps.c | 26 ++--
modules/video_filter/freeze.c | 8 +-
modules/video_filter/gaussianblur.c | 9 +-
modules/video_filter/gradfun.c | 9 +-
modules/video_filter/gradient.c | 9 +-
modules/video_filter/grain.c | 9 +-
modules/video_filter/hqdn3d.c | 9 +-
modules/video_filter/magnify.c | 8 +-
modules/video_filter/mirror.c | 9 +-
modules/video_filter/motionblur.c | 9 +-
modules/video_filter/motiondetect.c | 9 +-
modules/video_filter/oldmovie.c | 9 +-
modules/video_filter/opencv_example.cpp | 8 +-
modules/video_filter/opencv_wrapper.c | 10 +-
modules/video_filter/posterize.c | 9 +-
modules/video_filter/postproc.c | 9 +-
modules/video_filter/psychedelic.c | 9 +-
modules/video_filter/puzzle.c | 8 +-
modules/video_filter/rotate.c | 11 +-
modules/video_filter/scene.c | 9 +-
modules/video_filter/sepia.c | 10 +-
modules/video_filter/sharpen.c | 9 +-
modules/video_filter/vhs.c | 9 +-
modules/visualization/glspectrum.c | 9 +-
modules/visualization/goom.c | 8 +-
modules/visualization/projectm.cpp | 7 +-
modules/visualization/visual/visual.c | 8 +-
modules/visualization/vsxu.cpp | 8 +-
src/audio_output/filters.c | 2 +
src/audio_output/meter.c | 2 +
src/misc/filter.c | 4 +
src/misc/filter_chain.c | 1 +
src/misc/image.c | 6 +-
src/video_output/vout_subpictures.c | 3 +
102 files changed, 713 insertions(+), 777 deletions(-)
--
2.26.2
More information about the vlc-devel
mailing list