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

Side by Side Diff: Source/platform/audio/ReverbConvolverStage.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
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 16 matching lines...) Expand all
27 */ 27 */
28 28
29 #ifndef ReverbConvolverStage_h 29 #ifndef ReverbConvolverStage_h
30 #define ReverbConvolverStage_h 30 #define ReverbConvolverStage_h
31 31
32 #include "platform/audio/AudioArray.h" 32 #include "platform/audio/AudioArray.h"
33 #include "platform/audio/FFTFrame.h" 33 #include "platform/audio/FFTFrame.h"
34 #include "wtf/Noncopyable.h" 34 #include "wtf/Noncopyable.h"
35 #include "wtf/OwnPtr.h" 35 #include "wtf/OwnPtr.h"
36 36
37 namespace WebCore { 37 namespace blink {
38 38
39 class ReverbAccumulationBuffer; 39 class ReverbAccumulationBuffer;
40 class ReverbConvolver; 40 class ReverbConvolver;
41 class FFTConvolver; 41 class FFTConvolver;
42 class DirectConvolver; 42 class DirectConvolver;
43 43
44 // A ReverbConvolverStage represents the convolution associated with a sub-secti on of a large impulse response. 44 // A ReverbConvolverStage represents the convolution associated with a sub-secti on of a large impulse response.
45 // It incorporates a delay line to account for the offset of the sub-section wit hin the larger impulse response. 45 // It incorporates a delay line to account for the offset of the sub-section wit hin the larger impulse response.
46 class PLATFORM_EXPORT ReverbConvolverStage { 46 class PLATFORM_EXPORT ReverbConvolverStage {
47 WTF_MAKE_NONCOPYABLE(ReverbConvolverStage); 47 WTF_MAKE_NONCOPYABLE(ReverbConvolverStage);
(...skipping 27 matching lines...) Expand all
75 size_t m_preReadWriteIndex; 75 size_t m_preReadWriteIndex;
76 size_t m_framesProcessed; 76 size_t m_framesProcessed;
77 77
78 AudioFloatArray m_temporaryBuffer; 78 AudioFloatArray m_temporaryBuffer;
79 79
80 bool m_directMode; 80 bool m_directMode;
81 OwnPtr<AudioFloatArray> m_directKernel; 81 OwnPtr<AudioFloatArray> m_directKernel;
82 OwnPtr<DirectConvolver> m_directConvolver; 82 OwnPtr<DirectConvolver> m_directConvolver;
83 }; 83 };
84 84
85 } // namespace WebCore 85 } // namespace blink
86 86
87 #endif // ReverbConvolverStage_h 87 #endif // ReverbConvolverStage_h
OLDNEW
« no previous file with comments | « Source/platform/audio/ReverbConvolver.cpp ('k') | Source/platform/audio/ReverbConvolverStage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698