All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
libspeexdec.c File Reference
#include <speex/speex.h>
#include <speex/speex_header.h>
#include <speex/speex_stereo.h>
#include <speex/speex_callbacks.h>
#include "libavutil/channel_layout.h"
#include "libavutil/common.h"
#include "avcodec.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  LibSpeexContext


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)


AVCodec ff_libspeex_decoder

Function Documentation

static av_cold int libspeex_decode_init ( AVCodecContext avctx)

Definition at line 40 of file libspeexdec.c.

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

Definition at line 125 of file libspeexdec.c.

static av_cold int libspeex_decode_close ( AVCodecContext avctx)

Definition at line 176 of file libspeexdec.c.

static av_cold void libspeex_decode_flush ( AVCodecContext avctx)

Definition at line 186 of file libspeexdec.c.

Variable Documentation

AVCodec ff_libspeex_decoder
Initial value:
= {
.name = "libspeex",
.long_name = NULL_IF_CONFIG_SMALL("libspeex Speex"),
.priv_data_size = sizeof(LibSpeexContext),
static void flush(AVCodecContext *avctx)
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...
Definition: avcodec.h:981
static av_cold void libspeex_decode_flush(AVCodecContext *avctx)
Definition: libspeexdec.c:186
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:176
static av_cold int libspeex_decode_init(AVCodecContext *avctx)
Definition: libspeexdec.c:40
static av_cold int libspeex_decode_close(AVCodecContext *avctx)
Definition: libspeexdec.c:176
Codec can output multiple frames per AVPacket Normally demuxers return one frame at a time...
Definition: avcodec.h:1006
static int libspeex_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt)
Definition: libspeexdec.c:125
static int decode(AVCodecContext *avctx, void *data, int *got_sub, AVPacket *avpkt)
Definition: ccaption_dec.c:722
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: avcodec.h:956

Definition at line 192 of file libspeexdec.c.