# HG changeset patch # User mhoffman # Date 1184670372 0 # Node ID 7e4703e16bbdfdff7151818647f696e91a1210e5 # Parent 4cd6e59c64eb8f10273d6a255147172d82601790 fixpoint: renaming all lowlevel arithmetic routines to xxx_float diff -r 4cd6e59c64eb -r 7e4703e16bbd cook.c --- a/cook.c Tue Jul 17 07:12:40 2007 +0000 +++ b/cook.c Tue Jul 17 11:06:12 2007 +0000 @@ -538,7 +538,7 @@ * @param mlt_p pointer into the mlt buffer */ -static void scalar_dequant(COOKContext *q, int index, int quant_index, +static void scalar_dequant_float(COOKContext *q, int index, int quant_index, int* subband_coef_index, int* subband_coef_sign, float* mlt_p){ int i; @@ -677,7 +677,7 @@ * @param gain_index_next index for the next block multiplier */ -static void interpolate(COOKContext *q, float* buffer, +static void interpolate_float(COOKContext *q, float* buffer, int gain_index, int gain_index_next){ int i; float fc1, fc2; @@ -1164,10 +1164,10 @@ /* Initialize COOK signal arithmetic handling */ if (1) { - q->scalar_dequant = scalar_dequant; + q->scalar_dequant = scalar_dequant_float; q->decouple = decouple_float; q->imlt_window = imlt_window_float; - q->interpolate = interpolate; + q->interpolate = interpolate_float; q->saturate_output = saturate_output_float; }