All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
libvorbisdec.c File Reference
#include <vorbis/vorbisenc.h>
#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  OggVorbisDecContext


static int oggvorbis_decode_close (AVCodecContext *avccontext)
static int oggvorbis_decode_init (AVCodecContext *avccontext)
static int conv (int samples, float **pcm, char *buf, int channels)
static int oggvorbis_decode_frame (AVCodecContext *avccontext, void *data, int *got_frame_ptr, AVPacket *avpkt)


AVCodec ff_libvorbis_decoder

Function Documentation

static int oggvorbis_decode_close ( AVCodecContext avccontext)

Definition at line 188 of file libvorbisdec.c.

Referenced by oggvorbis_decode_init().

static int oggvorbis_decode_init ( AVCodecContext avccontext)

Definition at line 37 of file libvorbisdec.c.

static int conv ( int  samples,
float **  pcm,
char *  buf,
int  channels 
static int oggvorbis_decode_frame ( AVCodecContext avccontext,
void data,
int got_frame_ptr,
AVPacket avpkt 

Definition at line 138 of file libvorbisdec.c.

Variable Documentation

AVCodec ff_libvorbis_decoder
Initial value:
= {
.name = "libvorbis",
.long_name = NULL_IF_CONFIG_SMALL("libvorbis"),
.priv_data_size = sizeof(OggVorbisDecContext),
.capabilities = AV_CODEC_CAP_DELAY,
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
static void decode(AVCodecContext *dec_ctx, AVPacket *pkt, AVFrame *frame, FILE *outfile)
Definition: decode_audio.c:42
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...
Definition: avcodec.h:993
static int oggvorbis_decode_init(AVCodecContext *avccontext)
Definition: libvorbisdec.c:37
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static int oggvorbis_decode_frame(AVCodecContext *avccontext, void *data, int *got_frame_ptr, AVPacket *avpkt)
Definition: libvorbisdec.c:138
static int oggvorbis_decode_close(AVCodecContext *avccontext)
Definition: libvorbisdec.c:188

Definition at line 200 of file libvorbisdec.c.