From 65649de515257493dd1b8db599201097208677bb Mon Sep 17 00:00:00 2001 From: Michael Giacomelli Date: Sun, 10 May 2009 23:18:04 +0000 Subject: Patch by Mohamed Tarek from FS #10182. Remove floating point code (FFT, MDCT, etc) from libcook. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20902 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libcook/cook.h | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'apps/codecs/libcook/cook.h') diff --git a/apps/codecs/libcook/cook.h b/apps/codecs/libcook/cook.h index c4c06cd4f1..e34883255b 100644 --- a/apps/codecs/libcook/cook.h +++ b/apps/codecs/libcook/cook.h @@ -25,7 +25,6 @@ #include #include "libavutil/lfg.h" #include "bitstream.h" -#include "dsputil.h" #include "bytestream.h" #include "rm2wav.h" #include "cookdata_fixpoint.h" @@ -44,20 +43,9 @@ typedef struct cook { int* subband_coef_index, int* subband_coef_sign, REAL_T* mlt_p); - void (* decouple) (struct cook *q, - int subband, - REAL_T f1, REAL_T f2, - REAL_T *decode_buffer, - REAL_T *mlt_buffer1, REAL_T *mlt_buffer2); - - void (* imlt_window) (struct cook *q, float *buffer1, - cook_gains *gains_ptr, float *previous_buffer); - void (* interpolate) (struct cook *q, REAL_T* buffer, int gain_index, int gain_index_next); - void (* saturate_output) (struct cook *q, int chan, int16_t *out); - GetBitContext gb; int frame_number; int block_align; @@ -79,9 +67,6 @@ typedef struct cook { int cookversion; /* states */ AVLFG random_state; - /* transform data */ - MDCTContext mdct_ctx; - float* mlt_window; /* gain buffers */ cook_gains gains1; @@ -110,8 +95,6 @@ typedef struct cook { REAL_T decode_buffer_1[1024]; REAL_T decode_buffer_2[1024]; REAL_T decode_buffer_0[1060]; /* static allocation for joint decode */ - - const float *cplscales[5]; } COOKContext; av_cold int cook_decode_init(RMContext *rmctx, COOKContext *q); -- cgit v1.2.3