filters: add an operations structure to set the callbacks
authorAlexandre Janniaux <ajanni@videolabs.io>
Tue, 25 Aug 2020 16:50:04 +0000 (18:50 +0200)
committerSteve Lhomme <robux4@ycbcr.xyz>
Thu, 8 Oct 2020 08:27:51 +0000 (10:27 +0200)
commita353cdbc123f223bd79ee057593c70edcd8f010e
treedcc19a794bb622b7ef75e043e6bc3297feea8f65
parent85f4c0c8c3e473b4be4a219dd0a1b2449e24640c
filters: add an operations structure to set the callbacks

Generate a simple operations structure for filters generating their own filter
callback via VIDEO_FILTER_WRAPPER().

The filter chain sets a mouse handler on video filters that don't have one,
just as before, by using a local version of the ops structure of the filter and
adding the local mouse callback.

Co-authored-by: Steve Lhomme <robux4@ycbcr.xyz>
127 files changed:
include/vlc_filter.h
modules/access/screen/screen.c
modules/arm_neon/chroma_yuv.c
modules/arm_neon/yuv_rgb.c
modules/audio_filter/audiobargraph_a.c
modules/audio_filter/center.c
modules/audio_filter/channel_mixer/dolby.c
modules/audio_filter/channel_mixer/headphone.c
modules/audio_filter/channel_mixer/mono.c
modules/audio_filter/channel_mixer/remap.c
modules/audio_filter/channel_mixer/simple.c
modules/audio_filter/channel_mixer/spatialaudio.cpp
modules/audio_filter/channel_mixer/trivial.c
modules/audio_filter/chorus_flanger.c
modules/audio_filter/compressor.c
modules/audio_filter/converter/format.c
modules/audio_filter/converter/tospdif.c
modules/audio_filter/equalizer.c
modules/audio_filter/gain.c
modules/audio_filter/karaoke.c
modules/audio_filter/libebur128.c
modules/audio_filter/normvol.c
modules/audio_filter/param_eq.c
modules/audio_filter/resampler/bandlimited.c
modules/audio_filter/resampler/soxr.c
modules/audio_filter/resampler/speex.c
modules/audio_filter/resampler/src.c
modules/audio_filter/resampler/ugly.c
modules/audio_filter/scaletempo.c
modules/audio_filter/spatializer/spatializer.cpp
modules/audio_filter/stereo_widen.c
modules/hw/d3d11/d3d11_deinterlace.c
modules/hw/d3d11/d3d11_filters.c
modules/hw/d3d11/d3d11_surface.c
modules/hw/d3d9/d3d9_filters.c
modules/hw/d3d9/dxa9.c
modules/hw/d3d9/dxva2_deinterlace.c
modules/hw/mmal/converter.c
modules/hw/mmal/deinterlace.c
modules/hw/nvdec/chroma.c
modules/hw/vaapi/chroma.c
modules/hw/vaapi/filters.c
modules/hw/vdpau/adjust.c
modules/hw/vdpau/chroma.c
modules/hw/vdpau/deinterlace.c
modules/hw/vdpau/sharpen.c
modules/spu/audiobargraph_v.c
modules/spu/dynamicoverlay/dynamicoverlay.c
modules/spu/logo.c
modules/spu/marq.c
modules/spu/mosaic.c
modules/spu/rss.c
modules/spu/subsdelay.c
modules/text_renderer/freetype/freetype.c
modules/text_renderer/nsspeechsynthesizer.m
modules/text_renderer/sapi.cpp
modules/text_renderer/svg.c
modules/text_renderer/tdummy.c
modules/video_chroma/chain.c
modules/video_chroma/cvpx.c
modules/video_chroma/grey_yuv.c
modules/video_chroma/i420_nv12.c
modules/video_chroma/i420_rgb.c
modules/video_chroma/i420_yuy2.c
modules/video_chroma/i422_i420.c
modules/video_chroma/i422_yuy2.c
modules/video_chroma/omxdl.c
modules/video_chroma/rv32.c
modules/video_chroma/swscale.c
modules/video_chroma/yuvp.c
modules/video_chroma/yuy2_i420.c
modules/video_chroma/yuy2_i422.c
modules/video_filter/adjust.c
modules/video_filter/alphamask.c
modules/video_filter/anaglyph.c
modules/video_filter/antiflicker.c
modules/video_filter/ball.c
modules/video_filter/blend.cpp
modules/video_filter/blendbench.c
modules/video_filter/bluescreen.c
modules/video_filter/canvas.c
modules/video_filter/ci_filters.m
modules/video_filter/colorthres.c
modules/video_filter/croppadd.c
modules/video_filter/deinterlace/deinterlace.c
modules/video_filter/edgedetection.c
modules/video_filter/erase.c
modules/video_filter/extract.c
modules/video_filter/fps.c
modules/video_filter/freeze.c
modules/video_filter/gaussianblur.c
modules/video_filter/gradfun.c
modules/video_filter/gradient.c
modules/video_filter/grain.c
modules/video_filter/hqdn3d.c
modules/video_filter/invert.c
modules/video_filter/magnify.c
modules/video_filter/mirror.c
modules/video_filter/motionblur.c
modules/video_filter/motiondetect.c
modules/video_filter/oldmovie.c
modules/video_filter/opencv_example.cpp
modules/video_filter/opencv_wrapper.c
modules/video_filter/posterize.c
modules/video_filter/postproc.c
modules/video_filter/psychedelic.c
modules/video_filter/puzzle.c
modules/video_filter/ripple.c
modules/video_filter/rotate.c
modules/video_filter/scale.c
modules/video_filter/scene.c
modules/video_filter/sepia.c
modules/video_filter/sharpen.c
modules/video_filter/transform.c
modules/video_filter/vhs.c
modules/video_filter/wave.c
modules/visualization/glspectrum.c
modules/visualization/goom.c
modules/visualization/projectm.cpp
modules/visualization/visual/visual.c
modules/visualization/vsxu.cpp
src/audio_output/filters.c
src/audio_output/meter.c
src/misc/filter.c
src/misc/filter_chain.c
src/misc/image.c
src/video_output/vout_subpictures.c