OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:basePixel
(Results
1 - 4
of
4
) sorted by null
/external/webkit/Tools/DumpRenderTree/qt/
ImageDiff.cpp
101
QRgb
basePixel
= baselineImage.pixel(x, y);
102
qreal red = (qRed(pixel) - qRed(
basePixel
)) / static_cast<float>(qMax(255 - qRed(
basePixel
), qRed(
basePixel
)));
103
qreal green = (qGreen(pixel) - qGreen(
basePixel
)) / static_cast<float>(qMax(255 - qGreen(
basePixel
), qGreen(
basePixel
)));
104
qreal blue = (qBlue(pixel) - qBlue(
basePixel
)) / static_cast<float>(qMax(255 - qBlue(
basePixel
), qBlue(
basePixel
)));
[
all
...]
/external/webkit/Tools/DumpRenderTree/cg/
ImageDiffCG.cpp
113
unsigned char*
basePixel
= (unsigned char*)baseBuffer;
118
float red = (pixel[0] -
basePixel
[0]) / max<float>(255 -
basePixel
[0],
basePixel
[0]);
119
float green = (pixel[1] -
basePixel
[1]) / max<float>(255 -
basePixel
[1],
basePixel
[1]);
120
float blue = (pixel[2] -
basePixel
[2]) / max<float>(255 -
basePixel
[2],
basePixel
[2])
[
all
...]
/external/webkit/Tools/DumpRenderTree/gtk/
ImageDiff.cpp
114
unsigned char*
basePixel
= basePixels + (y * baseRowStride) + (x * numberOfChannels);
116
float red = (actualPixel[0] -
basePixel
[0]) / max<float>(255 -
basePixel
[0],
basePixel
[0]);
117
float green = (actualPixel[1] -
basePixel
[1]) / max<float>(255 -
basePixel
[1],
basePixel
[1]);
118
float blue = (actualPixel[2] -
basePixel
[2]) / max<float>(255 -
basePixel
[2],
basePixel
[2])
[
all
...]
/external/webkit/Tools/DumpRenderTree/chromium/
ImageDiff.cpp
300
uint32_t
basePixel
= image1.pixelAt(x, y);
301
if (
basePixel
!= image2.pixelAt(x, y)) {
307
uint32_t alpha =
basePixel
& rgbaAlpha;
308
uint32_t newPixel =
basePixel
- ((alpha / 2) & rgbaAlpha);
Completed in 57 milliseconds