Libav
Data Structures | Macros | Functions | Variables
assdec.c File Reference
#include <stdint.h>
#include "libavutil/mathematics.h"
#include "avformat.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  ASSContext

Macros

#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 (const void *_a, const void *_b)
static int read_header (AVFormatContext *s)
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

Macro Definition Documentation

#define MAX_LINESIZE   2000

Definition at line 28 of file assdec.c.

Referenced by read_header().

Function Documentation

static int probe ( AVProbeData p)
static

Definition at line 37 of file assdec.c.

static int read_close ( AVFormatContext s)
static

Definition at line 48 of file assdec.c.

Referenced by read_header().

static int64_t get_pts ( const uint8_t p)
static

Definition at line 58 of file assdec.c.

Referenced by event_cmp(), read_header(), read_packet(), and read_seek2().

static int event_cmp ( const void _a,
const void _b 
)
static

Definition at line 73 of file assdec.c.

Referenced by read_header().

static int read_header ( AVFormatContext s)
static

Definition at line 79 of file assdec.c.

static int read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 147 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 169 of file assdec.c.

Variable Documentation

AVInputFormat ff_ass_demuxer
Initial value:
{
.name = "ass",
.long_name = NULL_IF_CONFIG_SMALL("SSA (SubStation Alpha) subtitle"),
.priv_data_size = sizeof(ASSContext),
}

Definition at line 209 of file assdec.c.