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_BASE_BIT_READER_CORE_H_ | 5 #ifndef MEDIA_BASE_BIT_READER_CORE_H_ |
6 #define MEDIA_BASE_BIT_READER_CORE_H_ | 6 #define MEDIA_BASE_BIT_READER_CORE_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "base/logging.h" | 10 #include "base/logging.h" |
9 #include "base/macros.h" | 11 #include "base/macros.h" |
10 #include "media/base/media_export.h" | 12 #include "media/base/media_export.h" |
11 | 13 |
12 namespace media { | 14 namespace media { |
13 | 15 |
14 class MEDIA_EXPORT BitReaderCore { | 16 class MEDIA_EXPORT BitReaderCore { |
15 public: | 17 public: |
16 class ByteStreamProvider { | 18 class ByteStreamProvider { |
17 public: | 19 public: |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 // Note: bits are consumed from MSB to LSB. | 116 // Note: bits are consumed from MSB to LSB. |
115 int nbits_next_; | 117 int nbits_next_; |
116 uint64_t reg_next_; | 118 uint64_t reg_next_; |
117 | 119 |
118 DISALLOW_COPY_AND_ASSIGN(BitReaderCore); | 120 DISALLOW_COPY_AND_ASSIGN(BitReaderCore); |
119 }; | 121 }; |
120 | 122 |
121 } // namespace media | 123 } // namespace media |
122 | 124 |
123 #endif // MEDIA_BASE_BIT_READER_CORE_H_ | 125 #endif // MEDIA_BASE_BIT_READER_CORE_H_ |
OLD | NEW |