/external/chromium_org/third_party/webrtc/modules/desktop_capture/ |
H A D | desktop_frame.cc | 32 const DesktopRect& dest_rect) { 33 assert(DesktopRect::MakeSize(size()).ContainsRect(dest_rect)); 35 uint8_t* dest = data() + stride() * dest_rect.top() + 36 DesktopFrame::kBytesPerPixel * dest_rect.left(); 37 for (int y = 0; y < dest_rect.height(); ++y) { 38 memcpy(dest, src_buffer, DesktopFrame::kBytesPerPixel * dest_rect.width()); 46 const DesktopRect& dest_rect) { 48 DesktopRect::MakeOriginSize(src_pos, dest_rect.size()))); 52 src_frame.stride(), dest_rect); 31 CopyPixelsFrom(uint8_t* src_buffer, int src_stride, const DesktopRect& dest_rect) argument 44 CopyPixelsFrom(const DesktopFrame& src_frame, const DesktopVector& src_pos, const DesktopRect& dest_rect) argument
|
/external/chromium_org/ui/gfx/ |
H A D | blit.cc | 169 gfx::Rect dest_rect = gfx::IntersectRects(clip + offset, clip); local 170 if (dest_rect.size().IsEmpty()) 173 // Compute the source pixels that will map to the dest_rect 174 gfx::Rect src_rect = dest_rect - offset; 176 size_t row_bytes = dest_rect.width() * 4; 179 for (int y = dest_rect.height() - 1; y >= 0; y--) { 180 memcpy(bitmap.getAddr32(dest_rect.x(), dest_rect.y() + y), 186 for (int y = 0; y < dest_rect.height(); y++) { 187 memcpy(bitmap.getAddr32(dest_rect [all...] |
H A D | canvas.cc | 533 SkRect dest_rect = { SkIntToScalar(dest_x), local 537 canvas_->drawRect(dest_rect, paint); 601 SkRect dest_rect = { SkIntToScalar(dest_x), 613 canvas_->drawBitmapRect(bitmap, &src_rect, dest_rect, &paint); 641 canvas_->drawRect(dest_rect, p);
|
/external/chromium_org/media/filters/ |
H A D | skcanvas_video_renderer.cc | 299 const gfx::RectF& dest_rect, 308 dest.set(dest_rect.x(), dest_rect.y(), dest_rect.right(), dest_rect.bottom()); 297 Paint(const scoped_refptr<VideoFrame>& video_frame, SkCanvas* canvas, const gfx::RectF& dest_rect, uint8 alpha, SkXfermode::Mode mode, VideoRotation video_rotation) argument
|
/external/chromium_org/remoting/base/ |
H A D | util_unittest.cc | 157 webrtc::DesktopRect dest_rect = webrtc::DesktopRect::MakeLTRB( local 163 tester.RunTest(dest_size, dest_rect); 175 webrtc::DesktopRect dest_rect = webrtc::DesktopRect::MakeLTRB( local 181 tester.RunTest(dest_size, dest_rect);
|
H A D | util.cc | 60 const webrtc::DesktopRect& dest_rect) { 67 DCHECK(DoesRectContain(dest_buffer_rect, dest_rect)); 69 dest_rect)); 88 webrtc::DesktopRect::MakeLTRB(RoundToTwosMultiple(dest_rect.left() + 1), 89 RoundToTwosMultiple(dest_rect.top() + 1), 90 dest_rect.right(), dest_rect.bottom()); 107 if (!dest_rect.equals(inner_rect)) { 109 webrtc::DesktopRect::MakeLTRB(RoundToTwosMultiple(dest_rect.left()), 110 RoundToTwosMultiple(dest_rect 48 ConvertAndScaleYUVToRGB32Rect( const uint8* source_yplane, const uint8* source_uplane, const uint8* source_vplane, int source_ystride, int source_uvstride, const webrtc::DesktopSize& source_size, const webrtc::DesktopRect& source_buffer_rect, uint8* dest_buffer, int dest_stride, const webrtc::DesktopSize& dest_size, const webrtc::DesktopRect& dest_buffer_rect, const webrtc::DesktopRect& dest_rect) argument 189 CopyRGB32Rect(const uint8* source_buffer, int source_stride, const webrtc::DesktopRect& source_buffer_rect, uint8* dest_buffer, int dest_stride, const webrtc::DesktopRect& dest_buffer_rect, const webrtc::DesktopRect& dest_rect) argument [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/photon/ |
H A D | SDL_ph_image.c | 1011 PhArea_t dest_rect; local 1034 dest_rect.pos.x=rects[i].x; 1035 dest_rect.pos.y=rects[i].y; 1039 dest_rect.size.w=rects[i].w; 1040 dest_rect.size.h=rects[i].h; 1042 PgContextBlitArea(OCImage.offscreen_context, &src_rect, NULL, &dest_rect);
|
/external/chromium_org/cc/output/ |
H A D | software_renderer.cc | 469 SkRect dest_rect = gfx::RectFToSkRect(QuadVertexRect()); local 475 content_mat.setRectToRect(content_rect, dest_rect, 529 mask_mat.setRectToRect(mask_rect, dest_rect, SkMatrix::kFill_ScaleToFit);
|
/external/chromium_org/cc/resources/ |
H A D | picture_layer_tiling_unittest.cc | 173 const gfx::Rect& dest_rect) { 177 clamped_rect.Intersect(dest_rect); 178 VerifyTilesExactlyCoverRect(rect_scale, dest_rect, clamped_rect); 172 VerifyTilesCoverNonContainedRect(float rect_scale, const gfx::Rect& dest_rect) argument
|
H A D | picture_layer_tiling.cc | 327 const gfx::Rect& dest_rect) 329 dest_rect_(dest_rect), 324 CoverageIterator( const PictureLayerTiling* tiling, float dest_scale, const gfx::Rect& dest_rect) argument
|
/external/chromium_org/content/renderer/pepper/ |
H A D | pepper_graphics_2d_host.cc | 107 const SkRect& dest_rect) { 117 dest_rect.width() == dest_image->width()) { 123 dest_bitmap->getAddr32(static_cast<int>(dest_rect.fLeft), 124 static_cast<int>(dest_rect.fTop))); 132 dest_bitmap->getAddr32(static_cast<int>(dest_rect.fLeft), 133 static_cast<int>(dest_rect.fTop + y))); 271 SkRect dest_rect = {SkIntToScalar(0), SkIntToScalar(0), local 277 ConvertImageData(image_data_.get(), src_irect, image_resource, dest_rect); 285 *image_data_->GetMappedBitmap(), &src_irect, dest_rect, &paint); 713 SkRect dest_rect local 104 ConvertImageData(PPB_ImageData_Impl* src_image, const SkIRect& src_rect, PPB_ImageData_Impl* dest_image, const SkRect& dest_rect) argument 749 SkRect dest_rect = {SkIntToScalar(0), SkIntToScalar(0), local [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
H A D | fpdf_render_image.cpp | 786 FX_RECT dest_rect = clip_box;
local 787 dest_rect.Intersect(image_rect);
788 FX_RECT dest_clip(dest_rect.left - image_rect.left, dest_rect.top - image_rect.top,
789 dest_rect.right - image_rect.left, dest_rect.bottom - image_rect.top);
792 m_pRenderStatus->CompositeDIBitmap(pStretched, dest_rect.left, dest_rect.top, m_FillArgb,
|
/external/pdfium/core/src/fxge/dib/ |
H A D | fx_dib_composite.cpp | 4442 FX_DWORD mask_color, FX_RECT& dest_rect, FX_BOOL bVertical,
4448 m_DestLeft = dest_rect.left;
4449 m_DestTop = dest_rect.top;
4450 m_DestWidth = dest_rect.Width();
4451 m_DestHeight = dest_rect.Height();
4441 Compose(CFX_DIBitmap* pDest, const CFX_ClipRgn* pClipRgn, int bitmap_alpha, FX_DWORD mask_color, FX_RECT& dest_rect, FX_BOOL bVertical, FX_BOOL bFlipX, FX_BOOL bFlipY, FX_BOOL bRgbByteOrder, int alpha_flag, void* pIccTransform, int blend_type) argument
|