From: James Zern Date: Mon, 16 Dec 2013 02:40:23 +0000 (-0800) Subject: {,vpx_scale}: normalize include guards X-Git-Tag: v1.4.0~2809 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0f512788c8cc2af914538acc31a9ae9bb03f5741;p=platform%2Fupstream%2Flibvpx.git {,vpx_scale}: normalize include guards Change-Id: Ib8aafeee30d59521ee256dc1801e0db6b4b8a371 --- diff --git a/args.h b/args.h index ad591af..ea909cb 100644 --- a/args.h +++ b/args.h @@ -9,8 +9,8 @@ */ -#ifndef ARGS_H -#define ARGS_H +#ifndef ARGS_H_ +#define ARGS_H_ #include 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_ diff --git a/ivfdec.h b/ivfdec.h index b1468a9..5da9acc 100644 --- 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_ diff --git a/ivfenc.h b/ivfenc.h index a332c7d..b486bc8 100644 --- 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_ diff --git a/md5_utils.h b/md5_utils.h index 81792c4..9935eae 100644 --- a/md5_utils.h +++ b/md5_utils.h @@ -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_ diff --git a/vpx_scale/vpx_scale.h b/vpx_scale/vpx_scale.h index 9ddf62e..43fcf9d 100644 --- a/vpx_scale/vpx_scale.h +++ b/vpx_scale/vpx_scale.h @@ -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_ diff --git a/vpx_scale/yv12config.h b/vpx_scale/yv12config.h index f23e116..bf5fc07 100644 --- a/vpx_scale/yv12config.h +++ b/vpx_scale/yv12config.h @@ -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_ diff --git a/y4minput.h b/y4minput.h index b2a390c..615debe 100644 --- a/y4minput.h +++ b/y4minput.h @@ -10,8 +10,10 @@ * 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 # 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_