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 #include "content/common/gpu/media/vaapi_video_encode_accelerator.h" | 5 #include "content/common/gpu/media/vaapi_video_encode_accelerator.h" |
6 | 6 |
7 #include <string.h> | 7 #include <string.h> |
| 8 |
| 9 #include <memory> |
8 #include <utility> | 10 #include <utility> |
9 | 11 |
10 #include "base/bind.h" | 12 #include "base/bind.h" |
11 #include "base/callback.h" | 13 #include "base/callback.h" |
12 #include "base/macros.h" | 14 #include "base/macros.h" |
13 #include "base/metrics/histogram.h" | 15 #include "base/metrics/histogram.h" |
14 #include "base/numerics/safe_conversions.h" | 16 #include "base/numerics/safe_conversions.h" |
15 #include "content/common/gpu/media/h264_dpb.h" | 17 #include "content/common/gpu/media/h264_dpb.h" |
16 #include "content/common/gpu/media/shared_memory_region.h" | 18 #include "content/common/gpu/media/shared_memory_region.h" |
17 #include "media/base/bind_to_current_loop.h" | 19 #include "media/base/bind_to_current_loop.h" |
(...skipping 1045 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1063 } | 1065 } |
1064 | 1066 |
1065 VaapiVideoEncodeAccelerator::EncodeJob::EncodeJob() | 1067 VaapiVideoEncodeAccelerator::EncodeJob::EncodeJob() |
1066 : coded_buffer(VA_INVALID_ID), keyframe(false) { | 1068 : coded_buffer(VA_INVALID_ID), keyframe(false) { |
1067 } | 1069 } |
1068 | 1070 |
1069 VaapiVideoEncodeAccelerator::EncodeJob::~EncodeJob() { | 1071 VaapiVideoEncodeAccelerator::EncodeJob::~EncodeJob() { |
1070 } | 1072 } |
1071 | 1073 |
1072 } // namespace content | 1074 } // namespace content |
OLD | NEW |