qimageblitz
convolve.cpp File Reference
#include "qimageblitz.h"#include "private/blitz_p.h"#include <config-processor.h>#include "blitzcpu.h"#include <cmath>#include <stdio.h>#include <stdlib.h>#include <string.h>
Include dependency graph for convolve.cpp:

Go to the source code of this file.
Defines | |
| #define | CONVOLVE_ACC(weight, pixel) |
| #define | KernelRank 3 |
| #define | M_EPSILON 1.0e-6 |
| #define | M_PI 3.14159265358979323846 |
| #define | M_SQ2PI 2.50662827463100024161235523934010416269302368164062 |
| #define | RoundToPixel(value) |
Define Documentation
| #define CONVOLVE_ACC | ( | weight, | |||
| pixel | ) |
Value:
r+=((weight))*(qRed((pixel))); g+=((weight))*(qGreen((pixel))); \
b+=((weight))*(qBlue((pixel)));
Definition at line 90 of file convolve.cpp.
| #define KernelRank 3 |
| #define M_EPSILON 1.0e-6 |
Definition at line 75 of file convolve.cpp.
| #define M_PI 3.14159265358979323846 |
Definition at line 78 of file convolve.cpp.
| #define M_SQ2PI 2.50662827463100024161235523934010416269302368164062 |
Definition at line 76 of file convolve.cpp.
| #define RoundToPixel | ( | value | ) |
Value:
((unsigned char) ((value) < 0.0 ? 0.0 : \ ((value) > (float) 255) ? (float) 255 : (value)+0.5))
Definition at line 81 of file convolve.cpp.
KDE 4.4 API Reference