desktop_capture_device.cc | 111 scoped_ptr<webrtc::DesktopFrame> output_frame_; member in class:content::DesktopCaptureDevice::Core 113 // Sub-rectangle of |output_frame_| into which the source will be scaled 213 // |output_frame_| is cleared whenever |output_rect_| changes, so we don't 215 if (!output_frame_) { 216 output_frame_.reset(new webrtc::BasicDesktopFrame(output_size)); 217 memset(output_frame_->data(), 0, output_bytes); 219 DCHECK(output_frame_->size().equals(output_size)); 223 uint8_t* output_rect_data = output_frame_->data() + 224 output_frame_->stride() * output_rect_.top() + 228 output_rect_data, output_frame_->stride() [all...] |