FFmpeg
Data Structures | Macros | Functions | Variables
tiertexseq.c File Reference
#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 (const 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_close (AVFormatContext *s)
 
static int seq_read_header (AVFormatContext *s)
 
static int seq_read_packet (AVFormatContext *s, AVPacket *pkt)
 

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.

◆ SEQ_FRAME_W

#define SEQ_FRAME_W   256

Definition at line 32 of file tiertexseq.c.

◆ SEQ_FRAME_H

#define SEQ_FRAME_H   128

Definition at line 33 of file tiertexseq.c.

◆ SEQ_NUM_FRAME_BUFFERS

#define SEQ_NUM_FRAME_BUFFERS   30

Definition at line 34 of file tiertexseq.c.

◆ SEQ_AUDIO_BUFFER_SIZE

#define SEQ_AUDIO_BUFFER_SIZE   882

Definition at line 35 of file tiertexseq.c.

◆ SEQ_SAMPLE_RATE

#define SEQ_SAMPLE_RATE   22050

Definition at line 36 of file tiertexseq.c.

◆ SEQ_FRAME_RATE

#define SEQ_FRAME_RATE   25

Definition at line 37 of file tiertexseq.c.

Function Documentation

◆ seq_probe()

static int seq_probe ( const 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_close()

static int seq_read_close ( AVFormatContext s)
static

Definition at line 185 of file tiertexseq.c.

Referenced by seq_read_header().

◆ seq_read_header()

static int seq_read_header ( AVFormatContext s)
static

Definition at line 196 of file tiertexseq.c.

◆ seq_read_packet()

static int seq_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 263 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),
}

Definition at line 319 of file tiertexseq.c.

seq_probe
static int seq_probe(const AVProbeData *p)
Definition: tiertexseq.c:63
seq_read_packet
static int seq_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: tiertexseq.c:263
seq_read_close
static int seq_read_close(AVFormatContext *s)
Definition: tiertexseq.c:185
read_close
static av_cold int read_close(AVFormatContext *ctx)
Definition: libcdio.c:145
read_header
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:527
read_probe
static int read_probe(const AVProbeData *pd)
Definition: jvdec.c:55
seq_read_header
static int seq_read_header(AVFormatContext *s)
Definition: tiertexseq.c:196
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:117
SeqDemuxContext
Definition: tiertexseq.c:46
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42