libavformat/assdec.c File Reference

#include "libavutil/mathematics.h"
#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 26 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 71 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 35 of file assdec.c.

static int read_close ( AVFormatContext s  )  [static]

Definition at line 46 of file assdec.c.

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

Definition at line 76 of file assdec.c.

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

Definition at line 144 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 166 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 206 of file assdec.c.


Generated on Fri Oct 26 02:46:07 2012 for FFmpeg by  doxygen 1.5.8