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

Side by Side Diff: media/gpu/v4l2_video_decode_accelerator.cc

Issue 2050283002: Fix compile again (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@d_5_event_var
Patch Set: Created 4 years, 6 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 unified diff | Download patch
« no previous file with comments | « base/mac/libdispatch_task_runner.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/gpu/v4l2_video_decode_accelerator.h" 5 #include "media/gpu/v4l2_video_decode_accelerator.h"
6 6
7 #include <dlfcn.h> 7 #include <dlfcn.h>
8 #include <errno.h> 8 #include <errno.h>
9 #include <fcntl.h> 9 #include <fcntl.h>
10 #include <linux/videodev2.h> 10 #include <linux/videodev2.h>
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 decoder_flushing_(false), 159 decoder_flushing_(false),
160 resolution_change_reset_pending_(false), 160 resolution_change_reset_pending_(false),
161 decoder_partial_frame_pending_(false), 161 decoder_partial_frame_pending_(false),
162 input_streamon_(false), 162 input_streamon_(false),
163 input_buffer_queued_count_(0), 163 input_buffer_queued_count_(0),
164 output_streamon_(false), 164 output_streamon_(false),
165 output_buffer_queued_count_(0), 165 output_buffer_queued_count_(0),
166 output_dpb_size_(0), 166 output_dpb_size_(0),
167 output_planes_count_(0), 167 output_planes_count_(0),
168 picture_clearing_count_(0), 168 picture_clearing_count_(0),
169 pictures_assigned_(false, false), 169 pictures_assigned_(base::WaitableEvent::ResetPolicy::AUTOMATIC,
170 base::WaitableEvent::InitialState::NOT_SIGNALED),
170 device_poll_thread_("V4L2DevicePollThread"), 171 device_poll_thread_("V4L2DevicePollThread"),
171 egl_display_(egl_display), 172 egl_display_(egl_display),
172 get_gl_context_cb_(get_gl_context_cb), 173 get_gl_context_cb_(get_gl_context_cb),
173 make_context_current_cb_(make_context_current_cb), 174 make_context_current_cb_(make_context_current_cb),
174 video_profile_(media::VIDEO_CODEC_PROFILE_UNKNOWN), 175 video_profile_(media::VIDEO_CODEC_PROFILE_UNKNOWN),
175 output_format_fourcc_(0), 176 output_format_fourcc_(0),
176 egl_image_format_fourcc_(0), 177 egl_image_format_fourcc_(0),
177 egl_image_planes_count_(0), 178 egl_image_planes_count_(0),
178 weak_this_factory_(this) { 179 weak_this_factory_(this) {
179 weak_this_ = weak_this_factory_.GetWeakPtr(); 180 weak_this_ = weak_this_factory_.GetWeakPtr();
(...skipping 2060 matching lines...) Expand 10 before | Expand all | Expand 10 after
2240 Enqueue(); 2241 Enqueue();
2241 } 2242 }
2242 } 2243 }
2243 2244
2244 void V4L2VideoDecodeAccelerator::ImageProcessorError() { 2245 void V4L2VideoDecodeAccelerator::ImageProcessorError() {
2245 LOG(ERROR) << "Image processor error"; 2246 LOG(ERROR) << "Image processor error";
2246 NOTIFY_ERROR(PLATFORM_FAILURE); 2247 NOTIFY_ERROR(PLATFORM_FAILURE);
2247 } 2248 }
2248 2249
2249 } // namespace media 2250 } // namespace media
OLDNEW
« no previous file with comments | « base/mac/libdispatch_task_runner.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698