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

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

Issue 1544273002: Switch to standard integer types in content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
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 5
6 #include <errno.h> 6 #include <errno.h>
7 #include <fcntl.h> 7 #include <fcntl.h>
8 #include <libdrm/drm_fourcc.h> 8 #include <libdrm/drm_fourcc.h>
9 #include <linux/videodev2.h> 9 #include <linux/videodev2.h>
10 #include <poll.h> 10 #include <poll.h>
11 #include <string.h>
11 #include <sys/eventfd.h> 12 #include <sys/eventfd.h>
12 #include <sys/ioctl.h> 13 #include <sys/ioctl.h>
13 #include <sys/mman.h> 14 #include <sys/mman.h>
14 15
15 #include "base/files/scoped_file.h" 16 #include "base/files/scoped_file.h"
16 #include "base/macros.h" 17 #include "base/macros.h"
17 #include "base/posix/eintr_wrapper.h" 18 #include "base/posix/eintr_wrapper.h"
18 #include "base/trace_event/trace_event.h" 19 #include "base/trace_event/trace_event.h"
19 #include "build/build_config.h" 20 #include "build/build_config.h"
20 #include "content/common/gpu/media/generic_v4l2_device.h" 21 #include "content/common/gpu/media/generic_v4l2_device.h"
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 StubPathMap paths; 299 StubPathMap paths;
299 paths[kModuleV4l2].push_back(kV4l2Lib); 300 paths[kModuleV4l2].push_back(kV4l2Lib);
300 301
301 return InitializeStubs(paths); 302 return InitializeStubs(paths);
302 #else 303 #else
303 return true; 304 return true;
304 #endif 305 #endif
305 } 306 }
306 307
307 } // namespace content 308 } // namespace content
OLDNEW
« no previous file with comments | « content/common/gpu/media/fake_video_decode_accelerator.cc ('k') | content/common/gpu/media/h264_dpb.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698