FFmpeg
Data Structures | Macros | Functions | Variables
lafdec.c File Reference
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "avio_internal.h"
#include "demux.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  StreamParams
 
struct  LAFContext
 

Macros

#define MAX_STREAMS   4096
 

Functions

static int laf_probe (const AVProbeData *p)
 
static int laf_read_header (AVFormatContext *ctx)
 
static int laf_read_packet (AVFormatContext *ctx, AVPacket *pkt)
 
static int laf_read_close (AVFormatContext *ctx)
 
static int laf_read_seek (AVFormatContext *ctx, int stream_index, int64_t timestamp, int flags)
 

Variables

const FFInputFormat ff_laf_demuxer
 

Macro Definition Documentation

◆ MAX_STREAMS

#define MAX_STREAMS   4096

Definition at line 28 of file lafdec.c.

Function Documentation

◆ laf_probe()

static int laf_probe ( const AVProbeData p)
static

Definition at line 51 of file lafdec.c.

◆ laf_read_header()

static int laf_read_header ( AVFormatContext ctx)
static

Definition at line 60 of file lafdec.c.

◆ laf_read_packet()

static int laf_read_packet ( AVFormatContext ctx,
AVPacket pkt 
)
static

Definition at line 174 of file lafdec.c.

◆ laf_read_close()

static int laf_read_close ( AVFormatContext ctx)
static

Definition at line 262 of file lafdec.c.

◆ laf_read_seek()

static int laf_read_seek ( AVFormatContext ctx,
int  stream_index,
int64_t  timestamp,
int  flags 
)
static

Definition at line 271 of file lafdec.c.

Variable Documentation

◆ ff_laf_demuxer

const FFInputFormat ff_laf_demuxer
Initial value:
= {
.p.name = "laf",
.p.long_name = NULL_IF_CONFIG_SMALL("LAF (Limitless Audio Format)"),
.p.extensions = "laf",
.p.flags = AVFMT_GENERIC_INDEX,
.priv_data_size = sizeof(LAFContext),
.flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
}

Definition at line 281 of file lafdec.c.

laf_read_header
static int laf_read_header(AVFormatContext *ctx)
Definition: lafdec.c:60
laf_read_seek
static int laf_read_seek(AVFormatContext *ctx, int stream_index, int64_t timestamp, int flags)
Definition: lafdec.c:271
LAFContext
Definition: lafdec.c:38
read_seek
static int read_seek(AVFormatContext *ctx, int stream_index, int64_t timestamp, int flags)
Definition: libcdio.c:151
read_close
static av_cold int read_close(AVFormatContext *ctx)
Definition: libcdio.c:143
AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:480
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_read_callback.c:41
FF_INFMT_FLAG_INIT_CLEANUP
#define FF_INFMT_FLAG_INIT_CLEANUP
For an FFInputFormat with this flag set read_close() needs to be called by the caller upon read_heade...
Definition: demux.h:35
read_header
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:550
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:106
laf_read_packet
static int laf_read_packet(AVFormatContext *ctx, AVPacket *pkt)
Definition: lafdec.c:174
laf_probe
static int laf_probe(const AVProbeData *p)
Definition: lafdec.c:51
laf_read_close
static int laf_read_close(AVFormatContext *ctx)
Definition: lafdec.c:262
read_probe
static int read_probe(const AVProbeData *p)
Definition: cdg.c:30