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

Side by Side Diff: third_party/libwebp/dsp/neon.h

Issue 2651883004: libwebp-0.6.0-rc1 (Closed)
Patch Set: Created 3 years, 10 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 | « third_party/libwebp/dsp/msa_macro.h ('k') | third_party/libwebp/dsp/rescaler.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 Google Inc. All Rights Reserved. 1 // Copyright 2014 Google Inc. All Rights Reserved.
2 // 2 //
3 // Use of this source code is governed by a BSD-style license 3 // Use of this source code is governed by a BSD-style license
4 // that can be found in the COPYING file in the root of the source 4 // that can be found in the COPYING file in the root of the source
5 // tree. An additional intellectual property rights grant can be found 5 // tree. An additional intellectual property rights grant can be found
6 // in the file PATENTS. All contributing project authors may 6 // in the file PATENTS. All contributing project authors may
7 // be found in the AUTHORS file in the root of the source tree. 7 // be found in the AUTHORS file in the root of the source tree.
8 // ----------------------------------------------------------------------------- 8 // -----------------------------------------------------------------------------
9 // 9 //
10 // NEON common code. 10 // NEON common code.
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 vreinterpretq_s32_u64(row23.val[1])); 72 vreinterpretq_s32_u64(row23.val[1]));
73 int32x4x4_t out; 73 int32x4x4_t out;
74 out.val[0] = out01.val[0]; 74 out.val[0] = out01.val[0];
75 out.val[1] = out01.val[1]; 75 out.val[1] = out01.val[1];
76 out.val[2] = out23.val[0]; 76 out.val[2] = out23.val[0];
77 out.val[3] = out23.val[1]; 77 out.val[3] = out23.val[1];
78 return out; 78 return out;
79 } 79 }
80 } 80 }
81 81
82 #if 0 // Useful debug macro.
83 #include <stdio.h>
84 #define PRINT_REG(REG, SIZE) do { \
85 int i; \
86 printf("%s \t[%d]: 0x", #REG, SIZE); \
87 if (SIZE == 8) { \
88 uint8_t _tmp[8]; \
89 vst1_u8(_tmp, (REG)); \
90 for (i = 0; i < 8; ++i) printf("%.2x ", _tmp[i]); \
91 } else if (SIZE == 16) { \
92 uint16_t _tmp[4]; \
93 vst1_u16(_tmp, (REG)); \
94 for (i = 0; i < 4; ++i) printf("%.4x ", _tmp[i]); \
95 } \
96 printf("\n"); \
97 } while (0)
98 #endif
99
82 #endif // WEBP_DSP_NEON_H_ 100 #endif // WEBP_DSP_NEON_H_
OLDNEW
« no previous file with comments | « third_party/libwebp/dsp/msa_macro.h ('k') | third_party/libwebp/dsp/rescaler.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698