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 <list> | 9 #include <list> |
9 #include <linux/videodev2.h> | |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/memory/linked_ptr.h" | 12 #include "base/memory/linked_ptr.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "base/threading/thread.h" | 14 #include "base/threading/thread.h" |
15 #include "content/common/content_export.h" | 15 #include "content/common/content_export.h" |
16 #include "content/common/gpu/media/v4l2_image_processor.h" | 16 #include "content/common/gpu/media/v4l2_image_processor.h" |
17 #include "content/common/gpu/media/v4l2_video_device.h" | 17 #include "content/common/gpu/media/v4l2_video_device.h" |
18 #include "media/video/video_encode_accelerator.h" | 18 #include "media/video/video_encode_accelerator.h" |
19 #include "ui/gfx/size.h" | 19 #include "ui/gfx/geometry/size.h" |
20 | 20 |
21 namespace base { | 21 namespace base { |
22 | 22 |
23 class MessageLoopProxy; | 23 class MessageLoopProxy; |
24 | 24 |
25 } // namespace base | 25 } // namespace base |
26 | 26 |
27 namespace media { | 27 namespace media { |
28 | 28 |
29 class BitstreamBuffer; | 29 class BitstreamBuffer; |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 // as both threads will not outlive this object. | 268 // as both threads will not outlive this object. |
269 base::WeakPtr<V4L2VideoEncodeAccelerator> weak_this_; | 269 base::WeakPtr<V4L2VideoEncodeAccelerator> weak_this_; |
270 base::WeakPtrFactory<V4L2VideoEncodeAccelerator> weak_this_ptr_factory_; | 270 base::WeakPtrFactory<V4L2VideoEncodeAccelerator> weak_this_ptr_factory_; |
271 | 271 |
272 DISALLOW_COPY_AND_ASSIGN(V4L2VideoEncodeAccelerator); | 272 DISALLOW_COPY_AND_ASSIGN(V4L2VideoEncodeAccelerator); |
273 }; | 273 }; |
274 | 274 |
275 } // namespace content | 275 } // namespace content |
276 | 276 |
277 #endif // CONTENT_COMMON_GPU_MEDIA_V4L2_VIDEO_ENCODE_ACCELERATOR_H_ | 277 #endif // CONTENT_COMMON_GPU_MEDIA_V4L2_VIDEO_ENCODE_ACCELERATOR_H_ |
OLD | NEW |