OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:actualImage
(Results
1 - 6
of
6
) sorted by null
/external/webkit/Tools/DumpRenderTree/gtk/
ImageDiff.cpp
89
float calculateDifference(GdkPixbuf* baselineImage, GdkPixbuf*
actualImage
, GdkPixbuf** differenceImage)
91
int width = gdk_pixbuf_get_width(
actualImage
);
92
int height = gdk_pixbuf_get_height(
actualImage
);
93
int numberOfChannels = gdk_pixbuf_get_n_channels(
actualImage
);
97
|| (gdk_pixbuf_get_has_alpha(
actualImage
) != gdk_pixbuf_get_has_alpha(baselineImage))) {
106
int actualRowStride = gdk_pixbuf_get_rowstride(
actualImage
);
108
unsigned char* actualPixels = gdk_pixbuf_get_pixels(
actualImage
);
164
void printImageDifferences(GdkPixbuf* baselineImage, GdkPixbuf*
actualImage
)
167
float difference = calculateDifference(baselineImage,
actualImage
, &differenceImage);
192
GdkPixbuf*
actualImage
= 0
[
all
...]
/external/webkit/Tools/DumpRenderTree/qt/
ImageDiff.cpp
42
QImage
actualImage
;
76
if (
actualImage
.isNull())
77
actualImage
= decodedImage;
83
if (!
actualImage
.isNull() && !baselineImage.isNull()) {
85
if (
actualImage
.size() != baselineImage.size()) {
90
int w =
actualImage
.width();
91
int h =
actualImage
.height();
100
QRgb pixel =
actualImage
.pixel(x, y);
145
actualImage
= QImage();
/external/webkit/Tools/DumpRenderTree/win/
ImageDiffCairo.cpp
107
static cairo_surface_t* createDifferenceImage(cairo_surface_t* baselineImage, cairo_surface_t*
actualImage
, float& difference)
113
unsigned char* actualPixel = cairo_image_surface_get_data(
actualImage
);
199
cairo_surface_t*
actualImage
= 0;
211
if (imageSize > 0 && !
actualImage
)
212
actualImage
= 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))
225
&& (imageHasAlpha(
actualImage
) == imageHasAlpha(baselineImage))) {
226
diffImage = createDifferenceImage(
actualImage
, baselineImage, difference); // difference is passed by referenc
[
all
...]
/external/webkit/Tools/DumpRenderTree/chromium/
ImageDiff.cpp
211
Image
actualImage
;
214
if (!
actualImage
.createFromFilename(file1)) {
223
float percent = percentageDifferent(
actualImage
, baselineImage);
241
Image
actualImage
;
256
if (imageSize > 0 && !
actualImage
.hasImage()) {
257
if (!
actualImage
.craeteFromStdin(imageSize)) {
272
if (
actualImage
.hasImage() && baselineImage.hasImage()) {
273
float percent = percentageDifferent(
actualImage
, baselineImage);
282
actualImage
.clear();
335
Image
actualImage
;
[
all
...]
/external/webkit/Tools/DumpRenderTree/cg/
ImageDiffCG.cpp
196
RetainPtr<CGImageRef>
actualImage
;
209
if (imageSize > 0 && !
actualImage
)
210
actualImage
= 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
246
actualImage
= 0;
/external/webkit/Tools/Scripts/webkitpy/tool/commands/data/rebaselineserver/
main.js
413
var
actualImage
= $('actual-image');
431
var actualImageData = getImageData(
actualImage
);
444
var actualWidth =
actualImage
.width;
Completed in 114 milliseconds