All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
block.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ogg/ogg.h>
#include "vorbis/codec.h"
#include "codec_internal.h"
#include "window.h"
#include "mdct.h"
#include "lpc.h"
#include "registry.h"
#include "misc.h"

Go to the source code of this file.


#define WORD_ALIGN   8


static void _preextrapolate_helper (vorbis_dsp_state *v)
static int _vds_shared_init (vorbis_dsp_state *v, vorbis_info *vi, int encp)
void_vorbis_block_alloc (vorbis_block *vb, long bytes)
void _vorbis_block_ripcord (vorbis_block *vb)
static int ilog2 (unsigned int v)
int vorbis_analysis_blockout (vorbis_dsp_state *v, vorbis_block *vb)
float ** vorbis_analysis_buffer (vorbis_dsp_state *v, int vals)
int vorbis_analysis_init (vorbis_dsp_state *v, vorbis_info *vi)
int vorbis_analysis_wrote (vorbis_dsp_state *v, int vals)
int vorbis_block_clear (vorbis_block *vb)
int vorbis_block_init (vorbis_dsp_state *v, vorbis_block *vb)
void vorbis_dsp_clear (vorbis_dsp_state *v)
int vorbis_synthesis_blockin (vorbis_dsp_state *v, vorbis_block *vb)
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 n)
int vorbis_synthesis_restart (vorbis_dsp_state *v)
float * vorbis_window (vorbis_dsp_state *v, int W)

Macro Definition Documentation

#define WORD_ALIGN   8

Definition at line 85 of file block.c.

Referenced by _vorbis_block_alloc().

Function Documentation

static int ilog2 ( unsigned int  v)

Definition at line 34 of file block.c.

References ret.

Referenced by _vds_shared_init().

int vorbis_synthesis_init ( vorbis_dsp_state v,
vorbis_info vi 

Definition at line 708 of file block.c.

References _vds_shared_init(), vorbis_dsp_clear(), and vorbis_synthesis_restart().

Referenced by _make_decode_ready().

int vorbis_synthesis_read ( vorbis_dsp_state v,
int  n