FFmpeg
Data Structures | Macros | Functions | Variables
wavdec.c File Reference
#include <stdint.h>
#include "config.h"
#include "libavutil/avassert.h"
#include "libavutil/dict.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/log.h"
#include "libavutil/mathematics.h"
#include "libavutil/opt.h"
#include "avformat.h"
#include "avio.h"
#include "avio_internal.h"
#include "id3v2.h"
#include "internal.h"
#include "metadata.h"
#include "pcm.h"
#include "riff.h"
#include "w64.h"
#include "spdif.h"

Go to the source code of this file.

Data Structures

struct  WAVDemuxContext
 

Macros

#define OFFSET(x)   offsetof(WAVDemuxContext, x)
 
#define DEC   AV_OPT_FLAG_DECODING_PARAM
 
#define W64_DEMUXER_OPTIONS_OFFSET   (1 * CONFIG_WAV_DEMUXER)
 

Functions

static void set_spdif (AVFormatContext *s, WAVDemuxContext *wav)
 

Variables

static const AVOption demux_options []
 

Macro Definition Documentation

◆ OFFSET

#define OFFSET (   x)    offsetof(WAVDemuxContext, x)

Definition at line 68 of file wavdec.c.

◆ DEC

#define DEC   AV_OPT_FLAG_DECODING_PARAM

Definition at line 69 of file wavdec.c.

◆ W64_DEMUXER_OPTIONS_OFFSET

#define W64_DEMUXER_OPTIONS_OFFSET   (1 * CONFIG_WAV_DEMUXER)

Function Documentation

◆ set_spdif()

static void set_spdif ( AVFormatContext s,
WAVDemuxContext wav 
)
static

Definition at line 79 of file wavdec.c.

Variable Documentation

◆ demux_options

const AVOption demux_options[]
static
Initial value:
= {
#define W64_DEMUXER_OPTIONS_OFFSET
{ "max_size", "max size of single packet", OFFSET(max_size), AV_OPT_TYPE_INT, { .i64 = 4096 }, 1024, 1 << 22, DEC },
{ NULL },
}

Definition at line 70 of file wavdec.c.

NULL
#define NULL
Definition: coverity.c:32
DEC
#define DEC
Definition: wavdec.c:69
AV_OPT_TYPE_INT
@ AV_OPT_TYPE_INT
Definition: opt.h:224
OFFSET
#define OFFSET(x)
Definition: wavdec.c:68