Mercurial > libavformat.hg
comparison mxfenc.c @ 4323:982d24f6d8f6 libavformat
cosmetics, align vertically
author | bcoudurier |
---|---|
date | Sat, 31 Jan 2009 09:53:23 +0000 |
parents | 0d40ba62d7d7 |
children | 00db0c2b2cde |
comparison
equal
deleted
inserted
replaced
4322:0d40ba62d7d7 | 4323:982d24f6d8f6 |
---|---|
37 static const int NTSC_samples_per_frame[] = { 1602, 1601, 1602, 1601, 1602, 0 }; | 37 static const int NTSC_samples_per_frame[] = { 1602, 1601, 1602, 1601, 1602, 0 }; |
38 static const int PAL_samples_per_frame[] = { 1920, 0 }; | 38 static const int PAL_samples_per_frame[] = { 1920, 0 }; |
39 | 39 |
40 typedef struct { | 40 typedef struct { |
41 AVFifoBuffer fifo; | 41 AVFifoBuffer fifo; |
42 unsigned fifo_size; ///< current fifo size allocated | 42 unsigned fifo_size; ///< current fifo size allocated |
43 uint64_t dts; ///< current dts | 43 uint64_t dts; ///< current dts |
44 int sample_size; ///< size of one sample all channels included | 44 int sample_size; ///< size of one sample all channels included |
45 const int *samples_per_frame; ///< must be 0 terminated | 45 const int *samples_per_frame; ///< must be 0 terminated |
46 const int *samples; ///< current samples per frame, pointer to samples_per_frame | 46 const int *samples; ///< current samples per frame, pointer to samples_per_frame |
47 } AudioInterleaveContext; | 47 } AudioInterleaveContext; |
48 | 48 |
49 typedef struct { | 49 typedef struct { |
50 int local_tag; | 50 int local_tag; |
51 UID uid; | 51 UID uid; |
52 } MXFLocalTagPair; | 52 } MXFLocalTagPair; |
53 | 53 |
54 typedef struct { | 54 typedef struct { |
55 AudioInterleaveContext aic; | 55 AudioInterleaveContext aic; |
56 UID track_essence_element_key; | 56 UID track_essence_element_key; |
57 int index; //<<< index in mxf_essence_container_uls table | 57 int index; //<<< index in mxf_essence_container_uls table |
58 const UID *codec_ul; | 58 const UID *codec_ul; |
59 int64_t duration; | 59 int64_t duration; |
60 int order; ///< interleaving order if dts are equal | 60 int order; ///< interleaving order if dts are equal |
61 int interlaced; ///< wether picture is interlaced | 61 int interlaced; ///< wether picture is interlaced |
62 } MXFStreamContext; | 62 } MXFStreamContext; |
63 | 63 |
64 typedef struct { | 64 typedef struct { |
65 UID container_ul; | 65 UID container_ul; |
66 UID element_ul; | 66 UID element_ul; |