libavcodec/ra144dec.c File Reference

#include "libavutil/intmath.h"
#include "avcodec.h"
#include "get_bits.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 uint16_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).

Variables

AVCodec ff_ra_144_decoder


Function Documentation

static void do_output_subblock ( RA144Context ractx,
const uint16_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 31 of file ra144dec.c.


Variable Documentation

Initial value:

 {
    .name           = "real_144",
    .type           = AVMEDIA_TYPE_AUDIO,
    .id             = CODEC_ID_RA_144,
    .priv_data_size = sizeof(RA144Context),
    .init           = ra144_decode_init,
    .decode         = ra144_decode_frame,
    .capabilities   = CODEC_CAP_DR1,
    .long_name      = NULL_IF_CONFIG_SMALL("RealAudio 1.0 (14.4K)"),
}

Definition at line 129 of file ra144dec.c.


Generated on Fri Oct 26 02:46:10 2012 for FFmpeg by  doxygen 1.5.8