You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-23 21:54:53 +02:00
Give all anonymously typedeffed structs in headers a name
Anonymous structs cannot be forward declared and have no benefit.
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
/**
|
||||
* huffman codebook descriptor
|
||||
*/
|
||||
typedef struct {
|
||||
typedef struct IVIHuffDesc {
|
||||
int32_t num_rows;
|
||||
uint8_t xbits[16];
|
||||
} IVIHuffDesc;
|
||||
@@ -48,7 +48,7 @@ typedef struct {
|
||||
/**
|
||||
* macroblock/block huffman table descriptor
|
||||
*/
|
||||
typedef struct {
|
||||
typedef struct IVIHuffTab {
|
||||
int32_t tab_sel; /// index of one of the predefined tables
|
||||
/// or "7" for custom one
|
||||
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,
|
||||
/**
|
||||
* run-value (RLE) table descriptor
|
||||
*/
|
||||
typedef struct {
|
||||
typedef struct RVMapDesc {
|
||||
uint8_t eob_sym; ///< end of block symbol
|
||||
uint8_t esc_sym; ///< escape symbol
|
||||
uint8_t runtab[256];
|
||||
@@ -98,7 +98,7 @@ extern const RVMapDesc ff_ivi_rvmap_tabs[9];
|
||||
/**
|
||||
* information for Indeo macroblock (16x16, 8x8 or 4x4)
|
||||
*/
|
||||
typedef struct {
|
||||
typedef struct IVIMbInfo {
|
||||
int16_t xpos;
|
||||
int16_t ypos;
|
||||
uint32_t buf_offs; ///< address in the output buffer for this mb
|
||||
@@ -113,7 +113,7 @@ typedef struct {
|
||||
/**
|
||||
* information for Indeo tile
|
||||
*/
|
||||
typedef struct {
|
||||
typedef struct IVITile {
|
||||
int xpos;
|
||||
int ypos;
|
||||
int width;
|
||||
@@ -130,7 +130,7 @@ typedef struct {
|
||||
/**
|
||||
* information for Indeo wavelet band
|
||||
*/
|
||||
typedef struct {
|
||||
typedef struct IVIBandDesc {
|
||||
int plane; ///< plane number this band belongs to
|
||||
int band_num; ///< band number
|
||||
int width;
|
||||
@@ -177,7 +177,7 @@ typedef struct {
|
||||
/**
|
||||
* color plane (luma or chroma) information
|
||||
*/
|
||||
typedef struct {
|
||||
typedef struct IVIPlaneDesc {
|
||||
uint16_t width;
|
||||
uint16_t height;
|
||||
uint8_t num_bands; ///< number of bands this plane subdivided into
|
||||
@@ -185,7 +185,7 @@ typedef struct {
|
||||
} IVIPlaneDesc;
|
||||
|
||||
|
||||
typedef struct {
|
||||
typedef struct IVIPicConfig {
|
||||
uint16_t pic_width;
|
||||
uint16_t pic_height;
|
||||
uint16_t chroma_width;
|
||||
|
||||
Reference in New Issue
Block a user