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

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 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_16BIT   4

Definition at line 48 of file sol.c.

Referenced by sol_codec_id(), and sol_codec_type().

#define SOL_STEREO   16

Definition at line 49 of file sol.c.

Referenced by sol_channels().

#define MAX_SIZE   4096

Definition at line 127 of file sol.c.

Referenced by sol_read_packet().

Function Documentation

static int sol_probe ( AVProbeData p)
static

Definition at line 35 of file sol.c.

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_channels ( int  magic,
int  type 
)
static

Definition at line 80 of file sol.c.

Referenced by sol_read_header().

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,
}

Definition at line 144 of file sol.c.