FFmpeg
Data Structures | Functions | Variables
dsfdec.c File Reference
#include "libavutil/channel_layout.h"
#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 (const 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 AVChannelLayout dsf_channel_layout []
 
const AVInputFormat ff_dsf_demuxer
 

Function Documentation

◆ dsf_probe()

static int dsf_probe ( const AVProbeData p)
static

Definition at line 34 of file dsfdec.c.

◆ read_id3()

static void read_id3 ( AVFormatContext s,
uint64_t  id3pos 
)
static

Definition at line 52 of file dsfdec.c.

Referenced by dsf_read_header().

◆ dsf_read_header()

static int dsf_read_header ( AVFormatContext s)
static

Definition at line 66 of file dsfdec.c.

◆ dsf_read_packet()

static int dsf_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 156 of file dsfdec.c.

Variable Documentation

◆ dsf_channel_layout

const AVChannelLayout dsf_channel_layout[]
static

◆ ff_dsf_demuxer

const AVInputFormat ff_dsf_demuxer
Initial value:
= {
.name = "dsf",
.long_name = NULL_IF_CONFIG_SMALL("DSD Stream File (DSF)"),
.priv_data_size = sizeof(DSFContext),
}

Definition at line 212 of file dsfdec.c.

AVFMT_NO_BYTE_SEEK
#define AVFMT_NO_BYTE_SEEK
Format does not allow seeking by bytes.
Definition: avformat.h:488
AV_CHANNEL_LAYOUT_STEREO
#define AV_CHANNEL_LAYOUT_STEREO
Definition: channel_layout.h:383
AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:481
AV_CHANNEL_LAYOUT_SURROUND
#define AV_CHANNEL_LAYOUT_SURROUND
Definition: channel_layout.h:386
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_read_callback.c:41
AV_CHANNEL_LAYOUT_4POINT0
#define AV_CHANNEL_LAYOUT_4POINT0
Definition: channel_layout.h:388
AV_CHANNEL_ORDER_UNSPEC
@ AV_CHANNEL_ORDER_UNSPEC
Only the channel count is specified, without any further information about the channel order.
Definition: channel_layout.h:112
AV_CHANNEL_LAYOUT_5POINT0_BACK
#define AV_CHANNEL_LAYOUT_5POINT0_BACK
Definition: channel_layout.h:394
dsf_read_packet
static int dsf_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: dsfdec.c:156
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:106
DSFContext
Definition: dsfdec.c:28
AV_CHANNEL_LAYOUT_QUAD
#define AV_CHANNEL_LAYOUT_QUAD
Definition: channel_layout.h:391
dsf_read_header
static int dsf_read_header(AVFormatContext *s)
Definition: dsfdec.c:66
read_probe
static int read_probe(const AVProbeData *p)
Definition: cdg.c:29
AV_CHANNEL_LAYOUT_MONO
#define AV_CHANNEL_LAYOUT_MONO
Definition: channel_layout.h:382
dsf_probe
static int dsf_probe(const AVProbeData *p)
Definition: dsfdec.c:34
AV_CHANNEL_LAYOUT_5POINT1_BACK
#define AV_CHANNEL_LAYOUT_5POINT1_BACK
Definition: channel_layout.h:395
flags
#define flags(name, subs,...)
Definition: cbs_av1.c:474