FFmpeg
|
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"
Include dependency graph for libspeexdec.c:
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 |
Definition at line 165 of file libspeexdec.c.
|
static |
Definition at line 175 of file libspeexdec.c.
|
static |
Definition at line 119 of file libspeexdec.c.
|
static |
Definition at line 39 of file libspeexdec.c.
Variable Documentation
AVCodec ff_libspeex_decoder |
Initial value:
= {
.name = "libspeex",
.type = AVMEDIA_TYPE_AUDIO,
.id = AV_CODEC_ID_SPEEX,
.priv_data_size = sizeof(LibSpeexContext),
.long_name = NULL_IF_CONFIG_SMALL("libspeex Speex"),
}
Definition: libavcodec/avcodec.h:417
#define CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: libavcodec/avcodec.h:743
static av_cold void libspeex_decode_flush(AVCodecContext *avctx)
Definition: libspeexdec.c:175
#define CODEC_CAP_DELAY
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...
Definition: libavcodec/avcodec.h:770
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
Definition: avutil.h:144
static av_cold int libspeex_decode_init(AVCodecContext *avctx)
Definition: libspeexdec.c:39
Definition: libspeexdec.c:31
static av_cold int libspeex_decode_close(AVCodecContext *avctx)
Definition: libspeexdec.c:165
static int libspeex_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt)
Definition: libspeexdec.c:119
#define CODEC_CAP_SUBFRAMES
Codec can output multiple frames per AVPacket Normally demuxers return one frame at a time...
Definition: libavcodec/avcodec.h:791
static int decode(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: crystalhd.c:868
Definition at line 181 of file libspeexdec.c.
Generated on Fri Dec 20 2024 06:56:13 for FFmpeg by 1.8.11