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 |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 ;Store the values | 338 ;Store the values |
339 mova [dstq ], m1 | 339 mova [dstq ], m1 |
340 mova [dstq+strideq*2], m2 | 340 mova [dstq+strideq*2], m2 |
341 lea dstq, [dstq+strideq*4] | 341 lea dstq, [dstq+strideq*4] |
342 inc lineq | 342 inc lineq |
343 jnz .loop | 343 jnz .loop |
344 REP_RET | 344 REP_RET |
345 | 345 |
346 %if ARCH_X86_64 | 346 %if ARCH_X86_64 |
347 INIT_XMM sse2 | 347 INIT_XMM sse2 |
348 cglobal highbd_tm_predictor_16x16, 5, 6, 8, dst, stride, above, left, bps, one | 348 cglobal highbd_tm_predictor_16x16, 5, 6, 9, dst, stride, above, left, bps, one |
349 movd m2, [aboveq-2] | 349 movd m2, [aboveq-2] |
350 mova m0, [aboveq] | 350 mova m0, [aboveq] |
351 mova m1, [aboveq+16] | 351 mova m1, [aboveq+16] |
352 pshuflw m2, m2, 0x0 | 352 pshuflw m2, m2, 0x0 |
353 ; Get the values to compute the maximum value at this bit depth | 353 ; Get the values to compute the maximum value at this bit depth |
354 mov oned, 1 | 354 mov oned, 1 |
355 pxor m7, m7 | 355 pxor m7, m7 |
356 pxor m8, m8 | 356 pxor m8, m8 |
357 pinsrw m7, oned, 0 | 357 pinsrw m7, oned, 0 |
358 pinsrw m8, bpsd, 0 | 358 pinsrw m8, bpsd, 0 |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
467 ;Store these values | 467 ;Store these values |
468 mova [dstq+strideq*2 ], m7 | 468 mova [dstq+strideq*2 ], m7 |
469 mova [dstq+strideq*2+16], m8 | 469 mova [dstq+strideq*2+16], m8 |
470 mova [dstq+strideq*2+32], m9 | 470 mova [dstq+strideq*2+32], m9 |
471 mova [dstq+strideq*2+48], m6 | 471 mova [dstq+strideq*2+48], m6 |
472 lea dstq, [dstq+strideq*4] | 472 lea dstq, [dstq+strideq*4] |
473 inc lineq | 473 inc lineq |
474 jnz .loop | 474 jnz .loop |
475 REP_RET | 475 REP_RET |
476 %endif | 476 %endif |
OLD | NEW |