]> git.sesse.net Git - ffmpeg/commitdiff
avcodec: Don't anonymously typedef structs
authorDiego Biurrun <diego@biurrun.de>
Mon, 22 Sep 2014 09:01:31 +0000 (11:01 +0200)
committerDiego Biurrun <diego@biurrun.de>
Sat, 14 Feb 2015 18:13:49 +0000 (10:13 -0800)
51 files changed:
libavcodec/aacpsy.c
libavcodec/ac3dec.c
libavcodec/alac.c
libavcodec/alsdec.c
libavcodec/amrwbdec.c
libavcodec/ansi.c
libavcodec/atrac1.c
libavcodec/avs.c
libavcodec/binkaudio.c
libavcodec/bitstream.c
libavcodec/c93.c
libavcodec/cdxl.c
libavcodec/cinepak.c
libavcodec/cook.c
libavcodec/cscd.c
libavcodec/dcadec.c
libavcodec/elbg.c
libavcodec/g723_1.c
libavcodec/gif.c
libavcodec/huffman.c
libavcodec/idcinvideo.c
libavcodec/iff.c
libavcodec/imc.c
libavcodec/kgv1dec.c
libavcodec/libopenjpegdec.c
libavcodec/libopenjpegenc.c
libavcodec/libspeexdec.c
libavcodec/libspeexenc.c
libavcodec/mimic.c
libavcodec/nuv.c
libavcodec/proresdec.c
libavcodec/qcelpdec.c
libavcodec/qdm2.c
libavcodec/ra288.c
libavcodec/roqaudioenc.c
libavcodec/roqvideoenc.c
libavcodec/rv34_parser.c
libavcodec/sipr.c
libavcodec/srtdec.c
libavcodec/svq3.c
libavcodec/truespeech.c
libavcodec/v210enc.h
libavcodec/vble.c
libavcodec/vc1_parser.c
libavcodec/vc1dec.c
libavcodec/vorbisdec.c
libavcodec/vorbisenc.c
libavcodec/wmalosslessdec.c
libavcodec/wmaprodec.c
libavcodec/wmavoice.c
libavcodec/zerocodec.c

