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 MEDIA_VIDEO_FAKE_VIDEO_ENCODE_ACCELERATOR_H_ | 5 #ifndef MEDIA_VIDEO_FAKE_VIDEO_ENCODE_ACCELERATOR_H_ |
6 #define MEDIA_VIDEO_FAKE_VIDEO_ENCODE_ACCELERATOR_H_ | 6 #define MEDIA_VIDEO_FAKE_VIDEO_ENCODE_ACCELERATOR_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <queue> | 9 #include <queue> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
| 12 #include "base/macros.h" |
12 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
13 #include "media/base/bitstream_buffer.h" | 14 #include "media/base/bitstream_buffer.h" |
14 #include "media/base/media_export.h" | 15 #include "media/base/media_export.h" |
15 #include "media/video/video_encode_accelerator.h" | 16 #include "media/video/video_encode_accelerator.h" |
16 | 17 |
17 namespace base { | 18 namespace base { |
18 | 19 |
19 class SingleThreadTaskRunner; | 20 class SingleThreadTaskRunner; |
20 | 21 |
21 } // namespace base | 22 } // namespace base |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 std::list<BitstreamBuffer> available_buffers_; | 76 std::list<BitstreamBuffer> available_buffers_; |
76 | 77 |
77 base::WeakPtrFactory<FakeVideoEncodeAccelerator> weak_this_factory_; | 78 base::WeakPtrFactory<FakeVideoEncodeAccelerator> weak_this_factory_; |
78 | 79 |
79 DISALLOW_COPY_AND_ASSIGN(FakeVideoEncodeAccelerator); | 80 DISALLOW_COPY_AND_ASSIGN(FakeVideoEncodeAccelerator); |
80 }; | 81 }; |
81 | 82 |
82 } // namespace media | 83 } // namespace media |
83 | 84 |
84 #endif // MEDIA_VIDEO_FAKE_VIDEO_ENCODE_ACCELERATOR_H_ | 85 #endif // MEDIA_VIDEO_FAKE_VIDEO_ENCODE_ACCELERATOR_H_ |
OLD | NEW |