FFmpeg
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 (const 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

const AVInputFormat ff_sol_demuxer
 

Macro Definition Documentation

◆ AU_UNKNOWN_SIZE

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

Definition at line 33 of file sol.c.

◆ SOL_DPCM

#define SOL_DPCM   1

Definition at line 47 of file sol.c.

◆ SOL_16BIT

#define SOL_16BIT   4

Definition at line 48 of file sol.c.

◆ SOL_STEREO

#define SOL_STEREO   16

Definition at line 49 of file sol.c.

◆ MAX_SIZE

#define MAX_SIZE   4096

Definition at line 124 of file sol.c.

Function Documentation

◆ sol_probe()

static int sol_probe ( const AVProbeData p)
static

Definition at line 35 of file sol.c.

◆ sol_codec_id()

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

Definition at line 51 of file sol.c.

Referenced by sol_read_header().

◆ sol_codec_type()

static int sol_codec_type ( int  magic,
int  type 
)
static

Definition at line 65 of file sol.c.

Referenced by sol_read_header().

◆ sol_channels()

static int sol_channels ( int  magic,
int  type 
)
static

Definition at line 77 of file sol.c.

Referenced by sol_read_header().

◆ sol_read_header()

static int sol_read_header ( AVFormatContext s)
static

Definition at line 83 of file sol.c.

◆ sol_read_packet()

static int sol_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 126 of file sol.c.

Variable Documentation

◆ ff_sol_demuxer

const 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 141 of file sol.c.

sol_probe
static int sol_probe(const AVProbeData *p)
Definition: sol.c:35
sol_read_packet
static int sol_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: sol.c:126
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:117
ff_pcm_read_seek
int ff_pcm_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
Definition: pcm.c:56
sol_read_header
static int sol_read_header(AVFormatContext *s)
Definition: sol.c:83