libavcodec/libvorbis.c File Reference

#include <vorbis/vorbisenc.h>
#include "avcodec.h"
#include "bytestream.h"
#include <assert.h>

Go to the source code of this file.

Data Structures

struct  OggVorbisContext

Defines

#define OGGVORBIS_FRAME_SIZE   64
#define BUFFER_SIZE   (1024*64)

Functions

static int oggvorbis_init_encoder (vorbis_info *vi, AVCodecContext *avccontext)
static int oggvorbis_encode_init (AVCodecContext *avccontext)
static int oggvorbis_encode_frame (AVCodecContext *avccontext, unsigned char *packets, int buf_size, void *data)
static int oggvorbis_encode_close (AVCodecContext *avccontext)

Variables

AVCodec libvorbis_encoder


Define Documentation

#define BUFFER_SIZE   (1024*64)

Definition at line 37 of file libvorbis.c.

#define OGGVORBIS_FRAME_SIZE   64

Definition at line 35 of file libvorbis.c.

Referenced by oggvorbis_encode_frame(), and oggvorbis_encode_init().


Function Documentation

static int oggvorbis_encode_close ( AVCodecContext avccontext  )  [static]

Definition at line 194 of file libvorbis.c.

static int oggvorbis_encode_frame ( AVCodecContext avccontext,
unsigned char *  packets,
int  buf_size,
void *  data 
) [static]

Definition at line 134 of file libvorbis.c.

static int oggvorbis_encode_init ( AVCodecContext avccontext  )  [static]

Definition at line 84 of file libvorbis.c.

static int oggvorbis_init_encoder ( vorbis_info *  vi,
AVCodecContext avccontext 
) [static]

Definition at line 52 of file libvorbis.c.

Referenced by oggvorbis_encode_init().


Variable Documentation

Initial value:

Definition at line 211 of file libvorbis.c.


Generated on Fri Apr 23 15:11:59 2010 for ffmpeg by  doxygen 1.5.6