FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
ra144dec.c File Reference
#include "libavutil/channel_layout.h"
#include "avcodec.h"
#include "get_bits.h"
#include "internal.h"
#include "ra144.h"

Go to the source code of this file.

Functions

static av_cold int ra144_decode_init (AVCodecContext *avctx)
 
static void do_output_subblock (RA144Context *ractx, const int16_t *lpc_coefs, int gval, GetBitContext *gb)
 
static int ra144_decode_frame (AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt)
 Uncompress one block (20 bytes -> 160*2 bytes). More...
 

Variables

AVCodec ff_ra_144_decoder
 

Function Documentation

static av_cold int ra144_decode_init ( AVCodecContext avctx)
static

Definition at line 32 of file ra144dec.c.

static void do_output_subblock ( RA144Context ractx,
const int16_t *  lpc_coefs,
int  gval,
GetBitContext gb 
)
static

Definition at line 49 of file ra144dec.c.

Referenced by ra144_decode_frame().

static int ra144_decode_frame ( AVCodecContext avctx,
void data,
int got_frame_ptr,
AVPacket avpkt 
)
static

Uncompress one block (20 bytes -> 160*2 bytes).

Definition at line 62 of file ra144dec.c.

Variable Documentation

AVCodec ff_ra_144_decoder
Initial value:
= {
.name = "real_144",
.long_name = NULL_IF_CONFIG_SMALL("RealAudio 1.0 (14.4K)"),
.priv_data_size = sizeof(RA144Context),
.capabilities = AV_CODEC_CAP_DR1,
}
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
static void decode(AVCodecContext *dec_ctx, AVPacket *pkt, AVFrame *frame, FILE *outfile)
Definition: decode_audio.c:42
static av_cold int ra144_decode_init(AVCodecContext *avctx)
Definition: ra144dec.c:32
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static int ra144_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt)
Uncompress one block (20 bytes -> 160*2 bytes).
Definition: ra144dec.c:62
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: avcodec.h:959

Definition at line 129 of file ra144dec.c.