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

Side by Side Diff: media/capture/video/linux/v4l2_capture_delegate_multi_plane.h

Issue 1542013004: Switch to standard integer types in media/, take 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more stddef 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef MEDIA_VIDEO_CAPTURE_LINUX_V4L2_CAPTURE_DELEGATE_MULTI_PLANE_H_ 5 #ifndef MEDIA_VIDEO_CAPTURE_LINUX_V4L2_CAPTURE_DELEGATE_MULTI_PLANE_H_
6 #define MEDIA_VIDEO_CAPTURE_LINUX_V4L2_CAPTURE_DELEGATE_MULTI_PLANE_H_ 6 #define MEDIA_VIDEO_CAPTURE_LINUX_V4L2_CAPTURE_DELEGATE_MULTI_PLANE_H_
7 7
8 #include <stdint.h>
9
8 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "build/build_config.h"
9 #include "media/capture/video/linux/v4l2_capture_delegate.h" 12 #include "media/capture/video/linux/v4l2_capture_delegate.h"
10 13
11 #if defined(OS_OPENBSD) 14 #if defined(OS_OPENBSD)
12 #error "OpenBSD does not support MPlane capture API." 15 #error "OpenBSD does not support MPlane capture API."
13 #endif 16 #endif
14 17
15 namespace base { 18 namespace base {
16 class SingleThreadTaskRunner; 19 class SingleThreadTaskRunner;
17 } // namespace base 20 } // namespace base
18 21
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 55
53 // Vector to allocate and track as many v4l2_plane structs as planes, needed 56 // Vector to allocate and track as many v4l2_plane structs as planes, needed
54 // for v4l2_buffer.m.planes. This is a scratchpad marked mutable to enable 57 // for v4l2_buffer.m.planes. This is a scratchpad marked mutable to enable
55 // using it in otherwise const methods. 58 // using it in otherwise const methods.
56 mutable std::vector<struct v4l2_plane> v4l2_planes_; 59 mutable std::vector<struct v4l2_plane> v4l2_planes_;
57 }; 60 };
58 61
59 } // namespace media 62 } // namespace media
60 63
61 #endif // MEDIA_VIDEO_CAPTURE_LINUX_V4L2_CAPTURE_DELEGATE_SINGLE_PLANE_H_ 64 #endif // MEDIA_VIDEO_CAPTURE_LINUX_V4L2_CAPTURE_DELEGATE_SINGLE_PLANE_H_
OLDNEW
« no previous file with comments | « media/capture/video/linux/v4l2_capture_delegate.cc ('k') | media/capture/video/linux/v4l2_capture_delegate_multi_plane.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698