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 %define program_name vpx | |
11 | 10 |
12 %include "third_party/x86inc/x86inc.asm" | 11 %include "third_party/x86inc/x86inc.asm" |
13 | 12 |
14 SECTION .text | 13 SECTION .text |
15 | 14 |
16 ; void vpx_subtract_block(int rows, int cols, | 15 ; void vpx_subtract_block(int rows, int cols, |
17 ; int16_t *diff, ptrdiff_t diff_stride, | 16 ; int16_t *diff, ptrdiff_t diff_stride, |
18 ; const uint8_t *src, ptrdiff_t src_stride, | 17 ; const uint8_t *src, ptrdiff_t src_stride, |
19 ; const uint8_t *pred, ptrdiff_t pred_stride) | 18 ; const uint8_t *pred, ptrdiff_t pred_stride) |
20 | 19 |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 .case_4: | 118 .case_4: |
120 mov pred_str, pred_stridemp | 119 mov pred_str, pred_stridemp |
121 .loop_4: | 120 .loop_4: |
122 loop_h | 121 loop_h |
123 lea diffq, [diffq+diff_strideq*4] | 122 lea diffq, [diffq+diff_strideq*4] |
124 lea srcq, [srcq+src_strideq*2] | 123 lea srcq, [srcq+src_strideq*2] |
125 lea predq, [predq+pred_str*2] | 124 lea predq, [predq+pred_str*2] |
126 sub rowsd, 2 | 125 sub rowsd, 2 |
127 jg .loop_4 | 126 jg .loop_4 |
128 RET | 127 RET |
OLD | NEW |