| OLD | NEW |
| 1 // Copyright 2011 Google Inc. All Rights Reserved. | 1 // Copyright 2011 Google Inc. All Rights Reserved. |
| 2 // | 2 // |
| 3 // This code is licensed under the same terms as WebM: | 3 // Use of this source code is governed by a BSD-style license |
| 4 // Software License Agreement: http://www.webmproject.org/license/software/ | 4 // that can be found in the COPYING file in the root of the source |
| 5 // Additional IP Rights Grant: http://www.webmproject.org/license/additional/ | 5 // tree. An additional intellectual property rights grant can be found |
| 6 // in the file PATENTS. All contributing project authors may |
| 7 // be found in the AUTHORS file in the root of the source tree. |
| 6 // ----------------------------------------------------------------------------- | 8 // ----------------------------------------------------------------------------- |
| 7 // | 9 // |
| 8 // SSE2 version of YUV to RGB upsampling functions. | 10 // SSE2 version of YUV to RGB upsampling functions. |
| 9 // | 11 // |
| 10 // Author: somnath@google.com (Somnath Banerjee) | 12 // Author: somnath@google.com (Somnath Banerjee) |
| 11 | 13 |
| 12 #include "./dsp.h" | 14 #include "./dsp.h" |
| 13 | 15 |
| 14 #if defined(__cplusplus) || defined(c_plusplus) | 16 #if defined(__cplusplus) || defined(c_plusplus) |
| 15 extern "C" { | 17 extern "C" { |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 WebPUpsamplers[MODE_rgbA] = UpsampleRgbaLinePairSSE2; | 208 WebPUpsamplers[MODE_rgbA] = UpsampleRgbaLinePairSSE2; |
| 207 WebPUpsamplers[MODE_bgrA] = UpsampleBgraLinePairSSE2; | 209 WebPUpsamplers[MODE_bgrA] = UpsampleBgraLinePairSSE2; |
| 208 #endif // WEBP_USE_SSE2 | 210 #endif // WEBP_USE_SSE2 |
| 209 } | 211 } |
| 210 | 212 |
| 211 #if defined(__cplusplus) || defined(c_plusplus) | 213 #if defined(__cplusplus) || defined(c_plusplus) |
| 212 } // extern "C" | 214 } // extern "C" |
| 213 #endif | 215 #endif |
| 214 | 216 |
| 215 | 217 |
| OLD | NEW |