HomeSort by relevance Sort by last modified time
    Searched refs:imageSize (Results 1 - 25 of 161) sorted by null

1 2 3 4 5 6 7

  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderImageResourceStyleImage.h 57 virtual LayoutSize imageSize(float multiplier) const OVERRIDE { return m_styleImage->imageSize(m_renderer, multiplier); }
58 virtual LayoutSize intrinsicSize(float multiplier) const OVERRIDE { return m_styleImage->imageSize(m_renderer, multiplier); }
RenderImage.cpp 102 IntSize imageSize;
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;
122 imageSize = imageSizeForError(newImage);
125 imageSize = IntSize(paddingWidth, paddingHeight)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/image-encoders/skia/
PNGImageEncoder.cpp 71 static bool encodePixels(IntSize imageSize, unsigned char* inputPixels, bool premultiplied, Vector<unsigned char>* output)
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());
WEBPImageEncoder.cpp 86 static bool encodePixels(IntSize imageSize, const unsigned char* pixels, bool premultiplied, int quality, Vector<unsigned char>* output)
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();
  /external/chromium_org/third_party/mesa/src/src/mesa/main/
texcompress_cpal.h 35 GLsizei imageSize, const void *palette);
texstore.h 112 GLsizei imageSize, const GLvoid *data);
121 GLsizei imageSize, const GLvoid *data);
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/mesa3d/src/mesa/main/
texcompress_cpal.h 35 GLsizei imageSize, const void *palette);
texstore.h 112 GLsizei imageSize, const GLvoid *data);
121 GLsizei imageSize, const GLvoid *data);
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/WebKit/Source/platform/
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);
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.width() - (kDragLabelBorderX * 2.0f), labelFont)
    [all...]
  /external/deqp/modules/gles31/functional/
