FFmpeg
 All Data Structures Namespaces 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 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 124 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 65 of file sol.c.

Referenced by sol_read_header().

static int sol_channels ( int  magic,
int  type 
)
static

Definition at line 77 of file sol.c.

Referenced by sol_read_header().

static int sol_read_header ( AVFormatContext s)
static

Definition at line 83 of file sol.c.

static int sol_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 126 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:126
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static int sol_read_header(AVFormatContext *s)
Definition: sol.c:83
int ff_pcm_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
Definition: pcm.c:52
static int sol_probe(AVProbeData *p)
Definition: sol.c:35

Definition at line 141 of file sol.c.