Home
last modified time | relevance | path

Searched refs:dest_rect (Results 1 – 25 of 27) sorted by relevance

12

/external/chromium/webkit/glue/media/
Dvideo_renderer_impl.cc53 const gfx::Rect& dest_rect) { in Paint() argument
60 static_cast<float>(dest_rect.x()), in Paint()
61 static_cast<float>(dest_rect.y()), in Paint()
62 static_cast<float>(dest_rect.right()), in Paint()
63 static_cast<float>(dest_rect.bottom()), in Paint()
66 if (CanFastPaint(canvas, dest_rect)) { in Paint()
67 FastPaint(video_frame, canvas, dest_rect); in Paint()
69 SlowPaint(video_frame, canvas, dest_rect); in Paint()
102 const gfx::Rect& dest_rect) { in CanFastPaint() argument
143 TransformToSkIRect(canvas->getTotalMatrix(), dest_rect, &dest_irect); in CanFastPaint()
[all …]
Dvideo_renderer_impl.h33 virtual void Paint(SkCanvas* canvas, const gfx::Rect& dest_rect);
50 bool CanFastPaint(SkCanvas* canvas, const gfx::Rect& dest_rect);
55 const gfx::Rect& dest_rect);
62 const gfx::Rect& dest_rect);
65 SkIRect* dest_rect);
Dweb_video_renderer.h36 const gfx::Rect& dest_rect) = 0;
/external/chromium_org/remoting/base/
Dutil.cc82 const webrtc::DesktopRect& dest_rect) { in ConvertAndScaleYUVToRGB32Rect() argument
89 DCHECK(DoesRectContain(dest_buffer_rect, dest_rect)); in ConvertAndScaleYUVToRGB32Rect()
91 dest_rect)); in ConvertAndScaleYUVToRGB32Rect()
110 webrtc::DesktopRect::MakeLTRB(RoundToTwosMultiple(dest_rect.left() + 1), in ConvertAndScaleYUVToRGB32Rect()
111 RoundToTwosMultiple(dest_rect.top() + 1), in ConvertAndScaleYUVToRGB32Rect()
112 dest_rect.right(), dest_rect.bottom()); in ConvertAndScaleYUVToRGB32Rect()
129 if (!dest_rect.equals(inner_rect)) { in ConvertAndScaleYUVToRGB32Rect()
131 webrtc::DesktopRect::MakeLTRB(RoundToTwosMultiple(dest_rect.left()), in ConvertAndScaleYUVToRGB32Rect()
132 RoundToTwosMultiple(dest_rect.top()), in ConvertAndScaleYUVToRGB32Rect()
133 dest_rect.right(), dest_rect.bottom()); in ConvertAndScaleYUVToRGB32Rect()
[all …]
Dutil.h51 const webrtc::DesktopRect& dest_rect);
85 const webrtc::DesktopRect& dest_rect);
Dutil_unittest.cc157 webrtc::DesktopRect dest_rect = webrtc::DesktopRect::MakeLTRB( in TEST() local
163 tester.RunTest(dest_size, dest_rect); in TEST()
175 webrtc::DesktopRect dest_rect = webrtc::DesktopRect::MakeLTRB( in TEST() local
181 tester.RunTest(dest_size, dest_rect); in TEST()
/external/chromium_org/ui/gfx/
Dblit.cc162 gfx::Rect dest_rect = gfx::IntersectRects(clip + offset, clip); in ScrollCanvas() local
163 if (dest_rect.size().IsEmpty()) in ScrollCanvas()
167 gfx::Rect src_rect = dest_rect - offset; in ScrollCanvas()
169 size_t row_bytes = dest_rect.width() * 4; in ScrollCanvas()
172 for (int y = dest_rect.height() - 1; y >= 0; y--) { in ScrollCanvas()
173 memcpy(bitmap.getAddr32(dest_rect.x(), dest_rect.y() + y), in ScrollCanvas()
179 for (int y = 0; y < dest_rect.height(); y++) { in ScrollCanvas()
180 memcpy(bitmap.getAddr32(dest_rect.x(), dest_rect.y() + y), in ScrollCanvas()
188 for (int y = 0; y < dest_rect.height(); y++) { in ScrollCanvas()
189 memmove(bitmap.getAddr32(dest_rect.x(), dest_rect.y() + y), in ScrollCanvas()
Dcanvas_paint_mac.mm30 CGRect dest_rect = NSRectToCGRect(rectangle_);
46 CGContextDrawImage(destination_context, dest_rect, image);
Dcanvas.cc426 SkRect dest_rect = { SkIntToScalar(dest_x), in DrawImageInt() local
438 canvas_->drawBitmapRect(bitmap, &src_rect, dest_rect, &paint); in DrawImageInt()
464 canvas_->drawRect(dest_rect, p); in DrawImageInt()
596 SkRect dest_rect = { SkIntToScalar(dest_x), in TileImageInt() local
600 canvas_->drawRect(dest_rect, paint); in TileImageInt()
/external/chromium_org/media/filters/
Dskcanvas_video_renderer.cc78 const SkRect& dest_rect) { in FastPaint() argument
100 local_matrix.mapRect(&local_dest_rect, dest_rect); in FastPaint()
131 DCHECK_NE(0, dest_rect.width()); in FastPaint()
132 DCHECK_NE(0, dest_rect.height()); in FastPaint()
295 const gfx::RectF& dest_rect, in Paint() argument
302 dest.set(dest_rect.x(), dest_rect.y(), dest_rect.right(), dest_rect.bottom()); in Paint()
Dskcanvas_video_renderer.h32 const gfx::RectF& dest_rect,
/external/chromium_org/content/renderer/pepper/
Dpepper_graphics_2d_host.cc102 PPB_ImageData_Impl* dest_image, const SkRect& dest_rect) { in ConvertImageData() argument
112 dest_rect.width() == dest_image->width()) { in ConvertImageData()
118 dest_bitmap->getAddr32(static_cast<int>(dest_rect.fLeft), in ConvertImageData()
119 static_cast<int>(dest_rect.fTop))); in ConvertImageData()
127 dest_bitmap->getAddr32(static_cast<int>(dest_rect.fLeft), in ConvertImageData()
128 static_cast<int>(dest_rect.fTop + y))); in ConvertImageData()
293 SkRect dest_rect = { SkIntToScalar(0), in ReadImageData() local
300 ConvertImageData(image_data_.get(), src_irect, image_resource, dest_rect); in ReadImageData()
308 &src_irect, dest_rect, &paint); in ReadImageData()
772 SkRect dest_rect = { SkIntToScalar(invalidated_rect->x()), in ExecutePaintImageData() local
[all …]
/external/chromium/chrome/browser/tab_contents/
Dthumbnail_generator.cc393 const SkRect dest_rect = { 0, 0, in GetClippedBitmap() local
396 const float dest_aspect = dest_rect.width() / dest_rect.height(); in GetClippedBitmap()
401 if (bitmap.width() < dest_rect.width() || in GetClippedBitmap()
402 bitmap.height() < dest_rect.height()) { in GetClippedBitmap()
406 src_rect.set(0, 0, static_cast<S16CPU>(dest_rect.width()), in GetClippedBitmap()
407 static_cast<S16CPU>(dest_rect.height())); in GetClippedBitmap()
/external/chromium_org/content/public/browser/
Drender_widget_host.h205 virtual bool CopyFromBackingStoreToGtkWindow(const gfx::Rect& dest_rect,
209 virtual bool CopyFromBackingStoreToCGContext(const CGRect& dest_rect,
/external/qemu/distrib/sdl-1.2.15/src/video/photon/
DSDL_ph_image.c1011 PhArea_t dest_rect; in ph_OCUpdate() local
1034 dest_rect.pos.x=rects[i].x; in ph_OCUpdate()
1035 dest_rect.pos.y=rects[i].y; in ph_OCUpdate()
1039 dest_rect.size.w=rects[i].w; in ph_OCUpdate()
1040 dest_rect.size.h=rects[i].h; in ph_OCUpdate()
1042 PgContextBlitArea(OCImage.offscreen_context, &src_rect, NULL, &dest_rect); in ph_OCUpdate()
/external/chromium_org/content/browser/renderer_host/
Dbacking_store_mac.h50 void CopyFromBackingStoreToCGContext(const CGRect& dest_rect,
Dbacking_store_gtk.h54 void PaintToRect(const gfx::Rect& dest_rect, GdkDrawable* target);
Dbacking_store_mac.mm239 void BackingStoreMac::CopyFromBackingStoreToCGContext(const CGRect& dest_rect,
244 CGContextDrawLayerInRect(context, dest_rect, cg_layer_);
248 CGContextDrawImage(context, dest_rect, image);
Drender_widget_host_impl.h144 virtual bool CopyFromBackingStoreToGtkWindow(const gfx::Rect& dest_rect,
148 virtual bool CopyFromBackingStoreToCGContext(const CGRect& dest_rect,
/external/chromium_org/content/renderer/media/
Dwebmediaplayer_ms.cc275 gfx::RectF dest_rect(rect.x, rect.y, rect.width, rect.height); in paint() local
276 video_renderer_.Paint(current_frame_.get(), canvas, dest_rect, alpha); in paint()
/external/chromium_org/cc/output/
Dsoftware_renderer.cc454 SkRect dest_rect = gfx::RectFToSkRect(QuadVertexRect()); in DrawRenderPassQuad() local
460 content_mat.setRectToRect(content_rect, dest_rect, in DrawRenderPassQuad()
519 mask_mat.setRectToRect(mask_rect, dest_rect, SkMatrix::kFill_ScaleToFit); in DrawRenderPassQuad()
/external/chromium_org/chrome/browser/ui/gtk/tabs/
Ddragged_view_gtk.cc403 gfx::Rect dest_rect(kDragFrameBorderSize, tab_height, in OnExpose() local
408 dest_rect, GDK_DRAWABLE(gtk_widget_get_window(widget))); in OnExpose()
/external/chromium/webkit/glue/
Dwebmediaplayer_impl.h105 void Paint(SkCanvas* canvas, const gfx::Rect& dest_rect);
Dwebmediaplayer_impl.cc127 const gfx::Rect& dest_rect) { in Paint() argument
130 video_renderer_->Paint(canvas, dest_rect); in Paint()
/external/chromium_org/cc/resources/
Dpicture_layer_tiling.cc205 gfx::Rect dest_rect) in CoverageIterator() argument
207 dest_rect_(dest_rect), in CoverageIterator()

12