FFmpeg
Classes | Macros | Typedefs | Variables
ralf.c File Reference

This is a decoder for Real Audio Lossless format. More...

#include "libavutil/attributes.h"
#include "libavutil/channel_layout.h"
#include "avcodec.h"
#include "get_bits.h"
#include "golomb.h"
#include "internal.h"
#include "unary.h"
#include "ralfdata.h"

Classes

struct  VLCSet
 
struct  RALFContext
 

Macros

#define FILTER_NONE   0
 
#define FILTER_RAW   642
 
#define RALF_MAX_PKT_SIZE   8192
 
#define MAX_ELEMS   644
 

Typedefs

typedef struct VLCSet VLCSet
 
typedef struct RALFContext RALFContext
 

Variables

AVCodec ff_ralf_decoder
 

Detailed Description

This is a decoder for Real Audio Lossless format.

Dedicated to the mastermind behind it, Ralph Wiggum.

Variable Documentation

§ ff_ralf_decoder

AVCodec ff_ralf_decoder
Initial value:
= {
.name = "ralf",
.long_name = NULL_IF_CONFIG_SMALL("RealAudio Lossless"),
.type = AVMEDIA_TYPE_AUDIO,
.id = AV_CODEC_ID_RALF,
.priv_data_size = sizeof(RALFContext),
.init = decode_init,
.close = decode_close,
.decode = decode_frame,
.flush = decode_flush,
.capabilities = AV_CODEC_CAP_DR1,
.sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_S16P,
AV_SAMPLE_FMT_NONE },
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
Definition: ralf.c:52
AVSampleFormat
Audio sample formats.
Definition: samplefmt.h:58
signed 16 bits, planar
Definition: samplefmt.h:67
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: avcodec.h:959