| 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 // NEON version of YUV to RGB upsampling functions. | 10 // NEON version of YUV to RGB upsampling functions. |
| 9 // | 11 // |
| 10 // Author: mans@mansr.com (Mans Rullgard) | 12 // Author: mans@mansr.com (Mans Rullgard) |
| 11 // Based on SSE code by: somnath@google.com (Somnath Banerjee) | 13 // Based on SSE code by: somnath@google.com (Somnath Banerjee) |
| 12 | 14 |
| 13 #include "./dsp.h" | 15 #include "./dsp.h" |
| 14 | 16 |
| 15 #if defined(__cplusplus) || defined(c_plusplus) | 17 #if defined(__cplusplus) || defined(c_plusplus) |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 283 void WebPInitPremultiplyNEON(void) { | 285 void WebPInitPremultiplyNEON(void) { |
| 284 #if defined(WEBP_USE_NEON) | 286 #if defined(WEBP_USE_NEON) |
| 285 WebPUpsamplers[MODE_rgbA] = UpsampleRgbaLinePairNEON; | 287 WebPUpsamplers[MODE_rgbA] = UpsampleRgbaLinePairNEON; |
| 286 WebPUpsamplers[MODE_bgrA] = UpsampleBgraLinePairNEON; | 288 WebPUpsamplers[MODE_bgrA] = UpsampleBgraLinePairNEON; |
| 287 #endif // WEBP_USE_NEON | 289 #endif // WEBP_USE_NEON |
| 288 } | 290 } |
| 289 | 291 |
| 290 #if defined(__cplusplus) || defined(c_plusplus) | 292 #if defined(__cplusplus) || defined(c_plusplus) |
| 291 } // extern "C" | 293 } // extern "C" |
| 292 #endif | 294 #endif |
| OLD | NEW |