OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_BASE_ANDROID_ACCESS_UNIT_QUEUE_H_ | 5 #ifndef MEDIA_BASE_ANDROID_ACCESS_UNIT_QUEUE_H_ |
6 #define MEDIA_BASE_ANDROID_ACCESS_UNIT_QUEUE_H_ | 6 #define MEDIA_BASE_ANDROID_ACCESS_UNIT_QUEUE_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <list> | 10 #include <list> |
9 | 11 |
10 #include "base/macros.h" | 12 #include "base/macros.h" |
11 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
12 #include "base/synchronization/lock.h" | 14 #include "base/synchronization/lock.h" |
13 #include "media/base/android/demuxer_stream_player_params.h" | 15 #include "media/base/android/demuxer_stream_player_params.h" |
14 | 16 |
15 namespace media { | 17 namespace media { |
16 | 18 |
17 // The queue of incoming data for MediaCodecDecoder. | 19 // The queue of incoming data for MediaCodecDecoder. |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 | 104 |
103 // The lock protects all fields together. | 105 // The lock protects all fields together. |
104 mutable base::Lock lock_; | 106 mutable base::Lock lock_; |
105 | 107 |
106 DISALLOW_COPY_AND_ASSIGN(AccessUnitQueue); | 108 DISALLOW_COPY_AND_ASSIGN(AccessUnitQueue); |
107 }; | 109 }; |
108 | 110 |
109 } // namespace media | 111 } // namespace media |
110 | 112 |
111 #endif // MEDIA_BASE_ANDROID_ACCESS_UNIT_QUEUE_H_ | 113 #endif // MEDIA_BASE_ANDROID_ACCESS_UNIT_QUEUE_H_ |
OLD | NEW |