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"
|
2012-08-06 16:49:32 +03:00
|
|
|
#include "config.h"
|
2013-04-02 15:54:22 +03:00
|
|
|
#include "opencl_allkernels.h"
|
2008-02-16 00:02:51 +02:00
|
|
|
|
|
|
|
|
2012-12-25 17:29:39 +03:00
|
|
|
#define REGISTER_FILTER(X, x, y) \
|
|
|
|
{ \
|
2013-10-28 09:44:24 +03:00
|
|
|
extern AVFilter ff_##y##_##x; \
|
2012-12-25 17:29:39 +03:00
|
|
|
if (CONFIG_##X##_FILTER) \
|
2013-10-28 09:44:24 +03:00
|
|
|
avfilter_register(&ff_##y##_##x); \
|
2012-12-25 17:29:39 +03:00
|
|
|
}
|
2008-02-16 00:02:51 +02:00
|
|
|
|
2012-12-23 21:06:35 +03:00
|
|
|
#define REGISTER_FILTER_UNCONDITIONAL(x) \
|
|
|
|
{ \
|
2013-10-28 09:44:24 +03:00
|
|
|
extern AVFilter ff_##x; \
|
|
|
|
avfilter_register(&ff_##x); \
|
2012-12-23 21:06:35 +03:00
|
|
|
}
|
|
|
|
|
2008-02-16 00:02:51 +02:00
|
|
|
void avfilter_register_all(void)
|
|
|
|
{
|
|
|
|
static int initialized;
|
|
|
|
|
|
|
|
if (initialized)
|
|
|
|
return;
|
|
|
|
initialized = 1;
|
|
|
|
|
2015-07-24 00:13:17 +02:00
|
|
|
REGISTER_FILTER(ACROSSFADE, acrossfade, af);
|
2013-09-13 14:36:52 +03:00
|
|
|
REGISTER_FILTER(ADELAY, adelay, af);
|
2013-07-08 16:44:35 +03:00
|
|
|
REGISTER_FILTER(AECHO, aecho, af);
|
2013-12-05 20:23:06 +03:00
|
|
|
REGISTER_FILTER(AEVAL, aeval, af);
|
2013-01-18 00:53:27 +03:00
|
|
|
REGISTER_FILTER(AFADE, afade, af);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(AFORMAT, aformat, af);
|
2015-09-17 11:38:23 +02:00
|
|
|
REGISTER_FILTER(AGATE, agate, af);
|
2013-04-08 16:16:06 +03:00
|
|
|
REGISTER_FILTER(AINTERLEAVE, ainterleave, af);
|
2015-09-05 21:12:58 +02:00
|
|
|
REGISTER_FILTER(ALIMITER, alimiter, af);
|
2013-01-24 20:20:05 +03:00
|
|
|
REGISTER_FILTER(ALLPASS, allpass, af);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_FILTER(AMERGE, amerge, af);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(AMIX, amix, af);
|
|
|
|
REGISTER_FILTER(ANULL, anull, af);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_FILTER(APAD, apad, af);
|
2013-03-13 07:59:20 +03:00
|
|
|
REGISTER_FILTER(APERMS, aperms, af);
|
2013-03-30 07:03:39 +03:00
|
|
|
REGISTER_FILTER(APHASER, aphaser, af);
|
2015-10-25 18:31:58 +02:00
|
|
|
REGISTER_FILTER(AREALTIME, arealtime, af);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_FILTER(ARESAMPLE, aresample, af);
|
2015-07-21 12:43:04 +02:00
|
|
|
REGISTER_FILTER(AREVERSE, areverse, af);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_FILTER(ASELECT, aselect, af);
|
|
|
|
REGISTER_FILTER(ASENDCMD, asendcmd, af);
|
|
|
|
REGISTER_FILTER(ASETNSAMPLES, asetnsamples, af);
|
|
|
|
REGISTER_FILTER(ASETPTS, asetpts, af);
|
2013-04-18 17:59:27 +03:00
|
|
|
REGISTER_FILTER(ASETRATE, asetrate, af);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_FILTER(ASETTB, asettb, af);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(ASHOWINFO, ashowinfo, af);
|
|
|
|
REGISTER_FILTER(ASPLIT, asplit, af);
|
2013-04-22 15:38:24 +03:00
|
|
|
REGISTER_FILTER(ASTATS, astats, af);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(ASYNCTS, asyncts, af);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_FILTER(ATEMPO, atempo, af);
|
2013-04-02 20:30:11 +03:00
|
|
|
REGISTER_FILTER(ATRIM, atrim, af);
|
2013-04-21 16:00:11 +03:00
|
|
|
REGISTER_FILTER(AZMQ, azmq, af);
|
2013-01-24 20:20:05 +03:00
|
|
|
REGISTER_FILTER(BANDPASS, bandpass, af);
|
|
|
|
REGISTER_FILTER(BANDREJECT, bandreject, af);
|
|
|
|
REGISTER_FILTER(BASS, bass, af);
|
|
|
|
REGISTER_FILTER(BIQUAD, biquad, af);
|
2014-04-29 19:53:16 +03:00
|
|
|
REGISTER_FILTER(BS2B, bs2b, af);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(CHANNELMAP, channelmap, af);
|
|
|
|
REGISTER_FILTER(CHANNELSPLIT, channelsplit, af);
|
2014-06-24 11:35:37 +03:00
|
|
|
REGISTER_FILTER(CHORUS, chorus, af);
|
2013-07-17 00:39:06 +03:00
|
|
|
REGISTER_FILTER(COMPAND, compand, af);
|
2015-01-28 17:46:58 +02:00
|
|
|
REGISTER_FILTER(DCSHIFT, dcshift, af);
|
2015-07-07 18:19:59 +02:00
|
|
|
REGISTER_FILTER(DYNAUDNORM, dynaudnorm, af);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_FILTER(EARWAX, earwax, af);
|
|
|
|
REGISTER_FILTER(EBUR128, ebur128, af);
|
2013-01-24 20:20:05 +03:00
|
|
|
REGISTER_FILTER(EQUALIZER, equalizer, af);
|
2015-09-05 05:55:47 +02:00
|
|
|
REGISTER_FILTER(EXTRASTEREO, extrastereo, af);
|
2014-06-27 11:42:35 +03:00
|
|
|
REGISTER_FILTER(FLANGER, flanger, af);
|
2013-01-24 20:20:05 +03:00
|
|
|
REGISTER_FILTER(HIGHPASS, highpass, af);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(JOIN, join, af);
|
2013-09-20 17:01:00 +03:00
|
|
|
REGISTER_FILTER(LADSPA, ladspa, af);
|
2013-01-24 20:20:05 +03:00
|
|
|
REGISTER_FILTER(LOWPASS, lowpass, af);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_FILTER(PAN, pan, af);
|
2013-09-26 12:41:53 +03:00
|
|
|
REGISTER_FILTER(REPLAYGAIN, replaygain, af);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(RESAMPLE, resample, af);
|
2015-09-18 22:22:05 +02:00
|
|
|
REGISTER_FILTER(RUBBERBAND, rubberband, af);
|
2015-07-17 20:44:16 +02:00
|
|
|
REGISTER_FILTER(SIDECHAINCOMPRESS, sidechaincompress, af);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_FILTER(SILENCEDETECT, silencedetect, af);
|
2014-07-02 12:39:07 +03:00
|
|
|
REGISTER_FILTER(SILENCEREMOVE, silenceremove, af);
|
2015-09-15 16:23:04 +02:00
|
|
|
REGISTER_FILTER(STEREOTOOLS, stereotools, af);
|
2015-09-12 06:01:18 +02:00
|
|
|
REGISTER_FILTER(STEREOWIDEN, stereowiden, af);
|
2013-01-24 20:20:05 +03:00
|
|
|
REGISTER_FILTER(TREBLE, treble, af);
|
2015-09-21 17:16:43 +02:00
|
|
|
REGISTER_FILTER(TREMOLO, tremolo, af);
|
2015-10-24 07:08:19 +02:00
|
|
|
REGISTER_FILTER(VIBRATO, vibrato, af);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(VOLUME, volume, af);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_FILTER(VOLUMEDETECT, volumedetect, af);
|
2010-08-21 02:16:51 +03:00
|
|
|
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_FILTER(AEVALSRC, aevalsrc, asrc);
|
2015-11-08 13:39:37 +02:00
|
|
|
REGISTER_FILTER(ANOISESRC, anoisesrc, asrc);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(ANULLSRC, anullsrc, asrc);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_FILTER(FLITE, flite, asrc);
|
2013-03-16 18:33:05 +03:00
|
|
|
REGISTER_FILTER(SINE, sine, asrc);
|
2010-09-25 04:56:58 +03:00
|
|
|
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(ANULLSINK, anullsink, asink);
|
2010-09-25 04:57:01 +03:00
|
|
|
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_FILTER(ALPHAEXTRACT, alphaextract, vf);
|
|
|
|
REGISTER_FILTER(ALPHAMERGE, alphamerge, vf);
|
2015-07-29 19:04:28 +02:00
|
|
|
REGISTER_FILTER(ATADENOISE, atadenoise, vf);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_FILTER(ASS, ass, vf);
|
|
|
|
REGISTER_FILTER(BBOX, bbox, vf);
|
|
|
|
REGISTER_FILTER(BLACKDETECT, blackdetect, vf);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(BLACKFRAME, blackframe, vf);
|
2013-02-11 19:01:40 +03:00
|
|
|
REGISTER_FILTER(BLEND, blend, vf);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(BOXBLUR, boxblur, vf);
|
2015-09-23 18:06:46 +02:00
|
|
|
REGISTER_FILTER(CHROMAKEY, chromakey, vf);
|
2014-08-18 17:32:26 +03:00
|
|
|
REGISTER_FILTER(CODECVIEW, codecview, vf);
|
2013-04-15 01:16:51 +03:00
|
|
|
REGISTER_FILTER(COLORBALANCE, colorbalance, vf);
|
2013-04-15 19:56:29 +03:00
|
|
|
REGISTER_FILTER(COLORCHANNELMIXER, colorchannelmixer, vf);
|
2015-06-13 15:09:07 +02:00
|
|
|
REGISTER_FILTER(COLORKEY, colorkey, vf);
|
2014-12-06 16:04:38 +02:00
|
|
|
REGISTER_FILTER(COLORLEVELS, colorlevels, vf);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_FILTER(COLORMATRIX, colormatrix, vf);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(COPY, copy, vf);
|
2015-05-02 21:00:38 +02:00
|
|
|
REGISTER_FILTER(COVER_RECT, cover_rect, vf);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(CROP, crop, vf);
|
|
|
|
REGISTER_FILTER(CROPDETECT, cropdetect, vf);
|
2013-03-04 18:06:14 +03:00
|
|
|
REGISTER_FILTER(CURVES, curves, vf);
|
2013-04-24 16:28:53 +03:00
|
|
|
REGISTER_FILTER(DCTDNOIZ, dctdnoiz, vf);
|
2015-07-10 18:16:53 +02:00
|
|
|
REGISTER_FILTER(DEBAND, deband, vf);
|
2012-12-11 02:53:10 +03:00
|
|
|
REGISTER_FILTER(DECIMATE, decimate, vf);
|
2015-02-25 11:34:32 +02:00
|
|
|
REGISTER_FILTER(DEFLATE, deflate, vf);
|
2014-02-15 00:15:44 +03:00
|
|
|
REGISTER_FILTER(DEJUDDER, dejudder, vf);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(DELOGO, delogo, vf);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_FILTER(DESHAKE, deshake, vf);
|
2015-03-27 16:06:05 +02:00
|
|
|
REGISTER_FILTER(DETELECINE, detelecine, vf);
|
2015-02-25 11:34:32 +02:00
|
|
|
REGISTER_FILTER(DILATION, dilation, vf);
|
2015-07-23 21:25:24 +02:00
|
|
|
REGISTER_FILTER(DISPLACE, displace, vf);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(DRAWBOX, drawbox, vf);
|
2015-06-24 17:48:57 +02:00
|
|
|
REGISTER_FILTER(DRAWGRAPH, drawgraph, vf);
|
2013-05-13 21:48:44 +03:00
|
|
|
REGISTER_FILTER(DRAWGRID, drawgrid, vf);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(DRAWTEXT, drawtext, vf);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_FILTER(EDGEDETECT, edgedetect, vf);
|
2013-11-11 01:46:41 +03:00
|
|
|
REGISTER_FILTER(ELBG, elbg, vf);
|
2015-01-19 00:26:48 +02:00
|
|
|
REGISTER_FILTER(EQ, eq, vf);
|
2015-02-25 11:34:32 +02:00
|
|
|
REGISTER_FILTER(EROSION, erosion, vf);
|
2013-04-30 15:12:12 +03:00
|
|
|
REGISTER_FILTER(EXTRACTPLANES, extractplanes, vf);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(FADE, fade, vf);
|
2015-02-24 08:47:30 +02:00
|
|
|
REGISTER_FILTER(FFTFILT, fftfilt, vf);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_FILTER(FIELD, field, vf);
|
2012-12-11 02:53:10 +03:00
|
|
|
REGISTER_FILTER(FIELDMATCH, fieldmatch, vf);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(FIELDORDER, fieldorder, vf);
|
2015-05-02 21:00:01 +02:00
|
|
|
REGISTER_FILTER(FIND_RECT, find_rect, vf);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(FORMAT, format, vf);
|
|
|
|
REGISTER_FILTER(FPS, fps, vf);
|
2014-01-09 21:50:19 +03:00
|
|
|
REGISTER_FILTER(FRAMEPACK, framepack, vf);
|
2015-07-24 09:09:16 +02:00
|
|
|
REGISTER_FILTER(FRAMERATE, framerate, vf);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_FILTER(FRAMESTEP, framestep, vf);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(FREI0R, frei0r, vf);
|
2014-12-23 18:54:37 +02:00
|
|
|
REGISTER_FILTER(FSPP, fspp, vf);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_FILTER(GEQ, geq, vf);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(GRADFUN, gradfun, vf);
|
2013-05-25 02:07:46 +03:00
|
|
|
REGISTER_FILTER(HALDCLUT, haldclut, vf);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(HFLIP, hflip, vf);
|
2012-10-20 08:45:51 +03:00
|
|
|
REGISTER_FILTER(HISTEQ, histeq, vf);
|
2012-12-21 21:50:13 +03:00
|
|
|
REGISTER_FILTER(HISTOGRAM, histogram, vf);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(HQDN3D, hqdn3d, vf);
|
2013-06-07 11:57:29 +03:00
|
|
|
REGISTER_FILTER(HQX, hqx, vf);
|
2015-08-24 22:00:59 +02:00
|
|
|
REGISTER_FILTER(HSTACK, hstack, vf);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_FILTER(HUE, hue, vf);
|
|
|
|
REGISTER_FILTER(IDET, idet, vf);
|
2013-02-08 18:48:59 +03:00
|
|
|
REGISTER_FILTER(IL, il, vf);
|
2015-02-25 11:34:32 +02:00
|
|
|
REGISTER_FILTER(INFLATE, inflate, vf);
|
2013-03-12 13:35:21 +03:00
|
|
|
REGISTER_FILTER(INTERLACE, interlace, vf);
|
2013-04-08 16:16:06 +03:00
|
|
|
REGISTER_FILTER(INTERLEAVE, interleave, vf);
|
2012-10-18 10:50:53 +03:00
|
|
|
REGISTER_FILTER(KERNDEINT, kerndeint, vf);
|
2014-08-12 01:52:45 +03:00
|
|
|
REGISTER_FILTER(LENSCORRECTION, lenscorrection, vf);
|
2013-05-07 15:48:56 +03:00
|
|
|
REGISTER_FILTER(LUT3D, lut3d, vf);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(LUT, lut, vf);
|
|
|
|
REGISTER_FILTER(LUTRGB, lutrgb, vf);
|
|
|
|
REGISTER_FILTER(LUTYUV, lutyuv, vf);
|
2015-09-25 22:46:38 +02:00
|
|
|
REGISTER_FILTER(MASKEDMERGE, maskedmerge, vf);
|
2013-05-28 14:40:39 +03:00
|
|
|
REGISTER_FILTER(MCDEINT, mcdeint, vf);
|
2013-09-27 21:37:51 +03:00
|
|
|
REGISTER_FILTER(MERGEPLANES, mergeplanes, vf);
|
2013-03-23 00:58:36 +03:00
|
|
|
REGISTER_FILTER(MPDECIMATE, mpdecimate, vf);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(NEGATE, negate, vf);
|
|
|
|
REGISTER_FILTER(NOFORMAT, noformat, vf);
|
2013-02-10 18:18:30 +03:00
|
|
|
REGISTER_FILTER(NOISE, noise, vf);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(NULL, null, vf);
|
2015-09-09 15:43:35 +02:00
|
|
|
REGISTER_FILTER(OCR, ocr, vf);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(OCV, ocv, vf);
|
|
|
|
REGISTER_FILTER(OVERLAY, overlay, vf);
|
2013-05-10 22:27:15 +03:00
|
|
|
REGISTER_FILTER(OWDENOISE, owdenoise, vf);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(PAD, pad, vf);
|
2015-01-24 22:37:59 +02:00
|
|
|
REGISTER_FILTER(PALETTEGEN, palettegen, vf);
|
2015-01-24 22:38:15 +02:00
|
|
|
REGISTER_FILTER(PALETTEUSE, paletteuse, vf);
|
2013-03-13 07:59:20 +03:00
|
|
|
REGISTER_FILTER(PERMS, perms, vf);
|
2013-07-12 20:50:22 +03:00
|
|
|
REGISTER_FILTER(PERSPECTIVE, perspective, vf);
|
2013-08-31 21:46:17 +03:00
|
|
|
REGISTER_FILTER(PHASE, phase, vf);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(PIXDESCTEST, pixdesctest, vf);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_FILTER(PP, pp, vf);
|
2014-12-25 06:20:24 +02:00
|
|
|
REGISTER_FILTER(PP7, pp7, vf);
|
2013-07-06 03:21:12 +03:00
|
|
|
REGISTER_FILTER(PSNR, psnr, vf);
|
2013-07-08 15:42:53 +03:00
|
|
|
REGISTER_FILTER(PULLUP, pullup, vf);
|
2013-09-19 02:57:55 +03:00
|
|
|
REGISTER_FILTER(QP, qp, vf);
|
2015-07-15 03:48:37 +02:00
|
|
|
REGISTER_FILTER(RANDOM, random, vf);
|
2015-10-25 18:31:58 +02:00
|
|
|
REGISTER_FILTER(REALTIME, realtime, vf);
|
2015-07-04 22:19:05 +02:00
|
|
|
REGISTER_FILTER(REMOVEGRAIN, removegrain, vf);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_FILTER(REMOVELOGO, removelogo, vf);
|
2015-01-28 17:13:27 +02:00
|
|
|
REGISTER_FILTER(REPEATFIELDS, repeatfields, vf);
|
2015-07-16 19:43:59 +02:00
|
|
|
REGISTER_FILTER(REVERSE, reverse, vf);
|
2013-06-11 11:31:59 +03:00
|
|
|
REGISTER_FILTER(ROTATE, rotate, vf);
|
2013-06-03 14:34:04 +03:00
|
|
|
REGISTER_FILTER(SAB, sab, vf);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(SCALE, scale, vf);
|
2015-08-15 18:38:06 +02:00
|
|
|
REGISTER_FILTER(SCALE2REF, scale2ref, vf);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(SELECT, select, vf);
|
2015-06-07 20:21:28 +02:00
|
|
|
REGISTER_FILTER(SELECTIVECOLOR, selectivecolor, vf);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_FILTER(SENDCMD, sendcmd, vf);
|
2013-04-09 18:35:23 +03:00
|
|
|
REGISTER_FILTER(SEPARATEFIELDS, separatefields, vf);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(SETDAR, setdar, vf);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_FILTER(SETFIELD, setfield, vf);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(SETPTS, setpts, vf);
|
|
|
|
REGISTER_FILTER(SETSAR, setsar, vf);
|
|
|
|
REGISTER_FILTER(SETTB, settb, vf);
|
|
|
|
REGISTER_FILTER(SHOWINFO, showinfo, vf);
|
2015-01-15 12:39:06 +02:00
|
|
|
REGISTER_FILTER(SHOWPALETTE, showpalette, vf);
|
2015-10-20 10:26:54 +02:00
|
|
|
REGISTER_FILTER(SHUFFLEFRAMES, shuffleframes, vf);
|
2014-02-23 17:38:13 +03:00
|
|
|
REGISTER_FILTER(SHUFFLEPLANES, shuffleplanes, vf);
|
2014-06-11 22:14:01 +03:00
|
|
|
REGISTER_FILTER(SIGNALSTATS, signalstats, vf);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_FILTER(SMARTBLUR, smartblur, vf);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(SPLIT, split, vf);
|
2013-05-11 13:03:38 +03:00
|
|
|
REGISTER_FILTER(SPP, spp, vf);
|
2015-06-21 13:27:55 +02:00
|
|
|
REGISTER_FILTER(SSIM, ssim, vf);
|
2013-03-01 20:35:52 +03:00
|
|
|
REGISTER_FILTER(STEREO3D, stereo3d, vf);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_FILTER(SUBTITLES, subtitles, vf);
|
|
|
|
REGISTER_FILTER(SUPER2XSAI, super2xsai, vf);
|
|
|
|
REGISTER_FILTER(SWAPUV, swapuv, vf);
|
2014-12-04 13:27:53 +02:00
|
|
|
REGISTER_FILTER(TBLEND, tblend, vf);
|
2013-04-06 16:45:52 +03:00
|
|
|
REGISTER_FILTER(TELECINE, telecine, vf);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_FILTER(THUMBNAIL, thumbnail, vf);
|
|
|
|
REGISTER_FILTER(TILE, tile, vf);
|
|
|
|
REGISTER_FILTER(TINTERLACE, tinterlace, vf);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(TRANSPOSE, transpose, vf);
|
2013-04-02 20:30:11 +03:00
|
|
|
REGISTER_FILTER(TRIM, trim, vf);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(UNSHARP, unsharp, vf);
|
2014-12-07 15:26:46 +02:00
|
|
|
REGISTER_FILTER(USPP, uspp, vf);
|
2015-08-15 14:37:16 +02:00
|
|
|
REGISTER_FILTER(VECTORSCOPE, vectorscope, vf);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(VFLIP, vflip, vf);
|
2013-04-19 02:49:27 +03:00
|
|
|
REGISTER_FILTER(VIDSTABDETECT, vidstabdetect, vf);
|
|
|
|
REGISTER_FILTER(VIDSTABTRANSFORM, vidstabtransform, vf);
|
2013-04-02 13:48:32 +03:00
|
|
|
REGISTER_FILTER(VIGNETTE, vignette, vf);
|
2015-08-24 22:00:59 +02:00
|
|
|
REGISTER_FILTER(VSTACK, vstack, vf);
|
2013-09-04 15:59:18 +03:00
|
|
|
REGISTER_FILTER(W3FDIF, w3fdif, vf);
|
2015-08-16 13:01:53 +02:00
|
|
|
REGISTER_FILTER(WAVEFORM, waveform, vf);
|
2014-10-30 18:36:20 +02:00
|
|
|
REGISTER_FILTER(XBR, xbr, vf);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(YADIF, yadif, vf);
|
2013-04-21 16:00:11 +03:00
|
|
|
REGISTER_FILTER(ZMQ, zmq, vf);
|
2013-09-16 18:31:15 +03:00
|
|
|
REGISTER_FILTER(ZOOMPAN, zoompan, vf);
|
2015-09-21 15:34:15 +02:00
|
|
|
REGISTER_FILTER(ZSCALE, zscale, vf);
|
2010-01-16 12:43:53 +02:00
|
|
|
|
2015-08-16 01:22:59 +02:00
|
|
|
REGISTER_FILTER(ALLRGB, allrgb, vsrc);
|
2015-07-23 09:07:26 +02:00
|
|
|
REGISTER_FILTER(ALLYUV, allyuv, vsrc);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_FILTER(CELLAUTO, cellauto, vsrc);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(COLOR, color, vsrc);
|
|
|
|
REGISTER_FILTER(FREI0R, frei0r_src, vsrc);
|
2013-05-23 11:13:35 +03:00
|
|
|
REGISTER_FILTER(HALDCLUTSRC, haldclutsrc, vsrc);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_FILTER(LIFE, life, vsrc);
|
|
|
|
REGISTER_FILTER(MANDELBROT, mandelbrot, vsrc);
|
|
|
|
REGISTER_FILTER(MPTESTSRC, mptestsrc, vsrc);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(NULLSRC, nullsrc, vsrc);
|
|
|
|
REGISTER_FILTER(RGBTESTSRC, rgbtestsrc, vsrc);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_FILTER(SMPTEBARS, smptebars, vsrc);
|
2013-04-11 18:49:44 +03:00
|
|
|
REGISTER_FILTER(SMPTEHDBARS, smptehdbars, vsrc);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(TESTSRC, testsrc, vsrc);
|
2015-10-25 17:31:00 +02:00
|
|
|
REGISTER_FILTER(TESTSRC2, testsrc2, vsrc);
|
2010-01-16 13:05:36 +02:00
|
|
|
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_FILTER(NULLSINK, nullsink, vsink);
|
2011-12-21 22:47:52 +03:00
|
|
|
|
2012-07-23 12:44:48 +03:00
|
|
|
/* multimedia filters */
|
2015-06-24 17:48:57 +02:00
|
|
|
REGISTER_FILTER(ADRAWGRAPH, adrawgraph, avf);
|
2015-08-11 16:37:45 +02:00
|
|
|
REGISTER_FILTER(APHASEMETER, aphasemeter, avf);
|
2013-02-21 13:32:59 +03:00
|
|
|
REGISTER_FILTER(AVECTORSCOPE, avectorscope, avf);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_FILTER(CONCAT, concat, avf);
|
2014-06-05 07:42:38 +03:00
|
|
|
REGISTER_FILTER(SHOWCQT, showcqt, avf);
|
2015-08-04 14:41:35 +02:00
|
|
|
REGISTER_FILTER(SHOWFREQS, showfreqs, avf);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_FILTER(SHOWSPECTRUM, showspectrum, avf);
|
2015-02-20 12:28:36 +02:00
|
|
|
REGISTER_FILTER(SHOWVOLUME, showvolume, avf);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_FILTER(SHOWWAVES, showwaves, avf);
|
2014-12-24 16:03:26 +02:00
|
|
|
REGISTER_FILTER(SHOWWAVESPIC, showwavespic, avf);
|
2011-12-25 19:37:53 +03:00
|
|
|
|
2012-07-24 00:21:33 +03:00
|
|
|
/* multimedia sources */
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_FILTER(AMOVIE, amovie, avsrc);
|
|
|
|
REGISTER_FILTER(MOVIE, movie, avsrc);
|
2012-07-24 00:21:33 +03:00
|
|
|
|
2012-05-05 11:22:55 +03:00
|
|
|
/* those filters are part of public or internal API => registered
|
|
|
|
* unconditionally */
|
2012-12-23 21:06:35 +03:00
|
|
|
REGISTER_FILTER_UNCONDITIONAL(asrc_abuffer);
|
|
|
|
REGISTER_FILTER_UNCONDITIONAL(vsrc_buffer);
|
2013-03-11 23:26:03 +03:00
|
|
|
REGISTER_FILTER_UNCONDITIONAL(asink_abuffer);
|
|
|
|
REGISTER_FILTER_UNCONDITIONAL(vsink_buffer);
|
2012-12-23 21:06:35 +03:00
|
|
|
REGISTER_FILTER_UNCONDITIONAL(af_afifo);
|
|
|
|
REGISTER_FILTER_UNCONDITIONAL(vf_fifo);
|
2013-04-02 15:54:22 +03:00
|
|
|
ff_opencl_register_filter_kernel_code_all();
|
2008-02-16 00:02:51 +02:00
|
|
|
}
|