index 66cf6d5f40cbfbe96c390e0bd4ba9b09f2e32a41..6c6e573e90cd375c4b4d08b0df4bb8016ffa00f2 100644 (file)
@@ -160,7 +160,7 @@ typedef struct AacPsyContext{
 /**
  * LAME psy model preset struct
  */
-typedef struct {
+typedef struct PsyLamePreset {
     int   quality;  ///< Quality to map the rest of the vaules to.
      /* This is overloaded to be both kbps per channel in ABR mode, and
       * requested quality in constant quality mode.
index 4876ac055d2fa2aa145acbc0a562e6d6a850e1d1..a0359faa2dc904484f261889fe56527bedb570c6 100644 (file)
@@ -452,7 +452,7 @@ static void calc_transform_coeffs_cpl(AC3DecodeContext *s)
 /**
  * Grouped mantissas for 3-level 5-level and 11-level quantization
  */
-typedef struct {
+typedef struct mant_groups {
     int b1_mant[2];
     int b2_mant[2];
     int b4_mant;
index 5272f8416c68e5dd22b74203f3e60e59f93f611a..48903a671bbb9a5539ba6a1980c81c66da00acd8 100644 (file)
@@ -58,7 +58,7 @@
 
 #define ALAC_EXTRADATA_SIZE 36
 
-typedef struct {
+typedef struct ALACContext {
     AVCodecContext *avctx;
     GetBitContext gb;
     int channels;
index b1965a8b87bee5b63532e3ae07b0100bfbc072c2..4bb35cc6566213dc9b9938d5290b54e678c010dc 100644 (file)
@@ -152,7 +152,7 @@ enum RA_Flag {
 };
 
 
-typedef struct {
+typedef struct ALSSpecificConfig {
     uint32_t samples;         ///< number of samples, 0xFFFFFFFF if unknown
     int resolution;           ///< 000 = 8-bit; 001 = 16-bit; 010 = 24-bit; 011 = 32-bit
     int floating;             ///< 1 = IEEE 32-bit floating-point, 0 = integer
@@ -178,7 +178,7 @@ typedef struct {
 } ALSSpecificConfig;
 
 
-typedef struct {
+typedef struct ALSChannelData {
     int stop_flag;
     int master_channel;
     int time_diff_flag;
@@ -188,7 +188,7 @@ typedef struct {
 } ALSChannelData;
 
 
-typedef struct {
+typedef struct ALSDecContext {
     AVCodecContext *avctx;
     ALSSpecificConfig sconf;
     GetBitContext gb;
@@ -227,7 +227,7 @@ typedef struct {
 } ALSDecContext;
 
 
-typedef struct {
+typedef struct ALSBlockData {
     unsigned int block_length;      ///< number of samples within the block
     unsigned int ra_block;          ///< if true, this is a random access block
     int          *const_block;      ///< if true, this is a constant value block
index 668c84d1f38b93455e5281d9ff69be35a390931a..5ef22d3d4d4d95ca287f03eb2e2bbe88b2d1330f 100644 (file)
@@ -42,7 +42,7 @@
 
 #include "amrwbdata.h"
 
-typedef struct {
+typedef struct AMRWBContext {
     AMRWBFrame                             frame; ///< AMRWB parameters decoded from bitstream
     enum Mode                        fr_cur_mode; ///< mode index of current frame
     uint8_t                           fr_quality; ///< frame quality index (FQI)
index 556bfe44616fc2e9d9795dc8cb9798f7fd1c1f65..346a9ca413b0aa83a9c707fe4f8c8b6f6c8ba8b0 100644 (file)
@@ -49,7 +49,7 @@ static const uint8_t ansi_to_cga[16] = {
     0,  4,  2,  6,  1,  5,  3, 7, 8, 12, 10, 14,  9, 13, 11, 15
 };
 
-typedef struct {
+typedef struct AnsiContext {
     AVFrame *frame;
     int x;                /**< x cursor position (pixels) */
     int y;                /**< y cursor position (pixels) */
index 9a897852a7a2897bd6bd45b6ed4315700cdf63e5..5c8f96a31cd384e46d0942e1752ce3d77882dd10 100644 (file)
@@ -57,7 +57,7 @@
 /**
  * Sound unit struct, one unit is used per channel
  */
-typedef struct {
+typedef struct AT1SUCtx {
     int                 log2_block_count[AT1_QMF_BANDS];    ///< log2 number of blocks in a band
     int                 num_bfus;                           ///< number of Block Floating Units
     float*              spectrum[2];
@@ -71,7 +71,7 @@ typedef struct {
 /**
  * The atrac1 context, holds all needed parameters for decoding
  */
-typedef struct {
+typedef struct AT1Ctx {
     AT1SUCtx            SUs[AT1_MAX_CHANNELS];              ///< channel sound unit
     DECLARE_ALIGNED(32, float, spec)[AT1_SU_SAMPLES];      ///< the mdct spectrum buffer
 
index eb2da66928ec115f9234992177149431de290cf8..85d18fd41af69d73c8dc55045ae865316e80a6e0 100644 (file)
@@ -23,8 +23,7 @@
 #include "get_bits.h"
 #include "internal.h"
 
-
-typedef struct {
+typedef struct AvsContext {
     AVFrame *frame;
 } AvsContext;
 
index eb9cd0ab62c175bae60dcbedc38e178b3dc84af2..ffc8f87b138ad1e7e5d89b4f9802a9a3f9d57ea8 100644 (file)
@@ -44,7 +44,7 @@ static float quant_table[96];
 #define MAX_CHANNELS 2
 #define BINK_BLOCK_MAX_SIZE (MAX_CHANNELS << 11)
 
-typedef struct {
+typedef struct BinkAudioContext {
     GetBitContext gb;
     int version_b;          ///< Bink version 'b'
     int first;
index 8e9f657b7f3375b41a43273d69152f485d950932..f36997ea40177d372d6b7907f22f86ac586e014a 100644 (file)
@@ -129,7 +129,7 @@ static av_always_inline uint32_t bitswap_32(uint32_t x)
            (uint32_t)ff_reverse[ x >> 24];
 }
 
-typedef struct {
+typedef struct VLCcode {
     uint8_t bits;
     uint16_t symbol;
     /** codeword, with the first bit-to-be-read in the msb
index c7cc68296a739319cb11f98ab453dd7d57e8160e..2729ee8fcbb05390dac077da3fb7a350dc220d70 100644 (file)
@@ -23,7 +23,7 @@
 #include "bytestream.h"
 #include "internal.h"
 
-typedef struct {
+typedef struct C93DecoderContext {
     AVFrame *pictures[2];
     int currentpic;
 } C93DecoderContext;
index 80a367163d7ef94ed47b82981ab2befa20ebd7da..e45e722be59f7640bd1f0ebc7ab7907b7ad28a97 100644 (file)
@@ -31,7 +31,7 @@
 #define BIT_LINE     0x80
 #define BYTE_LINE    0xC0
 
-typedef struct {
+typedef struct CDXLVideoContext {
     AVCodecContext *avctx;
     int            bpp;
     int            format;
index caf14cbfcf536fa6255e0755e846d07a7cdc399c..3a740b22c1a1c1072585b9151c757a617ef98297 100644 (file)
 #include "internal.h"
 
 
-typedef struct {
+typedef struct cvid_codebook {
     uint8_t  y0, y1, y2, y3;
     uint8_t  u, v;
 } cvid_codebook;
 
 #define MAX_STRIPS      32
 
-typedef struct {
+typedef struct cvid_strip {
     uint16_t          id;
     uint16_t          x1, y1;
     uint16_t          x2, y2;
index 8c2fab7a27ab2255bd8c7851f677aa380a7d697a..5c55d2b5915466612639022c46a86a57378ea170 100644 (file)
 #define SUBBAND_SIZE    20
 #define MAX_SUBPACKETS   5
 
-typedef struct {
+typedef struct cook_gains {
     int *now;
     int *previous;
 } cook_gains;
 
-typedef struct {
+typedef struct COOKSubpacket {
     int                 ch_idx;
     int                 size;
     int                 num_channels;
index 9ae7e33c7a4f6124a1170c7065d06bcd3e18882f..358240b7a91c3ff176a1b199c2ce1d1eb785457b 100644 (file)
@@ -30,7 +30,7 @@
 #endif
 #include "libavutil/lzo.h"
 
-typedef struct {
+typedef struct CamStudioContext {
     int linelen, height, bpp;
     unsigned int decomp_size;
     unsigned char* decomp_buf;
index 8ca8c34510b801179969f7937388ae49812bf49c..bb7e020bb28243eb215689cb295941041d6f3dd3 100644 (file)
@@ -266,7 +266,7 @@ static const int8_t dca_channel_reorder_nolfe_xch[][9] = {
 #define DCA_NSYNCAUX        0x9A1105A0
 
 /** Bit allocation */
-typedef struct {
+typedef struct BitAlloc {
     int offset;                 ///< code values offset
     int maxbits[8];             ///< max bits in VLC
     int wrap;                   ///< wrap for get_vlc2()
@@ -285,7 +285,7 @@ static av_always_inline int get_bitalloc(GetBitContext *gb, BitAlloc *ba,
            ba->offset;
 }
 
-typedef struct {
+typedef struct DCAContext {
     AVClass *class;             ///< class for AVOptions
     AVCodecContext *avctx;
     /* Frame header */
index 4357e45eb6dff6dc34fc4826bb1ffbbfb40056a2..e2b03a6f9b002072153ee5e092f64ac90dc304db 100644 (file)
@@ -43,7 +43,7 @@ typedef struct cell_s {
 /**
  * ELBG internal data
  */
-typedef struct{
+typedef struct elbg_data {
     int error;
     int dim;
     int numCB;
index bbdb404a99fa10b592b20874a90d58f91cf3aa95..f3879bdbcd8fcec2e222215c8a877d0d6fdc084f 100644 (file)
@@ -55,7 +55,7 @@ enum Rate {
 /**
  * G723.1 unpacked data subframe
  */
-typedef struct {
+typedef struct G723_1_Subframe {
     int ad_cb_lag;     ///< adaptive codebook lag
     int ad_cb_gain;
     int dirac_train;
@@ -68,7 +68,7 @@ typedef struct {
 /**
  * Pitch postfilter parameters
  */
-typedef struct {
+typedef struct PPFParam {
     int     index;    ///< postfilter backward/forward lag
     int16_t opt_gain; ///< optimal gain
     int16_t sc_gain;  ///< scaling gain
index c6c37b6c66ba0ed743748ef0114f31a9f7f29f9f..ae7fdfd818e87cc8d2a2027d0fc773ea36e91d17 100644 (file)
@@ -52,7 +52,7 @@
 
 #include "put_bits.h"
 
-typedef struct {
+typedef struct GIFContext {
     LZWState *lzw;
     uint8_t *buf;
 } GIFContext;
index dec2197fc98d0b8ce4cae80b36e6329e336e23c7..eb5f01fcf96620d9e2a0331a1fd279022573ba2a 100644 (file)
@@ -33,7 +33,7 @@
 /* symbol for Huffman tree node */
 #define HNODE -1
 
-typedef struct {
+typedef struct HeapElem {
     uint64_t val;
     int name;
 } HeapElem;
index 70c98d68e047803dc0b580d5492457f827b42462..87a10139667a38d9f3b16ff4d9423e694d4a992b 100644 (file)
@@ -56,8 +56,7 @@
 #define HUF_TOKENS 256
 #define PALETTE_COUNT 256
 
-typedef struct
-{
+typedef struct hnode {
   int count;
   unsigned char used;
   int children[2];
index 112c2ca93cfe226e838d41c4e46d469f951158d5..92c376446237c742835356b47ea1e0ffb16faed5 100644 (file)
@@ -33,7 +33,7 @@
 #include "get_bits.h"
 #include "internal.h"
 
-typedef struct {
+typedef struct IffContext {
     AVFrame *frame;
     int planesize;
     uint8_t * planebuf;
index 500f56408d383e45a5b26d1c5edb5c97d5190651..cb95d39ca100628d76d376a834d7330cde1f6e93 100644 (file)
@@ -79,7 +79,7 @@ typedef struct IMCChannel {
     int decoder_reset;
 } IMCChannel;
 
-typedef struct {
+typedef struct IMCContext {
     IMCChannel chctx[2];
 
     /** MDCT tables */
index d58e775996169ce6ecc7695a2a283ef41f103b06..4035e472f343c5bda1ec249741f0bcbef735e819 100644 (file)
@@ -30,7 +30,7 @@
 #include "avcodec.h"
 #include "internal.h"
 
-typedef struct {
+typedef struct KgvContext {
     AVCodecContext *avctx;
     uint16_t *frame_buffer;
     uint16_t *last_frame_buffer;
index c7697a5e879805b86dc35d07a7836dbf17dd7517..73b1b9f71edb5fd52b873cd01d677c8cb403faf6 100644 (file)
@@ -74,7 +74,7 @@ static const enum AVPixelFormat any_pix_fmts[] = {
     RGB_PIXEL_FORMATS, GRAY_PIXEL_FORMATS, YUV_PIXEL_FORMATS, XYZ_PIXEL_FORMATS
 };
 
-typedef struct {
+typedef struct LibOpenJPEGContext {
     AVClass *class;
     opj_dparameters_t dec_params;
     int lowres;
index 2c2109f07601cdd0da8fd9285ee783135a484be1..00c0ed6d0d031982cbac5eb58fa60bc1b59c3d94 100644 (file)
@@ -34,7 +34,7 @@
 #include "avcodec.h"
 #include "internal.h"
 
-typedef struct {
+typedef struct LibOpenJPEGContext {
     AVClass *avclass;
     opj_image_t *image;
     opj_cparameters_t enc_params;
index d00696ee391f71c63d04c1d541d4ccbbdefc161e..a26b763688da23423351f26c1c2146bb5afc9c26 100644 (file)
@@ -28,7 +28,7 @@
 #include "avcodec.h"
 #include "internal.h"
 
-typedef struct {
+typedef struct LibSpeexContext {
     SpeexBits bits;
     SpeexStereoState stereo;
     void *dec_state;
index 98f89b214fd67fa24b8108b168076f990c39a97d..ec8882f93660fb811cb6f48bddbe3536885a2093 100644 (file)
@@ -92,7 +92,7 @@
 #include "internal.h"
 #include "audio_frame_queue.h"
 
-typedef struct {
+typedef struct LibSpeexEncContext {
     AVClass *class;             ///< AVClass for private options
     SpeexBits bits;             ///< libspeex bitwriter context
     SpeexHeader header;         ///< libspeex header struct
index 88ee5d380c438203b38a1d97b4ac53de9bc9d71d..7f97366de4db75d860a2ed41aaf57edd2f9b50d3 100644 (file)
@@ -35,7 +35,7 @@
 
 #define MIMIC_HEADER_SIZE   20
 
-typedef struct {
+typedef struct MimicContext {
     AVCodecContext *avctx;
 
     int             num_vblocks[3];
index c31ff11222a9f027c220a6c4c86871dda9377344..b3acde4f9dcdc6b1f51dc8706728c90d3e366d06 100644 (file)
@@ -32,7 +32,7 @@
 #include "internal.h"
 #include "rtjpeg.h"
 
-typedef struct {
+typedef struct NuvContext {
     AVFrame *pic;
     int codec_frameheader;
     int quality;
index 03f63d9dcefc68183779cb7fa80860af23eae45f..1bbe267ec387441aba73b5670518072282b548d6 100644 (file)
@@ -40,7 +40,7 @@
 #include "proresdsp.h"
 #include "get_bits.h"
 
-typedef struct {
+typedef struct ProresThreadData {
     const uint8_t *index;            ///< pointers to the data of this slice
     int slice_num;
     int x_pos, y_pos;
@@ -51,7 +51,7 @@ typedef struct {
     DECLARE_ALIGNED(16, int16_t, qmat_chroma_scaled)[64];
 } ProresThreadData;
 
-typedef struct {
+typedef struct ProresContext {
     ProresDSPContext dsp;
     AVFrame    *frame;
     ScanTable  scantable;
index 7d9427c008cc5a894bee280d9eddc319b6b85086..d4a82ee9010de51d6ddfaf4f554e789013c4dbf2 100644 (file)
@@ -52,7 +52,7 @@ typedef enum {
     RATE_FULL
 } qcelp_packet_rate;
 
-typedef struct {
+typedef struct QCELPContext {
     GetBitContext     gb;
     qcelp_packet_rate bitrate;
     QCELPFrame        frame;    /**< unpacked data frame */
index 4718b34942a0927c0df1422b9d270bed907cd2fc..188358a04f6bca5c805a99bf3a2ecd554240e4c2 100644 (file)
@@ -83,7 +83,7 @@ typedef int8_t sb_int8_array[2][30][64];
 /**
  * Subpacket
  */
-typedef struct {
+typedef struct QDM2SubPacket {
     int type;            ///< subpacket type
     unsigned int size;   ///< subpacket size
     const uint8_t *data; ///< pointer to subpacket data (points to input data buffer, it's not a private copy)
@@ -97,12 +97,12 @@ typedef struct QDM2SubPNode {
     struct QDM2SubPNode *next; ///< pointer to next packet in the list, NULL if leaf node
 } QDM2SubPNode;
 
-typedef struct {
+typedef struct QDM2Complex {
     float re;
     float im;
 } QDM2Complex;
 
-typedef struct {
+typedef struct FFTTone {
     float level;
     QDM2Complex *complex;
     const float *table;
@@ -113,7 +113,7 @@ typedef struct {
     short cutoff;
 } FFTTone;
 
-typedef struct {
+typedef struct FFTCoefficient {
     int16_t sub_packet;
     uint8_t channel;
     int16_t offset;
@@ -121,14 +121,14 @@ typedef struct {
     uint8_t phase;
 } FFTCoefficient;
 
-typedef struct {
+typedef struct QDM2FFT {
     DECLARE_ALIGNED(32, QDM2Complex, complex)[MPA_MAX_CHANNELS][256];
 } QDM2FFT;
 
 /**
  * QDM2 decoder context
  */
-typedef struct {
+typedef struct QDM2Context {
     /// Parameters from codec header, do not change during playback
     int nb_channels;         ///< number of channels
     int channels;            ///< number of channels
index 215786c803689d986a56b258ab6ba759ff038c09..a67c6571fd50e7f8a0acae2873218a8c16006cf6 100644 (file)
@@ -37,7 +37,7 @@
 #define RA288_BLOCK_SIZE        5
 #define RA288_BLOCKS_PER_FRAME 32
 
-typedef struct {
+typedef struct RA288Context {
     AVFloatDSPContext fdsp;
     DECLARE_ALIGNED(32, float,   sp_lpc)[FFALIGN(36, 16)];   ///< LPC coefficients for speech data (spec: A)
     DECLARE_ALIGNED(32, float, gain_lpc)[FFALIGN(10, 16)];   ///< LPC coefficients for gain        (spec: GB)
index 402eb78be58ae52c1687fa2a728508503a2fba25..936b809e39ac556b2140968553480bc1d7112feb 100644 (file)
@@ -32,8 +32,7 @@
 #define MAX_DPCM (127*127)
 
 
-typedef struct
-{
+typedef struct ROQDPCMContext {
     short lastSample[2];
     int input_frames;
     int buffered_samples;
index fb7635a5aea2ce17cb2538886fa126a9814e41b9..fd651e9552607c47ef4ba181e28e2cbde4b69016 100644 (file)
@@ -183,8 +183,7 @@ static inline int squared_diff_macroblock(uint8_t a[], uint8_t b[], int size)
     return sdiff;
 }
 
-typedef struct
-{
+typedef struct SubcelEvaluation {
     int eval_dist[4];
     int best_bit_use;
     int best_coding;
@@ -194,8 +193,7 @@ typedef struct
     int cbEntry;
 } SubcelEvaluation;
 
-typedef struct
-{
+typedef struct CelEvaluation {
     int eval_dist[4];
     int best_coding;
 
@@ -207,8 +205,7 @@ typedef struct
     int sourceX, sourceY;
 } CelEvaluation;
 
-typedef struct
-{
+typedef struct RoqCodebooks {
     int numCB4;
     int numCB2;
     int usedCB2[MAX_CBS_2x2];
@@ -602,8 +599,7 @@ static inline uint8_t motion_arg(motion_vect mot)
     return ((ax&15)<<4) | (ay&15);
 }
 
-typedef struct
-{
+typedef struct CodingSpool {
     int typeSpool;
     int typeSpoolLength;
     uint8_t argumentSpool[64];
index 8af74431c0b191ef318c2da15387cba3f3efd457..ec6d3a5644a82f68de446fbde3e5906c5867af97 100644 (file)
@@ -27,7 +27,7 @@
 #include "parser.h"
 #include "libavutil/intreadwrite.h"
 
-typedef struct {
+typedef struct RV34ParseContext {
     ParseContext pc;
     int64_t key_dts;
     int key_pts;
index 98607f22877e5f42291a1d1cd6eb5061d8f821e1..81c38a3a99bd81172fd7306dca8dd0d936c51a8d 100644 (file)
@@ -44,7 +44,7 @@
 #include "sipr.h"
 #include "siprdata.h"
 
-typedef struct {
+typedef struct SiprModeParam {
     const char *mode_name;
     uint16_t bits_per_frame;
     uint8_t subframe_count;
index bbc80617ac6b4c37e6b2da54e6b154d59876f6b1..3bee3c726fd57476f46c12517a0693f6d9b10f6b 100644 (file)
@@ -41,7 +41,7 @@ enum {
     PARAM_NUMBER
 };
 
-typedef struct {
+typedef struct SrtStack {
     char tag[128];
     char param[PARAM_NUMBER][128];
 } SrtStack;
index fc2120b2cb3cb8cb0e487922b1b5c1b6e54b51f6..88c060d307052033bd31569f6b1033b652b1b937 100644 (file)
@@ -68,7 +68,7 @@
  * svq3 decoder.
  */
 
-typedef struct {
+typedef struct SVQ3Context {
     H264Context h;
     HpelDSPContext hdsp;
     TpelDSPContext tdsp;
index 34b7c3b5a7b90567047f4dc0ce8ec6db70c94c8b..9cf9c92efec6cb10e43ec082dd821bffa7fb3c04 100644 (file)
@@ -35,7 +35,7 @@
 /**
  * TrueSpeech decoder context
  */
-typedef struct {
+typedef struct TSContext {
     BswapDSPContext bdsp;
     /* input data */
     DECLARE_ALIGNED(16, uint8_t, buffer)[32];
index f950328d30450675d41ed376f75a23d627b9f699..908506db6e075a006488de181dbdccf294d5861d 100644 (file)
@@ -23,7 +23,7 @@
 #include "libavutil/opt.h"
 #include "libavutil/pixfmt.h"
 
-typedef struct {
+typedef struct V210EncContext {
     void (*pack_line_8)(const uint8_t *y, const uint8_t *u,
                         const uint8_t *v, uint8_t *dst, ptrdiff_t width);
     void (*pack_line_10)(const uint16_t *y, const uint16_t *u,
index 4d5cd96295202e8aaa22ade3a6d0219088828fd1..8e042c25d1a01aa2c9c61168bc63605731a43e97 100644 (file)
@@ -32,7 +32,7 @@
 #include "internal.h"
 #include "mathops.h"
 
-typedef struct {
+typedef struct VBLEContext {
     AVCodecContext *avctx;
     HuffYUVDSPContext hdsp;
 
index 7d8d016be943ab39b1cc206bda7361ca88bab303..38b62f72bd7aeb254b8f797895df98cb8b2edc07 100644 (file)
@@ -47,7 +47,7 @@ typedef enum {
     ONE
 } VC1ParseSearchState;
 
-typedef struct {
+typedef struct VC1ParseContext {
     ParseContext pc;
     VC1Context v;
     uint8_t prev_start_code;
index ed8253a0f5787bdfa9efc963026e0c35e9087622..22cf1e502d8387c85f702038496d84c6b750bf8a 100644 (file)
@@ -38,7 +38,7 @@
 
 #if CONFIG_WMV3IMAGE_DECODER || CONFIG_VC1IMAGE_DECODER
 
-typedef struct {
+typedef struct SpriteData {
     /**
      * Transform coefficients for both sprites in 16.16 fixed point format,
      * in the order they appear in the bitstream:
index d7fec98c6e4204be38e63b464bfbf55ab6b93b93..dbcc1cd911d78db1c8d03daeea4721e32a81357e 100644 (file)
@@ -42,7 +42,7 @@
 #define V_MAX_VLCS (1 << 16)
 #define V_MAX_PARTITIONS (1 << 20)
 
-typedef struct {
+typedef struct vorbis_codebook {
     uint8_t      dimensions;
     uint8_t      lookup_type;
     uint8_t      maxdepth;
@@ -58,7 +58,7 @@ struct vorbis_context_s;
 typedef
 int (* vorbis_floor_decode_func)
     (struct vorbis_context_s *, vorbis_floor_data *, float *);
-typedef struct {
+typedef struct vorbis_floor {
     uint8_t floor_type;
     vorbis_floor_decode_func decode;
     union vorbis_floor_u {
@@ -88,7 +88,7 @@ typedef struct {
     } data;
 } vorbis_floor;
 
-typedef struct {
+typedef struct vorbis_residue {
     uint16_t      type;
     uint32_t      begin;
     uint32_t      end;
@@ -101,7 +101,7 @@ typedef struct {
     uint8_t      *classifs;
 } vorbis_residue;
 
-typedef struct {
+typedef struct vorbis_mapping {
     uint8_t       submaps;
     uint16_t      coupling_steps;
     uint8_t      *magnitude;
@@ -111,7 +111,7 @@ typedef struct {
     uint8_t       submap_residue[16];
 } vorbis_mapping;
 
-typedef struct {
+typedef struct vorbis_mode {
     uint8_t       blockflag;
     uint16_t      windowtype;
     uint16_t      transformtype;
index 10c7932322ffbb54a5b5ca6c838b11b02b133e55..12a97bc058f6497e0d1c332299f7b6ad015bf1d9 100644 (file)
@@ -39,7 +39,7 @@
 #undef NDEBUG
 #include <assert.h>
 
-typedef struct {
+typedef struct vorbis_enc_codebook {
     int nentries;
     uint8_t *lens;
     uint32_t *codewords;
@@ -53,14 +53,14 @@ typedef struct {
     float *pow2;
 } vorbis_enc_codebook;
 
-typedef struct {
+typedef struct vorbis_enc_floor_class {
     int dim;
     int subclass;
     int masterbook;
     int *books;
 } vorbis_enc_floor_class;
 
-typedef struct {
+typedef struct vorbis_enc_floor {
     int partitions;
     int *partition_to_class;
     int nclasses;
@@ -71,7 +71,7 @@ typedef struct {
     vorbis_floor1_entry *list;
 } vorbis_enc_floor;
 
-typedef struct {
+typedef struct vorbis_enc_residue {
     int type;
     int begin;
     int end;
@@ -82,7 +82,7 @@ typedef struct {
     float (*maxes)[2];
 } vorbis_enc_residue;
 
-typedef struct {
+typedef struct vorbis_enc_mapping {
     int submaps;
     int *mux;
     int *floor;
@@ -92,12 +92,12 @@ typedef struct {
     int *angle;
 } vorbis_enc_mapping;
 
-typedef struct {
+typedef struct vorbis_enc_mode {
     int blockflag;
     int mapping;
 } vorbis_enc_mode;
 
-typedef struct {
+typedef struct vorbis_enc_context {
     int channels;
     int sample_rate;
     int log2_blocksize[2];
index b8a1776e593c05dc78ca5a49f4d600b236f20dae..eea7f94353f140c0653e976295f0357f92efab44 100644 (file)
@@ -50,7 +50,7 @@
 /**
  * @brief frame-specific decoder context for a single channel
  */
-typedef struct {
+typedef struct WmallChannelCtx {
     int16_t     prev_block_len;                         ///< length of the previous block
     uint8_t     transmit_coefs;
     uint8_t     num_subframes;
index afe6ac2c95936a921994c3738403bdaff34afc33..5e063764c658ebefe8e9875ec75924bb5fce5511 100644 (file)
@@ -132,7 +132,7 @@ static float            sin64[33];        ///< sine table for decorrelation
 /**
  * @brief frame specific decoder context for a single channel
  */
-typedef struct {
+typedef struct WMAProChannelCtx {
     int16_t  prev_block_len;                          ///< length of the previous block
     uint8_t  transmit_coefs;
     uint8_t  num_subframes;
@@ -157,7 +157,7 @@ typedef struct {
 /**
  * @brief channel group for channel transformations
  */
-typedef struct {
+typedef struct WMAProChannelGrp {
     uint8_t num_channels;                                     ///< number of channels in the group
     int8_t  transform;                                        ///< transform on / off
     int8_t  transform_band[MAX_BANDS];                        ///< controls if the transform is enabled for a certain band
index 0d91077ecabb154dc1c9b2672218a47ba158d04a..e408166c48001539d030672291e4bcb500c39425 100644 (file)
@@ -131,7 +131,7 @@ static const struct frame_type_desc {
 /**
  * WMA Voice decoding context.
  */
-typedef struct {
+typedef struct WMAVoiceContext {
     /**
      * @name Global values specified in the stream header / extradata or used all over.
      * @{
index eeba2dedf74d45e323a9a5d9eee8bcfd33d54cbd..89c869cc5f2ef3a12f067c7ce104333d145fed1c 100644 (file)
@@ -22,7 +22,7 @@
 #include "internal.h"
 #include "libavutil/common.h"
 
-typedef struct {
+typedef struct ZeroCodecContext {
     AVFrame  *previous_frame;
     z_stream zstream;
 } ZeroCodecContext;