]> git.sesse.net Git - ffmpeg/commitdiff
avfilter: don't anonymously typedef structs
authorPaul B Mahol <onemda@gmail.com>
Fri, 12 May 2017 18:00:49 +0000 (20:00 +0200)
committerPaul B Mahol <onemda@gmail.com>
Sat, 13 May 2017 09:39:28 +0000 (11:39 +0200)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
92 files changed:
libavfilter/aeval.c
libavfilter/af_afade.c
libavfilter/af_amerge.c
libavfilter/af_apad.c
libavfilter/af_aresample.c
libavfilter/af_asetnsamples.c
libavfilter/af_asetrate.c
libavfilter/af_astats.c
libavfilter/af_atempo.c
libavfilter/af_earwax.c
libavfilter/af_firequalizer.c
libavfilter/af_hdcd.c
libavfilter/af_volumedetect.c
libavfilter/asrc_anoisesrc.c
libavfilter/asrc_anullsrc.c
libavfilter/asrc_flite.c
libavfilter/asrc_sine.c
libavfilter/avf_concat.c
libavfilter/avf_showcqt.h
libavfilter/avf_showspectrum.c
libavfilter/avf_showwaves.c
libavfilter/bbox.h
libavfilter/buffersink.h
libavfilter/deshake.h
libavfilter/deshake_opencl.h
libavfilter/dualinput.h
libavfilter/ebur128.h
libavfilter/f_bench.c
libavfilter/f_ebur128.c
libavfilter/f_interleave.c
libavfilter/f_perms.c
libavfilter/f_sendcmd.c
libavfilter/f_zmq.c
libavfilter/signature.h
libavfilter/signature_lookup.c
libavfilter/tinterlace.h
libavfilter/unsharp.h
libavfilter/vf_alphamerge.c
libavfilter/vf_bbox.c
libavfilter/vf_blackdetect.c
libavfilter/vf_codecview.c
libavfilter/vf_colorbalance.c
libavfilter/vf_colorchannelmixer.c
libavfilter/vf_colorlevels.c
libavfilter/vf_colormatrix.c
libavfilter/vf_curves.c
libavfilter/vf_decimate.c
libavfilter/vf_dejudder.c
libavfilter/vf_detelecine.c
libavfilter/vf_edgedetect.c
libavfilter/vf_eq.h
libavfilter/vf_extractplanes.c
libavfilter/vf_fftfilt.c
libavfilter/vf_field.c
libavfilter/vf_fieldmatch.c
libavfilter/vf_geq.c
libavfilter/vf_histeq.c
libavfilter/vf_hqx.c
libavfilter/vf_hue.c
libavfilter/vf_idet.h
libavfilter/vf_il.c
libavfilter/vf_kerndeint.c
libavfilter/vf_mcdeint.c
libavfilter/vf_mpdecimate.c
libavfilter/vf_nlmeans.c
libavfilter/vf_noise.h
libavfilter/vf_owdenoise.c
libavfilter/vf_palettegen.c
libavfilter/vf_pp.c
libavfilter/vf_removelogo.c
libavfilter/vf_sab.c
libavfilter/vf_selectivecolor.c
libavfilter/vf_separatefields.c
libavfilter/vf_setfield.c
libavfilter/vf_showpalette.c
libavfilter/vf_signalstats.c
libavfilter/vf_smartblur.c
libavfilter/vf_spp.h
libavfilter/vf_subtitles.c
libavfilter/vf_super2xsai.c
libavfilter/vf_telecine.c
libavfilter/vf_thumbnail.c
libavfilter/vf_tile.c
libavfilter/vf_uspp.c
libavfilter/vf_vidstabdetect.c
libavfilter/vf_vidstabtransform.c
libavfilter/vf_vignette.c
libavfilter/vf_xbr.c
libavfilter/vidstabutils.c
libavfilter/vsrc_cellauto.c
libavfilter/vsrc_life.c
libavfilter/vsrc_mandelbrot.c

index 1f74f49c7221a4563602ac49c20a326c31973056..cdddbaf31d427e7c09c9c3c3bdb4a13f7269af2a 100644 (file)
@@ -53,7 +53,7 @@ enum var_name {
     VAR_VARS_NB
 };
 
