libavformat/nut.c File Reference

#include "libavutil/mathematics.h"
#include "libavutil/tree.h"
#include "nut.h"
#include "internal.h"

Go to the source code of this file.

Functions

void ff_nut_reset_ts (NUTContext *nut, AVRational time_base, int64_t val)
int64_t ff_lsb2full (StreamContext *stream, int64_t lsb)
int ff_nut_sp_pos_cmp (const Syncpoint *a, const Syncpoint *b)
int ff_nut_sp_pts_cmp (const Syncpoint *a, const Syncpoint *b)
void ff_nut_add_sp (NUTContext *nut, int64_t pos, int64_t back_ptr, int64_t ts)
static int enu_free (void *opaque, void *elem)
void ff_nut_free_sp (NUTContext *nut)

Variables

const AVCodecTag ff_nut_subtitle_tags []
const AVCodecTag ff_nut_video_tags []
const Dispositions ff_nut_dispositions []
const AVMetadataConv ff_nut_metadata_conv []


Function Documentation

static int enu_free ( void *  opaque,
void *  elem 
) [static]

Definition at line 131 of file nut.c.

Referenced by ff_nut_free_sp().

int64_t ff_lsb2full ( StreamContext stream,
int64_t  lsb 
)

Definition at line 103 of file nut.c.

Referenced by decode_frame_header(), and nut_write_packet().

void ff_nut_add_sp ( NUTContext nut,
int64_t  pos,
int64_t  back_ptr,
int64_t  ts 
)

Definition at line 117 of file nut.c.

Referenced by decode_syncpoint(), and nut_write_packet().

void ff_nut_free_sp ( NUTContext nut  ) 

Definition at line 137 of file nut.c.

Referenced by nut_read_close(), and nut_write_trailer().

void ff_nut_reset_ts ( NUTContext nut,
AVRational  time_base,
int64_t  val 
)

Definition at line 92 of file nut.c.

Referenced by decode_syncpoint(), and nut_write_packet().

int ff_nut_sp_pos_cmp ( const Syncpoint a,
const Syncpoint b 
)

Definition at line 109 of file nut.c.

Referenced by ff_nut_add_sp(), nut_write_packet(), and read_seek().

int ff_nut_sp_pts_cmp ( const Syncpoint a,
const Syncpoint b 
)

Definition at line 113 of file nut.c.

Referenced by read_seek().


Variable Documentation

Initial value:

 {
    {"default"     , AV_DISPOSITION_DEFAULT},
    {"dub"         , AV_DISPOSITION_DUB},
    {"original"    , AV_DISPOSITION_ORIGINAL},
    {"comment"     , AV_DISPOSITION_COMMENT},
    {"lyrics"      , AV_DISPOSITION_LYRICS},
    {"karaoke"     , AV_DISPOSITION_KARAOKE},
    {""            , 0}
}

Definition at line 143 of file nut.c.

Referenced by set_disposition_bits(), and write_streaminfo().

Initial value:

 {
    { "Author",         "artist"      },
    { "X-CreationTime", "date"        },
    { "CreationTime",   "date"        },
    { "SourceFilename", "filename"    },
    { "X-Language",     "language"    },
    { "X-Disposition",  "disposition" },
    { "X-Replaces",     "replaces"    },
    { "X-Depends",      "depends"     },
    { "X-Uses",         "uses"        },
    { "X-UsesFont",     "usesfont"    },
    { 0 },
}

Definition at line 153 of file nut.c.

Referenced by nut_read_header(), and write_headers().

Initial value:

 {
    { CODEC_ID_TEXT        , MKTAG('U', 'T', 'F', '8') },
    { CODEC_ID_SSA         , MKTAG('S', 'S', 'A',  0 ) },
    { CODEC_ID_DVD_SUBTITLE, MKTAG('D', 'V', 'D', 'S') },
    { CODEC_ID_DVB_SUBTITLE, MKTAG('D', 'V', 'B', 'S') },
    { CODEC_ID_NONE        , 0                         }
}

Definition at line 27 of file nut.c.

Referenced by decode_stream_header().

Definition at line 35 of file nut.c.

Referenced by decode_stream_header().


Generated on Fri Oct 26 02:43:52 2012 for FFmpeg by  doxygen 1.5.8