libvorbisdec.c File Reference
#include <vorbis/vorbisenc.h>
#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"
Include dependency graph for libvorbisdec.c:

Go to the source code of this file.

Data Structures

struct  OggVorbisDecContext
 

Typedefs

typedef struct OggVorbisDecContext OggVorbisDecContext
 

Functions

static int oggvorbis_decode_init (AVCodecContext *avccontext)
 
static int conv (int samples, float **pcm, char *buf, int channels)
 
static int oggvorbis_decode_frame (AVCodecContext *avccontext, void *data, int *got_frame_ptr, AVPacket *avpkt)
 
static int oggvorbis_decode_close (AVCodecContext *avccontext)
 

Variables

AVCodec ff_libvorbis_decoder
 

Typedef Documentation

Function Documentation

static int conv ( int  samples,
float **  pcm,
char *  buf,
int  channels 
)
inlinestatic
static int oggvorbis_decode_close ( AVCodecContext avccontext)
static

Definition at line 179 of file libvorbisdec.c.

static int oggvorbis_decode_frame ( AVCodecContext avccontext,
void data,
int *  got_frame_ptr,
AVPacket avpkt 
)
static

Definition at line 129 of file libvorbisdec.c.

static int oggvorbis_decode_init ( AVCodecContext avccontext)
static

Definition at line 35 of file libvorbisdec.c.

Variable Documentation

AVCodec ff_libvorbis_decoder
Initial value:
= {
.name = "libvorbis",
.priv_data_size = sizeof(OggVorbisDecContext),
.capabilities = CODEC_CAP_DELAY,
.long_name = NULL_IF_CONFIG_SMALL("libvorbis"),
}
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
struct OggVorbisDecContext OggVorbisDecContext
static int oggvorbis_decode_init(AVCodecContext *avccontext)
Definition: libvorbisdec.c:35
#define CODEC_CAP_DELAY
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int oggvorbis_decode_frame(AVCodecContext *avccontext, void *data, int *got_frame_ptr, AVPacket *avpkt)
Definition: libvorbisdec.c:129
static void close(AVCodecParserContext *s)
Definition: h264_parser.c:375
static int oggvorbis_decode_close(AVCodecContext *avccontext)
Definition: libvorbisdec.c:179
static int decode(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: crystalhd.c:868

Definition at line 189 of file libvorbisdec.c.