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

View File

@ -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
(

View File

@ -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);

View File

@ -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"

View File

@ -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);

View File

@ -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);

View File

@ -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"

View File

@ -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, ...);

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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 {

View File

@ -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"

View File

@ -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"

View File

@ -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

View File

@ -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 {

View File

@ -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,

View File

@ -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"

View File

@ -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"

View File

@ -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. */

View File

@ -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 {

View File

@ -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,

View File

@ -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

View File

@ -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"

View File

@ -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"

View File

@ -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);

View File

@ -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(

View File

@ -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,

View File

@ -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, \

View File

@ -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"

View File

@ -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

View File

@ -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);

View File

@ -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;

View File

@ -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

View File

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

View File

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

View File

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

View File

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

View File

@ -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"

View File

@ -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;

View File

@ -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

View File

@ -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"

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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,

View File

@ -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);

View File

@ -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);

View File

@ -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

View File

@ -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

View File

@ -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);

View File

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

View File

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

View File

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

View File

@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef __ENCODEINTRA_H_
#define __ENCODEINTRA_H_
#ifndef VP9_ENCODER_VP9_ENCODEINTRA_H_
#define VP9_ENCODER_VP9_ENCODEINTRA_H_
#include "vp9/encoder/vp9_onyx_int.h"

View File

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

View File

@ -9,8 +9,8 @@
*/
#ifndef __INC_ENCODEMV_H
#define __INC_ENCODEMV_H
#ifndef VP9_ENCODER_VP9_ENCODEMV_H_
#define VP9_ENCODER_VP9_ENCODEMV_H_
#include "vp9/encoder/vp9_onyx_int.h"

View File

@ -10,7 +10,7 @@
#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_first_pass(VP9_COMP *cpi);

View File

@ -7,8 +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 LOOKAHEAD_H
#define LOOKAHEAD_H
#ifndef VP9_ENCODER_VP9_LOOKAHEAD_H_
#define VP9_ENCODER_VP9_LOOKAHEAD_H_
#include "vpx_scale/yv12config.h"
#include "vpx/vpx_integer.h"

View File

@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef __INC_MBGRAPH_H__
#define __INC_MBGRAPH_H__ 1
#ifndef VP9_ENCODER_VP9_MBGRAPH_H_
#define VP9_ENCODER_VP9_MBGRAPH_H_
extern void vp9_update_mbgraph_stats(VP9_COMP *cpi);

View File

@ -9,8 +9,8 @@
*/
#ifndef __INC_MCOMP_H
#define __INC_MCOMP_H
#ifndef VP9_ENCODER_VP9_MCOMP_H_
#define VP9_ENCODER_VP9_MCOMP_H_
#include "vp9/encoder/vp9_block.h"
#include "vp9/encoder/vp9_variance.h"

View File

@ -9,8 +9,8 @@
*/
#ifndef __INC_MODECOSTS_H
#define __INC_MODECOSTS_H
#ifndef VP9_ENCODER_VP9_MODECOSTS_H_
#define VP9_ENCODER_VP9_MODECOSTS_H_
void vp9_init_mode_costs(VP9_COMP *x);

View File

@ -9,8 +9,8 @@
*/
#ifndef __INC_ONYX_INT_H
#define __INC_ONYX_INT_H
#ifndef VP9_ENCODER_VP9_ONYX_INT_H_
#define VP9_ENCODER_VP9_ONYX_INT_H_
#include <stdio.h>
#include "vpx_ports/config.h"

View File

@ -9,8 +9,8 @@
*/
#ifndef __INC_PICKLPF_H
#define __INC_PICKLPF_H
#ifndef VP9_ENCODER_VP9_PICKLPF_H_
#define VP9_ENCODER_VP9_PICKLPF_H_
struct yv12_buffer_config;
struct VP9_COMP;

View File

