FFmpeg
 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
 

Functions

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)
 
static int oggvorbis_decode_close (AVCodecContext *avccontext)
 

Variables

AVCodec ff_libvorbis_decoder
 

Function Documentation

static int oggvorbis_decode_init ( AVCodecContext avccontext)
static

Definition at line 35 of file libvorbisdec.c.

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

Definition at line 129 of file libvorbisdec.c.

static int oggvorbis_decode_close ( AVCodecContext avccontext)
static

Definition at line 179 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 = CODEC_CAP_DELAY,
}

Definition at line 189 of file libvorbisdec.c.