FFmpeg
Data Structures | Macros | Functions | Variables
lafdec.c File Reference
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "avio_internal.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 AVInputFormat ff_laf_demuxer
 

Macro Definition Documentation

◆ MAX_STREAMS

#define MAX_STREAMS   4096

Definition at line 27 of file lafdec.c.

Function Documentation

◆ laf_probe()

static int laf_probe ( const AVProbeData p)
static

Definition at line 50 of file lafdec.c.

◆ laf_read_header()

static int laf_read_header ( AVFormatContext ctx)
static

Definition at line 59 of file lafdec.c.

◆ laf_read_packet()

static int laf_read_packet ( AVFormatContext ctx,
AVPacket pkt 
)
static

Definition at line 171 of file lafdec.c.

◆ laf_read_close()

static int laf_read_close ( AVFormatContext ctx)
static

Definition at line 259 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 268 of file lafdec.c.

Variable Documentation

◆ ff_laf_demuxer

const AVInputFormat ff_laf_demuxer
Initial value:
= {
.name = "laf",
.long_name = NULL_IF_CONFIG_SMALL("LAF (Limitless Audio Format)"),
.priv_data_size = sizeof(LAFContext),
.extensions = "laf",
.flags_internal = FF_FMT_INIT_CLEANUP,
}

Definition at line 278 of file lafdec.c.

FF_FMT_INIT_CLEANUP
#define FF_FMT_INIT_CLEANUP
For an AVInputFormat with this flag set read_close() needs to be called by the caller upon read_heade...
Definition: internal.h:47
laf_read_header
static int laf_read_header(AVFormatContext *ctx)
Definition: lafdec.c:59
laf_read_seek
static int laf_read_seek(AVFormatContext *ctx, int stream_index, int64_t timestamp, int flags)
Definition: lafdec.c:268
LAFContext
Definition: lafdec.c:37
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
read_header
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:545
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:115
laf_read_packet
static int laf_read_packet(AVFormatContext *ctx, AVPacket *pkt)
Definition: lafdec.c:171
laf_probe
static int laf_probe(const AVProbeData *p)
Definition: lafdec.c:50
laf_read_close
static int laf_read_close(AVFormatContext *ctx)
Definition: lafdec.c:259
read_probe
static int read_probe(const AVProbeData *p)
Definition: cdg.c:29
flags
#define flags(name, subs,...)
Definition: cbs_av1.c:561