Lines Matching refs:DesktopFrame
25 DesktopFrame::DesktopFrame(DesktopSize size, in DesktopFrame() function in webrtc::DesktopFrame
39 DesktopFrame::~DesktopFrame() = default;
41 void DesktopFrame::CopyPixelsFrom(const uint8_t* src_buffer, in CopyPixelsFrom()
48 memcpy(dest, src_buffer, DesktopFrame::kBytesPerPixel * dest_rect.width()); in CopyPixelsFrom()
54 void DesktopFrame::CopyPixelsFrom(const DesktopFrame& src_frame, in CopyPixelsFrom()
65 bool DesktopFrame::CopyIntersectingPixelsFrom(const DesktopFrame& src_frame, in CopyIntersectingPixelsFrom()
106 DesktopRect DesktopFrame::rect() const { in rect()
113 float DesktopFrame::scale_factor() const { in scale_factor()
126 uint8_t* DesktopFrame::GetFrameDataAtPos(const DesktopVector& pos) const { in GetFrameDataAtPos()
127 return data() + stride() * pos.y() + DesktopFrame::kBytesPerPixel * pos.x(); in GetFrameDataAtPos()
130 void DesktopFrame::CopyFrameInfoFrom(const DesktopFrame& other) { in CopyFrameInfoFrom()
139 void DesktopFrame::MoveFrameInfoFrom(DesktopFrame* other) { in MoveFrameInfoFrom()
149 : DesktopFrame(size, in BasicDesktopFrame()
159 DesktopFrame* BasicDesktopFrame::CopyOf(const DesktopFrame& frame) { in CopyOf()
160 DesktopFrame* result = new BasicDesktopFrame(frame.size()); in CopyOf()
171 std::unique_ptr<DesktopFrame> SharedMemoryDesktopFrame::Create( in Create()
189 : DesktopFrame(size, in SharedMemoryDesktopFrame()