Logo Search packages:      
Sourcecode: blender version File versions

oggvorbis.c File Reference


Detailed Description

Ogg Vorbis codec support via libvorbisenc.
Author:
Mark Hills <mark@pogo.org.uk>

Definition in file oggvorbis.c.

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

Go to the source code of this file.

Classes

struct  OggVorbisContext

Defines

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

Functions

static int conv (int samples, float **pcm, char *buf, int channels)
static int oggvorbis_decode_close (AVCodecContext *avccontext)
static int oggvorbis_decode_frame (AVCodecContext *avccontext, void *data, int *data_size, uint8_t *buf, int buf_size)
static int oggvorbis_decode_init (AVCodecContext *avccontext)
static int oggvorbis_encode_close (AVCodecContext *avccontext)
static int oggvorbis_encode_frame (AVCodecContext *avccontext, unsigned char *packets, int buf_size, void *data)
static int oggvorbis_encode_init (AVCodecContext *avccontext)
static int oggvorbis_init_encoder (vorbis_info *vi, AVCodecContext *avccontext)

Variables

AVCodec oggvorbis_decoder
AVCodec oggvorbis_encoder


Generated by  Doxygen 1.6.0   Back to index