Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Side by Side Diff: media/base/pipeline_impl.h

Issue 2688383006: [Media, Video] Update WMPI when the pipeline gets a new average keyframe distance. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « media/base/pipeline.h ('k') | media/base/pipeline_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 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_PIPELINE_IMPL_H_ 5 #ifndef MEDIA_BASE_PIPELINE_IMPL_H_
6 #define MEDIA_BASE_PIPELINE_IMPL_H_ 6 #define MEDIA_BASE_PIPELINE_IMPL_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 void OnError(PipelineStatus error); 128 void OnError(PipelineStatus error);
129 void OnEnded(); 129 void OnEnded();
130 void OnMetadata(PipelineMetadata metadata); 130 void OnMetadata(PipelineMetadata metadata);
131 void OnBufferingStateChange(BufferingState state); 131 void OnBufferingStateChange(BufferingState state);
132 void OnDurationChange(base::TimeDelta duration); 132 void OnDurationChange(base::TimeDelta duration);
133 void OnAddTextTrack(const TextTrackConfig& config, 133 void OnAddTextTrack(const TextTrackConfig& config,
134 const AddTextTrackDoneCB& done_cb); 134 const AddTextTrackDoneCB& done_cb);
135 void OnWaitingForDecryptionKey(); 135 void OnWaitingForDecryptionKey();
136 void OnVideoNaturalSizeChange(const gfx::Size& size); 136 void OnVideoNaturalSizeChange(const gfx::Size& size);
137 void OnVideoOpacityChange(bool opaque); 137 void OnVideoOpacityChange(bool opaque);
138 void OnVideoAverageKeyframeDistanceUpdate();
138 139
139 // Task completion callbacks from RendererWrapper. 140 // Task completion callbacks from RendererWrapper.
140 void OnSeekDone(); 141 void OnSeekDone();
141 void OnSuspendDone(); 142 void OnSuspendDone();
142 143
143 // Parameters passed in the constructor. 144 // Parameters passed in the constructor.
144 const scoped_refptr<base::SingleThreadTaskRunner> media_task_runner_; 145 const scoped_refptr<base::SingleThreadTaskRunner> media_task_runner_;
145 const scoped_refptr<MediaLog> media_log_; 146 const scoped_refptr<MediaLog> media_log_;
146 147
147 // Pipeline client. Valid only while the pipeline is running. 148 // Pipeline client. Valid only while the pipeline is running.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 181
181 base::ThreadChecker thread_checker_; 182 base::ThreadChecker thread_checker_;
182 base::WeakPtrFactory<PipelineImpl> weak_factory_; 183 base::WeakPtrFactory<PipelineImpl> weak_factory_;
183 184
184 DISALLOW_COPY_AND_ASSIGN(PipelineImpl); 185 DISALLOW_COPY_AND_ASSIGN(PipelineImpl);
185 }; 186 };
186 187
187 } // namespace media 188 } // namespace media
188 189
189 #endif // MEDIA_BASE_PIPELINE_IMPL_H_ 190 #endif // MEDIA_BASE_PIPELINE_IMPL_H_
OLDNEW
« no previous file with comments | « media/base/pipeline.h ('k') | media/base/pipeline_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698