X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fmxf.h;h=4394450deaa13d710d91e0d2abc87347437e1467;hb=7b2a9aaa0b784244f6112dbb4b756ca6c4b374d1;hp=ffcc429a8b4d7b1f4871cd527b7e4f48a231cfd4;hpb=91bcf0b8cdb3cb8046496d470ade25d1c802ca3d;p=ffmpeg diff --git a/libavformat/mxf.h b/libavformat/mxf.h index ffcc429a8b4..4394450deaa 100644 --- a/libavformat/mxf.h +++ b/libavformat/mxf.h @@ -62,12 +62,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 +93,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." \