Commit 2b8dc065 authored by Jim Bankoski's avatar Jim Bankoski Committed by Gerrit Code Review
Browse files

google style guide include guards

Change-Id: I2c252f3ddcc99e96c1f5d3dab8bcb25a2a3637ea
parent eebc0b49
...@@ -9,8 +9,8 @@ ...@@ -9,8 +9,8 @@
*/ */
#ifndef __INC_ENCODEMV_H #ifndef VP9_ENCODER_VP9_ENCODEMV_H_
#define __INC_ENCODEMV_H #define VP9_ENCODER_VP9_ENCODEMV_H_
#include "vp9/encoder/vp9_onyx_int.h" #include "vp9/encoder/vp9_onyx_int.h"
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#if !defined __INC_FIRSTPASS_H #if !defined __INC_FIRSTPASS_H
#define __INC_FIRSTPASS_H #define VP9_ENCODER_VP9_FIRSTPASS_H_
extern void vp9_init_first_pass(VP9_COMP *cpi); extern void vp9_init_first_pass(VP9_COMP *cpi);
extern void vp9_first_pass(VP9_COMP *cpi); extern void vp9_first_pass(VP9_COMP *cpi);
......
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
* in the file PATENTS. All contributing project authors may * in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree. * be found in the AUTHORS file in the root of the source tree.
*/ */
#ifndef LOOKAHEAD_H #ifndef VP9_ENCODER_VP9_LOOKAHEAD_H_
#define LOOKAHEAD_H #define VP9_ENCODER_VP9_LOOKAHEAD_H_
#include "vpx_scale/yv12config.h" #include "vpx_scale/yv12config.h"
#include "vpx/vpx_integer.h" #include "vpx/vpx_integer.h"
......
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree. * be found in the AUTHORS file in the root of the source tree.
*/ */
#ifndef __INC_MBGRAPH_H__ #ifndef VP9_ENCODER_VP9_MBGRAPH_H_
#define __INC_MBGRAPH_H__ 1 #define VP9_ENCODER_VP9_MBGRAPH_H_
extern void vp9_update_mbgraph_stats(VP9_COMP *cpi); extern void vp9_update_mbgraph_stats(VP9_COMP *cpi);
......
...@@ -9,8 +9,8 @@ ...@@ -9,8 +9,8 @@
*/ */
#ifndef __INC_MCOMP_H #ifndef VP9_ENCODER_VP9_MCOMP_H_
#define __INC_MCOMP_H #define VP9_ENCODER_VP9_MCOMP_H_
#include "vp9/encoder/vp9_block.h" #include "vp9/encoder/vp9_block.h"
#include "vp9/encoder/vp9_variance.h" #include "vp9/encoder/vp9_variance.h"
......
...@@ -9,8 +9,8 @@ ...@@ -9,8 +9,8 @@
*/ */
#ifndef __INC_MODECOSTS_H #ifndef VP9_ENCODER_VP9_MODECOSTS_H_
#define __INC_MODECOSTS_H #define VP9_ENCODER_VP9_MODECOSTS_H_
void vp9_init_mode_costs(VP9_COMP *x); void vp9_init_mode_costs(VP9_COMP *x);
......
...@@ -9,8 +9,8 @@ ...@@ -9,8 +9,8 @@
*/ */
#ifndef __INC_ONYX_INT_H #ifndef VP9_ENCODER_VP9_ONYX_INT_H_
#define __INC_ONYX_INT_H #define VP9_ENCODER_VP9_ONYX_INT_H_
#include <stdio.h> #include <stdio.h>
#include "vpx_ports/config.h" #include "vpx_ports/config.h"
......
...@@ -9,8 +9,8 @@ ...@@ -9,8 +9,8 @@
*/ */
#ifndef __INC_PICKLPF_H #ifndef VP9_ENCODER_VP9_PICKLPF_H_
#define __INC_PICKLPF_H #define VP9_ENCODER_VP9_PICKLPF_H_
struct yv12_buffer_config; struct yv12_buffer_config;
struct VP9_COMP; struct VP9_COMP;
......
...@@ -9,8 +9,8 @@ ...@@ -9,8 +9,8 @@
*/ */
#ifndef __INC_PSNR_H #ifndef VP9_ENCODER_VP9_PSNR_H_
#define __INC_PSNR_H #define VP9_ENCODER_VP9_PSNR_H_
extern double vp9_mse2psnr(double Samples, double Peak, double Mse); extern double vp9_mse2psnr(double Samples, double Peak, double Mse);
......
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree. * be found in the AUTHORS file in the root of the source tree.
*/ */
#ifndef __INC_QUANTIZE_H #ifndef VP9_ENCODER_VP9_QUANTIZE_H_
#define __INC_QUANTIZE_H #define VP9_ENCODER_VP9_QUANTIZE_H_
#include "vp9/encoder/vp9_block.h" #include "vp9/encoder/vp9_block.h"
......
...@@ -9,7 +9,8 @@ ...@@ -9,7 +9,8 @@
*/ */
#if !defined __INC_RATECTRL_H #ifndef VP9_ENCODER_VP9_RATECTRL_H_
#define VP9_ENCODER_VP9_RATECTRL_H_
#include "vp9/encoder/vp9_onyx_int.h" #include "vp9/encoder/vp9_onyx_int.h"
......
...@@ -9,8 +9,8 @@ ...@@ -9,8 +9,8 @@
*/ */
#ifndef __INC_RDOPT_H #ifndef VP9_ENCODER_VP9_RDOPT_H_
#define __INC_RDOPT_H #define VP9_ENCODER_VP9_RDOPT_H_
#define RDCOST(RM,DM,R,D) ( ((128+((int64_t)R)*(RM)) >> 8) + ((int64_t)DM)*(D) ) #define RDCOST(RM,DM,R,D) ( ((128+((int64_t)R)*(RM)) >> 8) + ((int64_t)DM)*(D) )
#define RDCOST_8x8(RM,DM,R,D) ( ((128+((int64_t)R)*(RM)) >> 8) + ((int64_t)DM)*(D) ) #define RDCOST_8x8(RM,DM,R,D) ( ((128+((int64_t)R)*(RM)) >> 8) + ((int64_t)DM)*(D) )
......
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
#include "vp9/common/vp9_blockd.h" #include "vp9/common/vp9_blockd.h"
#include "vp9/encoder/vp9_onyx_int.h" #include "vp9/encoder/vp9_onyx_int.h"
#ifndef __INC_SEGMENTATION_H__ #ifndef VP9_ENCODER_VP9_SEGMENTATION_H_
#define __INC_SEGMENTATION_H__ 1 #define VP9_ENCODER_VP9_SEGMENTATION_H_
extern void vp9_update_gf_useage_maps(VP9_COMP *cpi, VP9_COMMON *cm, extern void vp9_update_gf_useage_maps(VP9_COMP *cpi, VP9_COMMON *cm,
MACROBLOCK *x); MACROBLOCK *x);
......
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree. * be found in the AUTHORS file in the root of the source tree.
*/ */
#ifndef __INC_VP9_TEMPORAL_FILTER_H #ifndef VP9_ENCODER_VP9_TEMPORAL_FILTER_H_
#define __INC_VP9_TEMPORAL_FILTER_H #define VP9_ENCODER_VP9_TEMPORAL_FILTER_H_
extern void vp9_temporal_filter_prepare(VP9_COMP *cpi, int distance); extern void vp9_temporal_filter_prepare(VP9_COMP *cpi, int distance);
......
...@@ -9,8 +9,8 @@ ...@@ -9,8 +9,8 @@
*/ */
#ifndef tokenize_h #ifndef VP9_ENCODER_VP9_TOKENIZE_H_
#define tokenize_h #define VP9_ENCODER_VP9_TOKENIZE_H_
#include "vp9/common/vp9_entropy.h" #include "vp9/common/vp9_entropy.h"
#include "vp9/encoder/vp9_block.h" #include "vp9/encoder/vp9_block.h"
......
...@@ -9,8 +9,8 @@ ...@@ -9,8 +9,8 @@
*/ */
#ifndef __INC_TREEWRITER_H #ifndef VP9_ENCODER_VP9_TREEWRITER_H_
#define __INC_TREEWRITER_H #define VP9_ENCODER_VP9_TREEWRITER_H_
/* Trees map alphabets into huffman-like codes suitable for an arithmetic /* Trees map alphabets into huffman-like codes suitable for an arithmetic
bit coder. Timothy S Murphy 11 October 2004 */ bit coder. Timothy S Murphy 11 October 2004 */
......
...@@ -9,8 +9,8 @@ ...@@ -9,8 +9,8 @@
*/ */
#ifndef VARIANCE_H #ifndef VP9_ENCODER_VP9_VARIANCE_H_
#define VARIANCE_H #define VP9_ENCODER_VP9_VARIANCE_H_
typedef unsigned int(*vp9_sad_fn_t)(const unsigned char *src_ptr, typedef unsigned int(*vp9_sad_fn_t)(const unsigned char *src_ptr,
int source_stride, int source_stride,
......
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree. * be found in the AUTHORS file in the root of the source tree.
*/ */
#ifndef __INC_VP9_DCT_MMX_H_ #ifndef VP9_ENCODER_X86_VP9_DCT_MMX_H_
#define __INC_VP9_DCT_MMX_H_ #define VP9_ENCODER_X86_VP9_DCT_MMX_H_
extern void vp9_short_fdct4x4_mmx(short *input, short *output, int pitch); extern void vp9_short_fdct4x4_mmx(short *input, short *output, int pitch);
......
...@@ -9,8 +9,8 @@ ...@@ -9,8 +9,8 @@
*/ */
#ifndef MCOMP_X86_H #ifndef VP9_ENCODER_X86_VP9_MCOMP_X86_H_
#define MCOMP_X86_H #define VP9_ENCODER_X86_VP9_MCOMP_X86_H_
#if HAVE_SSE3 #if HAVE_SSE3
#if !CONFIG_RUNTIME_CPU_DETECT #if !CONFIG_RUNTIME_CPU_DETECT
......
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
* file in the root of the source tree. * file in the root of the source tree.
*/ */
#ifndef QUANTIZE_X86_H #ifndef VP9_ENCODER_X86_VP9_QUANTIZE_X86_H_
#define QUANTIZE_X86_H #define VP9_ENCODER_X86_VP9_QUANTIZE_X86_H_
/* Note: /* Note:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment