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

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

Issue 18052007: Use a direct include of time headers in media/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « media/filters/opus_audio_decoder.h ('k') | media/filters/video_renderer_base_unittest.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) 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_SKCANVAS_VIDEO_RENDERER_H_ 5 #ifndef MEDIA_FILTERS_SKCANVAS_VIDEO_RENDERER_H_
6 #define MEDIA_FILTERS_SKCANVAS_VIDEO_RENDERER_H_ 6 #define MEDIA_FILTERS_SKCANVAS_VIDEO_RENDERER_H_
7 7
8 #include "base/time.h" 8 #include "base/time/time.h"
9 #include "media/base/media_export.h" 9 #include "media/base/media_export.h"
10 #include "third_party/skia/include/core/SkBitmap.h"
10 #include "ui/gfx/rect.h" 11 #include "ui/gfx/rect.h"
11 #include "third_party/skia/include/core/SkBitmap.h"
12 12
13 class SkCanvas; 13 class SkCanvas;
14 14
15 namespace media { 15 namespace media {
16 16
17 class VideoFrame; 17 class VideoFrame;
18 18
19 // Handles rendering of VideoFrames to SkCanvases, doing any necessary YUV 19 // Handles rendering of VideoFrames to SkCanvases, doing any necessary YUV
20 // conversion and caching of resulting RGB bitmaps. 20 // conversion and caching of resulting RGB bitmaps.
21 class MEDIA_EXPORT SkCanvasVideoRenderer { 21 class MEDIA_EXPORT SkCanvasVideoRenderer {
(...skipping 15 matching lines...) Expand all
37 // video frame data. 37 // video frame data.
38 SkBitmap last_frame_; 38 SkBitmap last_frame_;
39 base::TimeDelta last_frame_timestamp_; 39 base::TimeDelta last_frame_timestamp_;
40 40
41 DISALLOW_COPY_AND_ASSIGN(SkCanvasVideoRenderer); 41 DISALLOW_COPY_AND_ASSIGN(SkCanvasVideoRenderer);
42 }; 42 };
43 43
44 } // namespace media 44 } // namespace media
45 45
46 #endif // MEDIA_FILTERS_SKCANVAS_VIDEO_RENDERER_H_ 46 #endif // MEDIA_FILTERS_SKCANVAS_VIDEO_RENDERER_H_
OLDNEW
« no previous file with comments | « media/filters/opus_audio_decoder.h ('k') | media/filters/video_renderer_base_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698