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.
◆ LIBVORBIS_FRAME_SIZE
#define LIBVORBIS_FRAME_SIZE 64 |
◆ BUFFER_SIZE
#define BUFFER_SIZE (1024 * 64) |
◆ vorbis_error_to_averror()
static int vorbis_error_to_averror |
( |
int |
ov_err | ) |
|
|
static |
◆ libvorbis_setup()
◆ xiph_len()
static int xiph_len |
( |
int |
l | ) |
|
|
static |
◆ libvorbis_encode_close()
◆ libvorbis_encode_init()
◆ libvorbis_encode_frame()
◆ options
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 65 of file libvorbis.c.
◆ defaults
◆ libvorbis
◆ av_default_item_name
◆ @46
◆ ff_libvorbis_encoder
Initial value:= {
.name = "libvorbis",
.priv_class = &class,
}
static const AVCodecDefault defaults[]
#define AV_CODEC_CAP_DELAY
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...
static av_cold int libvorbis_encode_close(AVCodecContext *avctx)
static av_cold int libvorbis_encode_init(AVCodecContext *avctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int libvorbis_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
AVSampleFormat
Audio Sample Formats.
static av_cold int init(AVCodecParserContext *s)
static enum AVSampleFormat sample_fmts[]
Definition at line 340 of file libvorbis.c.