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

Side by Side Diff: include/libyuv/scale_row.h

Issue 1546763002: port scaledownby4_avx2 to gcc (Closed) Base URL: https://chromium.googlesource.com/libyuv/libyuv@master
Patch Set: bump version to r1561 Created 4 years, 12 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
« no previous file with comments | « README.chromium ('k') | include/libyuv/version.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2013 The LibYuv Project Authors. All rights reserved. 2 * Copyright 2013 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 #define HAS_SCALEADDROW_SSE2 63 #define HAS_SCALEADDROW_SSE2
64 #endif 64 #endif
65 65
66 // The following are available on all x86 platforms, but 66 // The following are available on all x86 platforms, but
67 // require VS2012, clang 3.4 or gcc 4.7. 67 // require VS2012, clang 3.4 or gcc 4.7.
68 // The code supports NaCL but requires a new compiler and validator. 68 // The code supports NaCL but requires a new compiler and validator.
69 #if !defined(LIBYUV_DISABLE_X86) && (defined(VISUALC_HAS_AVX2) || \ 69 #if !defined(LIBYUV_DISABLE_X86) && (defined(VISUALC_HAS_AVX2) || \
70 defined(CLANG_HAS_AVX2) || defined(GCC_HAS_AVX2)) 70 defined(CLANG_HAS_AVX2) || defined(GCC_HAS_AVX2))
71 #define HAS_SCALEADDROW_AVX2 71 #define HAS_SCALEADDROW_AVX2
72 #define HAS_SCALEROWDOWN2_AVX2 72 #define HAS_SCALEROWDOWN2_AVX2
73 #endif
74
75 // The following are available for Visual C and clangcl 32 bit:
76 #if !defined(LIBYUV_DISABLE_X86) && defined(_M_IX86) && \
77 (defined(VISUALC_HAS_AVX2) || defined(CLANG_HAS_AVX2))
78 #define HAS_SCALEROWDOWN4_AVX2 73 #define HAS_SCALEROWDOWN4_AVX2
79 #endif 74 #endif
80 75
81 // The following are available on Neon platforms: 76 // The following are available on Neon platforms:
82 #if !defined(LIBYUV_DISABLE_NEON) && !defined(__native_client__) && \ 77 #if !defined(LIBYUV_DISABLE_NEON) && !defined(__native_client__) && \
83 (defined(__ARM_NEON__) || defined(LIBYUV_NEON) || defined(__aarch64__)) 78 (defined(__ARM_NEON__) || defined(LIBYUV_NEON) || defined(__aarch64__))
84 #define HAS_SCALEARGBCOLS_NEON 79 #define HAS_SCALEARGBCOLS_NEON
85 #define HAS_SCALEARGBROWDOWN2_NEON 80 #define HAS_SCALEARGBROWDOWN2_NEON
86 #define HAS_SCALEARGBROWDOWNEVEN_NEON 81 #define HAS_SCALEARGBROWDOWNEVEN_NEON
87 #define HAS_SCALEFILTERCOLS_NEON 82 #define HAS_SCALEFILTERCOLS_NEON
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 void ScaleRowDown38_3_Box_MIPS_DSPR2(const uint8* src_ptr, 482 void ScaleRowDown38_3_Box_MIPS_DSPR2(const uint8* src_ptr,
488 ptrdiff_t src_stride, 483 ptrdiff_t src_stride,
489 uint8* dst_ptr, int dst_width); 484 uint8* dst_ptr, int dst_width);
490 485
491 #ifdef __cplusplus 486 #ifdef __cplusplus
492 } // extern "C" 487 } // extern "C"
493 } // namespace libyuv 488 } // namespace libyuv
494 #endif 489 #endif
495 490
496 #endif // INCLUDE_LIBYUV_SCALE_ROW_H_ NOLINT 491 #endif // INCLUDE_LIBYUV_SCALE_ROW_H_ NOLINT
OLDNEW
« no previous file with comments | « README.chromium ('k') | include/libyuv/version.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698