libavcodec/libvorbisdec.c File Reference

#include <vorbis/vorbisenc.h>
#include "avcodec.h"
#include "bytestream.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 conv ( int  samples,
float **  pcm,
char *  buf,
int  channels 
) [inline, static]

static int oggvorbis_decode_close ( AVCodecContext avccontext  )  [static]

Definition at line 180 of file libvorbisdec.c.

static int oggvorbis_decode_frame ( AVCodecContext avccontext,
void *  data,
int got_frame_ptr,
AVPacket avpkt 
) [static]

Definition at line 128 of file libvorbisdec.c.

static int oggvorbis_decode_init ( AVCodecContext avccontext  )  [static]

Definition at line 35 of file libvorbisdec.c.


Variable Documentation

Initial value:

 {
    .name           = "libvorbis",
    .type           = AVMEDIA_TYPE_AUDIO,
    .id             = AV_CODEC_ID_VORBIS,
    .priv_data_size = sizeof(OggVorbisDecContext),
    .init           = oggvorbis_decode_init,
    .decode         = oggvorbis_decode_frame,
    .close          = oggvorbis_decode_close,
    .capabilities   = CODEC_CAP_DELAY,
    .long_name      = NULL_IF_CONFIG_SMALL("libvorbis"),
}

Definition at line 190 of file libvorbisdec.c.


Generated on Fri Oct 26 02:50:06 2012 for FFmpeg by  doxygen 1.5.8