HomeSort by relevance Sort by last modified time
    Searched full:srcrect (Results 1 - 25 of 148) sorted by null

1 2 3 4 5 6

  /external/chromium_org/third_party/skia/src/effects/
SkGpuBlurUtils.cpp 43 const SkRect& srcRect,
57 context->drawRectToRect(paint, dstRect, srcRect);
61 const SkRect& srcRect,
70 convolve_gaussian_pass(context, srcRect, dstRect, texture,
74 SkRect lowerSrcRect = srcRect, lowerDstRect = dstRect;
75 SkRect middleSrcRect = srcRect, middleDstRect = dstRect;
76 SkRect upperSrcRect = srcRect, upperDstRect = dstRect;
80 bounds[0] = SkScalarToFloat(srcRect.left()) / texture->width();
81 bounds[1] = SkScalarToFloat(srcRect.right()) / texture->width();
82 size = srcRect.width()
    [all...]
SkXfermodeImageFilter.cpp 123 SkRect srcRect;
124 src.getBounds(&srcRect);
129 context->drawRect(paint, srcRect);
134 context->drawRect(backgroundPaint, srcRect);
139 context->drawRect(foregroundPaint, srcRect);
  /external/skia/src/effects/
SkGpuBlurUtils.cpp 43 const SkRect& srcRect,
57 context->drawRectToRect(paint, dstRect, srcRect);
61 const SkRect& srcRect,
70 convolve_gaussian_pass(context, srcRect, dstRect, texture,
74 SkRect lowerSrcRect = srcRect, lowerDstRect = dstRect;
75 SkRect middleSrcRect = srcRect, middleDstRect = dstRect;
76 SkRect upperSrcRect = srcRect, upperDstRect = dstRect;
80 bounds[0] = SkScalarToFloat(srcRect.left()) / texture->width();
81 bounds[1] = SkScalarToFloat(srcRect.right()) / texture->width();
82 size = srcRect.width()
    [all...]
SkXfermodeImageFilter.cpp 123 SkRect srcRect;
124 src.getBounds(&srcRect);
129 context->drawRect(paint, srcRect);
134 context->drawRect(backgroundPaint, srcRect);
139 context->drawRect(foregroundPaint, srcRect);
  /external/chromium_org/third_party/skia/src/pdf/
SkPDFImage.cpp 21 void extractImageData(const SkBitmap& bitmap, const SkIRect& srcRect,
31 const int rowBytes = srcRect.width();
32 image = new SkMemoryStream(rowBytes * srcRect.height());
34 for (int y = srcRect.fTop; y < srcRect.fBottom; y++) {
35 memcpy(dst, bitmap.getAddr8(srcRect.fLeft, y), rowBytes);
42 const int rowBytes = (srcRect.width() * 3 + 1) / 2;
43 const int alphaRowBytes = (srcRect.width() + 1) / 2;
44 image = new SkMemoryStream(rowBytes * srcRect.height());
45 alpha = new SkMemoryStream(alphaRowBytes * srcRect.height())
    [all...]
SkPDFImage.h 34 * @param srcRect The rectangle to cut out of bitmap.
40 const SkIRect& srcRect,
62 * @param srcRect The clipping applied to bitmap before generating
68 const SkIRect& srcRect, bool alpha, EncodeToDCTStream encoder);
  /external/skia/src/pdf/
SkPDFImage.cpp 21 void extractImageData(const SkBitmap& bitmap, const SkIRect& srcRect,
31 const int rowBytes = srcRect.width();
32 image = new SkMemoryStream(rowBytes * srcRect.height());
34 for (int y = srcRect.fTop; y < srcRect.fBottom; y++) {
35 memcpy(dst, bitmap.getAddr8(srcRect.fLeft, y), rowBytes);
42 const int rowBytes = (srcRect.width() * 3 + 1) / 2;
43 const int alphaRowBytes = (srcRect.width() + 1) / 2;
44 image = new SkMemoryStream(rowBytes * srcRect.height());
45 alpha = new SkMemoryStream(alphaRowBytes * srcRect.height())
    [all...]
SkPDFImage.h 34 * @param srcRect The rectangle to cut out of bitmap.
40 const SkIRect& srcRect,
62 * @param srcRect The clipping applied to bitmap before generating
68 const SkIRect& srcRect, bool alpha, EncodeToDCTStream encoder);
  /external/chromium-trace/trace-viewer/src/base/
quad_test.js 60 var srcRect = base.Rect.FromXYWH(0.1, 0.8, 0.8, 0.1);
61 var expectedRect = srcRect.scale(10);
64 container.projectUnitRectFast(q, srcRect);
71 var srcRect = base.Rect.FromXYWH(0.0, 0, 1, 1);
72 var expectedRect = srcRect;
75 container.projectUnitRectFast(q, srcRect);
82 var srcRect = base.Rect.FromXYWH(0.0, 0, 1, 1);
83 var expectedRect = srcRect.scale(2);
86 container.projectUnitRectFast(q, srcRect);
93 var srcRect = base.Rect.FromXYWH(0.0, 0, 1, 1)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/page/
ImageBitmap.cpp 40 IntRect srcRect = intersection(cropRect, IntRect(0, 0, image->width(), image->height()));
41 m_bitmapRect = IntRect(IntPoint(max(0, -cropRect.x()), max(0, -cropRect.y())), srcRect.size());
42 m_bitmapOffset = srcRect.location();
44 if (!srcRect.width() || !srcRect.height())
58 IntRect srcRect = intersection(cropRect, videoRect);
59 IntRect dstRect(IntPoint(), srcRect.size());
64 c->translate(-srcRect.x(), -srcRect.y());
67 m_bitmapRect = IntRect(IntPoint(max(0, -cropRect.x()), max(0, -cropRect.y())), srcRect.size())
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/
GeneratorGeneratedImage.cpp 36 void GeneratorGeneratedImage::draw(GraphicsContext* destContext, const FloatRect& destRect, const FloatRect& srcRect, CompositeOperator compositeOp, BlendMode blendMode)
42 if (destRect.size() != srcRect.size())
43 destContext->scale(FloatSize(destRect.width() / srcRect.width(), destRect.height() / srcRect.height()));
44 destContext->translate(-srcRect.x(), -srcRect.y());
49 void GeneratorGeneratedImage::drawPatternWithoutCache(GraphicsContext* destContext, const FloatRect& srcRect, const FloatSize& scale,
52 int firstColumn = static_cast<int>(floorf((((destRect.x() - phase.x()) / scale.width()) - srcRect.x()) / srcRect.width()));
53 int firstRow = static_cast<int>(floorf((((destRect.y() - phase.y()) / scale.height()) - srcRect.y()) / srcRect.height()))
    [all...]
CrossfadeGeneratedImage.cpp 83 void CrossfadeGeneratedImage::draw(GraphicsContext* context, const FloatRect& dstRect, const FloatRect& srcRect, CompositeOperator compositeOp, BlendMode blendMode)
89 if (dstRect.size() != srcRect.size())
90 context->scale(FloatSize(dstRect.width() / srcRect.width(), dstRect.height() / srcRect.height()));
91 context->translate(-srcRect.x(), -srcRect.y());
96 void CrossfadeGeneratedImage::drawPattern(GraphicsContext* context, const FloatRect& srcRect, const FloatSize& scale, const FloatPoint& phase, CompositeOperator compositeOp, const FloatRect& dstRect, BlendMode blendMode)
107 imageBuffer->drawPattern(context, srcRect, scale, phase, compositeOp, dstRect, blendMode);
Image.cpp 121 void Image::draw(GraphicsContext* ctx, const FloatRect& dstRect, const FloatRect& srcRect, CompositeOperator op, BlendMode blendMode, RespectImageOrientationEnum)
123 draw(ctx, dstRect, srcRect, op, blendMode);
168 void Image::drawTiled(GraphicsContext* ctxt, const FloatRect& dstRect, const FloatRect& srcRect,
188 float hRepetitions = std::max(1.0f, roundf(dstRect.width() / (tileScaleFactor.width() * srcRect.width())));
189 tileScaleFactor.setWidth(dstRect.width() / (srcRect.width() * hRepetitions));
192 float vRepetitions = std::max(1.0f, roundf(dstRect.height() / (tileScaleFactor.height() * srcRect.height())));
193 tileScaleFactor.setHeight(dstRect.height() / (srcRect.height() * vRepetitions));
204 float hPhase = tileScaleFactor.width() * srcRect.x();
205 float vPhase = tileScaleFactor.height() * srcRect.y();
206 float scaledTileWidth = tileScaleFactor.width() * srcRect.width()
    [all...]
  /external/skia/gm/
nocolorbleed.cpp 47 SkIRect srcRect;
52 srcRect.setXYWH(0, 0, 4, 4);
55 canvas->drawBitmapRect(sprite, &srcRect, dstRect, &paint);
58 canvas->drawBitmapRect(sprite, &srcRect, dstRect);
60 srcRect.setXYWH(1, 1, 2, 2);
63 canvas->drawBitmapRect(sprite, &srcRect, dstRect, &paint);
66 canvas->drawBitmapRect(sprite, &srcRect, dstRect);
  /hardware/ti/omap4xxx/libI420colorconvert/
ColorConvert.cpp 26 void* srcBits, int srcWidth, int srcHeight, ARect srcRect, void* dstBits) {
29 srcWidth * srcRect.top + srcRect.left;
31 srcWidth * (srcHeight - srcRect.top / 2);
33 int dstWidth = srcRect.right - srcRect.left + 1;
34 int dstHeight = srcRect.bottom - srcRect.top + 1;
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGPreserveAspectRatio.cpp 184 void SVGPreserveAspectRatio::transformRect(FloatRect& destRect, FloatRect& srcRect)
189 FloatSize imageSize = srcRect.size();
196 float widthToHeightMultiplier = srcRect.height() / srcRect.width();
234 float widthToHeightMultiplier = srcRect.height() / srcRect.width();
237 float destToSrcMultiplier = srcRect.width() / destRect.width();
238 srcRect.setHeight(destRect.height() * destToSrcMultiplier);
243 srcRect.setY(srcRect.y() + imageSize.height() / 2 - srcRect.height() / 2)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/svg/graphics/
SVGImageForContainer.cpp 39 const FloatRect& srcRect, CompositeOperator compositeOp, BlendMode blendMode)
41 m_image->drawForContainer(context, m_containerSize, m_zoom, dstRect, srcRect, compositeOp, blendMode);
44 void SVGImageForContainer::drawPattern(GraphicsContext* context, const FloatRect& srcRect, const FloatSize& scale,
47 m_image->drawPatternForContainer(context, m_containerSize, m_zoom, srcRect, scale, phase, compositeOp, dstRect, blendMode);
  /external/qemu/distrib/sdl-1.2.15/src/video/
SDL_stretch.c 202 int SDL_SoftStretch(SDL_Surface *src, SDL_Rect *srcrect,
228 if ( srcrect ) {
229 if ( (srcrect->x < 0) || (srcrect->y < 0) ||
230 ((srcrect->x+srcrect->w) > src->w) ||
231 ((srcrect->y+srcrect->h) > src->h) ) {
240 srcrect = &full_src;
281 inc = (srcrect->h << 16) / dstrect->h
    [all...]
SDL_RLEaccel_c.h 27 extern int SDL_RLEBlit(SDL_Surface *src, SDL_Rect *srcrect,
29 extern int SDL_RLEAlphaBlit(SDL_Surface *src, SDL_Rect *srcrect,
  /frameworks/av/media/libstagefright/yuv/
YUVCanvas.cpp 52 const Rect& srcRect,
58 srcRect,
64 int32_t srcStartX = srcRect.left;
65 int32_t srcStartY = srcRect.top;
66 for (int32_t offsetY = 0; offsetY < srcRect.height(); ++offsetY) {
67 for (int32_t offsetX = 0; offsetX < srcRect.width(); ++offsetX) {
  /external/chromium_org/third_party/WebKit/Source/core/svg/graphics/filters/
SVGFEImage.cpp 71 FloatRect srcRect;
73 srcRect.setSize(m_image->size());
74 m_preserveAspectRatio.transformRect(paintRect, srcRect);
76 srcRect = filter()->absoluteTransform().mapRect(renderer->repaintRectInLocalCoordinates());
107 FloatRect srcRect;
109 srcRect = filter()->absoluteTransform().mapRect(renderer->repaintRectInLocalCoordinates());
111 srcRect = FloatRect(FloatPoint(), m_image->size());
112 m_preserveAspectRatio.transformRect(destRect, srcRect);
142 resultImage->context()->drawImage(m_image.get(), destRect, srcRect);
  /external/chromium_org/third_party/skia/include/effects/
SkMagnifierImageFilter.h 17 SkMagnifierImageFilter(SkRect srcRect, SkScalar inset);
  /external/skia/include/effects/
SkMagnifierImageFilter.h 17 SkMagnifierImageFilter(SkRect srcRect, SkScalar inset);
  /external/chromium/chrome/browser/ui/cocoa/
image_utils.mm 10 fromRect:(NSRect)srcRect
29 fromRect:srcRect
  /frameworks/base/core/java/android/view/
FocusFinderHelper.java 44 public boolean isCandidate(Rect srcRect, Rect destRect, int direction) {
45 return mFocusFinder.isCandidate(srcRect, destRect, direction);

Completed in 410 milliseconds

1 2 3 4 5 6