X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fmxf.h;h=f32124f7722e1af7cb513f0e00eb39b7d737b10b;hb=347920ca2102d762e4713f101a2e75811791e2b3;hp=ffcc429a8b4d7b1f4871cd527b7e4f48a231cfd4;hpb=f75ba4c2d632a613df9eb40e8ae7ac9fb162b67e;p=ffmpeg diff --git a/libavformat/mxf.h b/libavformat/mxf.h index ffcc429a8b4..f32124f7722 100644 --- a/libavformat/mxf.h +++ b/libavformat/mxf.h @@ -48,6 +48,7 @@ enum MXFMetadataSetType { EssenceGroup, TaggedValue, TapeDescriptor, + AVCSubDescriptor, }; enum MXFFrameLayout { @@ -62,12 +63,23 @@ typedef struct KLVPacket { UID key; int64_t offset; uint64_t length; + int64_t next_klv; } KLVPacket; +typedef enum { + NormalWrap = 0, + D10D11Wrap, + RawAWrap, + RawVWrap +} MXFWrappingIndicatorType; + typedef struct MXFCodecUL { UID uid; unsigned matching_len; int id; + const char *desc; + unsigned wrapping_indicator_pos; + MXFWrappingIndicatorType wrapping_indicator_type; } MXFCodecUL; typedef struct { @@ -82,6 +94,8 @@ extern const MXFCodecUL ff_mxf_codec_tag_uls[]; int ff_mxf_decode_pixel_layout(const char pixel_layout[16], enum AVPixelFormat *pix_fmt); const MXFSamplesPerFrame *ff_mxf_get_samples_per_frame(AVFormatContext *s, AVRational time_base); +int ff_mxf_get_content_package_rate(AVRational time_base); + #define PRIxUID \ "%02x.%02x.%02x.%02x." \