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

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

Issue 2735083002: [Mojo Video Capture] Add test coverage for accelerated jpeg decoding (Closed)
Patch Set: Removed OnStoppedUsingGpuDecode() event. Created 3 years, 9 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/capture/video/video_capture_device_client.h
diff --git a/media/capture/video/video_capture_device_client.h b/media/capture/video/video_capture_device_client.h
index a1b298fe81e02769cc1d70f644823b6d7f80f6a1..c6fddcbdf1e9c39addcd381fac52540fd6c41c40 100644
--- a/media/capture/video/video_capture_device_client.h
+++ b/media/capture/video/video_capture_device_client.h
@@ -85,6 +85,8 @@ class CAPTURE_EXPORT VideoCaptureDeviceClient
double GetBufferPoolUtilization() const override;
private:
+ void OnUsingExternalJpegDecoder();
+
void InitializeI420PlanePointers(const gfx::Size& dimensions,
uint8_t* const data,
uint8_t** y_plane_data,
@@ -108,6 +110,7 @@ class CAPTURE_EXPORT VideoCaptureDeviceClient
// Whether |external_jpeg_decoder_| has been initialized.
bool external_jpeg_decoder_initialized_;
+ bool using_external_jpeg_decoder_;
mcasas 2017/03/08 01:33:17 What about removing OnUsingExternalJpegDecoder() a
chfremer 2017/03/08 18:58:08 Done.
// The pool of shared-memory buffers used for capturing.
const scoped_refptr<VideoCaptureBufferPool> buffer_pool_;

Powered by Google App Engine
This is Rietveld 408576698