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"
#include "internal.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 147 of file libspeexdec.c.

static av_cold void libspeex_decode_flush ( AVCodecContext avctx) [static]

Definition at line 158 of file libspeexdec.c.

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

Definition at line 101 of file libspeexdec.c.

static av_cold int libspeex_decode_init ( AVCodecContext avctx) [static]

Definition at line 38 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 164 of file libspeexdec.c.