Vorbis encoding support via libvorbisenc.
More...
#include <vorbis/vorbisenc.h>
#include "libavutil/fifo.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "audio_frame_queue.h"
#include "bytestream.h"
#include "internal.h"
#include "vorbis.h"
#include "vorbis_parser.h"
#include <assert.h>
Go to the source code of this file.
Vorbis encoding 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 vorbis_error_to_averror |
( |
int |
ov_err | ) |
|
|
static |
static int xiph_len |
( |
int |
l | ) |
|
|
static |
Initial value:= {
.name = "libvorbis",
.priv_class = &class,
}
static const AVCodecDefault defaults[]
static int oggvorbis_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
struct OggVorbisContext OggVorbisContext
static int init(AVCodecParserContext *s)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static void close(AVCodecParserContext *s)
AVSampleFormat
Audio Sample Formats.
static av_cold int oggvorbis_encode_close(AVCodecContext *avctx)
static av_cold int oggvorbis_encode_init(AVCodecContext *avctx)
Definition at line 349 of file libvorbis.c.
Initial value:= {
}
#define AV_OPT_FLAG_AUDIO_PARAM
#define AV_OPT_FLAG_ENCODING_PARAM
Definition at line 65 of file libvorbis.c.