libavformat/assdec.c File Reference

#include "avformat.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  ASSContext

Defines

#define MAX_LINESIZE   2000

Functions

static int probe (AVProbeData *p)
static int read_close (AVFormatContext *s)
static int64_t get_pts (const uint8_t *p)
static int event_cmp (uint8_t **a, uint8_t **b)
static int read_header (AVFormatContext *s, AVFormatParameters *ap)
static int read_packet (AVFormatContext *s, AVPacket *pkt)
static int read_seek2 (AVFormatContext *s, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags)

Variables

AVInputFormat ff_ass_demuxer


Define Documentation

#define MAX_LINESIZE   2000

Definition at line 25 of file assdec.c.

Referenced by microdvd_read_packet(), and read_header().


Function Documentation

static int event_cmp ( uint8_t **  a,
uint8_t **  b 
) [static]

Definition at line 70 of file assdec.c.

Referenced by read_header().

static int64_t get_pts ( const uint8_t *  p  )  [static]

static int probe ( AVProbeData p  )  [static]

Definition at line 34 of file assdec.c.

static int read_close ( AVFormatContext s  )  [static]

Definition at line 45 of file assdec.c.

Referenced by read_header().

static int read_header ( AVFormatContext s,
AVFormatParameters ap 
) [static]

Definition at line 75 of file assdec.c.

static int read_packet ( AVFormatContext s,
AVPacket pkt 
) [static]

Definition at line 143 of file assdec.c.

static int read_seek2 ( AVFormatContext s,
int  stream_index,
int64_t  min_ts,
int64_t  ts,
int64_t  max_ts,
int  flags 
) [static]

Definition at line 165 of file assdec.c.


Variable Documentation

Initial value:

 {
    .name           = "ass",
    .long_name      = NULL_IF_CONFIG_SMALL("Advanced SubStation Alpha subtitle format"),
    .priv_data_size = sizeof(ASSContext),
    .read_probe     = probe,
    .read_header    = read_header,
    .read_packet    = read_packet,
    .read_close     = read_close,
    .read_seek2     = read_seek2,
}

Definition at line 205 of file assdec.c.


Generated on Fri Oct 26 02:38:15 2012 for FFmpeg by  doxygen 1.5.8