doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions
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.

Macros

#define WORD_ALIGN   8
 

Functions

int vorbis_block_init (vorbis_dsp_state *v, vorbis_block *vb)
 
void_vorbis_block_alloc (vorbis_block *vb, long bytes)
 
void _vorbis_block_ripcord (vorbis_block *vb)
 
int vorbis_block_clear (vorbis_block *vb)
 
int vorbis_analysis_init (vorbis_dsp_state *v, vorbis_info *vi)
 
void vorbis_dsp_clear (vorbis_dsp_state *v)
 
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_synthesis_restart (vorbis_dsp_state *v)
 
int vorbis_synthesis_init (vorbis_dsp_state *v, vorbis_info *vi)
 
int vorbis_synthesis_blockin (vorbis_dsp_state *v, vorbis_block *vb)
 
int vorbis_synthesis_pcmout (vorbis_dsp_state *v, float ***pcm)
 
int vorbis_synthesis_read (vorbis_dsp_state *v, int n)
 
int vorbis_synthesis_lapout (vorbis_dsp_state *v, float ***pcm)
 
floatvorbis_window (vorbis_dsp_state *v, int W)
 

Macro Definition Documentation

#define WORD_ALIGN   8

Definition at line 85 of file block.c.

Function Documentation

void* _vorbis_block_alloc ( vorbis_block vb,
long  bytes 
)

Definition at line 103 of file block.c.

void _vorbis_block_ripcord ( vorbis_block vb)

Definition at line 127 of file block.c.

int vorbis_analysis_blockout ( vorbis_dsp_state v,
vorbis_block vb 
)

Definition at line 479 of file block.c.

float** vorbis_analysis_buffer ( vorbis_dsp_state v,
int  vals 
)

Definition at line 355 of file block.c.

int vorbis_analysis_init ( vorbis_dsp_state v,
vorbis_info vi 
)

Definition at line 269 of file block.c.

int vorbis_analysis_wrote ( vorbis_dsp_state v,
int  vals 
)

Definition at line 415 of file block.c.

int vorbis_block_clear ( vorbis_block vb)

Definition at line 149 of file block.c.

int vorbis_block_init ( vorbis_dsp_state v,
vorbis_block vb 
)

Definition at line 88 of file block.c.

void vorbis_dsp_clear ( vorbis_dsp_state v)

Definition at line 285 of file block.c.

int vorbis_synthesis_blockin ( vorbis_dsp_state v,
vorbis_block vb 
)

Definition at line 674 of file block.c.

int vorbis_synthesis_init ( vorbis_dsp_state v,
vorbis_info vi 
)

Definition at line 663 of file block.c.

int vorbis_synthesis_lapout ( vorbis_dsp_state v,
float ***  pcm 
)

Definition at line 887 of file block.c.

int vorbis_synthesis_pcmout ( vorbis_dsp_state v,
float ***  pcm 
)

Definition at line 861 of file block.c.

int vorbis_synthesis_read ( vorbis_dsp_state v,
int  n 
)

Definition at line 876 of file block.c.

int vorbis_synthesis_restart ( vorbis_dsp_state v)

Definition at line 640 of file block.c.

float* vorbis_window ( vorbis_dsp_state v,
int  W 
)

Definition at line 962 of file block.c.