Home
last modified time | relevance | path

Searched refs:dest_rect (Results 1 – 11 of 11) 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.cpp80 FX_RECT dest_rect = clip_box; in Start() local
81 dest_rect.Intersect(image_rect); in Start()
83 dest_rect.left - image_rect.left, dest_rect.top - image_rect.top, in Start()
84 dest_rect.right - image_rect.left, dest_rect.bottom - image_rect.top); in Start()
88 CompositeDIBitmap(pStretched, dest_rect.left, dest_rect.top); in Start()
/external/pdfium/core/fxge/dib/
Dcfx_bitmapcomposer.cpp20 const FX_RECT& dest_rect, in Compose() argument
28 m_DestLeft = dest_rect.left; in Compose()
29 m_DestTop = dest_rect.top; in Compose()
30 m_DestWidth = dest_rect.Width(); in Compose()
31 m_DestHeight = dest_rect.Height(); in Compose()
Dcfx_dibbase.cpp896 FX_RECT dest_rect(src_rect.left + x_offset, src_rect.top + y_offset, in GetOverlapRect() local
899 dest_rect.Intersect(dest_bound); in GetOverlapRect()
901 dest_rect.Intersect(pClipRgn->GetBox()); in GetOverlapRect()
902 dest_left = dest_rect.left; in GetOverlapRect()
903 dest_top = dest_rect.top; in GetOverlapRect()
917 width = dest_rect.right - dest_rect.left; in GetOverlapRect()
918 height = dest_rect.bottom - dest_rect.top; in GetOverlapRect()
Dcfx_bitmapcomposer.h31 const FX_RECT& dest_rect,
/external/pdfium/core/fxge/
Dcfx_renderdevice.cpp730 FX_RECT dest_rect(left, top, left + pBitmap->GetWidth(), in SetDIBitsWithBlend() local
732 dest_rect.Intersect(m_ClipBox); in SetDIBitsWithBlend()
733 if (dest_rect.IsEmpty()) in SetDIBitsWithBlend()
736 FX_RECT src_rect(dest_rect.left - left, dest_rect.top - top, in SetDIBitsWithBlend()
737 dest_rect.left - left + dest_rect.Width(), in SetDIBitsWithBlend()
738 dest_rect.top - top + dest_rect.Height()); in SetDIBitsWithBlend()
741 return m_pDeviceDriver->SetDIBits(pBitmap, 0, src_rect, dest_rect.left, in SetDIBitsWithBlend()
742 dest_rect.top, blend_mode); in SetDIBitsWithBlend()
747 int bg_pixel_width = dest_rect.Width(); in SetDIBitsWithBlend()
748 int bg_pixel_height = dest_rect.Height(); in SetDIBitsWithBlend()
[all …]
/external/pdfium/core/fpdfapi/render/
Dcpdf_imagerenderer.cpp470 FX_RECT dest_rect = clip_box; in StartDIBBase() local
471 dest_rect.Intersect(image_rect.value()); in StartDIBBase()
473 dest_rect.left - image_rect->left, dest_rect.top - image_rect->top, in StartDIBBase()
474 dest_rect.right - image_rect->left, dest_rect.bottom - image_rect->top); in StartDIBBase()
478 m_pRenderStatus->CompositeDIBitmap(pStretched, dest_rect.left, in StartDIBBase()
479 dest_rect.top, m_FillArgb, m_BitmapAlpha, in StartDIBBase()
/external/mesa3d/src/gallium/frontends/nine/
Dswapchain9.c728 RECT dest_rect; in present() local
762 dest_rect = *pDestRect; in present()
785 dest_rect.top = MAX2(0, dest_rect.top); in present()
786 dest_rect.left = MAX2(0, dest_rect.left); in present()
787 dest_rect.bottom = MIN2(target_height, dest_rect.bottom); in present()
788 dest_rect.right = MIN2(target_width, dest_rect.right); in present()
789 target_height = dest_rect.bottom - dest_rect.top; in present()
790 target_width = dest_rect.right - dest_rect.left; in present()
928 …his->present_handles[0], hDestWindowOverride, pSourceRect, pDestRect ? &dest_rect : NULL, NULL, dw… in present()
/external/pdfium/core/fxge/agg/
Dfx_agg_driver.cpp1550 FX_RECT dest_rect(dest_left, dest_top, dest_left + dest_width, in StretchDIBits() local
1552 dest_rect.Normalize(); in StretchDIBits()
1553 FX_RECT dest_clip = dest_rect; in StretchDIBits()
1558 dest_clip.Offset(-dest_rect.left, -dest_rect.top); in StretchDIBits()
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp2452 FX_RECT dest_rect(dest_left, dest_top, dest_left + dest_width, in StretchDIBits() local
2454 dest_rect.Normalize(); in StretchDIBits()
2455 FX_RECT dest_clip = dest_rect; in StretchDIBits()
2460 dest_clip.Offset(-dest_rect.left, -dest_rect.top); in StretchDIBits()