OLD | NEW |
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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 #if !defined(LIBYUV_DISABLE_X86) && \ | 54 #if !defined(LIBYUV_DISABLE_X86) && \ |
55 (defined(_M_IX86) || defined(__x86_64__) || defined(__i386__)) | 55 (defined(_M_IX86) || defined(__x86_64__) || defined(__i386__)) |
56 #define HAS_FIXEDDIV1_X86 | 56 #define HAS_FIXEDDIV1_X86 |
57 #define HAS_FIXEDDIV_X86 | 57 #define HAS_FIXEDDIV_X86 |
58 #define HAS_SCALEARGBCOLS_SSE2 | 58 #define HAS_SCALEARGBCOLS_SSE2 |
59 #define HAS_SCALEARGBCOLSUP2_SSE2 | 59 #define HAS_SCALEARGBCOLSUP2_SSE2 |
60 #define HAS_SCALEARGBFILTERCOLS_SSSE3 | 60 #define HAS_SCALEARGBFILTERCOLS_SSSE3 |
61 #define HAS_SCALEARGBROWDOWN2_SSE2 | 61 #define HAS_SCALEARGBROWDOWN2_SSE2 |
62 #define HAS_SCALEARGBROWDOWNEVEN_SSE2 | 62 #define HAS_SCALEARGBROWDOWNEVEN_SSE2 |
63 #define HAS_SCALECOLSUP2_SSE2 | 63 #define HAS_SCALECOLSUP2_SSE2 |
64 #define HAS_SCALEFILTERCOLS_SSSE3 | 64 // TODO(fbarchard): HAS_SCALEFILTERCOLS_SSSE3 doesnt match C very well. |
| 65 // #define HAS_SCALEFILTERCOLS_SSSE3 |
65 #define HAS_SCALEROWDOWN2_SSSE3 | 66 #define HAS_SCALEROWDOWN2_SSSE3 |
66 #define HAS_SCALEROWDOWN34_SSSE3 | 67 #define HAS_SCALEROWDOWN34_SSSE3 |
67 #define HAS_SCALEROWDOWN38_SSSE3 | 68 #define HAS_SCALEROWDOWN38_SSSE3 |
68 #define HAS_SCALEROWDOWN4_SSSE3 | 69 #define HAS_SCALEROWDOWN4_SSSE3 |
69 #define HAS_SCALEADDROW_SSE2 | 70 #define HAS_SCALEADDROW_SSE2 |
70 #endif | 71 #endif |
71 | 72 |
72 // The following are available on all x86 platforms, but | 73 // The following are available on all x86 platforms, but |
73 // require VS2012, clang 3.4 or gcc 4.7. | 74 // require VS2012, clang 3.4 or gcc 4.7. |
74 // The code supports NaCL but requires a new compiler and validator. | 75 // The code supports NaCL but requires a new compiler and validator. |
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
494 uint8* dst_ptr, int dst_width); | 495 uint8* dst_ptr, int dst_width); |
495 void ScaleRowDown38_3_Box_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride, | 496 void ScaleRowDown38_3_Box_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride, |
496 uint8* dst_ptr, int dst_width); | 497 uint8* dst_ptr, int dst_width); |
497 | 498 |
498 #ifdef __cplusplus | 499 #ifdef __cplusplus |
499 } // extern "C" | 500 } // extern "C" |
500 } // namespace libyuv | 501 } // namespace libyuv |
501 #endif | 502 #endif |
502 | 503 |
503 #endif // INCLUDE_LIBYUV_SCALE_ROW_H_ NOLINT | 504 #endif // INCLUDE_LIBYUV_SCALE_ROW_H_ NOLINT |
OLD | NEW |