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

Side by Side Diff: Source/core/platform/audio/ipp/FFTFrameIPP.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 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * Copyright (C) 2012 Intel Inc. All rights reserved. 3 * Copyright (C) 2012 Intel Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 19 matching lines...) Expand all
30 #include "config.h" 30 #include "config.h"
31 31
32 #if ENABLE(WEB_AUDIO) 32 #if ENABLE(WEB_AUDIO)
33 33
34 #if USE(WEBAUDIO_IPP) 34 #if USE(WEBAUDIO_IPP)
35 35
36 #include "core/platform/audio/FFTFrame.h" 36 #include "core/platform/audio/FFTFrame.h"
37 37
38 #include "core/platform/audio/VectorMath.h" 38 #include "core/platform/audio/VectorMath.h"
39 39
40 #include <wtf/MathExtras.h> 40 #include "wtf/MathExtras.h"
41 41
42 namespace WebCore { 42 namespace WebCore {
43 43
44 const unsigned maximumFFTPower2Size = 24; 44 const unsigned maximumFFTPower2Size = 24;
45 45
46 // Normal constructor: allocates for a given fftSize. 46 // Normal constructor: allocates for a given fftSize.
47 FFTFrame::FFTFrame(unsigned fftSize) 47 FFTFrame::FFTFrame(unsigned fftSize)
48 : m_FFTSize(fftSize) 48 : m_FFTSize(fftSize)
49 , m_log2FFTSize(static_cast<unsigned>(log2(fftSize))) 49 , m_log2FFTSize(static_cast<unsigned>(log2(fftSize)))
50 , m_complexData(fftSize) 50 , m_complexData(fftSize)
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 ippsRealToCplx_32f(realP, imagP, complexP, len); 180 ippsRealToCplx_32f(realP, imagP, complexP, len);
181 181
182 return const_cast<float*>(m_complexData.data()); 182 return const_cast<float*>(m_complexData.data());
183 } 183 }
184 184
185 } // namespace WebCore 185 } // namespace WebCore
186 186
187 #endif // USE(WEBAUDIO_IPP) 187 #endif // USE(WEBAUDIO_IPP)
188 188
189 #endif // ENABLE(WEB_AUDIO) 189 #endif // ENABLE(WEB_AUDIO)
OLDNEW
« no previous file with comments | « Source/core/platform/audio/ffmpeg/FFTFrameFFMPEG.cpp ('k') | Source/core/platform/chromium/ChromiumDataObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698