Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1759)

Unified Diff: content/renderer/media/video_capture_impl.cc

Issue 850993002: gpu video: optimize HW video to SW canvas and implement it for WebRTC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android build fail Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/media/rtc_video_decoder.cc ('k') | content/renderer/media/webmediaplayer_ms.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/video_capture_impl.cc
diff --git a/content/renderer/media/video_capture_impl.cc b/content/renderer/media/video_capture_impl.cc
index 4b3860c4b8b256809ec8c2407265be2d2d6c21ea..7f395cd97e6f8ba8358a190ef4ff6c7345da66ca 100644
--- a/content/renderer/media/video_capture_impl.cc
+++ b/content/renderer/media/video_capture_impl.cc
@@ -259,8 +259,6 @@ void VideoCaptureImpl::OnBufferReceived(int buffer_id,
}
}
-static void NullReadPixelsCB(const SkBitmap& bitmap) { NOTIMPLEMENTED(); }
-
void VideoCaptureImpl::OnMailboxBufferReceived(
int buffer_id,
const gpu::MailboxHolder& mailbox_holder,
@@ -283,8 +281,7 @@ void VideoCaptureImpl::OnMailboxBufferReceived(
&VideoCaptureImpl::OnClientBufferFinished, weak_factory_.GetWeakPtr(),
buffer_id, scoped_refptr<ClientBuffer>())),
last_frame_format_.frame_size, gfx::Rect(last_frame_format_.frame_size),
- last_frame_format_.frame_size, timestamp - first_frame_timestamp_,
- base::Bind(&NullReadPixelsCB), false);
+ last_frame_format_.frame_size, timestamp - first_frame_timestamp_, false);
for (ClientInfoMap::iterator it = clients_.begin(); it != clients_.end();
++it) {
« no previous file with comments | « content/renderer/media/rtc_video_decoder.cc ('k') | content/renderer/media/webmediaplayer_ms.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698