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 #ifndef CONTENT_COMMON_GPU_MEDIA_V4L2_VIDEO_ENCODE_ACCELERATOR_H_ | 5 #ifndef CONTENT_COMMON_GPU_MEDIA_V4L2_VIDEO_ENCODE_ACCELERATOR_H_ |
6 #define CONTENT_COMMON_GPU_MEDIA_V4L2_VIDEO_ENCODE_ACCELERATOR_H_ | 6 #define CONTENT_COMMON_GPU_MEDIA_V4L2_VIDEO_ENCODE_ACCELERATOR_H_ |
7 | 7 |
8 #include <linux/videodev2.h> | 8 #include <linux/videodev2.h> |
9 #include <stddef.h> | 9 #include <stddef.h> |
10 #include <stdint.h> | 10 #include <stdint.h> |
| 11 |
11 #include <list> | 12 #include <list> |
| 13 #include <memory> |
12 #include <vector> | 14 #include <vector> |
13 | 15 |
14 #include "base/files/scoped_file.h" | 16 #include "base/files/scoped_file.h" |
15 #include "base/macros.h" | 17 #include "base/macros.h" |
16 #include "base/memory/linked_ptr.h" | 18 #include "base/memory/linked_ptr.h" |
17 #include "base/memory/weak_ptr.h" | 19 #include "base/memory/weak_ptr.h" |
18 #include "base/threading/thread.h" | 20 #include "base/threading/thread.h" |
19 #include "base/time/time.h" | 21 #include "base/time/time.h" |
20 #include "content/common/content_export.h" | 22 #include "content/common/content_export.h" |
21 #include "content/common/gpu/media/v4l2_device.h" | 23 #include "content/common/gpu/media/v4l2_device.h" |
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 // as both threads will not outlive this object. | 296 // as both threads will not outlive this object. |
295 base::WeakPtr<V4L2VideoEncodeAccelerator> weak_this_; | 297 base::WeakPtr<V4L2VideoEncodeAccelerator> weak_this_; |
296 base::WeakPtrFactory<V4L2VideoEncodeAccelerator> weak_this_ptr_factory_; | 298 base::WeakPtrFactory<V4L2VideoEncodeAccelerator> weak_this_ptr_factory_; |
297 | 299 |
298 DISALLOW_COPY_AND_ASSIGN(V4L2VideoEncodeAccelerator); | 300 DISALLOW_COPY_AND_ASSIGN(V4L2VideoEncodeAccelerator); |
299 }; | 301 }; |
300 | 302 |
301 } // namespace content | 303 } // namespace content |
302 | 304 |
303 #endif // CONTENT_COMMON_GPU_MEDIA_V4L2_VIDEO_ENCODE_ACCELERATOR_H_ | 305 #endif // CONTENT_COMMON_GPU_MEDIA_V4L2_VIDEO_ENCODE_ACCELERATOR_H_ |
OLD | NEW |