| OLD | NEW |
| 1 ; | 1 ; |
| 2 ; Copyright (c) 2014 The WebM project authors. All Rights Reserved. | 2 ; Copyright (c) 2014 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 %define program_name vpx | |
| 12 | |
| 13 %include "third_party/x86inc/x86inc.asm" | 11 %include "third_party/x86inc/x86inc.asm" |
| 14 | 12 |
| 15 SECTION .text | 13 SECTION .text |
| 16 | 14 |
| 17 %macro HIGH_SAD_FN 4 | 15 %macro HIGH_SAD_FN 4 |
| 18 %if %4 == 0 | 16 %if %4 == 0 |
| 19 %if %3 == 5 | 17 %if %3 == 5 |
| 20 cglobal highbd_sad%1x%2, 4, %3, 7, src, src_stride, ref, ref_stride, n_rows | 18 cglobal highbd_sad%1x%2, 4, %3, 7, src, src_stride, ref, ref_stride, n_rows |
| 21 %else ; %3 == 7 | 19 %else ; %3 == 7 |
| 22 cglobal highbd_sad%1x%2, 4, %3, 7, src, src_stride, ref, ref_stride, \ | 20 cglobal highbd_sad%1x%2, 4, %3, 7, src, src_stride, ref, ref_stride, \ |
| (...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 RET | 354 RET |
| 357 %endmacro | 355 %endmacro |
| 358 | 356 |
| 359 INIT_XMM sse2 | 357 INIT_XMM sse2 |
| 360 HIGH_SAD8XN 16 ; highbd_sad8x16_sse2 | 358 HIGH_SAD8XN 16 ; highbd_sad8x16_sse2 |
| 361 HIGH_SAD8XN 8 ; highbd_sad8x8_sse2 | 359 HIGH_SAD8XN 8 ; highbd_sad8x8_sse2 |
| 362 HIGH_SAD8XN 4 ; highbd_sad8x4_sse2 | 360 HIGH_SAD8XN 4 ; highbd_sad8x4_sse2 |
| 363 HIGH_SAD8XN 16, 1 ; highbd_sad8x16_avg_sse2 | 361 HIGH_SAD8XN 16, 1 ; highbd_sad8x16_avg_sse2 |
| 364 HIGH_SAD8XN 8, 1 ; highbd_sad8x8_avg_sse2 | 362 HIGH_SAD8XN 8, 1 ; highbd_sad8x8_avg_sse2 |
| 365 HIGH_SAD8XN 4, 1 ; highbd_sad8x4_avg_sse2 | 363 HIGH_SAD8XN 4, 1 ; highbd_sad8x4_avg_sse2 |
| OLD | NEW |