ra144dec.c File Reference
#include "libavutil/channel_layout.h"
#include "avcodec.h"
#include "get_bits.h"
#include "internal.h"
#include "ra144.h"
Include dependency graph for ra144dec.c:

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 void do_output_subblock ( RA144Context ractx,
const int16_t *  lpc_coefs,
int  gval,
GetBitContext gb 
)
static

Definition at line 48 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 61 of file ra144dec.c.

static av_cold int ra144_decode_init ( AVCodecContext avctx)
static

Definition at line 32 of file ra144dec.c.

Variable Documentation

AVCodec ff_ra_144_decoder
Initial value:
= {
.name = "real_144",
.priv_data_size = sizeof(RA144Context),
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("RealAudio 1.0 (14.4K)"),
}
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
#define CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
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. ...
struct RA144Context RA144Context
static int decode(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: crystalhd.c:868
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:61

Definition at line 128 of file ra144dec.c.