Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(412)

Side by Side Diff: source/row_any.cc

Issue 1377053003: remove sse2 functions that also have ssse3 (Closed) Base URL: https://chromium.googlesource.com/libyuv/libyuv@master
Patch Set: lint warning fixes Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2012 The LibYuv Project Authors. All rights reserved. 2 * Copyright 2012 The LibYuv 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 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 #endif 436 #endif
437 #ifdef HAS_ARGB1555TOARGBROW_NEON 437 #ifdef HAS_ARGB1555TOARGBROW_NEON
438 ANY11(ARGB1555ToARGBRow_Any_NEON, ARGB1555ToARGBRow_NEON, 0, 2, 4, 7) 438 ANY11(ARGB1555ToARGBRow_Any_NEON, ARGB1555ToARGBRow_NEON, 0, 2, 4, 7)
439 #endif 439 #endif
440 #ifdef HAS_ARGB4444TOARGBROW_NEON 440 #ifdef HAS_ARGB4444TOARGBROW_NEON
441 ANY11(ARGB4444ToARGBRow_Any_NEON, ARGB4444ToARGBRow_NEON, 0, 2, 4, 7) 441 ANY11(ARGB4444ToARGBRow_Any_NEON, ARGB4444ToARGBRow_NEON, 0, 2, 4, 7)
442 #endif 442 #endif
443 #ifdef HAS_ARGBATTENUATEROW_SSSE3 443 #ifdef HAS_ARGBATTENUATEROW_SSSE3
444 ANY11(ARGBAttenuateRow_Any_SSSE3, ARGBAttenuateRow_SSSE3, 0, 4, 4, 3) 444 ANY11(ARGBAttenuateRow_Any_SSSE3, ARGBAttenuateRow_SSSE3, 0, 4, 4, 3)
445 #endif 445 #endif
446 #ifdef HAS_ARGBATTENUATEROW_SSE2
447 ANY11(ARGBAttenuateRow_Any_SSE2, ARGBAttenuateRow_SSE2, 0, 4, 4, 3)
448 #endif
449 #ifdef HAS_ARGBUNATTENUATEROW_SSE2 446 #ifdef HAS_ARGBUNATTENUATEROW_SSE2
450 ANY11(ARGBUnattenuateRow_Any_SSE2, ARGBUnattenuateRow_SSE2, 0, 4, 4, 3) 447 ANY11(ARGBUnattenuateRow_Any_SSE2, ARGBUnattenuateRow_SSE2, 0, 4, 4, 3)
451 #endif 448 #endif
452 #ifdef HAS_ARGBATTENUATEROW_AVX2 449 #ifdef HAS_ARGBATTENUATEROW_AVX2
453 ANY11(ARGBAttenuateRow_Any_AVX2, ARGBAttenuateRow_AVX2, 0, 4, 4, 7) 450 ANY11(ARGBAttenuateRow_Any_AVX2, ARGBAttenuateRow_AVX2, 0, 4, 4, 7)
454 #endif 451 #endif
455 #ifdef HAS_ARGBUNATTENUATEROW_AVX2 452 #ifdef HAS_ARGBUNATTENUATEROW_AVX2
456 ANY11(ARGBUnattenuateRow_Any_AVX2, ARGBUnattenuateRow_AVX2, 0, 4, 4, 7) 453 ANY11(ARGBUnattenuateRow_Any_AVX2, ARGBUnattenuateRow_AVX2, 0, 4, 4, 7)
457 #endif 454 #endif
458 #ifdef HAS_ARGBATTENUATEROW_NEON 455 #ifdef HAS_ARGBATTENUATEROW_NEON
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 ANY_SIMD(temp, temp + 64, MASK + 1); \ 607 ANY_SIMD(temp, temp + 64, MASK + 1); \
611 memcpy(dst_ptr + n * BPP, temp + 64 + (MASK + 1 - r) * BPP, r * BPP); \ 608 memcpy(dst_ptr + n * BPP, temp + 64 + (MASK + 1 - r) * BPP, r * BPP); \
612 } 609 }
613 610
614 #ifdef HAS_MIRRORROW_AVX2 611 #ifdef HAS_MIRRORROW_AVX2
615 ANY11M(MirrorRow_Any_AVX2, MirrorRow_AVX2, 1, 31) 612 ANY11M(MirrorRow_Any_AVX2, MirrorRow_AVX2, 1, 31)
616 #endif 613 #endif
617 #ifdef HAS_MIRRORROW_SSSE3 614 #ifdef HAS_MIRRORROW_SSSE3
618 ANY11M(MirrorRow_Any_SSSE3, MirrorRow_SSSE3, 1, 15) 615 ANY11M(MirrorRow_Any_SSSE3, MirrorRow_SSSE3, 1, 15)
619 #endif 616 #endif
620 #ifdef HAS_MIRRORROW_SSE2
621 ANY11M(MirrorRow_Any_SSE2, MirrorRow_SSE2, 1, 15)
622 #endif
623 #ifdef HAS_MIRRORROW_NEON 617 #ifdef HAS_MIRRORROW_NEON
624 ANY11M(MirrorRow_Any_NEON, MirrorRow_NEON, 1, 15) 618 ANY11M(MirrorRow_Any_NEON, MirrorRow_NEON, 1, 15)
625 #endif 619 #endif
626 #ifdef HAS_ARGBMIRRORROW_AVX2 620 #ifdef HAS_ARGBMIRRORROW_AVX2
627 ANY11M(ARGBMirrorRow_Any_AVX2, ARGBMirrorRow_AVX2, 4, 7) 621 ANY11M(ARGBMirrorRow_Any_AVX2, ARGBMirrorRow_AVX2, 4, 7)
628 #endif 622 #endif
629 #ifdef HAS_ARGBMIRRORROW_SSE2 623 #ifdef HAS_ARGBMIRRORROW_SSE2
630 ANY11M(ARGBMirrorRow_Any_SSE2, ARGBMirrorRow_SSE2, 4, 3) 624 ANY11M(ARGBMirrorRow_Any_SSE2, ARGBMirrorRow_SSE2, 4, 3)
631 #endif 625 #endif
632 #ifdef HAS_ARGBMIRRORROW_NEON 626 #ifdef HAS_ARGBMIRRORROW_NEON
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
792 #endif 786 #endif
793 #ifdef HAS_UYVYTOUVROW_NEON 787 #ifdef HAS_UYVYTOUVROW_NEON
794 ANY12S(UYVYToUVRow_Any_NEON, UYVYToUVRow_NEON, 1, 4, 15) 788 ANY12S(UYVYToUVRow_Any_NEON, UYVYToUVRow_NEON, 1, 4, 15)
795 #endif 789 #endif
796 #undef ANY12S 790 #undef ANY12S
797 791
798 #ifdef __cplusplus 792 #ifdef __cplusplus
799 } // extern "C" 793 } // extern "C"
800 } // namespace libyuv 794 } // namespace libyuv
801 #endif 795 #endif
OLDNEW
« include/libyuv/row.h ('K') | « source/rotate.cc ('k') | source/row_gcc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698