libavcodec/libcelt_dec.c File Reference

#include <celt/celt.h>
#include <celt/celt_header.h>
#include "avcodec.h"
#include "libavutil/intreadwrite.h"

Go to the source code of this file.

Data Structures

struct  libcelt_context

Functions

static int ff_celt_error_to_averror (int err)
static int ff_celt_bitstream_version_hack (CELTMode *mode)
static av_cold int libcelt_dec_init (AVCodecContext *c)
static av_cold int libcelt_dec_close (AVCodecContext *c)
static int libcelt_dec_decode (AVCodecContext *c, void *frame, int *got_frame_ptr, AVPacket *pkt)

Variables

AVCodec ff_libcelt_decoder


Function Documentation

static int ff_celt_bitstream_version_hack ( CELTMode *  mode  )  [static]

Definition at line 52 of file libcelt_dec.c.

Referenced by libcelt_dec_init().

static int ff_celt_error_to_averror ( int  err  )  [static]

Definition at line 34 of file libcelt_dec.c.

Referenced by libcelt_dec_decode(), and libcelt_dec_init().

static av_cold int libcelt_dec_close ( AVCodecContext c  )  [static]

Definition at line 98 of file libcelt_dec.c.

static int libcelt_dec_decode ( AVCodecContext c,
void *  frame,
int *  got_frame_ptr,
AVPacket pkt 
) [static]

Definition at line 107 of file libcelt_dec.c.

static av_cold int libcelt_dec_init ( AVCodecContext c  )  [static]

Definition at line 59 of file libcelt_dec.c.


Variable Documentation

Initial value:

 {
    .name           = "libcelt",
    .type           = AVMEDIA_TYPE_AUDIO,
    .id             = CODEC_ID_CELT,
    .priv_data_size = sizeof(struct libcelt_context),
    .init           = libcelt_dec_init,
    .close          = libcelt_dec_close,
    .decode         = libcelt_dec_decode,
    .capabilities   = CODEC_CAP_DR1,
    .long_name      = NULL_IF_CONFIG_SMALL("Xiph CELT decoder using libcelt"),
}

Definition at line 135 of file libcelt_dec.c.


Generated on Fri Oct 26 02:47:57 2012 for FFmpeg by  doxygen 1.5.8