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

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

Issue 7003082: Implements RGB to YV12 conversion in YASM. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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/convert_row.asm » ('j') | media/base/simd/convert_row.asm » ('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_CONVERT_ROW_H_
6 #define MEDIA_BASE_SIMD_CONVERT_ROW_H_
7
8 namespace media {
9 namespace simd {
10
11 // The header file for ASM functions that convert a row of pixels with SIMD
12 // instructions so we can call them from C++ code. These functions are
13 // implemented in "convert_row.asm".
14
15 // Convert a row of 24-bit RGB pixels to YV12 pixels.
16 void ConvertRGBtoYUVRow(const uint8* rgba,
17 uint8* y,
18 uint8* u,
19 uint8* v,
20 int width);
21
22 // Convert a row of 32-bit RGB pixels to YV12 pixels.
23 void ConvertRGBAtoYUVRow(const uint8* rgba,
24 uint8* y,
25 uint8* u,
26 uint8* v,
27 int width);
28
29 // Convert a row of YV12 pixels to 24-bit RGB pixels.
30 void ConvertYUVtoRGBRow(const uint8* y,
31 const uint8* u,
32 const uint8* v,
33 uint8* rgba,
34 int width);
35
36 // Convert a row of YV12 pixels to 32-bit RGB pixels.
37 void ConvertYUVtoRGBARow(const uint8* y,
38 const uint8* u,
39 const uint8* v,
40 uint8* rgba,
41 int width);
42
43 } // namespace simd
44 } // namespace media
45
46 #endif // MEDIA_BASE_SIMD_CONVERT_ROW_H_
OLDNEW
« no previous file with comments | « no previous file | media/base/simd/convert_row.asm » ('j') | media/base/simd/convert_row.asm » ('J')

Powered by Google App Engine
This is Rietveld 408576698