OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:baselineImage
(Results
1 - 5
of
5
) sorted by null
/external/webkit/Tools/DumpRenderTree/gtk/
ImageDiff.cpp
89
float calculateDifference(GdkPixbuf*
baselineImage
, GdkPixbuf* actualImage, GdkPixbuf** differenceImage)
94
if ((width != gdk_pixbuf_get_width(
baselineImage
))
95
|| (height != gdk_pixbuf_get_height(
baselineImage
))
96
|| (numberOfChannels != gdk_pixbuf_get_n_channels(
baselineImage
))
97
|| (gdk_pixbuf_get_has_alpha(actualImage) != gdk_pixbuf_get_has_alpha(
baselineImage
))) {
107
int baseRowStride = gdk_pixbuf_get_rowstride(
baselineImage
);
109
unsigned char* basePixels = gdk_pixbuf_get_pixels(
baselineImage
);
164
void printImageDifferences(GdkPixbuf*
baselineImage
, GdkPixbuf* actualImage)
167
float difference = calculateDifference(
baselineImage
, actualImage, &differenceImage);
193
GdkPixbuf*
baselineImage
= 0
[
all
...]
/external/webkit/Tools/DumpRenderTree/win/
ImageDiffCairo.cpp
107
static cairo_surface_t* createDifferenceImage(cairo_surface_t*
baselineImage
, cairo_surface_t* actualImage, float& difference)
109
size_t width = cairo_image_surface_get_width(
baselineImage
);
110
size_t height = cairo_image_surface_get_height(
baselineImage
);
112
unsigned char* baselinePixel = cairo_image_surface_get_data(
baselineImage
);
200
cairo_surface_t*
baselineImage
= 0;
213
else if (imageSize > 0 && !
baselineImage
)
214
baselineImage
= createImageFromStdin(imageSize);
219
if (actualImage &&
baselineImage
) {
223
if ((cairo_image_surface_get_width(actualImage) == cairo_image_surface_get_width(
baselineImage
))
224
&& (cairo_image_surface_get_height(actualImage) == cairo_image_surface_get_height(
baselineImage
))
[
all
...]
/external/webkit/Tools/DumpRenderTree/qt/
ImageDiff.cpp
43
QImage
baselineImage
;
79
baselineImage
= decodedImage;
83
if (!actualImage.isNull() && !
baselineImage
.isNull()) {
85
if (actualImage.size() !=
baselineImage
.size()) {
101
QRgb basePixel =
baselineImage
.pixel(x, y);
146
baselineImage
= QImage();
/external/webkit/Tools/DumpRenderTree/chromium/
ImageDiff.cpp
212
Image
baselineImage
;
218
if (!
baselineImage
.createFromFilename(file2)) {
223
float percent = percentageDifferent(actualImage,
baselineImage
);
242
Image
baselineImage
;
261
} else if (imageSize > 0 && !
baselineImage
.hasImage()) {
262
if (!
baselineImage
.craeteFromStdin(imageSize)) {
272
if (actualImage.hasImage() &&
baselineImage
.hasImage()) {
273
float percent = percentageDifferent(actualImage,
baselineImage
);
283
baselineImage
.clear();
336
Image
baselineImage
;
[
all
...]
/external/webkit/Tools/DumpRenderTree/cg/
ImageDiffCG.cpp
197
RetainPtr<CGImageRef>
baselineImage
;
211
else if (imageSize > 0 && !
baselineImage
)
212
baselineImage
= createImageFromStdin(imageSize);
217
if (actualImage &&
baselineImage
) {
221
if ((CGImageGetWidth(actualImage.get()) == CGImageGetWidth(
baselineImage
.get())) && (CGImageGetHeight(actualImage.get()) == CGImageGetHeight(
baselineImage
.get())) && (imageHasAlpha(actualImage.get()) == imageHasAlpha(
baselineImage
.get()))) {
222
diffImage = createDifferenceImage(actualImage.get(),
baselineImage
.get(), difference); // difference is passed by reference
247
baselineImage
= 0;
Completed in 69 milliseconds