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

Side by Side Diff: media/filters/video_renderer_impl.h

Issue 496723003: [Feature might be dropped] VideoPlaybackQuality.totalFrameDelay Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: NOT READY FOR REVIEW Created 6 years, 4 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_status.h ('k') | media/filters/video_renderer_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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_VIDEO_RENDERER_IMPL_H_ 5 #ifndef MEDIA_FILTERS_VIDEO_RENDERER_IMPL_H_
6 #define MEDIA_FILTERS_VIDEO_RENDERER_IMPL_H_ 6 #define MEDIA_FILTERS_VIDEO_RENDERER_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 base::TimeDelta last_timestamp_; 199 base::TimeDelta last_timestamp_;
200 200
201 // The timestamp of the last successfully painted frame. Set to kNoTimestamp() 201 // The timestamp of the last successfully painted frame. Set to kNoTimestamp()
202 // during flushing. 202 // during flushing.
203 base::TimeDelta last_painted_timestamp_; 203 base::TimeDelta last_painted_timestamp_;
204 204
205 // Keeps track of the number of frames decoded and dropped since the 205 // Keeps track of the number of frames decoded and dropped since the
206 // last call to |statistics_cb_|. These must be accessed under lock. 206 // last call to |statistics_cb_|. These must be accessed under lock.
207 int frames_decoded_; 207 int frames_decoded_;
208 int frames_dropped_; 208 int frames_dropped_;
209 double frames_delay_time_;
209 210
210 bool is_shutting_down_; 211 bool is_shutting_down_;
211 212
212 // NOTE: Weak pointers must be invalidated before all other member variables. 213 // NOTE: Weak pointers must be invalidated before all other member variables.
213 base::WeakPtrFactory<VideoRendererImpl> weak_factory_; 214 base::WeakPtrFactory<VideoRendererImpl> weak_factory_;
214 215
215 DISALLOW_COPY_AND_ASSIGN(VideoRendererImpl); 216 DISALLOW_COPY_AND_ASSIGN(VideoRendererImpl);
216 }; 217 };
217 218
218 } // namespace media 219 } // namespace media
219 220
220 #endif // MEDIA_FILTERS_VIDEO_RENDERER_IMPL_H_ 221 #endif // MEDIA_FILTERS_VIDEO_RENDERER_IMPL_H_
OLDNEW
« no previous file with comments | « media/base/pipeline_status.h ('k') | media/filters/video_renderer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698