Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/desktop_capture/
Ddesktop_frame.cc32 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()
Ddesktop_frame.h65 const DesktopRect& dest_rect);
68 const DesktopRect& dest_rect);
/external/pdfium/xfa/fxfa/
Dcxfa_imagerenderer.cpp81 FX_RECT dest_rect = clip_box; in Start() local
82 dest_rect.Intersect(image_rect); in Start()
84 dest_rect.left - image_rect.left, dest_rect.top - image_rect.top, in Start()
85 dest_rect.right - image_rect.left, dest_rect.bottom - image_rect.top); in Start()
89 CompositeDIBitmap(pStretched, dest_rect.left, dest_rect.top); in Start()
/external/pdfium/core/fxge/dib/
Dcfx_bitmapcomposer.cpp21 const FX_RECT& dest_rect, in Compose() argument
30 m_DestLeft = dest_rect.left; in Compose()
31 m_DestTop = dest_rect.top; in Compose()
32 m_DestWidth = dest_rect.Width(); in Compose()
33 m_DestHeight = dest_rect.Height(); in Compose()
Dcfx_dibsource.cpp760 FX_RECT dest_rect(src_rect.left + x_offset, src_rect.top + y_offset, in GetOverlapRect() local
763 dest_rect.Intersect(dest_bound); in GetOverlapRect()
765 dest_rect.Intersect(pClipRgn->GetBox()); in GetOverlapRect()
766 dest_left = dest_rect.left; in GetOverlapRect()
767 dest_top = dest_rect.top; in GetOverlapRect()
770 width = dest_rect.right - dest_rect.left; in GetOverlapRect()
771 height = dest_rect.bottom - dest_rect.top; in GetOverlapRect()
Dcfx_bitmapcomposer.h30 const FX_RECT& dest_rect,
/external/pdfium/core/fxge/
Dcfx_renderdevice.cpp740 FX_RECT dest_rect(left, top, in SetDIBitsWithBlend() local
743 dest_rect.Intersect(m_ClipBox); in SetDIBitsWithBlend()
744 if (dest_rect.IsEmpty()) in SetDIBitsWithBlend()
747 FX_RECT src_rect(dest_rect.left - left, dest_rect.top - top, in SetDIBitsWithBlend()
748 dest_rect.left - left + dest_rect.Width(), in SetDIBitsWithBlend()
749 dest_rect.top - top + dest_rect.Height()); in SetDIBitsWithBlend()
756 return m_pDeviceDriver->SetDIBits(pBitmap, 0, &src_rect, dest_rect.left, in SetDIBitsWithBlend()
757 dest_rect.top, blend_mode); in SetDIBitsWithBlend()
762 int bg_pixel_width = FXSYS_round(dest_rect.Width() * fScaleX); in SetDIBitsWithBlend()
763 int bg_pixel_height = FXSYS_round(dest_rect.Height() * fScaleY); in SetDIBitsWithBlend()
[all …]
/external/pdfium/core/fpdfapi/render/
Dcpdf_imagerenderer.cpp460 FX_RECT dest_rect = clip_box; in StartDIBSource() local
461 dest_rect.Intersect(image_rect); in StartDIBSource()
463 dest_rect.left - image_rect.left, dest_rect.top - image_rect.top, in StartDIBSource()
464 dest_rect.right - image_rect.left, dest_rect.bottom - image_rect.top); in StartDIBSource()
468 m_pRenderStatus->CompositeDIBitmap(pStretched, dest_rect.left, in StartDIBSource()
469 dest_rect.top, m_FillArgb, m_BitmapAlpha, in StartDIBSource()
/external/pdfium/core/fxge/agg/
Dfx_agg_driver.cpp1522 FX_RECT dest_rect(dest_left, dest_top, dest_left + dest_width, in StretchDIBits() local
1524 dest_rect.Normalize(); in StretchDIBits()
1525 FX_RECT dest_clip = dest_rect; in StretchDIBits()
1530 dest_clip.Offset(-dest_rect.left, -dest_rect.top); in StretchDIBits()
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp2321 FX_RECT dest_rect(dest_left, dest_top, dest_left + dest_width, in StretchDIBits() local
2323 dest_rect.Normalize(); in StretchDIBits()
2324 FX_RECT dest_clip = dest_rect; in StretchDIBits()
2329 dest_clip.Offset(-dest_rect.left, -dest_rect.top); in StretchDIBits()