| 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 // This file contains an implementation of an H264 Annex-B video stream parser. | 5 // This file contains an implementation of an H264 Annex-B video stream parser. |
| 6 | 6 |
| 7 #ifndef MEDIA_FILTERS_H264_PARSER_H_ | 7 #ifndef MEDIA_FILTERS_H264_PARSER_H_ |
| 8 #define MEDIA_FILTERS_H264_PARSER_H_ | 8 #define MEDIA_FILTERS_H264_PARSER_H_ |
| 9 | 9 |
| 10 #include <stddef.h> |
| 11 #include <stdint.h> |
| 10 #include <sys/types.h> | 12 #include <sys/types.h> |
| 11 | 13 |
| 12 #include <map> | 14 #include <map> |
| 13 #include <vector> | 15 #include <vector> |
| 14 | 16 |
| 15 #include "base/macros.h" | 17 #include "base/macros.h" |
| 16 #include "media/base/media_export.h" | 18 #include "media/base/media_export.h" |
| 17 #include "media/base/ranges.h" | 19 #include "media/base/ranges.h" |
| 18 #include "media/filters/h264_bit_reader.h" | 20 #include "media/filters/h264_bit_reader.h" |
| 19 | 21 |
| (...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 469 // Ranges of encrypted bytes in the buffer passed to | 471 // Ranges of encrypted bytes in the buffer passed to |
| 470 // SetEncryptedStream(). | 472 // SetEncryptedStream(). |
| 471 Ranges<const uint8_t*> encrypted_ranges_; | 473 Ranges<const uint8_t*> encrypted_ranges_; |
| 472 | 474 |
| 473 DISALLOW_COPY_AND_ASSIGN(H264Parser); | 475 DISALLOW_COPY_AND_ASSIGN(H264Parser); |
| 474 }; | 476 }; |
| 475 | 477 |
| 476 } // namespace media | 478 } // namespace media |
| 477 | 479 |
| 478 #endif // MEDIA_FILTERS_H264_PARSER_H_ | 480 #endif // MEDIA_FILTERS_H264_PARSER_H_ |
| OLD | NEW |