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

Side by Side Diff: Source/platform/audio/DirectConvolver.cpp

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/DirectConvolver.h ('k') | Source/platform/audio/Distance.h » ('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) 2012 Intel Inc. All rights reserved. 2 * Copyright (C) 2012 Intel 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 21 matching lines...) Expand all
32 32
33 #include "platform/audio/DirectConvolver.h" 33 #include "platform/audio/DirectConvolver.h"
34 34
35 #if OS(MACOSX) 35 #if OS(MACOSX)
36 #include <Accelerate/Accelerate.h> 36 #include <Accelerate/Accelerate.h>
37 #endif 37 #endif
38 38
39 #include "platform/audio/VectorMath.h" 39 #include "platform/audio/VectorMath.h"
40 #include "wtf/CPU.h" 40 #include "wtf/CPU.h"
41 41
42 namespace WebCore { 42 namespace blink {
43 43
44 using namespace VectorMath; 44 using namespace VectorMath;
45 45
46 DirectConvolver::DirectConvolver(size_t inputBlockSize) 46 DirectConvolver::DirectConvolver(size_t inputBlockSize)
47 : m_inputBlockSize(inputBlockSize) 47 : m_inputBlockSize(inputBlockSize)
48 #if USE(WEBAUDIO_IPP) 48 #if USE(WEBAUDIO_IPP)
49 , m_overlayBuffer(inputBlockSize) 49 , m_overlayBuffer(inputBlockSize)
50 #endif // USE(WEBAUDIO_IPP) 50 #endif // USE(WEBAUDIO_IPP)
51 , m_buffer(inputBlockSize * 2) 51 , m_buffer(inputBlockSize * 2)
52 { 52 {
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 } 376 }
377 377
378 void DirectConvolver::reset() 378 void DirectConvolver::reset()
379 { 379 {
380 m_buffer.zero(); 380 m_buffer.zero();
381 #if USE(WEBAUDIO_IPP) 381 #if USE(WEBAUDIO_IPP)
382 m_overlayBuffer.zero(); 382 m_overlayBuffer.zero();
383 #endif // USE(WEBAUDIO_IPP) 383 #endif // USE(WEBAUDIO_IPP)
384 } 384 }
385 385
386 } // namespace WebCore 386 } // namespace blink
387 387
388 #endif // ENABLE(WEB_AUDIO) 388 #endif // ENABLE(WEB_AUDIO)
OLDNEW
« no previous file with comments | « Source/platform/audio/DirectConvolver.h ('k') | Source/platform/audio/Distance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698