Ogg Vorbis codec support via libvorbisenc.
More...
#include <vorbis/vorbisenc.h>
#include "libavutil/opt.h"
#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"
#include "vorbis.h"
#include "libavutil/mathematics.h"
#include <assert.h>
Go to the source code of this file.
Ogg Vorbis codec support via libvorbisenc.
- Author
- Mark Hills mark@.nosp@m.pogo.nosp@m..org..nosp@m.uk
Definition in file libvorbis.c.
#define BUFFER_SIZE (1024 * 64) |
#define OGGVORBIS_FRAME_SIZE 64 |
static int oggvorbis_encode_frame |
( |
AVCodecContext * |
avccontext, |
|
|
unsigned char * |
packets, |
|
|
int |
buf_size, |
|
|
void * |
data |
|
) |
| |
|
static |
static int xiph_len |
( |
int |
l | ) |
|
|
static |
Initial value:= {
.name = "libvorbis",
.priv_class = &class,
}
static const AVCodecDefault defaults[]
struct OggVorbisContext OggVorbisContext
static int oggvorbis_encode_frame(AVCodecContext *avccontext, unsigned char *packets, int buf_size, void *data)
static int init(AVCodecParserContext *s)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static av_cold int oggvorbis_encode_close(AVCodecContext *avccontext)
static void close(AVCodecParserContext *s)
static av_cold int oggvorbis_encode_init(AVCodecContext *avccontext)
AVSampleFormat
all in native-endian format
#define CODEC_CAP_DELAY
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...
Definition at line 267 of file libvorbis.c.
Initial value:= {
}
#define AV_OPT_FLAG_AUDIO_PARAM
#define AV_OPT_FLAG_ENCODING_PARAM
a generic parameter which can be set by the user for muxing or encoding
Definition at line 59 of file libvorbis.c.