Mercurial > libavformat.hg
comparison nut.h @ 3120:ea5623a8efde libavformat
Add 'disposition' bitfield to AVStream and use it for both muxing and demuxing
of matroska and nut.
author | eugeni |
---|---|
date | Fri, 07 Mar 2008 19:25:09 +0000 |
parents | 88e032ac11e7 |
children | 6f61c3b36632 |
comparison
equal
deleted
inserted
replaced
3119:b1caac2f77ad | 3120:ea5623a8efde |
---|---|
97 struct AVTreeNode *syncpoints; | 97 struct AVTreeNode *syncpoints; |
98 } NUTContext; | 98 } NUTContext; |
99 | 99 |
100 extern const AVCodecTag ff_nut_subtitle_tags[]; | 100 extern const AVCodecTag ff_nut_subtitle_tags[]; |
101 | 101 |
102 typedef struct { | |
103 char str[9]; | |
104 int flag; | |
105 } Dispositions; | |
106 | |
102 void ff_nut_reset_ts(NUTContext *nut, AVRational time_base, int64_t val); | 107 void ff_nut_reset_ts(NUTContext *nut, AVRational time_base, int64_t val); |
103 int64_t ff_lsb2full(StreamContext *stream, int64_t lsb); | 108 int64_t ff_lsb2full(StreamContext *stream, int64_t lsb); |
104 int ff_nut_sp_pos_cmp(syncpoint_t *a, syncpoint_t *b); | 109 int ff_nut_sp_pos_cmp(syncpoint_t *a, syncpoint_t *b); |
105 int ff_nut_sp_pts_cmp(syncpoint_t *a, syncpoint_t *b); | 110 int ff_nut_sp_pts_cmp(syncpoint_t *a, syncpoint_t *b); |
106 void ff_nut_add_sp(NUTContext *nut, int64_t pos, int64_t back_ptr, int64_t ts); | 111 void ff_nut_add_sp(NUTContext *nut, int64_t pos, int64_t back_ptr, int64_t ts); |
107 | 112 |
113 extern const Dispositions ff_nut_dispositions[]; | |
114 | |
108 #endif /* FFMPEG_NUT_H */ | 115 #endif /* FFMPEG_NUT_H */ |