GNU Radio's BLOCKSTREAM Package
max.h
Go to the documentation of this file.
1
#ifndef MAX_H
2
#define MAX_H
3
4
#include <
mipp/mipp.h
>
5
6
#ifndef _MSC_VER
7
#ifndef __forceinline
8
#define __forceinline inline __attribute__((always_inline))
9
#endif
10
#endif
11
12
namespace
aff3ct
13
{
14
namespace
tools
15
{
16
// -------------------------------------------------------------------------- special function prototypes for templates
17
18
template
<
typename
R>
19
using
proto_max
=
R
(*)(
const
R
& a,
const
R
& b);
20
21
template
<
typename
R>
22
using
proto_max_i
=
mipp::Reg<R>
(*)(
const
mipp::Reg<R>
a,
const
mipp::Reg<R>
b);
23
24
// ------------------------------------------------------------------------------------------- special function headers
25
26
template
<
typename
R>
__forceinline
R
max
(
const
R
& a,
const
R
& b);
27
template
<
typename
R>
__forceinline
R
max_linear
(
const
R
& a,
const
R
& b);
28
template
<
typename
R>
__forceinline
R
max_star
(
const
R
& a,
const
R
& b);
29
template
<
typename
R>
__forceinline
R
max_star_safe
(
const
R
& a,
const
R
& b);
30
31
template
<
typename
R>
__forceinline
mipp::Reg<R>
max_i
(
const
mipp::Reg<R>
a,
const
mipp::Reg<R>
b);
32
template
<
typename
R>
__forceinline
mipp::Reg<R>
max_linear_i
(
const
mipp::Reg<R>
a,
const
mipp::Reg<R>
b);
33
template
<
typename
R>
__forceinline
mipp::Reg<R>
max_star_i
(
const
mipp::Reg<R>
a,
const
mipp::Reg<R>
b);
34
}
35
}
36
37
#include "max.hxx"
38
39
#endif
/* MAX_H */
aff3ct::tools::max_star_i
__forceinline mipp::Reg< R > max_star_i(const mipp::Reg< R > a, const mipp::Reg< R > b)
mipp.h
__forceinline
#define __forceinline
Definition:
max.h:8
aff3ct::tools::max_linear_i
__forceinline mipp::Reg< R > max_linear_i(const mipp::Reg< R > a, const mipp::Reg< R > b)
aff3ct::tools::proto_max
R(*)(const R &a, const R &b) proto_max
Definition:
max.h:19
aff3ct::tools::max_linear
__forceinline R max_linear(const R &a, const R &b)
R
R_32 R
Definition:
types.h:51
aff3ct::tools::proto_max_i
mipp::Reg< R >(*)(const mipp::Reg< R > a, const mipp::Reg< R > b) proto_max_i
Definition:
max.h:22
aff3ct::tools::max
__forceinline R max(const R &a, const R &b)
aff3ct::tools::max_star
__forceinline R max_star(const R &a, const R &b)
mipp::Reg
Definition:
mipp.h:745
aff3ct::tools::max_star_safe
__forceinline R max_star_safe(const R &a, const R &b)
aff3ct::tools::max_i
__forceinline mipp::Reg< R > max_i(const mipp::Reg< R > a, const mipp::Reg< R > b)
include
Tools
Math
max.h
Generated on Sun Dec 2 2018 17:34:21 for GNU Radio's BLOCKSTREAM Package by
1.8.5