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_VAAPI_VIDEO_ENCODE_ACCELERATOR_H_ | 5 #ifndef CONTENT_COMMON_GPU_MEDIA_VAAPI_VIDEO_ENCODE_ACCELERATOR_H_ |
6 #define CONTENT_COMMON_GPU_MEDIA_VAAPI_VIDEO_ENCODE_ACCELERATOR_H_ | 6 #define CONTENT_COMMON_GPU_MEDIA_VAAPI_VIDEO_ENCODE_ACCELERATOR_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <list> | 11 #include <list> |
| 12 #include <memory> |
12 #include <queue> | 13 #include <queue> |
13 | 14 |
14 #include "base/macros.h" | 15 #include "base/macros.h" |
15 #include "base/memory/linked_ptr.h" | 16 #include "base/memory/linked_ptr.h" |
16 #include "base/threading/thread.h" | 17 #include "base/threading/thread.h" |
17 #include "content/common/content_export.h" | 18 #include "content/common/content_export.h" |
18 #include "content/common/gpu/media/h264_dpb.h" | 19 #include "content/common/gpu/media/h264_dpb.h" |
19 #include "content/common/gpu/media/va_surface.h" | 20 #include "content/common/gpu/media/va_surface.h" |
20 #include "content/common/gpu/media/vaapi_wrapper.h" | 21 #include "content/common/gpu/media/vaapi_wrapper.h" |
21 #include "media/filters/h264_bitstream_buffer.h" | 22 #include "media/filters/h264_bitstream_buffer.h" |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 // thread (it's a member of this class). | 258 // thread (it's a member of this class). |
258 base::WeakPtr<VaapiVideoEncodeAccelerator> weak_this_; | 259 base::WeakPtr<VaapiVideoEncodeAccelerator> weak_this_; |
259 base::WeakPtrFactory<VaapiVideoEncodeAccelerator> weak_this_ptr_factory_; | 260 base::WeakPtrFactory<VaapiVideoEncodeAccelerator> weak_this_ptr_factory_; |
260 | 261 |
261 DISALLOW_COPY_AND_ASSIGN(VaapiVideoEncodeAccelerator); | 262 DISALLOW_COPY_AND_ASSIGN(VaapiVideoEncodeAccelerator); |
262 }; | 263 }; |
263 | 264 |
264 } // namespace content | 265 } // namespace content |
265 | 266 |
266 #endif // CONTENT_COMMON_GPU_MEDIA_VAAPI_VIDEO_ENCODE_ACCELERATOR_H_ | 267 #endif // CONTENT_COMMON_GPU_MEDIA_VAAPI_VIDEO_ENCODE_ACCELERATOR_H_ |
OLD | NEW |