| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 #elif USE(WEBAUDIO_FFMPEG) | 49 #elif USE(WEBAUDIO_FFMPEG) |
| 50 struct RDFTContext; | 50 struct RDFTContext; |
| 51 #endif | 51 #endif |
| 52 | 52 |
| 53 #endif // !USE_ACCELERATE_FFT | 53 #endif // !USE_ACCELERATE_FFT |
| 54 | 54 |
| 55 #if USE(WEBAUDIO_IPP) | 55 #if USE(WEBAUDIO_IPP) |
| 56 #include <ipps.h> | 56 #include <ipps.h> |
| 57 #endif // USE(WEBAUDIO_IPP) | 57 #endif // USE(WEBAUDIO_IPP) |
| 58 | 58 |
| 59 #include <wtf/Forward.h> | 59 #include "wtf/Forward.h" |
| 60 #include <wtf/PassOwnPtr.h> | 60 #include "wtf/PassOwnPtr.h" |
| 61 #include <wtf/Threading.h> | 61 #include "wtf/Threading.h" |
| 62 | 62 |
| 63 namespace WebCore { | 63 namespace WebCore { |
| 64 | 64 |
| 65 // Defines the interface for an "FFT frame", an object which is able to perform
a forward | 65 // Defines the interface for an "FFT frame", an object which is able to perform
a forward |
| 66 // and reverse FFT, internally storing the resultant frequency-domain data. | 66 // and reverse FFT, internally storing the resultant frequency-domain data. |
| 67 | 67 |
| 68 class FFTFrame { | 68 class FFTFrame { |
| 69 public: | 69 public: |
| 70 // The constructors, destructor, and methods up to the CROSS-PLATFORM sectio
n have platform-dependent implementations. | 70 // The constructors, destructor, and methods up to the CROSS-PLATFORM sectio
n have platform-dependent implementations. |
| 71 | 71 |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 AudioFloatArray m_realData; | 151 AudioFloatArray m_realData; |
| 152 AudioFloatArray m_imagData; | 152 AudioFloatArray m_imagData; |
| 153 #endif | 153 #endif |
| 154 | 154 |
| 155 #endif // !USE_ACCELERATE_FFT | 155 #endif // !USE_ACCELERATE_FFT |
| 156 }; | 156 }; |
| 157 | 157 |
| 158 } // namespace WebCore | 158 } // namespace WebCore |
| 159 | 159 |
| 160 #endif // FFTFrame_h | 160 #endif // FFTFrame_h |
| OLD | NEW |