ARB
|
#include <cxxforward.h>
#include <arb_assert.h>
#include <stdint.h>
#include <cmath>
#include <algorithm>
Go to the source code of this file.
Classes | |
class | AW_rgb16 |
class | AW_rgb_normalized |
class | AW_rgb_diff |
Macros | |
#define | aw_assert(bed) arb_assert(bed) |
Typedefs | |
typedef unsigned long | AW_rgb |
Functions | |
AW_rgb_diff | operator- (const AW_rgb_normalized &c1, const AW_rgb_normalized &c2) |
AW_rgb_diff | operator+ (const AW_rgb_diff &d1, const AW_rgb_diff &d2) |
AW_rgb_diff | operator* (const AW_rgb_diff &d, const float &f) |
AW_rgb_diff | operator* (const float &f, const AW_rgb_diff &d) |
AW_rgb_diff | operator- (const AW_rgb_diff &d) |
AW_rgb_diff | max (const AW_rgb_diff &d1, const AW_rgb_diff &d2) |
float | avoid_overflow (float f) |
AW_rgb_normalized | operator+ (const AW_rgb_normalized &col, const AW_rgb_diff &off) |
AW_rgb_normalized | operator- (const AW_rgb_normalized &col, const AW_rgb_diff &off) |
AW_rgb_diff | operator- (const AW_rgb16 &c1, const AW_rgb16 &c2) |
AW_rgb16 | operator+ (const AW_rgb16 &col, const AW_rgb_diff &off) |
AW_rgb16 | operator- (const AW_rgb16 &col, const AW_rgb_diff &off) |
#define aw_assert | ( | bed | ) | arb_assert(bed) |
Definition at line 31 of file aw_rgb.hxx.
Definition at line 34 of file aw_rgb.hxx.
|
inline |
Definition at line 121 of file aw_rgb.hxx.
References AW_rgb_normalized::b(), AW_rgb_normalized::g(), and AW_rgb_normalized::r().
|
inline |
Definition at line 128 of file aw_rgb.hxx.
References AW_rgb_diff::b(), AW_rgb_diff::g(), and AW_rgb_diff::r().
|
inline |
Definition at line 133 of file aw_rgb.hxx.
References AW_rgb_diff::b(), AW_rgb_diff::g(), and AW_rgb_diff::r().
|
inline |
Definition at line 134 of file aw_rgb.hxx.
|
inline |
Definition at line 135 of file aw_rgb.hxx.
|
inline |
Definition at line 137 of file aw_rgb.hxx.
References AW_rgb_diff::b(), AW_rgb_diff::g(), and AW_rgb_diff::r().
|
inline |
Definition at line 144 of file aw_rgb.hxx.
Referenced by operator+().
|
inline |
Definition at line 146 of file aw_rgb.hxx.
References avoid_overflow(), AW_rgb_normalized::b(), AW_rgb_diff::b(), AW_rgb_normalized::g(), AW_rgb_diff::g(), AW_rgb_normalized::r(), and AW_rgb_diff::r().
|
inline |
Definition at line 151 of file aw_rgb.hxx.
|
inline |
Definition at line 154 of file aw_rgb.hxx.
|
inline |
Definition at line 155 of file aw_rgb.hxx.
|
inline |
Definition at line 156 of file aw_rgb.hxx.