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

Unified Diff: content/browser/renderer_host/media/video_capture_device_client.h

Issue 1016773002: MJPEG acceleration for video capture using VAAPI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move JPEG related code to separated file. And address some other comments Created 5 years, 8 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: content/browser/renderer_host/media/video_capture_device_client.h
diff --git a/content/browser/renderer_host/media/video_capture_device_client.h b/content/browser/renderer_host/media/video_capture_device_client.h
index 7da95da8e75174d4440a68122547119bed32c8d0..7a04b1623a0a915da8c7aeba4833afc4da7ad717 100644
--- a/content/browser/renderer_host/media/video_capture_device_client.h
+++ b/content/browser/renderer_host/media/video_capture_device_client.h
@@ -12,6 +12,7 @@
#include "media/video/capture/video_capture_device.h"
namespace content {
+class GpuJpegDecodeAcceleratorAdapter;
class VideoCaptureBufferPool;
class VideoCaptureController;
@@ -61,6 +62,9 @@ class CONTENT_EXPORT VideoCaptureDeviceClient
// The controller to which we post events.
const base::WeakPtr<VideoCaptureController> controller_;
+ // Hardware JPEG decoder.
+ scoped_ptr<GpuJpegDecodeAcceleratorAdapter> external_jpeg_decoder_;
+
// The pool of shared-memory buffers used for capturing.
const scoped_refptr<VideoCaptureBufferPool> buffer_pool_;

Powered by Google App Engine
This is Rietveld 408576698