]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/mxf.h
Factor tag reading code out of wav read_header()
[ffmpeg] / libavformat / mxf.h
index 99553a53781951c88bfaf5003f8f82e101b51f20..26832c27be9594ed504974fde1f2061e44507645 100644 (file)
@@ -61,6 +61,15 @@ typedef struct {
 extern const MXFCodecUL ff_mxf_data_definition_uls[];
 extern const MXFCodecUL ff_mxf_codec_uls[];
 
+typedef struct {
+    enum PixelFormat pix_fmt;
+    const char data[16];
+} MXFPixelLayout;
+
+extern const MXFPixelLayout ff_mxf_pixel_layouts[];
+
+int ff_mxf_decode_pixel_layout(const char pixel_layout[16], enum PixelFormat *pix_fmt);
+
 #ifdef DEBUG
 #define PRINT_KEY(pc, s, x) dprintf(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])