Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1288)

Unified Diff: celt/kiss_fft.h

Issue 882843002: Update to opus-HEAD-66611f1. (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/opus.git@master
Patch Set: Add the contents of Makefile.mips back. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « celt/float_cast.h ('k') | celt/kiss_fft.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: celt/kiss_fft.h
diff --git a/celt/kiss_fft.h b/celt/kiss_fft.h
index 66332e3bb95b36a6659c5a8afe5c6ca99d39c406..390b54d948d0c7db9ececd79f3fcd6d890570456 100644
--- a/celt/kiss_fft.h
+++ b/celt/kiss_fft.h
@@ -79,8 +79,9 @@ typedef struct {
typedef struct kiss_fft_state{
int nfft;
-#ifndef FIXED_POINT
- kiss_fft_scalar scale;
+ opus_val16 scale;
+#ifdef FIXED_POINT
+ int scale_shift;
#endif
int shift;
opus_int16 factors[2*MAXFACTORS];
@@ -130,6 +131,9 @@ kiss_fft_state *opus_fft_alloc(int nfft,void * mem,size_t * lenmem);
void opus_fft(const kiss_fft_state *cfg,const kiss_fft_cpx *fin,kiss_fft_cpx *fout);
void opus_ifft(const kiss_fft_state *cfg,const kiss_fft_cpx *fin,kiss_fft_cpx *fout);
+void opus_fft_impl(const kiss_fft_state *st,kiss_fft_cpx *fout);
+void opus_ifft_impl(const kiss_fft_state *st,kiss_fft_cpx *fout);
+
void opus_fft_free(const kiss_fft_state *cfg);
#ifdef __cplusplus
« no previous file with comments | « celt/float_cast.h ('k') | celt/kiss_fft.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698