libavformat/nut.c File Reference

#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 124 of file nut.c.

Referenced by ff_nut_free_sp().

int64_t ff_lsb2full ( StreamContext stream,
int64_t  lsb 
)

Definition at line 96 of file nut.c.

Referenced by decode_frame_header(), and write_packet().

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

Definition at line 110 of file nut.c.

Referenced by decode_syncpoint(), and write_packet().

void ff_nut_free_sp ( NUTContext nut  ) 

Definition at line 130 of file nut.c.

Referenced by nut_read_close(), and write_trailer().

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

Definition at line 85 of file nut.c.

Referenced by decode_syncpoint(), and write_packet().

int ff_nut_sp_pos_cmp ( const Syncpoint a,
const Syncpoint b 
)

Definition at line 102 of file nut.c.

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

int ff_nut_sp_pts_cmp ( const Syncpoint a,
const Syncpoint b 
)

Definition at line 106 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 136 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 146 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 26 of file nut.c.

Referenced by decode_stream_header().

Definition at line 34 of file nut.c.

Referenced by decode_stream_header().


Generated on Fri Oct 26 02:39:49 2012 for FFmpeg by  doxygen 1.5.8