mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
cosmetics remove struct name with typedef
Originally committed as revision 9194 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
738ebafceb
commit
1b4818452c
@ -63,14 +63,14 @@ enum MXFMetadataSetType {
|
|||||||
CryptoContext,
|
CryptoContext,
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct MXFCryptoContext {
|
typedef struct {
|
||||||
UID uid;
|
UID uid;
|
||||||
enum MXFMetadataSetType type;
|
enum MXFMetadataSetType type;
|
||||||
UID context_uid;
|
UID context_uid;
|
||||||
UID source_container_ul;
|
UID source_container_ul;
|
||||||
} MXFCryptoContext;
|
} MXFCryptoContext;
|
||||||
|
|
||||||
typedef struct MXFStructuralComponent {
|
typedef struct {
|
||||||
UID uid;
|
UID uid;
|
||||||
enum MXFMetadataSetType type;
|
enum MXFMetadataSetType type;
|
||||||
UID source_package_uid;
|
UID source_package_uid;
|
||||||
@ -80,7 +80,7 @@ typedef struct MXFStructuralComponent {
|
|||||||
int source_track_id;
|
int source_track_id;
|
||||||
} MXFStructuralComponent;
|
} MXFStructuralComponent;
|
||||||
|
|
||||||
typedef struct MXFSequence {
|
typedef struct {
|
||||||
UID uid;
|
UID uid;
|
||||||
enum MXFMetadataSetType type;
|
enum MXFMetadataSetType type;
|
||||||
UID data_definition_ul;
|
UID data_definition_ul;
|
||||||
@ -89,7 +89,7 @@ typedef struct MXFSequence {
|
|||||||
int64_t duration;
|
int64_t duration;
|
||||||
} MXFSequence;
|
} MXFSequence;
|
||||||
|
|
||||||
typedef struct MXFTrack {
|
typedef struct {
|
||||||
UID uid;
|
UID uid;
|
||||||
enum MXFMetadataSetType type;
|
enum MXFMetadataSetType type;
|
||||||
MXFSequence *sequence; /* mandatory, and only one */
|
MXFSequence *sequence; /* mandatory, and only one */
|
||||||
@ -99,7 +99,7 @@ typedef struct MXFTrack {
|
|||||||
AVRational edit_rate;
|
AVRational edit_rate;
|
||||||
} MXFTrack;
|
} MXFTrack;
|
||||||
|
|
||||||
typedef struct MXFDescriptor {
|
typedef struct {
|
||||||
UID uid;
|
UID uid;
|
||||||
enum MXFMetadataSetType type;
|
enum MXFMetadataSetType type;
|
||||||
UID essence_container_ul;
|
UID essence_container_ul;
|
||||||
@ -117,7 +117,7 @@ typedef struct MXFDescriptor {
|
|||||||
int extradata_size;
|
int extradata_size;
|
||||||
} MXFDescriptor;
|
} MXFDescriptor;
|
||||||
|
|
||||||
typedef struct MXFPackage {
|
typedef struct {
|
||||||
UID uid;
|
UID uid;
|
||||||
enum MXFMetadataSetType type;
|
enum MXFMetadataSetType type;
|
||||||
UID package_uid;
|
UID package_uid;
|
||||||
@ -132,7 +132,7 @@ typedef struct {
|
|||||||
enum MXFMetadataSetType type;
|
enum MXFMetadataSetType type;
|
||||||
} MXFMetadataSet;
|
} MXFMetadataSet;
|
||||||
|
|
||||||
typedef struct MXFContext {
|
typedef struct {
|
||||||
UID *packages_refs;
|
UID *packages_refs;
|
||||||
int packages_count;
|
int packages_count;
|
||||||
MXFMetadataSet **metadata_sets;
|
MXFMetadataSet **metadata_sets;
|
||||||
@ -141,7 +141,7 @@ typedef struct MXFContext {
|
|||||||
struct AVAES *aesc;
|
struct AVAES *aesc;
|
||||||
} MXFContext;
|
} MXFContext;
|
||||||
|
|
||||||
typedef struct KLVPacket {
|
typedef struct {
|
||||||
UID key;
|
UID key;
|
||||||
offset_t offset;
|
offset_t offset;
|
||||||
uint64_t length;
|
uint64_t length;
|
||||||
@ -152,18 +152,18 @@ enum MXFWrappingScheme {
|
|||||||
Clip,
|
Clip,
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct MXFCodecUL {
|
typedef struct {
|
||||||
UID uid;
|
UID uid;
|
||||||
enum CodecID id;
|
enum CodecID id;
|
||||||
enum MXFWrappingScheme wrapping;
|
enum MXFWrappingScheme wrapping;
|
||||||
} MXFCodecUL;
|
} MXFCodecUL;
|
||||||
|
|
||||||
typedef struct MXFDataDefinitionUL {
|
typedef struct {
|
||||||
UID uid;
|
UID uid;
|
||||||
enum CodecType type;
|
enum CodecType type;
|
||||||
} MXFDataDefinitionUL;
|
} MXFDataDefinitionUL;
|
||||||
|
|
||||||
typedef struct MXFMetadataReadTableEntry {
|
typedef struct {
|
||||||
const UID key;
|
const UID key;
|
||||||
int (*read)();
|
int (*read)();
|
||||||
int ctx_size;
|
int ctx_size;
|
||||||
|
Loading…
Reference in New Issue
Block a user