LCOV - code coverage report
Current view: top level - libavfilter - allfilters.c (source / functions) Hit Total Coverage
Test: coverage.info Lines: 13 32 40.6 %
Date: 2018-05-20 11:54:08 Functions: 2 6 33.3 %

          Line data    Source code
       1             : /*
       2             :  * filter registration
       3             :  * Copyright (c) 2008 Vitor Sessak
       4             :  *
       5             :  * This file is part of FFmpeg.
       6             :  *
       7             :  * FFmpeg is free software; you can redistribute it and/or
       8             :  * modify it under the terms of the GNU Lesser General Public
       9             :  * License as published by the Free Software Foundation; either
      10             :  * version 2.1 of the License, or (at your option) any later version.
      11             :  *
      12             :  * FFmpeg is distributed in the hope that it will be useful,
      13             :  * but WITHOUT ANY WARRANTY; without even the implied warranty of
      14             :  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
      15             :  * Lesser General Public License for more details.
      16             :  *
      17             :  * You should have received a copy of the GNU Lesser General Public
      18             :  * License along with FFmpeg; if not, write to the Free Software
      19             :  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
      20             :  */
      21             : 
      22             : #include "libavutil/thread.h"
      23             : #include "avfilter.h"
      24             : #include "config.h"
      25             : 
      26             : extern AVFilter ff_af_abench;
      27             : extern AVFilter ff_af_acompressor;
      28             : extern AVFilter ff_af_acontrast;
      29             : extern AVFilter ff_af_acopy;
      30             : extern AVFilter ff_af_acrossfade;
      31             : extern AVFilter ff_af_acrusher;
      32             : extern AVFilter ff_af_adelay;
      33             : extern AVFilter ff_af_aderivative;
      34             : extern AVFilter ff_af_aecho;
      35             : extern AVFilter ff_af_aemphasis;
      36             : extern AVFilter ff_af_aeval;
      37             : extern AVFilter ff_af_afade;
      38             : extern AVFilter ff_af_afftfilt;
      39             : extern AVFilter ff_af_afir;
      40             : extern AVFilter ff_af_aformat;
      41             : extern AVFilter ff_af_agate;
      42             : extern AVFilter ff_af_aiir;
      43             : extern AVFilter ff_af_aintegral;
      44             : extern AVFilter ff_af_ainterleave;
      45             : extern AVFilter ff_af_alimiter;
      46             : extern AVFilter ff_af_allpass;
      47             : extern AVFilter ff_af_aloop;
      48             : extern AVFilter ff_af_amerge;
      49             : extern AVFilter ff_af_ametadata;
      50             : extern AVFilter ff_af_amix;
      51             : extern AVFilter ff_af_anequalizer;
      52             : extern AVFilter ff_af_anull;
      53             : extern AVFilter ff_af_apad;
      54             : extern AVFilter ff_af_aperms;
      55             : extern AVFilter ff_af_aphaser;
      56             : extern AVFilter ff_af_apulsator;
      57             : extern AVFilter ff_af_arealtime;
      58             : extern AVFilter ff_af_aresample;
      59             : extern AVFilter ff_af_areverse;
      60             : extern AVFilter ff_af_aselect;
      61             : extern AVFilter ff_af_asendcmd;
      62             : extern AVFilter ff_af_asetnsamples;
      63             : extern AVFilter ff_af_asetpts;
      64             : extern AVFilter ff_af_asetrate;
      65             : extern AVFilter ff_af_asettb;
      66             : extern AVFilter ff_af_ashowinfo;
      67             : extern AVFilter ff_af_asidedata;
      68             : extern AVFilter ff_af_asplit;
      69             : extern AVFilter ff_af_astats;
      70             : extern AVFilter ff_af_astreamselect;
      71             : extern AVFilter ff_af_atempo;
      72             : extern AVFilter ff_af_atrim;
      73             : extern AVFilter ff_af_azmq;
      74             : extern AVFilter ff_af_bandpass;
      75             : extern AVFilter ff_af_bandreject;
      76             : extern AVFilter ff_af_bass;
      77             : extern AVFilter ff_af_biquad;
      78             : extern AVFilter ff_af_bs2b;
      79             : extern AVFilter ff_af_channelmap;
      80             : extern AVFilter ff_af_channelsplit;
      81             : extern AVFilter ff_af_chorus;
      82             : extern AVFilter ff_af_compand;
      83             : extern AVFilter ff_af_compensationdelay;
      84             : extern AVFilter ff_af_crossfeed;
      85             : extern AVFilter ff_af_crystalizer;
      86             : extern AVFilter ff_af_dcshift;
      87             : extern AVFilter ff_af_drmeter;
      88             : extern AVFilter ff_af_dynaudnorm;
      89             : extern AVFilter ff_af_earwax;
      90             : extern AVFilter ff_af_ebur128;
      91             : extern AVFilter ff_af_equalizer;
      92             : extern AVFilter ff_af_extrastereo;
      93             : extern AVFilter ff_af_firequalizer;
      94             : extern AVFilter ff_af_flanger;
      95             : extern AVFilter ff_af_haas;
      96             : extern AVFilter ff_af_hdcd;
      97             : extern AVFilter ff_af_headphone;
      98             : extern AVFilter ff_af_highpass;
      99             : extern AVFilter ff_af_highshelf;
     100             : extern AVFilter ff_af_join;
     101             : extern AVFilter ff_af_ladspa;
     102             : extern AVFilter ff_af_loudnorm;
     103             : extern AVFilter ff_af_lowpass;
     104             : extern AVFilter ff_af_lowshelf;
     105             : extern AVFilter ff_af_lv2;
     106             : extern AVFilter ff_af_mcompand;
     107             : extern AVFilter ff_af_pan;
     108             : extern AVFilter ff_af_replaygain;
     109             : extern AVFilter ff_af_resample;
     110             : extern AVFilter ff_af_rubberband;
     111             : extern AVFilter ff_af_sidechaincompress;
     112             : extern AVFilter ff_af_sidechaingate;
     113             : extern AVFilter ff_af_silencedetect;
     114             : extern AVFilter ff_af_silenceremove;
     115             : extern AVFilter ff_af_sofalizer;
     116             : extern AVFilter ff_af_stereotools;
     117             : extern AVFilter ff_af_stereowiden;
     118             : extern AVFilter ff_af_superequalizer;
     119             : extern AVFilter ff_af_surround;
     120             : extern AVFilter ff_af_treble;
     121             : extern AVFilter ff_af_tremolo;
     122             : extern AVFilter ff_af_vibrato;
     123             : extern AVFilter ff_af_volume;
     124             : extern AVFilter ff_af_volumedetect;
     125             : 
     126             : extern AVFilter ff_asrc_aevalsrc;
     127             : extern AVFilter ff_asrc_anoisesrc;
     128             : extern AVFilter ff_asrc_anullsrc;
     129             : extern AVFilter ff_asrc_flite;
     130             : extern AVFilter ff_asrc_hilbert;
     131             : extern AVFilter ff_asrc_sine;
     132             : 
     133             : extern AVFilter ff_asink_anullsink;
     134             : 
     135             : extern AVFilter ff_vf_alphaextract;
     136             : extern AVFilter ff_vf_alphamerge;
     137             : extern AVFilter ff_vf_amplify;
     138             : extern AVFilter ff_vf_ass;
     139             : extern AVFilter ff_vf_atadenoise;
     140             : extern AVFilter ff_vf_avgblur;
     141             : extern AVFilter ff_vf_avgblur_opencl;
     142             : extern AVFilter ff_vf_bbox;
     143             : extern AVFilter ff_vf_bench;
     144             : extern AVFilter ff_vf_bitplanenoise;
     145             : extern AVFilter ff_vf_blackdetect;
     146             : extern AVFilter ff_vf_blackframe;
     147             : extern AVFilter ff_vf_blend;
     148             : extern AVFilter ff_vf_boxblur;
     149             : extern AVFilter ff_vf_bwdif;
     150             : extern AVFilter ff_vf_chromakey;
     151             : extern AVFilter ff_vf_ciescope;
     152             : extern AVFilter ff_vf_codecview;
     153             : extern AVFilter ff_vf_colorbalance;
     154             : extern AVFilter ff_vf_colorchannelmixer;
     155             : extern AVFilter ff_vf_colorkey;
     156             : extern AVFilter ff_vf_colorlevels;
     157             : extern AVFilter ff_vf_colormatrix;
     158             : extern AVFilter ff_vf_colorspace;
     159             : extern AVFilter ff_vf_convolution;
     160             : extern AVFilter ff_vf_convolution_opencl;
     161             : extern AVFilter ff_vf_convolve;
     162             : extern AVFilter ff_vf_copy;
     163             : extern AVFilter ff_vf_coreimage;
     164             : extern AVFilter ff_vf_cover_rect;
     165             : extern AVFilter ff_vf_crop;
     166             : extern AVFilter ff_vf_cropdetect;
     167             : extern AVFilter ff_vf_curves;
     168             : extern AVFilter ff_vf_datascope;
     169             : extern AVFilter ff_vf_dctdnoiz;
     170             : extern AVFilter ff_vf_deband;
     171             : extern AVFilter ff_vf_deblock;
     172             : extern AVFilter ff_vf_decimate;
     173             : extern AVFilter ff_vf_deconvolve;
     174             : extern AVFilter ff_vf_deflate;
     175             : extern AVFilter ff_vf_deflicker;
     176             : extern AVFilter ff_vf_deinterlace_qsv;
     177             : extern AVFilter ff_vf_deinterlace_vaapi;
     178             : extern AVFilter ff_vf_dejudder;
     179             : extern AVFilter ff_vf_delogo;
     180             : extern AVFilter ff_vf_denoise_vaapi;
     181             : extern AVFilter ff_vf_deshake;
     182             : extern AVFilter ff_vf_despill;
     183             : extern AVFilter ff_vf_detelecine;
     184             : extern AVFilter ff_vf_dilation;
     185             : extern AVFilter ff_vf_displace;
     186             : extern AVFilter ff_vf_doubleweave;
     187             : extern AVFilter ff_vf_drawbox;
     188             : extern AVFilter ff_vf_drawgraph;
     189             : extern AVFilter ff_vf_drawgrid;
     190             : extern AVFilter ff_vf_drawtext;
     191             : extern AVFilter ff_vf_edgedetect;
     192             : extern AVFilter ff_vf_elbg;
     193             : extern AVFilter ff_vf_entropy;
     194             : extern AVFilter ff_vf_eq;
     195             : extern AVFilter ff_vf_erosion;
     196             : extern AVFilter ff_vf_extractplanes;
     197             : extern AVFilter ff_vf_fade;
     198             : extern AVFilter ff_vf_fftdnoiz;
     199             : extern AVFilter ff_vf_fftfilt;
     200             : extern AVFilter ff_vf_field;
     201             : extern AVFilter ff_vf_fieldhint;
     202             : extern AVFilter ff_vf_fieldmatch;
     203             : extern AVFilter ff_vf_fieldorder;
     204             : extern AVFilter ff_vf_fillborders;
     205             : extern AVFilter ff_vf_find_rect;
     206             : extern AVFilter ff_vf_floodfill;
     207             : extern AVFilter ff_vf_format;
     208             : extern AVFilter ff_vf_fps;
     209             : extern AVFilter ff_vf_framepack;
     210             : extern AVFilter ff_vf_framerate;
     211             : extern AVFilter ff_vf_framestep;
     212             : extern AVFilter ff_vf_frei0r;
     213             : extern AVFilter ff_vf_fspp;
     214             : extern AVFilter ff_vf_gblur;
     215             : extern AVFilter ff_vf_geq;
     216             : extern AVFilter ff_vf_gradfun;
     217             : extern AVFilter ff_vf_haldclut;
     218             : extern AVFilter ff_vf_hflip;
     219             : extern AVFilter ff_vf_histeq;
     220             : extern AVFilter ff_vf_histogram;
     221             : extern AVFilter ff_vf_hqdn3d;
     222             : extern AVFilter ff_vf_hqx;
     223             : extern AVFilter ff_vf_hstack;
     224             : extern AVFilter ff_vf_hue;
     225             : extern AVFilter ff_vf_hwdownload;
     226             : extern AVFilter ff_vf_hwmap;
     227             : extern AVFilter ff_vf_hwupload;
     228             : extern AVFilter ff_vf_hwupload_cuda;
     229             : extern AVFilter ff_vf_hysteresis;
     230             : extern AVFilter ff_vf_idet;
     231             : extern AVFilter ff_vf_il;
     232             : extern AVFilter ff_vf_inflate;
     233             : extern AVFilter ff_vf_interlace;
     234             : extern AVFilter ff_vf_interleave;
     235             : extern AVFilter ff_vf_kerndeint;
     236             : extern AVFilter ff_vf_lenscorrection;
     237             : extern AVFilter ff_vf_libvmaf;
     238             : extern AVFilter ff_vf_limiter;
     239             : extern AVFilter ff_vf_loop;
     240             : extern AVFilter ff_vf_lumakey;
     241             : extern AVFilter ff_vf_lut;
     242             : extern AVFilter ff_vf_lut2;
     243             : extern AVFilter ff_vf_lut3d;
     244             : extern AVFilter ff_vf_lutrgb;
     245             : extern AVFilter ff_vf_lutyuv;
     246             : extern AVFilter ff_vf_maskedclamp;
     247             : extern AVFilter ff_vf_maskedmerge;
     248             : extern AVFilter ff_vf_mcdeint;
     249             : extern AVFilter ff_vf_mergeplanes;
     250             : extern AVFilter ff_vf_mestimate;
     251             : extern AVFilter ff_vf_metadata;
     252             : extern AVFilter ff_vf_midequalizer;
     253             : extern AVFilter ff_vf_minterpolate;
     254             : extern AVFilter ff_vf_mix;
     255             : extern AVFilter ff_vf_mpdecimate;
     256             : extern AVFilter ff_vf_negate;
     257             : extern AVFilter ff_vf_nlmeans;
     258             : extern AVFilter ff_vf_nnedi;
     259             : extern AVFilter ff_vf_noformat;
     260             : extern AVFilter ff_vf_noise;
     261             : extern AVFilter ff_vf_normalize;
     262             : extern AVFilter ff_vf_null;
     263             : extern AVFilter ff_vf_ocr;
     264             : extern AVFilter ff_vf_ocv;
     265             : extern AVFilter ff_vf_oscilloscope;
     266             : extern AVFilter ff_vf_overlay;
     267             : extern AVFilter ff_vf_overlay_opencl;
     268             : extern AVFilter ff_vf_overlay_qsv;
     269             : extern AVFilter ff_vf_owdenoise;
     270             : extern AVFilter ff_vf_pad;
     271             : extern AVFilter ff_vf_palettegen;
     272             : extern AVFilter ff_vf_paletteuse;
     273             : extern AVFilter ff_vf_perms;
     274             : extern AVFilter ff_vf_perspective;
     275             : extern AVFilter ff_vf_phase;
     276             : extern AVFilter ff_vf_pixdesctest;
     277             : extern AVFilter ff_vf_pixscope;
     278             : extern AVFilter ff_vf_pp;
     279             : extern AVFilter ff_vf_pp7;
     280             : extern AVFilter ff_vf_premultiply;
     281             : extern AVFilter ff_vf_prewitt;
     282             : extern AVFilter ff_vf_procamp_vaapi;
     283             : extern AVFilter ff_vf_program_opencl;
     284             : extern AVFilter ff_vf_pseudocolor;
     285             : extern AVFilter ff_vf_psnr;
     286             : extern AVFilter ff_vf_pullup;
     287             : extern AVFilter ff_vf_qp;
     288             : extern AVFilter ff_vf_random;
     289             : extern AVFilter ff_vf_readeia608;
     290             : extern AVFilter ff_vf_readvitc;
     291             : extern AVFilter ff_vf_realtime;
     292             : extern AVFilter ff_vf_remap;
     293             : extern AVFilter ff_vf_removegrain;
     294             : extern AVFilter ff_vf_removelogo;
     295             : extern AVFilter ff_vf_repeatfields;
     296             : extern AVFilter ff_vf_reverse;
     297             : extern AVFilter ff_vf_roberts;
     298             : extern AVFilter ff_vf_rotate;
     299             : extern AVFilter ff_vf_sab;
     300             : extern AVFilter ff_vf_scale;
     301             : extern AVFilter ff_vf_scale_cuda;
     302             : extern AVFilter ff_vf_scale_npp;
     303             : extern AVFilter ff_vf_scale_qsv;
     304             : extern AVFilter ff_vf_scale_vaapi;
     305             : extern AVFilter ff_vf_scale2ref;
     306             : extern AVFilter ff_vf_select;
     307             : extern AVFilter ff_vf_selectivecolor;
     308             : extern AVFilter ff_vf_sendcmd;
     309             : extern AVFilter ff_vf_separatefields;
     310             : extern AVFilter ff_vf_setdar;
     311             : extern AVFilter ff_vf_setfield;
     312             : extern AVFilter ff_vf_setpts;
     313             : extern AVFilter ff_vf_setrange;
     314             : extern AVFilter ff_vf_setsar;
     315             : extern AVFilter ff_vf_settb;
     316             : extern AVFilter ff_vf_sharpness_vaapi;
     317             : extern AVFilter ff_vf_showinfo;
     318             : extern AVFilter ff_vf_showpalette;
     319             : extern AVFilter ff_vf_shuffleframes;
     320             : extern AVFilter ff_vf_shuffleplanes;
     321             : extern AVFilter ff_vf_sidedata;
     322             : extern AVFilter ff_vf_signalstats;
     323             : extern AVFilter ff_vf_signature;
     324             : extern AVFilter ff_vf_smartblur;
     325             : extern AVFilter ff_vf_sobel;
     326             : extern AVFilter ff_vf_split;
     327             : extern AVFilter ff_vf_spp;
     328             : extern AVFilter ff_vf_srcnn;
     329             : extern AVFilter ff_vf_ssim;
     330             : extern AVFilter ff_vf_stereo3d;
     331             : extern AVFilter ff_vf_streamselect;
     332             : extern AVFilter ff_vf_subtitles;
     333             : extern AVFilter ff_vf_super2xsai;
     334             : extern AVFilter ff_vf_swaprect;
     335             : extern AVFilter ff_vf_swapuv;
     336             : extern AVFilter ff_vf_tblend;
     337             : extern AVFilter ff_vf_telecine;
     338             : extern AVFilter ff_vf_threshold;
     339             : extern AVFilter ff_vf_thumbnail;
     340             : extern AVFilter ff_vf_thumbnail_cuda;
     341             : extern AVFilter ff_vf_tile;
     342             : extern AVFilter ff_vf_tinterlace;
     343             : extern AVFilter ff_vf_tlut2;
     344             : extern AVFilter ff_vf_tmix;
     345             : extern AVFilter ff_vf_tonemap;
     346             : extern AVFilter ff_vf_transpose;
     347             : extern AVFilter ff_vf_trim;
     348             : extern AVFilter ff_vf_unpremultiply;
     349             : extern AVFilter ff_vf_unsharp;
     350             : extern AVFilter ff_vf_unsharp_opencl;
     351             : extern AVFilter ff_vf_uspp;
     352             : extern AVFilter ff_vf_vaguedenoiser;
     353             : extern AVFilter ff_vf_vectorscope;
     354             : extern AVFilter ff_vf_vflip;
     355             : extern AVFilter ff_vf_vfrdet;
     356             : extern AVFilter ff_vf_vidstabdetect;
     357             : extern AVFilter ff_vf_vidstabtransform;
     358             : extern AVFilter ff_vf_vignette;
     359             : extern AVFilter ff_vf_vmafmotion;
     360             : extern AVFilter ff_vf_vpp_qsv;
     361             : extern AVFilter ff_vf_vstack;
     362             : extern AVFilter ff_vf_w3fdif;
     363             : extern AVFilter ff_vf_waveform;
     364             : extern AVFilter ff_vf_weave;
     365             : extern AVFilter ff_vf_xbr;
     366             : extern AVFilter ff_vf_yadif;
     367             : extern AVFilter ff_vf_zmq;
     368             : extern AVFilter ff_vf_zoompan;
     369             : extern AVFilter ff_vf_zscale;
     370             : 
     371             : extern AVFilter ff_vsrc_allrgb;
     372             : extern AVFilter ff_vsrc_allyuv;
     373             : extern AVFilter ff_vsrc_cellauto;
     374             : extern AVFilter ff_vsrc_color;
     375             : extern AVFilter ff_vsrc_coreimagesrc;
     376             : extern AVFilter ff_vsrc_frei0r_src;
     377             : extern AVFilter ff_vsrc_haldclutsrc;
     378             : extern AVFilter ff_vsrc_life;
     379             : extern AVFilter ff_vsrc_mandelbrot;
     380             : extern AVFilter ff_vsrc_mptestsrc;
     381             : extern AVFilter ff_vsrc_nullsrc;
     382             : extern AVFilter ff_vsrc_openclsrc;
     383             : extern AVFilter ff_vsrc_pal75bars;
     384             : extern AVFilter ff_vsrc_pal100bars;
     385             : extern AVFilter ff_vsrc_rgbtestsrc;
     386             : extern AVFilter ff_vsrc_smptebars;
     387             : extern AVFilter ff_vsrc_smptehdbars;
     388             : extern AVFilter ff_vsrc_testsrc;
     389             : extern AVFilter ff_vsrc_testsrc2;
     390             : extern AVFilter ff_vsrc_yuvtestsrc;
     391             : 
     392             : extern AVFilter ff_vsink_nullsink;
     393             : 
     394             : /* multimedia filters */
     395             : extern AVFilter ff_avf_abitscope;
     396             : extern AVFilter ff_avf_adrawgraph;
     397             : extern AVFilter ff_avf_ahistogram;
     398             : extern AVFilter ff_avf_aphasemeter;
     399             : extern AVFilter ff_avf_avectorscope;
     400             : extern AVFilter ff_avf_concat;
     401             : extern AVFilter ff_avf_showcqt;
     402             : extern AVFilter ff_avf_showfreqs;
     403             : extern AVFilter ff_avf_showspectrum;
     404             : extern AVFilter ff_avf_showspectrumpic;
     405             : extern AVFilter ff_avf_showvolume;
     406             : extern AVFilter ff_avf_showwaves;
     407             : extern AVFilter ff_avf_showwavespic;
     408             : extern AVFilter ff_vaf_spectrumsynth;
     409             : 
     410             : /* multimedia sources */
     411             : extern AVFilter ff_avsrc_amovie;
     412             : extern AVFilter ff_avsrc_movie;
     413             : 
     414             : /* those filters are part of public or internal API,
     415             :  * they are formatted to not be found by the grep
     416             :  * as they are manually added again (due to their 'names'
     417             :  * being the same while having different 'types'). */
     418             : extern  AVFilter ff_asrc_abuffer;
     419             : extern  AVFilter ff_vsrc_buffer;
     420             : extern  AVFilter ff_asink_abuffer;
     421             : extern  AVFilter ff_vsink_buffer;
     422             : extern AVFilter ff_af_afifo;
     423             : extern AVFilter ff_vf_fifo;
     424             : 
     425             : #include "libavfilter/filter_list.c"
     426             : 
     427             : 
     428     6613058 : const AVFilter *av_filter_iterate(void **opaque)
     429             : {
     430     6613058 :     uintptr_t i = (uintptr_t)*opaque;
     431     6613058 :     const AVFilter *f = filter_list[i];
     432             : 
     433     6613058 :     if (f)
     434     6613058 :         *opaque = (void*)(i + 1);
     435             : 
     436     6613058 :     return f;
     437             : }
     438             : 
     439       28217 : const AVFilter *avfilter_get_by_name(const char *name)
     440             : {
     441       28217 :     const AVFilter *f = NULL;
     442       28217 :     void *opaque = 0;
     443             : 
     444       28217 :     if (!name)
     445           0 :         return NULL;
     446             : 
     447     6641275 :     while ((f = av_filter_iterate(&opaque)))
     448     6613058 :         if (!strcmp(f->name, name))
     449       28217 :             return (AVFilter *)f;
     450             : 
     451           0 :     return NULL;
     452             : }
     453             : 
     454             : 
     455             : #if FF_API_NEXT
     456             : FF_DISABLE_DEPRECATION_WARNINGS
     457             : static AVOnce av_filter_next_init = AV_ONCE_INIT;
     458             : 
     459           0 : static void av_filter_init_next(void)
     460             : {
     461           0 :     AVFilter *prev = NULL, *p;
     462           0 :     void *i = 0;
     463           0 :     while ((p = (AVFilter*)av_filter_iterate(&i))) {
     464           0 :         if (prev)
     465           0 :             prev->next = p;
     466           0 :         prev = p;
     467             :     }
     468           0 : }
     469             : 
     470           0 : void avfilter_register_all(void)
     471             : {
     472           0 :     ff_thread_once(&av_filter_next_init, av_filter_init_next);
     473           0 : }
     474             : 
     475           0 : int avfilter_register(AVFilter *filter)
     476             : {
     477           0 :     ff_thread_once(&av_filter_next_init, av_filter_init_next);
     478             : 
     479           0 :     return 0;
     480             : }
     481             : 
     482           0 : const AVFilter *avfilter_next(const AVFilter *prev)
     483             : {
     484           0 :     ff_thread_once(&av_filter_next_init, av_filter_init_next);
     485             : 
     486           0 :     return prev ? prev->next : filter_list[0];
     487             : }
     488             : 
     489             : FF_ENABLE_DEPRECATION_WARNINGS
     490             : #endif

Generated by: LCOV version 1.13