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