FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
adxdec.c File Reference

CRI ADX demuxer. More...

#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  ADXDemuxerContext
 

Macros

#define BLOCK_SIZE   18
 
#define BLOCK_SAMPLES   32
 

Functions

static int adx_probe (AVProbeData *p)
 
static int adx_read_packet (AVFormatContext *s, AVPacket *pkt)
 
static int adx_read_header (AVFormatContext *s)
 

Variables

AVInputFormat ff_adx_demuxer
 

Detailed Description

CRI ADX demuxer.

Definition in file adxdec.c.

Macro Definition Documentation

#define BLOCK_SIZE   18

Definition at line 30 of file adxdec.c.

Referenced by adx_decode(), adx_decode_frame(), adx_read_header(), and adx_read_packet().

#define BLOCK_SAMPLES   32

Definition at line 31 of file adxdec.c.

Referenced by adx_decode(), adx_decode_frame(), and adx_read_header().

Function Documentation

static int adx_probe ( AVProbeData p)
static

Definition at line 37 of file adxdec.c.

static int adx_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 50 of file adxdec.c.

static int adx_read_header ( AVFormatContext s)
static

Definition at line 82 of file adxdec.c.

Variable Documentation

AVInputFormat ff_adx_demuxer
Initial value:
= {
.name = "adx",
.long_name = NULL_IF_CONFIG_SMALL("CRI ADX"),
.read_probe = adx_probe,
.priv_data_size = sizeof(ADXDemuxerContext),
.extensions = "adx",
.raw_codec_id = AV_CODEC_ID_ADPCM_ADX,
}
static int adx_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: adxdec.c:50
static int flags
Definition: log.c:57
static int adx_read_header(AVFormatContext *s)
Definition: adxdec.c:82
static int adx_probe(AVProbeData *p)
Definition: adxdec.c:37
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:179
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:510
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:487

Definition at line 126 of file adxdec.c.