diff options
Diffstat (limited to 'apps/codecs/libcook/cook.h')
-rw-r--r-- | apps/codecs/libcook/cook.h | 17 |
1 files changed, 0 insertions, 17 deletions
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 @@ | |||
25 | #include <stdint.h> | 25 | #include <stdint.h> |
26 | #include "libavutil/lfg.h" | 26 | #include "libavutil/lfg.h" |
27 | #include "bitstream.h" | 27 | #include "bitstream.h" |
28 | #include "dsputil.h" | ||
29 | #include "bytestream.h" | 28 | #include "bytestream.h" |
30 | #include "rm2wav.h" | 29 | #include "rm2wav.h" |
31 | #include "cookdata_fixpoint.h" | 30 | #include "cookdata_fixpoint.h" |
@@ -44,20 +43,9 @@ typedef struct cook { | |||
44 | int* subband_coef_index, int* subband_coef_sign, | 43 | int* subband_coef_index, int* subband_coef_sign, |
45 | REAL_T* mlt_p); | 44 | REAL_T* mlt_p); |
46 | 45 | ||
47 | void (* decouple) (struct cook *q, | ||
48 | int subband, | ||
49 | REAL_T f1, REAL_T f2, | ||
50 | REAL_T *decode_buffer, | ||
51 | REAL_T *mlt_buffer1, REAL_T *mlt_buffer2); | ||
52 | |||
53 | void (* imlt_window) (struct cook *q, float *buffer1, | ||
54 | cook_gains *gains_ptr, float *previous_buffer); | ||
55 | |||
56 | void (* interpolate) (struct cook *q, REAL_T* buffer, | 46 | void (* interpolate) (struct cook *q, REAL_T* buffer, |
57 | int gain_index, int gain_index_next); | 47 | int gain_index, int gain_index_next); |
58 | 48 | ||
59 | void (* saturate_output) (struct cook *q, int chan, int16_t *out); | ||
60 | |||
61 | GetBitContext gb; | 49 | GetBitContext gb; |
62 | int frame_number; | 50 | int frame_number; |
63 | int block_align; | 51 | int block_align; |
@@ -79,9 +67,6 @@ typedef struct cook { | |||
79 | int cookversion; | 67 | int cookversion; |
80 | /* states */ | 68 | /* states */ |
81 | AVLFG random_state; | 69 | AVLFG random_state; |
82 | /* transform data */ | ||
83 | MDCTContext mdct_ctx; | ||
84 | float* mlt_window; | ||
85 | 70 | ||
86 | /* gain buffers */ | 71 | /* gain buffers */ |
87 | cook_gains gains1; | 72 | cook_gains gains1; |
@@ -110,8 +95,6 @@ typedef struct cook { | |||
110 | REAL_T decode_buffer_1[1024]; | 95 | REAL_T decode_buffer_1[1024]; |
111 | REAL_T decode_buffer_2[1024]; | 96 | REAL_T decode_buffer_2[1024]; |
112 | REAL_T decode_buffer_0[1060]; /* static allocation for joint decode */ | 97 | REAL_T decode_buffer_0[1060]; /* static allocation for joint decode */ |
113 | |||
114 | const float *cplscales[5]; | ||
115 | } COOKContext; | 98 | } COOKContext; |
116 | 99 | ||
117 | av_cold int cook_decode_init(RMContext *rmctx, COOKContext *q); | 100 | av_cold int cook_decode_init(RMContext *rmctx, COOKContext *q); |