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

Unified Diff: media/video/capture/linux/v4l2_capture_delegate.h

Issue 1147693002: Send bytes_used of v4l2 captured frame when video capture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
Index: media/video/capture/linux/v4l2_capture_delegate.h
diff --git a/media/video/capture/linux/v4l2_capture_delegate.h b/media/video/capture/linux/v4l2_capture_delegate.h
index bd0ccad6cf73c30263474a6ca616784c3ca1e33d..7a296c2231d05116e1ca89d24f1af077cb46680a 100644
--- a/media/video/capture/linux/v4l2_capture_delegate.h
+++ b/media/video/capture/linux/v4l2_capture_delegate.h
@@ -99,9 +99,9 @@ class V4L2CaptureDelegate
virtual void FinishFillingV4L2Buffer(v4l2_buffer* buffer) const = 0;
// Sends the captured |buffer| to the |client_|, synchronously.
- virtual void SendBuffer(
- const scoped_refptr<BufferTracker>& buffer_tracker,
- const v4l2_format& format) const = 0;
+ virtual void SendBuffer(const scoped_refptr<BufferTracker>& buffer_tracker,
+ const v4l2_format& format,
+ size_t bytes_used) const = 0;
wuchengli 2015/05/19 04:05:54 s/bytes_used/bytesused/ to be consistent with v4l2
kcwu 2015/05/20 12:14:52 Acknowledged.
// A few accessors for SendBuffer()'s to access private member variables.
VideoCaptureFormat capture_format() const { return capture_format_; }

Powered by Google App Engine
This is Rietveld 408576698