FFmpeg
Data Structures | Macros | Functions | Variables
wavdec.c File Reference
#include <stdint.h>
#include "config_components.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 "libavcodec/internal.h"
#include "avformat.h"
#include "avio.h"
#include "avio_internal.h"
#include "demux.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_max_size (AVStream *st, WAVDemuxContext *wav)
 
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 70 of file wavdec.c.

◆ DEC

#define DEC   AV_OPT_FLAG_DECODING_PARAM

Definition at line 71 of file wavdec.c.

◆ W64_DEMUXER_OPTIONS_OFFSET

#define W64_DEMUXER_OPTIONS_OFFSET   (1 * CONFIG_WAV_DEMUXER)

Function Documentation

◆ set_max_size()

static void set_max_size ( AVStream st,
WAVDemuxContext wav 
)
static

Definition at line 81 of file wavdec.c.

◆ set_spdif()

static void set_spdif ( AVFormatContext s,
WAVDemuxContext wav 
)
static

Definition at line 89 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 = 0 }, 0, 1 << 22, DEC },
{ NULL },
}

Definition at line 72 of file wavdec.c.

NULL
#define NULL
Definition: coverity.c:32
DEC
#define DEC
Definition: wavdec.c:71
AV_OPT_TYPE_INT
@ AV_OPT_TYPE_INT
Definition: opt.h:235
OFFSET
#define OFFSET(x)
Definition: wavdec.c:70