OLD | NEW |
1 // VERSION 2 | 1 // VERSION 2 |
2 /* | 2 /* |
3 * Copyright 2011 The LibYuv Project Authors. All rights reserved. | 3 * Copyright 2011 The LibYuv Project Authors. All rights reserved. |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license | 5 * Use of this source code is governed by a BSD-style license |
6 * that can be found in the LICENSE file in the root of the source | 6 * that can be found in the LICENSE file in the root of the source |
7 * tree. An additional intellectual property rights grant can be found | 7 * tree. An additional intellectual property rights grant can be found |
8 * in the file PATENTS. All contributing project authors may | 8 * in the file PATENTS. All contributing project authors may |
9 * be found in the AUTHORS file in the root of the source tree. | 9 * be found in the AUTHORS file in the root of the source tree. |
10 */ | 10 */ |
(...skipping 3531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3542 "1: \n" | 3542 "1: \n" |
3543 "vmovdqu (%2),%%ymm0 \n" | 3543 "vmovdqu (%2),%%ymm0 \n" |
3544 "vpunpckhbw %%ymm0,%%ymm0,%%ymm3 \n" | 3544 "vpunpckhbw %%ymm0,%%ymm0,%%ymm3 \n" |
3545 "vpunpcklbw %%ymm0,%%ymm0,%%ymm0 \n" | 3545 "vpunpcklbw %%ymm0,%%ymm0,%%ymm0 \n" |
3546 "vpxor %%ymm5,%%ymm3,%%ymm3 \n" | 3546 "vpxor %%ymm5,%%ymm3,%%ymm3 \n" |
3547 "vpxor %%ymm5,%%ymm0,%%ymm0 \n" | 3547 "vpxor %%ymm5,%%ymm0,%%ymm0 \n" |
3548 "vmovdqu (%0,%2,1),%%ymm1 \n" | 3548 "vmovdqu (%0,%2,1),%%ymm1 \n" |
3549 "vmovdqu (%1,%2,1),%%ymm2 \n" | 3549 "vmovdqu (%1,%2,1),%%ymm2 \n" |
3550 "vpunpckhbw %%ymm2,%%ymm1,%%ymm4 \n" | 3550 "vpunpckhbw %%ymm2,%%ymm1,%%ymm4 \n" |
3551 "vpunpcklbw %%ymm2,%%ymm1,%%ymm1 \n" | 3551 "vpunpcklbw %%ymm2,%%ymm1,%%ymm1 \n" |
3552 "vpsubb %%ymm6,%%ymm1,%%ymm4 \n" | 3552 "vpsubb %%ymm6,%%ymm4,%%ymm4 \n" |
3553 "vpsubb %%ymm6,%%ymm1,%%ymm1 \n" | 3553 "vpsubb %%ymm6,%%ymm1,%%ymm1 \n" |
3554 "vpmaddubsw %%ymm4,%%ymm3,%%ymm3 \n" | 3554 "vpmaddubsw %%ymm4,%%ymm3,%%ymm3 \n" |
3555 "vpmaddubsw %%ymm1,%%ymm0,%%ymm0 \n" | 3555 "vpmaddubsw %%ymm1,%%ymm0,%%ymm0 \n" |
3556 "vpaddw %%ymm7,%%ymm3,%%ymm3 \n" | 3556 "vpaddw %%ymm7,%%ymm3,%%ymm3 \n" |
3557 "vpaddw %%ymm7,%%ymm0,%%ymm0 \n" | 3557 "vpaddw %%ymm7,%%ymm0,%%ymm0 \n" |
3558 "vpsrlw $0x8,%%ymm3,%%ymm3 \n" | 3558 "vpsrlw $0x8,%%ymm3,%%ymm3 \n" |
3559 "vpsrlw $0x8,%%ymm0,%%ymm0 \n" | 3559 "vpsrlw $0x8,%%ymm0,%%ymm0 \n" |
3560 "vpackuswb %%ymm3,%%ymm0,%%ymm0 \n" | 3560 "vpackuswb %%ymm3,%%ymm0,%%ymm0 \n" |
3561 "vmovdqu %%ymm0,(%3,%2,1) \n" | 3561 "vmovdqu %%ymm0,(%3,%2,1) \n" |
3562 "lea 0x20(%2),%2 \n" | 3562 "lea 0x20(%2),%2 \n" |
(...skipping 2034 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5597 ); | 5597 ); |
5598 } | 5598 } |
5599 #endif // HAS_ARGBLUMACOLORTABLEROW_SSSE3 | 5599 #endif // HAS_ARGBLUMACOLORTABLEROW_SSSE3 |
5600 | 5600 |
5601 #endif // defined(__x86_64__) || defined(__i386__) | 5601 #endif // defined(__x86_64__) || defined(__i386__) |
5602 | 5602 |
5603 #ifdef __cplusplus | 5603 #ifdef __cplusplus |
5604 } // extern "C" | 5604 } // extern "C" |
5605 } // namespace libyuv | 5605 } // namespace libyuv |
5606 #endif | 5606 #endif |
OLD | NEW |