History

Give all anonymously typedeffed structs in headers a name

Anonymous structs cannot be forward declared and have no benefit.

Diego Biurrun committed 14 years ago

Commit e4cbf751 parent 76f644d56 files · +114 −114Browse files

Unified · Split

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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t