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

google style guide include guards

Change-Id: I2c252f3ddcc99e96c1f5d3dab8bcb25a2a3637ea
parent eebc0b49
......@@ -9,8 +9,8 @@
*/
#ifndef BILINEARFILTER_ARM_H
#define BILINEARFILTER_ARM_H
#ifndef VP9_COMMON_ARM_VP9_BILINEARFILTER_ARM_H_
#define VP9_COMMON_ARM_VP9_BILINEARFILTER_ARM_H_
extern void vp9_filter_block2d_bil_first_pass_armv6
(
......
......@@ -9,8 +9,8 @@
*/
#ifndef IDCT_ARM_H
#define IDCT_ARM_H
#ifndef VP9_COMMON_ARM_VP9_IDCT_ARM_H_
#define VP9_COMMON_ARM_VP9_IDCT_ARM_H_
#if HAVE_ARMV6
extern prototype_idct(vp9_short_idct4x4llm_1_v6);
......
......@@ -9,8 +9,8 @@
*/
#ifndef LOOPFILTER_ARM_H
#define LOOPFILTER_ARM_H
#ifndef VP9_COMMON_ARM_VP9_LOOPFILTER_ARM_H_
#define VP9_COMMON_ARM_VP9_LOOPFILTER_ARM_H_
#include "vpx_config.h"
......
......@@ -9,8 +9,8 @@
*/
#ifndef RECON_ARM_H
#define RECON_ARM_H
#ifndef VP9_COMMON_ARM_VP9_RECON_ARM_H_
#define VP9_COMMON_ARM_VP9_RECON_ARM_H_
#if HAVE_ARMV6
extern prototype_recon_block(vp9_recon_b_armv6);
......
......@@ -9,8 +9,8 @@
*/
#ifndef SUBPIXEL_ARM_H
#define SUBPIXEL_ARM_H
#ifndef VP9_COMMON_ARM_VP9_SUBPIXEL_ARM_H_
#define VP9_COMMON_ARM_VP9_SUBPIXEL_ARM_H_
#if HAVE_ARMV6
extern prototype_subpixel_predict(vp9_sixtap_predict16x16_armv6);
......
......@@ -9,8 +9,8 @@
*/
#ifndef __INC_ALLOCCOMMON_H
#define __INC_ALLOCCOMMON_H
#ifndef VP9_COMMON_VP9_ALLOCCOMMON_H_
#define VP9_COMMON_VP9_ALLOCCOMMON_H_
#include "vp9/common/vp9_onyxc_int.h"
......
......@@ -9,8 +9,8 @@
*/
#ifndef __INC_BLOCKD_H
#define __INC_BLOCKD_H
#ifndef VP9_COMMON_VP9_BLOCKD_H_
#define VP9_COMMON_VP9_BLOCKD_H_
void vpx_log(const char *format, ...);
......
......@@ -9,8 +9,8 @@
*/
#ifndef common_h
#define common_h 1
#ifndef VP9_COMMON_VP9_COMMON_H_
#define VP9_COMMON_VP9_COMMON_H_
#include <assert.h>
#include "vpx_config.h"
......
......@@ -9,8 +9,8 @@
*/
#ifndef __INC_COMMON_TYPES
#define __INC_COMMON_TYPES
#ifndef VP9_COMMON_VP9_COMMON_TYPES_H_
#define VP9_COMMON_VP9_COMMON_TYPES_H_
#define TRUE 1
#define FALSE 0
......
......@@ -9,8 +9,8 @@
*/
#ifndef __INC_ENTROPY_H
#define __INC_ENTROPY_H
#ifndef VP9_COMMON_VP9_ENTROPY_H_
#define VP9_COMMON_VP9_ENTROPY_H_
#include "vp9/common/vp9_treecoder.h"
#include "vp9/common/vp9_blockd.h"
......
......@@ -9,8 +9,8 @@
*/
#ifndef __INC_ENTROPYMODE_H
#define __INC_ENTROPYMODE_H
#ifndef VP9_COMMON_VP9_ENTROPYMODE_H_
#define VP9_COMMON_VP9_ENTROPYMODE_H_
#include "vp9/common/vp9_blockd.h"
#include "vp9/common/vp9_treecoder.h"
......
......@@ -9,8 +9,8 @@
*/
#ifndef __INC_ENTROPYMV_H
#define __INC_ENTROPYMV_H
#ifndef VP9_COMMON_VP9_ENTROPYMV_H_
#define VP9_COMMON_VP9_ENTROPYMV_H_
#include "vp9/common/vp9_treecoder.h"
#include "vpx_config.h"
......
......@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef __INC_EXTEND_H
#define __INC_EXTEND_H
#ifndef VP9_COMMON_VP9_EXTEND_H_
#define VP9_COMMON_VP9_EXTEND_H_
#include "vpx_scale/yv12config.h"
......
......@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef FILTER_H
#define FILTER_H
#ifndef VP9_COMMON_VP9_FILTER_H_
#define VP9_COMMON_VP9_FILTER_H_
#include "vpx_config.h"
#include "vpx_scale/yv12config.h"
......
......@@ -9,8 +9,8 @@
*/
#ifndef __INC_FINDNEARMV_H
#define __INC_FINDNEARMV_H
#ifndef VP9_COMMON_VP9_FINDNEARMV_H_
#define VP9_COMMON_VP9_FINDNEARMV_H_
#include "vp9/common/vp9_mv.h"
#include "vp9/common/vp9_blockd.h"
......
......@@ -9,8 +9,8 @@
*/
#ifndef __INC_HEADER_H
#define __INC_HEADER_H
#ifndef VP9_COMMON_VP9_HEADER_H_
#define VP9_COMMON_VP9_HEADER_H_
/* 24 bits total */
typedef struct {
......
......@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef __INC_INVTRANS_H
#define __INC_INVTRANS_H
#ifndef VP9_COMMON_VP9_INVTRANS_H_
#define VP9_COMMON_VP9_INVTRANS_H_
#include "vpx_ports/config.h"
#include "vp9/common/vp9_blockd.h"
......
......@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef loopfilter_h
#define loopfilter_h
#ifndef VP9_COMMON_VP9_LOOPFILTER_H_
#define VP9_COMMON_VP9_LOOPFILTER_H_
#include "vpx_ports/mem.h"
#include "vpx_config.h"
......
......@@ -9,8 +9,8 @@
*/
#ifndef __INC_MODECONT_H
#define __INC_MODECONT_H
#ifndef VP9_COMMON_VP9_MODECONT_H_
#define VP9_COMMON_VP9_MODECONT_H_
extern const int vp9_default_mode_contexts[INTER_MODE_CONTEXTS][4];
#endif
......@@ -9,8 +9,8 @@
*/
#ifndef __INC_MV_H
#define __INC_MV_H
#ifndef VP9_COMMON_VP9_MV_H_
#define VP9_COMMON_VP9_MV_H_
#include "vpx/vpx_integer.h"
typedef struct {
......
......@@ -12,8 +12,8 @@
#include "vp9/common/vp9_blockd.h"
#ifndef __INC_MVREF_COMMON_H
#define __INC_MVREF_COMMON_H
#ifndef VP9_COMMON_VP9_MVREF_COMMON_H_
#define VP9_COMMON_VP9_MVREF_COMMON_H_
void vp9_find_mv_refs(
MACROBLOCKD *xd,
......
......@@ -9,8 +9,8 @@
*/
#ifndef __INC_ONYX_H
#define __INC_ONYX_H
#ifndef VP9_COMMON_VP9_ONYX_H_
#define VP9_COMMON_VP9_ONYX_H_
#ifdef __cplusplus
extern "C"
......
......@@ -9,8 +9,8 @@
*/
#ifndef __INC_ONYXC_INT_H
#define __INC_ONYXC_INT_H
#ifndef VP9_COMMON_VP9_ONYXC_INT_H_
#define VP9_COMMON_VP9_ONYXC_INT_H_
#include "vpx_config.h"
#include "vpx/internal/vpx_codec_internal.h"
......
......@@ -9,8 +9,8 @@
*/
#ifndef __INC_ONYXD_H
#define __INC_ONYXD_H
#ifndef VP9_COMMON_VP9_ONYXD_H_
#define VP9_COMMON_VP9_ONYXD_H_
/* Create/destroy static data structures. */
......
......@@ -9,8 +9,8 @@
*/
#ifndef POSTPROC_H
#define POSTPROC_H
#ifndef VP9_COMMON_VP9_POSTPROC_H_
#define VP9_COMMON_VP9_POSTPROC_H_
#include "vpx_ports/mem.h"
struct postproc_state {
......
......@@ -9,8 +9,8 @@
*/
#ifndef __INC_PPFLAGS_H
#define __INC_PPFLAGS_H
#ifndef VP9_COMMON_VP9_PPFLAGS_H_
#define VP9_COMMON_VP9_PPFLAGS_H_
enum {
VP9D_NOFILTERING = 0,
VP9D_DEBLOCK = 1 << 0,
......
......@@ -12,8 +12,8 @@
#include "vp9/common/vp9_onyxc_int.h"
#include "vp9/common/vp9_blockd.h"
#ifndef __INC_PRED_COMMON_H__
#define __INC_PRED_COMMON_H__ 1
#ifndef VP9_COMMON_VP9_PRED_COMMON_H_
#define VP9_COMMON_VP9_PRED_COMMON_H_
// Predicted items
......
......@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef __INC_RECONINTER_H
#define __INC_RECONINTER_H
#ifndef VP9_COMMON_VP9_RECONINTER_H_
#define VP9_COMMON_VP9_RECONINTER_H_
#include "vp9/common/vp9_onyxc_int.h"
......
......@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef __INC_RECONINTRA_H
#define __INC_RECONINTRA_H
#ifndef VP9_COMMON_VP9_RECONINTRA_H_
#define VP9_COMMON_VP9_RECONINTRA_H_
#include "vp9/common/vp9_blockd.h"
......
......@@ -9,8 +9,8 @@
*/
#ifndef __INC_RECONINTRA4x4_H
#define __INC_RECONINTRA4x4_H
#ifndef VP9_COMMON_VP9_RECONINTRA4X4_H_
#define VP9_COMMON_VP9_RECONINTRA4X4_H_
extern void vp9_intra_prediction_down_copy(MACROBLOCKD *xd);
......
......@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef __INC_SAD_H
#define __INC_SAD_H
#ifndef VP9_COMMON_VP9_SADMXN_H_
#define VP9_COMMON_VP9_SADMXN_H_
static __inline
unsigned int sad_mx_n_c(
......
......@@ -12,8 +12,8 @@
#include "vp9/common/vp9_onyxc_int.h"
#include "vp9/common/vp9_blockd.h"
#ifndef __INC_SEG_COMMON_H__
#define __INC_SEG_COMMON_H__ 1
#ifndef VP9_COMMON_VP9_SEG_COMMON_H_
#define VP9_COMMON_VP9_SEG_COMMON_H_
int vp9_segfeature_active(const MACROBLOCKD *xd,
int segment_id,
......
......@@ -9,8 +9,8 @@
*/
#ifndef SUBPIXEL_H
#define SUBPIXEL_H
#ifndef VP9_COMMON_VP9_SUBPIXEL_H_
#define VP9_COMMON_VP9_SUBPIXEL_H_
#define prototype_subpixel_predict(sym) \
void sym(unsigned char *src, int src_pitch, int xofst, int yofst, \
......
......@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef __SWAPYV12_BUFFER_H
#define __SWAPYV12_BUFFER_H
#ifndef VP9_COMMON_VP9_SWAPYV12BUFFER_H_
#define VP9_COMMON_VP9_SWAPYV12BUFFER_H_
#include "vpx_scale/yv12config.h"
......
......@@ -7,7 +7,8 @@
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef VP9_COMMON_VP9_SYSTEMDEPENDENT_H_
#define VP9_COMMON_VP9_SYSTEMDEPENDENT_H_
#include "vpx_ports/config.h"
#if ARCH_X86 || ARCH_X86_64
......@@ -19,3 +20,4 @@ void vpx_reset_mmx_state(void);
struct VP9Common;
void vp9_machine_specific_config(struct VP9Common *);
#endif
......@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef __INC_TEXTBLIT_H
#define __INC_TEXTBLIT_H
#ifndef VP9_COMMON_VP9_TEXTBLIT_H_
#define VP9_COMMON_VP9_TEXTBLIT_H_
extern void vp9_blit_text(const char *msg, unsigned char *address,
const int pitch);
......
......@@ -9,8 +9,8 @@
*/
#ifndef __INC_TREECODER_H
#define __INC_TREECODER_H
#ifndef VP9_COMMON_VP9_TREECODER_H_
#define VP9_COMMON_VP9_TREECODER_H_
typedef unsigned char vp9_prob;
......
......@@ -16,8 +16,8 @@
* Description : Standard type aliases
*
****************************************************************************/
#ifndef __INC_TYPE_ALIASES_H
#define __INC_TYPE_ALIASES_H
#ifndef VP9_COMMON_VP9_TYPE_ALIASES_H_
#define VP9_COMMON_VP9_TYPE_ALIASES_H_
/****************************************************************************
* Macros
......
......@@ -9,8 +9,8 @@
*/
#ifndef IDCT_X86_H
#define IDCT_X86_H
#ifndef VP9_COMMON_X86_VP9_IDCT_X86_H_
#define VP9_COMMON_X86_VP9_IDCT_X86_H_
/* Note:
*
......
......@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef LOOPFILTER_X86_H
#define LOOPFILTER_X86_H
#ifndef VP9_COMMON_X86_VP9_LOOPFILTER_X86_H_
#define VP9_COMMON_X86_VP9_LOOPFILTER_X86_H_
/* Note:
*
......
......@@ -9,8 +9,8 @@
*/
#ifndef POSTPROC_X86_H
#define POSTPROC_X86_H
#ifndef VP9_COMMON_X86_VP9_POSTPROC_X86_H_
#define VP9_COMMON_X86_VP9_POSTPROC_X86_H_
/* Note:
*
......
......@@ -9,8 +9,8 @@
*/
#ifndef SUBPIXEL_X86_H
#define SUBPIXEL_X86_H
#ifndef VP9_COMMON_X86_VP9_SUBPIXEL_X86_H_
#define VP9_COMMON_X86_VP9_SUBPIXEL_X86_H_
/* Note:
*
......
......@@ -9,8 +9,8 @@
*/
#ifndef DBOOLHUFF_H
#define DBOOLHUFF_H
#ifndef VP9_DECODER_VP9_DBOOLHUFF_H_
#define VP9_DECODER_VP9_DBOOLHUFF_H_
#include <stddef.h>
#include <limits.h>
#include "vpx_ports/config.h"
......
......@@ -9,8 +9,8 @@
*/
#ifndef __INC_DECODFRAME_H
#define __INC_DECODFRAME_H
#ifndef VP9_DECODER_VP9_DECODFRAME_H_
#define VP9_DECODER_VP9_DECODFRAME_H_
struct VP9Decompressor;
......
......@@ -9,8 +9,8 @@
*/
#ifndef DEQUANTIZE_H
#define DEQUANTIZE_H
#ifndef VP9_DECODER_VP9_DEQUANTIZE_H_
#define VP9_DECODER_VP9_DEQUANTIZE_H_
#include "vp9/common/vp9_blockd.h"
#if CONFIG_LOSSLESS
......
......@@ -9,8 +9,8 @@
*/
#ifndef DETOKENIZE_H
#define DETOKENIZE_H
#ifndef VP9_DECODER_VP9_DETOKENIZE_H_
#define VP9_DECODER_VP9_DETOKENIZE_H_
#include "vp9/decoder/vp9_onyxd_int.h"
......
......@@ -9,8 +9,8 @@
*/
#ifndef __INC_ONYXD_INT_H
#define __INC_ONYXD_INT_H
#ifndef VP9_DECODER_VP9_ONYXD_INT_H_
#define VP9_DECODER_VP9_ONYXD_INT_H_
#include "vpx_ports/config.h"
#include "vp9/common/vp9_onyxd.h"
#include "vp9/decoder/vp9_treereader.h"
......
......@@ -9,7 +9,7 @@
*/
#ifndef __INC_RECONINTRA_MT_H
#define __INC_RECONINTRA_MT_H
#ifndef VP9_DECODER_VP9_RECONINTRA_MT_H_
#define VP9_DECODER_VP9_RECONINTRA_MT_H_
#endif
......@@ -9,8 +9,8 @@
*/
#ifndef tree_reader_h
#define tree_reader_h 1
#ifndef VP9_DECODER_VP9_TREEREADER_H_
#define VP9_DECODER_VP9_TREEREADER_H_
#include "vp9/common/vp9_treecoder.h"
......
......@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef __INC_IDCT_MMX_H_
#define __INC_IDCT_MMX_H_
#ifndef VP9_DECODER_X86_VP9_IDCT_MMX_H_
#define VP9_DECODER_X86_VP9_IDCT_MMX_H_
void vp9_dequant_dc_idct_add_mmx(short *input, const short *dq,
......
......@@ -9,8 +9,8 @@
*/
#ifndef DCT_ARM_H
#define DCT_ARM_H
#ifndef VP9_ENCODER_ARM_VP9_DCT_ARM_H_
#define VP9_ENCODER_ARM_VP9_DCT_ARM_H_
#if HAVE_ARMV6
extern prototype_fdct(vp9_short_walsh4x4_armv6);
......
......@@ -9,8 +9,8 @@
*/
#ifndef ENCODEMB_ARM_H
#define ENCODEMB_ARM_H
#ifndef VP9_ENCODER_ARM_VP9_ENCODEMB_ARM_H_
#define VP9_ENCODER_ARM_VP9_ENCODEMB_ARM_H_
#if HAVE_ARMV6
extern prototype_subb(vp9_subtract_b_armv6);
......
......@@ -9,8 +9,8 @@
*/
#ifndef QUANTIZE_ARM_H
#define QUANTIZE_ARM_H
#ifndef VP9_ENCODER_ARM_VP9_QUANTIZE_ARM_H_
#define VP9_ENCODER_ARM_VP9_QUANTIZE_ARM_H_
#if HAVE_ARMV6
......
......@@ -9,8 +9,8 @@
*/
#ifndef VARIANCE_ARM_H
#define VARIANCE_ARM_H
#ifndef VP9_ENCODER_ARM_VP9_VARIANCE_ARM_H_
#define VP9_ENCODER_ARM_VP9_VARIANCE_ARM_H_
#if HAVE_ARMV6
......
......@@ -9,8 +9,8 @@
*/
#ifndef __INC_BITSTREAM_H
#define __INC_BITSTREAM_H
#ifndef VP9_ENCODER_VP9_BITSTREAM_H_
#define VP9_ENCODER_VP9_BITSTREAM_H_
void vp9_update_skip_probs(VP9_COMP *cpi);