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

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

Issue 43082: NO CODE CHANGE (Closed)
Patch Set: Created 11 years, 9 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
« no previous file with comments | « media/audio/win/waveout_output_win.cc ('k') | media/base/yuv_convert.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 {
11 11
12 // Convert a frame of YUV to 32 bit ARGB. 12 // Convert a frame of YUV to 32 bit ARGB.
13 void ConvertYV12ToRGB32(const uint8* yplane, 13 void ConvertYV12ToRGB32(const uint8* yplane,
14 const uint8* uplane, 14 const uint8* uplane,
15 const uint8* vplane, 15 const uint8* vplane,
16 uint8* rgbframe, 16 uint8* rgbframe,
17 size_t frame_width, 17 size_t frame_width,
18 size_t frame_height, 18 size_t frame_height,
19 int ystride, 19 int ystride,
20 int uvstride, 20 int uvstride,
21 int rgbstride); 21 int rgbstride);
22 22
23 #endif // MEDIA_BASE_YUV_CONVERT_H_ 23 #endif // MEDIA_BASE_YUV_CONVERT_H_
24 24
25 } // namespace media 25 } // namespace media
26
OLDNEW
« no previous file with comments | « media/audio/win/waveout_output_win.cc ('k') | media/base/yuv_convert.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698