google style guide include guards

Change-Id: I2c252f3ddcc99e96c1f5d3dab8bcb25a2a3637ea
This commit is contained in:
Jim Bankoski 2012-11-29 16:36:10 -08:00 committed by Gerrit Code Review
parent eebc0b49f1
commit 2b8dc065d1
80 changed files with 160 additions and 157 deletions

@ -9,8 +9,8 @@
*/ */
#ifndef BILINEARFILTER_ARM_H #ifndef VP9_COMMON_ARM_VP9_BILINEARFILTER_ARM_H_
#define BILINEARFILTER_ARM_H #define VP9_COMMON_ARM_VP9_BILINEARFILTER_ARM_H_
extern void vp9_filter_block2d_bil_first_pass_armv6 extern void vp9_filter_block2d_bil_first_pass_armv6
( (

@ -9,8 +9,8 @@
*/ */
#ifndef IDCT_ARM_H #ifndef VP9_COMMON_ARM_VP9_IDCT_ARM_H_
#define IDCT_ARM_H #define VP9_COMMON_ARM_VP9_IDCT_ARM_H_
#if HAVE_ARMV6 #if HAVE_ARMV6
extern prototype_idct(vp9_short_idct4x4llm_1_v6); extern prototype_idct(vp9_short_idct4x4llm_1_v6);

@ -9,8 +9,8 @@
*/ */
#ifndef LOOPFILTER_ARM_H #ifndef VP9_COMMON_ARM_VP9_LOOPFILTER_ARM_H_
#define LOOPFILTER_ARM_H #define VP9_COMMON_ARM_VP9_LOOPFILTER_ARM_H_
#include "vpx_config.h" #include "vpx_config.h"

@ -9,8 +9,8 @@
*/ */
#ifndef RECON_ARM_H #ifndef VP9_COMMON_ARM_VP9_RECON_ARM_H_
#define RECON_ARM_H #define VP9_COMMON_ARM_VP9_RECON_ARM_H_
#if HAVE_ARMV6 #if HAVE_ARMV6
extern prototype_recon_block(vp9_recon_b_armv6); extern prototype_recon_block(vp9_recon_b_armv6);

@ -9,8 +9,8 @@
*/ */
#ifndef SUBPIXEL_ARM_H #ifndef VP9_COMMON_ARM_VP9_SUBPIXEL_ARM_H_
#define SUBPIXEL_ARM_H #define VP9_COMMON_ARM_VP9_SUBPIXEL_ARM_H_
#if HAVE_ARMV6 #if HAVE_ARMV6
extern prototype_subpixel_predict(vp9_sixtap_predict16x16_armv6); extern prototype_subpixel_predict(vp9_sixtap_predict16x16_armv6);

@ -9,8 +9,8 @@
*/ */
#ifndef __INC_ALLOCCOMMON_H #ifndef VP9_COMMON_VP9_ALLOCCOMMON_H_
#define __INC_ALLOCCOMMON_H #define VP9_COMMON_VP9_ALLOCCOMMON_H_
#include "vp9/common/vp9_onyxc_int.h" #include "vp9/common/vp9_onyxc_int.h"

@ -9,8 +9,8 @@
*/ */
#ifndef __INC_BLOCKD_H #ifndef VP9_COMMON_VP9_BLOCKD_H_
#define __INC_BLOCKD_H #define VP9_COMMON_VP9_BLOCKD_H_
void vpx_log(const char *format, ...); void vpx_log(const char *format, ...);

@ -9,8 +9,8 @@
*/ */
#ifndef common_h #ifndef VP9_COMMON_VP9_COMMON_H_
#define common_h 1 #define VP9_COMMON_VP9_COMMON_H_
#include <assert.h> #include <assert.h>
#include "vpx_config.h" #include "vpx_config.h"

@ -9,8 +9,8 @@
*/ */
#ifndef __INC_COMMON_TYPES #ifndef VP9_COMMON_VP9_COMMON_TYPES_H_
#define __INC_COMMON_TYPES #define VP9_COMMON_VP9_COMMON_TYPES_H_
#define TRUE 1 #define TRUE 1
#define FALSE 0 #define FALSE 0

@ -9,8 +9,8 @@
*/ */
#ifndef __INC_ENTROPY_H #ifndef VP9_COMMON_VP9_ENTROPY_H_
#define __INC_ENTROPY_H #define VP9_COMMON_VP9_ENTROPY_H_
#include "vp9/common/vp9_treecoder.h" #include "vp9/common/vp9_treecoder.h"
#include "vp9/common/vp9_blockd.h" #include "vp9/common/vp9_blockd.h"

@ -9,8 +9,8 @@
*/ */
#ifndef __INC_ENTROPYMODE_H #ifndef VP9_COMMON_VP9_ENTROPYMODE_H_
#define __INC_ENTROPYMODE_H #define VP9_COMMON_VP9_ENTROPYMODE_H_
#include "vp9/common/vp9_blockd.h" #include "vp9/common/vp9_blockd.h"
#include "vp9/common/vp9_treecoder.h" #include "vp9/common/vp9_treecoder.h"

@ -9,8 +9,8 @@
*/ */
#ifndef __INC_ENTROPYMV_H #ifndef VP9_COMMON_VP9_ENTROPYMV_H_
#define __INC_ENTROPYMV_H #define VP9_COMMON_VP9_ENTROPYMV_H_
#include "vp9/common/vp9_treecoder.h" #include "vp9/common/vp9_treecoder.h"
#include "vpx_config.h" #include "vpx_config.h"

@ -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_EXTEND_H #ifndef VP9_COMMON_VP9_EXTEND_H_
#define __INC_EXTEND_H #define VP9_COMMON_VP9_EXTEND_H_
#include "vpx_scale/yv12config.h" #include "vpx_scale/yv12config.h"

@ -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 FILTER_H #ifndef VP9_COMMON_VP9_FILTER_H_
#define FILTER_H #define VP9_COMMON_VP9_FILTER_H_
#include "vpx_config.h" #include "vpx_config.h"
#include "vpx_scale/yv12config.h" #include "vpx_scale/yv12config.h"

@ -9,8 +9,8 @@
*/ */
#ifndef __INC_FINDNEARMV_H #ifndef VP9_COMMON_VP9_FINDNEARMV_H_
#define __INC_FINDNEARMV_H #define VP9_COMMON_VP9_FINDNEARMV_H_
#include "vp9/common/vp9_mv.h" #include "vp9/common/vp9_mv.h"
#include "vp9/common/vp9_blockd.h" #include "vp9/common/vp9_blockd.h"

@ -9,8 +9,8 @@
*/ */
#ifndef __INC_HEADER_H #ifndef VP9_COMMON_VP9_HEADER_H_
#define __INC_HEADER_H #define VP9_COMMON_VP9_HEADER_H_
/* 24 bits total */ /* 24 bits total */
typedef struct { typedef struct {

@ -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_INVTRANS_H #ifndef VP9_COMMON_VP9_INVTRANS_H_
#define __INC_INVTRANS_H #define VP9_COMMON_VP9_INVTRANS_H_
#include "vpx_ports/config.h" #include "vpx_ports/config.h"
#include "vp9/common/vp9_blockd.h" #include "vp9/common/vp9_blockd.h"

@ -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 loopfilter_h #ifndef VP9_COMMON_VP9_LOOPFILTER_H_
#define loopfilter_h #define VP9_COMMON_VP9_LOOPFILTER_H_
#include "vpx_ports/mem.h" #include "vpx_ports/mem.h"
#include "vpx_config.h" #include "vpx_config.h"

@ -9,8 +9,8 @@
*/ */
#ifndef __INC_MODECONT_H #ifndef VP9_COMMON_VP9_MODECONT_H_
#define __INC_MODECONT_H #define VP9_COMMON_VP9_MODECONT_H_
extern const int vp9_default_mode_contexts[INTER_MODE_CONTEXTS][4]; extern const int vp9_default_mode_contexts[INTER_MODE_CONTEXTS][4];
#endif #endif

@ -9,8 +9,8 @@
*/ */
#ifndef __INC_MV_H #ifndef VP9_COMMON_VP9_MV_H_
#define __INC_MV_H #define VP9_COMMON_VP9_MV_H_
#include "vpx/vpx_integer.h" #include "vpx/vpx_integer.h"
typedef struct { typedef struct {

@ -12,8 +12,8 @@
#include "vp9/common/vp9_blockd.h" #include "vp9/common/vp9_blockd.h"
#ifndef __INC_MVREF_COMMON_H #ifndef VP9_COMMON_VP9_MVREF_COMMON_H_
#define __INC_MVREF_COMMON_H #define VP9_COMMON_VP9_MVREF_COMMON_H_
void vp9_find_mv_refs( void vp9_find_mv_refs(
MACROBLOCKD *xd, MACROBLOCKD *xd,

@ -9,8 +9,8 @@
*/ */
#ifndef __INC_ONYX_H #ifndef VP9_COMMON_VP9_ONYX_H_
#define __INC_ONYX_H #define VP9_COMMON_VP9_ONYX_H_
#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C"

@ -9,8 +9,8 @@
*/ */
#ifndef __INC_ONYXC_INT_H #ifndef VP9_COMMON_VP9_ONYXC_INT_H_
#define __INC_ONYXC_INT_H #define VP9_COMMON_VP9_ONYXC_INT_H_
#include "vpx_config.h" #include "vpx_config.h"
#include "vpx/internal/vpx_codec_internal.h" #include "vpx/internal/vpx_codec_internal.h"

@ -9,8 +9,8 @@
*/ */
#ifndef __INC_ONYXD_H #ifndef VP9_COMMON_VP9_ONYXD_H_
#define __INC_ONYXD_H #define VP9_COMMON_VP9_ONYXD_H_
/* Create/destroy static data structures. */ /* Create/destroy static data structures. */

@ -9,8 +9,8 @@
*/ */
#ifndef POSTPROC_H #ifndef VP9_COMMON_VP9_POSTPROC_H_
#define POSTPROC_H #define VP9_COMMON_VP9_POSTPROC_H_
#include "vpx_ports/mem.h" #include "vpx_ports/mem.h"
struct postproc_state { struct postproc_state {

@ -9,8 +9,8 @@
*/ */
#ifndef __INC_PPFLAGS_H #ifndef VP9_COMMON_VP9_PPFLAGS_H_
#define __INC_PPFLAGS_H #define VP9_COMMON_VP9_PPFLAGS_H_
enum { enum {
VP9D_NOFILTERING = 0, VP9D_NOFILTERING = 0,
VP9D_DEBLOCK = 1 << 0, VP9D_DEBLOCK = 1 << 0,

@ -12,8 +12,8 @@
#include "vp9/common/vp9_onyxc_int.h" #include "vp9/common/vp9_onyxc_int.h"
#include "vp9/common/vp9_blockd.h" #include "vp9/common/vp9_blockd.h"
#ifndef __INC_PRED_COMMON_H__ #ifndef VP9_COMMON_VP9_PRED_COMMON_H_
#define __INC_PRED_COMMON_H__ 1 #define VP9_COMMON_VP9_PRED_COMMON_H_
// Predicted items // Predicted items

@ -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_RECONINTER_H #ifndef VP9_COMMON_VP9_RECONINTER_H_
#define __INC_RECONINTER_H #define VP9_COMMON_VP9_RECONINTER_H_
#include "vp9/common/vp9_onyxc_int.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. * be found in the AUTHORS file in the root of the source tree.
*/ */
#ifndef __INC_RECONINTRA_H #ifndef VP9_COMMON_VP9_RECONINTRA_H_
#define __INC_RECONINTRA_H #define VP9_COMMON_VP9_RECONINTRA_H_
#include "vp9/common/vp9_blockd.h" #include "vp9/common/vp9_blockd.h"

@ -9,8 +9,8 @@
*/ */
#ifndef __INC_RECONINTRA4x4_H #ifndef VP9_COMMON_VP9_RECONINTRA4X4_H_
#define __INC_RECONINTRA4x4_H #define VP9_COMMON_VP9_RECONINTRA4X4_H_
extern void vp9_intra_prediction_down_copy(MACROBLOCKD *xd); 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. * be found in the AUTHORS file in the root of the source tree.
*/ */
#ifndef __INC_SAD_H #ifndef VP9_COMMON_VP9_SADMXN_H_
#define __INC_SAD_H #define VP9_COMMON_VP9_SADMXN_H_
static __inline static __inline
unsigned int sad_mx_n_c( unsigned int sad_mx_n_c(

@ -12,8 +12,8 @@
#include "vp9/common/vp9_onyxc_int.h" #include "vp9/common/vp9_onyxc_int.h"
#include "vp9/common/vp9_blockd.h" #include "vp9/common/vp9_blockd.h"
#ifndef __INC_SEG_COMMON_H__ #ifndef VP9_COMMON_VP9_SEG_COMMON_H_
#define __INC_SEG_COMMON_H__ 1 #define VP9_COMMON_VP9_SEG_COMMON_H_
int vp9_segfeature_active(const MACROBLOCKD *xd, int vp9_segfeature_active(const MACROBLOCKD *xd,
int segment_id, int segment_id,

@ -9,8 +9,8 @@
*/ */
#ifndef SUBPIXEL_H #ifndef VP9_COMMON_VP9_SUBPIXEL_H_
#define SUBPIXEL_H #define VP9_COMMON_VP9_SUBPIXEL_H_
#define prototype_subpixel_predict(sym) \ #define prototype_subpixel_predict(sym) \
void sym(unsigned char *src, int src_pitch, int xofst, int yofst, \ 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. * be found in the AUTHORS file in the root of the source tree.
*/ */
#ifndef __SWAPYV12_BUFFER_H #ifndef VP9_COMMON_VP9_SWAPYV12BUFFER_H_
#define __SWAPYV12_BUFFER_H #define VP9_COMMON_VP9_SWAPYV12BUFFER_H_
#include "vpx_scale/yv12config.h" #include "vpx_scale/yv12config.h"

@ -7,7 +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 VP9_COMMON_VP9_SYSTEMDEPENDENT_H_
#define VP9_COMMON_VP9_SYSTEMDEPENDENT_H_
#include "vpx_ports/config.h" #include "vpx_ports/config.h"
#if ARCH_X86 || ARCH_X86_64 #if ARCH_X86 || ARCH_X86_64
@ -19,3 +20,4 @@ void vpx_reset_mmx_state(void);
struct VP9Common; struct VP9Common;
void vp9_machine_specific_config(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. * be found in the AUTHORS file in the root of the source tree.
*/ */
#ifndef __INC_TEXTBLIT_H #ifndef VP9_COMMON_VP9_TEXTBLIT_H_
#define __INC_TEXTBLIT_H #define VP9_COMMON_VP9_TEXTBLIT_H_
extern void vp9_blit_text(const char *msg, unsigned char *address, extern void vp9_blit_text(const char *msg, unsigned char *address,
const int pitch); const int pitch);

@ -9,8 +9,8 @@
*/ */
#ifndef __INC_TREECODER_H #ifndef VP9_COMMON_VP9_TREECODER_H_
#define __INC_TREECODER_H #define VP9_COMMON_VP9_TREECODER_H_
typedef unsigned char vp9_prob; typedef unsigned char vp9_prob;

@ -16,8 +16,8 @@
* Description : Standard type aliases * Description : Standard type aliases
* *
****************************************************************************/ ****************************************************************************/
#ifndef __INC_TYPE_ALIASES_H #ifndef VP9_COMMON_VP9_TYPE_ALIASES_H_
#define __INC_TYPE_ALIASES_H #define VP9_COMMON_VP9_TYPE_ALIASES_H_
/**************************************************************************** /****************************************************************************
* Macros * Macros

@ -9,8 +9,8 @@
*/ */
#ifndef IDCT_X86_H #ifndef VP9_COMMON_X86_VP9_IDCT_X86_H_
#define IDCT_X86_H #define VP9_COMMON_X86_VP9_IDCT_X86_H_
/* Note: /* Note:
* *

@ -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 LOOPFILTER_X86_H #ifndef VP9_COMMON_X86_VP9_LOOPFILTER_X86_H_
#define LOOPFILTER_X86_H #define VP9_COMMON_X86_VP9_LOOPFILTER_X86_H_
/* Note: /* Note:
* *

@ -9,8 +9,8 @@
*/ */
#ifndef POSTPROC_X86_H #ifndef VP9_COMMON_X86_VP9_POSTPROC_X86_H_
#define POSTPROC_X86_H #define VP9_COMMON_X86_VP9_POSTPROC_X86_H_
/* Note: /* Note:
* *

@ -9,8 +9,8 @@
*/ */
#ifndef SUBPIXEL_X86_H #ifndef VP9_COMMON_X86_VP9_SUBPIXEL_X86_H_
#define SUBPIXEL_X86_H #define VP9_COMMON_X86_VP9_SUBPIXEL_X86_H_
/* Note: /* Note:
* *

@ -9,8 +9,8 @@
*/ */
#ifndef DBOOLHUFF_H #ifndef VP9_DECODER_VP9_DBOOLHUFF_H_
#define DBOOLHUFF_H #define VP9_DECODER_VP9_DBOOLHUFF_H_
#include <stddef.h> #include <stddef.h>
#include <limits.h> #include <limits.h>
#include "vpx_ports/config.h" #include "vpx_ports/config.h"

@ -9,8 +9,8 @@
*/ */
#ifndef __INC_DECODFRAME_H #ifndef VP9_DECODER_VP9_DECODFRAME_H_
#define __INC_DECODFRAME_H #define VP9_DECODER_VP9_DECODFRAME_H_
struct VP9Decompressor; struct VP9Decompressor;

@ -9,8 +9,8 @@
*/ */
#ifndef DEQUANTIZE_H #ifndef VP9_DECODER_VP9_DEQUANTIZE_H_
#define DEQUANTIZE_H #define VP9_DECODER_VP9_DEQUANTIZE_H_
#include "vp9/common/vp9_blockd.h" #include "vp9/common/vp9_blockd.h"
#if CONFIG_LOSSLESS #if CONFIG_LOSSLESS

@ -9,8 +9,8 @@
*/ */
#ifndef DETOKENIZE_H #ifndef VP9_DECODER_VP9_DETOKENIZE_H_
#define DETOKENIZE_H #define VP9_DECODER_VP9_DETOKENIZE_H_
#include "vp9/decoder/vp9_onyxd_int.h" #include "vp9/decoder/vp9_onyxd_int.h"

@ -9,8 +9,8 @@
*/ */
#ifndef __INC_ONYXD_INT_H #ifndef VP9_DECODER_VP9_ONYXD_INT_H_
#define __INC_ONYXD_INT_H #define VP9_DECODER_VP9_ONYXD_INT_H_
#include "vpx_ports/config.h" #include "vpx_ports/config.h"
#include "vp9/common/vp9_onyxd.h" #include "vp9/common/vp9_onyxd.h"
#include "vp9/decoder/vp9_treereader.h" #include "vp9/decoder/vp9_treereader.h"

@ -9,7 +9,7 @@
*/ */
#ifndef __INC_RECONINTRA_MT_H #ifndef VP9_DECODER_VP9_RECONINTRA_MT_H_
#define __INC_RECONINTRA_MT_H #define VP9_DECODER_VP9_RECONINTRA_MT_H_
#endif #endif

@ -9,8 +9,8 @@
*/ */
#ifndef tree_reader_h #ifndef VP9_DECODER_VP9_TREEREADER_H_
#define tree_reader_h 1 #define VP9_DECODER_VP9_TREEREADER_H_
#include "vp9/common/vp9_treecoder.h" #include "vp9/common/vp9_treecoder.h"

@ -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_IDCT_MMX_H_ #ifndef VP9_DECODER_X86_VP9_IDCT_MMX_H_
#define __INC_IDCT_MMX_H_ #define VP9_DECODER_X86_VP9_IDCT_MMX_H_
void vp9_dequant_dc_idct_add_mmx(short *input, const short *dq, void vp9_dequant_dc_idct_add_mmx(short *input, const short *dq,

@ -9,8 +9,8 @@
*/ */
#ifndef DCT_ARM_H #ifndef VP9_ENCODER_ARM_VP9_DCT_ARM_H_
#define DCT_ARM_H #define VP9_ENCODER_ARM_VP9_DCT_ARM_H_
#if HAVE_ARMV6 #if HAVE_ARMV6
extern prototype_fdct(vp9_short_walsh4x4_armv6); extern prototype_fdct(vp9_short_walsh4x4_armv6);

@ -9,8 +9,8 @@
*/ */
#ifndef ENCODEMB_ARM_H #ifndef VP9_ENCODER_ARM_VP9_ENCODEMB_ARM_H_
#define ENCODEMB_ARM_H #define VP9_ENCODER_ARM_VP9_ENCODEMB_ARM_H_
#if HAVE_ARMV6 #if HAVE_ARMV6
extern prototype_subb(vp9_subtract_b_armv6); extern prototype_subb(vp9_subtract_b_armv6);

@ -9,8 +9,8 @@
*/ */
#ifndef QUANTIZE_ARM_H #ifndef VP9_ENCODER_ARM_VP9_QUANTIZE_ARM_H_
#define QUANTIZE_ARM_H #define VP9_ENCODER_ARM_VP9_QUANTIZE_ARM_H_
#if HAVE_ARMV6 #if HAVE_ARMV6

@ -9,8 +9,8 @@
*/ */
#ifndef VARIANCE_ARM_H #ifndef VP9_ENCODER_ARM_VP9_VARIANCE_ARM_H_
#define VARIANCE_ARM_H #define VP9_ENCODER_ARM_VP9_VARIANCE_ARM_H_
#if HAVE_ARMV6 #if HAVE_ARMV6

@ -9,8 +9,8 @@
*/ */
#ifndef __INC_BITSTREAM_H #ifndef VP9_ENCODER_VP9_BITSTREAM_H_
#define __INC_BITSTREAM_H #define VP9_ENCODER_VP9_BITSTREAM_H_
void vp9_update_skip_probs(VP9_COMP *cpi); void vp9_update_skip_probs(VP9_COMP *cpi);

@ -9,8 +9,8 @@
*/ */
#ifndef __INC_BLOCK_H #ifndef VP9_ENCODER_VP9_BLOCK_H_
#define __INC_BLOCK_H #define VP9_ENCODER_VP9_BLOCK_H_
#include "vp9/common/vp9_onyx.h" #include "vp9/common/vp9_onyx.h"
#include "vp9/common/vp9_entropymv.h" #include "vp9/common/vp9_entropymv.h"

@ -16,8 +16,8 @@
* Description : Bool Coder header file. * Description : Bool Coder header file.
* *
****************************************************************************/ ****************************************************************************/
#ifndef __INC_BOOLHUFF_H #ifndef VP9_ENCODER_VP9_BOOLHUFF_H_
#define __INC_BOOLHUFF_H #define VP9_ENCODER_VP9_BOOLHUFF_H_
#include "vpx_ports/mem.h" #include "vpx_ports/mem.h"

@ -9,8 +9,8 @@
*/ */
#ifndef __INC_ENCODEFRAME_H #ifndef VP9_ENCODER_VP9_ENCODEFRAME_H_
#define __INC_ENCODEFRAME_H #define VP9_ENCODER_VP9_ENCODEFRAME_H_
struct macroblock; struct macroblock;

@ -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 __ENCODEINTRA_H_ #ifndef VP9_ENCODER_VP9_ENCODEINTRA_H_
#define __ENCODEINTRA_H_ #define VP9_ENCODER_VP9_ENCODEINTRA_H_
#include "vp9/encoder/vp9_onyx_int.h" #include "vp9/encoder/vp9_onyx_int.h"

@ -9,8 +9,8 @@
*/ */
#ifndef __INC_ENCODEMB_H #ifndef VP9_ENCODER_VP9_ENCODEMB_H_
#define __INC_ENCODEMB_H #define VP9_ENCODER_VP9_ENCODEMB_H_
#include "vpx_ports/config.h" #include "vpx_ports/config.h"
#include "vp9/encoder/vp9_block.h" #include "vp9/encoder/vp9_block.h"

@ -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 @@
#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 @@
* 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 @@
* 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 @@
*/ */
#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 @@
*/ */
#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 @@
*/ */
#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 @@
*/ */
#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 @@
*/ */
#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 @@
* 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 @@
*/ */
#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 @@
*/ */
#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 @@
#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 @@
* 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 @@
*/ */
#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 @@
*/ */
#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 @@
*/ */
#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 @@
* 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 @@
*/ */
#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 @@
* 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: