tiertexseq.c File Reference

Tiertex Limited SEQ file demuxer. More...

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

Go to the source code of this file.

Data Structures

struct  TiertexSeqFrameBuffer
struct  SeqDemuxContext

Macros

#define SEQ_FRAME_SIZE   6144
#define SEQ_FRAME_W   256
#define SEQ_FRAME_H   128
#define SEQ_NUM_FRAME_BUFFERS   30
#define SEQ_AUDIO_BUFFER_SIZE   882
#define SEQ_SAMPLE_RATE   22050
#define SEQ_FRAME_RATE   25

Typedefs

typedef struct
TiertexSeqFrameBuffer 
TiertexSeqFrameBuffer
typedef struct SeqDemuxContext SeqDemuxContext

Functions

static int seq_probe (AVProbeData *p)
static int seq_init_frame_buffers (SeqDemuxContext *seq, AVIOContext *pb)
static int seq_fill_buffer (SeqDemuxContext *seq, AVIOContext *pb, int buffer_num, unsigned int data_offs, int data_size)
static int seq_parse_frame_data (SeqDemuxContext *seq, AVIOContext *pb)
static int seq_read_header (AVFormatContext *s, AVFormatParameters *ap)
static int seq_read_packet (AVFormatContext *s, AVPacket *pkt)
static int seq_read_close (AVFormatContext *s)

Variables

AVInputFormat ff_tiertexseq_demuxer

Detailed Description

Tiertex Limited SEQ file demuxer.

Definition in file tiertexseq.c.

Macro Definition Documentation

#define SEQ_AUDIO_BUFFER_SIZE   882

Definition at line 34 of file tiertexseq.c.

Referenced by seq_parse_frame_data().

#define SEQ_FRAME_H   128

Definition at line 32 of file tiertexseq.c.

Referenced by seq_read_header().

#define SEQ_FRAME_RATE   25

Definition at line 36 of file tiertexseq.c.

Referenced by seq_read_header().

#define SEQ_FRAME_SIZE   6144

Definition at line 30 of file tiertexseq.c.

Referenced by seq_parse_frame_data().

#define SEQ_FRAME_W   256

Definition at line 31 of file tiertexseq.c.

Referenced by seq_read_header().

#define SEQ_NUM_FRAME_BUFFERS   30
#define SEQ_SAMPLE_RATE   22050

Definition at line 35 of file tiertexseq.c.

Referenced by seq_read_header().

Typedef Documentation

Function Documentation

static int seq_fill_buffer ( SeqDemuxContext seq,
AVIOContext pb,
int  buffer_num,
unsigned int  data_offs,
int  data_size 
)
static

Definition at line 106 of file tiertexseq.c.

Referenced by seq_parse_frame_data().

static int seq_init_frame_buffers ( SeqDemuxContext seq,
AVIOContext pb 
)
static

Definition at line 82 of file tiertexseq.c.

Referenced by seq_read_header().

static int seq_parse_frame_data ( SeqDemuxContext seq,
AVIOContext pb 
)
static

Definition at line 125 of file tiertexseq.c.

Referenced by seq_read_header(), and seq_read_packet().

static int seq_probe ( AVProbeData p)
static

Definition at line 62 of file tiertexseq.c.

static int seq_read_close ( AVFormatContext s)
static

Definition at line 295 of file tiertexseq.c.

static int seq_read_header ( AVFormatContext s,
AVFormatParameters ap 
)
static

Definition at line 184 of file tiertexseq.c.

static int seq_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 241 of file tiertexseq.c.

Variable Documentation

AVInputFormat ff_tiertexseq_demuxer
Initial value:
{
.name = "tiertexseq",
.long_name = NULL_IF_CONFIG_SMALL("Tiertex Limited SEQ format"),
.priv_data_size = sizeof(SeqDemuxContext),
}

Definition at line 306 of file tiertexseq.c.