summaryrefslogtreecommitdiffstats
path: root/libavformat/mxf.h
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2018-05-17 20:49:25 +0200
committerMarton Balint <cus@passwd.hu>2018-06-24 20:42:35 +0200
commit7ec90b168b9ad5f6a2798c3df64eba65bd98910a (patch)
tree448427eb1e303d0098cb321b8c312cdbda29bb9f /libavformat/mxf.h
parentbfa0b50441785871062b507ece63bfaf63f67dfd (diff)
downloadffmpeg-streaming-7ec90b168b9ad5f6a2798c3df64eba65bd98910a.zip
ffmpeg-streaming-7ec90b168b9ad5f6a2798c3df64eba65bd98910a.tar.gz
avformat/mxfdec: add support for determining essence wrapping scheme
Some code is based on bmxlib-libmxf/mxf/mxf_utils.c. Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavformat/mxf.h')
-rw-r--r--libavformat/mxf.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libavformat/mxf.h b/libavformat/mxf.h
index 93bc2cd..f6e7591 100644
--- a/libavformat/mxf.h
+++ b/libavformat/mxf.h
@@ -65,11 +65,20 @@ typedef struct KLVPacket {
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 {
OpenPOWER on IntegriCloud