~ubuntu-branches/ubuntu/saucy/gst-libav1.0/saucy-proposed

« back to all changes in this revision

Viewing changes to gst-libs/ext/libav/libavformat/mxf.h

  • Committer: Package Import Robot
  • Author(s): Sebastian Dröge
  • Date: 2013-07-30 09:00:15 UTC
  • mfrom: (1.1.16) (7.1.7 experimental)
  • Revision ID: package-import@ubuntu.com-20130730090015-sc1ou2yssu7q5w4e
Tags: 1.1.3-1
* New upstream development snapshot:
  + debian/control:
    - Build depend on GStreamer and gst-plugins-base >= 1.1.3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
    TypeBottom,// add metadata type before this
47
47
};
48
48
 
49
 
typedef struct {
 
49
enum MXFFrameLayout {
 
50
     FullFrame = 0,
 
51
     MixedFields,
 
52
     OneField,
 
53
     SegmentedFrame,
 
54
     SeparateFields
 
55
};
 
56
 
 
57
typedef struct KLVPacket {
50
58
    UID key;
51
59
    int64_t offset;
52
60
    uint64_t length;
53
61
} KLVPacket;
54
62
 
55
 
typedef struct {
 
63
typedef struct MXFCodecUL {
56
64
    UID uid;
57
65
    unsigned matching_len;
58
66
    int id;
60
68
 
61
69
extern const MXFCodecUL ff_mxf_data_definition_uls[];
62
70
extern const MXFCodecUL ff_mxf_codec_uls[];
 
71
extern const MXFCodecUL ff_mxf_pixel_format_uls[];
63
72
 
64
 
int ff_mxf_decode_pixel_layout(const char pixel_layout[16], enum PixelFormat *pix_fmt);
 
73
int ff_mxf_decode_pixel_layout(const char pixel_layout[16], enum AVPixelFormat *pix_fmt);
65
74
 
66
75
#define PRINT_KEY(pc, s, x) av_dlog(pc, "%s %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X\n", s, \
67
76
                             (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])