179 return ((lsb - delta) &
mask) + delta;
184 return ((a->
pos - b->
pos) >> 32) - ((b->
pos - a->
pos) >> 32);
189 return ((a->
ts - b->
ts) >> 32) - ((b->
ts - a->
ts) >> 32);
238 {
"Author",
"artist" },
239 {
"X-CreationTime",
"date" },
240 {
"CreationTime",
"date" },
241 {
"SourceFilename",
"filename" },
242 {
"X-Language",
"language" },
243 {
"X-Disposition",
"disposition" },
244 {
"X-Replaces",
"replaces" },
245 {
"X-Depends",
"depends" },
246 {
"X-Uses",
"uses" },
247 {
"X-UsesFont",
"usesfont" },
int64_t av_rescale_rnd(int64_t a, int64_t b, int64_t c, enum AVRounding rnd)
Rescale a 64-bit integer with specified rounding.
void av_freep(void *arg)
Free a memory block which has been allocated with av_malloc(z)() or av_realloc() and set the pointer ...
struct AVTreeNode * av_tree_node_alloc(void)
Allocate an AVTreeNode.
const AVMetadataConv ff_nut_metadata_conv[]
const AVCodecTag ff_nut_data_tags[]
int ff_nut_sp_pos_cmp(const Syncpoint *a, const Syncpoint *b)
void av_tree_destroy(AVTreeNode *t)
void * av_tree_insert(AVTreeNode **tp, void *key, int(*cmp)(void *key, const void *b), AVTreeNode **next)
Insert or remove an element.
void av_free(void *ptr)
Free a memory block which has been allocated with av_malloc(z)() or av_realloc(). ...
void ff_nut_free_sp(NUTContext *nut)
static const uint16_t mask[17]
preferred ID for decoding MPEG audio layer 1, 2 or 3
const AVCodecTag ff_nut_audio_tags[]
const AVCodecTag ff_codec_wav_tags[]
int ff_nut_sp_pts_cmp(const Syncpoint *a, const Syncpoint *b)
unsigned int nb_streams
Number of elements in AVFormatContext.streams.
void ff_nut_reset_ts(NUTContext *nut, AVRational time_base, int64_t val)
const AVCodecTag ff_codec_bmp_tags[]
int64_t ff_lsb2full(StreamContext *stream, int64_t lsb)
internal header for RIFF based (de)muxers do NOT include this in end user applications ...
struct AVTreeNode * syncpoints
const AVCodecTag ff_nut_subtitle_tags[]
static int enu_free(void *opaque, void *elem)
rational number numerator/denominator
const Dispositions ff_nut_dispositions[]
const AVCodecTag ff_nut_video_tags[]
int ff_nut_add_sp(NUTContext *nut, int64_t pos, int64_t back_ptr, int64_t ts)
#define MKTAG(a, b, c, d)
void av_tree_enumerate(AVTreeNode *t, void *opaque, int(*cmp)(void *opaque, void *elem), int(*enu)(void *opaque, void *elem))
Apply enu(opaque, &elem) to all the elements in the tree in a given range.
const AVCodecTag *const ff_nut_codec_tags[]
void * av_mallocz(size_t size)
Allocate a block of size bytes with alignment suitable for all memory accesses (including vectors if ...