/external/webkit/Tools/DumpRenderTree/chromium/ |
D | TestEventPrinter.cpp | 45 …lHash, const char* expectedHash, const unsigned char* imageData, size_t imageSize, const char* fil… 57 …lHash, const char* expectedHash, const unsigned char* imageData, size_t imageSize, const char* fil… 94 …lHash, const char* expectedHash, const unsigned char* imageData, size_t imageSize, const char*) co… in handleImage() argument 100 if (imageData && imageSize) { in handleImage() 103 printf("Content-Length: %d\n", static_cast<int>(imageSize)); in handleImage() 104 if (fwrite(imageData, 1, imageSize, stdout) != imageSize) { in handleImage() 140 …t char* actualHash, const char*, const unsigned char* imageData, size_t imageSize, const char* fil… in handleImage() argument 143 if (imageData && imageSize) { in handleImage() 150 if (fwrite(imageData, 1, imageSize, fp) != imageSize) { in handleImage()
|
D | ImageDiff.cpp | 249 int imageSize = strtol(strtok_s(0, " ", &context), 0, 10); in untestedCompareImages() local 252 int imageSize = strtol(strtok_r(0, " ", &context), 0, 10); in untestedCompareImages() local 256 if (imageSize > 0 && !actualImage.hasImage()) { in untestedCompareImages() 257 if (!actualImage.craeteFromStdin(imageSize)) { in untestedCompareImages() 261 } else if (imageSize > 0 && !baselineImage.hasImage()) { in untestedCompareImages() 262 if (!baselineImage.craeteFromStdin(imageSize)) { in untestedCompareImages()
|
/external/webkit/Source/WebCore/platform/image-encoders/skia/ |
D | PNGImageEncoder.cpp | 74 IntSize imageSize(inputSize); in encodePixels() local 75 imageSize.clampNegativeToZero(); in encodePixels() 98 png_set_IHDR(png, info, imageSize.width(), imageSize.height(), in encodePixels() 103 row.resize(imageSize.width() * sizeof(SkPMColor)); in encodePixels() 104 for (int y = 0; y < imageSize.height(); ++y) { in encodePixels() 106 preMultipliedBGRAtoRGBA(pixels, imageSize.width(), row.data()); in encodePixels() 110 pixels += imageSize.width() * 4; in encodePixels() 124 IntSize imageSize(bitmap.width(), bitmap.height()); in encode() local 125 return encodePixels(imageSize, static_cast<unsigned char*>(bitmap.getPixels()), true, output); in encode()
|
D | JPEGImageEncoder.cpp | 105 IntSize imageSize(inputSize); in encodePixels() local 106 imageSize.clampNegativeToZero(); in encodePixels() 128 cinfo.image_height = imageSize.height(); in encodePixels() 129 cinfo.image_width = imageSize.width(); in encodePixels() 159 IntSize imageSize(bitmap.width(), bitmap.height()); in encode() local 161 return encodePixels(imageSize, static_cast<unsigned char *>(bitmap.getPixels()), in encode()
|
/external/webkit/Source/WebCore/html/ |
D | ImageDocument.cpp | 158 IntSize size = cachedImage->imageSize(1.0f); in finish() 238 IntSize imageSize = m_imageElement->cachedImage()->imageSize(pageZoomFactor(this)); in scale() local 241 float widthScale = (float)windowSize.width() / imageSize.width(); in scale() 242 float heightScale = (float)windowSize.height() / imageSize.height(); in scale() 252 IntSize imageSize = m_imageElement->cachedImage()->imageSize(pageZoomFactor(this)); in resizeImageToFit() local 255 m_imageElement->setWidth(static_cast<int>(imageSize.width() * scale)); in resizeImageToFit() 256 m_imageElement->setHeight(static_cast<int>(imageSize.height() * scale)); in resizeImageToFit() 292 if (m_imageElement->cachedImage()->imageSize(pageZoomFactor(this)).isEmpty()) in imageUpdated() 308 … m_imageElement->setWidth(m_imageElement->cachedImage()->imageSize(pageZoomFactor(this)).width()); in restoreImageSize() 309 …m_imageElement->setHeight(m_imageElement->cachedImage()->imageSize(pageZoomFactor(this)).height()); in restoreImageSize() [all …]
|
/external/webkit/Source/WebCore/platform/win/ |
D | DragImageWin.cpp | 168 …IntSize imageSize(labelSize.width() + DragLabelBorderX * 2, labelSize.height() + DragLabelBorderY … in createDragImageForLink() local 173 imageSize.setHeight(imageSize.height() + urlStringSize.height()); in createDragImageForLink() 175 imageSize.setWidth(MaxDragLabelWidth); in createDragImageForLink() 178 … imageSize.setWidth(std::max(labelSize.width(), urlStringSize.width()) + DragLabelBorderX * 2); in createDragImageForLink() 192 image = allocImage(workingDC, imageSize, &contextRef); in createDragImageForLink() 205 IntRect rect(0, 0, imageSize.width(), imageSize.height()); in createDragImageForLink() 213 …urlString = StringTruncator::rightTruncate(urlString, imageSize.width() - (DragLabelBorderX * 2.0f… in createDragImageForLink() 214 …IntPoint textPos(DragLabelBorderX, imageSize.height() - (LabelBorderYOffset + urlFont->fontMetrics… in createDragImageForLink() 219 …label = StringTruncator::rightTruncate(label, imageSize.width() - (DragLabelBorderX * 2.0f), *labe… in createDragImageForLink()
|
/external/webkit/Tools/DumpRenderTree/gtk/ |
D | ImageDiff.cpp | 45 GdkPixbuf* readPixbufFromStdin(long imageSize) in readPixbufFromStdin() argument 51 while (imageSize > 0) { in readPixbufFromStdin() 52 size_t bytesToRead = min<int>(imageSize, 2048); in readPixbufFromStdin() 62 imageSize -= static_cast<int>(bytesRead); in readPixbufFromStdin() 209 long imageSize = strtol(tokens[1], 0, 10); in main() local 211 if (imageSize > 0 && !actualImage) { in main() 212 if (!(actualImage = readPixbufFromStdin(imageSize))) { in main() 216 } else if (imageSize > 0 && !baselineImage) { in main() 217 if (!(baselineImage = readPixbufFromStdin(imageSize))) { in main()
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
D | ImageCairoWin.cpp | 83 IntSize imageSize = BitmapImage::size(); in getHBITMAPOfSize() local 87 …0f, bmpInfo.bmWidth, bmpInfo.bmHeight), FloatRect(0.0f, 0.0f, imageSize.width(), imageSize.height(… in getHBITMAPOfSize() 110 IntSize imageSize = BitmapImage::size(); in drawFrameMatchingSourceSize() local 111 …draw(ctxt, dstRect, FloatRect(0.0f, 0.0f, imageSize.width(), imageSize.height()), ColorSpaceDevice… in drawFrameMatchingSourceSize()
|
D | ImageCGWin.cpp | 77 IntSize imageSize = BitmapImage::size(); in getHBITMAPOfSize() local 81 …0f, bmpInfo.bmWidth, bmpInfo.bmHeight), FloatRect(0.0f, 0.0f, imageSize.width(), imageSize.height(… in getHBITMAPOfSize() 104 IntSize imageSize = BitmapImage::size(); in drawFrameMatchingSourceSize() local 105 …draw(ctxt, dstRect, FloatRect(0.0f, 0.0f, imageSize.width(), imageSize.height()), styleColorSpace,… in drawFrameMatchingSourceSize()
|
/external/webkit/Source/WebKit2/Shared/API/c/cg/ |
D | WKImageCG.cpp | 44 IntSize imageSize(CGImageGetWidth(imageRef), CGImageGetHeight(imageRef)); in WKImageCreateFromCGImage() local 45 RefPtr<WebImage> webImage = WebImage::create(imageSize, toImageOptions(options)); in WKImageCreateFromCGImage() 47 …rawImage(graphicsContext->platformContext(), CGRectMake(0, 0, imageSize.width(), imageSize.height(… in WKImageCreateFromCGImage()
|
/external/opencv/cvaux/src/ |
D | cvepilines.cpp | 667 int icvGetAngleLine( CvPoint2D64d startPoint, CvSize imageSize,CvPoint2D64d *point1,CvPoint2D64d *p… in icvGetAngleLine() argument 678 pb.x = imageSize.width-1; in icvGetAngleLine() 681 pd.x = imageSize.width-1; in icvGetAngleLine() 682 pd.y = imageSize.height-1; in icvGetAngleLine() 685 pc.y = imageSize.height-1; in icvGetAngleLine() 697 else if( startPoint.y > imageSize.height-1 ) in icvGetAngleLine() 708 else if ( startPoint.x > imageSize.width-1 ) in icvGetAngleLine() 715 else if ( startPoint.y > imageSize.height-1 ) in icvGetAngleLine() 730 if( startPoint.x < imageSize.width/2 ) in icvGetAngleLine() 741 else if( startPoint.y > imageSize.height-1 ) in icvGetAngleLine() [all …]
|
/external/webkit/Source/WebCore/platform/mac/ |
D | DragImageMac.mm | 261 NSSize imageSize; 262 imageSize.width = labelSize.width + DragLabelBorderX * 2; 263 imageSize.height = labelSize.height + DragLabelBorderY * 2; 268 imageSize.height += urlStringSize.height; 270 … imageSize.width = std::max(MaxDragLabelWidth + DragLabelBorderY * 2, MinDragLabelWidthBeforeClip); 273 …imageSize.width = std::max(labelSize.width + DragLabelBorderX * 2, urlStringSize.width + DragLabel… 275 NSImage *dragImage = [[[NSImage alloc] initWithSize: imageSize] autorelease]; 283 …[path appendBezierPathWithOvalInRect: NSMakeRect(0, imageSize.height - DragLabelRadius * 2, DragLa… 284 …[path appendBezierPathWithOvalInRect: NSMakeRect(imageSize.width - DragLabelRadius * 2, imageSize.… 285 …[path appendBezierPathWithOvalInRect: NSMakeRect(imageSize.width - DragLabelRadius * 2, 0, DragLab… [all …]
|
/external/webkit/Source/WebCore/platform/graphics/wince/ |
D | ImageWinCE.cpp | 79 IntSize imageSize = BitmapImage::size(); in getHBITMAPOfSize() local 83 …ect(0, 0, bmpInfo.bmWidth, bmpInfo.bmHeight), FloatRect(0, 0, imageSize.width(), imageSize.height(… in getHBITMAPOfSize() 107 IntSize imageSize = BitmapImage::size(); in drawFrameMatchingSourceSize() local 108 …draw(ctxt, dstRect, FloatRect(0, 0, imageSize.width(), imageSize.height()), styleColorSpace, compo… in drawFrameMatchingSourceSize()
|
/external/webkit/Tools/DumpRenderTree/qt/ |
D | ImageDiff.cpp | 53 int imageSize = strtol(strtok(0, " "), 0, 10); in main() local 55 if (imageSize <= 0) { in main() 63 while (imageSize > 0) { in main() 64 size_t bytesToRead = qMin(imageSize, 2048); in main() 67 imageSize -= static_cast<int>(bytesRead); in main()
|
/external/qemu-pc-bios/vgabios/tests/lfbprof/ |
D | lfbprof.c | 43 long imageSize; /* Length of the video image */ variable 510 imageSize = bytesperline * yres; in InitGraphics() 558 LfbMemset(LFBPtr,numClears++,imageSize); in ProfileMode() 561 clearsMbPerSec = (clearsPerSec * imageSize) / 1048576.0; in ProfileMode() 564 maxImages = ((512 * 1024U) / imageSize) + 2; in ProfileMode() 566 image[i] = malloc(imageSize); in ProfileMode() 569 memset(image[i],i+1,imageSize); in ProfileMode() 574 LfbMemcpy(LFBPtr,image[numBlts++ % maxImages],imageSize); in ProfileMode() 577 bitBltsMbPerSec = (bitBltsPerSec * imageSize) / 1048576.0; in ProfileMode()
|
/external/webkit/Source/WebCore/rendering/ |
D | RenderImage.cpp | 105 IntSize imageSize; in setImageSizeForAltText() local 107 imageSize = imageSizeForError(newImage); in setImageSizeForAltText() 110 imageSize = IntSize(paddingWidth, paddingHeight); in setImageSizeForAltText() 117 imageSize = imageSize.expandedTo(textSize); in setImageSizeForAltText() 120 if (imageSize == intrinsicSize()) in setImageSizeForAltText() 123 setIntrinsicSize(imageSize); in setImageSizeForAltText() 173 … if (m_imageResource->imageSize(style()->effectiveZoom()) != intrinsicSize() || imageSizeChanged) { in imageDimensionsChanged() 175 setIntrinsicSize(m_imageResource->imageSize(style()->effectiveZoom())); in imageDimensionsChanged() 205 …nclosingIntRect(mapRect(*rect, FloatRect(FloatPoint(), m_imageResource->imageSize(1.0f)), contentB… in imageDimensionsChanged() 493 IntSize size = m_imageResource->imageSize(style()->effectiveZoom()); in computeReplacedLogicalWidth() [all …]
|
/external/webkit/Source/WebCore/svg/graphics/filters/ |
D | SVGFEImage.cpp | 85 IntSize imageSize = m_image->size(); in externalRepresentation() local 89 ts << " image-size=\"" << imageSize.width() << "x" << imageSize.height() << "\"]\n"; in externalRepresentation()
|
/external/webkit/Tools/DumpRenderTree/win/ |
D | ImageDiffCairo.cpp | 209 int imageSize = strtol(strtok(0, " "), 0, 10); in main() local 211 if (imageSize > 0 && !actualImage) in main() 212 actualImage = createImageFromStdin(imageSize); in main() 213 else if (imageSize > 0 && !baselineImage) in main() 214 baselineImage = createImageFromStdin(imageSize); in main()
|
/external/chromium/chrome/browser/ui/cocoa/location_bar/ |
D | bubble_decoration.mm | 70 const NSSize imageSize = [image_ size]; 72 std::floor((NSHeight(frame) - imageSize.height) / 2.0); 73 imageRect.size = imageSize; 112 const NSSize imageSize = [image_ size]; 114 std::floor((NSHeight(decorationFrame) - imageSize.height) / 2.0); 115 imageRect.size = imageSize;
|
/external/webkit/Tools/DumpRenderTree/cg/ |
D | ImageDiffCG.cpp | 207 int imageSize = strtol(strtok(0, " "), 0, 10); in main() local 209 if (imageSize > 0 && !actualImage) in main() 210 actualImage = createImageFromStdin(imageSize); in main() 211 else if (imageSize > 0 && !baselineImage) in main() 212 baselineImage = createImageFromStdin(imageSize); in main()
|
/external/opencv/ |
D | cvjni.cpp | 151 int imageSize = strm->GetSize(); in Java_org_siprop_opencv_OpenCV_getSourceImage() local 152 jbooleanArray res_array = env->NewBooleanArray(imageSize); in Java_org_siprop_opencv_OpenCV_getSourceImage() 157 env->SetBooleanArrayRegion(res_array, 0, imageSize, (jboolean*)strm->GetByte()); in Java_org_siprop_opencv_OpenCV_getSourceImage() 257 int imageSize; in Java_org_siprop_opencv_OpenCV_findContours() local 270 imageSize = strm->GetSize(); in Java_org_siprop_opencv_OpenCV_findContours() 271 jbooleanArray res_array = env->NewBooleanArray(imageSize); in Java_org_siprop_opencv_OpenCV_findContours() 276 env->SetBooleanArrayRegion(res_array, 0, imageSize, (jboolean*)strm->GetByte()); in Java_org_siprop_opencv_OpenCV_findContours() 701 int imageSize; 765 imageSize = m_strm->GetSize(); 766 res_array = env->NewBooleanArray(imageSize); [all …]
|
/external/webkit/Source/WebCore/rendering/svg/ |
D | SVGImageBufferTools.cpp | 55 IntSize imageSize(roundedImageBufferSize(clampedAbsoluteTargetRect.size())); in createImageBuffer() local 59 if (imageSize.isEmpty()) in createImageBuffer() 62 OwnPtr<ImageBuffer> image = ImageBuffer::create(imageSize, colorSpace); in createImageBuffer()
|
/external/webkit/Source/WebCore/rendering/style/ |
D | StyleCachedImage.cpp | 52 IntSize StyleCachedImage::imageSize(const RenderObject* /*renderer*/, float multiplier) const in imageSize() function in WebCore::StyleCachedImage 54 return m_image->imageSize(multiplier); in imageSize()
|
/external/webkit/Source/WebKit/gtk/WebCoreSupport/ |
D | DragClientGtk.cpp | 120 … IntSize imageSize(cairo_image_surface_get_width(image), cairo_image_surface_get_height(image)); in startDrag() local 121 gtk_window_resize(GTK_WINDOW(m_dragIconWindow), imageSize.width(), imageSize.height()); in startDrag()
|
/external/webkit/Source/WebCore/svg/ |
D | SVGPreserveAspectRatio.cpp | 161 FloatSize imageSize = srcRect.size(); in transformRect() local 215 srcRect.setY(destRect.y() + imageSize.height() / 2 - srcRect.height() / 2); in transformRect() 220 srcRect.setY(destRect.y() + imageSize.height() - srcRect.height()); in transformRect() 234 srcRect.setX(destRect.x() + imageSize.width() / 2 - srcRect.width() / 2); in transformRect() 239 srcRect.setX(destRect.x() + imageSize.width() - srcRect.width()); in transformRect()
|