Libav
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
 

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_init ( AVCodecContext avctx)
static

Definition at line 39 of file libspeexdec.c.

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

Definition at line 107 of file libspeexdec.c.

static av_cold int libspeex_decode_close ( AVCodecContext avctx)
static

Definition at line 155 of file libspeexdec.c.

static av_cold void libspeex_decode_flush ( AVCodecContext avctx)
static

Definition at line 165 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 int decode(MimicContext *ctx, int quality, int num_coeffs, int is_iframe)
Definition: mimic.c:275
#define CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: avcodec.h:684
static av_cold void libspeex_decode_flush(AVCodecContext *avctx)
Definition: libspeexdec.c:165
#define CODEC_CAP_DELAY
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...
Definition: avcodec.h:713
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:145
static av_cold int libspeex_decode_init(AVCodecContext *avctx)
Definition: libspeexdec.c:39
static void close(AVCodecParserContext *s)
Definition: h264_parser.c:490
static av_cold int libspeex_decode_close(AVCodecContext *avctx)
Definition: libspeexdec.c:155
static int libspeex_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt)
Definition: libspeexdec.c:107
#define CODEC_CAP_SUBFRAMES
Codec can output multiple frames per AVPacket Normally demuxers return one frame at a time...
Definition: avcodec.h:736
static av_cold void flush(AVCodecContext *avctx)
Flush (reset) the frame ID after seeking.
Definition: alsdec.c:1797
static av_cold int init(AVCodecParserContext *s)
Definition: h264_parser.c:499

Definition at line 171 of file libspeexdec.c.