Lines 25-30
Link Here
|
25 |
#include <config.h> |
25 |
#include <config.h> |
26 |
#include <audiofile.h> |
26 |
#include <audiofile.h> |
27 |
|
27 |
|
|
|
28 |
#ifdef HAVE_ARCH_X86 |
28 |
#if USE_MMX_MINMAX == 2 |
29 |
#if USE_MMX_MINMAX == 2 |
29 |
#define PEAK_MIN_FUNC min_int8_mmx2 |
30 |
#define PEAK_MIN_FUNC min_int8_mmx2 |
30 |
#define PEAK_MAX_FUNC max_int8_mmx2 |
31 |
#define PEAK_MAX_FUNC max_int8_mmx2 |
Lines 47-52
Link Here
|
47 |
#define MIN16_FUNC peak_funcs.min16_func |
48 |
#define MIN16_FUNC peak_funcs.min16_func |
48 |
#define MAX16_FUNC peak_funcs.max16_func |
49 |
#define MAX16_FUNC peak_funcs.max16_func |
49 |
#endif |
50 |
#endif |
|
|
51 |
#else |
52 |
#define PEAK_MIN_FUNC peak_funcs.peak_min_func |
53 |
#define PEAK_MAX_FUNC peak_funcs.peak_max_func |
54 |
#define MIN8_FUNC peak_funcs.min8_func |
55 |
#define MAX8_FUNC peak_funcs.max8_func |
56 |
#define MIN16_FUNC peak_funcs.min16_func |
57 |
#define MAX16_FUNC peak_funcs.max16_func |
58 |
#endif |
50 |
|
59 |
|
51 |
struct peak_func_table { |
60 |
struct peak_func_table { |
52 |
graph_bits_unit_t (*peak_min_func)(const peak_unit_t *a, int count); |
61 |
graph_bits_unit_t (*peak_min_func)(const peak_unit_t *a, int count); |