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

Unified Diff: content/common/gpu/media/v4l2_video_encode_accelerator.h

Issue 813693006: Add accelerated video decoder interface, VP8 and H.264 implementations and hook up to V4L2SVDA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/common/gpu/media/v4l2_video_encode_accelerator.h
diff --git a/content/common/gpu/media/v4l2_video_encode_accelerator.h b/content/common/gpu/media/v4l2_video_encode_accelerator.h
index 78886a546869068d67781e51929b49cc6ffc8fdb..3be5a837abbbdae18fcf8e8addee88d87efdd74a 100644
--- a/content/common/gpu/media/v4l2_video_encode_accelerator.h
+++ b/content/common/gpu/media/v4l2_video_encode_accelerator.h
@@ -42,7 +42,7 @@ namespace content {
class CONTENT_EXPORT V4L2VideoEncodeAccelerator
: public media::VideoEncodeAccelerator {
public:
- explicit V4L2VideoEncodeAccelerator(scoped_ptr<V4L2Device> device);
+ explicit V4L2VideoEncodeAccelerator(const scoped_refptr<V4L2Device>& device);
virtual ~V4L2VideoEncodeAccelerator();
// media::VideoEncodeAccelerator implementation.
@@ -224,7 +224,7 @@ class CONTENT_EXPORT V4L2VideoEncodeAccelerator
std::list<scoped_refptr<media::VideoFrame> > encoder_input_queue_;
// Encoder device.
- scoped_ptr<V4L2Device> device_;
+ scoped_refptr<V4L2Device> device_;
// Input queue state.
bool input_streamon_;
« no previous file with comments | « content/common/gpu/media/v4l2_video_device.cc ('k') | content/common/gpu/media/v4l2_video_encode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698