| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |