repo.or.cz
/
cinelerra_cv
/
mob.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
r125: This commit was manufactured by cvs2svn to create tag 'r1_1_7-last'.
[cinelerra_cv/mob.git]
/
hvirtual
/
cinelerra
/
workarounds.h
blob
bc32b6c63e02e90ac94116a9a9b58b58dd90c06b
1
#ifndef WORKAROUNDS_H
2
#define WORKAROUNDS_H
3
4
// GCC 3.0 workarounds
5
#include <stdint.h>
6
7
class
Workarounds
8
{
9
public
:
10
Workarounds
() {};
11
~
Workarounds
() {};
12
13
static void
clamp
(
int32_t
&
x
,
int32_t
y
,
int32_t
z
);
14
static void
clamp
(
int64_t
&
x
,
int64_t
y
,
int64_t
z
);
15
static void
clamp
(
float
&
x
,
float
y
,
float
z
);
16
static void
clamp
(
double
&
x
,
double
y
,
double
z
);
17
};
18
19
20
21
#endif