FFmpeg  4.0
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

◆ SEQ_FRAME_SIZE

#define SEQ_FRAME_SIZE   6144

Definition at line 31 of file tiertexseq.c.

Referenced by seq_parse_frame_data().

◆ SEQ_FRAME_W

#define SEQ_FRAME_W   256

Definition at line 32 of file tiertexseq.c.

Referenced by seq_read_header().

◆ SEQ_FRAME_H

#define SEQ_FRAME_H   128

Definition at line 33 of file tiertexseq.c.

Referenced by seq_read_header().

◆ SEQ_NUM_FRAME_BUFFERS

#define SEQ_NUM_FRAME_BUFFERS   30

◆ SEQ_AUDIO_BUFFER_SIZE

#define SEQ_AUDIO_BUFFER_SIZE   882

Definition at line 35 of file tiertexseq.c.

Referenced by seq_parse_frame_data().

◆ SEQ_SAMPLE_RATE

#define SEQ_SAMPLE_RATE   22050

Definition at line 36 of file tiertexseq.c.

Referenced by seq_read_header().

◆ SEQ_FRAME_RATE

#define SEQ_FRAME_RATE   25

Definition at line 37 of file tiertexseq.c.

Referenced by seq_read_header().

Function Documentation

◆ seq_probe()

static int seq_probe ( AVProbeData p)
static

Definition at line 63 of file tiertexseq.c.

◆ seq_init_frame_buffers()

static int seq_init_frame_buffers ( SeqDemuxContext seq,
AVIOContext pb 
)
static

Definition at line 83 of file tiertexseq.c.

Referenced by seq_read_header().

◆ seq_fill_buffer()

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().

◆ 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().

◆ seq_read_header()

static int seq_read_header ( AVFormatContext s)
static

Definition at line 185 of file tiertexseq.c.

◆ seq_read_packet()

static int seq_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 244 of file tiertexseq.c.

◆ seq_read_close()

static int seq_read_close ( AVFormatContext s)
static

Definition at line 298 of file tiertexseq.c.

Variable Documentation

◆ ff_tiertexseq_demuxer

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:186
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:530
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.