Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_TOOLS_PLAYER_WTL_VIEW_H_ | 5 #ifndef MEDIA_TOOLS_PLAYER_WTL_VIEW_H_ |
| 6 #define MEDIA_TOOLS_PLAYER_WTL_VIEW_H_ | 6 #define MEDIA_TOOLS_PLAYER_WTL_VIEW_H_ |
| 7 | 7 |
| 8 #include <stdio.h> | 8 #include <stdio.h> |
| 9 #include <process.h> | 9 #include <process.h> |
| 10 #include <string.h> | 10 #include <string.h> |
| 11 | 11 |
| 12 #include "base/logging.h" | |
|
scherkus (not reviewing)
2011/01/13 23:52:50
nit: is this needed?
acolwell GONE FROM CHROMIUM
2011/01/14 01:14:12
Yes. It is for a DCHECK() that is in this file.
On
| |
| 12 #include "media/base/video_frame.h" | 13 #include "media/base/video_frame.h" |
| 13 #include "media/base/yuv_convert.h" | 14 #include "media/base/yuv_convert.h" |
| 14 #include "media/tools/player_wtl/movie.h" | 15 #include "media/tools/player_wtl/movie.h" |
| 15 #include "media/tools/player_wtl/player_wtl.h" | 16 #include "media/tools/player_wtl/player_wtl.h" |
| 16 #include "media/tools/player_wtl/wtl_renderer.h" | 17 #include "media/tools/player_wtl/wtl_renderer.h" |
| 17 | 18 |
| 18 // Fetchs current time as milliseconds. | 19 // Fetchs current time as milliseconds. |
| 19 // Returns as double for high duration and precision. | 20 // Returns as double for high duration and precision. |
| 20 inline double GetTime() { | 21 inline double GetTime() { |
| 21 LARGE_INTEGER perf_time, perf_hz; | 22 LARGE_INTEGER perf_time, perf_hz; |
| (...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 444 } | 445 } |
| 445 } | 446 } |
| 446 | 447 |
| 447 media::VideoFrame* last_frame_; | 448 media::VideoFrame* last_frame_; |
| 448 base::TimeDelta last_timestamp_; | 449 base::TimeDelta last_timestamp_; |
| 449 | 450 |
| 450 DISALLOW_COPY_AND_ASSIGN(WtlVideoWindow); | 451 DISALLOW_COPY_AND_ASSIGN(WtlVideoWindow); |
| 451 }; | 452 }; |
| 452 | 453 |
| 453 #endif // MEDIA_TOOLS_PLAYER_WTL_VIEW_H_ | 454 #endif // MEDIA_TOOLS_PLAYER_WTL_VIEW_H_ |
| OLD | NEW |