| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 | 11 |
| 12 /**************************************************************************** | 12 /**************************************************************************** |
| 13 * | 13 * |
| 14 * Module Title : scaleopt.cpp | 14 * Module Title : scaleopt.cpp |
| 15 * | 15 * |
| 16 * Description : Optimized scaling functions | 16 * Description : Optimized scaling functions |
| 17 * | 17 * |
| 18 ****************************************************************************/ | 18 ****************************************************************************/ |
| 19 #include "pragmas.h" | 19 #include "pragmas.h" |
| 20 | 20 |
| 21 /**************************************************************************** | 21 /**************************************************************************** |
| 22 * Module Statics | 22 * Module Statics |
| 23 ****************************************************************************/ | 23 ****************************************************************************/ |
| 24 __declspec(align(16)) const static unsigned short round_values[] = { 128, 128, 1
28, 128 }; | 24 __declspec(align(16)) const static unsigned short round_values[] = { 128, 128, 1
28, 128 }; |
| 25 | 25 |
| 26 #include "vpx_scale/vpxscale.h" | 26 #include "vpx_scale/vpx_scale.h" |
| 27 #include "vpx_mem/vpx_mem.h" | 27 #include "vpx_mem/vpx_mem.h" |
| 28 | 28 |
| 29 __declspec(align(16)) const static unsigned short const54_2[] = { 0, 64, 128,
192 }; | 29 __declspec(align(16)) const static unsigned short const54_2[] = { 0, 64, 128,
192 }; |
| 30 __declspec(align(16)) const static unsigned short const54_1[] = {256, 192, 128,
64 }; | 30 __declspec(align(16)) const static unsigned short const54_1[] = {256, 192, 128,
64 }; |
| 31 | 31 |
| 32 | 32 |
| 33 /**************************************************************************** | 33 /**************************************************************************** |
| 34 * | 34 * |
| 35 * ROUTINE : horizontal_line_5_4_scale_mmx | 35 * ROUTINE : horizontal_line_5_4_scale_mmx |
| 36 * | 36 * |
| (...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 516 void | 516 void |
| 517 register_mmxscalers(void) { | 517 register_mmxscalers(void) { |
| 518 vp8_vertical_band_5_4_scale = vertical_band_5_4_scale_mmx; | 518 vp8_vertical_band_5_4_scale = vertical_band_5_4_scale_mmx; |
| 519 vp8_vertical_band_5_3_scale = vertical_band_5_3_scale_mmx; | 519 vp8_vertical_band_5_3_scale = vertical_band_5_3_scale_mmx; |
| 520 vp8_vertical_band_2_1_scale = vertical_band_2_1_scale_mmx; | 520 vp8_vertical_band_2_1_scale = vertical_band_2_1_scale_mmx; |
| 521 vp8_vertical_band_2_1_scale_i = vertical_band_2_1_scale_i_mmx; | 521 vp8_vertical_band_2_1_scale_i = vertical_band_2_1_scale_i_mmx; |
| 522 vp8_horizontal_line_2_1_scale = horizontal_line_2_1_scale_mmx; | 522 vp8_horizontal_line_2_1_scale = horizontal_line_2_1_scale_mmx; |
| 523 vp8_horizontal_line_5_3_scale = horizontal_line_5_3_scale_mmx; | 523 vp8_horizontal_line_5_3_scale = horizontal_line_5_3_scale_mmx; |
| 524 vp8_horizontal_line_5_4_scale = horizontal_line_5_4_scale_mmx; | 524 vp8_horizontal_line_5_4_scale = horizontal_line_5_4_scale_mmx; |
| 525 } | 525 } |
| OLD | NEW |