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

Side by Side Diff: content/common/gpu/media/exynos_video_decode_accelerator.cc

Issue 16514006: Update includes of message_loop_proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « content/common/gpu/gpu_channel_manager.h ('k') | content/public/browser/browser_thread.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <dlfcn.h> 5 #include <dlfcn.h>
6 #include <errno.h> 6 #include <errno.h>
7 #include <fcntl.h> 7 #include <fcntl.h>
8 #include <linux/videodev2.h> 8 #include <linux/videodev2.h>
9 #include <poll.h> 9 #include <poll.h>
10 #include <sys/eventfd.h> 10 #include <sys/eventfd.h>
11 #include <sys/ioctl.h> 11 #include <sys/ioctl.h>
12 #include <sys/mman.h> 12 #include <sys/mman.h>
13 13
14 #include "base/bind.h" 14 #include "base/bind.h"
15 #include "base/debug/trace_event.h" 15 #include "base/debug/trace_event.h"
16 #include "base/message_loop.h" 16 #include "base/message_loop.h"
17 #include "base/message_loop_proxy.h" 17 #include "base/message_loop/message_loop_proxy.h"
18 #include "base/posix/eintr_wrapper.h" 18 #include "base/posix/eintr_wrapper.h"
19 #include "base/shared_memory.h" 19 #include "base/shared_memory.h"
20 #include "content/common/gpu/media/exynos_video_decode_accelerator.h" 20 #include "content/common/gpu/media/exynos_video_decode_accelerator.h"
21 #include "content/common/gpu/media/h264_parser.h" 21 #include "content/common/gpu/media/h264_parser.h"
22 #include "ui/gl/scoped_binders.h" 22 #include "ui/gl/scoped_binders.h"
23 23
24 namespace content { 24 namespace content {
25 25
26 #define NOTIFY_ERROR(x) \ 26 #define NOTIFY_ERROR(x) \
27 do { \ 27 do { \
(...skipping 2206 matching lines...) Expand 10 before | Expand all | Expand 10 after
2234 reqbufs.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; 2234 reqbufs.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE;
2235 reqbufs.memory = V4L2_MEMORY_DMABUF; 2235 reqbufs.memory = V4L2_MEMORY_DMABUF;
2236 if (ioctl(gsc_fd_, VIDIOC_REQBUFS, &reqbufs) != 0) 2236 if (ioctl(gsc_fd_, VIDIOC_REQBUFS, &reqbufs) != 0)
2237 DPLOG(ERROR) << "DestroyGscOutputBuffers(): ioctl() failed: VIDIOC_REQBUFS"; 2237 DPLOG(ERROR) << "DestroyGscOutputBuffers(): ioctl() failed: VIDIOC_REQBUFS";
2238 2238
2239 gsc_output_buffer_map_.clear(); 2239 gsc_output_buffer_map_.clear();
2240 gsc_free_output_buffers_.clear(); 2240 gsc_free_output_buffers_.clear();
2241 } 2241 }
2242 2242
2243 } // namespace content 2243 } // namespace content
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_channel_manager.h ('k') | content/public/browser/browser_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698