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 #ifndef MEDIA_FILTERS_CHUNK_DEMUXER_H_ | 5 #ifndef MEDIA_FILTERS_CHUNK_DEMUXER_H_ |
6 #define MEDIA_FILTERS_CHUNK_DEMUXER_H_ | 6 #define MEDIA_FILTERS_CHUNK_DEMUXER_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 bool UpdateAudioConfig(const AudioDecoderConfig& config, const LogCB& log_cb); | 75 bool UpdateAudioConfig(const AudioDecoderConfig& config, const LogCB& log_cb); |
76 bool UpdateVideoConfig(const VideoDecoderConfig& config, const LogCB& log_cb); | 76 bool UpdateVideoConfig(const VideoDecoderConfig& config, const LogCB& log_cb); |
77 void UpdateTextConfig(const TextTrackConfig& config, const LogCB& log_cb); | 77 void UpdateTextConfig(const TextTrackConfig& config, const LogCB& log_cb); |
78 | 78 |
79 void MarkEndOfStream(); | 79 void MarkEndOfStream(); |
80 void UnmarkEndOfStream(); | 80 void UnmarkEndOfStream(); |
81 | 81 |
82 // DemuxerStream methods. | 82 // DemuxerStream methods. |
83 virtual void Read(const ReadCB& read_cb) OVERRIDE; | 83 virtual void Read(const ReadCB& read_cb) OVERRIDE; |
84 virtual Type type() OVERRIDE; | 84 virtual Type type() OVERRIDE; |
85 virtual void EnableBitstreamConverter() OVERRIDE; | |
86 virtual AudioDecoderConfig audio_decoder_config() OVERRIDE; | 85 virtual AudioDecoderConfig audio_decoder_config() OVERRIDE; |
87 virtual VideoDecoderConfig video_decoder_config() OVERRIDE; | 86 virtual VideoDecoderConfig video_decoder_config() OVERRIDE; |
88 virtual bool SupportsConfigChanges() OVERRIDE; | 87 virtual bool SupportsConfigChanges() OVERRIDE; |
89 virtual VideoRotation video_rotation() OVERRIDE; | 88 virtual VideoRotation video_rotation() OVERRIDE; |
90 | 89 |
91 // Returns the text track configuration. It is an error to call this method | 90 // Returns the text track configuration. It is an error to call this method |
92 // if type() != TEXT. | 91 // if type() != TEXT. |
93 TextTrackConfig text_track_config(); | 92 TextTrackConfig text_track_config(); |
94 | 93 |
95 // Sets the memory limit, in bytes, on the SourceBufferStream. | 94 // Sets the memory limit, in bytes, on the SourceBufferStream. |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 | 385 |
387 // Indicates that splice frame generation is enabled. | 386 // Indicates that splice frame generation is enabled. |
388 const bool splice_frames_enabled_; | 387 const bool splice_frames_enabled_; |
389 | 388 |
390 DISALLOW_COPY_AND_ASSIGN(ChunkDemuxer); | 389 DISALLOW_COPY_AND_ASSIGN(ChunkDemuxer); |
391 }; | 390 }; |
392 | 391 |
393 } // namespace media | 392 } // namespace media |
394 | 393 |
395 #endif // MEDIA_FILTERS_CHUNK_DEMUXER_H_ | 394 #endif // MEDIA_FILTERS_CHUNK_DEMUXER_H_ |
OLD | NEW |