/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * * by the Xiph.Org Foundation http://www.xiph.org/ * * * ******************************************************************** function: function call to do simple data cascading last mod: $Id: cascade.c 16037 2009-05-26 21:10:58Z xiphmont $ ********************************************************************/ /* this one outputs residue to stdout. */ #include #include #include #include "bookutil.h" /* set up metrics */ float count=0.f; void process_preprocess(codebook **bs,char *basename){ } void process_postprocess(codebook **b,char *basename){ fprintf(stderr,"Done. \n"); } float process_one(codebook *b,float *a,int dim,int step,int addmul, float base){ int j; if(b->c->q_sequencep){ float temp; for(j=0;jdim; if(inter){ for(i=0;i.vqh [ +|* ]... \n" " datafile.vqd [datafile.vqd]...\n\n" " data can be taken on stdin. residual error data sent to\n" " stdout.\n\n"); }