/external/chromium/webkit/glue/media/ |
D | video_renderer_impl.cc | 53 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 …]
|
D | video_renderer_impl.h | 33 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);
|
D | web_video_renderer.h | 36 const gfx::Rect& dest_rect) = 0;
|
/external/chromium_org/remoting/base/ |
D | util.cc | 82 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 …]
|
D | util.h | 51 const webrtc::DesktopRect& dest_rect); 85 const webrtc::DesktopRect& dest_rect);
|
D | util_unittest.cc | 157 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/ |
D | blit.cc | 162 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()
|
D | canvas_paint_mac.mm | 30 CGRect dest_rect = NSRectToCGRect(rectangle_); 46 CGContextDrawImage(destination_context, dest_rect, image);
|
D | canvas.cc | 426 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/ |
D | skcanvas_video_renderer.cc | 78 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()
|
D | skcanvas_video_renderer.h | 32 const gfx::RectF& dest_rect,
|
/external/chromium_org/content/renderer/pepper/ |
D | pepper_graphics_2d_host.cc | 102 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/ |
D | thumbnail_generator.cc | 393 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/ |
D | render_widget_host.h | 205 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/ |
D | SDL_ph_image.c | 1011 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/ |
D | backing_store_mac.h | 50 void CopyFromBackingStoreToCGContext(const CGRect& dest_rect,
|
D | backing_store_gtk.h | 54 void PaintToRect(const gfx::Rect& dest_rect, GdkDrawable* target);
|
D | backing_store_mac.mm | 239 void BackingStoreMac::CopyFromBackingStoreToCGContext(const CGRect& dest_rect, 244 CGContextDrawLayerInRect(context, dest_rect, cg_layer_); 248 CGContextDrawImage(context, dest_rect, image);
|
D | render_widget_host_impl.h | 144 virtual bool CopyFromBackingStoreToGtkWindow(const gfx::Rect& dest_rect, 148 virtual bool CopyFromBackingStoreToCGContext(const CGRect& dest_rect,
|
/external/chromium_org/content/renderer/media/ |
D | webmediaplayer_ms.cc | 275 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/ |
D | software_renderer.cc | 454 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/ |
D | dragged_view_gtk.cc | 403 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/ |
D | webmediaplayer_impl.h | 105 void Paint(SkCanvas* canvas, const gfx::Rect& dest_rect);
|
D | webmediaplayer_impl.cc | 127 const gfx::Rect& dest_rect) { in Paint() argument 130 video_renderer_->Paint(canvas, dest_rect); in Paint()
|
/external/chromium_org/cc/resources/ |
D | picture_layer_tiling.cc | 205 gfx::Rect dest_rect) in CoverageIterator() argument 207 dest_rect_(dest_rect), in CoverageIterator()
|