#include <opus.h>
#include <opus_multistream.h>
#include "libavutil/internal.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/ffmath.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "internal.h"
#include "vorbis.h"
#include "mathops.h"
#include "libopus.h"
Go to the source code of this file.
◆ OPUS_HEAD_SIZE
#define OPUS_HEAD_SIZE 19 |
◆ MAX_FRAME_SIZE
#define MAX_FRAME_SIZE (960 * 6) |
◆ OFFSET
◆ FLAGS
◆ libopus_decode_init()
◆ libopus_decode_close()
◆ libopus_decode()
◆ libopus_flush()
◆ libopusdec_options
◆ libopusdec_class
Initial value:= {
.class_name = "libopusdec",
}
#define LIBAVUTIL_VERSION_INT
const char * av_default_item_name(void *ptr)
Return the context name.
static const AVOption libopusdec_options[]
Definition at line 239 of file libopusdec.c.
◆ ff_libopus_decoder
Initial value:= {
.name = "libopus",
.wrapper_name = "libopus",
}
#define FF_CODEC_CAP_INIT_CLEANUP
The codec allows calling the close function for deallocation even if the init function returned a fai...
static int libopus_decode(AVCodecContext *avc, void *data, int *got_frame_ptr, AVPacket *pkt)
static av_cold int init(AVCodecContext *avctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static av_cold int libopus_decode_init(AVCodecContext *avc)
AVSampleFormat
Audio sample formats.
static void libopus_flush(AVCodecContext *avc)
static const AVClass libopusdec_class
static av_cold int libopus_decode_close(AVCodecContext *avc)
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition at line 247 of file libopusdec.c.