libavformat/adxdec.c File Reference

CRI ADX demuxer. More...

#include "libavutil/intreadwrite.h"
#include "libavcodec/adx.h"
#include "avformat.h"
#include "internal.h"
Include dependency graph for libavformat/adxdec.c:

Go to the source code of this file.

Data Structures

struct  ADXDemuxerContext
 

Macros

#define BLOCK_SIZE   18
 
#define BLOCK_SAMPLES   32
 

Typedefs

typedef struct ADXDemuxerContext ADXDemuxerContext
 

Functions

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 libavformat/adxdec.c.

Macro Definition Documentation

#define BLOCK_SAMPLES   32

Definition at line 32 of file libavformat/adxdec.c.

Referenced by adx_read_header().

#define BLOCK_SIZE   18

Definition at line 31 of file libavformat/adxdec.c.

Referenced by adx_read_packet().

Typedef Documentation

Function Documentation

static int adx_read_header ( AVFormatContext s)
static

Definition at line 65 of file libavformat/adxdec.c.

static int adx_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 38 of file libavformat/adxdec.c.

Variable Documentation

AVInputFormat ff_adx_demuxer
Initial value:
= {
.name = "adx",
.long_name = NULL_IF_CONFIG_SMALL("CRI ADX"),
.priv_data_size = sizeof(ADXDemuxerContext),
.extensions = "adx",
.raw_codec_id = AV_CODEC_ID_ADPCM_ADX,
}
static int adx_read_packet(AVFormatContext *s, AVPacket *pkt)
static int adx_read_header(AVFormatContext *s)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
struct ADXDemuxerContext ADXDemuxerContext
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:517
static int read_packet(AVFormatContext *ctx, AVPacket *pkt)
Definition: libcdio.c:114
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:353
static int flags
Definition: cpu.c:23

Definition at line 104 of file libavformat/adxdec.c.