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

Unified Diff: media/video/capture/screen/differ_block.h

Issue 12047101: Move screen capturers from remoting/capturer to media/video/capturer/screen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: media/video/capture/screen/differ_block.h
diff --git a/remoting/capturer/differ_block.h b/media/video/capture/screen/differ_block.h
similarity index 79%
rename from remoting/capturer/differ_block.h
rename to media/video/capture/screen/differ_block.h
index 4f78960e9e525d2a10ae209e06cd17309a9fc111..d812cf90bd02a1f8cda616118ddbcd6eca922894 100644
--- a/remoting/capturer/differ_block.h
+++ b/media/video/capture/screen/differ_block.h
@@ -6,8 +6,9 @@
#define REMOTING_HOST_DIFFER_BLOCK_H_
#include "base/basictypes.h"
+#include "media/base/media_export.h"
-namespace remoting {
+namespace media {
// Size (in pixels) of each square block used for diffing.
// This must be a multiple of sizeof(uint64)/8.
@@ -19,8 +20,9 @@ static const int kBytesPerPixel = 4;
// Low level functions to compare 2 blocks of pixels.
// zero means the blocks are identical.
// one means the blocks are different.
-int BlockDifference(const uint8* image1, const uint8* image2, int stride);
+MEDIA_EXPORT int BlockDifference(
+ const uint8* image1, const uint8* image2, int stride);
-} // namespace remoting
+} // namespace media
#endif // REMOTING_HOST_DIFFER_BLOCK_H_

Powered by Google App Engine
This is Rietveld 408576698