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

Unified Diff: media/capture/video/video_capture_jpeg_decoder.h

Issue 2583603002: [Mojo Video Capture] Split OnIncomingCapturedVideoFrame() to OnNewBuffer() + OnFrameReadyInBuffer() (Closed)
Patch Set: Improve naming and fix Android background issue Created 4 years 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 | « media/capture/video/video_capture_device_client.cc ('k') | media/capture/video/video_frame_receiver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/capture/video/video_capture_jpeg_decoder.h
diff --git a/media/capture/video/video_capture_jpeg_decoder.h b/media/capture/video/video_capture_jpeg_decoder.h
index 20b37b4649f186d9e1973c809e2d472adf190c8f..ddf4751ef087c48d7d8729e37871807dc5787eb2 100644
--- a/media/capture/video/video_capture_jpeg_decoder.h
+++ b/media/capture/video/video_capture_jpeg_decoder.h
@@ -4,7 +4,9 @@
#include "base/callback.h"
#include "media/capture/capture_export.h"
+#include "media/capture/mojo/video_capture_types.mojom.h"
#include "media/capture/video/video_capture_device.h"
+#include "media/capture/video/video_frame_receiver.h"
namespace media {
@@ -20,8 +22,10 @@ class CAPTURE_EXPORT VideoCaptureJpegDecoder {
};
using DecodeDoneCB =
- base::Callback<void(media::VideoCaptureDevice::Client::Buffer,
- scoped_refptr<media::VideoFrame>)>;
+ base::Callback<void(int buffer_id,
+ int frame_feedback_id,
+ std::unique_ptr<Ownership> buffer_read_permission,
+ mojom::VideoFrameInfoPtr frame_info)>;
virtual ~VideoCaptureJpegDecoder() {}
« no previous file with comments | « media/capture/video/video_capture_device_client.cc ('k') | media/capture/video/video_frame_receiver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698