#include <opus.h>
#include <opus_multistream.h>
#include "libavutil/avassert.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "internal.h"
#include "vorbis.h"
#include "mathops.h"
#include "libopus.h"
Go to the source code of this file.
#define OPUS_HEAD_SIZE 19 |
#define MAX_FRAME_SIZE (960 * 6) |
Initial value:= {
.name = "libopus",
}
static int libopus_decode(AVCodecContext *avc, void *data, int *got_frame_ptr, AVPacket *pkt)
static av_cold int init(AVCodecContext *avctx)
#define CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
#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 av_cold int libopus_decode_close(AVCodecContext *avc)
Definition at line 184 of file libopusdec.c.