-typedef struct {
+typedef struct EvalContext {
     const AVClass *class;
     char *sample_rate_str;
     int sample_rate;
index 3a6266f0cd459b6f60b0c4f2cf50e80e4b1a011d..ba7a2aba6ce62e9896b334918f6ca430492beae0 100644 (file)
@@ -29,7 +29,7 @@
 #include "avfilter.h"
 #include "internal.h"
 
-typedef struct {
+typedef struct AudioFadeContext {
     const AVClass *class;
     int type;
     int curve, curve2;
index 3cf36b30380866b998ace5deea337cc80fd20a99..cc974cdb7fb78e38502bc0f4b3603e782fc6ec7b 100644 (file)
@@ -37,7 +37,7 @@
 
 #define SWR_CH_MAX 64
 
-typedef struct {
+typedef struct AMergeContext {
     const AVClass *class;
     int nb_inputs;
     int route[SWR_CH_MAX]; /**< channels routing, see copy_samples */
index 8171f2a3d40ad26c7cbf0ada673ab0e0e52fe1ff..f7a4199c6486c8d81f33e1c1073be4ce53357b15 100644 (file)
@@ -34,7 +34,7 @@
 #include "audio.h"
 #include "internal.h"
 
-typedef struct {
+typedef struct APadContext {
     const AVClass *class;
     int64_t next_pts;
 
index 2b55d7018104ab73d8427c031bf0d199215393d3..02164324703465f6f516f9b6d8f8cdffce203a00 100644 (file)
@@ -34,7 +34,7 @@
 #include "audio.h"
 #include "internal.h"
 
-typedef struct {
+typedef struct AResampleContext {
     const AVClass *class;
     int sample_rate_arg;
     double ratio;
index b5aa193c2d5df7f6c0ead7f8806b35284df0cf6d..3c2f66b30aa489d94bc029ffcb12fd3c2586a2f5 100644 (file)
@@ -33,7 +33,7 @@
 #include "internal.h"
 #include "formats.h"
 
-typedef struct {
+typedef struct ASNSContext {
     const AVClass *class;
     int nb_out_samples;  ///< how many samples to output
     AVAudioFifo *fifo;   ///< samples are queued here
index 66febd71ba6e9ad42627f2f32ef80201f6570f12..50a5f437499e434b961e930c75b850e6f890fe92 100644 (file)
@@ -22,7 +22,7 @@
 #include "avfilter.h"
 #include "internal.h"
 
-typedef struct {
+typedef struct ASetRateContext {
     const AVClass *class;
     int sample_rate;
     int rescale_pts;
index 51fc2cc0aefbd9e16e063ffe41e3575ac861a8ee..182532f21b75e4d53569914fb234a0cb1207a735 100644 (file)
@@ -42,7 +42,7 @@ typedef struct ChannelStats {
     uint64_t nb_samples;
 } ChannelStats;
 
-typedef struct {
+typedef struct AudioStatsContext {
     const AVClass *class;
     ChannelStats *chstats;
     int nb_channels;
index eb626564cd9c2e31f9fb6827f5bc06cc220b176c..d90910598c103aeb9b5c0a4c426ffe96beb4baa2 100644 (file)
@@ -53,7 +53,7 @@
 /**
  * A fragment of audio waveform
  */
-typedef struct {
+typedef struct AudioFragment {
     // index of the first sample of this fragment in the overall waveform;
     // 0: input sample position
     // 1: output sample position
@@ -84,7 +84,7 @@ typedef enum {
 /**
  * Filter state machine
  */
-typedef struct {
+typedef struct ATempoContext {
     const AVClass *class;
 
     // ring-buffer of input samples, necessary because some times
index b0ba4cff6543eeb1d3158f7ecd9d8aa35ce7060a..7b880c86c6e20226bfa3e1c0bede29c9e5b0287c 100644 (file)
@@ -71,7 +71,7 @@ static const int8_t filt[NUMTAPS] = {
     0,   -5,
     4,    0};
 
-typedef struct {
+typedef struct EarwaxContext {
     int16_t taps[NUMTAPS * 2];
 } EarwaxContext;
 
index 4243d66bd632e893775c832cbd037154ef5c2b34..7741057a65415157a09ee44570d45906ac726cd3 100644 (file)
@@ -52,17 +52,17 @@ enum Scale {
 };
 
 #define NB_GAIN_ENTRY_MAX 4096
-typedef struct {
+typedef struct GainEntry {
     double  freq;
     double  gain;
 } GainEntry;
 
-typedef struct {
+typedef struct OverlapIndex {
     int buf_idx;
     int overlap_idx;
 } OverlapIndex;
 
-typedef struct {
+typedef struct FIREqualizerContext {
     const AVClass *class;
 
     RDFTContext   *analysis_rdft;
index 2800ed9d80857b8d929f2d6183e78bd9a45effdd..fd17646f09cb463b53730a7e39b87bbc3b6c664b 100644 (file)
@@ -837,7 +837,7 @@ static const int32_t gaintab[] = {
 /** tone generator: sample_number, frequency, sample_rate, amplitude */
 #define TONEGEN16(sn, f, sr, a) (int16_t)(sin((6.28318530718 * (sn) * (f)) /(sr)) * (a) * 0x7fff)
 
-typedef struct {
+typedef struct hdcd_state {
     uint64_t window;
     unsigned char readahead;
 
@@ -904,7 +904,7 @@ static const char * const pf_str[] = {
     "?", "A", "B", "A+B"
 };
 
-typedef struct {
+typedef struct hdcd_detection_data {
     hdcd_dv hdcd_detected;
     hdcd_pf packet_type;
     int total_packets;         /**< valid packets */
index c7d58e84c73911a24320623cc30ccd0600335006..43c1ebf02cffaaed80584df1460b20c7430c06a3 100644 (file)
@@ -24,7 +24,7 @@
 #include "avfilter.h"
 #include "internal.h"
 
-typedef struct {
+typedef struct VolDetectContext {
     /**
      * Number of samples at each PCM value.
      * histogram[0x8000 + i] is the number of samples at value i.
index 709224c4cb49e6a5781cce665615ce27ced27f0b..be0d5ab6a52224a378eb68ae5cb27a7ad398ae46 100644 (file)
@@ -25,7 +25,7 @@
 #include "libavutil/lfg.h"
 #include "libavutil/random_seed.h"
 
-typedef struct {
+typedef struct ANoiseSrcContext {
     const AVClass *class;
     int sample_rate;
     double amplitude;
index 94bd0cab3a52d0f6f0de0e5acb356e381cc13fe8..cb676947d8fd955ac07586833aa3da5acdd9d852 100644 (file)
@@ -34,7 +34,7 @@
 #include "avfilter.h"
 #include "internal.h"
 
-typedef struct {
+typedef struct ANullContext {
     const AVClass *class;
     char   *channel_layout_str;
     uint64_t channel_layout;
index d13a4a3b1963c262cee921fd66213334546be6b0..c9619ebbae91f8101a4edf3ee71569ff29528139 100644 (file)
@@ -32,7 +32,7 @@
 #include "formats.h"
 #include "internal.h"
 
-typedef struct {
+typedef struct FliteContext {
     const AVClass *class;
     char *voice_str;
     char *textfile;
index ff77526622365e2cf6591fb2c95b4a9e6a53ba9a..3a87210b4b1d3334cb49bf9e16c650b3e5f62e25 100644 (file)
@@ -28,7 +28,7 @@
 #include "avfilter.h"
 #include "internal.h"
 
-typedef struct {
+typedef struct SineContext {
     const AVClass *class;
     double frequency;
     double beep_factor;
index 56e41792a78800f6cca063c91d5924e4b8135ab9..4c4936868b8d877df29addc5f6ea04296d5aa2ef 100644 (file)
@@ -36,7 +36,7 @@
 
 #define TYPE_ALL 2
 
-typedef struct {
+typedef struct ConcatContext {
     const AVClass *class;
     unsigned nb_streams[TYPE_ALL]; /**< number of out streams of each type */
     unsigned nb_segments;
index 010f85c951de83e512f218b461212f0f9385abe7..0cef5a20030bc93c1bada402a959522b906724e3 100644 (file)
 #include "avfilter.h"
 #include "internal.h"
 
-typedef struct {
+typedef struct Coeffs {
     FFTSample *val;
     int start, len;
 } Coeffs;
 
-typedef struct {
+typedef struct RGBFloat {
     float r, g, b;
 } RGBFloat;
 
-typedef struct {
+typedef struct YUVFloat {
     float y, u, v;
 } YUVFloat;
 
@@ -43,7 +43,7 @@ typedef union {
     YUVFloat yuv;
 } ColorFloat;
 
-typedef struct {
+typedef struct ShowCQTContext {
     const AVClass       *class;
     AVFilterContext     *ctx;
     AVFrame             *axis_frame;
index 4dd52a2c0ba9a155fdb6d7adb47db1865fd647a0..bf0c24437ed7efa3525b874be78060571d12a0c3 100644 (file)
@@ -48,7 +48,7 @@ enum ColorMode    { CHANNEL, INTENSITY, RAINBOW, MORELAND, NEBULAE, FIRE, FIERY,
 enum SlideMode    { REPLACE, SCROLL, FULLFRAME, RSCROLL, NB_SLIDES };
 enum Orientation  { VERTICAL, HORIZONTAL, NB_ORIENTATIONS };
 
-typedef struct {
+typedef struct ShowSpectrumContext {
     const AVClass *class;
     int w, h;
     AVFrame *outpicref;
index aadc5c1c2a07af2eb9d9536545c113f7e86ff141..086696798467368ef510a922eb66779f5d018d00 100644 (file)
@@ -55,7 +55,7 @@ struct frame_node {
     struct frame_node *next;
 };
 
-typedef struct {
+typedef struct ShowWavesContext {
     const AVClass *class;
     int w, h;
     AVRational rate;
index eb73154c14b458d7ddebff40859650005c4ac631..cf026b81f9c7d4cf2de00b8be23ec681fd0b93e2 100644 (file)
@@ -23,7 +23,7 @@
 
 #include <stdint.h>
 
-typedef struct {
+typedef struct FFBoundingBox {
     int x1, x2, y1, y2;
 } FFBoundingBox;
 
index f51fa7c1dd14ec1a9235f14cf27dccfd7ba2f1e0..21d6bb505b4047ad09d19ba6c2ce6f1cccd1afaa 100644 (file)
@@ -62,7 +62,7 @@ int av_buffersink_get_frame_flags(AVFilterContext *ctx, AVFrame *frame, int flag
 /**
  * Struct to use for initializing a buffersink context.
  */
-typedef struct {
+typedef struct AVBufferSinkParams {
     const enum AVPixelFormat *pixel_fmts; ///< list of allowed pixel formats, terminated by AV_PIX_FMT_NONE
 } AVBufferSinkParams;
 
@@ -76,7 +76,7 @@ AVBufferSinkParams *av_buffersink_params_alloc(void);
 /**
  * Struct to use for initializing an abuffersink context.
  */
-typedef struct {
+typedef struct AVABufferSinkParams {
     const enum AVSampleFormat *sample_fmts; ///< list of allowed sample formats, terminated by AV_SAMPLE_FMT_NONE
     const int64_t *channel_layouts;         ///< list of allowed channel layouts, terminated by -1
     const int *channel_counts;              ///< list of allowed channel counts, terminated by -1
index becd6c248b26cffefd43dbfbc812a8553a9f45bd..5e25bb3a7af12c5852f261030e576bb6cfa20379 100644 (file)
@@ -37,17 +37,17 @@ enum SearchMethod {
     SEARCH_COUNT
 };
 
-typedef struct {
+typedef struct IntMotionVector {
     int x;             ///< Horizontal shift
     int y;             ///< Vertical shift
 } IntMotionVector;
 
-typedef struct {
+typedef struct MotionVector {
     double x;             ///< Horizontal shift
     double y;             ///< Vertical shift
 } MotionVector;
 
-typedef struct {
+typedef struct Transform {
     MotionVector vec;     ///< Motion vector
     double angle;         ///< Angle of rotation
     double zoom;          ///< Zoom percentage
@@ -55,7 +55,7 @@ typedef struct {
 
 #if CONFIG_OPENCL
 
-typedef struct {
+typedef struct DeshakeOpenclContext {
     cl_command_queue command_queue;
     cl_program program;
     cl_kernel kernel_luma;
@@ -73,7 +73,7 @@ typedef struct {
 
 #define MAX_R 64
 
-typedef struct {
+typedef struct DeshakeContext {
     const AVClass *class;
     int counts[2*MAX_R+1][2*MAX_R+1]; /// < Scratch buffer for motion search
     double *angles;            ///< Scratch buffer for block angles
index 5b0a2414b82d21f8bdc74c7dfab2df7d901b5129..f3d96dc4e90f3f6bc04896c016d883e3fa9fcdfd 100644 (file)
@@ -23,7 +23,7 @@
 
 #include "deshake.h"
 
-typedef struct {
+typedef struct float4 {
     float x;
     float y;
     float z;
index 707b10c3977886cf6fa4bdf0516fbe3d3a59d3c8..fcde0d6aa1dab1dfc9d1d7a44d9e3816f972b8f7 100644 (file)
@@ -29,7 +29,7 @@
 #include "framesync.h"
 #include "internal.h"
 
-typedef struct {
+typedef struct FFDualInputContext {
     FFFrameSync fs;
 
     AVFrame *(*process)(AVFilterContext *ctx, AVFrame *main, const AVFrame *second);
index b94cd2492816c0eadfb1287de4f83c992b722741..74367545e8c9148839b057bac969e32f7c88e553 100644 (file)
@@ -100,7 +100,7 @@ struct FFEBUR128StateInternal;
  *
  *  You should not need to modify this struct directly.
  */
-typedef struct {
+typedef struct FFEBUR128State {
     int mode;                         /**< The current mode. */
     unsigned int channels;            /**< The number of channels. */
     unsigned long samplerate;         /**< The sample rate. */
index b7b179209a4df215edcbff386b4548ac79f08a69..f9e1006925afa366c172bc1de04de84f2cd62317 100644 (file)
@@ -28,7 +28,7 @@ enum BenchAction {
     NB_ACTION
 };
 
-typedef struct {
+typedef struct BenchContext {
     const AVClass *class;
     int action;
     int64_t max, min;
index 1fd85bbf790073833eade3d453efc1a98b0a1f4d..daeb9f9b5808e37a5da6fd2858e343c2aa0891aa 100644 (file)
@@ -90,7 +90,7 @@ struct integrator {
 
 struct rect { int x, y, w, h; };
 
-typedef struct {
+typedef struct EBUR128Context {
     const AVClass *class;           ///< AVClass context for log and options purpose
 
     /* peak metering */
index b9192e9b144237ba872d83874b98fbb6b5ee9b7e..a9889005948a066bfbd0115f42f46a176ee7cc1a 100644 (file)
@@ -37,7 +37,7 @@
 #include "audio.h"
 #include "video.h"
 
-typedef struct {
+typedef struct InterleaveContext {
     const AVClass *class;
     int nb_inputs;
     struct FFBufQueue *queues;
index da11d506a76e99ff8f1446eba5eb75de45c98af7..dc6ecbbb531e1d92bc9bec72b2e50eb343f0a686 100644 (file)
@@ -33,7 +33,7 @@ enum mode {
     NB_MODES
 };
 
-typedef struct {
+typedef struct PermsContext {
     const AVClass *class;
     AVLFG lfg;
     int64_t random_seed;
index 522d6adb907a2bf6d67aa9c9dcf6220fb95ee697..1e53465042827cace5ab7bba882d99eefd41badd 100644 (file)
@@ -55,13 +55,13 @@ static inline char *make_command_flags_str(AVBPrint *pbuf, int flags)
     return pbuf->str;
 }
 
-typedef struct {
+typedef struct Command {
     int flags;
     char *target, *command, *arg;
     int index;
 } Command;
 
-typedef struct {
+typedef struct Interval {
     int64_t start_ts;          ///< start timestamp expressed as microseconds units
     int64_t end_ts;            ///< end   timestamp expressed as microseconds units
     int index;                 ///< unique index for these interval commands
@@ -70,7 +70,7 @@ typedef struct {
     int enabled;               ///< current time detected inside this interval
 } Interval;
 
-typedef struct {
+typedef struct SendCmdContext {
     const AVClass *class;
     Interval *intervals;
     int   nb_intervals;
index d6c3c65da49c7a66261112260f469560072d0bcd..2666016769c5f485dd4589a82aff1ca0ccb47a67 100644 (file)
@@ -33,7 +33,7 @@
 #include "audio.h"
 #include "video.h"
 
-typedef struct {
+typedef struct ZMQContext {
     const AVClass *class;
     void *zmq;
     void *responder;
@@ -86,7 +86,7 @@ static void av_cold uninit(AVFilterContext *ctx)
     zmq_ctx_destroy(zmq->zmq);
 }
 
-typedef struct {
+typedef struct Command {
     char *target, *command, *arg;
 } Command;
 
index 2659c8790e77886e0c7fc638b12bd4004490c999..cc198dbaa03ef11a224a780bc628b1dbf04fbffd 100644 (file)
@@ -51,17 +51,17 @@ enum formats {
     NB_FORMATS
 };
 
-typedef struct {
+typedef struct Point {
     uint8_t x;
     uint8_t y;
 } Point;
 
-typedef struct {
+typedef struct Block {
     Point up;
     Point to;
 } Block;
 
-typedef struct {
+typedef struct ElemCat {
     int av_elem; /* average element category */
     short left_count; /* count of blocks that will be added together */
     short block_count; /* count of blocks per element */
@@ -99,7 +99,7 @@ typedef struct MatchingInfo {
     struct MatchingInfo* next;
 } MatchingInfo;
 
-typedef struct {
+typedef struct StreamContext {
     AVRational time_base;
     /* needed for xml_export */
     int w; /* height */
@@ -124,7 +124,7 @@ typedef struct {
     int exported; /* boolean whether stream already exported */
 } StreamContext;
 
-typedef struct {
+typedef struct SignatureContext {
     const AVClass *class;
     /* input parameters */
     int mode;
index 871a10ced9e5ce6906f21141de681d85c0ee18a1..272c717c77df857f384d09ffe57e09f79cf3c41b 100644 (file)
@@ -187,7 +187,7 @@ static MatchingInfo* get_matching_parameters(AVFilterContext *ctx, SignatureCont
         FineSignature *b[COARSE_SIZE];
     } pairs[COARSE_SIZE];
 
-    typedef struct {
+    typedef struct hspace_elem {
         int dist;
         size_t score;
         FineSignature *a;
index e01050cba7a30acd4fe7b6d68d02bc6f863b27f4..7f50d3c8ee1692c564b260b26487e48e84e4a2f3 100644 (file)
@@ -46,7 +46,7 @@ enum TInterlaceMode {
     MODE_NB,
 };
 
-typedef struct {
+typedef struct TInterlaceContext {
     const AVClass *class;
     int mode;                   ///< TInterlaceMode, interlace mode selected
     AVRational preout_time_base;
index fc651c06544556c50b30b0d6b0b1d2dc64bd2aef..340a6a0caf41b9b5e89142e6217a0232c0818a19 100644 (file)
@@ -33,7 +33,7 @@
 
 #if CONFIG_OPENCL
 
-typedef struct {
+typedef struct UnsharpOpenclContext {
     cl_command_queue command_queue;
     cl_program program;
     cl_kernel kernel_default;
index d0a26396899d8c6535c4116de85a6e65994cc44d..45fa340fcc63da92c4ef4f38ea14d803dc6b9cf2 100644 (file)
@@ -36,7 +36,7 @@
 
 enum { Y, U, V, A };
 
-typedef struct {
+typedef struct AlphaMergeContext {
     int is_packed_rgb;
     uint8_t rgba_map[4];
     struct FFBufQueue queue_main;
index 7d5055305d3a38dbb79f5abcc516b4d4b036f93d..4ac2980a6c4af4aa606fa5d899c8c892a023c1e4 100644 (file)
@@ -30,7 +30,7 @@
 #include "bbox.h"
 #include "internal.h"
 
-typedef struct {
+typedef struct BBoxContext {
     const AVClass *class;
     int min_val;
 } BBoxContext;
index 28fdb48a92aafafdfc170917c6c24f63f1dda531..06ef9988d1f4db1edb4910a4d4f806379acc112e 100644 (file)
@@ -30,7 +30,7 @@
 #include "avfilter.h"
 #include "internal.h"
 
-typedef struct {
+typedef struct BlackDetectContext {
     const AVClass *class;
     double  black_min_duration_time; ///< minimum duration of detected black, in seconds
     int64_t black_min_duration;      ///< minimum duration of detected black, expressed in timebase units
index dc3397316d861396d3d0b12ec850da0d358585e9..331bfba777dce1c06d4863d4c4043786eda63a97 100644 (file)
@@ -44,7 +44,7 @@
 #define FRAME_TYPE_P (1<<1)
 #define FRAME_TYPE_B (1<<2)
 
-typedef struct {
+typedef struct CodecViewContext {
     const AVClass *class;
     unsigned mv;
     unsigned frame_type;
index e37f1995cacaab4c73c42955e13dcae74bf0ee28..f9965248fef4feb64a17012410f55837e2b8f46a 100644 (file)
 #define B 2
 #define A 3
 
-typedef struct {
+typedef struct Range {
     double shadows;
     double midtones;
     double highlights;
 } Range;
 
-typedef struct {
+typedef struct ColorBalanceContext {
     const AVClass *class;
     Range cyan_red;
     Range magenta_green;
index cda972dd002164626d840b250fb6e693578cb7c4..2e068fa7947c7c9be3cff1e7b3e516bca05533b5 100644 (file)
@@ -30,7 +30,7 @@
 #define B 2
 #define A 3
 
-typedef struct {
+typedef struct ColorChannelMixerContext {
     const AVClass *class;
     double rr, rg, rb, ra;
     double gr, gg, gb, ga;
index dedbe30d1914a4cde1011d891ef79140ef4e4f0a..5385a5e75425ab2ed1fcebf2b2c5eaf846c1f9c7 100644 (file)
 #define B 2
 #define A 3
 
-typedef struct {
+typedef struct Range {
     double in_min, in_max;
     double out_min, out_max;
 } Range;
 
-typedef struct {
+typedef struct ColorLevelsContext {
     const AVClass *class;
     Range range[4];
     int nb_comp;
index 8ddec4ffdaa2f646e0be768f4bcb64b4481c9a86..3a02e2b86eaf439dadb8af41128bb4c262a76136 100644 (file)
@@ -58,7 +58,7 @@ enum ColorMode {
     COLOR_MODE_COUNT
 };
 
-typedef struct {
+typedef struct ColorMatrixContext {
     const AVClass *class;
     int yuv_convert[25][3][3];
     int interlaced;
index 69ec1084bb3e0933bda9ed3128897bb32fc10502..19ab789152e3ef77ffbddfa06db98742c4ba0d7a 100644 (file)
@@ -58,7 +58,7 @@ enum preset {
     NB_PRESETS,
 };
 
-typedef struct {
+typedef struct CurvesContext {
     const AVClass *class;
     int preset;
     char *comp_points_str[NB_COMP + 1];
index 1fb242a3ae542ca4d20c4a02b16a0dcad692d8a1..f9a40f2d4c73693370ab16d80efbe54a03e7d132 100644 (file)
@@ -34,7 +34,7 @@ struct qitem {
     int64_t totdiff;
 };
 
-typedef struct {
+typedef struct DecimateContext {
     const AVClass *class;
     struct qitem *queue;    ///< window of cycle frames and the associated data diff
     int fid;                ///< current frame id in the queue
index c4d7b6bb6cc76c5e1e203cbabc5d9de7b94f159c..4705cb612180e2aad266fdb76691b4fcdedbd4ba 100644 (file)
@@ -55,7 +55,7 @@
 #include "internal.h"
 #include "video.h"
 
-typedef struct {
+typedef struct DejudderContext {
     const AVClass *class;
     int64_t *ringbuff;
     int i1, i2, i3, i4;
index 0d5f88df77665028821e4c6ec0920071ca7aaa05..0d1e2f2ffbb3a3e22c53243dcf6107766aa7246c 100644 (file)
@@ -32,7 +32,7 @@
 #include "internal.h"
 #include "video.h"
 
-typedef struct {
+typedef struct DetelecineContext {
     const AVClass *class;
     int first_field;
     char *pattern;
index ac88e02a11b5f441f2c3c399b47e6533a58e2cac..173f9fe161af4aecd35f5eeddb4c7db319288a27 100644 (file)
@@ -44,7 +44,7 @@ struct plane_info {
     char     *directions;
 };
 
-typedef struct {
+typedef struct EdgeDetectContext {
     const AVClass *class;
     struct plane_info planes[3];
     int nb_planes;
index 8525048b3fc314b0b5e65501e90ac5953d38ca4a..fa49d46e5cf362c6486f80e0c7b9c948ad91efa9 100644 (file)
@@ -55,7 +55,7 @@ typedef struct EQParameters {
 
 } EQParameters;
 
-typedef struct {
+typedef struct EQContext {
     const AVClass *class;
 
     EQParameters param[3];
index 65bba33d90c694ef05153955e2274fce0fcef65a..d3a90465b60549d3c1ed67b1509beeb2e3af12e9 100644 (file)
@@ -38,7 +38,7 @@
 #define PLANE_U 0x20
 #define PLANE_V 0x40
 
-typedef struct {
+typedef struct ExtractPlanesContext {
     const AVClass *class;
     int requested_planes;
     int map[4];
index 307b41a7338a4d1b5fceebffcc981452a7628be3..c0c5eb400f23e7ccb4528888abc3ea08b8e1b42a 100644 (file)
@@ -33,7 +33,7 @@
 
 #define MAX_PLANES 4
 
-typedef struct {
+typedef struct FFTFILTContext {
     const AVClass *class;
 
     RDFTContext *rdft;
index 72cabdb92964c4f5047a547caa789f33ccdf9487..2f4eb679eaa8961b199280f164d0d48b3273e2a3 100644 (file)
@@ -31,7 +31,7 @@
 
 enum FieldType { FIELD_TYPE_TOP = 0, FIELD_TYPE_BOTTOM };
 
-typedef struct {
+typedef struct FieldContext {
     const AVClass *class;
     int type;                   ///< FieldType
     int nb_planes;              ///< number of planes of the current format
index 54a2c7aa60a218e249d16f0895c66a740f2cd16a..17402158d4871b14cfeccb797ff261ab7c64a32c 100644 (file)
@@ -72,7 +72,7 @@ enum comb_dbg {
     NB_COMBDBG
 };
 
-typedef struct {
+typedef struct FieldMatchContext {
     const AVClass *class;
 
     AVFrame *prv,  *src,  *nxt;     ///< main sliding window of 3 frames
index 9d26f5442227c3942300fc59a526c61d7eb73c2b..b2a7bc009a7446477f9a8f9d5f0df5aa03ff4b5e 100644 (file)
@@ -33,7 +33,7 @@
 #include "libavutil/pixdesc.h"
 #include "internal.h"
 
-typedef struct {
+typedef struct GEQContext {
     const AVClass *class;
     AVExpr *e[4];               ///< expressions for each plane
     char *expr_str[4+3];        ///< expression strings for each plane
index b3d2545b9f2068bdea54660e4e4b5867e68f243f..2449e10dea2bbf03179e3cb786b53bae7b878f76 100644 (file)
@@ -54,7 +54,7 @@ enum HisteqAntibanding {
     HISTEQ_ANTIBANDING_NB,
 };
 
-typedef struct {
+typedef struct HisteqContext {
     const AVClass *class;
     float strength;
     float intensity;
index 5f63b2a3f9e2a53587a87248342cc971507a8458..16a1be7bd4d596d22d9d972613ae5bfc93698806 100644 (file)
@@ -34,7 +34,7 @@
 
 typedef int (*hqxfunc_t)(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs);
 
-typedef struct {
+typedef struct HQXContext {
     const AVClass *class;
     int n;
     hqxfunc_t func;
index 0d2862fb12ff4c9643787a57a8a401803477f036..45a5a1a92f57bfe5d23651bab4e934b3980dd399 100644 (file)
@@ -57,7 +57,7 @@ enum var_name {
     VAR_NB
 };
 
-typedef struct {
+typedef struct HueContext {
     const    AVClass *class;
     float    hue_deg; /* hue expressed in degrees */
     float    hue; /* hue expressed in radians */
index 47e3d9ce81abf73f26b010f2398dfd7f94ee3fd9..afd8947055dbb530d45562f93cd55bcd90419b53 100644 (file)
@@ -39,7 +39,7 @@ typedef enum {
     REPEAT_BOTTOM,
 } RepeatedField;
 
-typedef struct {
+typedef struct IDETContext {
     const AVClass *class;
     float interlace_threshold;
     float progressive_threshold;
index e0bf8d594127a702f56193f5d508e800f56ae04b..ae0cc1938a375cc4e66195b7dd6e6676f4250075 100644 (file)
@@ -36,7 +36,7 @@ enum FilterMode {
     MODE_DEINTERLEAVE
 };
 
-typedef struct {
+typedef struct IlContext {
     const AVClass *class;
     int luma_mode, chroma_mode, alpha_mode; ///<FilterMode
     int luma_swap, chroma_swap, alpha_swap;
index 4825ed5e3e297a4852ea142869fe186a878d517f..057d15f9cb9426faacaf516c827f8d608ae05c02 100644 (file)
@@ -35,7 +35,7 @@
 #include "formats.h"
 #include "internal.h"
 
-typedef struct {
+typedef struct KerndeintContext {
     const AVClass *class;
     int           frame; ///< frame count, starting from 0
     int           thresh, map, order, sharp, twoway;
index d4f718cc95a3c08578b8fa39142cd488c0da1f92..26387b84e764bd4595bd570a96603bf22eeb9bc8 100644 (file)
@@ -69,7 +69,7 @@ enum MCDeintParity {
     PARITY_BFF  =  1, ///< bottom field first
 };
 
-typedef struct {
+typedef struct MCDeintContext {
     const AVClass *class;
     int mode;           ///< MCDeintMode
     int parity;         ///< MCDeintParity
index dc345114cde69a1caa13055e452ef9dbd602100d..c9a9cb3a8ed6ac3f15845cf3d653ad27176aa97c 100644 (file)
@@ -33,7 +33,7 @@
 #include "formats.h"
 #include "video.h"
 
-typedef struct {
+typedef struct DecimateContext {
     const AVClass *class;
     int lo, hi;                    ///< lower and higher threshold number of differences
                                    ///< values for 8x8 blocks
index 2487813504dec4b96fb4708da38fa9ed1866c241..e4952e187e55e494522c28a30786a0c94817e632 100644 (file)
@@ -47,7 +47,7 @@ struct weighted_avg {
 #define WEIGHT_LUT_NBITS 9
 #define WEIGHT_LUT_SIZE  (1<<WEIGHT_LUT_NBITS)
 
-typedef struct {
+typedef struct NLMeansContext {
     const AVClass *class;
     int nb_planes;
     int chroma_w, chroma_h;
index 2207ed961f5f7974c6dc52e9222ee5c810ba2d36..92998e54c9ada6790eb89e55ddc880ebbca4e260 100644 (file)
@@ -34,7 +34,7 @@
 #define NOISE_AVERAGED 8
 #define NOISE_PATTERN  16
 
-typedef struct {
+typedef struct FilterParams {
     int strength;
     unsigned flags;
     AVLFG lfg;
@@ -45,7 +45,7 @@ typedef struct {
     int rand_shift_init;
 } FilterParams;
 
-typedef struct {
+typedef struct NoiseContext {
     const AVClass *class;
     int nb_planes;
     int bytewidth[4];
index e0a953fba2cd9ae008b298f80d222134a6bc560f..6d6c2a3d539d6819bf1772559cdfea407fc23c45 100644 (file)
@@ -34,7 +34,7 @@
 #include "avfilter.h"
 #include "internal.h"
 
-typedef struct {
+typedef struct OWDenoiseContext {
     const AVClass *class;
     double luma_strength;
     double chroma_strength;
index b470079ccc8f0945c560925266d96c36878962ce..03de3173483e230f96cd7aa07dd4d0aa928047b7 100644 (file)
@@ -60,7 +60,7 @@ enum {
 #define NBITS 5
 #define HIST_SIZE (1<<(3*NBITS))
 
-typedef struct {
+typedef struct PaletteGenContext {
     const AVClass *class;
 
     int max_colors;
index bac1d53356fb18d1efcf6f2414908edfe61fd75b..524ef1bb0a81adf905c158f7f8d98d1cfcecf982 100644 (file)
@@ -30,7 +30,7 @@
 
 #include "libpostproc/postprocess.h"
 
-typedef struct {
+typedef struct PPFilterContext {
     const AVClass *class;
     char *subfilters;
     int mode_id;
index 94b92a5853409523d36a78d347eaae4fd019fee9..aff2d12a17bf34588f21fe1e114da2c159bc219c 100644 (file)
@@ -79,7 +79,7 @@
 #include "lavfutils.h"
 #include "lswsutils.h"
 
-typedef struct {
+typedef struct RemovelogoContext {
     const AVClass *class;
     char *filename;
     /* Stores our collection of masks. The first is for an array of
index 3f0951f32a0484ab63f1081ce35db439b347f1fe..6f6365416165b40e2d2c1e44791897f0ac8c8441 100644 (file)
@@ -31,7 +31,7 @@
 #include "formats.h"
 #include "internal.h"
 
-typedef struct {
+typedef struct FilterParam {
     float radius;
     float pre_filter_radius;
     float strength;
@@ -46,7 +46,7 @@ typedef struct {
     int color_diff_coeff[COLOR_DIFF_COEFF_SIZE];
 } FilterParam;
 
-typedef struct {
+typedef struct SabContext {
     const AVClass *class;
     FilterParam  luma;
     FilterParam  chroma;
index 748b67b07ab74568fc8c6b88fdfce7b0f077d57f..c4d51bb70dd09091d5590518cabfbf51bc2fc0be 100644 (file)
@@ -77,7 +77,7 @@ typedef struct ThreadData {
     AVFrame *in, *out;
 } ThreadData;
 
-typedef struct {
+typedef struct SelectiveColorContext {
     const AVClass *class;
     int correction_method;
     char *opt_cmyk_adjust[NB_RANGES];
index 3ea5eb67d7f0a308516a9bd1164ccd7b67ef210f..69653c991f39e7257ad69efb7a81fd8113678513 100644 (file)
@@ -22,7 +22,7 @@
 #include "avfilter.h"
 #include "internal.h"
 
-typedef struct {
+typedef struct SeparateFieldsContext {
     int nb_planes;
     AVFrame *second;
 } SeparateFieldsContext;
index 96e9d18bd3ae463cc269046283b3ba85b75b8a85..f4dc33d7e596ed309ee49b1b701ce4f38f5568e4 100644 (file)
@@ -35,7 +35,7 @@ enum SetFieldMode {
     MODE_PROG,
 };
 
-typedef struct {
+typedef struct SetFieldContext {
     const AVClass *class;
     int mode;                   ///< SetFieldMode
 } SetFieldContext;
index f1627ba58e493cff7b7f8c193e3495b7a4c7f2f5..d886ab87a7737a99eeaefe6179841f86bf7b8706 100644 (file)
@@ -28,7 +28,7 @@
 #include "internal.h"
 #include "video.h"
 
-typedef struct {
+typedef struct ShowPaletteContext {
     const AVClass *class;
     int size;
 } ShowPaletteContext;
index 22a1db196f0e3ab7a5ea016f186c7a47686487f2..298881bc72b902f641351ac3fef1273d092a3619 100644 (file)
@@ -33,7 +33,7 @@ enum FilterMode {
     FILT_NUMB
 };
 
-typedef struct {
+typedef struct SignalstatsContext {
     const AVClass *class;
     int chromah;    // height of chroma plane
     int chromaw;    // width of chroma plane
index 117e0ec6018549e9bea87ca9a50854caf4220714..1955ac43d89bacf2c23281ff8fb555127c3c2c78 100644 (file)
@@ -42,7 +42,7 @@
 #define THRESHOLD_MIN -30
 #define THRESHOLD_MAX 30
 
-typedef struct {
+typedef struct FilterParam {
     float              radius;
     float              strength;
     int                threshold;
@@ -50,7 +50,7 @@ typedef struct {
     struct SwsContext *filter_context;
 } FilterParam;
 
-typedef struct {
+typedef struct SmartblurContext {
     const AVClass *class;
     FilterParam  luma;
     FilterParam  chroma;
index 6b70a91770ec418c5daa26f0ecc1723b419fdae9..c03073a4e175a44c86728ebdca44e9638825a3dd 100644 (file)
@@ -28,7 +28,7 @@
 
 #define MAX_LEVEL 6 /* quality levels */
 
-typedef struct {
+typedef struct SPPContext {
     const AVClass *av_class;
 
     int log2_count;
index 0f22644cc6fd8bd882705d61c3c16f14319bc43f..805ee2d7e0d922b266f05be6a26f1fd4b3911cef 100644 (file)
@@ -44,7 +44,7 @@
 #include "formats.h"
 #include "video.h"
 
-typedef struct {
+typedef struct AssContext {
     const AVClass *class;
     ASS_Library  *library;
     ASS_Renderer *renderer;
index cbb3f62414be14394909e5557d36c8ef144506e1..87eec04da8da1a2a05b3e375db4e6896bae922a6 100644 (file)
@@ -33,7 +33,7 @@
 #include "internal.h"
 #include "video.h"
 
-typedef struct {
+typedef struct Super2xSaIContext {
     /* masks used for two pixels interpolation */
     uint32_t hi_pixel_mask;
     uint32_t lo_pixel_mask;
index 35f382ef7fdaab0aa03a4268c964f622b11cf1af..62599a7a3a6b851b779c688f2f2fc38a46e88613 100644 (file)
@@ -33,7 +33,7 @@
 #include "internal.h"
 #include "video.h"
 
-typedef struct {
+typedef struct TelecineContext {
     const AVClass *class;
     int first_field;
     char *pattern;
index 417ccd56d0947e8c4351cd4db98a675c3da4a315..0effdc91e9a8b8f2ca3420d1fb7d62b41e210463 100644 (file)
@@ -38,7 +38,7 @@ struct thumb_frame {
     int histogram[HIST_SIZE];   ///< RGB color distribution histogram of the frame
 };
 
-typedef struct {
+typedef struct ThumbContext {
     const AVClass *class;
     int n;                      ///< current frame
     int n_frames;               ///< number of frames for analysis
index 9af00bd8f517d0e4b04f7a522585e263e76a7f11..87e0b940cfcc6e2de7349f0167f7e332e01d997b 100644 (file)
@@ -31,7 +31,7 @@
 #include "video.h"
 #include "internal.h"
 
-typedef struct {
+typedef struct TileContext {
     const AVClass *class;
     unsigned w, h;
     unsigned margin;
index 66035cd78c4c8f6ea5b840fd52bc766346596f59..da4029f4b2c554addc8bfec1388e993ee25d9d7f 100644 (file)
@@ -37,7 +37,7 @@
 #define MAX_LEVEL 8 /* quality levels */
 #define BLOCK 16
 
-typedef struct {
+typedef struct USPPContext {
     const AVClass *av_class;
     int log2_count;
     int hsub, vsub;
index 47429494f3f9932723d3d19a36487c58e3b8c5cd..63a178a0c2b5c16e52a7ec6ade8ee3546360d506 100644 (file)
@@ -30,7 +30,7 @@
 
 #include "vidstabutils.h"
 
-typedef struct {
+typedef struct StabData {
     const AVClass *class;
 
     VSMotionDetect md;
index dac0a2d19e5d7444d9033a2499a0b3612f1f887b..11a0e3d5125203123d620f370eb29e54873a70df 100644 (file)
@@ -30,7 +30,7 @@
 
 #include "vidstabutils.h"
 
-typedef struct {
+typedef struct TransformContext {
     const AVClass *class;
 
     VSTransformData td;
index 94b6c6ffff181903a4d8a43aa26963780d5e91de..47b59e5ba09033fe33f3b1f3621c3a0e87e1c6b2 100644 (file)
@@ -57,7 +57,7 @@ enum EvalMode {
     EVAL_MODE_NB
 };
 
-typedef struct {
+typedef struct VignetteContext {
     const AVClass *class;
     const AVPixFmtDescriptor *desc;
     int backward;
index d0d51045cc7ce4b475e75a69954f66dc64004515..78094e028777ae4eb7bc116740dca07ed0ef0a66 100644 (file)
@@ -43,7 +43,7 @@
 
 typedef int (*xbrfunc_t)(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs);
 
-typedef struct {
+typedef struct XBRContext {
     const AVClass *class;
     int n;
     xbrfunc_t func;
index 13544cf5739595a8f62c28c17d09a51e2ecb0982..1199dbd56e3d8916869c40049a52ca02d0ee95de 100644 (file)
@@ -42,7 +42,7 @@ VSPixelFormat ff_av2vs_pixfmt(AVFilterContext *ctx, enum AVPixelFormat pf)
 }
 
 /** struct to hold a valid context for logging from within vid.stab lib */
-typedef struct {
+typedef struct VS2AVLogCtx {
     const AVClass *class;
 } VS2AVLogCtx;
 
index afdceff7f10607211872ee71c8649705363e3a81..7a6d9659f7a53610f94edb0eef8e25b53b635417 100644 (file)
@@ -37,7 +37,7 @@
 #include "formats.h"
 #include "video.h"
 
-typedef struct {
+typedef struct CellAutoContext {
     const AVClass *class;
     int w, h;
     char *filename;
index afe805a67521e55d493baa5c9ebd410e7bd49871..a87ceef15d45f98859395f9e2be48799b907c30d 100644 (file)
@@ -38,7 +38,7 @@
 #include "formats.h"
 #include "video.h"
 
-typedef struct {
+typedef struct LifeContext {
     const AVClass *class;
     int w, h;
     char *filename;
index 2f6944f02fd7aa79607cbc3ee2f70ad472ee5c27..6ad108151f664da2255f5274e963755a36db79b4 100644 (file)
@@ -57,7 +57,7 @@ typedef struct Point {
     uint32_t val;
 } Point;
 
-typedef struct {
+typedef struct MBContext {
     const AVClass *class;
     int w, h;
     AVRational frame_rate;