MythTV
master
|
#include "quickselect.h"
Go to the source code of this file.
Functions | |
template<typename T > | |
void | ELEM_SWAP (T &a, T &b) |
unsigned char | quick_select (unsigned char *arr, int nelems, int select) |
unsigned char | quick_select_median (unsigned char *arr, int nelems) |
unsigned short | quick_select_ushort (unsigned short *arr, int nelems, int select) |
unsigned short | quick_select_median_ushort (unsigned short *arr, int nelems) |
float | quick_select_float (float *arr, int nelems, int select) |
float | quick_select_median_float (float *arr, int nelems) |
void ELEM_SWAP | ( | T & | a, |
T & | b | ||
) |
Definition at line 13 of file quickselect.cpp.
Referenced by quick_select(), quick_select_float(), and quick_select_ushort().
unsigned char quick_select | ( | unsigned char * | arr, |
int | nelems, | ||
int | select | ||
) |
Definition at line 21 of file quickselect.cpp.
Referenced by quick_select_median().
unsigned char quick_select_median | ( | unsigned char * | arr, |
int | nelems | ||
) |
Definition at line 70 of file quickselect.cpp.
Referenced by HistogramAnalyzer::analyzeFrame().
unsigned short quick_select_ushort | ( | unsigned short * | arr, |
int | nelems, | ||
int | select | ||
) |
Definition at line 76 of file quickselect.cpp.
Referenced by SceneChangeDetector::finished(), and quick_select_median_ushort().
unsigned short quick_select_median_ushort | ( | unsigned short * | arr, |
int | nelems | ||
) |
Definition at line 125 of file quickselect.cpp.
float quick_select_float | ( | float * | arr, |
int | nelems, | ||
int | select | ||
) |
Definition at line 131 of file quickselect.cpp.
Referenced by quick_select_median_float().
float quick_select_median_float | ( | float * | arr, |
int | nelems | ||
) |
Definition at line 180 of file quickselect.cpp.