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

Side by Side Diff: media/base/yuv_convert.h

Issue 7002027: VideoCaptureHost (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 7 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) 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_BASE_YUV_CONVERT_H_ 5 #ifndef MEDIA_BASE_YUV_CONVERT_H_
6 #define MEDIA_BASE_YUV_CONVERT_H_ 6 #define MEDIA_BASE_YUV_CONVERT_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 9
10 namespace media { 10 namespace media {
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 void ConvertRGB32ToYUV(const uint8* rgbframe, 70 void ConvertRGB32ToYUV(const uint8* rgbframe,
71 uint8* yplane, 71 uint8* yplane,
72 uint8* uplane, 72 uint8* uplane,
73 uint8* vplane, 73 uint8* vplane,
74 int width, 74 int width,
75 int height, 75 int height,
76 int rgbstride, 76 int rgbstride,
77 int ystride, 77 int ystride,
78 int uvstride); 78 int uvstride);
79 79
80 void ConvertRGB24ToYUV(const uint8* rgbframe,
scherkus (not reviewing) 2011/05/23 05:05:09 unit test?
Per K 2011/05/23 12:05:47 Done.
81 uint8* yplane,
82 uint8* uplane,
83 uint8* vplane,
84 int width,
85 int height,
86 int rgbstride,
87 int ystride,
88 int uvstride);
89
90 void ConvertYUY2ToYUV(const uint8* src,
scherkus (not reviewing) 2011/05/23 05:05:09 unit test?
Per K 2011/05/23 12:05:47 Done.
91 uint8* yplane,
92 uint8* uplane,
93 uint8* vplane,
94 int width,
95 int height);
80 } // namespace media 96 } // namespace media
81 97
82 #endif // MEDIA_BASE_YUV_CONVERT_H_ 98 #endif // MEDIA_BASE_YUV_CONVERT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698