| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_BITSTREAM_BUFFER_H_ | 5 #ifndef MEDIA_BASE_BITSTREAM_BUFFER_H_ |
| 6 #define MEDIA_BASE_BITSTREAM_BUFFER_H_ | 6 #define MEDIA_BASE_BITSTREAM_BUFFER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
| 11 #include "base/macros.h" |
| 8 #include "base/memory/shared_memory.h" | 12 #include "base/memory/shared_memory.h" |
| 9 #include "base/time/time.h" | 13 #include "base/time/time.h" |
| 10 #include "media/base/decrypt_config.h" | 14 #include "media/base/decrypt_config.h" |
| 11 #include "media/base/media_export.h" | 15 #include "media/base/media_export.h" |
| 12 #include "media/base/timestamp_constants.h" | 16 #include "media/base/timestamp_constants.h" |
| 13 | 17 |
| 14 namespace media { | 18 namespace media { |
| 15 | 19 |
| 16 // Class for passing bitstream buffers around. Does not take ownership of the | 20 // Class for passing bitstream buffers around. Does not take ownership of the |
| 17 // data. This is the media-namespace equivalent of PP_VideoBitstreamBuffer_Dev. | 21 // data. This is the media-namespace equivalent of PP_VideoBitstreamBuffer_Dev. |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 std::string key_id_; // key ID. | 64 std::string key_id_; // key ID. |
| 61 std::string iv_; // initialization vector | 65 std::string iv_; // initialization vector |
| 62 std::vector<SubsampleEntry> subsamples_; // clear/cypher sizes | 66 std::vector<SubsampleEntry> subsamples_; // clear/cypher sizes |
| 63 | 67 |
| 64 // Allow compiler-generated copy & assign constructors. | 68 // Allow compiler-generated copy & assign constructors. |
| 65 }; | 69 }; |
| 66 | 70 |
| 67 } // namespace media | 71 } // namespace media |
| 68 | 72 |
| 69 #endif // MEDIA_BASE_BITSTREAM_BUFFER_H_ | 73 #endif // MEDIA_BASE_BITSTREAM_BUFFER_H_ |
| OLD | NEW |