FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
samidec.c File Reference

SAMI subtitle demuxer. More...

#include "avformat.h"
#include "internal.h"
#include "subtitles.h"
#include "libavcodec/internal.h"
#include "libavutil/avstring.h"
#include "libavutil/bprint.h"
#include "libavutil/intreadwrite.h"

Go to the source code of this file.

Data Structures

struct  SAMIContext
 

Functions

static int sami_probe (AVProbeData *p)
 
static int sami_read_header (AVFormatContext *s)
 
static int sami_read_packet (AVFormatContext *s, AVPacket *pkt)
 
static int sami_read_seek (AVFormatContext *s, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags)
 
static int sami_read_close (AVFormatContext *s)
 

Variables

AVInputFormat ff_sami_demuxer
 

Detailed Description

SAMI subtitle demuxer.

See Also
http://msdn.microsoft.com/en-us/library/ms971327.aspx

Definition in file samidec.c.

Function Documentation

static int sami_probe ( AVProbeData p)
static

Definition at line 39 of file samidec.c.

static int sami_read_header ( AVFormatContext s)
static

Definition at line 48 of file samidec.c.

static int sami_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 106 of file samidec.c.

static int sami_read_seek ( AVFormatContext s,
int  stream_index,
int64_t  min_ts,
int64_t  ts,
int64_t  max_ts,
int  flags 
)
static

Definition at line 112 of file samidec.c.

static int sami_read_close ( AVFormatContext s)
static

Definition at line 120 of file samidec.c.

Variable Documentation

AVInputFormat ff_sami_demuxer
Initial value:
= {
.name = "sami",
.long_name = NULL_IF_CONFIG_SMALL("SAMI subtitle format"),
.priv_data_size = sizeof(SAMIContext),
.read_seek2 = sami_read_seek,
.extensions = "smi,sami",
}

Definition at line 127 of file samidec.c.