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

Unified Diff: media/video/capture/linux/v4l2_capture_delegate_single_plane.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_single_plane.h
diff --git a/media/video/capture/linux/v4l2_capture_delegate_single_plane.h b/media/video/capture/linux/v4l2_capture_delegate_single_plane.h
index 7ca4d343fab360534a0fa7b4efc58161d3349ef7..8d4dc91f5206a2e8bb0a23c5b106768ca7e86bd4 100644
--- a/media/video/capture/linux/v4l2_capture_delegate_single_plane.h
+++ b/media/video/capture/linux/v4l2_capture_delegate_single_plane.h
@@ -45,6 +45,8 @@ class V4L2CaptureDelegateSinglePlane final : public V4L2CaptureDelegate {
uint32_t height,
uint32_t pixelformat_fourcc) const override;
void FinishFillingV4L2Buffer(v4l2_buffer* buffer) const override;
+ void SetPayloadSize(const scoped_refptr<BufferTracker>& buffer_tracker,
+ const v4l2_buffer& buffer) const override;
void SendBuffer(const scoped_refptr<BufferTracker>& buffer_tracker,
const v4l2_format& format) const override;
};

Powered by Google App Engine
This is Rietveld 408576698