| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // This header file is used only differ_block.h. It defines the SSE2 rountines | 5 // This header file is used only differ_block.h. It defines the SSE2 rountines |
| 6 // for finding block difference. | 6 // for finding block difference. |
| 7 | 7 |
| 8 #ifndef REMOTING_HOST_DIFFER_BLOCK_INTERNAL_H_ | 8 #ifndef REMOTING_HOST_DIFFER_BLOCK_SSE2_H_ |
| 9 #define REMOTING_HOST_DIFFER_BLOCK_INTERNAL_H_ | 9 #define REMOTING_HOST_DIFFER_BLOCK_SSE2_H_ |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 | 12 |
| 13 namespace remoting { | 13 namespace remoting { |
| 14 | 14 |
| 15 // Find block difference of dimension 16x16. | 15 // Find block difference of dimension 16x16. |
| 16 extern int BlockDifference_SSE2_W16(const uint8* image1, const uint8* image2, | 16 extern int BlockDifference_SSE2_W16(const uint8* image1, const uint8* image2, |
| 17 int stride); | 17 int stride); |
| 18 | 18 |
| 19 // Find block difference of dimension 32x32. | 19 // Find block difference of dimension 32x32. |
| 20 extern int BlockDifference_SSE2_W32(const uint8* image1, const uint8* image2, | 20 extern int BlockDifference_SSE2_W32(const uint8* image1, const uint8* image2, |
| 21 int stride); | 21 int stride); |
| 22 | 22 |
| 23 } // namespace remoting | 23 } // namespace remoting |
| 24 | 24 |
| 25 #endif // REMOTING_HOST_DIFFER_BLOCK_INTERNAL_H_ | 25 #endif // REMOTING_HOST_DIFFER_BLOCK_SSE2_H_ |
| OLD | NEW |