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

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

Issue 1393653002: port scale box filter sse2 to gcc (Closed) Base URL: https://chromium.googlesource.com/libyuv/libyuv@master
Patch Set: 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
« 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 #define HAS_SCALEARGBCOLSUP2_SSE2 46 #define HAS_SCALEARGBCOLSUP2_SSE2
47 #define HAS_SCALEARGBFILTERCOLS_SSSE3 47 #define HAS_SCALEARGBFILTERCOLS_SSSE3
48 #define HAS_SCALEARGBROWDOWN2_SSE2 48 #define HAS_SCALEARGBROWDOWN2_SSE2
49 #define HAS_SCALEARGBROWDOWNEVEN_SSE2 49 #define HAS_SCALEARGBROWDOWNEVEN_SSE2
50 #define HAS_SCALECOLSUP2_SSE2 50 #define HAS_SCALECOLSUP2_SSE2
51 #define HAS_SCALEFILTERCOLS_SSSE3 51 #define HAS_SCALEFILTERCOLS_SSSE3
52 #define HAS_SCALEROWDOWN2_SSE2 52 #define HAS_SCALEROWDOWN2_SSE2
53 #define HAS_SCALEROWDOWN34_SSSE3 53 #define HAS_SCALEROWDOWN34_SSSE3
54 #define HAS_SCALEROWDOWN38_SSSE3 54 #define HAS_SCALEROWDOWN38_SSSE3
55 #define HAS_SCALEROWDOWN4_SSE2 55 #define HAS_SCALEROWDOWN4_SSE2
56 #define HAS_SCALEADDROW_SSE2
56 #endif 57 #endif
57 58
58 // The following are available for Visual C and clangcl 32 bit: 59 // The following are available for Visual C and clangcl 32 bit:
59 #if !defined(LIBYUV_DISABLE_X86) && defined(_M_IX86) && \ 60 #if !defined(LIBYUV_DISABLE_X86) && defined(_M_IX86) && \
60 (defined(VISUALC_HAS_AVX2) || defined(CLANG_HAS_AVX2)) 61 (defined(VISUALC_HAS_AVX2) || defined(CLANG_HAS_AVX2))
61 #define HAS_SCALEADDROW_AVX2 62 #define HAS_SCALEADDROW_AVX2
62 #define HAS_SCALEROWDOWN2_AVX2 63 #define HAS_SCALEROWDOWN2_AVX2
63 #define HAS_SCALEROWDOWN4_AVX2 64 #define HAS_SCALEROWDOWN4_AVX2
64 #endif 65 #endif
65 66
66 // The following are available on Visual C:
67 #if !defined(LIBYUV_DISABLE_X86) && defined(_M_IX86)
68 #define HAS_SCALEADDROW_SSE2
69 #endif
70
71 // The following are available on Neon platforms: 67 // The following are available on Neon platforms:
72 #if !defined(LIBYUV_DISABLE_NEON) && !defined(__native_client__) && \ 68 #if !defined(LIBYUV_DISABLE_NEON) && !defined(__native_client__) && \
73 (defined(__ARM_NEON__) || defined(LIBYUV_NEON) || defined(__aarch64__)) 69 (defined(__ARM_NEON__) || defined(LIBYUV_NEON) || defined(__aarch64__))
74 #define HAS_SCALEARGBCOLS_NEON 70 #define HAS_SCALEARGBCOLS_NEON
75 #define HAS_SCALEARGBROWDOWN2_NEON 71 #define HAS_SCALEARGBROWDOWN2_NEON
76 #define HAS_SCALEARGBROWDOWNEVEN_NEON 72 #define HAS_SCALEARGBROWDOWNEVEN_NEON
77 #define HAS_SCALEFILTERCOLS_NEON 73 #define HAS_SCALEFILTERCOLS_NEON
78 #define HAS_SCALEROWDOWN2_NEON 74 #define HAS_SCALEROWDOWN2_NEON
79 #define HAS_SCALEROWDOWN34_NEON 75 #define HAS_SCALEROWDOWN34_NEON
80 #define HAS_SCALEROWDOWN38_NEON 76 #define HAS_SCALEROWDOWN38_NEON
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 void ScaleRowDown38_3_Box_MIPS_DSPR2(const uint8* src_ptr, 473 void ScaleRowDown38_3_Box_MIPS_DSPR2(const uint8* src_ptr,
478 ptrdiff_t src_stride, 474 ptrdiff_t src_stride,
479 uint8* dst_ptr, int dst_width); 475 uint8* dst_ptr, int dst_width);
480 476
481 #ifdef __cplusplus 477 #ifdef __cplusplus
482 } // extern "C" 478 } // extern "C"
483 } // namespace libyuv 479 } // namespace libyuv
484 #endif 480 #endif
485 481
486 #endif // INCLUDE_LIBYUV_SCALE_ROW_H_ NOLINT 482 #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