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

Side by Side Diff: Source/core/platform/audio/chromium/FFTFrameOpenMAXDLAndroid.cpp

Issue 19762007: core/platform: Include wtf files using "wtf/foo.h" form. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* Copyright (C) 2013 Google Inc. All rights reserved. 1 /* Copyright (C) 2013 Google Inc. All rights reserved.
2 * 2 *
3 * Redistribution and use in source and binary forms, with or without 3 * Redistribution and use in source and binary forms, with or without
4 * modification, are permitted provided that the following conditions 4 * modification, are permitted provided that the following conditions
5 * are met: 5 * are met:
6 * 6 *
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 17 matching lines...) Expand all
28 28
29 #if OS(ANDROID) && USE(WEBAUDIO_OPENMAX_DL_FFT) 29 #if OS(ANDROID) && USE(WEBAUDIO_OPENMAX_DL_FFT)
30 30
31 #include "core/platform/audio/FFTFrame.h" 31 #include "core/platform/audio/FFTFrame.h"
32 32
33 #include "core/platform/audio/AudioArray.h" 33 #include "core/platform/audio/AudioArray.h"
34 #include "core/platform/audio/VectorMath.h" 34 #include "core/platform/audio/VectorMath.h"
35 #include "dl/sp/api/armSP.h" 35 #include "dl/sp/api/armSP.h"
36 #include "dl/sp/api/omxSP.h" 36 #include "dl/sp/api/omxSP.h"
37 37
38 #include <wtf/MathExtras.h> 38 #include "wtf/MathExtras.h"
39 39
40 namespace WebCore { 40 namespace WebCore {
41 41
42 const unsigned kMaxFFTPow2Size = 15; 42 const unsigned kMaxFFTPow2Size = 15;
43 43
44 // Normal constructor: allocates for a given fftSize. 44 // Normal constructor: allocates for a given fftSize.
45 FFTFrame::FFTFrame(unsigned fftSize) 45 FFTFrame::FFTFrame(unsigned fftSize)
46 : m_FFTSize(fftSize) 46 : m_FFTSize(fftSize)
47 , m_log2FFTSize(static_cast<unsigned>(log2(fftSize))) 47 , m_log2FFTSize(static_cast<unsigned>(log2(fftSize)))
48 , m_forwardContext(0) 48 , m_forwardContext(0)
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 } 199 }
200 200
201 return 0; 201 return 0;
202 } 202 }
203 203
204 } // namespace WebCore 204 } // namespace WebCore
205 205
206 #endif // #if OS(ANDROID) && !USE(WEBAUDIO_OPENMAX_DL_FFT) 206 #endif // #if OS(ANDROID) && !USE(WEBAUDIO_OPENMAX_DL_FFT)
207 207
208 #endif // ENABLE(WEB_AUDIO) 208 #endif // ENABLE(WEB_AUDIO)
OLDNEW
« no previous file with comments | « Source/core/platform/audio/SincResampler.cpp ('k') | Source/core/platform/audio/ffmpeg/FFTFrameFFMPEG.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698