#include <vorbis/vorbisenc.h>
#include "libavutil/avassert.h"
#include "libavutil/fifo.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "audio_frame_queue.h"
#include "internal.h"
#include "vorbis.h"
#include "vorbis_parser.h"
Go to the source code of this file.
#define LIBVORBIS_FRAME_SIZE 64 |
#define BUFFER_SIZE (1024 * 64) |
static int vorbis_error_to_averror |
( |
int |
ov_err | ) |
|
|
static |
static int xiph_len |
( |
int |
l | ) |
|
|
static |
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 56 of file libvorbisenc.c.
Initial value:= {
.class_name = "libvorbis",
}
#define LIBAVUTIL_VERSION_INT
static const AVOption options[]
Definition at line 66 of file libvorbisenc.c.
Initial value:= {
.name = "libvorbis",
}
static av_cold int libvorbis_encode_close(AVCodecContext *avctx)
static av_cold int init(AVCodecContext *avctx)
#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 const AVCodecDefault defaults[]
static av_cold int libvorbis_encode_init(AVCodecContext *avctx)
static const AVClass vorbis_class
#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)
#define AV_CODEC_CAP_SMALL_LAST_FRAME
Codec can be fed a final frame with a smaller size.
AVSampleFormat
Audio sample formats.
static enum AVSampleFormat sample_fmts[]
Definition at line 366 of file libvorbisenc.c.