Ardour
9.0-pre0-386-g96ef4d20f2
|
#include <MedianFilter.h>
Public Member Functions | |
MedianFilter (int size, float percentile=50.f) | |
~MedianFilter () | |
void | setPercentile (float p) |
void | push (T value) |
T | get () const |
int | getSize () const |
T | getAt (float percentile) |
void | reset () |
Static Public Member Functions | |
static std::vector< T > | filter (int size, const std::vector< T > &in) |
Private Member Functions | |
void | put (T value) |
void | drop (T value) |
MedianFilter (const MedianFilter &) | |
MedianFilter & | operator= (const MedianFilter &) |
Private Attributes | |
const int | m_size |
T *const | m_frame |
T *const | m_sorted |
T *const | m_sortend |
int | m_index |
Definition at line 26 of file MedianFilter.h.
|
inline |
Definition at line 29 of file MedianFilter.h.
|
inline |
Definition at line 38 of file MedianFilter.h.
|
private |
|
inlineprivate |
Definition at line 113 of file MedianFilter.h.
|
inlinestatic |
Definition at line 82 of file MedianFilter.h.
|
inline |
Definition at line 62 of file MedianFilter.h.
|
inline |
Definition at line 70 of file MedianFilter.h.
|
inline |
Definition at line 66 of file MedianFilter.h.
|
private |
|
inline |
Definition at line 49 of file MedianFilter.h.
|
inlineprivate |
Definition at line 104 of file MedianFilter.h.
|
inline |
Definition at line 77 of file MedianFilter.h.
|
inline |
Definition at line 43 of file MedianFilter.h.
|
private |
Definition at line 99 of file MedianFilter.h.
|
private |
Definition at line 102 of file MedianFilter.h.
|
private |
Definition at line 98 of file MedianFilter.h.
|
private |
Definition at line 100 of file MedianFilter.h.
|
private |
Definition at line 101 of file MedianFilter.h.