Classes | Defines | Typedefs | Functions

codec.h File Reference

#include <ogg/ogg.h>
Include dependency graph for vorbis/codec.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  vorbis_info
struct  vorbis_dsp_state
struct  vorbis_block
struct  alloc_chain
struct  vorbis_comment

Defines

#define OV_FALSE   -1
#define OV_EOF   -2
#define OV_HOLE   -3
#define OV_EREAD   -128
#define OV_EFAULT   -129
#define OV_EIMPL   -130
#define OV_EINVAL   -131
#define OV_ENOTVORBIS   -132
#define OV_EBADHEADER   -133
#define OV_EVERSION   -134
#define OV_ENOTAUDIO   -135
#define OV_EBADPACKET   -136
#define OV_EBADLINK   -137
#define OV_ENOSEEK   -138

Typedefs

typedef struct vorbis_info vorbis_info
typedef struct vorbis_dsp_state vorbis_dsp_state
typedef struct vorbis_block vorbis_block
typedef struct vorbis_comment vorbis_comment

Functions

void vorbis_info_init (vorbis_info *vi)
void vorbis_info_clear (vorbis_info *vi)
int vorbis_info_blocksize (vorbis_info *vi, int zo)
void vorbis_comment_init (vorbis_comment *vc)
void vorbis_comment_add (vorbis_comment *vc, const char *comment)
void vorbis_comment_add_tag (vorbis_comment *vc, const char *tag, const char *contents)
char * vorbis_comment_query (vorbis_comment *vc, const char *tag, int count)
int vorbis_comment_query_count (vorbis_comment *vc, const char *tag)
void vorbis_comment_clear (vorbis_comment *vc)
int vorbis_block_init (vorbis_dsp_state *v, vorbis_block *vb)
int vorbis_block_clear (vorbis_block *vb)
void vorbis_dsp_clear (vorbis_dsp_state *v)
double vorbis_granule_time (vorbis_dsp_state *v, ogg_int64_t granulepos)
const char * vorbis_version_string (void)
int vorbis_analysis_init (vorbis_dsp_state *v, vorbis_info *vi)
int vorbis_commentheader_out (vorbis_comment *vc, ogg_packet *op)
int vorbis_analysis_headerout (vorbis_dsp_state *v, vorbis_comment *vc, ogg_packet *op, ogg_packet *op_comm, ogg_packet *op_code)
float ** vorbis_analysis_buffer (vorbis_dsp_state *v, int vals)
int vorbis_analysis_wrote (vorbis_dsp_state *v, int vals)
int vorbis_analysis_blockout (vorbis_dsp_state *v, vorbis_block *vb)
int vorbis_analysis (vorbis_block *vb, ogg_packet *op)
int vorbis_bitrate_addblock (vorbis_block *vb)
int vorbis_bitrate_flushpacket (vorbis_dsp_state *vd, ogg_packet *op)
int vorbis_synthesis_idheader (ogg_packet *op)
int vorbis_synthesis_headerin (vorbis_info *vi, vorbis_comment *vc, ogg_packet *op)
int vorbis_synthesis_init (vorbis_dsp_state *v, vorbis_info *vi)
int vorbis_synthesis_restart (vorbis_dsp_state *v)
int vorbis_synthesis (vorbis_block *vb, ogg_packet *op)
int vorbis_synthesis_trackonly (vorbis_block *vb, ogg_packet *op)
int vorbis_synthesis_blockin (vorbis_dsp_state *v, vorbis_block *vb)
int vorbis_synthesis_pcmout (vorbis_dsp_state *v, float ***pcm)
int vorbis_synthesis_lapout (vorbis_dsp_state *v, float ***pcm)
int vorbis_synthesis_read (vorbis_dsp_state *v, int samples)
long vorbis_packet_blocksize (vorbis_info *vi, ogg_packet *op)
int vorbis_synthesis_halfrate (vorbis_info *v, int flag)
int vorbis_synthesis_halfrate_p (vorbis_info *v)