es31fShaderImageLoadStoreTests.cpp 685 static void setTextureStorage (glu::CallLogWrapper& glLog, TextureType imageType, deUint32 internalFormat, const IVec3& imageSize, deUint32 textureBufGL)
694 const int numBytes = format.getPixelSize() * imageSize.x();
699 DE_ASSERT(imageSize.y() == 1 && imageSize.z() == 1);
707 glLog.glTexStorage2D(textureTarget, 1, internalFormat, imageSize.x(), imageSize.y());
708 DE_ASSERT(imageSize.z() == 1);
713 glLog.glTexStorage3D(textureTarget, 1, internalFormat, imageSize.x(), imageSize.y(), imageSize.z())
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/
ImageDocument.cpp 227 LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->renderer(), pageZoomFactor(this));
230 float widthScale = windowSize.width().toFloat() / imageSize.width().toFloat();
231 float heightScale = windowSize.height().toFloat() / imageSize.height().toFloat();
241 LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->renderer(), pageZoomFactor(this));
244 m_imageElement->setWidth(static_cast<int>(imageSize.width() * scale));
245 m_imageElement->setHeight(static_cast<int>(imageSize.height() * scale));
296 LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->renderer(), 1.0f);
297 m_imageElement->setWidth(imageSize.width());
298 m_imageElement->setHeight(imageSize.height());
317 LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->renderer(), pageZoomFactor(t (…)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/svg/graphics/
SVGImageCache.cpp 67 IntSize imageSize = m_svgImage->size();
69 return imageSize;
73 return imageSize;
  /external/chromium_org/third_party/WebKit/Source/core/rendering/style/
StyleGeneratedImage.cpp 45 LayoutSize StyleGeneratedImage::imageSize(const RenderObject* renderer, float multiplier) const
71 IntSize size = flooredIntSize(imageSize(renderer, 1));
StyleGeneratedImage.h 45 virtual LayoutSize imageSize(const RenderObject*, float multiplier) const OVERRIDE;
  /external/chromium_org/third_party/WebKit/Source/core/fetch/
ImageResource.cpp 266 LayoutSize imageSize;
269 imageSize = toBitmapImage(m_image.get())->sizeRespectingOrientation();
271 imageSize = m_svgImageCache->imageSizeForRenderer(renderer);
273 imageSize = m_image->size();
276 return imageSize;
281 LayoutSize minimumSize(imageSize.width() > 0 ? 1 : 0, imageSize.height() > 0 ? 1 : 0);
282 imageSize.scale(widthScale, heightScale);
283 imageSize.clampToMinimumSize(minimumSize);
284 ASSERT(multiplier != 1.0f || (imageSize.width().fraction() == 0.0f && imageSize.height().fraction() == 0.0f))
    [all...]
  /external/deqp/modules/internal/
ditImageIOTests.cpp 63 const int imageSize = texture.getAccess().getSlicePitch()*texture.getDepth();
64 const deUint32 hash = deMemoryHash(texture.getAccess().getDataPtr(), imageSize);
  /external/opencv/cvaux/src/
cvepilines.cpp 667 int icvGetAngleLine( CvPoint2D64d startPoint, CvSize imageSize,CvPoint2D64d *point1,CvPoint2D64d *point2)
678 pb.x = imageSize.width-1;
681 pd.x = imageSize.width-1;
682 pd.y = imageSize.height-1;
685 pc.y = imageSize.height-1;
697 else if( startPoint.y > imageSize.height-1 )
708 else if ( startPoint.x > imageSize.width-1 )
715 else if ( startPoint.y > imageSize.height-1 )
730 if( startPoint.x < imageSize.width/2 )
741 else if( startPoint.y > imageSize.height-1
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/paint/
ImagePainter.cpp 110 IntSize imageSize = image->size();
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/svg/graphics/filters/
SVGFEImage.cpp 178 IntSize imageSize;
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/angle/src/libGLESv2/
Texture.h 120 void setCompressedImage(GLint level, GLenum format, GLsizei width, GLsizei height, GLsizei imageSize, const void *pixels);
122 void subImageCompressed(GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *pixels);
162 void setCompressedImage(GLenum target, GLint level, GLenum format, GLsizei width, GLsizei height, GLsizei imageSize, const void *pixels);
165 void subImageCompressed(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *pixels);
199 void setCompressedImage(GLint level, GLenum format, GLsizei width, GLsizei height, GLsizei depth, GLsizei imageSize, const void *pixels);
201 void subImageCompressed(GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *pixels);
229 void setCompressedImage(GLint level, GLenum format, GLsizei width, GLsizei height, GLsizei depth, GLsizei imageSize, const void *pixels);
231 void subImageCompressed(GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *pixels);
  /external/chromium_org/third_party/angle/src/libGLESv2/renderer/
TextureImpl.h 55 virtual void setCompressedImage(GLenum target, GLint level, GLenum format, GLsizei width, GLsizei height, GLsizei depth, GLsizei imageSize, const void *pixels) = 0;
57 virtual void subImageCompressed(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *pixels) = 0;
  /external/chromium_org/third_party/skia/src/sfnt/
SkOTTable_EBLC.h 109 SK_OT_ULONG imageSize; // all glyphs are of the same size
133 SK_OT_ULONG imageSize; //all glyphs have the same data size
  /external/opencv/
cvjni.cpp 151 int imageSize = strm->GetSize();
152 jbooleanArray res_array = env->NewBooleanArray(imageSize);
157 env->SetBooleanArrayRegion(res_array, 0, imageSize, (jboolean*)strm->GetByte());
257 int imageSize;
270 imageSize = strm->GetSize();
271 jbooleanArray res_array = env->NewBooleanArray(imageSize);
276 env->SetBooleanArrayRegion(res_array, 0, imageSize, (jboolean*)strm->GetByte());
701 int imageSize;
765 imageSize = m_strm->GetSize();
766 res_array = env->NewBooleanArray(imageSize);
    [all...]

Completed in 618 milliseconds

1 2 3 4 5 6 7