summaryrefslogtreecommitdiff
path: root/vpx_util
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2018-08-22 14:03:54 -0700
committerJames Zern <jzern@google.com>2018-09-15 12:25:43 -0700
commit2a5805e2cbeb706d000f47da6feda7619b2959ba (patch)
tree5608ca8e7df97665f651d8e6f1266699de321baf /vpx_util
parentcb671194c9ac4068922a971318670c91bf96c906 (diff)
downloadlibvpx-2a5805e2cbeb706d000f47da6feda7619b2959ba.tar
libvpx-2a5805e2cbeb706d000f47da6feda7619b2959ba.tar.gz
libvpx-2a5805e2cbeb706d000f47da6feda7619b2959ba.tar.bz2
libvpx-2a5805e2cbeb706d000f47da6feda7619b2959ba.zip
cosmetics: normalize include guards
use the recommended format [1] of: <PROJECT>_<PATH>_<FILE>_H_ [1] https://google.github.io/styleguide/cppguide.html#The__define_Guard "All header files should have #define guards to prevent multiple inclusion. The format of the symbol name should be <PROJECT>_<PATH>_<FILE>_H_." Change-Id: I2e8ab0b32fb23c30fa43cff5fec12d043c0d2037
Diffstat (limited to 'vpx_util')
-rw-r--r--vpx_util/endian_inl.h6
-rw-r--r--vpx_util/vpx_atomics.h6
-rw-r--r--vpx_util/vpx_thread.h6
-rw-r--r--vpx_util/vpx_write_yuv_frame.h6
4 files changed, 12 insertions, 12 deletions
diff --git a/vpx_util/endian_inl.h b/vpx_util/endian_inl.h
index dc3877409..1b6ef56c6 100644
--- a/vpx_util/endian_inl.h
+++ b/vpx_util/endian_inl.h
@@ -9,8 +9,8 @@
//
// Endian related functions.
-#ifndef VPX_UTIL_ENDIAN_INL_H_
-#define VPX_UTIL_ENDIAN_INL_H_
+#ifndef VPX_VPX_UTIL_ENDIAN_INL_H_
+#define VPX_VPX_UTIL_ENDIAN_INL_H_
#include <stdlib.h>
#include "./vpx_config.h"
@@ -115,4 +115,4 @@ static INLINE uint64_t BSwap64(uint64_t x) {
#endif // HAVE_BUILTIN_BSWAP64
}
-#endif // VPX_UTIL_ENDIAN_INL_H_
+#endif // VPX_VPX_UTIL_ENDIAN_INL_H_
diff --git a/vpx_util/vpx_atomics.h b/vpx_util/vpx_atomics.h
index 504691065..b06a8dce3 100644
--- a/vpx_util/vpx_atomics.h
+++ b/vpx_util/vpx_atomics.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_UTIL_VPX_ATOMICS_H_
-#define VPX_UTIL_VPX_ATOMICS_H_
+#ifndef VPX_VPX_UTIL_VPX_ATOMICS_H_
+#define VPX_VPX_UTIL_VPX_ATOMICS_H_
#include "./vpx_config.h"
@@ -108,4 +108,4 @@ static INLINE int vpx_atomic_load_acquire(const vpx_atomic_int *atomic) {
} // extern "C"
#endif // __cplusplus
-#endif // VPX_UTIL_VPX_ATOMICS_H_
+#endif // VPX_VPX_UTIL_VPX_ATOMICS_H_
diff --git a/vpx_util/vpx_thread.h b/vpx_util/vpx_thread.h
index 013a6179e..19a8bfe95 100644
--- a/vpx_util/vpx_thread.h
+++ b/vpx_util/vpx_thread.h
@@ -12,8 +12,8 @@
// Original source:
// https://chromium.googlesource.com/webm/libwebp
-#ifndef VPX_THREAD_H_
-#define VPX_THREAD_H_
+#ifndef VPX_VPX_UTIL_VPX_THREAD_H_
+#define VPX_VPX_UTIL_VPX_THREAD_H_
#include "./vpx_config.h"
@@ -429,4 +429,4 @@ const VPxWorkerInterface *vpx_get_worker_interface(void);
} // extern "C"
#endif
-#endif // VPX_THREAD_H_
+#endif // VPX_VPX_UTIL_VPX_THREAD_H_
diff --git a/vpx_util/vpx_write_yuv_frame.h b/vpx_util/vpx_write_yuv_frame.h
index 1cb702981..ce1102458 100644
--- a/vpx_util/vpx_write_yuv_frame.h
+++ b/vpx_util/vpx_write_yuv_frame.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_UTIL_VPX_WRITE_YUV_FRAME_H_
-#define VPX_UTIL_VPX_WRITE_YUV_FRAME_H_
+#ifndef VPX_VPX_UTIL_VPX_WRITE_YUV_FRAME_H_
+#define VPX_VPX_UTIL_VPX_WRITE_YUV_FRAME_H_
#include <stdio.h>
#include "vpx_scale/yv12config.h"
@@ -24,4 +24,4 @@ void vpx_write_yuv_frame(FILE *yuv_file, YV12_BUFFER_CONFIG *s);
} // extern "C"
#endif
-#endif // VPX_UTIL_VPX_WRITE_YUV_FRAME_H_
+#endif // VPX_VPX_UTIL_VPX_WRITE_YUV_FRAME_H_