sol.c File Reference
#include "libavutil/channel_layout.h"
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "internal.h"
#include "pcm.h"
Include dependency graph for sol.c:

Go to the source code of this file.

Macros

#define AU_UNKNOWN_SIZE   ((uint32_t)(~0))
 
#define SOL_DPCM   1
 
#define SOL_16BIT   4
 
#define SOL_STEREO   16
 
#define MAX_SIZE   4096
 

Functions

static int sol_probe (AVProbeData *p)
 
static enum AVCodecID sol_codec_id (int magic, int type)
 
static int sol_codec_type (int magic, int type)
 
static int sol_channels (int magic, int type)
 
static int sol_read_header (AVFormatContext *s)
 
static int sol_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

AVInputFormat ff_sol_demuxer
 

Macro Definition Documentation

#define AU_UNKNOWN_SIZE   ((uint32_t)(~0))

Definition at line 33 of file sol.c.

#define MAX_SIZE   4096

Definition at line 127 of file sol.c.

Referenced by sol_read_packet().

#define SOL_16BIT   4

Definition at line 48 of file sol.c.

Referenced by sol_codec_id(), and sol_codec_type().

#define SOL_DPCM   1

Definition at line 47 of file sol.c.

Referenced by avcodec_register_all(), sol_codec_id(), and sol_codec_type().

#define SOL_STEREO   16

Definition at line 49 of file sol.c.

Referenced by sol_channels().

Function Documentation

static int sol_channels ( int  magic,
int  type 
)
static

Definition at line 80 of file sol.c.

Referenced by sol_read_header().

static enum AVCodecID sol_codec_id ( int  magic,
int  type 
)
static

Definition at line 51 of file sol.c.

Referenced by sol_read_header().

static int sol_codec_type ( int  magic,
int  type 
)
static

Definition at line 68 of file sol.c.

Referenced by sol_read_header().

static int sol_probe ( AVProbeData p)
static

Definition at line 35 of file sol.c.

static int sol_read_header ( AVFormatContext s)
static

Definition at line 86 of file sol.c.

static int sol_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 129 of file sol.c.

Variable Documentation

AVInputFormat ff_sol_demuxer
Initial value:
= {
.name = "sol",
.long_name = NULL_IF_CONFIG_SMALL("Sierra SOL"),
.read_probe = sol_probe,
.read_header = sol_read_header,
.read_packet = sol_read_packet,
.read_seek = ff_pcm_read_seek,
}
static int sol_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: sol.c:129
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int sol_read_header(AVFormatContext *s)
Definition: sol.c:86
int ff_pcm_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
static int sol_probe(AVProbeData *p)
Definition: sol.c:35

Definition at line 144 of file sol.c.