FFmpeg
Data Structures | Macros | Functions | Variables
lafdec.c File Reference
#include "libavutil/intreadwrite.h"
#include "libavutil/mem.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 29 of file lafdec.c.

Function Documentation

◆ laf_probe()

static int laf_probe ( const AVProbeData p)
static

Definition at line 52 of file lafdec.c.

◆ laf_read_header()

static int laf_read_header ( AVFormatContext ctx)
static

Definition at line 61 of file lafdec.c.

◆ laf_read_packet()

static int laf_read_packet ( AVFormatContext ctx,
AVPacket pkt 
)
static

Definition at line 175 of file lafdec.c.

◆ laf_read_close()

static int laf_read_close ( AVFormatContext ctx)
static

Definition at line 263 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 272 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 282 of file lafdec.c.

laf_read_header
static int laf_read_header(AVFormatContext *ctx)
Definition: lafdec.c:61
laf_read_seek
static int laf_read_seek(AVFormatContext *ctx, int stream_index, int64_t timestamp, int flags)
Definition: lafdec.c:272
LAFContext
Definition: lafdec.c:39
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:42
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:540
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:94
laf_read_packet
static int laf_read_packet(AVFormatContext *ctx, AVPacket *pkt)
Definition: lafdec.c:175
laf_probe
static int laf_probe(const AVProbeData *p)
Definition: lafdec.c:52
laf_read_close
static int laf_read_close(AVFormatContext *ctx)
Definition: lafdec.c:263
read_probe
static int read_probe(const AVProbeData *p)
Definition: cdg.c:30