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

Go to the source code of this file.

Functions

static int wsd_probe (AVProbeData *p)
 
static int empty_string (const char *buf, unsigned size)
 
static int wsd_to_av_channel_layoyt (AVFormatContext *s, int bit)
 
static int get_metadata (AVFormatContext *s, const char *const tag, const unsigned size)
 
static int wsd_read_header (AVFormatContext *s)
 

Variables

AVInputFormat ff_wsd_demuxer
 

Function Documentation

static int wsd_probe ( AVProbeData p)
static

Definition at line 28 of file wsddec.c.

static int empty_string ( const char *  buf,
unsigned  size 
)
static

Definition at line 37 of file wsddec.c.

Referenced by get_metadata().

static int wsd_to_av_channel_layoyt ( AVFormatContext s,
int  bit 
)
static

Definition at line 46 of file wsddec.c.

Referenced by wsd_read_header().

static int get_metadata ( AVFormatContext s,
const char *const  tag,
const unsigned  size 
)
static

Definition at line 71 of file wsddec.c.

Referenced by wsd_read_header().

static int wsd_read_header ( AVFormatContext s)
static

Definition at line 96 of file wsddec.c.

Variable Documentation

AVInputFormat ff_wsd_demuxer
Initial value:
= {
.name = "wsd",
.long_name = NULL_IF_CONFIG_SMALL("Wideband Single-bit Data (WSD)"),
.read_probe = wsd_probe,
.read_header = wsd_read_header,
.extensions = "wsd",
.raw_codec_id = AV_CODEC_ID_DSD_MSBF,
}
static int wsd_read_header(AVFormatContext *s)
Definition: wsddec.c:96
int ff_raw_read_partial_packet(AVFormatContext *s, AVPacket *pkt)
Definition: rawdec.c:35
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:470
#define AVFMT_NO_BYTE_SEEK
Format does not allow seeking by bytes.
Definition: avformat.h:477
static int wsd_probe(AVProbeData *p)
Definition: wsddec.c:28

Definition at line 164 of file wsddec.c.