libavcodec/libspeexdec.c File Reference

#include <speex/speex.h>
#include <speex/speex_header.h>
#include <speex/speex_stereo.h>
#include <speex/speex_callbacks.h>
#include "avcodec.h"

Go to the source code of this file.

Data Structures

struct  LibSpeexContext

Functions

static av_cold int libspeex_decode_init (AVCodecContext *avctx)
static int libspeex_decode_frame (AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt)
static av_cold int libspeex_decode_close (AVCodecContext *avctx)
static av_cold void libspeex_decode_flush (AVCodecContext *avctx)

Variables

AVCodec ff_libspeex_decoder


Function Documentation

static av_cold int libspeex_decode_close ( AVCodecContext avctx  )  [static]

Definition at line 146 of file libspeexdec.c.

static av_cold void libspeex_decode_flush ( AVCodecContext avctx  )  [static]

Definition at line 157 of file libspeexdec.c.

static int libspeex_decode_frame ( AVCodecContext avctx,
void *  data,
int *  got_frame_ptr,
AVPacket avpkt 
) [static]

Definition at line 100 of file libspeexdec.c.

static av_cold int libspeex_decode_init ( AVCodecContext avctx  )  [static]

Definition at line 37 of file libspeexdec.c.


Variable Documentation

Initial value:

 {
    .name           = "libspeex",
    .type           = AVMEDIA_TYPE_AUDIO,
    .id             = CODEC_ID_SPEEX,
    .priv_data_size = sizeof(LibSpeexContext),
    .init           = libspeex_decode_init,
    .close          = libspeex_decode_close,
    .decode         = libspeex_decode_frame,
    .flush          = libspeex_decode_flush,
    .capabilities   = CODEC_CAP_SUBFRAMES | CODEC_CAP_DELAY | CODEC_CAP_DR1,
    .long_name = NULL_IF_CONFIG_SMALL("libspeex Speex"),
}

Definition at line 163 of file libspeexdec.c.


Generated on Fri Oct 26 02:43:48 2012 for FFmpeg by  doxygen 1.5.8