2008-02-16 00:02:51 +02:00
|
|
|
/*
|
|
|
|
* filter registration
|
2010-11-28 12:22:58 +02:00
|
|
|
* Copyright (c) 2008 Vitor Sessak
|
2008-02-16 00:02:51 +02:00
|
|
|
*
|
|
|
|
* This file is part of FFmpeg.
|
|
|
|
*
|
|
|
|
* FFmpeg is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* FFmpeg is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with FFmpeg; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "avfilter.h"
|
|
|
|
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_af_abench;
|
|
|
|
extern const AVFilter ff_af_acompressor;
|
|
|
|
extern const AVFilter ff_af_acontrast;
|
|
|
|
extern const AVFilter ff_af_acopy;
|
|
|
|
extern const AVFilter ff_af_acue;
|
|
|
|
extern const AVFilter ff_af_acrossfade;
|
|
|
|
extern const AVFilter ff_af_acrossover;
|
|
|
|
extern const AVFilter ff_af_acrusher;
|
|
|
|
extern const AVFilter ff_af_adeclick;
|
|
|
|
extern const AVFilter ff_af_adeclip;
|
2021-08-23 19:52:32 +02:00
|
|
|
extern const AVFilter ff_af_adecorrelate;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_af_adelay;
|
|
|
|
extern const AVFilter ff_af_adenorm;
|
|
|
|
extern const AVFilter ff_af_aderivative;
|
2021-11-26 15:23:16 +02:00
|
|
|
extern const AVFilter ff_af_adynamicequalizer;
|
2021-11-25 20:30:32 +02:00
|
|
|
extern const AVFilter ff_af_adynamicsmooth;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_af_aecho;
|
|
|
|
extern const AVFilter ff_af_aemphasis;
|
|
|
|
extern const AVFilter ff_af_aeval;
|
|
|
|
extern const AVFilter ff_af_aexciter;
|
|
|
|
extern const AVFilter ff_af_afade;
|
|
|
|
extern const AVFilter ff_af_afftdn;
|
|
|
|
extern const AVFilter ff_af_afftfilt;
|
|
|
|
extern const AVFilter ff_af_afir;
|
|
|
|
extern const AVFilter ff_af_aformat;
|
|
|
|
extern const AVFilter ff_af_afreqshift;
|
2020-05-31 10:22:23 +02:00
|
|
|
extern const AVFilter ff_af_afwtdn;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_af_agate;
|
|
|
|
extern const AVFilter ff_af_aiir;
|
|
|
|
extern const AVFilter ff_af_aintegral;
|
|
|
|
extern const AVFilter ff_af_ainterleave;
|
2021-09-08 17:51:17 +02:00
|
|
|
extern const AVFilter ff_af_alatency;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_af_alimiter;
|
|
|
|
extern const AVFilter ff_af_allpass;
|
|
|
|
extern const AVFilter ff_af_aloop;
|
|
|
|
extern const AVFilter ff_af_amerge;
|
|
|
|
extern const AVFilter ff_af_ametadata;
|
|
|
|
extern const AVFilter ff_af_amix;
|
|
|
|
extern const AVFilter ff_af_amultiply;
|
|
|
|
extern const AVFilter ff_af_anequalizer;
|
|
|
|
extern const AVFilter ff_af_anlmdn;
|
2021-12-18 17:04:40 +02:00
|
|
|
extern const AVFilter ff_af_anlmf;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_af_anlms;
|
|
|
|
extern const AVFilter ff_af_anull;
|
|
|
|
extern const AVFilter ff_af_apad;
|
|
|
|
extern const AVFilter ff_af_aperms;
|
|
|
|
extern const AVFilter ff_af_aphaser;
|
|
|
|
extern const AVFilter ff_af_aphaseshift;
|
2021-07-18 10:20:33 +02:00
|
|
|
extern const AVFilter ff_af_apsyclip;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_af_apulsator;
|
|
|
|
extern const AVFilter ff_af_arealtime;
|
|
|
|
extern const AVFilter ff_af_aresample;
|
|
|
|
extern const AVFilter ff_af_areverse;
|
|
|
|
extern const AVFilter ff_af_arnndn;
|
2021-09-12 20:11:24 +02:00
|
|
|
extern const AVFilter ff_af_asdr;
|
2021-08-01 13:50:42 +02:00
|
|
|
extern const AVFilter ff_af_asegment;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_af_aselect;
|
|
|
|
extern const AVFilter ff_af_asendcmd;
|
|
|
|
extern const AVFilter ff_af_asetnsamples;
|
|
|
|
extern const AVFilter ff_af_asetpts;
|
|
|
|
extern const AVFilter ff_af_asetrate;
|
|
|
|
extern const AVFilter ff_af_asettb;
|
|
|
|
extern const AVFilter ff_af_ashowinfo;
|
|
|
|
extern const AVFilter ff_af_asidedata;
|
|
|
|
extern const AVFilter ff_af_asoftclip;
|
2021-11-22 12:44:24 +02:00
|
|
|
extern const AVFilter ff_af_aspectralstats;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_af_asplit;
|
|
|
|
extern const AVFilter ff_af_asr;
|
|
|
|
extern const AVFilter ff_af_astats;
|
|
|
|
extern const AVFilter ff_af_astreamselect;
|
|
|
|
extern const AVFilter ff_af_asubboost;
|
|
|
|
extern const AVFilter ff_af_asubcut;
|
|
|
|
extern const AVFilter ff_af_asupercut;
|
|
|
|
extern const AVFilter ff_af_asuperpass;
|
|
|
|
extern const AVFilter ff_af_asuperstop;
|
|
|
|
extern const AVFilter ff_af_atempo;
|
2020-12-06 13:45:34 +02:00
|
|
|
extern const AVFilter ff_af_atilt;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_af_atrim;
|
|
|
|
extern const AVFilter ff_af_axcorrelate;
|
|
|
|
extern const AVFilter ff_af_azmq;
|
|
|
|
extern const AVFilter ff_af_bandpass;
|
|
|
|
extern const AVFilter ff_af_bandreject;
|
|
|
|
extern const AVFilter ff_af_bass;
|
|
|
|
extern const AVFilter ff_af_biquad;
|
|
|
|
extern const AVFilter ff_af_bs2b;
|
|
|
|
extern const AVFilter ff_af_channelmap;
|
|
|
|
extern const AVFilter ff_af_channelsplit;
|
|
|
|
extern const AVFilter ff_af_chorus;
|
|
|
|
extern const AVFilter ff_af_compand;
|
|
|
|
extern const AVFilter ff_af_compensationdelay;
|
|
|
|
extern const AVFilter ff_af_crossfeed;
|
|
|
|
extern const AVFilter ff_af_crystalizer;
|
|
|
|
extern const AVFilter ff_af_dcshift;
|
|
|
|
extern const AVFilter ff_af_deesser;
|
2022-02-05 11:31:59 +02:00
|
|
|
extern const AVFilter ff_af_dialoguenhance;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_af_drmeter;
|
|
|
|
extern const AVFilter ff_af_dynaudnorm;
|
|
|
|
extern const AVFilter ff_af_earwax;
|
|
|
|
extern const AVFilter ff_af_ebur128;
|
|
|
|
extern const AVFilter ff_af_equalizer;
|
|
|
|
extern const AVFilter ff_af_extrastereo;
|
|
|
|
extern const AVFilter ff_af_firequalizer;
|
|
|
|
extern const AVFilter ff_af_flanger;
|
|
|
|
extern const AVFilter ff_af_haas;
|
|
|
|
extern const AVFilter ff_af_hdcd;
|
|
|
|
extern const AVFilter ff_af_headphone;
|
|
|
|
extern const AVFilter ff_af_highpass;
|
|
|
|
extern const AVFilter ff_af_highshelf;
|
|
|
|
extern const AVFilter ff_af_join;
|
|
|
|
extern const AVFilter ff_af_ladspa;
|
|
|
|
extern const AVFilter ff_af_loudnorm;
|
|
|
|
extern const AVFilter ff_af_lowpass;
|
|
|
|
extern const AVFilter ff_af_lowshelf;
|
|
|
|
extern const AVFilter ff_af_lv2;
|
|
|
|
extern const AVFilter ff_af_mcompand;
|
|
|
|
extern const AVFilter ff_af_pan;
|
|
|
|
extern const AVFilter ff_af_replaygain;
|
|
|
|
extern const AVFilter ff_af_rubberband;
|
|
|
|
extern const AVFilter ff_af_sidechaincompress;
|
|
|
|
extern const AVFilter ff_af_sidechaingate;
|
|
|
|
extern const AVFilter ff_af_silencedetect;
|
|
|
|
extern const AVFilter ff_af_silenceremove;
|
|
|
|
extern const AVFilter ff_af_sofalizer;
|
|
|
|
extern const AVFilter ff_af_speechnorm;
|
|
|
|
extern const AVFilter ff_af_stereotools;
|
|
|
|
extern const AVFilter ff_af_stereowiden;
|
|
|
|
extern const AVFilter ff_af_superequalizer;
|
|
|
|
extern const AVFilter ff_af_surround;
|
|
|
|
extern const AVFilter ff_af_treble;
|
|
|
|
extern const AVFilter ff_af_tremolo;
|
|
|
|
extern const AVFilter ff_af_vibrato;
|
|
|
|
extern const AVFilter ff_af_volume;
|
|
|
|
extern const AVFilter ff_af_volumedetect;
|
2008-02-16 00:02:51 +02:00
|
|
|
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_asrc_aevalsrc;
|
|
|
|
extern const AVFilter ff_asrc_afirsrc;
|
|
|
|
extern const AVFilter ff_asrc_anoisesrc;
|
|
|
|
extern const AVFilter ff_asrc_anullsrc;
|
|
|
|
extern const AVFilter ff_asrc_flite;
|
|
|
|
extern const AVFilter ff_asrc_hilbert;
|
|
|
|
extern const AVFilter ff_asrc_sinc;
|
|
|
|
extern const AVFilter ff_asrc_sine;
|
2008-02-16 00:02:51 +02:00
|
|
|
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_asink_anullsink;
|
2018-02-18 19:20:26 +02:00
|
|
|
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_vf_addroi;
|
|
|
|
extern const AVFilter ff_vf_alphaextract;
|
|
|
|
extern const AVFilter ff_vf_alphamerge;
|
|
|
|
extern const AVFilter ff_vf_amplify;
|
|
|
|
extern const AVFilter ff_vf_ass;
|
|
|
|
extern const AVFilter ff_vf_atadenoise;
|
|
|
|
extern const AVFilter ff_vf_avgblur;
|
|
|
|
extern const AVFilter ff_vf_avgblur_opencl;
|
|
|
|
extern const AVFilter ff_vf_avgblur_vulkan;
|
|
|
|
extern const AVFilter ff_vf_bbox;
|
|
|
|
extern const AVFilter ff_vf_bench;
|
|
|
|
extern const AVFilter ff_vf_bilateral;
|
|
|
|
extern const AVFilter ff_vf_bitplanenoise;
|
|
|
|
extern const AVFilter ff_vf_blackdetect;
|
|
|
|
extern const AVFilter ff_vf_blackframe;
|
|
|
|
extern const AVFilter ff_vf_blend;
|
2021-12-31 20:09:53 +02:00
|
|
|
extern const AVFilter ff_vf_blend_vulkan;
|
2022-05-24 11:20:14 +02:00
|
|
|
extern const AVFilter ff_vf_blockdetect;
|
2022-04-25 00:07:04 +02:00
|
|
|
extern const AVFilter ff_vf_blurdetect;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_vf_bm3d;
|
|
|
|
extern const AVFilter ff_vf_boxblur;
|
|
|
|
extern const AVFilter ff_vf_boxblur_opencl;
|
|
|
|
extern const AVFilter ff_vf_bwdif;
|
|
|
|
extern const AVFilter ff_vf_cas;
|
2021-11-22 15:32:02 +02:00
|
|
|
extern const AVFilter ff_vf_chromaber_vulkan;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_vf_chromahold;
|
|
|
|
extern const AVFilter ff_vf_chromakey;
|
|
|
|
extern const AVFilter ff_vf_chromanr;
|
|
|
|
extern const AVFilter ff_vf_chromashift;
|
|
|
|
extern const AVFilter ff_vf_ciescope;
|
|
|
|
extern const AVFilter ff_vf_codecview;
|
|
|
|
extern const AVFilter ff_vf_colorbalance;
|
|
|
|
extern const AVFilter ff_vf_colorchannelmixer;
|
|
|
|
extern const AVFilter ff_vf_colorcontrast;
|
|
|
|
extern const AVFilter ff_vf_colorcorrect;
|
|
|
|
extern const AVFilter ff_vf_colorize;
|
|
|
|
extern const AVFilter ff_vf_colorkey;
|
|
|
|
extern const AVFilter ff_vf_colorkey_opencl;
|
|
|
|
extern const AVFilter ff_vf_colorhold;
|
|
|
|
extern const AVFilter ff_vf_colorlevels;
|
2022-04-09 06:31:14 +02:00
|
|
|
extern const AVFilter ff_vf_colormap;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_vf_colormatrix;
|
|
|
|
extern const AVFilter ff_vf_colorspace;
|
|
|
|
extern const AVFilter ff_vf_colortemperature;
|
|
|
|
extern const AVFilter ff_vf_convolution;
|
|
|
|
extern const AVFilter ff_vf_convolution_opencl;
|
|
|
|
extern const AVFilter ff_vf_convolve;
|
|
|
|
extern const AVFilter ff_vf_copy;
|
|
|
|
extern const AVFilter ff_vf_coreimage;
|
|
|
|
extern const AVFilter ff_vf_cover_rect;
|
|
|
|
extern const AVFilter ff_vf_crop;
|
|
|
|
extern const AVFilter ff_vf_cropdetect;
|
|
|
|
extern const AVFilter ff_vf_cue;
|
|
|
|
extern const AVFilter ff_vf_curves;
|
|
|
|
extern const AVFilter ff_vf_datascope;
|
|
|
|
extern const AVFilter ff_vf_dblur;
|
|
|
|
extern const AVFilter ff_vf_dctdnoiz;
|
|
|
|
extern const AVFilter ff_vf_deband;
|
|
|
|
extern const AVFilter ff_vf_deblock;
|
|
|
|
extern const AVFilter ff_vf_decimate;
|
|
|
|
extern const AVFilter ff_vf_deconvolve;
|
|
|
|
extern const AVFilter ff_vf_dedot;
|
|
|
|
extern const AVFilter ff_vf_deflate;
|
|
|
|
extern const AVFilter ff_vf_deflicker;
|
|
|
|
extern const AVFilter ff_vf_deinterlace_qsv;
|
|
|
|
extern const AVFilter ff_vf_deinterlace_vaapi;
|
|
|
|
extern const AVFilter ff_vf_dejudder;
|
|
|
|
extern const AVFilter ff_vf_delogo;
|
|
|
|
extern const AVFilter ff_vf_denoise_vaapi;
|
|
|
|
extern const AVFilter ff_vf_derain;
|
|
|
|
extern const AVFilter ff_vf_deshake;
|
|
|
|
extern const AVFilter ff_vf_deshake_opencl;
|
|
|
|
extern const AVFilter ff_vf_despill;
|
|
|
|
extern const AVFilter ff_vf_detelecine;
|
|
|
|
extern const AVFilter ff_vf_dilation;
|
|
|
|
extern const AVFilter ff_vf_dilation_opencl;
|
|
|
|
extern const AVFilter ff_vf_displace;
|
lavfi/dnn_classify: add filter dnn_classify for classification based on detection bounding boxes
classification is done on every detection bounding box in frame's side data,
which are the results of object detection (filter dnn_detect).
Please refer to commit log of dnn_detect for the material for detection,
and see below for classification.
- download material for classifcation:
wget https://github.com/guoyejun/ffmpeg_dnn/raw/main/models/openvino/2021.1/emotions-recognition-retail-0003.bin
wget https://github.com/guoyejun/ffmpeg_dnn/raw/main/models/openvino/2021.1/emotions-recognition-retail-0003.xml
wget https://github.com/guoyejun/ffmpeg_dnn/raw/main/models/openvino/2021.1/emotions-recognition-retail-0003.label
- run command as:
./ffmpeg -i cici.jpg -vf dnn_detect=dnn_backend=openvino:model=face-detection-adas-0001.xml:input=data:output=detection_out:confidence=0.6:labels=face-detection-adas-0001.label,dnn_classify=dnn_backend=openvino:model=emotions-recognition-retail-0003.xml:input=data:output=prob_emotion:confidence=0.3:labels=emotions-recognition-retail-0003.label:target=face,showinfo -f null -
We'll see the detect&classify result as below:
[Parsed_showinfo_2 @ 0x55b7d25e77c0] side data - detection bounding boxes:
[Parsed_showinfo_2 @ 0x55b7d25e77c0] source: face-detection-adas-0001.xml, emotions-recognition-retail-0003.xml
[Parsed_showinfo_2 @ 0x55b7d25e77c0] index: 0, region: (1005, 813) -> (1086, 905), label: face, confidence: 10000/10000.
[Parsed_showinfo_2 @ 0x55b7d25e77c0] classify: label: happy, confidence: 6757/10000.
[Parsed_showinfo_2 @ 0x55b7d25e77c0] index: 1, region: (888, 839) -> (967, 926), label: face, confidence: 6917/10000.
[Parsed_showinfo_2 @ 0x55b7d25e77c0] classify: label: anger, confidence: 4320/10000.
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
2021-03-17 08:08:38 +02:00
|
|
|
extern const AVFilter ff_vf_dnn_classify;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_vf_dnn_detect;
|
|
|
|
extern const AVFilter ff_vf_dnn_processing;
|
|
|
|
extern const AVFilter ff_vf_doubleweave;
|
|
|
|
extern const AVFilter ff_vf_drawbox;
|
|
|
|
extern const AVFilter ff_vf_drawgraph;
|
|
|
|
extern const AVFilter ff_vf_drawgrid;
|
|
|
|
extern const AVFilter ff_vf_drawtext;
|
|
|
|
extern const AVFilter ff_vf_edgedetect;
|
|
|
|
extern const AVFilter ff_vf_elbg;
|
|
|
|
extern const AVFilter ff_vf_entropy;
|
|
|
|
extern const AVFilter ff_vf_epx;
|
|
|
|
extern const AVFilter ff_vf_eq;
|
|
|
|
extern const AVFilter ff_vf_erosion;
|
|
|
|
extern const AVFilter ff_vf_erosion_opencl;
|
|
|
|
extern const AVFilter ff_vf_estdif;
|
|
|
|
extern const AVFilter ff_vf_exposure;
|
|
|
|
extern const AVFilter ff_vf_extractplanes;
|
|
|
|
extern const AVFilter ff_vf_fade;
|
2022-04-04 13:50:01 +02:00
|
|
|
extern const AVFilter ff_vf_feedback;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_vf_fftdnoiz;
|
|
|
|
extern const AVFilter ff_vf_fftfilt;
|
|
|
|
extern const AVFilter ff_vf_field;
|
|
|
|
extern const AVFilter ff_vf_fieldhint;
|
|
|
|
extern const AVFilter ff_vf_fieldmatch;
|
|
|
|
extern const AVFilter ff_vf_fieldorder;
|
|
|
|
extern const AVFilter ff_vf_fillborders;
|
|
|
|
extern const AVFilter ff_vf_find_rect;
|
2021-11-26 11:10:57 +02:00
|
|
|
extern const AVFilter ff_vf_flip_vulkan;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_vf_floodfill;
|
|
|
|
extern const AVFilter ff_vf_format;
|
|
|
|
extern const AVFilter ff_vf_fps;
|
|
|
|
extern const AVFilter ff_vf_framepack;
|
|
|
|
extern const AVFilter ff_vf_framerate;
|
|
|
|
extern const AVFilter ff_vf_framestep;
|
|
|
|
extern const AVFilter ff_vf_freezedetect;
|
|
|
|
extern const AVFilter ff_vf_freezeframes;
|
|
|
|
extern const AVFilter ff_vf_frei0r;
|
|
|
|
extern const AVFilter ff_vf_fspp;
|
|
|
|
extern const AVFilter ff_vf_gblur;
|
2021-11-16 09:35:24 +02:00
|
|
|
extern const AVFilter ff_vf_gblur_vulkan;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_vf_geq;
|
|
|
|
extern const AVFilter ff_vf_gradfun;
|
|
|
|
extern const AVFilter ff_vf_graphmonitor;
|
2021-08-28 17:17:27 +02:00
|
|
|
extern const AVFilter ff_vf_grayworld;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_vf_greyedge;
|
2021-05-08 12:06:39 +02:00
|
|
|
extern const AVFilter ff_vf_guided;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_vf_haldclut;
|
|
|
|
extern const AVFilter ff_vf_hflip;
|
2021-11-19 16:50:00 +02:00
|
|
|
extern const AVFilter ff_vf_hflip_vulkan;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_vf_histeq;
|
|
|
|
extern const AVFilter ff_vf_histogram;
|
|
|
|
extern const AVFilter ff_vf_hqdn3d;
|
|
|
|
extern const AVFilter ff_vf_hqx;
|
|
|
|
extern const AVFilter ff_vf_hstack;
|
2021-08-20 08:06:38 +02:00
|
|
|
extern const AVFilter ff_vf_hsvhold;
|
|
|
|
extern const AVFilter ff_vf_hsvkey;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_vf_hue;
|
2021-09-28 09:25:43 +02:00
|
|
|
extern const AVFilter ff_vf_huesaturation;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_vf_hwdownload;
|
|
|
|
extern const AVFilter ff_vf_hwmap;
|
|
|
|
extern const AVFilter ff_vf_hwupload;
|
|
|
|
extern const AVFilter ff_vf_hwupload_cuda;
|
|
|
|
extern const AVFilter ff_vf_hysteresis;
|
2022-04-11 13:26:07 +02:00
|
|
|
extern const AVFilter ff_vf_iccdetect;
|
2022-04-09 20:02:56 +02:00
|
|
|
extern const AVFilter ff_vf_iccgen;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_vf_identity;
|
|
|
|
extern const AVFilter ff_vf_idet;
|
|
|
|
extern const AVFilter ff_vf_il;
|
|
|
|
extern const AVFilter ff_vf_inflate;
|
|
|
|
extern const AVFilter ff_vf_interlace;
|
|
|
|
extern const AVFilter ff_vf_interleave;
|
|
|
|
extern const AVFilter ff_vf_kerndeint;
|
|
|
|
extern const AVFilter ff_vf_kirsch;
|
|
|
|
extern const AVFilter ff_vf_lagfun;
|
2021-09-08 17:51:17 +02:00
|
|
|
extern const AVFilter ff_vf_latency;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_vf_lenscorrection;
|
|
|
|
extern const AVFilter ff_vf_lensfun;
|
2021-07-26 00:55:37 +02:00
|
|
|
extern const AVFilter ff_vf_libplacebo;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_vf_libvmaf;
|
2021-10-07 11:56:39 +02:00
|
|
|
extern const AVFilter ff_vf_limitdiff;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_vf_limiter;
|
|
|
|
extern const AVFilter ff_vf_loop;
|
|
|
|
extern const AVFilter ff_vf_lumakey;
|
|
|
|
extern const AVFilter ff_vf_lut;
|
|
|
|
extern const AVFilter ff_vf_lut1d;
|
|
|
|
extern const AVFilter ff_vf_lut2;
|
|
|
|
extern const AVFilter ff_vf_lut3d;
|
|
|
|
extern const AVFilter ff_vf_lutrgb;
|
|
|
|
extern const AVFilter ff_vf_lutyuv;
|
|
|
|
extern const AVFilter ff_vf_maskedclamp;
|
|
|
|
extern const AVFilter ff_vf_maskedmax;
|
|
|
|
extern const AVFilter ff_vf_maskedmerge;
|
|
|
|
extern const AVFilter ff_vf_maskedmin;
|
|
|
|
extern const AVFilter ff_vf_maskedthreshold;
|
|
|
|
extern const AVFilter ff_vf_maskfun;
|
|
|
|
extern const AVFilter ff_vf_mcdeint;
|
|
|
|
extern const AVFilter ff_vf_median;
|
|
|
|
extern const AVFilter ff_vf_mergeplanes;
|
|
|
|
extern const AVFilter ff_vf_mestimate;
|
|
|
|
extern const AVFilter ff_vf_metadata;
|
|
|
|
extern const AVFilter ff_vf_midequalizer;
|
|
|
|
extern const AVFilter ff_vf_minterpolate;
|
|
|
|
extern const AVFilter ff_vf_mix;
|
|
|
|
extern const AVFilter ff_vf_monochrome;
|
2021-09-20 13:47:45 +02:00
|
|
|
extern const AVFilter ff_vf_morpho;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_vf_mpdecimate;
|
|
|
|
extern const AVFilter ff_vf_msad;
|
2022-05-01 14:59:37 +02:00
|
|
|
extern const AVFilter ff_vf_multiply;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_vf_negate;
|
|
|
|
extern const AVFilter ff_vf_nlmeans;
|
|
|
|
extern const AVFilter ff_vf_nlmeans_opencl;
|
|
|
|
extern const AVFilter ff_vf_nnedi;
|
|
|
|
extern const AVFilter ff_vf_noformat;
|
|
|
|
extern const AVFilter ff_vf_noise;
|
|
|
|
extern const AVFilter ff_vf_normalize;
|
|
|
|
extern const AVFilter ff_vf_null;
|
|
|
|
extern const AVFilter ff_vf_ocr;
|
|
|
|
extern const AVFilter ff_vf_ocv;
|
|
|
|
extern const AVFilter ff_vf_oscilloscope;
|
|
|
|
extern const AVFilter ff_vf_overlay;
|
|
|
|
extern const AVFilter ff_vf_overlay_opencl;
|
|
|
|
extern const AVFilter ff_vf_overlay_qsv;
|
2021-11-22 09:53:50 +02:00
|
|
|
extern const AVFilter ff_vf_overlay_vaapi;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_vf_overlay_vulkan;
|
|
|
|
extern const AVFilter ff_vf_overlay_cuda;
|
|
|
|
extern const AVFilter ff_vf_owdenoise;
|
|
|
|
extern const AVFilter ff_vf_pad;
|
|
|
|
extern const AVFilter ff_vf_pad_opencl;
|
|
|
|
extern const AVFilter ff_vf_palettegen;
|
|
|
|
extern const AVFilter ff_vf_paletteuse;
|
|
|
|
extern const AVFilter ff_vf_perms;
|
|
|
|
extern const AVFilter ff_vf_perspective;
|
|
|
|
extern const AVFilter ff_vf_phase;
|
|
|
|
extern const AVFilter ff_vf_photosensitivity;
|
|
|
|
extern const AVFilter ff_vf_pixdesctest;
|
2022-04-12 09:08:11 +02:00
|
|
|
extern const AVFilter ff_vf_pixelize;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_vf_pixscope;
|
|
|
|
extern const AVFilter ff_vf_pp;
|
|
|
|
extern const AVFilter ff_vf_pp7;
|
|
|
|
extern const AVFilter ff_vf_premultiply;
|
|
|
|
extern const AVFilter ff_vf_prewitt;
|
|
|
|
extern const AVFilter ff_vf_prewitt_opencl;
|
|
|
|
extern const AVFilter ff_vf_procamp_vaapi;
|
|
|
|
extern const AVFilter ff_vf_program_opencl;
|
|
|
|
extern const AVFilter ff_vf_pseudocolor;
|
|
|
|
extern const AVFilter ff_vf_psnr;
|
|
|
|
extern const AVFilter ff_vf_pullup;
|
|
|
|
extern const AVFilter ff_vf_qp;
|
|
|
|
extern const AVFilter ff_vf_random;
|
|
|
|
extern const AVFilter ff_vf_readeia608;
|
|
|
|
extern const AVFilter ff_vf_readvitc;
|
|
|
|
extern const AVFilter ff_vf_realtime;
|
|
|
|
extern const AVFilter ff_vf_remap;
|
|
|
|
extern const AVFilter ff_vf_removegrain;
|
|
|
|
extern const AVFilter ff_vf_removelogo;
|
|
|
|
extern const AVFilter ff_vf_repeatfields;
|
|
|
|
extern const AVFilter ff_vf_reverse;
|
|
|
|
extern const AVFilter ff_vf_rgbashift;
|
|
|
|
extern const AVFilter ff_vf_roberts;
|
|
|
|
extern const AVFilter ff_vf_roberts_opencl;
|
|
|
|
extern const AVFilter ff_vf_rotate;
|
|
|
|
extern const AVFilter ff_vf_sab;
|
|
|
|
extern const AVFilter ff_vf_scale;
|
|
|
|
extern const AVFilter ff_vf_scale_cuda;
|
|
|
|
extern const AVFilter ff_vf_scale_npp;
|
|
|
|
extern const AVFilter ff_vf_scale_qsv;
|
|
|
|
extern const AVFilter ff_vf_scale_vaapi;
|
|
|
|
extern const AVFilter ff_vf_scale_vulkan;
|
|
|
|
extern const AVFilter ff_vf_scale2ref;
|
2021-09-06 14:25:51 +02:00
|
|
|
extern const AVFilter ff_vf_scale2ref_npp;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_vf_scdet;
|
2021-09-10 17:52:23 +02:00
|
|
|
extern const AVFilter ff_vf_scharr;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_vf_scroll;
|
2021-08-01 13:50:42 +02:00
|
|
|
extern const AVFilter ff_vf_segment;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_vf_select;
|
|
|
|
extern const AVFilter ff_vf_selectivecolor;
|
|
|
|
extern const AVFilter ff_vf_sendcmd;
|
|
|
|
extern const AVFilter ff_vf_separatefields;
|
|
|
|
extern const AVFilter ff_vf_setdar;
|
|
|
|
extern const AVFilter ff_vf_setfield;
|
|
|
|
extern const AVFilter ff_vf_setparams;
|
|
|
|
extern const AVFilter ff_vf_setpts;
|
|
|
|
extern const AVFilter ff_vf_setrange;
|
|
|
|
extern const AVFilter ff_vf_setsar;
|
|
|
|
extern const AVFilter ff_vf_settb;
|
2021-09-06 13:26:27 +02:00
|
|
|
extern const AVFilter ff_vf_sharpen_npp;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_vf_sharpness_vaapi;
|
|
|
|
extern const AVFilter ff_vf_shear;
|
|
|
|
extern const AVFilter ff_vf_showinfo;
|
|
|
|
extern const AVFilter ff_vf_showpalette;
|
|
|
|
extern const AVFilter ff_vf_shuffleframes;
|
|
|
|
extern const AVFilter ff_vf_shufflepixels;
|
|
|
|
extern const AVFilter ff_vf_shuffleplanes;
|
|
|
|
extern const AVFilter ff_vf_sidedata;
|
|
|
|
extern const AVFilter ff_vf_signalstats;
|
|
|
|
extern const AVFilter ff_vf_signature;
|
2022-03-22 10:34:02 +02:00
|
|
|
extern const AVFilter ff_vf_siti;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_vf_smartblur;
|
|
|
|
extern const AVFilter ff_vf_sobel;
|
|
|
|
extern const AVFilter ff_vf_sobel_opencl;
|
|
|
|
extern const AVFilter ff_vf_split;
|
|
|
|
extern const AVFilter ff_vf_spp;
|
|
|
|
extern const AVFilter ff_vf_sr;
|
|
|
|
extern const AVFilter ff_vf_ssim;
|
|
|
|
extern const AVFilter ff_vf_stereo3d;
|
|
|
|
extern const AVFilter ff_vf_streamselect;
|
|
|
|
extern const AVFilter ff_vf_subtitles;
|
|
|
|
extern const AVFilter ff_vf_super2xsai;
|
|
|
|
extern const AVFilter ff_vf_swaprect;
|
|
|
|
extern const AVFilter ff_vf_swapuv;
|
|
|
|
extern const AVFilter ff_vf_tblend;
|
|
|
|
extern const AVFilter ff_vf_telecine;
|
|
|
|
extern const AVFilter ff_vf_thistogram;
|
|
|
|
extern const AVFilter ff_vf_threshold;
|
|
|
|
extern const AVFilter ff_vf_thumbnail;
|
|
|
|
extern const AVFilter ff_vf_thumbnail_cuda;
|
|
|
|
extern const AVFilter ff_vf_tile;
|
|
|
|
extern const AVFilter ff_vf_tinterlace;
|
|
|
|
extern const AVFilter ff_vf_tlut2;
|
|
|
|
extern const AVFilter ff_vf_tmedian;
|
|
|
|
extern const AVFilter ff_vf_tmidequalizer;
|
|
|
|
extern const AVFilter ff_vf_tmix;
|
|
|
|
extern const AVFilter ff_vf_tonemap;
|
|
|
|
extern const AVFilter ff_vf_tonemap_opencl;
|
|
|
|
extern const AVFilter ff_vf_tonemap_vaapi;
|
|
|
|
extern const AVFilter ff_vf_tpad;
|
|
|
|
extern const AVFilter ff_vf_transpose;
|
|
|
|
extern const AVFilter ff_vf_transpose_npp;
|
|
|
|
extern const AVFilter ff_vf_transpose_opencl;
|
|
|
|
extern const AVFilter ff_vf_transpose_vaapi;
|
2021-12-09 11:36:51 +02:00
|
|
|
extern const AVFilter ff_vf_transpose_vulkan;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_vf_trim;
|
|
|
|
extern const AVFilter ff_vf_unpremultiply;
|
|
|
|
extern const AVFilter ff_vf_unsharp;
|
|
|
|
extern const AVFilter ff_vf_unsharp_opencl;
|
|
|
|
extern const AVFilter ff_vf_untile;
|
|
|
|
extern const AVFilter ff_vf_uspp;
|
|
|
|
extern const AVFilter ff_vf_v360;
|
|
|
|
extern const AVFilter ff_vf_vaguedenoiser;
|
2021-10-11 15:56:30 +02:00
|
|
|
extern const AVFilter ff_vf_varblur;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_vf_vectorscope;
|
|
|
|
extern const AVFilter ff_vf_vflip;
|
2021-11-19 16:50:01 +02:00
|
|
|
extern const AVFilter ff_vf_vflip_vulkan;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_vf_vfrdet;
|
|
|
|
extern const AVFilter ff_vf_vibrance;
|
|
|
|
extern const AVFilter ff_vf_vidstabdetect;
|
|
|
|
extern const AVFilter ff_vf_vidstabtransform;
|
|
|
|
extern const AVFilter ff_vf_vif;
|
|
|
|
extern const AVFilter ff_vf_vignette;
|
|
|
|
extern const AVFilter ff_vf_vmafmotion;
|
|
|
|
extern const AVFilter ff_vf_vpp_qsv;
|
|
|
|
extern const AVFilter ff_vf_vstack;
|
|
|
|
extern const AVFilter ff_vf_w3fdif;
|
|
|
|
extern const AVFilter ff_vf_waveform;
|
|
|
|
extern const AVFilter ff_vf_weave;
|
|
|
|
extern const AVFilter ff_vf_xbr;
|
2021-10-07 19:33:54 +02:00
|
|
|
extern const AVFilter ff_vf_xcorrelate;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_vf_xfade;
|
|
|
|
extern const AVFilter ff_vf_xfade_opencl;
|
|
|
|
extern const AVFilter ff_vf_xmedian;
|
|
|
|
extern const AVFilter ff_vf_xstack;
|
|
|
|
extern const AVFilter ff_vf_yadif;
|
|
|
|
extern const AVFilter ff_vf_yadif_cuda;
|
2021-12-14 03:08:50 +02:00
|
|
|
extern const AVFilter ff_vf_yadif_videotoolbox;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_vf_yaepblur;
|
|
|
|
extern const AVFilter ff_vf_zmq;
|
|
|
|
extern const AVFilter ff_vf_zoompan;
|
|
|
|
extern const AVFilter ff_vf_zscale;
|
2018-02-18 19:20:26 +02:00
|
|
|
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_vsrc_allrgb;
|
|
|
|
extern const AVFilter ff_vsrc_allyuv;
|
|
|
|
extern const AVFilter ff_vsrc_cellauto;
|
|
|
|
extern const AVFilter ff_vsrc_color;
|
2022-04-10 19:12:53 +02:00
|
|
|
extern const AVFilter ff_vsrc_colorchart;
|
2021-11-14 01:17:10 +02:00
|
|
|
extern const AVFilter ff_vsrc_colorspectrum;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_vsrc_coreimagesrc;
|
|
|
|
extern const AVFilter ff_vsrc_frei0r_src;
|
|
|
|
extern const AVFilter ff_vsrc_gradients;
|
|
|
|
extern const AVFilter ff_vsrc_haldclutsrc;
|
|
|
|
extern const AVFilter ff_vsrc_life;
|
|
|
|
extern const AVFilter ff_vsrc_mandelbrot;
|
|
|
|
extern const AVFilter ff_vsrc_mptestsrc;
|
|
|
|
extern const AVFilter ff_vsrc_nullsrc;
|
|
|
|
extern const AVFilter ff_vsrc_openclsrc;
|
|
|
|
extern const AVFilter ff_vsrc_pal75bars;
|
|
|
|
extern const AVFilter ff_vsrc_pal100bars;
|
|
|
|
extern const AVFilter ff_vsrc_rgbtestsrc;
|
|
|
|
extern const AVFilter ff_vsrc_sierpinski;
|
|
|
|
extern const AVFilter ff_vsrc_smptebars;
|
|
|
|
extern const AVFilter ff_vsrc_smptehdbars;
|
|
|
|
extern const AVFilter ff_vsrc_testsrc;
|
|
|
|
extern const AVFilter ff_vsrc_testsrc2;
|
|
|
|
extern const AVFilter ff_vsrc_yuvtestsrc;
|
2018-02-18 19:20:26 +02:00
|
|
|
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_vsink_nullsink;
|
2018-02-18 19:20:26 +02:00
|
|
|
|
|
|
|
/* multimedia filters */
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_avf_abitscope;
|
|
|
|
extern const AVFilter ff_avf_adrawgraph;
|
|
|
|
extern const AVFilter ff_avf_agraphmonitor;
|
|
|
|
extern const AVFilter ff_avf_ahistogram;
|
|
|
|
extern const AVFilter ff_avf_aphasemeter;
|
|
|
|
extern const AVFilter ff_avf_avectorscope;
|
|
|
|
extern const AVFilter ff_avf_concat;
|
|
|
|
extern const AVFilter ff_avf_showcqt;
|
|
|
|
extern const AVFilter ff_avf_showfreqs;
|
|
|
|
extern const AVFilter ff_avf_showspatial;
|
|
|
|
extern const AVFilter ff_avf_showspectrum;
|
|
|
|
extern const AVFilter ff_avf_showspectrumpic;
|
|
|
|
extern const AVFilter ff_avf_showvolume;
|
|
|
|
extern const AVFilter ff_avf_showwaves;
|
|
|
|
extern const AVFilter ff_avf_showwavespic;
|
|
|
|
extern const AVFilter ff_vaf_spectrumsynth;
|
2012-12-23 21:06:35 +03:00
|
|
|
|
2018-02-18 19:20:26 +02:00
|
|
|
/* multimedia sources */
|
2017-04-28 20:18:38 +02:00
|
|
|
extern const AVFilter ff_avsrc_avsynctest;
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_avsrc_amovie;
|
|
|
|
extern const AVFilter ff_avsrc_movie;
|
2018-02-18 19:20:26 +02:00
|
|
|
|
|
|
|
/* those filters are part of public or internal API,
|
|
|
|
* they are formatted to not be found by the grep
|
|
|
|
* as they are manually added again (due to their 'names'
|
|
|
|
* being the same while having different 'types'). */
|
2021-04-19 18:33:56 +02:00
|
|
|
extern const AVFilter ff_asrc_abuffer;
|
|
|
|
extern const AVFilter ff_vsrc_buffer;
|
|
|
|
extern const AVFilter ff_asink_abuffer;
|
|
|
|
extern const AVFilter ff_vsink_buffer;
|
|
|
|
extern const AVFilter ff_af_afifo;
|
|
|
|
extern const AVFilter ff_vf_fifo;
|
2018-02-18 19:20:26 +02:00
|
|
|
|
|
|
|
#include "libavfilter/filter_list.c"
|
|
|
|
|
|
|
|
|
|
|
|
const AVFilter *av_filter_iterate(void **opaque)
|
2008-02-16 00:02:51 +02:00
|
|
|
{
|
2018-02-18 19:20:26 +02:00
|
|
|
uintptr_t i = (uintptr_t)*opaque;
|
|
|
|
const AVFilter *f = filter_list[i];
|
|
|
|
|
|
|
|
if (f)
|
|
|
|
*opaque = (void*)(i + 1);
|
2010-08-21 02:16:51 +03:00
|
|
|
|
2018-02-18 19:20:26 +02:00
|
|
|
return f;
|
|
|
|
}
|
2010-09-25 04:56:58 +03:00
|
|
|
|
2018-02-18 19:20:26 +02:00
|
|
|
const AVFilter *avfilter_get_by_name(const char *name)
|
|
|
|
{
|
|
|
|
const AVFilter *f = NULL;
|
|
|
|
void *opaque = 0;
|
2010-09-25 04:57:01 +03:00
|
|
|
|
2018-02-18 19:20:26 +02:00
|
|
|
if (!name)
|
|
|
|
return NULL;
|
2010-01-16 12:43:53 +02:00
|
|
|
|
2018-02-18 19:20:26 +02:00
|
|
|
while ((f = av_filter_iterate(&opaque)))
|
|
|
|
if (!strcmp(f->name, name))
|
2019-10-27 18:02:36 +02:00
|
|
|
return f;
|
2010-01-16 13:05:36 +02:00
|
|
|
|
2018-02-18 19:20:26 +02:00
|
|
|
return NULL;
|
|
|
|
}
|