/external/deqp/modules/gles31/functional/ |
D | es31fShaderImageLoadStoreTests.cpp | 685 …er& glLog, TextureType imageType, deUint32 internalFormat, const IVec3& imageSize, deUint32 textur… in setTextureStorage() argument 694 const int numBytes = format.getPixelSize() * imageSize.x(); in setTextureStorage() 699 DE_ASSERT(imageSize.y() == 1 && imageSize.z() == 1); in setTextureStorage() 707 glLog.glTexStorage2D(textureTarget, 1, internalFormat, imageSize.x(), imageSize.y()); in setTextureStorage() 708 DE_ASSERT(imageSize.z() == 1); in setTextureStorage() 713 …glLog.glTexStorage3D(textureTarget, 1, internalFormat, imageSize.x(), imageSize.y(), imageSize.z()… in setTextureStorage() 725 const IVec3& imageSize = src.getSize(); in uploadTexture() local 727 setTextureStorage(glLog, src.getImageType(), internalFormat, imageSize, textureBufGL); in uploadTexture() 744 …glLog.glBufferData(GL_TEXTURE_BUFFER, src.getFormat().getPixelSize() * imageSize.x(), src.getAcces… in uploadTexture() 747 …glLog.glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, imageSize.x(), imageSize.y(), transferFormat.format,… in uploadTexture() [all …]
|
/external/chromium_org/third_party/WebKit/Source/platform/image-encoders/skia/ |
D | PNGImageEncoder.cpp | 71 static bool encodePixels(IntSize imageSize, unsigned char* inputPixels, bool premultiplied, Vector<… in encodePixels() argument 73 imageSize.clampNegativeToZero(); in encodePixels() 96 png_set_IHDR(png, info, imageSize.width(), imageSize.height(), in encodePixels() 101 row.resize(imageSize.width() * sizeof(SkPMColor)); in encodePixels() 102 const size_t pixelRowStride = imageSize.width() * 4; in encodePixels() 103 for (int y = 0; y < imageSize.height(); ++y) { in encodePixels() 105 preMultipliedBGRAtoRGBA(pixels, imageSize.width(), row.data()); in encodePixels()
|
D | WEBPImageEncoder.cpp | 86 static bool encodePixels(IntSize imageSize, const unsigned char* pixels, bool premultiplied, int qu… in encodePixels() argument 95 imageSize.clampNegativeToZero(); in encodePixels() 96 if (!imageSize.width() || imageSize.width() > WEBP_MAX_DIMENSION) in encodePixels() 98 picture.width = imageSize.width(); in encodePixels() 99 if (!imageSize.height() || imageSize.height() > WEBP_MAX_DIMENSION) in encodePixels() 101 picture.height = imageSize.height(); in encodePixels()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RenderImage.cpp | 102 IntSize imageSize; in imageSizeForError() local 106 imageSize = brokenImageAndImageScaleFactor.first->size(); in imageSizeForError() 107 imageSize.scale(1 / brokenImageAndImageScaleFactor.second); in imageSizeForError() 109 imageSize = newImage->imageForRenderer(this)->size(); in imageSizeForError() 113 …return IntSize(paddingWidth + imageSize.width() * style()->effectiveZoom(), paddingHeight + imageS… in imageSizeForError() 120 IntSize imageSize; in setImageSizeForAltText() local 122 imageSize = imageSizeForError(newImage); in setImageSizeForAltText() 125 imageSize = IntSize(paddingWidth, paddingHeight); in setImageSizeForAltText() 134 imageSize = imageSize.expandedTo(paddedTextSize); in setImageSizeForAltText() 137 if (imageSize == intrinsicSize()) in setImageSizeForAltText() [all …]
|
D | RenderImageResourceStyleImage.h | 57 …virtual LayoutSize imageSize(float multiplier) const OVERRIDE { return m_styleImage->imageSize(m_r… in imageSize() function 58 …e intrinsicSize(float multiplier) const OVERRIDE { return m_styleImage->imageSize(m_renderer, mult… in intrinsicSize()
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
D | DragImage.cpp | 148 …IntSize imageSize(labelSize.width() + kDragLabelBorderX * 2, labelSize.height() + kDragLabelBorder… in create() local 153 imageSize.setHeight(imageSize.height() + urlStringSize.height()); in create() 155 imageSize.setWidth(kMaxDragLabelWidth); in create() 158 … imageSize.setWidth(std::max(labelSize.width(), urlStringSize.width()) + kDragLabelBorderX * 2); in create() 163 IntSize scaledImageSize = imageSize; in create() 172 IntRect rect(IntPoint(), imageSize); in create() 179 …urlString = StringTruncator::centerTruncate(urlString, imageSize.width() - (kDragLabelBorderX * 2.… in create() 180 …IntPoint textPos(kDragLabelBorderX, imageSize.height() - (kLabelBorderYOffset + urlFont.fontMetric… in create() 186 …label = StringTruncator::rightTruncate(label, imageSize.width() - (kDragLabelBorderX * 2.0f), labe… in create() 193 int availableWidth = imageSize.width() - kDragLabelBorderX * 2; in create()
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
D | ImageDocument.cpp | 227 …LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->rendere… in scale() local 230 float widthScale = windowSize.width().toFloat() / imageSize.width().toFloat(); in scale() 231 float heightScale = windowSize.height().toFloat() / imageSize.height().toFloat(); in scale() 241 …LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->rendere… in resizeImageToFit() local 244 m_imageElement->setWidth(static_cast<int>(imageSize.width() * scale)); in resizeImageToFit() 245 m_imageElement->setHeight(static_cast<int>(imageSize.height() * scale)); in resizeImageToFit() 296 …LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->rendere… in restoreImageSize() local 297 m_imageElement->setWidth(imageSize.width()); in restoreImageSize() 298 m_imageElement->setHeight(imageSize.height()); in restoreImageSize() 317 …LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->rendere… in imageFitsInWindow() local [all …]
|
/external/chromium_org/chrome/browser/ui/cocoa/autofill/ |
D | down_arrow_popup_menu_cell.mm | 15 - (NSSize)imageSize { method 23 NSSize imageSize = [self imageSize]; 27 size.height = std::max(size.height, imageSize.height); 28 size.width += 2 * kSidePadding + autofill::kButtonGap + imageSize.width; 37 contentRect, &imageRect, &titleRect, [self imageSize].width, NSMaxXEdge);
|
D | down_arrow_popup_menu_cell_unittest.mm | 42 - (NSSize)imageSize; method in Testing 58 EXPECT_EQ(NSWidth(rect), [cell imageSize].width); 59 EXPECT_EQ(NSHeight(rect), [cell imageSize].height);
|
/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/chromium_org/third_party/WebKit/Source/core/fetch/ |
D | ImageResource.cpp | 266 LayoutSize imageSize; in imageSizeForRenderer() local 269 imageSize = toBitmapImage(m_image.get())->sizeRespectingOrientation(); in imageSizeForRenderer() 271 imageSize = m_svgImageCache->imageSizeForRenderer(renderer); in imageSizeForRenderer() 273 imageSize = m_image->size(); in imageSizeForRenderer() 276 return imageSize; in imageSizeForRenderer() 281 LayoutSize minimumSize(imageSize.width() > 0 ? 1 : 0, imageSize.height() > 0 ? 1 : 0); in imageSizeForRenderer() 282 imageSize.scale(widthScale, heightScale); in imageSizeForRenderer() 283 imageSize.clampToMinimumSize(minimumSize); in imageSizeForRenderer() 284 …ASSERT(multiplier != 1.0f || (imageSize.width().fraction() == 0.0f && imageSize.height().fraction(… in imageSizeForRenderer() 285 return imageSize; in imageSizeForRenderer()
|
/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/chromium_org/chrome/browser/ui/cocoa/location_bar/ |
D | bubble_decoration.mm | 56 const NSSize imageSize = [image_ size]; 58 std::floor((NSHeight(frame) - imageSize.height) / 2.0); 59 imageRect.size = imageSize; 81 const NSSize imageSize = [image_ size]; 84 std::floor((NSHeight(decoration_frame) - imageSize.height) / 2.0); 85 imageRect.size = imageSize;
|
/external/chromium_org/third_party/mesa/src/src/glx/ |
D | pixel.c | 177 GLint elementsPerRow, imageSize, rowsPerImage, h, i, j, k; in __glFillImage() local 209 imageSize = rowSize * rowsPerImage; in __glFillImage() 210 start = ((const GLubyte *) userdata) + skipImages * imageSize + in __glFillImage() 230 itera += imageSize; in __glFillImage() 250 itera += imageSize; in __glFillImage() 404 GLint imageSize, rowsPerImage; in __glEmptyImage() local 436 imageSize = sourceRowSize * rowsPerImage; in __glEmptyImage() 437 start = ((GLubyte *) userdata) + skipImages * imageSize + in __glEmptyImage() 458 itera += imageSize; in __glEmptyImage()
|
/external/mesa3d/src/glx/ |
D | pixel.c | 177 GLint elementsPerRow, imageSize, rowsPerImage, h, i, j, k; in __glFillImage() local 209 imageSize = rowSize * rowsPerImage; in __glFillImage() 210 start = ((const GLubyte *) userdata) + skipImages * imageSize + in __glFillImage() 230 itera += imageSize; in __glFillImage() 250 itera += imageSize; in __glFillImage() 404 GLint imageSize, rowsPerImage; in __glEmptyImage() local 436 imageSize = sourceRowSize * rowsPerImage; in __glEmptyImage() 437 start = ((GLubyte *) userdata) + skipImages * imageSize + in __glEmptyImage() 458 itera += imageSize; in __glEmptyImage()
|
/external/chromium_org/third_party/WebKit/Source/core/svg/graphics/ |
D | SVGImageCache.cpp | 67 IntSize imageSize = m_svgImage->size(); in imageSizeForRenderer() local 69 return imageSize; in imageSizeForRenderer() 73 return imageSize; in imageSizeForRenderer()
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
D | sprite_view_unittest.mm | 36 NSSize imageSize = [image_ size]; 40 EXPECT_EQ(imageSize.height, NSWidth(frame)); 41 EXPECT_EQ(imageSize.height, NSHeight(frame));
|
/external/chromium_org/chrome/browser/ui/cocoa/extensions/ |
D | browser_action_button.mm | 281 const NSSize imageSize = [actionImage size]; 283 NSMakeRect(std::floor((NSWidth(bounds) - imageSize.width) / 2.0), 284 std::floor((NSHeight(bounds) - imageSize.height) / 2.0), 285 imageSize.width, imageSize.height); 324 const NSSize imageSize = self.image.size; 326 NSMakeRect(std::floor((NSWidth(cellFrame) - imageSize.width) / 2.0), 327 std::floor((NSHeight(cellFrame) - imageSize.height) / 2.0), 328 imageSize.width, imageSize.height);
|
/external/mesa3d/src/mesa/main/ |
D | teximage.h | 259 GLint border, GLsizei imageSize, 265 GLsizei height, GLint border, GLsizei imageSize, 272 GLsizei imageSize, const GLvoid *data); 282 GLsizei imageSize, const GLvoid *data); 287 GLenum format, GLsizei imageSize, 294 GLsizei imageSize, const GLvoid *data);
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
D | teximage.h | 259 GLint border, GLsizei imageSize, 265 GLsizei height, GLint border, GLsizei imageSize, 272 GLsizei imageSize, const GLvoid *data); 282 GLsizei imageSize, const GLvoid *data); 287 GLenum format, GLsizei imageSize, 294 GLsizei imageSize, const GLvoid *data);
|
/external/chromium_org/third_party/angle/src/libGLESv2/ |
D | Texture.h | 120 …mage(GLint level, GLenum format, GLsizei width, GLsizei height, GLsizei imageSize, const void *pix… 122 …t, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *pix… 162 …get, GLint level, GLenum format, GLsizei width, GLsizei height, GLsizei imageSize, const void *pix… 165 …t, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *pix… 199 …l, GLenum format, GLsizei width, GLsizei height, GLsizei depth, GLsizei imageSize, const void *pix… 201 …t, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *pix… 229 …l, GLenum format, GLsizei width, GLsizei height, GLsizei depth, GLsizei imageSize, const void *pix… 231 …t, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *pix…
|
D | Texture.cpp | 257 …mage(GLint level, GLenum format, GLsizei width, GLsizei height, GLsizei imageSize, const void *pix… in setCompressedImage() argument 261 mTexture->setCompressedImage(GL_TEXTURE_2D, level, format, width, height, 1, imageSize, pixels); in setCompressedImage() 269 …t, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *pix… in subImageCompressed() argument 271 …Compressed(GL_TEXTURE_2D, level, xoffset, yoffset, 0, width, height, 1, format, imageSize, pixels); in subImageCompressed() 500 …get, GLint level, GLenum format, GLsizei width, GLsizei height, GLsizei imageSize, const void *pix… in setCompressedImage() argument 502 mTexture->setCompressedImage(target, level, format, width, height, 1, imageSize, pixels); in setCompressedImage() 510 …t, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *pix… in subImageCompressed() argument 512 …ubImageCompressed(target, level, xoffset, yoffset, 0, width, height, 1, format, imageSize, pixels); in subImageCompressed() 742 …l, GLenum format, GLsizei width, GLsizei height, GLsizei depth, GLsizei imageSize, const void *pix… in setCompressedImage() argument 744 …mTexture->setCompressedImage(GL_TEXTURE_3D, level, format, width, height, depth, imageSize, pixels… in setCompressedImage() [all …]
|
/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/chromium_org/third_party/WebKit/Source/core/paint/ |
D | ImagePainter.cpp | 110 IntSize imageSize = image->size(); in paintReplaced() local 111 imageSize.scale(1 / brokenImageAndImageScaleFactor.second); in paintReplaced() 113 LayoutUnit centerX = (usableWidth - imageSize.width()) / 2; in paintReplaced() 116 LayoutUnit centerY = (usableHeight - imageSize.height()) / 2; in paintReplaced() 120 …(image.get(), pixelSnappedIntRect(LayoutRect(paintOffset + imageOffset, imageSize)), CompositeSour… in paintReplaced()
|
/external/chromium_org/third_party/WebKit/Source/core/svg/graphics/filters/ |
D | SVGFEImage.cpp | 178 IntSize imageSize; in externalRepresentation() local 180 imageSize = m_image->size(); in externalRepresentation() 182 imageSize = enclosingIntRect(getRendererRepaintRect(renderer)).size(); in externalRepresentation() 186 ts << " image-size=\"" << imageSize.width() << "x" << imageSize.height() << "\"]\n"; in externalRepresentation()
|