FFmpeg
Loading...
Searching...
No Matches
libvorbisdec.c File Reference
#include <string.h>
#include <vorbis/vorbisenc.h>
#include "avcodec.h"
#include "bytestream.h"
#include "codec_internal.h"
#include "decode.h"

Go to the source code of this file.

Data Structures

struct  OggVorbisDecContext
 

Functions

static int oggvorbis_decode_close (AVCodecContext *avccontext)
 
static av_cold int oggvorbis_decode_init (AVCodecContext *avccontext)
 
static int oggvorbis_decode_frame (AVCodecContext *avccontext, AVFrame *frame, int *got_frame_ptr, AVPacket *avpkt)
 

Variables

const FFCodec ff_libvorbis_decoder
 

Function Documentation

◆ oggvorbis_decode_close()

static av_cold int oggvorbis_decode_close ( AVCodecContext * avccontext)
static

Definition at line 187 of file libvorbisdec.c.

Referenced by oggvorbis_decode_init().

◆ oggvorbis_decode_init()

static av_cold int oggvorbis_decode_init ( AVCodecContext * avccontext)
static

Definition at line 39 of file libvorbisdec.c.

◆ oggvorbis_decode_frame()

static int oggvorbis_decode_frame ( AVCodecContext * avccontext,
AVFrame * frame,
int * got_frame_ptr,
AVPacket * avpkt )
static

Definition at line 142 of file libvorbisdec.c.

Variable Documentation

◆ ff_libvorbis_decoder

const FFCodec ff_libvorbis_decoder
Initial value:
= {
.p.name = "libvorbis",
CODEC_LONG_NAME("libvorbis"),
.p.type = AVMEDIA_TYPE_AUDIO,
.priv_data_size = sizeof(OggVorbisDecContext),
}
#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)
int(* init)(AVBSFContext *ctx)
Definition dts2pts.c:608
#define AV_CODEC_CAP_DELAY
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...
Definition codec.h:79
#define AV_CODEC_CAP_CHANNEL_CONF
Codec should fill in channel configuration and samplerate instead of container.
Definition codec.h:94
@ AV_CODEC_ID_VORBIS
Definition codec_id.h:458
@ AVMEDIA_TYPE_AUDIO
Definition avutil.h:201
static int oggvorbis_decode_frame(AVCodecContext *avccontext, AVFrame *frame, int *got_frame_ptr, AVPacket *avpkt)
static int oggvorbis_decode_close(AVCodecContext *avccontext)
static av_cold int oggvorbis_decode_init(AVCodecContext *avccontext)

Definition at line 200 of file libvorbisdec.c.