#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 "codec_internal.h"
#include "decode.h"
#include "internal.h"
#include "mathops.h"
#include "libopus.h"
#include "vorbis_data.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",
}
const char * av_default_item_name(void *ptr)
Return the context name.
#define LIBAVUTIL_VERSION_INT
static const AVOption libopusdec_options[]
Definition at line 226 of file libopusdec.c.
◆ ff_libopus_decoder
Initial value:= {
.p.name = "libopus",
.p.wrapper_name = "libopus",
}
#define FF_CODEC_CAP_NOT_INIT_THREADSAFE
The codec is not known to be init-threadsafe (i.e.
#define FF_CODEC_DECODE_CB(func)
#define CODEC_LONG_NAME(str)
#define FF_CODEC_CAP_INIT_CLEANUP
The codec allows calling the close function for deallocation even if the init function returned a fai...
#define CODEC_SAMPLEFMTS(...)
int(* init)(AVBSFContext *ctx)
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
#define AV_CODEC_CAP_CHANNEL_CONF
Codec should fill in channel configuration and samplerate instead of container.
@ AV_SAMPLE_FMT_S16
signed 16 bits
static av_cold int libopus_decode_init(AVCodecContext *avc)
static const AVClass libopusdec_class
static int libopus_decode(AVCodecContext *avc, AVFrame *frame, int *got_frame_ptr, AVPacket *pkt)
static av_cold int libopus_decode_close(AVCodecContext *avc)
static void libopus_flush(AVCodecContext *avc)
Definition at line 234 of file libopusdec.c.