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

Tiertex Limited SEQ file demuxer. More...

#include "libavutil/channel_layout.h"
#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
 

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)
 
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_FRAME_SIZE   6144

Definition at line 31 of file tiertexseq.c.

Referenced by seq_parse_frame_data().

#define SEQ_FRAME_W   256

Definition at line 32 of file tiertexseq.c.

Referenced by seq_read_header().

#define SEQ_FRAME_H   128

Definition at line 33 of file tiertexseq.c.

Referenced by seq_read_header().

#define SEQ_NUM_FRAME_BUFFERS   30
#define SEQ_AUDIO_BUFFER_SIZE   882

Definition at line 35 of file tiertexseq.c.

Referenced by seq_parse_frame_data().

#define SEQ_SAMPLE_RATE   22050

Definition at line 36 of file tiertexseq.c.

Referenced by seq_read_header().

#define SEQ_FRAME_RATE   25

Definition at line 37 of file tiertexseq.c.

Referenced by seq_read_header().

Function Documentation

static int seq_probe ( AVProbeData p)
static

Definition at line 63 of file tiertexseq.c.

static int seq_init_frame_buffers ( SeqDemuxContext seq,
AVIOContext pb 
)
static

Definition at line 83 of file tiertexseq.c.

Referenced by seq_read_header().

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

Definition at line 107 of file tiertexseq.c.

Referenced by seq_parse_frame_data().

static int seq_parse_frame_data ( SeqDemuxContext seq,
AVIOContext pb 
)
static

Definition at line 126 of file tiertexseq.c.

Referenced by seq_read_header(), and seq_read_packet().

static int seq_read_header ( AVFormatContext s)
static

Definition at line 185 of file tiertexseq.c.

static int seq_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 244 of file tiertexseq.c.

static int seq_read_close ( AVFormatContext s)
static

Definition at line 298 of file tiertexseq.c.

Variable Documentation

AVInputFormat ff_tiertexseq_demuxer
Initial value:
= {
.name = "tiertexseq",
.long_name = NULL_IF_CONFIG_SMALL("Tiertex Limited SEQ"),
.priv_data_size = sizeof(SeqDemuxContext),
}
static int seq_probe(AVProbeData *p)
Definition: tiertexseq.c:63
static av_cold int read_close(AVFormatContext *ctx)
Definition: libcdio.c:145
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:179
static int seq_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: tiertexseq.c:244
static int read_probe(AVProbeData *pd)
Definition: jvdec.c:55
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:528
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42
static int seq_read_close(AVFormatContext *s)
Definition: tiertexseq.c:298
static int seq_read_header(AVFormatContext *s)
Definition: tiertexseq.c:185

Definition at line 309 of file tiertexseq.c.