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

Side by Side Diff: remoting/base/util.h

Issue 7355011: Modify Chromoting logging to hook into base logging. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments + thread proxy Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 REMOTING_BASE_UTIL_H_ 5 #ifndef REMOTING_BASE_UTIL_H_
6 #define REMOTING_BASE_UTIL_H_ 6 #define REMOTING_BASE_UTIL_H_
7 7
8 #include "media/base/video_frame.h" 8 #include "media/base/video_frame.h"
9 #include "ui/gfx/rect.h" 9 #include "ui/gfx/rect.h"
10 10
11 namespace remoting { 11 namespace remoting {
12 12
13 std::string GetTimestampString();
14
13 // TODO(sergeyu): Move these methods to media. 15 // TODO(sergeyu): Move these methods to media.
14 int GetBytesPerPixel(media::VideoFrame::Format format); 16 int GetBytesPerPixel(media::VideoFrame::Format format);
15 17
16 // Convert YUV to RGB32 on a specific rectangle. 18 // Convert YUV to RGB32 on a specific rectangle.
17 void ConvertYUVToRGB32WithRect(const uint8* y_plane, 19 void ConvertYUVToRGB32WithRect(const uint8* y_plane,
18 const uint8* u_plane, 20 const uint8* u_plane,
19 const uint8* v_plane, 21 const uint8* v_plane,
20 uint8* rgb_plane, 22 uint8* rgb_plane,
21 const gfx::Rect& rect, 23 const gfx::Rect& rect,
22 int y_stride, 24 int y_stride,
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 void CopyRect(const uint8* src_plane, 62 void CopyRect(const uint8* src_plane,
61 int src_plane_stride, 63 int src_plane_stride,
62 uint8* dest_plane, 64 uint8* dest_plane,
63 int dest_plane_stride, 65 int dest_plane_stride,
64 int bytes_per_pixel, 66 int bytes_per_pixel,
65 const gfx::Rect& rect); 67 const gfx::Rect& rect);
66 68
67 } // namespace remoting 69 } // namespace remoting
68 70
69 #endif // REMOTING_BASE_UTIL_H_ 71 #endif // REMOTING_BASE_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698