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