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

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: add timestamp Created 9 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
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 9
10 namespace remoting { 10 namespace remoting {
11 11
12 std::string GetTimestampString();
13
12 // TODO(sergeyu): Move these methods to media. 14 // TODO(sergeyu): Move these methods to media.
13 int GetBytesPerPixel(media::VideoFrame::Format format); 15 int GetBytesPerPixel(media::VideoFrame::Format format);
14 16
15 // Convert YUV to RGB32 on a specific rectangle. 17 // Convert YUV to RGB32 on a specific rectangle.
16 void ConvertYUVToRGB32WithRect(const uint8* y_plane, 18 void ConvertYUVToRGB32WithRect(const uint8* y_plane,
17 const uint8* u_plane, 19 const uint8* u_plane,
18 const uint8* v_plane, 20 const uint8* v_plane,
19 uint8* rgb_plane, 21 uint8* rgb_plane,
20 int x, 22 int x,
21 int y, 23 int y,
(...skipping 11 matching lines...) Expand all
33 int y, 35 int y,
34 int width, 36 int width,
35 int height, 37 int height,
36 int rgb_stride, 38 int rgb_stride,
37 int y_stride, 39 int y_stride,
38 int uv_stride); 40 int uv_stride);
39 41
40 } // namespace remoting 42 } // namespace remoting
41 43
42 #endif // REMOTING_BASE_UTIL_H_ 44 #endif // REMOTING_BASE_UTIL_H_
OLDNEW
« no previous file with comments | « remoting/base/logger.cc ('k') | remoting/base/util.cc » ('j') | remoting/base/util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698