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

Side by Side Diff: Source/platform/audio/FFTFrame.h

Issue 400543004: Rename WebCore namespace to blink in Platform (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « Source/platform/audio/FFTConvolver.cpp ('k') | Source/platform/audio/FFTFrame.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 30 matching lines...) Expand all
41 #endif 41 #endif
42 42
43 #if USE(WEBAUDIO_IPP) 43 #if USE(WEBAUDIO_IPP)
44 #include <ipps.h> 44 #include <ipps.h>
45 #endif // USE(WEBAUDIO_IPP) 45 #endif // USE(WEBAUDIO_IPP)
46 46
47 #include "wtf/Forward.h" 47 #include "wtf/Forward.h"
48 #include "wtf/PassOwnPtr.h" 48 #include "wtf/PassOwnPtr.h"
49 #include "wtf/Threading.h" 49 #include "wtf/Threading.h"
50 50
51 namespace WebCore { 51 namespace blink {
52 52
53 // Defines the interface for an "FFT frame", an object which is able to perform a forward 53 // Defines the interface for an "FFT frame", an object which is able to perform a forward
54 // and reverse FFT, internally storing the resultant frequency-domain data. 54 // and reverse FFT, internally storing the resultant frequency-domain data.
55 55
56 class PLATFORM_EXPORT FFTFrame { 56 class PLATFORM_EXPORT FFTFrame {
57 public: 57 public:
58 // The constructors, destructor, and methods up to the CROSS-PLATFORM sectio n have platform-dependent implementations. 58 // The constructors, destructor, and methods up to the CROSS-PLATFORM sectio n have platform-dependent implementations.
59 59
60 FFTFrame(unsigned fftSize); 60 FFTFrame(unsigned fftSize);
61 FFTFrame(); // creates a blank/empty frame for later use with createInterpol atedFrame() 61 FFTFrame(); // creates a blank/empty frame for later use with createInterpol atedFrame()
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 OMXFFTSpec_R_F32* m_inverseContext; 136 OMXFFTSpec_R_F32* m_inverseContext;
137 137
138 AudioFloatArray m_complexData; 138 AudioFloatArray m_complexData;
139 AudioFloatArray m_realData; 139 AudioFloatArray m_realData;
140 AudioFloatArray m_imagData; 140 AudioFloatArray m_imagData;
141 #endif 141 #endif
142 142
143 #endif // !OS(MACOSX) 143 #endif // !OS(MACOSX)
144 }; 144 };
145 145
146 } // namespace WebCore 146 } // namespace blink
147 147
148 #endif // FFTFrame_h 148 #endif // FFTFrame_h
OLDNEW
« no previous file with comments | « Source/platform/audio/FFTConvolver.cpp ('k') | Source/platform/audio/FFTFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698