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

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

Issue 7003082: Implements RGB to YV12 conversion in YASM. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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
« no previous file with comments | « no previous file | media/base/simd/yuv_convert.cc » ('j') | media/base/simd/yuv_convert.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef MEDIA_BASE_SIMD_YUV_CONVERT_H_
6 #define MEDIA_BASE_SIMD_YUV_CONVERT_H_
7
8 #include "base/basictypes.h"
9 #include "media/base/yuv_convert.h"
10
11 namespace media {
12 namespace simd {
Alpha Left Google 2011/08/22 14:16:59 I'd put them in yuv_convert_internal.h and name th
13
14 void ConvertRGB32toYUV(const uint8* rgbframe,
Alpha Left Google 2011/08/22 14:16:59 Add a _SSE2 suffix.
15 uint8* yplane,
16 uint8* uplane,
17 uint8* vplane,
18 int width,
19 int height,
20 int rgbstride,
21 int ystride,
22 int uvstride);
23
24 void ConvertRGB24toYUV(const uint8* rgbframe,
Alpha Left Google 2011/08/22 14:16:59 Add a _SSE2 suffix.
25 uint8* yplane,
26 uint8* uplane,
27 uint8* vplane,
28 int width,
29 int height,
30 int rgbstride,
31 int ystride,
32 int uvstride);
33
34 void ConvertYUVtoRGB32(const uint8* y_buf,
Alpha Left Google 2011/08/22 14:16:59 Add a _SSE2 suffix.
35 const uint8* u_buf,
36 const uint8* v_buf,
37 uint8* rgb_buf,
38 int width,
39 int height,
40 int y_pitch,
41 int uv_pitch,
42 int rgb_pitch,
43 YUVType yuv_type);
44
45 void ConvertYUVtoRGB24(const uint8* y_buf,
Alpha Left Google 2011/08/22 14:16:59 Add a _SSE2 suffix.
46 const uint8* u_buf,
47 const uint8* v_buf,
48 uint8* rgb_buf,
49 int width,
50 int height,
51 int y_pitch,
52 int uv_pitch,
53 int rgb_pitch,
54 YUVType yuv_type);
55
56 } // namespace simd
57 } // namespace media
58
59 #endif // MEDIA_BASE_SIMD_YUV_CONVERT_H_
OLDNEW
« no previous file with comments | « no previous file | media/base/simd/yuv_convert.cc » ('j') | media/base/simd/yuv_convert.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698