Index: remoting/host/differ_block.h |
diff --git a/remoting/host/differ_block.h b/remoting/host/differ_block.h |
index 9c038144b4d243e332b802db7ca951ef886448e2..4f78960e9e525d2a10ae209e06cd17309a9fc111 100644 |
--- a/remoting/host/differ_block.h |
+++ b/remoting/host/differ_block.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -9,9 +9,11 @@ |
namespace remoting { |
-// Block size and format (BGRA 32 bit) are fixed. |
-static const int kBlockWidth = 32; |
-static const int kBlockHeight = 32; |
+// Size (in pixels) of each square block used for diffing. |
+// This must be a multiple of sizeof(uint64)/8. |
+static const int kBlockSize = 32; |
+ |
+// Format: BGRA 32 bit. |
static const int kBytesPerPixel = 4; |
// Low level functions to compare 2 blocks of pixels. |