OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef REMOTING_HOST_DIFFER_BLOCK_H_ |
| 6 #define REMOTING_HOST_DIFFER_BLOCK_H_ |
| 7 |
| 8 #include "base/basictypes.h" |
| 9 |
| 10 namespace remoting { |
| 11 |
| 12 // Low level functions to return the difference between 2 blocks of pixels. |
| 13 // The amount of difference is returned as an int. |
| 14 // zero means the blocks are identical. |
| 15 // larger values indicate larger changes. |
| 16 // Pixel format of the captured screen may be platform specific, but constant. |
| 17 // Size of block is constant. |
| 18 |
| 19 int BlockDifference(const uint8* image1, const uint8* image2, int stride); |
| 20 |
| 21 } // namespace remoting |
| 22 |
| 23 #endif // REMOTING_HOST_DIFFER_BLOCK_H_ |
OLD | NEW |