MythTV  master
quickselect.h
Go to the documentation of this file.
1 #ifndef __QUICKSELECT_H__
2 #define __QUICKSELECT_H__
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif /* __cplusplus */
7 
8 unsigned char quick_select(unsigned char *arr, int nelems, int select);
9 unsigned char quick_select_median(unsigned char *arr, int nelems);
10 
11 unsigned short quick_select_ushort(unsigned short *arr, int nelems, int select);
12 unsigned short quick_select_median_ushort(unsigned short *arr, int nelems);
13 
14 float quick_select_float(float *arr, int nelems, int select);
15 float quick_select_median_float(float *arr, int nelems);
16 
17 #ifdef __cplusplus
18 } /* extern "C" */
19 #endif /* __cplusplus */
20 
21 #endif /* !__QUICKSELECT_H__ */
float quick_select_float(float *arr, int nelems, int select)
Definition: quickselect.c:137
unsigned short quick_select_median_ushort(unsigned short *arr, int nelems)
Definition: quickselect.c:129
float quick_select_median_float(float *arr, int nelems)
Definition: quickselect.c:188
unsigned char quick_select(unsigned char *arr, int nelems, int select)
Definition: quickselect.c:15
unsigned char quick_select_median(unsigned char *arr, int nelems)
Definition: quickselect.c:68
unsigned short quick_select_ushort(unsigned short *arr, int nelems, int select)
Definition: quickselect.c:76