1 /********************************************************************
3 * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. *
4 * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
5 * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. *
6 * PLEASE READ THESE TERMS DISTRIBUTING. *
8 * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-2000 *
9 * by Monty <monty@xiph.org> and The XIPHOPHORUS Company *
10 * http://www.xiph.org/ *
12 ********************************************************************
14 function: residue backend 0 implementation
15 last mod: $Id: res0.c,v 1.3 2000/01/28 14:31:28 xiphmont Exp $
17 ********************************************************************/
21 #include "vorbis/codec.h"
25 /* unfinished as of 20000118 */
27 void free_info(vorbis_info_residue *i){
29 memset(i,0,sizeof(vorbis_info_residue0));
34 void free_look(vorbis_look_residue *i){
38 void pack(vorbis_info_residue *vr,oggpack_buffer *opb){
41 /* vorbis_info is for range checking */
42 vorbis_info_residue *unpack(vorbis_info *vi,oggpack_buffer *opb){
45 vorbis_look_residue *look (vorbis_info *vi,vorbis_info_mode *vm,
46 vorbis_info_residue *vr){
49 int forward(vorbis_block *vb,vorbis_look_residue *l,double **in,int **aux,int ch){
51 int inverse(vorbis_block *vb,vorbis_look_residue *l,double **in,int ch){
54 vorbis_func_residue residue0_exportbundle={