/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | RenderImageResource.h | 67 virtual LayoutSize imageSize(float multiplier) const { return getImageSize(multiplier, ImageResource::NormalSize); } function in class:blink::RenderImageResource
|
H A D | RenderImage.cpp | 102 IntSize imageSize; local 106 imageSize = brokenImageAndImageScaleFactor.first->size(); 107 imageSize.scale(1 / brokenImageAndImageScaleFactor.second); 109 imageSize = newImage->imageForRenderer(this)->size(); 111 // imageSize() returns 0 for the error image. We need the true size of the 113 return IntSize(paddingWidth + imageSize.width() * style()->effectiveZoom(), paddingHeight + imageSize.height() * style()->effectiveZoom()); 120 IntSize imageSize; local 122 imageSize = imageSizeForError(newImage); 125 imageSize [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
H A D | StyleGeneratedImage.cpp | 45 LayoutSize StyleGeneratedImage::imageSize(const RenderObject* renderer, float multiplier) const function in class:blink::StyleGeneratedImage 71 IntSize size = flooredIntSize(imageSize(renderer, 1));
|
H A D | StyleFetchedImage.cpp | 65 LayoutSize StyleFetchedImage::imageSize(const RenderObject* renderer, float multiplier) const function in class:blink::StyleFetchedImage
|
H A D | StyleFetchedImageSet.cpp | 70 LayoutSize StyleFetchedImageSet::imageSize(const RenderObject* renderer, float multiplier) const function in class:blink::StyleFetchedImageSet
|
/external/chromium_org/third_party/WebKit/Source/core/svg/graphics/ |
H A D | SVGImageCache.cpp | 67 IntSize imageSize = m_svgImage->size(); local 69 return imageSize; 73 return imageSize;
|
/external/deqp/modules/internal/ |
H A D | ditImageIOTests.cpp | 63 const int imageSize = texture.getAccess().getSlicePitch()*texture.getDepth(); local 64 const deUint32 hash = deMemoryHash(texture.getAccess().getDataPtr(), imageSize);
|
/external/chromium_org/third_party/WebKit/Source/platform/image-encoders/skia/ |
H A D | PNGImageEncoder.cpp | 71 static bool encodePixels(IntSize imageSize, unsigned char* inputPixels, bool premultiplied, Vector<unsigned char>* output) argument 73 imageSize.clampNegativeToZero(); 96 png_set_IHDR(png, info, imageSize.width(), imageSize.height(), 101 row.resize(imageSize.width() * sizeof(SkPMColor)); 102 const size_t pixelRowStride = imageSize.width() * 4; 103 for (int y = 0; y < imageSize.height(); ++y) { 105 preMultipliedBGRAtoRGBA(pixels, imageSize.width(), row.data());
|
H A D | WEBPImageEncoder.cpp | 86 static bool encodePixels(IntSize imageSize, const unsigned char* pixels, bool premultiplied, int quality, Vector<unsigned char>* output) argument 95 imageSize.clampNegativeToZero(); 96 if (!imageSize.width() || imageSize.width() > WEBP_MAX_DIMENSION) 98 picture.width = imageSize.width(); 99 if (!imageSize.height() || imageSize.height() > WEBP_MAX_DIMENSION) 101 picture.height = imageSize.height();
|
H A D | JPEGImageEncoder.cpp | 120 static bool encodePixels(IntSize imageSize, unsigned char* inputPixels, bool premultiplied, int quality, Vector<unsigned char>* output) argument 144 imageSize.clampNegativeToZero(); 145 cinfo.image_height = imageSize.height(); 146 cinfo.image_width = imageSize.width();
|
/external/chromium_org/third_party/WebKit/Source/core/svg/graphics/filters/ |
H A D | SVGFEImage.cpp | 178 IntSize imageSize; local 180 imageSize = m_image->size(); 182 imageSize = enclosingIntRect(getRendererRepaintRect(renderer)).size(); 186 ts << " image-size=\"" << imageSize.width() << "x" << imageSize.height() << "\"]\n";
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | pbo.c | 371 GLsizei imageSize, const GLvoid *pixels, 381 if ((const GLubyte *) pixels + imageSize > 370 _mesa_validate_pbo_compressed_teximage(struct gl_context *ctx, GLsizei imageSize, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing, const char *funcName) argument
|
H A D | texcompress_cpal.c | 169 GLsizei imageSize, const void *palette) 166 _mesa_cpal_compressed_teximage2d(GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei imageSize, const void *palette) argument
|
/external/mesa3d/src/mesa/main/ |
H A D | pbo.c | 371 GLsizei imageSize, const GLvoid *pixels, 381 if ((const GLubyte *) pixels + imageSize > 370 _mesa_validate_pbo_compressed_teximage(struct gl_context *ctx, GLsizei imageSize, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing, const char *funcName) argument
|
H A D | texcompress_cpal.c | 169 GLsizei imageSize, const void *palette) 166 _mesa_cpal_compressed_teximage2d(GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei imageSize, const void *palette) argument
|
/external/chromium_org/third_party/WebKit/Source/core/paint/ |
H A D | ImagePainter.cpp | 110 IntSize imageSize = image->size(); local 111 imageSize.scale(1 / brokenImageAndImageScaleFactor.second); 113 LayoutUnit centerX = (usableWidth - imageSize.width()) / 2; 116 LayoutUnit centerY = (usableHeight - imageSize.height()) / 2; 120 context->drawImage(image.get(), pixelSnappedIntRect(LayoutRect(paintOffset + imageOffset, imageSize)), CompositeSourceOver, m_renderImage.shouldRespectImageOrientation());
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/ |
H A D | ShapeOutsideInfo.cpp | 121 const IntSize& imageSize = m_renderer.calculateImageIntrinsicDimensions(styleImage, roundedIntSize(m_referenceBoxLogicalSize), RenderImage::ScaleByEffectiveZoom); local 122 styleImage->setContainerSizeForRenderer(&m_renderer, imageSize, m_renderer.style()->effectiveZoom()); 127 : LayoutRect(LayoutPoint(), imageSize); 135 RefPtr<Image> image = styleImage->image(const_cast<RenderBox*>(&m_renderer), imageSize);
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
H A D | DragImage.cpp | 148 IntSize imageSize(labelSize.width() + kDragLabelBorderX * 2, labelSize.height() + kDragLabelBorderY * 2); 153 imageSize.setHeight(imageSize.height() + urlStringSize.height()); 155 imageSize.setWidth(kMaxDragLabelWidth); 158 imageSize.setWidth(std::max(labelSize.width(), urlStringSize.width()) + kDragLabelBorderX * 2); 163 IntSize scaledImageSize = imageSize; 172 IntRect rect(IntPoint(), imageSize); local 179 urlString = StringTruncator::centerTruncate(urlString, imageSize.width() - (kDragLabelBorderX * 2.0f), urlFont); 180 IntPoint textPos(kDragLabelBorderX, imageSize.height() - (kLabelBorderYOffset + urlFont.fontMetrics().descent())); 186 label = StringTruncator::rightTruncate(label, imageSize [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/ |
H A D | TextureD3D.cpp | 151 void TextureD3D::setCompressedImage(GLsizei imageSize, const void *pixels, Image *image) argument 161 GLenum format, GLsizei imageSize, const void *pixels, Image *image) 329 void TextureD3D_2D::setCompressedImage(GLenum target, GLint level, GLenum format, GLsizei width, GLsizei height, GLsizei depth, GLsizei imageSize, const void *pixels) 336 TextureD3D::setCompressedImage(imageSize, pixels, mImageArray[level]); 366 void TextureD3D_2D::subImageCompressed(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *pixels) 370 if (TextureD3D::subImageCompressed(xoffset, yoffset, 0, width, height, 1, format, imageSize, pixels, mImageArray[level])) 817 void TextureD3D_Cube::setCompressedImage(GLenum target, GLint level, GLenum format, GLsizei width, GLsizei height, GLsizei depth, GLsizei imageSize, const void *pixels) 826 TextureD3D::setCompressedImage(imageSize, pixels, mImageArray[faceIndex][level]); 842 void TextureD3D_Cube::subImageCompressed(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *pixels) 848 if (TextureD3D::subImageCompressed(xoffset, yoffset, 0, width, height, 1, format, imageSize, pixel 160 subImageCompressed(GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *pixels, Image *image) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/glx/ |
H A D | pixel.c | 177 GLint elementsPerRow, imageSize, rowsPerImage, h, i, j, k; local 209 imageSize = rowSize * rowsPerImage; 210 start = ((const GLubyte *) userdata) + skipImages * imageSize + 230 itera += imageSize; 250 itera += imageSize; 404 GLint imageSize, rowsPerImage; local 436 imageSize = sourceRowSize * rowsPerImage; 437 start = ((GLubyte *) userdata) + skipImages * imageSize + 458 itera += imageSize;
|
/external/mesa3d/src/glx/ |
H A D | pixel.c | 177 GLint elementsPerRow, imageSize, rowsPerImage, h, i, j, k; local 209 imageSize = rowSize * rowsPerImage; 210 start = ((const GLubyte *) userdata) + skipImages * imageSize + 230 itera += imageSize; 250 itera += imageSize; 404 GLint imageSize, rowsPerImage; local 436 imageSize = sourceRowSize * rowsPerImage; 437 start = ((GLubyte *) userdata) + skipImages * imageSize + 458 itera += imageSize;
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/ |
H A D | NativeImageSkia.cpp | 84 SkISize imageSize = SkISize::Make(bitmap().width(), bitmap().height()); local 85 SkISize scaledImageSize = SkISize::Make(clampToInteger(roundf(imageSize.width() * scaleX)), 86 clampToInteger(roundf(imageSize.height() * scaleY))); 88 SkRect imageRect = SkRect::MakeWH(imageSize.width(), imageSize.height());
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/ |
H A D | nouveau_texture.c | 485 GLsizei imageSize, 504 imageSize, 557 GLsizei imageSize, const GLvoid *data) 559 nouveau_teximage(ctx, 2, ti, imageSize, 0, 0, data, 568 GLsizei imageSize, 579 imageSize, 626 GLint imageSize, const void *data) 629 width, height, depth, imageSize, format, 0, data, 483 nouveau_teximage(struct gl_context *ctx, GLint dims, struct gl_texture_image *ti, GLsizei imageSize, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing, GLboolean compressed) argument 555 nouveau_compressed_teximage(struct gl_context *ctx, GLuint dims, struct gl_texture_image *ti, GLsizei imageSize, const GLvoid *data) argument 564 nouveau_texsubimage(struct gl_context *ctx, GLint dims, struct gl_texture_image *ti, GLint xoffset, GLint yoffset, GLint zoffset, GLint width, GLint height, GLint depth, GLsizei imageSize, GLenum format, GLenum type, const void *pixels, const struct gl_pixelstore_attrib *packing, GLboolean compressed) argument 621 nouveau_compressed_texsubimage(struct gl_context *ctx, GLuint dims, struct gl_texture_image *ti, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLint height, GLint depth, GLenum format, GLint imageSize, const void *data) argument
|
/external/chromium_org/third_party/skia/src/sfnt/ |
H A D | SkOTTable_EBLC.h | 109 SK_OT_ULONG imageSize; // all glyphs are of the same size member in struct:SkOTTableEmbeddedBitmapLocation::IndexSubTable2 133 SK_OT_ULONG imageSize; //all glyphs have the same data size member in struct:SkOTTableEmbeddedBitmapLocation::IndexSubTable5
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
H A D | nouveau_texture.c | 485 GLsizei imageSize, 504 imageSize, 557 GLsizei imageSize, const GLvoid *data) 559 nouveau_teximage(ctx, 2, ti, imageSize, 0, 0, data, 568 GLsizei imageSize, 579 imageSize, 626 GLint imageSize, const void *data) 629 width, height, depth, imageSize, format, 0, data, 483 nouveau_teximage(struct gl_context *ctx, GLint dims, struct gl_texture_image *ti, GLsizei imageSize, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing, GLboolean compressed) argument 555 nouveau_compressed_teximage(struct gl_context *ctx, GLuint dims, struct gl_texture_image *ti, GLsizei imageSize, const GLvoid *data) argument 564 nouveau_texsubimage(struct gl_context *ctx, GLint dims, struct gl_texture_image *ti, GLint xoffset, GLint yoffset, GLint zoffset, GLint width, GLint height, GLint depth, GLsizei imageSize, GLenum format, GLenum type, const void *pixels, const struct gl_pixelstore_attrib *packing, GLboolean compressed) argument 621 nouveau_compressed_texsubimage(struct gl_context *ctx, GLuint dims, struct gl_texture_image *ti, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLint height, GLint depth, GLenum format, GLint imageSize, const void *data) argument
|