Anonymous structs cannot be forward declared and have no benefit.
Unified · Split
| @@ -121,7 +121,7 @@ typedef struct SpecifierOpt { · 120 unmodified lines | ||
| 121 | 121 | } u; |
| 122 | 122 | } SpecifierOpt; |
| 123 | 123 | |
| 124 | −typedef struct { | |
| 124 | +typedef struct OptionDef { | |
| 125 | 125 | const char *name; |
| 126 | 126 | int flags; |
| 127 | 127 | #define HAS_ARG 0x0001 |
| @@ -356,7 +356,7 @@ int read_yesno(void); · 228 unmodified lines | ||
| 356 | 356 | */ |
| 357 | 357 | int cmdutils_read_file(const char *filename, char **bufptr, size_t *size); |
| 358 | 358 | |
| 359 | −typedef struct { | |
| 359 | +typedef struct PtsCorrectionContext { | |
| 360 | 360 | int64_t num_faulty_pts; /// Number of incorrect PTS values so far |
| 361 | 361 | int64_t num_faulty_dts; /// Number of incorrect DTS values so far |
| 362 | 362 | int64_t last_pts; /// PTS of the last frame |
| @@ -113,7 +113,7 @@ enum OCStatus { · 112 unmodified lines | ||
| 113 | 113 | OC_LOCKED, ///< Output configuration locked in place |
| 114 | 114 | }; |
| 115 | 115 | |
| 116 | −typedef struct { | |
| 116 | +typedef struct OutputConfiguration { | |
| 117 | 117 | MPEG4AudioConfig m4ac; |
| 118 | 118 | uint8_t layout_map[MAX_ELEM_ID*4][3]; |
| 119 | 119 | int layout_map_tags; |
| @@ -125,7 +125,7 @@ typedef struct { · 5 unmodified lines | ||
| 125 | 125 | /** |
| 126 | 126 | * Predictor State |
| 127 | 127 | */ |
| 128 | −typedef struct { | |
| 128 | +typedef struct PredictorState { | |
| 129 | 129 | float cor0; |
| 130 | 130 | float cor1; |
| 131 | 131 | float var0; |
| @@ -146,7 +146,7 @@ typedef struct { · 14 unmodified lines | ||
| 146 | 146 | /** |
| 147 | 147 | * Long Term Prediction |
| 148 | 148 | */ |
| 149 | −typedef struct { | |
| 149 | +typedef struct LongTermPrediction { | |
| 150 | 150 | int8_t present; |
| 151 | 151 | int16_t lag; |
| 152 | 152 | float coef; |
| @@ -156,7 +156,7 @@ typedef struct { · 3 unmodified lines | ||
| 156 | 156 | /** |
| 157 | 157 | * Individual Channel Stream |
| 158 | 158 | */ |
| 159 | −typedef struct { | |
| 159 | +typedef struct IndividualChannelStream { | |
| 160 | 160 | uint8_t max_sfb; ///< number of scalefactor bands per group |
| 161 | 161 | enum WindowSequence window_sequence[2]; |
| 162 | 162 | uint8_t use_kb_window[2]; ///< If set, use Kaiser-Bessel window, otherwise use a sinus window. |
| @@ -177,7 +177,7 @@ typedef struct { · 14 unmodified lines | ||
| 177 | 177 | /** |
| 178 | 178 | * Temporal Noise Shaping |
| 179 | 179 | */ |
| 180 | −typedef struct { | |
| 180 | +typedef struct TemporalNoiseShaping { | |
| 181 | 181 | int present; |
| 182 | 182 | int n_filt[8]; |
| 183 | 183 | int length[8][4]; |
| @@ -189,7 +189,7 @@ typedef struct { · 5 unmodified lines | ||
| 189 | 189 | /** |
| 190 | 190 | * Dynamic Range Control - decoded from the bitstream but not processed further. |
| 191 | 191 | */ |
| 192 | −typedef struct { | |
| 192 | +typedef struct DynamicRangeControl { | |
| 193 | 193 | int pce_instance_tag; ///< Indicates with which program the DRC info is associated. |
| 194 | 194 | int dyn_rng_sgn[17]; ///< DRC sign information; 0 - positive, 1 - negative |
| 195 | 195 | int dyn_rng_ctl[17]; ///< DRC magnitude information |
| @@ -202,7 +202,7 @@ typedef struct { · 6 unmodified lines | ||
| 202 | 202 | */ |
| 203 | 203 | } DynamicRangeControl; |
| 204 | 204 | |
| 205 | −typedef struct { | |
| 205 | +typedef struct Pulse { | |
| 206 | 206 | int num_pulse; |
| 207 | 207 | int start; |
| 208 | 208 | int pos[4]; |
| @@ -212,7 +212,7 @@ typedef struct { · 3 unmodified lines | ||
| 212 | 212 | /** |
| 213 | 213 | * coupling parameters |
| 214 | 214 | */ |
| 215 | −typedef struct { | |
| 215 | +typedef struct ChannelCoupling { | |
| 216 | 216 | enum CouplingPoint coupling_point; ///< The point during decoding at which coupling is applied. |
| 217 | 217 | int num_coupled; ///< number of target elements |
| 218 | 218 | enum RawDataBlockType type[8]; ///< Type of channel element to be coupled - SCE or CPE. |
| @@ -226,7 +226,7 @@ typedef struct { · 7 unmodified lines | ||
| 226 | 226 | /** |
| 227 | 227 | * Single Channel Element - used for both SCE and LFE elements. |
| 228 | 228 | */ |
| 229 | −typedef struct { | |
| 229 | +typedef struct SingleChannelElement { | |
| 230 | 230 | IndividualChannelStream ics; |
| 231 | 231 | TemporalNoiseShaping tns; |
| 232 | 232 | Pulse pulse; |
| @@ -245,7 +245,7 @@ typedef struct { · 12 unmodified lines | ||
| 245 | 245 | /** |
| 246 | 246 | * channel element - generic struct for SCE/CPE/CCE/LFE |
| 247 | 247 | */ |
| 248 | −typedef struct { | |
| 248 | +typedef struct ChannelElement { | |
| 249 | 249 | // CPE specific |
| 250 | 250 | int common_window; ///< Set if channels share a common 'IndividualChannelStream' in bitstream. |
| 251 | 251 | int ms_mode; ///< Signals mid/side stereo flags coding mode (used by encoder) |
| @@ -260,7 +260,7 @@ typedef struct { · 8 unmodified lines | ||
| 260 | 260 | /** |
| 261 | 261 | * main AAC context |
| 262 | 262 | */ |
| 263 | −typedef struct { | |
| 263 | +typedef struct AACContext { | |
| 264 | 264 | AVCodecContext *avctx; |
| 265 | 265 | AVFrame frame; |
| 266 | 266 | |
| @@ -28,7 +28,7 @@ · 27 unmodified lines | ||
| 28 | 28 | |
| 29 | 29 | #define AAC_ADTS_HEADER_SIZE 7 |
| 30 | 30 | |
| 31 | −typedef struct { | |
| 31 | +typedef struct AACADTSHeaderInfo { | |
| 32 | 32 | uint32_t sample_rate; |
| 33 | 33 | uint32_t samples; |
| 34 | 34 | uint32_t bit_rate; |
| @@ -38,7 +38,7 @@ · 37 unmodified lines | ||
| 38 | 38 | #define PS_AP_LINKS 3 |
| 39 | 39 | #define PS_MAX_AP_DELAY 5 |
| 40 | 40 | |
| 41 | −typedef struct { | |
| 41 | +typedef struct PSContext { | |
| 42 | 42 | int start; |
| 43 | 43 | int enable_iid; |
| 44 | 44 | int iid_quant; |
| @@ -91,7 +91,7 @@ typedef struct AC3BitAllocParameters { · 90 unmodified lines | ||
| 91 | 91 | * @struct AC3HeaderInfo |
| 92 | 92 | * Coded AC-3 header values up to the lfeon element, plus derived values. |
| 93 | 93 | */ |
| 94 | −typedef struct { | |
| 94 | +typedef struct AC3HeaderInfo { | |
| 95 | 95 | /** @name Coded elements |
| 96 | 96 | * @{ |
| 97 | 97 | */ |
| @@ -65,7 +65,7 @@ · 64 unmodified lines | ||
| 65 | 65 | /** Large enough for maximum possible frame size when the specification limit is ignored */ |
| 66 | 66 | #define AC3_FRAME_BUFFER_SIZE 32768 |
| 67 | 67 | |
| 68 | −typedef struct { | |
| 68 | +typedef struct AC3DecodeContext { | |
| 69 | 69 | AVClass *class; ///< class for AVOptions |
| 70 | 70 | AVCodecContext *avctx; ///< parent context |
| 71 | 71 | AVFrame frame; ///< AVFrame for decoded output |
| @@ -26,7 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | #include <stdint.h> |
| 27 | 27 | |
| 28 | 28 | /** Sparse representation for the algebraic codebook (fixed) vector */ |
| 29 | −typedef struct { | |
| 29 | +typedef struct AMRFixed { | |
| 30 | 30 | int n; |
| 31 | 31 | int x[10]; |
| 32 | 32 | float y[10]; |
| @@ -35,11 +35,11 @@ · 34 unmodified lines | ||
| 35 | 35 | |
| 36 | 36 | #include "avcodec.h" |
| 37 | 37 | |
| 38 | −typedef struct { | |
| 38 | +typedef struct ADXChannelState { | |
| 39 | 39 | int s1,s2; |
| 40 | 40 | } ADXChannelState; |
| 41 | 41 | |
| 42 | −typedef struct { | |
| 42 | +typedef struct ADXContext { | |
| 43 | 43 | AVFrame frame; |
| 44 | 44 | int channels; |
| 45 | 45 | ADXChannelState prev[2]; |
| @@ -55,7 +55,7 @@ enum Mode { · 54 unmodified lines | ||
| 55 | 55 | /** |
| 56 | 56 | * AMRNB unpacked data subframe |
| 57 | 57 | */ |
| 58 | −typedef struct { | |
| 58 | +typedef struct AMRNBSubframe { | |
| 59 | 59 | uint16_t p_lag; ///< index to decode the pitch lag |
| 60 | 60 | uint16_t p_gain; ///< index to decode the pitch gain |
| 61 | 61 | uint16_t fixed_gain; ///< index to decode the fixed gain factor, for MODE_12k2 and MODE_7k95 |
| @@ -65,7 +65,7 @@ typedef struct { · 3 unmodified lines | ||
| 65 | 65 | /** |
| 66 | 66 | * AMRNB unpacked data frame |
| 67 | 67 | */ |
| 68 | −typedef struct { | |
| 68 | +typedef struct AMRNBFrame { | |
| 69 | 69 | uint16_t lsf[5]; ///< lsf parameters: 5 parameters for MODE_12k2, only 3 for other modes |
| 70 | 70 | AMRNBSubframe subframe[4]; ///< unpacked data for each subframe |
| 71 | 71 | } AMRNBFrame; |
| @@ -66,7 +66,7 @@ enum Mode { · 65 unmodified lines | ||
| 66 | 66 | |
| 67 | 67 | /* All decoded parameters in these structs must be 2 bytes long |
| 68 | 68 | * because of the direct indexing at the frame parsing */ |
| 69 | −typedef struct { | |
| 69 | +typedef struct AMRWBSubFrame { | |
| 70 | 70 | uint16_t adap; ///< adaptive codebook index |
| 71 | 71 | uint16_t ltp; ///< ltp-filtering flag |
| 72 | 72 | uint16_t vq_gain; ///< VQ adaptive and innovative gains |
| @@ -75,7 +75,7 @@ typedef struct { · 2 unmodified lines | ||
| 75 | 75 | uint16_t pul_il[4]; ///< LSBs part of codebook index |
| 76 | 76 | } AMRWBSubFrame; |
| 77 | 77 | |
| 78 | −typedef struct { | |
| 78 | +typedef struct AMRWBFrame { | |
| 79 | 79 | uint16_t vad; ///< voice activity detection flag |
| 80 | 80 | uint16_t isp_id[7]; ///< index of ISP subvectors |
| 81 | 81 | AMRWBSubFrame subframe[4]; ///< data for subframes |
| @@ -29,11 +29,11 @@ · 28 unmodified lines | ||
| 29 | 29 | #include "libavutil/common.h" |
| 30 | 30 | #include "libavutil/intreadwrite.h" |
| 31 | 31 | |
| 32 | −typedef struct { | |
| 32 | +typedef struct GetByteContext { | |
| 33 | 33 | const uint8_t *buffer, *buffer_end, *buffer_start; |
| 34 | 34 | } GetByteContext; |
| 35 | 35 | |
| 36 | −typedef struct { | |
| 36 | +typedef struct PutByteContext { | |
| 37 | 37 | uint8_t *buffer, *buffer_end, *buffer_start; |
| 38 | 38 | int eof; |
| 39 | 39 | } PutByteContext; |
| @@ -152,7 +152,7 @@ struct dec_2dvlc { · 151 unmodified lines | ||
| 152 | 152 | int8_t max_run; |
| 153 | 153 | }; |
| 154 | 154 | |
| 155 | −typedef struct { | |
| 155 | +typedef struct AVSContext { | |
| 156 | 156 | MpegEncContext s; |
| 157 | 157 | CAVSDSPContext cdsp; |
| 158 | 158 | Picture picture; ///< currently decoded frame |
| @@ -31,7 +31,7 @@ · 30 unmodified lines | ||
| 31 | 31 | #include "avcodec.h" |
| 32 | 32 | #include "get_bits.h" |
| 33 | 33 | |
| 34 | −typedef struct { | |
| 34 | +typedef struct dirac_source_params { | |
| 35 | 35 | unsigned width; |
| 36 | 36 | unsigned height; |
| 37 | 37 | uint8_t chroma_format; ///< 0: 444 1: 422 2: 420 |
| @@ -25,7 +25,7 @@ · 24 unmodified lines | ||
| 25 | 25 | #include <stdint.h> |
| 26 | 26 | #include "avcodec.h" |
| 27 | 27 | |
| 28 | −typedef struct { | |
| 28 | +typedef struct CIDEntry { | |
| 29 | 29 | int cid; |
| 30 | 30 | unsigned int width, height; |
| 31 | 31 | int interlaced; |
| @@ -29,12 +29,12 @@ · 28 unmodified lines | ||
| 29 | 29 | #include "mpegvideo.h" |
| 30 | 30 | #include "dnxhddata.h" |
| 31 | 31 | |
| 32 | −typedef struct { | |
| 32 | +typedef struct RCCMPEntry { | |
| 33 | 33 | uint16_t mb; |
| 34 | 34 | int value; |
| 35 | 35 | } RCCMPEntry; |
| 36 | 36 | |
| 37 | −typedef struct { | |
| 37 | +typedef struct RCEntry { | |
| 38 | 38 | int ssd; |
| 39 | 39 | int bits; |
| 40 | 40 | } RCEntry; |
| @@ -26,7 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | typedef int DWTELEM; |
| 27 | 27 | typedef short IDWTELEM; |
| 28 | 28 | |
| 29 | −typedef struct { | |
| 29 | +typedef struct DWTCompose { | |
| 30 | 30 | IDWTELEM *b0; |
| 31 | 31 | IDWTELEM *b1; |
| 32 | 32 | IDWTELEM *b2; |
| @@ -30,7 +30,7 @@ · 29 unmodified lines | ||
| 30 | 30 | |
| 31 | 31 | #define PREV_SAMPLES_BUF_SIZE 1024 |
| 32 | 32 | |
| 33 | −typedef struct { | |
| 33 | +typedef struct G722Context { | |
| 34 | 34 | const AVClass *class; |
| 35 | 35 | AVFrame frame; |
| 36 | 36 | int bits_per_codeword; |
| @@ -25,7 +25,7 @@ · 24 unmodified lines | ||
| 25 | 25 | #include <stdint.h> |
| 26 | 26 | #include "avcodec.h" |
| 27 | 27 | |
| 28 | −typedef struct { | |
| 28 | +typedef struct GSMContext { | |
| 29 | 29 | AVFrame frame; |
| 30 | 30 | // Contains first 120 elements from the previous frame |
| 31 | 31 | // (used by long_term_synth according to the "lag"), |
| @@ -29,7 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | #include "avcodec.h" |
| 30 | 30 | #include "get_bits.h" |
| 31 | 31 | |
| 32 | −typedef struct { | |
| 32 | +typedef struct Node { | |
| 33 | 33 | int16_t sym; |
| 34 | 34 | int16_t n0; |
| 35 | 35 | uint32_t count; |
| @@ -320,7 +320,7 @@ static const int32_t delta_tab_3_4_m10[79] = { TAB_3_4 }; · 319 unmodified lines | ||
| 320 | 320 | static const int32_t delta_tab_3_5_m10[79] = { TAB_3_5 }; |
| 321 | 321 | |
| 322 | 322 | |
| 323 | −typedef struct { | |
| 323 | +typedef struct vqEntry { | |
| 324 | 324 | const int16_t *deltas; ///< delta tables for 4x4 block modes |
| 325 | 325 | const int32_t *deltas_m10; ///< delta tables for 8x8 block modes |
| 326 | 326 | uint8_t num_dyads; ///< number of two-pixel deltas |
| @@ -23,7 +23,7 @@ · 22 unmodified lines | ||
| 23 | 23 | #include "mpegvideo.h" |
| 24 | 24 | #include "intrax8dsp.h" |
| 25 | 25 | |
| 26 | −typedef struct{ | |
| 26 | +typedef struct IntraX8Context { | |
| 27 | 27 | VLC * j_ac_vlc[4];//they point to the static j_mb_vlc |
| 28 | 28 | VLC * j_orient_vlc; |
| 29 | 29 | VLC * j_dc_vlc[3]; |
| @@ -40,7 +40,7 @@ · 39 unmodified lines | ||
| 40 | 40 | /** |
| 41 | 41 | * huffman codebook descriptor |
| 42 | 42 | */ |
| 43 | −typedef struct { | |
| 43 | +typedef struct IVIHuffDesc { | |
| 44 | 44 | int32_t num_rows; |
| 45 | 45 | uint8_t xbits[16]; |
| 46 | 46 | } IVIHuffDesc; |
| @@ -48,7 +48,7 @@ typedef struct { · 1 unmodified line | ||
| 48 | 48 | /** |
| 49 | 49 | * macroblock/block huffman table descriptor |
| 50 | 50 | */ |
| 51 | −typedef struct { | |
| 51 | +typedef struct IVIHuffTab { | |
| 52 | 52 | int32_t tab_sel; /// index of one of the predefined tables |
| 53 | 53 | /// or "7" for custom one |
| 54 | 54 | VLC *tab; /// pointer to the table associated with tab_sel |
| @@ -85,7 +85,7 @@ typedef void (DCTransformPtr) (const int32_t *in, int16_t *out, uint32_t pitch, · 30 unmodified lines | ||
| 85 | 85 | /** |
| 86 | 86 | * run-value (RLE) table descriptor |
| 87 | 87 | */ |
| 88 | −typedef struct { | |
| 88 | +typedef struct RVMapDesc { | |
| 89 | 89 | uint8_t eob_sym; ///< end of block symbol |
| 90 | 90 | uint8_t esc_sym; ///< escape symbol |
| 91 | 91 | uint8_t runtab[256]; |
| @@ -98,7 +98,7 @@ extern const RVMapDesc ff_ivi_rvmap_tabs[9]; · 6 unmodified lines | ||
| 98 | 98 | /** |
| 99 | 99 | * information for Indeo macroblock (16x16, 8x8 or 4x4) |
| 100 | 100 | */ |
| 101 | −typedef struct { | |
| 101 | +typedef struct IVIMbInfo { | |
| 102 | 102 | int16_t xpos; |
| 103 | 103 | int16_t ypos; |
| 104 | 104 | uint32_t buf_offs; ///< address in the output buffer for this mb |
| @@ -113,7 +113,7 @@ typedef struct { · 8 unmodified lines | ||
| 113 | 113 | /** |
| 114 | 114 | * information for Indeo tile |
| 115 | 115 | */ |
| 116 | −typedef struct { | |
| 116 | +typedef struct IVITile { | |
| 117 | 117 | int xpos; |
| 118 | 118 | int ypos; |
| 119 | 119 | int width; |
| @@ -130,7 +130,7 @@ typedef struct { · 10 unmodified lines | ||
| 130 | 130 | /** |
| 131 | 131 | * information for Indeo wavelet band |
| 132 | 132 | */ |
| 133 | −typedef struct { | |
| 133 | +typedef struct IVIBandDesc { | |
| 134 | 134 | int plane; ///< plane number this band belongs to |
| 135 | 135 | int band_num; ///< band number |
| 136 | 136 | int width; |
| @@ -177,7 +177,7 @@ typedef struct { · 40 unmodified lines | ||
| 177 | 177 | /** |
| 178 | 178 | * color plane (luma or chroma) information |
| 179 | 179 | */ |
| 180 | −typedef struct { | |
| 180 | +typedef struct IVIPlaneDesc { | |
| 181 | 181 | uint16_t width; |
| 182 | 182 | uint16_t height; |
| 183 | 183 | uint8_t num_bands; ///< number of bands this plane subdivided into |
| @@ -185,7 +185,7 @@ typedef struct { · 1 unmodified line | ||
| 185 | 185 | } IVIPlaneDesc; |
| 186 | 186 | |
| 187 | 187 | |
| 188 | −typedef struct { | |
| 188 | +typedef struct IVIPicConfig { | |
| 189 | 189 | uint16_t pic_width; |
| 190 | 190 | uint16_t pic_height; |
| 191 | 191 | uint16_t chroma_width; |
| @@ -31,7 +31,7 @@ · 30 unmodified lines | ||
| 31 | 31 | |
| 32 | 32 | #include "avcodec.h" |
| 33 | 33 | |
| 34 | −typedef struct { | |
| 34 | +typedef struct SchroVideoFormatInfo { | |
| 35 | 35 | uint16_t width; |
| 36 | 36 | uint16_t height; |
| 37 | 37 | uint16_t frame_rate_num; |
| @@ -71,7 +71,7 @@ · 70 unmodified lines | ||
| 71 | 71 | #define IIR 1 |
| 72 | 72 | |
| 73 | 73 | /** filter data */ |
| 74 | −typedef struct { | |
| 74 | +typedef struct FilterParams { | |
| 75 | 75 | uint8_t order; ///< number of taps in filter |
| 76 | 76 | uint8_t shift; ///< Right shift to apply to output of filter. |
| 77 | 77 | |
| @@ -79,7 +79,7 @@ typedef struct { · 1 unmodified line | ||
| 79 | 79 | } FilterParams; |
| 80 | 80 | |
| 81 | 81 | /** sample data coding information */ |
| 82 | −typedef struct { | |
| 82 | +typedef struct ChannelParams { | |
| 83 | 83 | FilterParams filter_params[NUM_FILTERS]; |
| 84 | 84 | int32_t coeff[NUM_FILTERS][MAX_FIR_ORDER]; |
| 85 | 85 | |
| @@ -41,7 +41,7 @@ · 40 unmodified lines | ||
| 41 | 41 | #define MPC_FRAME_SIZE (BANDS * SAMPLES_PER_BAND) |
| 42 | 42 | |
| 43 | 43 | /** Subband structure - hold all variables for each subband */ |
| 44 | −typedef struct { | |
| 44 | +typedef struct Band { | |
| 45 | 45 | int msf; ///< mid-stereo flag |
| 46 | 46 | int res[2]; |
| 47 | 47 | int scfi[2]; |
| @@ -49,7 +49,7 @@ typedef struct { · 1 unmodified line | ||
| 49 | 49 | int Q[2]; |
| 50 | 50 | }Band; |
| 51 | 51 | |
| 52 | −typedef struct { | |
| 52 | +typedef struct MPCContext { | |
| 53 | 53 | AVFrame frame; |
| 54 | 54 | DSPContext dsp; |
| 55 | 55 | MPADSPContext mpadsp; |
| @@ -26,7 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | #include "get_bits.h" |
| 27 | 27 | #include "put_bits.h" |
| 28 | 28 | |
| 29 | −typedef struct { | |
| 29 | +typedef struct MPEG4AudioConfig { | |
| 30 | 30 | int object_type; |
| 31 | 31 | int sampling_index; |
| 32 | 32 | int sample_rate; |
| @@ -27,7 +27,7 @@ · 26 unmodified lines | ||
| 27 | 27 | |
| 28 | 28 | #define PRORES_BITS_PER_SAMPLE 10 ///< output precision of prores decoder |
| 29 | 29 | |
| 30 | −typedef struct { | |
| 30 | +typedef struct ProresDSPContext { | |
| 31 | 31 | int idct_permutation_type; |
| 32 | 32 | uint8_t idct_permutation[64]; |
| 33 | 33 | int dct_permutation_type; |
| @@ -37,7 +37,7 @@ · 36 unmodified lines | ||
| 37 | 37 | /** |
| 38 | 38 | * QCELP unpacked data frame |
| 39 | 39 | */ |
| 40 | −typedef struct { | |
| 40 | +typedef struct QCELPFrame { | |
| 41 | 41 | /// @name QCELP excitation codebook parameters |
| 42 | 42 | /// @{ |
| 43 | 43 | uint8_t cbsign[16]; ///< sign of the codebook gain for each codebook subframe |
| @@ -73,7 +73,7 @@ typedef struct { · 29 unmodified lines | ||
| 73 | 73 | */ |
| 74 | 74 | static const float qcelp_hammsinc_table[4] = { -0.006822, 0.041249, -0.143459, 0.588863}; |
| 75 | 75 | |
| 76 | −typedef struct { | |
| 76 | +typedef struct QCELPBitmap { | |
| 77 | 77 | uint8_t index; /**< index into the QCELPContext structure */ |
| 78 | 78 | uint8_t bitpos; /**< position of the lowest bit in the value's byte */ |
| 79 | 79 | uint8_t bitlen; /**< number of bits to read */ |
| @@ -33,7 +33,7 @@ · 32 unmodified lines | ||
| 33 | 33 | #define FRAMESIZE 20 ///< size of encoded frame |
| 34 | 34 | #define LPC_ORDER 10 ///< order of LPC filter |
| 35 | 35 | |
| 36 | −typedef struct { | |
| 36 | +typedef struct RA144Context { | |
| 37 | 37 | AVCodecContext *avctx; |
| 38 | 38 | AVFrame frame; |
| 39 | 39 | LPCContext lpc_ctx; |
| @@ -27,16 +27,16 @@ · 26 unmodified lines | ||
| 27 | 27 | #include "bytestream.h" |
| 28 | 28 | #include "dsputil.h" |
| 29 | 29 | |
| 30 | −typedef struct { | |
| 30 | +typedef struct roq_cell { | |
| 31 | 31 | unsigned char y[4]; |
| 32 | 32 | unsigned char u, v; |
| 33 | 33 | } roq_cell; |
| 34 | 34 | |
| 35 | −typedef struct { | |
| 35 | +typedef struct roq_qcell { | |
| 36 | 36 | int idx[4]; |
| 37 | 37 | } roq_qcell; |
| 38 | 38 | |
| 39 | −typedef struct { | |
| 39 | +typedef struct motion_vect { | |
| 40 | 40 | int d[2]; |
| 41 | 41 | } motion_vect; |
| 42 | 42 | |
| @@ -29,7 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | #define RTJPEG_FILE_VERSION 0 |
| 30 | 30 | #define RTJPEG_HEADER_SIZE 12 |
| 31 | 31 | |
| 32 | −typedef struct { | |
| 32 | +typedef struct RTJpegContext { | |
| 33 | 33 | int w, h; |
| 34 | 34 | DSPContext *dsp; |
| 35 | 35 | uint8_t scan[64]; |
| @@ -37,7 +37,7 @@ · 36 unmodified lines | ||
| 37 | 37 | /** |
| 38 | 38 | * Spectral Band Replication header - spectrum parameters that invoke a reset if they differ from the previous header. |
| 39 | 39 | */ |
| 40 | −typedef struct { | |
| 40 | +typedef struct SpectrumParameters { | |
| 41 | 41 | uint8_t bs_start_freq; |
| 42 | 42 | uint8_t bs_stop_freq; |
| 43 | 43 | uint8_t bs_xover_band; |
| @@ -57,7 +57,7 @@ typedef struct { · 13 unmodified lines | ||
| 57 | 57 | /** |
| 58 | 58 | * Spectral Band Replication per channel data |
| 59 | 59 | */ |
| 60 | −typedef struct { | |
| 60 | +typedef struct SBRData { | |
| 61 | 61 | /** |
| 62 | 62 | * @name Main bitstream data variables |
| 63 | 63 | * @{ |
| @@ -111,7 +111,7 @@ typedef struct { · 47 unmodified lines | ||
| 111 | 111 | /** |
| 112 | 112 | * Spectral Band Replication |
| 113 | 113 | */ |
| 114 | −typedef struct { | |
| 114 | +typedef struct SpectralBandReplication { | |
| 115 | 115 | int sample_rate; |
| 116 | 116 | int start; |
| 117 | 117 | int reset; |
| @@ -29,7 +29,7 @@ extern const uint8_t ff_vorbis_channel_layout_offsets[8][8]; · 28 unmodified lines | ||
| 29 | 29 | extern const uint8_t ff_vorbis_encoding_channel_layout_offsets[8][8]; |
| 30 | 30 | extern const uint64_t ff_vorbis_channel_layouts[9]; |
| 31 | 31 | |
| 32 | −typedef struct { | |
| 32 | +typedef struct vorbis_floor1_entry { | |
| 33 | 33 | uint16_t x; |
| 34 | 34 | uint16_t sort; |
| 35 | 35 | uint16_t low; |
| @@ -35,7 +35,7 @@ · 34 unmodified lines | ||
| 35 | 35 | |
| 36 | 36 | typedef struct vp56_context VP56Context; |
| 37 | 37 | |
| 38 | −typedef struct { | |
| 38 | +typedef struct VP56mv { | |
| 39 | 39 | DECLARE_ALIGNED(4, int16_t, x); |
| 40 | 40 | int16_t y; |
| 41 | 41 | } VP56mv; |
| @@ -52,7 +52,7 @@ typedef int (*VP56ParseCoeffModels)(VP56Context *s); · 10 unmodified lines | ||
| 52 | 52 | typedef int (*VP56ParseHeader)(VP56Context *s, const uint8_t *buf, |
| 53 | 53 | int buf_size, int *golden_frame); |
| 54 | 54 | |
| 55 | −typedef struct { | |
| 55 | +typedef struct VP56RangeCoder { | |
| 56 | 56 | int high; |
| 57 | 57 | int bits; /* stored negated (i.e. negative "bits" is a positive number of |
| 58 | 58 | bits left) in order to eliminate a negate in cache refilling */ |
| @@ -61,18 +61,18 @@ typedef struct { · 2 unmodified lines | ||
| 61 | 61 | unsigned int code_word; |
| 62 | 62 | } VP56RangeCoder; |
| 63 | 63 | |
| 64 | −typedef struct { | |
| 64 | +typedef struct VP56RefDc { | |
| 65 | 65 | uint8_t not_null_dc; |
| 66 | 66 | VP56Frame ref_frame; |
| 67 | 67 | DCTELEM dc_coeff; |
| 68 | 68 | } VP56RefDc; |
| 69 | 69 | |
| 70 | −typedef struct { | |
| 70 | +typedef struct VP56Macroblock { | |
| 71 | 71 | uint8_t type; |
| 72 | 72 | VP56mv mv; |
| 73 | 73 | } VP56Macroblock; |
| 74 | 74 | |
| 75 | −typedef struct { | |
| 75 | +typedef struct VP56Model { | |
| 76 | 76 | uint8_t coeff_reorder[64]; /* used in vp6 only */ |
| 77 | 77 | uint8_t coeff_index_to_pos[64]; /* used in vp6 only */ |
| 78 | 78 | uint8_t vector_sig[2]; /* delta sign */ |
| @@ -51,7 +51,7 @@ typedef enum { · 50 unmodified lines | ||
| 51 | 51 | VP56_MB_INTER_V2_GF = 9, /**< Inter MB, second vector, from golden frame */ |
| 52 | 52 | } VP56mb; |
| 53 | 53 | |
| 54 | −typedef struct { | |
| 54 | +typedef struct VP56Tree { | |
| 55 | 55 | int8_t val; |
| 56 | 56 | int8_t prob_idx; |
| 57 | 57 | } VP56Tree; |
| @@ -72,13 +72,13 @@ enum inter_splitmvmode { · 71 unmodified lines | ||
| 72 | 72 | VP8_SPLITMVMODE_NONE, ///< (only used in prediction) no split MVs |
| 73 | 73 | }; |
| 74 | 74 | |
| 75 | −typedef struct { | |
| 75 | +typedef struct VP8FilterStrength { | |
| 76 | 76 | uint8_t filter_level; |
| 77 | 77 | uint8_t inner_limit; |
| 78 | 78 | uint8_t inner_filter; |
| 79 | 79 | } VP8FilterStrength; |
| 80 | 80 | |
| 81 | −typedef struct { | |
| 81 | +typedef struct VP8Macroblock { | |
| 82 | 82 | uint8_t skip; |
| 83 | 83 | // todo: make it possible to check for at least (i4x4 or split_mv) |
| 84 | 84 | // in one op. are others needed? |
| @@ -93,7 +93,7 @@ typedef struct { · 8 unmodified lines | ||
| 93 | 93 | VP56mv bmv[16]; |
| 94 | 94 | } VP8Macroblock; |
| 95 | 95 | |
| 96 | −typedef struct { | |
| 96 | +typedef struct VP8ThreadData { | |
| 97 | 97 | DECLARE_ALIGNED(16, DCTELEM, block)[6][4][16]; |
| 98 | 98 | DECLARE_ALIGNED(16, DCTELEM, block_dc)[16]; |
| 99 | 99 | /** |
| @@ -123,7 +123,7 @@ typedef struct { · 23 unmodified lines | ||
| 123 | 123 | } VP8ThreadData; |
| 124 | 124 | |
| 125 | 125 | #define MAX_THREADS 8 |
| 126 | −typedef struct { | |
| 126 | +typedef struct VP8Context { | |
| 127 | 127 | VP8ThreadData *thread_data; |
| 128 | 128 | AVCodecContext *avctx; |
| 129 | 129 | AVFrame *framep[4]; |
| @@ -42,7 +42,7 @@ · 41 unmodified lines | ||
| 42 | 42 | #include "libavutil/internal.h" |
| 43 | 43 | #include "libavutil/mem.h" |
| 44 | 44 | |
| 45 | −typedef struct { | |
| 45 | +typedef struct pthread_t { | |
| 46 | 46 | void *handle; |
| 47 | 47 | void *(*func)(void* arg); |
| 48 | 48 | void *arg; |
| @@ -56,7 +56,7 @@ typedef CRITICAL_SECTION pthread_mutex_t; · 7 unmodified lines | ||
| 56 | 56 | /* This is the CONDITIONAL_VARIABLE typedef for using Window's native |
| 57 | 57 | * conditional variables on kernels 6.0+. |
| 58 | 58 | * MinGW does not currently have this typedef. */ |
| 59 | −typedef struct { | |
| 59 | +typedef struct pthread_cond_t { | |
| 60 | 60 | void *ptr; |
| 61 | 61 | } pthread_cond_t; |
| 62 | 62 | |
| @@ -117,7 +117,7 @@ static inline int pthread_mutex_unlock(pthread_mutex_t *m) · 54 unmodified lines | ||
| 117 | 117 | |
| 118 | 118 | /* for pre-Windows 6.0 platforms we need to define and use our own condition |
| 119 | 119 | * variable and api */ |
| 120 | −typedef struct { | |
| 120 | +typedef struct win32_cond_t { | |
| 121 | 121 | pthread_mutex_t mtx_broadcast; |
| 122 | 122 | pthread_mutex_t mtx_waiter_count; |
| 123 | 123 | volatile int waiter_count; |
| @@ -26,7 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | #include "libavcodec/dsputil.h" |
| 27 | 27 | #include "libavutil/x86/asm.h" |
| 28 | 28 | |
| 29 | −typedef struct { uint64_t a, b; } xmm_reg; | |
| 29 | +typedef struct xmm_reg { uint64_t a, b; } xmm_reg; | |
| 30 | 30 | |
| 31 | 31 | extern const uint64_t ff_bone; |
| 32 | 32 | extern const uint64_t ff_wtwo; |
| @@ -42,7 +42,7 @@ · 41 unmodified lines | ||
| 42 | 42 | |
| 43 | 43 | #define ALSA_BUFFER_SIZE_MAX 32768 |
| 44 | 44 | |
| 45 | −typedef struct { | |
| 45 | +typedef struct AlsaData { | |
| 46 | 46 | AVClass *class; |
| 47 | 47 | snd_pcm_t *h; |
| 48 | 48 | int frame_size; ///< preferred size for reads and writes |
| @@ -28,7 +28,7 @@ · 27 unmodified lines | ||
| 28 | 28 | #include "libavformat/avformat.h" |
| 29 | 29 | #include "libavutil/log.h" |
| 30 | 30 | |
| 31 | −typedef struct { | |
| 31 | +typedef struct SndioData { | |
| 32 | 32 | AVClass *class; |
| 33 | 33 | struct sio_hdl *hdl; |
| 34 | 34 | enum AVCodecID codec_id; |
| @@ -25,7 +25,7 @@ · 24 unmodified lines | ||
| 25 | 25 | #include "avfilter.h" |
| 26 | 26 | |
| 27 | 27 | /// Holds instance-specific information for gradfun. |
| 28 | −typedef struct { | |
| 28 | +typedef struct GradFunContext { | |
| 29 | 29 | int thresh; ///< threshold for gradient algorithm |
| 30 | 30 | int radius; ///< blur radius |
| 31 | 31 | int chroma_w; ///< width of the chroma planes |
| @@ -22,7 +22,7 @@ · 21 unmodified lines | ||
| 22 | 22 | #include "libavutil/pixdesc.h" |
| 23 | 23 | #include "avfilter.h" |
| 24 | 24 | |
| 25 | −typedef struct { | |
| 25 | +typedef struct YADIFContext { | |
| 26 | 26 | /** |
| 27 | 27 | * 0: send 1 frame for each frame |
| 28 | 28 | * 1: send 1 frame for each field |
| @@ -27,7 +27,7 @@ · 26 unmodified lines | ||
| 27 | 27 | |
| 28 | 28 | #define PACKET_SIZE 3200 |
| 29 | 29 | |
| 30 | −typedef struct { | |
| 30 | +typedef struct ASFStream { | |
| 31 | 31 | int num; |
| 32 | 32 | unsigned char seq; |
| 33 | 33 | /* use for reading */ |
| @@ -50,7 +50,7 @@ typedef struct { · 16 unmodified lines | ||
| 50 | 50 | |
| 51 | 51 | typedef uint8_t ff_asf_guid[16]; |
| 52 | 52 | |
| 53 | −typedef struct { | |
| 53 | +typedef struct ASFMainHeader { | |
| 54 | 54 | ff_asf_guid guid; ///< generated by client computer |
| 55 | 55 | uint64_t file_size; /**< in bytes |
| 56 | 56 | * invalid if broadcasting */ |
| @@ -76,7 +76,7 @@ typedef struct { · 19 unmodified lines | ||
| 76 | 76 | } ASFMainHeader; |
| 77 | 77 | |
| 78 | 78 | |
| 79 | −typedef struct { | |
| 79 | +typedef struct ASFIndex { | |
| 80 | 80 | uint32_t packet_number; |
| 81 | 81 | uint16_t packet_count; |
| 82 | 82 | } ASFIndex; |
| @@ -26,7 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | #include "libavutil/fifo.h" |
| 27 | 27 | #include "avformat.h" |
| 28 | 28 | |
| 29 | −typedef struct { | |
| 29 | +typedef struct AudioInterleaveContext { | |
| 30 | 30 | AVFifoBuffer *fifo; |
| 31 | 31 | unsigned fifo_size; ///< size of currently allocated FIFO |
| 32 | 32 | uint64_t dts; ///< current dts |
| @@ -32,7 +32,7 @@ typedef enum HTTPAuthType { · 31 unmodified lines | ||
| 32 | 32 | HTTP_AUTH_DIGEST, /**< HTTP 1.1 Digest auth from RFC 2617 */ |
| 33 | 33 | } HTTPAuthType; |
| 34 | 34 | |
| 35 | −typedef struct { | |
| 35 | +typedef struct DigestParams { | |
| 36 | 36 | char nonce[300]; /**< Server specified nonce */ |
| 37 | 37 | char algorithm[10]; /**< Server specified digest algorithm */ |
| 38 | 38 | char qop[30]; /**< Quality of protection, containing the one |
| @@ -52,7 +52,7 @@ typedef struct { · 13 unmodified lines | ||
| 52 | 52 | * HTTP Authentication state structure. Must be zero-initialized |
| 53 | 53 | * before used with the functions below. |
| 54 | 54 | */ |
| 55 | −typedef struct { | |
| 55 | +typedef struct HTTPAuthState { | |
| 56 | 56 | /** |
| 57 | 57 | * The currently chosen auth type. |
| 58 | 58 | */ |
| @@ -42,18 +42,18 @@ int ff_mov_lang_to_iso639(unsigned code, char to[4]); · 41 unmodified lines | ||
| 42 | 42 | * Here we just use what is needed to read the chunks |
| 43 | 43 | */ |
| 44 | 44 | |
| 45 | −typedef struct { | |
| 45 | +typedef struct MOVStts { | |
| 46 | 46 | int count; |
| 47 | 47 | int duration; |
| 48 | 48 | } MOVStts; |
| 49 | 49 | |
| 50 | −typedef struct { | |
| 50 | +typedef struct MOVStsc { | |
| 51 | 51 | int first; |
| 52 | 52 | int count; |
| 53 | 53 | int id; |
| 54 | 54 | } MOVStsc; |
| 55 | 55 | |
| 56 | −typedef struct { | |
| 56 | +typedef struct MOVDref { | |
| 57 | 57 | uint32_t type; |
| 58 | 58 | char *path; |
| 59 | 59 | char *dir; |
| @@ -62,14 +62,14 @@ typedef struct { · 2 unmodified lines | ||
| 62 | 62 | int16_t nlvl_to, nlvl_from; |
| 63 | 63 | } MOVDref; |
| 64 | 64 | |
| 65 | −typedef struct { | |
| 65 | +typedef struct MOVAtom { | |
| 66 | 66 | uint32_t type; |
| 67 | 67 | int64_t size; /* total size (excluding the size and type fields) */ |
| 68 | 68 | } MOVAtom; |
| 69 | 69 | |
| 70 | 70 | struct MOVParseTableEntry; |
| 71 | 71 | |
| 72 | −typedef struct { | |
| 72 | +typedef struct MOVFragment { | |
| 73 | 73 | unsigned track_id; |
| 74 | 74 | uint64_t base_data_offset; |
| 75 | 75 | uint64_t moof_offset; |
| @@ -79,7 +79,7 @@ typedef struct { · 3 unmodified lines | ||
| 79 | 79 | unsigned flags; |
| 80 | 80 | } MOVFragment; |
| 81 | 81 | |
| 82 | −typedef struct { | |
| 82 | +typedef struct MOVTrackExt { | |
| 83 | 83 | unsigned track_id; |
| 84 | 84 | unsigned stsd_id; |
| 85 | 85 | unsigned duration; |
| @@ -87,7 +87,7 @@ typedef struct { · 1 unmodified line | ||
| 87 | 87 | unsigned flags; |
| 88 | 88 | } MOVTrackExt; |
| 89 | 89 | |
| 90 | −typedef struct { | |
| 90 | +typedef struct MOVSbgp { | |
| 91 | 91 | unsigned int count; |
| 92 | 92 | unsigned int index; |
| 93 | 93 | } MOVSbgp; |
| @@ -23,11 +23,11 @@ · 22 unmodified lines | ||
| 23 | 23 | |
| 24 | 24 | #include "url.h" |
| 25 | 25 | |
| 26 | −typedef struct { | |
| 26 | +typedef struct MMSStream { | |
| 27 | 27 | int id; |
| 28 | 28 | }MMSStream; |
| 29 | 29 | |
| 30 | −typedef struct { | |
| 30 | +typedef struct MMSContext { | |
| 31 | 31 | URLContext *mms_hd; ///< TCP connection handle |
| 32 | 32 | MMSStream *streams; |
| 33 | 33 | |
| @@ -60,13 +60,13 @@ typedef struct HintSample { · 59 unmodified lines | ||
| 60 | 60 | int own_data; |
| 61 | 61 | } HintSample; |
| 62 | 62 | |
| 63 | −typedef struct { | |
| 63 | +typedef struct HintSampleQueue { | |
| 64 | 64 | int size; |
| 65 | 65 | int len; |
| 66 | 66 | HintSample *samples; |
| 67 | 67 | } HintSampleQueue; |
| 68 | 68 | |
| 69 | −typedef struct { | |
| 69 | +typedef struct MOVFragmentInfo { | |
| 70 | 70 | int64_t offset; |
| 71 | 71 | int64_t time; |
| 72 | 72 | int64_t duration; |
| @@ -65,7 +65,7 @@ int ff_mpegts_parse_packet(MpegTSContext *ts, AVPacket *pkt, · 64 unmodified lines | ||
| 65 | 65 | const uint8_t *buf, int len); |
| 66 | 66 | void ff_mpegts_parse_close(MpegTSContext *ts); |
| 67 | 67 | |
| 68 | −typedef struct { | |
| 68 | +typedef struct SLConfigDescr { | |
| 69 | 69 | int use_au_start; |
| 70 | 70 | int use_au_end; |
| 71 | 71 | int use_rand_acc_pt; |
| @@ -82,7 +82,7 @@ typedef struct { · 10 unmodified lines | ||
| 82 | 82 | int packet_seq_num_len; |
| 83 | 83 | } SLConfigDescr; |
| 84 | 84 | |
| 85 | −typedef struct { | |
| 85 | +typedef struct Mp4Descr { | |
| 86 | 86 | int es_id; |
| 87 | 87 | int dec_config_descr_len; |
| 88 | 88 | uint8_t *dec_config_descr; |
| @@ -54,13 +54,13 @@ enum MXFFrameLayout { · 53 unmodified lines | ||
| 54 | 54 | SeparateFields |
| 55 | 55 | }; |
| 56 | 56 | |
| 57 | −typedef struct { | |
| 57 | +typedef struct KLVPacket { | |
| 58 | 58 | UID key; |
| 59 | 59 | int64_t offset; |
| 60 | 60 | uint64_t length; |
| 61 | 61 | } KLVPacket; |
| 62 | 62 | |
| 63 | −typedef struct { | |
| 63 | +typedef struct MXFCodecUL { | |
| 64 | 64 | UID uid; |
| 65 | 65 | unsigned matching_len; |
| 66 | 66 | int id; |
| @@ -53,14 +53,14 @@ typedef enum{ · 52 unmodified lines | ||
| 53 | 53 | FLAG_INVALID =8192, ///<if set, frame_code is invalid |
| 54 | 54 | } Flag; |
| 55 | 55 | |
| 56 | −typedef struct { | |
| 56 | +typedef struct Syncpoint { | |
| 57 | 57 | uint64_t pos; |
| 58 | 58 | uint64_t back_ptr; |
| 59 | 59 | // uint64_t global_key_pts; |
| 60 | 60 | int64_t ts; |
| 61 | 61 | } Syncpoint; |
| 62 | 62 | |
| 63 | −typedef struct { | |
| 63 | +typedef struct FrameCode { | |
| 64 | 64 | uint16_t flags; |
| 65 | 65 | uint8_t stream_id; |
| 66 | 66 | uint16_t size_mul; |
| @@ -70,7 +70,7 @@ typedef struct { · 3 unmodified lines | ||
| 70 | 70 | uint8_t header_idx; |
| 71 | 71 | } FrameCode; |
| 72 | 72 | |
| 73 | −typedef struct { | |
| 73 | +typedef struct StreamContext { | |
| 74 | 74 | int last_flags; |
| 75 | 75 | int skip_until_key_frame; |
| 76 | 76 | int64_t last_pts; |
| @@ -81,11 +81,11 @@ typedef struct { · 4 unmodified lines | ||
| 81 | 81 | int decode_delay; //FIXME duplicate of has_b_frames |
| 82 | 82 | } StreamContext; |
| 83 | 83 | |
| 84 | −typedef struct { | |
| 84 | +typedef struct ChapterContext { | |
| 85 | 85 | AVRational *time_base; |
| 86 | 86 | } ChapterContext; |
| 87 | 87 | |
| 88 | −typedef struct { | |
| 88 | +typedef struct NUTContext { | |
| 89 | 89 | AVFormatContext *avf; |
| 90 | 90 | // int written_packet_size; |
| 91 | 91 | // int64_t packet_start; |
| @@ -106,7 +106,7 @@ typedef struct { · 14 unmodified lines | ||
| 106 | 106 | extern const AVCodecTag ff_nut_subtitle_tags[]; |
| 107 | 107 | extern const AVCodecTag ff_nut_video_tags[]; |
| 108 | 108 | |
| 109 | −typedef struct { | |
| 109 | +typedef struct Dispositions { | |
| 110 | 110 | char str[9]; |
| 111 | 111 | int flag; |
| 112 | 112 | } Dispositions; |
| @@ -72,7 +72,7 @@ void ff_rtp_send_punch_packets(URLContext* rtp_handle); · 71 unmodified lines | ||
| 72 | 72 | int ff_rtp_check_and_send_back_rr(RTPDemuxContext *s, int count); |
| 73 | 73 | |
| 74 | 74 | // these statistics are used for rtcp receiver reports... |
| 75 | −typedef struct { | |
| 75 | +typedef struct RTPStatistics { | |
| 76 | 76 | uint16_t max_seq; ///< highest sequence number seen |
| 77 | 77 | uint32_t cycles; ///< shifted count of sequence number cycles |
| 78 | 78 | uint32_t base_seq; ///< base sequence number |
| @@ -64,7 +64,7 @@ · 63 unmodified lines | ||
| 64 | 64 | #undef NDEBUG |
| 65 | 65 | #include <assert.h> |
| 66 | 66 | |
| 67 | −typedef struct { | |
| 67 | +typedef struct SWFContext { | |
| 68 | 68 | int64_t duration_pos; |
| 69 | 69 | int64_t tag_pos; |
| 70 | 70 | int64_t vframes_pos; |
| @@ -68,7 +68,7 @@ · 67 unmodified lines | ||
| 68 | 68 | #define AV_DICT_APPEND 32 /**< If the entry already exists, append to it. Note that no |
| 69 | 69 | delimiter is added, the strings are simply concatenated. */ |
| 70 | 70 | |
| 71 | −typedef struct { | |
| 71 | +typedef struct AVDictionaryEntry { | |
| 72 | 72 | char *key; |
| 73 | 73 | char *value; |
| 74 | 74 | } AVDictionaryEntry; |
| @@ -22,7 +22,7 @@ · 21 unmodified lines | ||
| 22 | 22 | #ifndef AVUTIL_LFG_H |
| 23 | 23 | #define AVUTIL_LFG_H |
| 24 | 24 | |
| 25 | −typedef struct { | |
| 25 | +typedef struct AVLFG { | |
| 26 | 26 | unsigned int state[64]; |
| 27 | 27 | int index; |
| 28 | 28 | } AVLFG; |
| @@ -115,13 +115,13 @@ const int *sws_getCoefficients(int colorspace); · 114 unmodified lines | ||
| 115 | 115 | |
| 116 | 116 | // when used for filters they must have an odd number of elements |
| 117 | 117 | // coeffs cannot be shared between vectors |
| 118 | −typedef struct { | |
| 118 | +typedef struct SwsVector { | |
| 119 | 119 | double *coeff; ///< pointer to the list of coefficients |
| 120 | 120 | int length; ///< number of coefficients in the vector |
| 121 | 121 | } SwsVector; |
| 122 | 122 | |
| 123 | 123 | // vectors can be shared |
| 124 | −typedef struct { | |
| 124 | +typedef struct SwsFilter { | |
| 125 | 125 | SwsVector *lumH; |
| 126 | 126 | SwsVector *lumV; |
| 127 | 127 | SwsVector *chrH; |