FFmpeg
Loading...
Searching...
No Matches
adxdec.c File Reference

CRI ADX demuxer. More...

#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "demux.h"
#include "internal.h"
#include "rawdec.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 (const AVProbeData *p)
 
static int adx_read_packet (AVFormatContext *s, AVPacket *pkt)
 
static int adx_read_header (AVFormatContext *s)
 

Variables

const FFInputFormat ff_adx_demuxer
 

Detailed Description

CRI ADX demuxer.

Definition in file adxdec.c.

Macro Definition Documentation

◆ BLOCK_SIZE

#define BLOCK_SIZE   18

Definition at line 32 of file adxdec.c.

◆ BLOCK_SAMPLES

#define BLOCK_SAMPLES   32

Definition at line 33 of file adxdec.c.

Function Documentation

◆ adx_probe()

static int adx_probe ( const AVProbeData * p)
static

Definition at line 40 of file adxdec.c.

◆ adx_read_packet()

static int adx_read_packet ( AVFormatContext * s,
AVPacket * pkt )
static

Definition at line 53 of file adxdec.c.

◆ adx_read_header()

static int adx_read_header ( AVFormatContext * s)
static

Definition at line 89 of file adxdec.c.

Variable Documentation

◆ ff_adx_demuxer

const FFInputFormat ff_adx_demuxer
Initial value:
= {
.p.name = "adx",
.p.long_name = NULL_IF_CONFIG_SMALL("CRI ADX"),
.p.extensions = "adx",
.p.priv_class = &ff_raw_demuxer_class,
.p.flags = AVFMT_GENERIC_INDEX,
.read_probe = adx_probe,
.priv_data_size = sizeof(ADXDemuxerContext),
}
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition avformat.h:499
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
static int read_header(FFV1Context *f, RangeCoder *c)
Definition ffv1dec.c:578
static int adx_probe(const AVProbeData *p)
Definition adxdec.c:40
static int adx_read_header(AVFormatContext *s)
Definition adxdec.c:89
static int adx_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition adxdec.c:53
const AVClass ff_raw_demuxer_class
Definition rawdec.c:141
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition internal.h:88

Definition at line 150 of file adxdec.c.