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

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

Issue 7601002: Revert r95841 due to failing media_unittests on linux_shared bot. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
« no previous file with comments | « media/base/video_frame.h ('k') | media/base/yuv_convert.h » ('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) 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 MEDIA_BASE_VIDEO_UTIL_H_ 5 #ifndef MEDIA_BASE_VIDEO_UTIL_H_
6 #define MEDIA_BASE_VIDEO_UTIL_H_ 6 #define MEDIA_BASE_VIDEO_UTIL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "media/base/media_export.h"
10 9
11 namespace media { 10 namespace media {
12 11
13 class VideoFrame; 12 class VideoFrame;
14 13
15 // Copies a plane of YUV source into a VideoFrame object, taking into account 14 // Copies a plane of YUV source into a VideoFrame object, taking into account
16 // source and destinations dimensions. 15 // source and destinations dimensions.
17 // 16 //
18 // NOTE: rows is *not* the same as height! 17 // NOTE: rows is *not* the same as height!
19 MEDIA_EXPORT void CopyYPlane(const uint8* source, int stride, int rows, 18 void CopyYPlane(const uint8* source, int stride, int rows, VideoFrame* frame);
20 VideoFrame* frame); 19 void CopyUPlane(const uint8* source, int stride, int rows, VideoFrame* frame);
21 MEDIA_EXPORT void CopyUPlane(const uint8* source, int stride, int rows, 20 void CopyVPlane(const uint8* source, int stride, int rows, VideoFrame* frame);
22 VideoFrame* frame);
23 MEDIA_EXPORT void CopyVPlane(const uint8* source, int stride, int rows,
24 VideoFrame* frame);
25 21
26 } // namespace media 22 } // namespace media
27 23
28 #endif // MEDIA_BASE_VIDEO_UTIL_H_ 24 #endif // MEDIA_BASE_VIDEO_UTIL_H_
OLDNEW
« no previous file with comments | « media/base/video_frame.h ('k') | media/base/yuv_convert.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698