| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // SourceBufferStream is a data structure that stores media Buffers in ranges. | 5 // SourceBufferStream is a data structure that stores media Buffers in ranges. |
| 6 // Buffers can be appended out of presentation order. Buffers are retrieved by | 6 // Buffers can be appended out of presentation order. Buffers are retrieved by |
| 7 // seeking to the desired start point and calling GetNextBuffer(). Buffers are | 7 // seeking to the desired start point and calling GetNextBuffer(). Buffers are |
| 8 // returned in sequential presentation order. | 8 // returned in sequential presentation order. |
| 9 | 9 |
| 10 #ifndef MEDIA_FILTERS_SOURCE_BUFFER_STREAM_H_ | 10 #ifndef MEDIA_FILTERS_SOURCE_BUFFER_STREAM_H_ |
| 11 #define MEDIA_FILTERS_SOURCE_BUFFER_STREAM_H_ | 11 #define MEDIA_FILTERS_SOURCE_BUFFER_STREAM_H_ |
| 12 | 12 |
| 13 #include <deque> | 13 #include <deque> |
| 14 #include <list> | 14 #include <list> |
| 15 #include <string> | 15 #include <string> |
| 16 #include <utility> | 16 #include <utility> |
| 17 #include <vector> | 17 #include <vector> |
| 18 | 18 |
| 19 #include "base/basictypes.h" | |
| 20 #include "base/memory/ref_counted.h" | 19 #include "base/memory/ref_counted.h" |
| 21 #include "media/base/audio_decoder_config.h" | 20 #include "media/base/audio_decoder_config.h" |
| 22 #include "media/base/media_export.h" | 21 #include "media/base/media_export.h" |
| 23 #include "media/base/media_log.h" | 22 #include "media/base/media_log.h" |
| 24 #include "media/base/ranges.h" | 23 #include "media/base/ranges.h" |
| 25 #include "media/base/stream_parser_buffer.h" | 24 #include "media/base/stream_parser_buffer.h" |
| 26 #include "media/base/text_track_config.h" | 25 #include "media/base/text_track_config.h" |
| 27 #include "media/base/video_decoder_config.h" | 26 #include "media/base/video_decoder_config.h" |
| 28 | 27 |
| 29 namespace media { | 28 namespace media { |
| (...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 447 int num_splice_generation_success_logs_ = 0; | 446 int num_splice_generation_success_logs_ = 0; |
| 448 int num_track_buffer_gap_warning_logs_ = 0; | 447 int num_track_buffer_gap_warning_logs_ = 0; |
| 449 int num_garbage_collect_algorithm_logs_ = 0; | 448 int num_garbage_collect_algorithm_logs_ = 0; |
| 450 | 449 |
| 451 DISALLOW_COPY_AND_ASSIGN(SourceBufferStream); | 450 DISALLOW_COPY_AND_ASSIGN(SourceBufferStream); |
| 452 }; | 451 }; |
| 453 | 452 |
| 454 } // namespace media | 453 } // namespace media |
| 455 | 454 |
| 456 #endif // MEDIA_FILTERS_SOURCE_BUFFER_STREAM_H_ | 455 #endif // MEDIA_FILTERS_SOURCE_BUFFER_STREAM_H_ |
| OLD | NEW |