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

Unified Diff: webrtc/modules/video_coding/internal_defines.h

Issue 1528503003: Lint enabled for webrtc/modules/video_coding folder. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase Created 5 years 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
« no previous file with comments | « webrtc/modules/video_coding/inter_frame_delay.cc ('k') | webrtc/modules/video_coding/jitter_buffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/video_coding/internal_defines.h
diff --git a/webrtc/modules/video_coding/internal_defines.h b/webrtc/modules/video_coding/internal_defines.h
index 9b421a24f5934c58f6aaf05e72440873c256c67f..e225726dea91c0d77166834c1cc42a2712f80956 100644
--- a/webrtc/modules/video_coding/internal_defines.h
+++ b/webrtc/modules/video_coding/internal_defines.h
@@ -13,14 +13,12 @@
#include "webrtc/typedefs.h"
-namespace webrtc
-{
+namespace webrtc {
#define MASK_32_BITS(x) (0xFFFFFFFF & (x))
-inline uint32_t MaskWord64ToUWord32(int64_t w64)
-{
- return static_cast<uint32_t>(MASK_32_BITS(w64));
+inline uint32_t MaskWord64ToUWord32(int64_t w64) {
+ return static_cast<uint32_t>(MASK_32_BITS(w64));
}
#define VCM_MAX(a, b) (((a) > (b)) ? (a) : (b))
@@ -34,11 +32,10 @@ inline uint32_t MaskWord64ToUWord32(int64_t w64)
#define VCM_NO_RECEIVER_ID 0
-inline int32_t VCMId(const int32_t vcmId, const int32_t receiverId = 0)
-{
- return static_cast<int32_t>((vcmId << 16) + receiverId);
+inline int32_t VCMId(const int32_t vcmId, const int32_t receiverId = 0) {
+ return static_cast<int32_t>((vcmId << 16) + receiverId);
}
} // namespace webrtc
-#endif // WEBRTC_MODULES_VIDEO_CODING_INTERNAL_DEFINES_H_
+#endif // WEBRTC_MODULES_VIDEO_CODING_INTERNAL_DEFINES_H_
« no previous file with comments | « webrtc/modules/video_coding/inter_frame_delay.cc ('k') | webrtc/modules/video_coding/jitter_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698