libavcodec/libvorbis.c File Reference

Ogg Vorbis codec support via libvorbisenc. More...

#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 av_cold int oggvorbis_init_encoder (vorbis_info *vi, AVCodecContext *avccontext)
static av_cold int oggvorbis_encode_init (AVCodecContext *avccontext)
static int oggvorbis_encode_frame (AVCodecContext *avccontext, unsigned char *packets, int buf_size, void *data)
static av_cold int oggvorbis_encode_close (AVCodecContext *avccontext)

Variables

AVCodec libvorbis_encoder


Detailed Description

Ogg Vorbis codec support via libvorbisenc.

Author:
Mark Hills <mark@pogo.org.uk>

Definition in file libvorbis.c.


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 av_cold int oggvorbis_encode_close ( AVCodecContext avccontext  )  [static]

Definition at line 201 of file libvorbis.c.

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

Definition at line 135 of file libvorbis.c.

static av_cold int oggvorbis_encode_init ( AVCodecContext avccontext  )  [static]

Definition at line 85 of file libvorbis.c.

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

Definition at line 53 of file libvorbis.c.

Referenced by oggvorbis_encode_init().


Variable Documentation

Initial value:

Definition at line 218 of file libvorbis.c.


Generated on Fri Oct 26 02:36:52 2012 for FFmpeg by  doxygen 1.5.8