@ -9,8 +9,8 @@
*/
#ifndef __INC_PSNR_H
#define __INC_PSNR_H
#ifndef VP9_ENCODER_VP9_PSNR_H_
#define VP9_ENCODER_VP9_PSNR_H_
extern double vp9_mse2psnr(double Samples, double Peak, double Mse);

View File

@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef __INC_QUANTIZE_H
#define __INC_QUANTIZE_H
#ifndef VP9_ENCODER_VP9_QUANTIZE_H_
#define VP9_ENCODER_VP9_QUANTIZE_H_
#include "vp9/encoder/vp9_block.h"

View File

@ -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"

View File

@ -9,8 +9,8 @@
*/
#ifndef __INC_RDOPT_H
#define __INC_RDOPT_H
#ifndef VP9_ENCODER_VP9_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_8x8(RM,DM,R,D) ( ((128+((int64_t)R)*(RM)) >> 8) + ((int64_t)DM)*(D) )

View File

@ -13,8 +13,8 @@
#include "vp9/common/vp9_blockd.h"
#include "vp9/encoder/vp9_onyx_int.h"
#ifndef __INC_SEGMENTATION_H__
#define __INC_SEGMENTATION_H__ 1
#ifndef VP9_ENCODER_VP9_SEGMENTATION_H_
#define VP9_ENCODER_VP9_SEGMENTATION_H_
extern void vp9_update_gf_useage_maps(VP9_COMP *cpi, VP9_COMMON *cm,
MACROBLOCK *x);

View File

@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef __INC_VP9_TEMPORAL_FILTER_H
#define __INC_VP9_TEMPORAL_FILTER_H
#ifndef VP9_ENCODER_VP9_TEMPORAL_FILTER_H_
#define VP9_ENCODER_VP9_TEMPORAL_FILTER_H_
extern void vp9_temporal_filter_prepare(VP9_COMP *cpi, int distance);

View File

@ -9,8 +9,8 @@
*/
#ifndef tokenize_h
#define tokenize_h
#ifndef VP9_ENCODER_VP9_TOKENIZE_H_
#define VP9_ENCODER_VP9_TOKENIZE_H_
#include "vp9/common/vp9_entropy.h"
#include "vp9/encoder/vp9_block.h"

View File

@ -9,8 +9,8 @@
*/
#ifndef __INC_TREEWRITER_H
#define __INC_TREEWRITER_H
#ifndef VP9_ENCODER_VP9_TREEWRITER_H_
#define VP9_ENCODER_VP9_TREEWRITER_H_
/* Trees map alphabets into huffman-like codes suitable for an arithmetic
bit coder. Timothy S Murphy 11 October 2004 */

View File

@ -9,8 +9,8 @@
*/
#ifndef VARIANCE_H
#define VARIANCE_H
#ifndef VP9_ENCODER_VP9_VARIANCE_H_
#define VP9_ENCODER_VP9_VARIANCE_H_
typedef unsigned int(*vp9_sad_fn_t)(const unsigned char *src_ptr,
int source_stride,

View File

@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef __INC_VP9_DCT_MMX_H_
#define __INC_VP9_DCT_MMX_H_
#ifndef VP9_ENCODER_X86_VP9_DCT_MMX_H_
#define VP9_ENCODER_X86_VP9_DCT_MMX_H_
extern void vp9_short_fdct4x4_mmx(short *input, short *output, int pitch);

View File

@ -9,8 +9,8 @@
*/
#ifndef MCOMP_X86_H
#define MCOMP_X86_H
#ifndef VP9_ENCODER_X86_VP9_MCOMP_X86_H_
#define VP9_ENCODER_X86_VP9_MCOMP_X86_H_
#if HAVE_SSE3
#if !CONFIG_RUNTIME_CPU_DETECT

View File

@ -7,8 +7,8 @@
* file in the root of the source tree.
*/
#ifndef QUANTIZE_X86_H
#define QUANTIZE_X86_H
#ifndef VP9_ENCODER_X86_VP9_QUANTIZE_X86_H_
#define VP9_ENCODER_X86_VP9_QUANTIZE_X86_H_
/* Note: