Searched refs:dest_rect (Results 1 – 9 of 9) sorted by relevance
/external/webrtc/webrtc/modules/desktop_capture/ |
D | desktop_frame.cc | 32 const DesktopRect& dest_rect) { in CopyPixelsFrom() argument 33 assert(DesktopRect::MakeSize(size()).ContainsRect(dest_rect)); in CopyPixelsFrom() 35 uint8_t* dest = GetFrameDataAtPos(dest_rect.top_left()); in CopyPixelsFrom() 36 for (int y = 0; y < dest_rect.height(); ++y) { in CopyPixelsFrom() 37 memcpy(dest, src_buffer, DesktopFrame::kBytesPerPixel * dest_rect.width()); in CopyPixelsFrom() 45 const DesktopRect& dest_rect) { in CopyPixelsFrom() argument 47 DesktopRect::MakeOriginSize(src_pos, dest_rect.size()))); in CopyPixelsFrom() 50 src_frame.stride(), dest_rect); in CopyPixelsFrom()
|
D | desktop_frame.h | 65 const DesktopRect& dest_rect); 68 const DesktopRect& dest_rect);
|
/external/pdfium/core/src/fxge/ge/ |
D | fx_ge_device.cpp | 367 FX_RECT dest_rect(left, top, in SetDIBits() local 370 dest_rect.Intersect(m_ClipBox); in SetDIBits() 371 if (dest_rect.IsEmpty()) { in SetDIBits() 374 FX_RECT src_rect(dest_rect.left - left, dest_rect.top - top, in SetDIBits() 375 dest_rect.left - left + dest_rect.Width(), in SetDIBits() 376 dest_rect.top - top + dest_rect.Height()); in SetDIBits() 386 int bg_pixel_width = FXSYS_round(dest_rect.Width() * fScaleX); in SetDIBits() 387 int bg_pixel_height = FXSYS_round(dest_rect.Height() * fScaleY); in SetDIBits() 394 if (!m_pDeviceDriver->GetDIBits(&background, dest_rect.left, in SetDIBits() 395 dest_rect.top)) { in SetDIBits() [all …]
|
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
D | fpdf_render_image.cpp | 760 FX_RECT dest_rect = clip_box; in StartDIBSource() local 761 dest_rect.Intersect(image_rect); in StartDIBSource() 763 dest_rect.left - image_rect.left, dest_rect.top - image_rect.top, in StartDIBSource() 764 dest_rect.right - image_rect.left, dest_rect.bottom - image_rect.top); in StartDIBSource() 768 m_pRenderStatus->CompositeDIBitmap(pStretched.get(), dest_rect.left, in StartDIBSource() 769 dest_rect.top, m_FillArgb, m_BitmapAlpha, in StartDIBSource()
|
/external/pdfium/core/src/fxge/dib/ |
D | fx_dib_main.cpp | 358 FX_RECT dest_rect(src_rect.left + x_offset, src_rect.top + y_offset, in GetOverlapRect() local 361 dest_rect.Intersect(dest_bound); in GetOverlapRect() 363 dest_rect.Intersect(pClipRgn->GetBox()); in GetOverlapRect() 365 dest_left = dest_rect.left; in GetOverlapRect() 366 dest_top = dest_rect.top; in GetOverlapRect() 369 width = dest_rect.right - dest_rect.left; in GetOverlapRect() 370 height = dest_rect.bottom - dest_rect.top; in GetOverlapRect()
|
D | fx_dib_composite.cpp | 5013 FX_RECT& dest_rect, in Compose() argument 5023 m_DestLeft = dest_rect.left; in Compose() 5024 m_DestTop = dest_rect.top; in Compose() 5025 m_DestWidth = dest_rect.Width(); in Compose() 5026 m_DestHeight = dest_rect.Height(); in Compose()
|
/external/pdfium/xfa/src/fxfa/src/app/ |
D | xfa_ffwidget.cpp | 617 FX_RECT dest_rect = clip_box; in StartDIBSource() local 618 dest_rect.Intersect(image_rect); in StartDIBSource() 620 dest_rect.left - image_rect.left, dest_rect.top - image_rect.top, in StartDIBSource() 621 dest_rect.right - image_rect.left, dest_rect.bottom - image_rect.top); in StartDIBSource() 625 CompositeDIBitmap(pStretched, dest_rect.left, dest_rect.top, m_FillArgb, in StartDIBSource()
|
/external/pdfium/core/src/fxge/agg/src/ |
D | fx_agg_driver.cpp | 1710 FX_RECT dest_rect(dest_left, dest_top, dest_left + dest_width, in StretchDIBits() local 1712 dest_rect.Normalize(); in StretchDIBits() 1713 FX_RECT dest_clip = dest_rect; in StretchDIBits() 1719 dest_clip.Offset(-dest_rect.left, -dest_rect.top); in StretchDIBits()
|
/external/pdfium/core/include/fxge/ |
D | fx_dib.h | 531 FX_RECT& dest_rect,
|