/external/webrtc/webrtc/modules/desktop_capture/ |
D | desktop_and_cursor_composer.cc | 30 uint32_t base_alpha = 255 - src[x * DesktopFrame::kBytesPerPixel + 3]; in AlphaBlend() 34 memcpy(dest + x * DesktopFrame::kBytesPerPixel, in AlphaBlend() 35 src + x * DesktopFrame::kBytesPerPixel, in AlphaBlend() 36 DesktopFrame::kBytesPerPixel); in AlphaBlend() 38 dest[x * DesktopFrame::kBytesPerPixel] = in AlphaBlend() 39 dest[x * DesktopFrame::kBytesPerPixel] * base_alpha / 255 + in AlphaBlend() 40 src[x * DesktopFrame::kBytesPerPixel]; in AlphaBlend() 41 dest[x * DesktopFrame::kBytesPerPixel + 1] = in AlphaBlend() 42 dest[x * DesktopFrame::kBytesPerPixel + 1] * base_alpha / 255 + in AlphaBlend() 43 src[x * DesktopFrame::kBytesPerPixel + 1]; in AlphaBlend() [all …]
|
D | desktop_frame.cc | 18 DesktopFrame::DesktopFrame(DesktopSize size, in DesktopFrame() function in webrtc::DesktopFrame 29 DesktopFrame::~DesktopFrame() {} in ~DesktopFrame() 31 void DesktopFrame::CopyPixelsFrom(uint8_t* src_buffer, int src_stride, in CopyPixelsFrom() 37 memcpy(dest, src_buffer, DesktopFrame::kBytesPerPixel * dest_rect.width()); in CopyPixelsFrom() 43 void DesktopFrame::CopyPixelsFrom(const DesktopFrame& src_frame, in CopyPixelsFrom() 53 uint8_t* DesktopFrame::GetFrameDataAtPos(const DesktopVector& pos) const { in GetFrameDataAtPos() 54 return data() + stride() * pos.y() + DesktopFrame::kBytesPerPixel * pos.x(); in GetFrameDataAtPos() 58 : DesktopFrame(size, kBytesPerPixel * size.width(), in BasicDesktopFrame() 67 DesktopFrame* BasicDesktopFrame::CopyOf(const DesktopFrame& frame) { in CopyOf() 68 DesktopFrame* result = new BasicDesktopFrame(frame.size()); in CopyOf() [all …]
|
D | desktop_frame.h | 23 class DesktopFrame { 28 virtual ~DesktopFrame(); 66 void CopyPixelsFrom(const DesktopFrame& src_frame, 74 DesktopFrame(DesktopSize size, 94 RTC_DISALLOW_COPY_AND_ASSIGN(DesktopFrame); 98 class BasicDesktopFrame : public DesktopFrame { 104 static DesktopFrame* CopyOf(const DesktopFrame& frame); 111 class SharedMemoryDesktopFrame : public DesktopFrame {
|
D | cropped_desktop_frame.cc | 16 class CroppedDesktopFrame : public DesktopFrame { 18 CroppedDesktopFrame(DesktopFrame* frame, const DesktopRect& rect); 21 rtc::scoped_ptr<DesktopFrame> frame_; 26 DesktopFrame* 27 CreateCroppedDesktopFrame(DesktopFrame* frame, const DesktopRect& rect) { in CreateCroppedDesktopFrame() 36 CroppedDesktopFrame::CroppedDesktopFrame(DesktopFrame* frame, in CroppedDesktopFrame() 38 : DesktopFrame(rect.size(), in CroppedDesktopFrame()
|
D | shared_desktop_frame.cc | 20 Core(DesktopFrame* frame) : frame_(frame) {} in Core() 22 DesktopFrame* frame() { return frame_.get(); } in frame() 42 rtc::scoped_ptr<DesktopFrame> frame_; 51 DesktopFrame* desktop_frame) { in Wrap() 56 DesktopFrame* SharedDesktopFrame::GetUnderlyingFrame() { in GetUnderlyingFrame() 73 : DesktopFrame(core->frame()->size(), in SharedDesktopFrame()
|
D | mouse_cursor.h | 20 class DesktopFrame; variable 27 MouseCursor(DesktopFrame* image, const DesktopVector& hotspot); 33 void set_image(DesktopFrame* image) { image_.reset(image); } in set_image() 34 const DesktopFrame* image() const { return image_.get(); } in image() 40 rtc::scoped_ptr<DesktopFrame> image_;
|
D | desktop_and_cursor_composer_unittest.cc | 45 uint32_t GetFramePixel(const DesktopFrame& frame, const DesktopVector& pos) { in GetFramePixel() 47 pos.x() * DesktopFrame::kBytesPerPixel); in GetFramePixel() 61 DesktopFrame* CreateTestFrame() { in CreateTestFrame() 62 DesktopFrame* frame = in CreateTestFrame() 83 void SetNextFrame(DesktopFrame* next_frame) { in SetNextFrame() 90 rtc::scoped_ptr<DesktopFrame> next_frame_; 112 rtc::scoped_ptr<DesktopFrame> image( in Capture() 139 void VerifyFrame(const DesktopFrame& frame, in VerifyFrame() 173 void OnCaptureCompleted(DesktopFrame* frame) override { frame_.reset(frame); } in OnCaptureCompleted() 181 rtc::scoped_ptr<DesktopFrame> frame_; [all …]
|
D | screen_capturer_mac_unittest.cc | 34 void CaptureDoneCallback1(DesktopFrame* frame); 38 void CaptureDoneCallback2(DesktopFrame* frame); 48 DesktopFrame* frame) { in CaptureDoneCallback1() 49 rtc::scoped_ptr<DesktopFrame> owned_frame(frame); in CaptureDoneCallback1() 60 DesktopFrame* frame) { in CaptureDoneCallback2() 61 rtc::scoped_ptr<DesktopFrame> owned_frame(frame); in CaptureDoneCallback2()
|
D | screen_capturer_x11.cc | 66 DesktopFrame* CaptureScreen(); 256 rtc::scoped_ptr<DesktopFrame> frame( in Capture() 262 DesktopFrame* frame = queue_.current_frame(); in Capture() 269 DesktopFrame::kBytesPerPixel, in Capture() 273 DesktopFrame* result = CaptureScreen(); in Capture() 309 DesktopFrame* ScreenCapturerLinux::CaptureScreen() { in CaptureScreen() 310 DesktopFrame* frame = queue_.current_frame()->Share(); in CaptureScreen() 401 DesktopFrame* current = queue_.current_frame(); in SynchronizeFrame() 402 DesktopFrame* last = queue_.previous_frame(); in SynchronizeFrame()
|
D | shared_desktop_frame.h | 21 class SharedDesktopFrame : public DesktopFrame { 25 static SharedDesktopFrame* Wrap(DesktopFrame* desktop_frame); 28 DesktopFrame* GetUnderlyingFrame();
|
D | screen_capturer_unittest.cc | 76 DesktopFrame* frame = NULL; in TEST_F() 91 frame->size().width() * DesktopFrame::kBytesPerPixel); in TEST_F() 108 DesktopFrame* frame = NULL; in TEST_F() 131 DesktopFrame* frame = NULL; in TEST_F()
|
D | cropped_desktop_frame.h | 20 DesktopFrame* CreateCroppedDesktopFrame(DesktopFrame* frame,
|
D | cropping_window_capturer.cc | 76 void CroppingWindowCapturer::OnCaptureCompleted(DesktopFrame* frame) { in OnCaptureCompleted() 77 rtc::scoped_ptr<DesktopFrame> screen_frame(frame); in OnCaptureCompleted() 98 rtc::scoped_ptr<DesktopFrame> window_frame( in OnCaptureCompleted()
|
D | screen_capture_frame_queue.h | 19 class DesktopFrame; variable 48 void ReplaceCurrentFrame(DesktopFrame* frame);
|
D | desktop_capturer.h | 20 class DesktopFrame; variable 38 virtual void OnCaptureCompleted(DesktopFrame* frame) = 0;
|
D | screen_capturer_mac.mm | 206 void GlBlitFast(const DesktopFrame& frame, 208 void GlBlitSlow(const DesktopFrame& frame); 209 void CgBlitPreLion(const DesktopFrame& frame, 212 bool CgBlitPostLion(const DesktopFrame& frame, 234 DesktopFrame* CreateFrame(); 286 // DesktopFrame wrapper that flips wrapped frame upside down by inverting 288 class InvertedDesktopFrame : public DesktopFrame { 291 InvertedDesktopFrame(DesktopFrame* frame) 292 : DesktopFrame( 304 rtc::scoped_ptr<DesktopFrame> original_frame_; [all …]
|
D | window_capturer_unittest.cc | 35 void OnCaptureCompleted(DesktopFrame* frame) override { frame_.reset(frame); } in OnCaptureCompleted() 39 rtc::scoped_ptr<DesktopFrame> frame_;
|
D | mouse_cursor_monitor_mac.mm | 244 if (CGImageGetBitsPerPixel(cg_image) != DesktopFrame::kBytesPerPixel * 8 || 246 static_cast<size_t>(DesktopFrame::kBytesPerPixel * size.width()) || 271 rtc::scoped_ptr<DesktopFrame> image( 274 size.width() * size.height() * DesktopFrame::kBytesPerPixel);
|
D | screen_capture_frame_queue.cc | 35 void ScreenCaptureFrameQueue::ReplaceCurrentFrame(DesktopFrame* frame) { in ReplaceCurrentFrame()
|
D | desktop_frame_win.h | 24 class DesktopFrameWin : public DesktopFrame {
|
/external/webrtc/webrtc/modules/desktop_capture/x11/ |
D | x_server_pixel_buffer.h | 23 class DesktopFrame; variable 57 void CaptureRect(const DesktopRect& rect, DesktopFrame* frame); 67 DesktopFrame* frame); 70 DesktopFrame* frame);
|
D | x_server_pixel_buffer.cc | 237 DesktopFrame* frame) { in CaptureRect() 270 DesktopFrame* frame) { in FastBlit() 276 dst_pos += dst_x * DesktopFrame::kBytesPerPixel; in FastBlit() 279 int row_bytes = rect.width() * DesktopFrame::kBytesPerPixel; in FastBlit() 289 DesktopFrame* frame) { in SlowBlit() 306 dst_pos += dst_x * DesktopFrame::kBytesPerPixel; in SlowBlit()
|
/external/webrtc/webrtc/modules/desktop_capture/win/ |
D | screen_capturer_win_magnifier.cc | 132 const DesktopFrame* current_frame = queue_.current_frame(); in Capture() 133 const DesktopFrame* last_frame = queue_.previous_frame(); in Capture() 142 DesktopFrame::kBytesPerPixel, in Capture() 160 DesktopFrame* frame = queue_.current_frame()->Share(); in Capture() 390 DesktopFrame* current_frame = queue_.current_frame(); in OnCaptured() 399 captured_bytes_per_pixel != DesktopFrame::kBytesPerPixel) { in OnCaptured() 426 size.width() * size.height() * DesktopFrame::kBytesPerPixel; in CreateCurrentFrameIfNecessary() 429 rtc::scoped_ptr<DesktopFrame> buffer; in CreateCurrentFrameIfNecessary() 432 size, size.width() * DesktopFrame::kBytesPerPixel, shared_memory)); in CreateCurrentFrameIfNecessary()
|
D | screen_capturer_win_gdi.cc | 95 const DesktopFrame* current_frame = queue_.current_frame(); in Capture() 96 const DesktopFrame* last_frame = queue_.previous_frame(); in Capture() 106 DesktopFrame::kBytesPerPixel, in Capture() 124 DesktopFrame* frame = queue_.current_frame()->Share(); in Capture() 241 DesktopFrame::kBytesPerPixel; in CaptureImage() 244 rtc::scoped_ptr<DesktopFrame> buffer( in CaptureImage()
|
D | cursor.cc | 45 const int kBytesPerPixel = DesktopFrame::kBytesPerPixel; 165 rtc::scoped_ptr<DesktopFrame> image( in CreateMouseCursorFromHCursor()
|