#include <SlidingWindow.h>
类 Audio::TSlidingWindow< InSampleType > 继承关系图:类 | |
| class | TSlidingWindowIterator |
| TSlidingWindowIterator 更多... | |
Public 成员函数 | |
| template<typename InAllocator = FDefaultAllocator> | |
| TSlidingWindowIterator< InAllocator > | begin (TArray< InSampleType, InAllocator > &OutWindowBuffer) const |
| Creates STL like iterator which slides over samples. 更多... | |
| template<typename InAllocator = FDefaultAllocator> | |
| TSlidingWindowIterator< InAllocator > | end (TArray< InSampleType, InAllocator > &OutWindowBuffer) const |
| Creates STL like iterator denotes the end of the sliding window. 更多... | |
| TSlidingWindow (const TSlidingBuffer< InSampleType > &InSlidingBuffer, TArrayView< const InSampleType > InNewBuffer, bool bDoFlush) | |
| TSlidingWindow constructor 更多... | |
TSlidingWindow allows windows of samples to be iterated over with STL like iterators.
|
inline |
TSlidingWindow constructor
InSlidingBuffer Holds the previous samples which were not completely used in previous sliding windows. It also defines the window and hop size. InNewBuffer Holds new samples which have not yet been ingested by the InSlidingBuffer. bDoFlush Controls whether zeros to the final output windows until all possible windows with data from InNewBuffer have been covered.
|
inline |
Creates STL like iterator which slides over samples.
OutWindowBuffer Used to construct the TSlidingWindowIterator. The iterator will populate the window with samples when the * operator is called.
|
inline |
Creates STL like iterator denotes the end of the sliding window.
OutWindowBuffer Used to construct the TSlidingWindowIterator. The iterator will populate the window with samples when the * operator is called.