| 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 // This file contains an implementation of an H265 Annex-B video stream parser. | 5 // This file contains an implementation of an H265 Annex-B video stream parser. |
| 6 | 6 |
| 7 #ifndef MEDIA_FILTERS_H265_PARSER_H_ | 7 #ifndef MEDIA_FILTERS_H265_PARSER_H_ |
| 8 #define MEDIA_FILTERS_H265_PARSER_H_ | 8 #define MEDIA_FILTERS_H265_PARSER_H_ |
| 9 | 9 |
| 10 #include <stdint.h> |
| 10 #include <sys/types.h> | 11 #include <sys/types.h> |
| 11 | 12 |
| 12 #include <map> | 13 #include <map> |
| 13 #include <vector> | 14 #include <vector> |
| 14 | 15 |
| 15 #include "base/macros.h" | 16 #include "base/macros.h" |
| 16 #include "media/base/media_export.h" | 17 #include "media/base/media_export.h" |
| 17 #include "media/base/ranges.h" | 18 #include "media/base/ranges.h" |
| 18 #include "media/filters/h264_bit_reader.h" | 19 #include "media/filters/h264_bit_reader.h" |
| 19 #include "media/filters/h264_parser.h" | 20 #include "media/filters/h264_parser.h" |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 // Ranges of encrypted bytes in the buffer passed to | 143 // Ranges of encrypted bytes in the buffer passed to |
| 143 // SetEncryptedStream(). | 144 // SetEncryptedStream(). |
| 144 Ranges<const uint8_t*> encrypted_ranges_; | 145 Ranges<const uint8_t*> encrypted_ranges_; |
| 145 | 146 |
| 146 DISALLOW_COPY_AND_ASSIGN(H265Parser); | 147 DISALLOW_COPY_AND_ASSIGN(H265Parser); |
| 147 }; | 148 }; |
| 148 | 149 |
| 149 } // namespace media | 150 } // namespace media |
| 150 | 151 |
| 151 #endif // MEDIA_FILTERS_H265_PARSER_H_ | 152 #endif // MEDIA_FILTERS_H265_PARSER_H_ |
| OLD | NEW |