libavformat/nut.c File Reference

#include "libavutil/tree.h"
#include "nut.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 (Syncpoint *a, Syncpoint *b)
int ff_nut_sp_pts_cmp (Syncpoint *a, Syncpoint *b)
void ff_nut_add_sp (NUTContext *nut, int64_t pos, int64_t back_ptr, int64_t ts)

Variables

const AVCodecTag ff_nut_subtitle_tags []
const Dispositions ff_nut_dispositions []


Function Documentation

int64_t ff_lsb2full ( StreamContext stream,
int64_t  lsb 
)

Definition at line 44 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 58 of file nut.c.

Referenced by decode_syncpoint(), and write_packet().

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

Definition at line 33 of file nut.c.

Referenced by decode_syncpoint(), and write_packet().

int ff_nut_sp_pos_cmp ( Syncpoint a,
Syncpoint b 
)

Definition at line 50 of file nut.c.

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

int ff_nut_sp_pts_cmp ( Syncpoint a,
Syncpoint b 
)

Definition at line 54 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 72 of file nut.c.

Referenced by set_disposition_bits(), and write_streaminfo().

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

Referenced by decode_stream_header().


Generated on Fri Oct 26 02:35:45 2012 for FFmpeg by  doxygen 1.5.8