Chromium Code Reviews| Index: remoting/host/differ_block.h |
| diff --git a/remoting/host/differ_block.h b/remoting/host/differ_block.h |
| index 9c038144b4d243e332b802db7ca951ef886448e2..9046cc9909114969e7e02659054569067dc44924 100644 |
| --- a/remoting/host/differ_block.h |
| +++ b/remoting/host/differ_block.h |
| @@ -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). |
|
Sergey Ulanov
2011/08/04 18:21:41
nit: s/sizeof(uint64)/8/
garykac
2011/08/04 20:07:55
Done.
|
| +static const int kBlockSize = 32; |
| + |
| +// Format: BGRA 32 bit. |
| static const int kBytesPerPixel = 4; |
| // Low level functions to compare 2 blocks of pixels. |