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

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

Issue 9138050: Merge 117748 - Linear sub-rectangle scaler for use in Chromoting. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/963/src/
Patch Set: Created 8 years, 11 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_yuv_to_rgb_c.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_SIMD_CONVERT_YUV_TO_RGB_H_ 5 #ifndef MEDIA_BASE_SIMD_CONVERT_YUV_TO_RGB_H_
6 #define MEDIA_BASE_SIMD_CONVERT_YUV_TO_RGB_H_ 6 #define MEDIA_BASE_SIMD_CONVERT_YUV_TO_RGB_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "media/base/yuv_convert.h" 9 #include "media/base/yuv_convert.h"
10 10
11 namespace media { 11 namespace media {
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 int width, 117 int width,
118 int source_dx); 118 int source_dx);
119 119
120 void LinearScaleYUVToRGB32Row_C(const uint8* y_buf, 120 void LinearScaleYUVToRGB32Row_C(const uint8* y_buf,
121 const uint8* u_buf, 121 const uint8* u_buf,
122 const uint8* v_buf, 122 const uint8* v_buf,
123 uint8* rgb_buf, 123 uint8* rgb_buf,
124 int width, 124 int width,
125 int source_dx); 125 int source_dx);
126 126
127 void LinearScaleYUVToRGB32RowWithRange_C(const uint8* y_buf,
128 const uint8* u_buf,
129 const uint8* v_buf,
130 uint8* rgb_buf,
131 int dest_width,
132 int source_x,
133 int source_dx);
134
127 void LinearScaleYUVToRGB32Row_MMX(const uint8* y_buf, 135 void LinearScaleYUVToRGB32Row_MMX(const uint8* y_buf,
128 const uint8* u_buf, 136 const uint8* u_buf,
129 const uint8* v_buf, 137 const uint8* v_buf,
130 uint8* rgb_buf, 138 uint8* rgb_buf,
131 int width, 139 int width,
132 int source_dx); 140 int source_dx);
133 141
134 void LinearScaleYUVToRGB32Row_SSE(const uint8* y_buf, 142 void LinearScaleYUVToRGB32Row_SSE(const uint8* y_buf,
135 const uint8* u_buf, 143 const uint8* u_buf,
136 const uint8* v_buf, 144 const uint8* v_buf,
137 uint8* rgb_buf, 145 uint8* rgb_buf,
138 int width, 146 int width,
139 int source_dx); 147 int source_dx);
140 148
141 void LinearScaleYUVToRGB32Row_MMX_X64(const uint8* y_buf, 149 void LinearScaleYUVToRGB32Row_MMX_X64(const uint8* y_buf,
142 const uint8* u_buf, 150 const uint8* u_buf,
143 const uint8* v_buf, 151 const uint8* v_buf,
144 uint8* rgb_buf, 152 uint8* rgb_buf,
145 int width, 153 int width,
146 int source_dx); 154 int source_dx);
147 155
148 } // extern "C" 156 } // extern "C"
149 157
150 #endif // MEDIA_BASE_SIMD_CONVERT_YUV_TO_RGB_H_ 158 #endif // MEDIA_BASE_SIMD_CONVERT_YUV_TO_RGB_H_
OLDNEW
« no previous file with comments | « no previous file | media/base/simd/convert_yuv_to_rgb_c.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698