OLD | NEW |
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 | 5 |
| 6 #include <errno.h> |
6 #include <fcntl.h> | 7 #include <fcntl.h> |
7 #include <libdrm/drm_fourcc.h> | 8 #include <libdrm/drm_fourcc.h> |
8 #include <linux/videodev2.h> | 9 #include <linux/videodev2.h> |
9 #include <poll.h> | 10 #include <poll.h> |
10 #include <sys/eventfd.h> | 11 #include <sys/eventfd.h> |
11 #include <sys/ioctl.h> | 12 #include <sys/ioctl.h> |
12 #include <sys/mman.h> | 13 #include <sys/mman.h> |
13 | 14 |
14 #include "base/files/scoped_file.h" | 15 #include "base/files/scoped_file.h" |
15 #include "base/posix/eintr_wrapper.h" | 16 #include "base/posix/eintr_wrapper.h" |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 StubPathMap paths; | 296 StubPathMap paths; |
296 paths[kModuleV4l2].push_back(kV4l2Lib); | 297 paths[kModuleV4l2].push_back(kV4l2Lib); |
297 | 298 |
298 return InitializeStubs(paths); | 299 return InitializeStubs(paths); |
299 #else | 300 #else |
300 return true; | 301 return true; |
301 #endif | 302 #endif |
302 } | 303 } |
303 | 304 |
304 } // namespace content | 305 } // namespace content |
OLD | NEW |