FFmpeg
Data Structures | Functions | Variables
wavarc.c File Reference
#include "libavutil/channel_layout.h"
#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  WavArcContext
 

Functions

static int wavarc_probe (const AVProbeData *p)
 
static int wavarc_read_header (AVFormatContext *s)
 
static int wavarc_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

const FFInputFormat ff_wavarc_demuxer
 

Function Documentation

◆ wavarc_probe()

static int wavarc_probe ( const AVProbeData p)
static

Definition at line 33 of file wavarc.c.

◆ wavarc_read_header()

static int wavarc_read_header ( AVFormatContext s)
static

Definition at line 56 of file wavarc.c.

◆ wavarc_read_packet()

static int wavarc_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 120 of file wavarc.c.

Variable Documentation

◆ ff_wavarc_demuxer

const FFInputFormat ff_wavarc_demuxer
Initial value:
= {
.p.name = "wavarc",
.p.long_name = NULL_IF_CONFIG_SMALL("Waveform Archiver"),
.p.extensions = "wa",
.priv_data_size = sizeof(WavArcContext),
.raw_codec_id = AV_CODEC_ID_WAVARC,
}

Definition at line 136 of file wavarc.c.

AVFMT_NO_BYTE_SEEK
#define AVFMT_NO_BYTE_SEEK
Format does not allow seeking by bytes.
Definition: avformat.h:487
AV_CODEC_ID_WAVARC
@ AV_CODEC_ID_WAVARC
Definition: codec_id.h:541
AVFMT_NOTIMESTAMPS
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition: avformat.h:479
AVFMT_NOBINSEARCH
#define AVFMT_NOBINSEARCH
Format does not allow to fall back on binary search via read_timestamp.
Definition: avformat.h:485
WavArcContext
Definition: wavarc.c:31
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_read_callback.c:42
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:94
wavarc_read_packet
static int wavarc_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: wavarc.c:120
AVFMT_NOGENSEARCH
#define AVFMT_NOGENSEARCH
Format does not allow to fall back on generic search.
Definition: avformat.h:486
read_probe
static int read_probe(const AVProbeData *p)
Definition: cdg.c:30
wavarc_read_header
static int wavarc_read_header(AVFormatContext *s)
Definition: wavarc.c:56
wavarc_probe
static int wavarc_probe(const AVProbeData *p)
Definition: wavarc.c:33