Define Documentation

#define OV_EBADHEADER   -133
#define OV_EBADLINK   -137
#define OV_EBADPACKET   -136
#define OV_EFAULT   -129
#define OV_EIMPL   -130
#define OV_EINVAL   -131
#define OV_ENOSEEK   -138
#define OV_ENOTAUDIO   -135
#define OV_ENOTVORBIS   -132
#define OV_EOF   -2
#define OV_EREAD   -128
#define OV_EVERSION   -134
#define OV_FALSE   -1
#define OV_HOLE   -3

Typedef Documentation

typedef struct vorbis_block vorbis_block
typedef struct vorbis_info vorbis_info

Function Documentation

int vorbis_analysis ( vorbis_block vb,
ogg_packet op 
)
int vorbis_analysis_blockout ( vorbis_dsp_state v,
vorbis_block vb 
)
float** vorbis_analysis_buffer ( vorbis_dsp_state v,
int  vals 
)
int vorbis_analysis_headerout ( vorbis_dsp_state v,
vorbis_comment vc,
ogg_packet op,
ogg_packet op_comm,
ogg_packet op_code 
)
int vorbis_analysis_init ( vorbis_dsp_state v,
vorbis_info vi 
)
int vorbis_analysis_wrote ( vorbis_dsp_state v,
int  vals 
)
int vorbis_bitrate_addblock ( vorbis_block vb  ) 
int vorbis_bitrate_flushpacket ( vorbis_dsp_state vd,
ogg_packet op 
)
int vorbis_block_clear ( vorbis_block vb  ) 
int vorbis_block_init ( vorbis_dsp_state v,
vorbis_block vb 
)
void vorbis_comment_add ( vorbis_comment vc,
const char *  comment 
)
void vorbis_comment_add_tag ( vorbis_comment vc,
const char *  tag,
const char *  contents 
)
void vorbis_comment_clear ( vorbis_comment vc  ) 
void vorbis_comment_init ( vorbis_comment vc  ) 
char* vorbis_comment_query ( vorbis_comment vc,
const char *  tag,
int  count 
)
int vorbis_comment_query_count ( vorbis_comment vc,
const char *  tag 
)
int vorbis_commentheader_out ( vorbis_comment vc,
ogg_packet op 
)
void vorbis_dsp_clear ( vorbis_dsp_state v  ) 
double vorbis_granule_time ( vorbis_dsp_state v,
ogg_int64_t  granulepos 
)
int vorbis_info_blocksize ( vorbis_info vi,
int  zo 
)
void vorbis_info_clear ( vorbis_info vi  ) 
void vorbis_info_init ( vorbis_info vi  ) 
long vorbis_packet_blocksize ( vorbis_info vi,
ogg_packet op 
)
int vorbis_synthesis ( vorbis_block vb,
ogg_packet op 
)
int vorbis_synthesis_blockin ( vorbis_dsp_state v,
vorbis_block vb 
)
int vorbis_synthesis_halfrate ( vorbis_info v,
int  flag 
)
int vorbis_synthesis_halfrate_p ( vorbis_info v  ) 
int vorbis_synthesis_headerin ( vorbis_info vi,
vorbis_comment vc,
ogg_packet op 
)
int vorbis_synthesis_idheader ( ogg_packet op  ) 
int vorbis_synthesis_init ( vorbis_dsp_state v,
vorbis_info vi 
)
int vorbis_synthesis_lapout ( vorbis_dsp_state v,
float ***  pcm 
)
int vorbis_synthesis_pcmout ( vorbis_dsp_state v,
float ***  pcm 
)
int vorbis_synthesis_read ( vorbis_dsp_state v,
int  samples 
)
int vorbis_synthesis_restart ( vorbis_dsp_state v  ) 
int vorbis_synthesis_trackonly ( vorbis_block vb,
ogg_packet op 
)
const char* vorbis_version_string ( void   )