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

Unified Diff: content/common/gpu/media/v4l2_image_processor.cc

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_image_processor.cc
diff --git a/content/common/gpu/media/v4l2_image_processor.cc b/content/common/gpu/media/v4l2_image_processor.cc
index 400fce910b4111fd41831ffe31ace421e87207bd..da4a5527de21a12afb80edb5b32b9fb8c296b743 100644
--- a/content/common/gpu/media/v4l2_image_processor.cc
+++ b/content/common/gpu/media/v4l2_image_processor.cc
@@ -64,7 +64,7 @@ V4L2ImageProcessor::JobRecord::JobRecord() {
V4L2ImageProcessor::JobRecord::~JobRecord() {
}
-V4L2ImageProcessor::V4L2ImageProcessor(scoped_ptr<V4L2Device> device)
+V4L2ImageProcessor::V4L2ImageProcessor(const scoped_refptr<V4L2Device>& device)
: input_format_(media::VideoFrame::UNKNOWN),
output_format_(media::VideoFrame::UNKNOWN),
input_format_fourcc_(0),
@@ -72,7 +72,7 @@ V4L2ImageProcessor::V4L2ImageProcessor(scoped_ptr<V4L2Device> device)
input_planes_count_(0),
output_planes_count_(0),
child_message_loop_proxy_(base::MessageLoopProxy::current()),
- device_(device.Pass()),
+ device_(device),
device_thread_("V4L2ImageProcessorThread"),
device_poll_thread_("V4L2ImageProcessorDevicePollThread"),
input_streamon_(false),
« no previous file with comments | « content/common/gpu/media/v4l2_image_processor.h ('k') | content/common/gpu/media/v4l2_slice_video_decode_accelerator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698