FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
dsfdec.c File Reference
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "internal.h"
#include "id3v2.h"

Go to the source code of this file.

Data Structures

struct  DSFContext
 

Functions

static int dsf_probe (AVProbeData *p)
 
static void read_id3 (AVFormatContext *s, uint64_t id3pos)
 
static int dsf_read_header (AVFormatContext *s)
 
static int dsf_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

static const uint64_t dsf_channel_layout []
 
AVInputFormat ff_dsf_demuxer
 

Function Documentation

static int dsf_probe ( AVProbeData p)
static

Definition at line 33 of file dsfdec.c.

static void read_id3 ( AVFormatContext s,
uint64_t  id3pos 
)
static

Definition at line 51 of file dsfdec.c.

Referenced by dsf_read_header().

static int dsf_read_header ( AVFormatContext s)
static

Definition at line 65 of file dsfdec.c.

static int dsf_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 147 of file dsfdec.c.

Variable Documentation

const uint64_t dsf_channel_layout[]
static
Initial value:
= {
0,
}
#define AV_CH_LAYOUT_SURROUND
#define AV_CH_LAYOUT_4POINT0
#define AV_CH_LAYOUT_STEREO
#define AV_CH_LAYOUT_QUAD
#define AV_CH_LAYOUT_5POINT1_BACK
#define AV_CH_LAYOUT_5POINT0_BACK
#define AV_CH_LAYOUT_MONO

Definition at line 40 of file dsfdec.c.

Referenced by dsf_read_header().

AVInputFormat ff_dsf_demuxer
Initial value:
= {
.name = "dsf",
.long_name = NULL_IF_CONFIG_SMALL("DSD Stream File (DSF)"),
.priv_data_size = sizeof(DSFContext),
}
static int dsf_read_header(AVFormatContext *s)
Definition: dsfdec.c:65
static int dsf_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: dsfdec.c:147
static int dsf_probe(AVProbeData *p)
Definition: dsfdec.c:33
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static int read_probe(AVProbeData *pd)
Definition: jvdec.c:55
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:530
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:470
#define flags(name, subs,...)
Definition: cbs_av1.c:596
#define AVFMT_NO_BYTE_SEEK
Format does not allow seeking by bytes.
Definition: avformat.h:477

Definition at line 189 of file dsfdec.c.