]> granicus.if.org Git - libvpx/commitdiff
{,vpx_scale}: normalize include guards
authorJames Zern <jzern@google.com>
Mon, 16 Dec 2013 02:40:23 +0000 (18:40 -0800)
committerJames Zern <jzern@google.com>
Tue, 17 Dec 2013 03:41:13 +0000 (19:41 -0800)
Change-Id: Ib8aafeee30d59521ee256dc1801e0db6b4b8a371

args.h
ivfdec.h
ivfenc.h
md5_utils.h
vpx_scale/vpx_scale.h
vpx_scale/yv12config.h
y4minput.h

diff --git a/args.h b/args.h
index ad591afc8667d64b67e6ad1092b1b3842fa4d988..ea909cb46fc53efbf46b9038e48da2f00c4b2a74 100644 (file)
--- a/args.h
+++ b/args.h
@@ -9,8 +9,8 @@
  */
 
 
-#ifndef ARGS_H
-#define ARGS_H
+#ifndef ARGS_H_
+#define ARGS_H_
 #include <stdio.h>
 
 struct arg {
@@ -48,4 +48,4 @@ unsigned int arg_parse_uint(const struct arg *arg);
 int arg_parse_int(const struct arg *arg);
 struct vpx_rational arg_parse_rational(const struct arg *arg);
 int arg_parse_enum_or_int(const struct arg *arg);
-#endif
+#endif  // ARGS_H_
index b1468a9f329d862253a00829830a3dcf00770520..5da9accd86a19521a97fb7a29c9b9f928873f469 100644 (file)
--- a/ivfdec.h
+++ b/ivfdec.h
@@ -27,4 +27,4 @@ int ivf_read_frame(struct VpxInputContext *input,
 }  /* extern "C" */
 #endif
 
-#endif  /* IVFDEC_H_ */
+#endif  // IVFDEC_H_
index a332c7dfda0cdca5b36ebe84819e8509570ce8d8..b486bc8090e30cd76b5fae21dbdb8340aace77cf 100644 (file)
--- a/ivfenc.h
+++ b/ivfenc.h
@@ -30,4 +30,4 @@ void ivf_write_frame_size(FILE *outfile, size_t size);
 }  /* extern "C" */
 #endif
 
-#endif  /* IVFENC_H_ */
+#endif  // IVFENC_H_
index 81792c4af2a0f794805f462e40117369b2b74298..9935eae6d2efd2e10fb732d829b1913d7a1f7564 100644 (file)
@@ -20,8 +20,8 @@
  * Still in the public domain.
  */
 
-#ifndef MD5_H
-#define MD5_H
+#ifndef MD5_UTILS_H_
+#define MD5_UTILS_H_
 
 #define md5byte unsigned char
 #define UWORD32 unsigned int
@@ -38,4 +38,4 @@ void MD5Update(struct MD5Context *context, md5byte const *buf, unsigned len);
 void MD5Final(unsigned char digest[16], struct MD5Context *context);
 void MD5Transform(UWORD32 buf[4], UWORD32 const in[16]);
 
-#endif /* !MD5_H */
+#endif  // MD5_UTILS_H_
index 9ddf62efd4cb81cb23c432a82e3b5b96455f3f3e..43fcf9d66e18fbc8e87d1a2239b8bd2ec813e6da 100644 (file)
@@ -9,8 +9,8 @@
  */
 
 
-#ifndef VPXSCALE_H
-#define VPXSCALE_H
+#ifndef VPX_SCALE_VPX_SCALE_H_
+#define VPX_SCALE_VPX_SCALE_H_
 
 #include "vpx_scale/yv12config.h"
 
@@ -24,4 +24,4 @@ extern void vpx_scale_frame(YV12_BUFFER_CONFIG *src,
                             unsigned int vratio,
                             unsigned int interlaced);
 
-#endif
+#endif  // VPX_SCALE_VPX_SCALE_H_
index f23e1163c0c898031457fef95220a2c2b1abb6d4..bf5fc0779138e601c38279c6b8236bad90e756a2 100644 (file)
@@ -8,8 +8,8 @@
  *  be found in the AUTHORS file in the root of the source tree.
  */
 
-#ifndef YV12_CONFIG_H
-#define YV12_CONFIG_H
+#ifndef VPX_SCALE_YV12CONFIG_H_
+#define VPX_SCALE_YV12CONFIG_H_
 
 #ifdef __cplusplus
 extern "C" {
@@ -85,4 +85,4 @@ extern "C" {
 }
 #endif
 
-#endif  // YV12_CONFIG_H
+#endif  // VPX_SCALE_YV12CONFIG_H_
index b2a390cfe81703ca1378a8ab9250ca5745c83449..615debe61382d19b337e330bd478a852aa0dbbae 100644 (file)
  *  Based on code from the OggTheora software codec source code,
  *  Copyright (C) 2002-2010 The Xiph.Org Foundation and contributors.
  */
-#if !defined(_y4minput_H)
-# define _y4minput_H (1)
+
+#ifndef Y4MINPUT_H_
+#define Y4MINPUT_H_
+
 # include <stdio.h>
 # include "vpx/vpx_image.h"
 
@@ -60,4 +62,4 @@ int y4m_input_open(y4m_input *_y4m, FILE *_fin, char *_skip, int _nskip,
 void y4m_input_close(y4m_input *_y4m);
 int y4m_input_fetch_frame(y4m_input *_y4m, FILE *_fin, vpx_image_t *img);
 
-#endif
+#endif  // Y4MINPUT_H_