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

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

Issue 7003082: Implements RGB to YV12 conversion in YASM. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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
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_YUV_TO_RGB_SSSE3_H_
6 #define MEDIA_BASE_SIMD_CONVERT_YUV_TO_RGB_SSSE3_H_
7
8 namespace media {
9 namespace simd {
10
11 // The header file for ASM functions that convert a row of pixels with SSSE3
12 // instructions so we can call them from C++ code. These functions are
13 // implemented in "convert_yuv_to_rgb_ssse3.asm".
14
15 // Convert a row of YV12 pixels to 24-bit RGB pixels.
16 void ConvertYUVtoRGBRow(const uint8* y,
Alpha Left Google 2011/09/01 13:24:45 Add _SSSE3 suffix.
17 const uint8* u,
18 const uint8* v,
19 uint8* rgb,
20 int width);
21
22 // Convert a row of YV12 pixels to 32-bit RGB pixels.
23 void ConvertYUVtoARGBRow(const uint8* y,
Alpha Left Google 2011/09/01 13:24:45 Add _SSSE3 suffix.
24 const uint8* u,
25 const uint8* v,
26 uint8* argb,
27 int width);
28
29 } // namespace simd
30 } // namespace media
31
32 #endif // MEDIA_BASE_SIMD_CONVERT_YUV_TO_RGB_SSSE3_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698