#include "avformat.h"
#include "libavcodec/avcodec.h"
#include <stdint.h>
Include dependency graph for mxf.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  KLVPacket
 
struct  MXFCodecUL
 
struct  MXFSamplesPerFrame
 

Macros

#define PRINT_KEY(pc, s, x)
 

Typedefs

typedef uint8_t UID[16]
 
typedef struct KLVPacket KLVPacket
 
typedef struct MXFCodecUL MXFCodecUL
 

Enumerations

enum  MXFMetadataSetType {
  AnyType, MaterialPackage, SourcePackage, SourceClip,
  TimecodeComponent, Sequence, MultipleDescriptor, Descriptor,
  Track, CryptoContext, Preface, Identification,
  ContentStorage, SubDescriptor, IndexTableSegment, EssenceContainerData,
  TypeBottom
}
 
enum  MXFFrameLayout {
  FullFrame = 0, SeparateFields, OneField, MixedFields,
  SegmentedFrame
}
 

Functions

int ff_mxf_decode_pixel_layout (const char pixel_layout[16], enum AVPixelFormat *pix_fmt)
 
const MXFSamplesPerFrameff_mxf_get_samples_per_frame (AVFormatContext *s, AVRational time_base)
 

Variables

const MXFCodecUL ff_mxf_data_definition_uls []
 SMPTE RP224 http://www.smpte-ra.org/mdd/index.html. More...
 
const MXFCodecUL ff_mxf_codec_uls []
 
const MXFCodecUL ff_mxf_pixel_format_uls []
 

Macro Definition Documentation

#define PRINT_KEY (   pc,
  s,
  x 
)
Value:
av_dlog(pc, "%s %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X\n", s, \
(x)[0], (x)[1], (x)[2], (x)[3], (x)[4], (x)[5], (x)[6], (x)[7], (x)[8], (x)[9], (x)[10], (x)[11], (x)[12], (x)[13], (x)[14], (x)[15])
const char * s
Definition: avisynth_c.h:668
av_dlog(ac->avr,"%d samples - audio_convert: %s to %s (%s)\n", len, av_get_sample_fmt_name(ac->in_fmt), av_get_sample_fmt_name(ac->out_fmt), use_generic?ac->func_descr_generic:ac->func_descr)
ParseContext pc
Discrete Time axis x

Definition at line 82 of file mxf.h.

Referenced by mxf_parse_structural_metadata(), mxf_read_header(), mxf_read_local_tags(), mxf_read_packet_old(), mxf_write_content_storage(), mxf_write_header(), mxf_write_identification(), mxf_write_multi_descriptor(), mxf_write_package(), mxf_write_preface(), mxf_write_sequence(), mxf_write_structural_component(), and mxf_write_track().

Typedef Documentation

typedef struct KLVPacket KLVPacket
typedef struct MXFCodecUL MXFCodecUL
typedef uint8_t UID[16]

Definition at line 28 of file mxf.h.

Enumeration Type Documentation

Enumerator
FullFrame 
SeparateFields 
OneField 
MixedFields 
SegmentedFrame 

Definition at line 50 of file mxf.h.

Enumerator
AnyType 
MaterialPackage 
SourcePackage 
SourceClip 
TimecodeComponent 
Sequence 
MultipleDescriptor 
Descriptor 
Track 
CryptoContext 
Preface 
Identification 
ContentStorage 
SubDescriptor 
IndexTableSegment 
EssenceContainerData 
TypeBottom 

Definition at line 30 of file mxf.h.

Function Documentation

int ff_mxf_decode_pixel_layout ( const char  pixel_layout[16],
enum AVPixelFormat pix_fmt 
)

Definition at line 96 of file mxf.c.

Referenced by mxf_read_pixel_layout().

const MXFSamplesPerFrame* ff_mxf_get_samples_per_frame ( AVFormatContext s,
AVRational  time_base 
)

Definition at line 119 of file mxf.c.

Referenced by mxf_compute_sample_count(), and mxf_write_header().

Variable Documentation

const MXFCodecUL ff_mxf_codec_uls[]

Definition at line 34 of file mxf.c.

Referenced by mxf_parse_structural_metadata().

const MXFCodecUL ff_mxf_data_definition_uls[]
const MXFCodecUL ff_mxf_pixel_format_uls[]

Definition at line 60 of file mxf.c.

Referenced by mxf_parse_structural_metadata().