summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2018-08-22 14:03:54 -0700
committerJames Zern <jzern@google.com>2018-09-15 12:25:43 -0700
commit2a5805e2cbeb706d000f47da6feda7619b2959ba (patch)
tree5608ca8e7df97665f651d8e6f1266699de321baf
parentcb671194c9ac4068922a971318670c91bf96c906 (diff)
downloadlibvpx-2a5805e2cbeb706d000f47da6feda7619b2959ba.tar.gz
cosmetics: normalize include guards
use the recommended format [1] of: <PROJECT>_<PATH>_<FILE>_H_ [1] https://google.github.io/styleguide/cppguide.html#The__define_Guard "All header files should have #define guards to prevent multiple inclusion. The format of the symbol name should be <PROJECT>_<PATH>_<FILE>_H_." Change-Id: I2e8ab0b32fb23c30fa43cff5fec12d043c0d2037
-rw-r--r--args.h6
-rw-r--r--examples/svc_context.h6
-rw-r--r--ivfdec.h6
-rw-r--r--ivfenc.h6
-rw-r--r--md5_utils.h6
-rw-r--r--rate_hist.h6
-rw-r--r--test/acm_random.h6
-rw-r--r--test/bench.h6
-rw-r--r--test/buffer.h6
-rw-r--r--test/clear_system_state.h6
-rw-r--r--test/codec_factory.h6
-rw-r--r--test/decode_test_driver.h6
-rw-r--r--test/encode_test_driver.h6
-rw-r--r--test/i420_video_source.h6
-rw-r--r--test/ivf_video_source.h6
-rw-r--r--test/md5_helper.h6
-rw-r--r--test/register_state_check.h6
-rw-r--r--test/svc_test.h6
-rw-r--r--test/test_vectors.h6
-rw-r--r--test/util.h6
-rw-r--r--test/video_source.h6
-rw-r--r--test/vpx_scale_test.h6
-rw-r--r--test/webm_video_source.h6
-rw-r--r--test/y4m_video_source.h6
-rw-r--r--test/yuv_video_source.h6
-rw-r--r--tools_common.h6
-rw-r--r--video_common.h6
-rw-r--r--video_reader.h6
-rw-r--r--video_writer.h6
-rw-r--r--vp8/common/alloccommon.h6
-rw-r--r--vp8/common/blockd.h6
-rw-r--r--vp8/common/coefupdateprobs.h6
-rw-r--r--vp8/common/common.h6
-rw-r--r--vp8/common/default_coef_probs.h6
-rw-r--r--vp8/common/entropy.h6
-rw-r--r--vp8/common/entropymode.h6
-rw-r--r--vp8/common/entropymv.h6
-rw-r--r--vp8/common/extend.h6
-rw-r--r--vp8/common/filter.h6
-rw-r--r--vp8/common/findnearmv.h6
-rw-r--r--vp8/common/header.h6
-rw-r--r--vp8/common/invtrans.h6
-rw-r--r--vp8/common/loopfilter.h6
-rw-r--r--vp8/common/mips/msa/vp8_macros_msa.h6
-rw-r--r--vp8/common/modecont.h6
-rw-r--r--vp8/common/mv.h6
-rw-r--r--vp8/common/onyx.h6
-rw-r--r--vp8/common/onyxc_int.h6
-rw-r--r--vp8/common/onyxd.h6
-rw-r--r--vp8/common/postproc.h6
-rw-r--r--vp8/common/ppflags.h6
-rw-r--r--vp8/common/quant_common.h6
-rw-r--r--vp8/common/reconinter.h6
-rw-r--r--vp8/common/reconintra.h6
-rw-r--r--vp8/common/reconintra4x4.h6
-rw-r--r--vp8/common/setupintrarecon.h6
-rw-r--r--vp8/common/swapyv12buffer.h6
-rw-r--r--vp8/common/systemdependent.h6
-rw-r--r--vp8/common/threading.h6
-rw-r--r--vp8/common/treecoder.h6
-rw-r--r--vp8/common/vp8_entropymodedata.h6
-rw-r--r--vp8/common/vp8_skin_detection.h6
-rw-r--r--vp8/common/x86/filter_x86.h6
-rw-r--r--vp8/decoder/dboolhuff.h6
-rw-r--r--vp8/decoder/decodemv.h6
-rw-r--r--vp8/decoder/decoderthreading.h6
-rw-r--r--vp8/decoder/detokenize.h6
-rw-r--r--vp8/decoder/ec_types.h6
-rw-r--r--vp8/decoder/error_concealment.h6
-rw-r--r--vp8/decoder/onyxd_int.h6
-rw-r--r--vp8/decoder/treereader.h6
-rw-r--r--vp8/encoder/bitstream.h6
-rw-r--r--vp8/encoder/block.h6
-rw-r--r--vp8/encoder/boolhuff.h6
-rw-r--r--vp8/encoder/dct_value_cost.h6
-rw-r--r--vp8/encoder/dct_value_tokens.h6
-rw-r--r--vp8/encoder/defaultcoefcounts.h6
-rw-r--r--vp8/encoder/denoising.h6
-rw-r--r--vp8/encoder/encodeframe.h6
-rw-r--r--vp8/encoder/encodeintra.h6
-rw-r--r--vp8/encoder/encodemb.h6
-rw-r--r--vp8/encoder/encodemv.h6
-rw-r--r--vp8/encoder/ethreading.h6
-rw-r--r--vp8/encoder/firstpass.h6
-rw-r--r--vp8/encoder/lookahead.h6
-rw-r--r--vp8/encoder/mcomp.h6
-rw-r--r--vp8/encoder/modecosts.h6
-rw-r--r--vp8/encoder/mr_dissim.h6
-rw-r--r--vp8/encoder/onyx_int.h6
-rw-r--r--vp8/encoder/pickinter.h6
-rw-r--r--vp8/encoder/picklpf.h6
-rw-r--r--vp8/encoder/quantize.h6
-rw-r--r--vp8/encoder/ratectrl.h6
-rw-r--r--vp8/encoder/rdopt.h6
-rw-r--r--vp8/encoder/segmentation.h6
-rw-r--r--vp8/encoder/temporal_filter.h6
-rw-r--r--vp8/encoder/tokenize.h6
-rw-r--r--vp8/encoder/treewriter.h6
-rw-r--r--vp9/common/arm/neon/vp9_iht_neon.h6
-rw-r--r--vp9/common/vp9_alloccommon.h6
-rw-r--r--vp9/common/vp9_blockd.h6
-rw-r--r--vp9/common/vp9_common.h6
-rw-r--r--vp9/common/vp9_common_data.h6
-rw-r--r--vp9/common/vp9_entropy.h6
-rw-r--r--vp9/common/vp9_entropymode.h6
-rw-r--r--vp9/common/vp9_entropymv.h6
-rw-r--r--vp9/common/vp9_enums.h6
-rw-r--r--vp9/common/vp9_filter.h6
-rw-r--r--vp9/common/vp9_frame_buffers.h6
-rw-r--r--vp9/common/vp9_idct.h6
-rw-r--r--vp9/common/vp9_loopfilter.h6
-rw-r--r--vp9/common/vp9_mfqe.h6
-rw-r--r--vp9/common/vp9_mv.h6
-rw-r--r--vp9/common/vp9_mvref_common.h6
-rw-r--r--vp9/common/vp9_onyxc_int.h6
-rw-r--r--vp9/common/vp9_postproc.h6
-rw-r--r--vp9/common/vp9_ppflags.h6
-rw-r--r--vp9/common/vp9_pred_common.h6
-rw-r--r--vp9/common/vp9_quant_common.h6
-rw-r--r--vp9/common/vp9_reconinter.h6
-rw-r--r--vp9/common/vp9_reconintra.h6
-rw-r--r--vp9/common/vp9_scale.h6
-rw-r--r--vp9/common/vp9_scan.h6
-rw-r--r--vp9/common/vp9_seg_common.h6
-rw-r--r--vp9/common/vp9_thread_common.h6
-rw-r--r--vp9/common/vp9_tile_common.h6
-rw-r--r--vp9/decoder/vp9_decodeframe.h6
-rw-r--r--vp9/decoder/vp9_decodemv.h6
-rw-r--r--vp9/decoder/vp9_decoder.h6
-rw-r--r--vp9/decoder/vp9_detokenize.h6
-rw-r--r--vp9/decoder/vp9_dsubexp.h6
-rw-r--r--vp9/encoder/mips/msa/vp9_fdct_msa.h6
-rw-r--r--vp9/encoder/vp9_alt_ref_aq.h6
-rw-r--r--vp9/encoder/vp9_aq_360.h6
-rw-r--r--vp9/encoder/vp9_aq_complexity.h6
-rw-r--r--vp9/encoder/vp9_aq_cyclicrefresh.h6
-rw-r--r--vp9/encoder/vp9_aq_variance.h6
-rw-r--r--vp9/encoder/vp9_bitstream.h6
-rw-r--r--vp9/encoder/vp9_block.h6
-rw-r--r--vp9/encoder/vp9_context_tree.h6
-rw-r--r--vp9/encoder/vp9_cost.h6
-rw-r--r--vp9/encoder/vp9_denoiser.h6
-rw-r--r--vp9/encoder/vp9_encodeframe.h6
-rw-r--r--vp9/encoder/vp9_encodemb.h6
-rw-r--r--vp9/encoder/vp9_encodemv.h6
-rw-r--r--vp9/encoder/vp9_encoder.h6
-rw-r--r--vp9/encoder/vp9_ethread.h6
-rw-r--r--vp9/encoder/vp9_extend.h6
-rw-r--r--vp9/encoder/vp9_firstpass.h6
-rw-r--r--vp9/encoder/vp9_job_queue.h6
-rw-r--r--vp9/encoder/vp9_lookahead.h6
-rw-r--r--vp9/encoder/vp9_mbgraph.h6
-rw-r--r--vp9/encoder/vp9_mcomp.h6
-rw-r--r--vp9/encoder/vp9_multi_thread.h6
-rw-r--r--vp9/encoder/vp9_noise_estimate.h6
-rw-r--r--vp9/encoder/vp9_partition_models.h6
-rw-r--r--vp9/encoder/vp9_picklpf.h6
-rw-r--r--vp9/encoder/vp9_pickmode.h6
-rw-r--r--vp9/encoder/vp9_quantize.h6
-rw-r--r--vp9/encoder/vp9_ratectrl.h6
-rw-r--r--vp9/encoder/vp9_rd.h6
-rw-r--r--vp9/encoder/vp9_rdopt.h6
-rw-r--r--vp9/encoder/vp9_resize.h6
-rw-r--r--vp9/encoder/vp9_segmentation.h6
-rw-r--r--vp9/encoder/vp9_skin_detection.h6
-rw-r--r--vp9/encoder/vp9_speed_features.h6
-rw-r--r--vp9/encoder/vp9_subexp.h6
-rw-r--r--vp9/encoder/vp9_svc_layercontext.h6
-rw-r--r--vp9/encoder/vp9_temporal_filter.h6
-rw-r--r--vp9/encoder/vp9_tokenize.h6
-rw-r--r--vp9/encoder/vp9_treewriter.h6
-rw-r--r--vp9/vp9_dx_iface.h6
-rw-r--r--vp9/vp9_iface_common.h6
-rw-r--r--vpx/internal/vpx_codec_internal.h6
-rw-r--r--vpx/vp8.h6
-rw-r--r--vpx/vp8cx.h6
-rw-r--r--vpx/vp8dx.h6
-rw-r--r--vpx/vpx_codec.h6
-rw-r--r--vpx/vpx_decoder.h6
-rw-r--r--vpx/vpx_encoder.h6
-rw-r--r--vpx/vpx_frame_buffer.h6
-rw-r--r--vpx/vpx_image.h6
-rw-r--r--vpx/vpx_integer.h6
-rw-r--r--vpx_dsp/arm/highbd_idct_neon.h6
-rw-r--r--vpx_dsp/arm/idct_neon.h6
-rw-r--r--vpx_dsp/arm/mem_neon.h6
-rw-r--r--vpx_dsp/arm/sum_neon.h6
-rw-r--r--vpx_dsp/arm/transpose_neon.h6
-rw-r--r--vpx_dsp/arm/vpx_convolve8_neon.h5
-rw-r--r--vpx_dsp/arm/vpx_convolve8_neon_asm.h6
-rw-r--r--vpx_dsp/bitreader.h6
-rw-r--r--vpx_dsp/bitreader_buffer.h6
-rw-r--r--vpx_dsp/bitwriter.h6
-rw-r--r--vpx_dsp/bitwriter_buffer.h6
-rw-r--r--vpx_dsp/fwd_txfm.h6
-rw-r--r--vpx_dsp/inv_txfm.h6
-rw-r--r--vpx_dsp/mips/common_dspr2.h6
-rw-r--r--vpx_dsp/mips/convolve_common_dspr2.h6
-rw-r--r--vpx_dsp/mips/fwd_txfm_msa.h6
-rw-r--r--vpx_dsp/mips/inv_txfm_dspr2.h6
-rw-r--r--vpx_dsp/mips/inv_txfm_msa.h6
-rw-r--r--vpx_dsp/mips/loopfilter_filters_dspr2.h6
-rw-r--r--vpx_dsp/mips/loopfilter_macros_dspr2.h6
-rw-r--r--vpx_dsp/mips/loopfilter_masks_dspr2.h6
-rw-r--r--vpx_dsp/mips/loopfilter_msa.h6
-rw-r--r--vpx_dsp/mips/macros_msa.h6
-rw-r--r--vpx_dsp/mips/txfm_macros_msa.h6
-rw-r--r--vpx_dsp/mips/vpx_convolve_msa.h6
-rw-r--r--vpx_dsp/postproc.h6
-rw-r--r--vpx_dsp/ppc/bitdepth_conversion_vsx.h6
-rw-r--r--vpx_dsp/ppc/inv_txfm_vsx.h15
-rw-r--r--vpx_dsp/ppc/transpose_vsx.h6
-rw-r--r--vpx_dsp/ppc/txfm_common_vsx.h6
-rw-r--r--vpx_dsp/ppc/types_vsx.h6
-rw-r--r--vpx_dsp/prob.h6
-rw-r--r--vpx_dsp/psnr.h6
-rw-r--r--vpx_dsp/quantize.h6
-rw-r--r--vpx_dsp/skin_detection.h6
-rw-r--r--vpx_dsp/ssim.h6
-rw-r--r--vpx_dsp/txfm_common.h6
-rw-r--r--vpx_dsp/variance.h6
-rw-r--r--vpx_dsp/vpx_convolve.h6
-rw-r--r--vpx_dsp/vpx_dsp_common.h6
-rw-r--r--vpx_dsp/vpx_filter.h6
-rw-r--r--vpx_dsp/x86/bitdepth_conversion_avx2.h6
-rw-r--r--vpx_dsp/x86/bitdepth_conversion_sse2.h6
-rw-r--r--vpx_dsp/x86/convolve.h6
-rw-r--r--vpx_dsp/x86/convolve_avx2.h6
-rw-r--r--vpx_dsp/x86/convolve_ssse3.h6
-rw-r--r--vpx_dsp/x86/fwd_txfm_sse2.h6
-rw-r--r--vpx_dsp/x86/highbd_inv_txfm_sse2.h6
-rw-r--r--vpx_dsp/x86/highbd_inv_txfm_sse4.h6
-rw-r--r--vpx_dsp/x86/inv_txfm_sse2.h6
-rw-r--r--vpx_dsp/x86/inv_txfm_ssse3.h6
-rw-r--r--vpx_dsp/x86/mem_sse2.h6
-rw-r--r--vpx_dsp/x86/quantize_x86.h5
-rw-r--r--vpx_dsp/x86/transpose_sse2.h6
-rw-r--r--vpx_dsp/x86/txfm_common_sse2.h6
-rw-r--r--vpx_mem/include/vpx_mem_intrnl.h6
-rw-r--r--vpx_mem/vpx_mem.h6
-rw-r--r--vpx_ports/arm.h6
-rw-r--r--vpx_ports/asmdefs_mmi.h6
-rw-r--r--vpx_ports/bitops.h6
-rw-r--r--vpx_ports/emmintrin_compat.h6
-rw-r--r--vpx_ports/mem.h6
-rw-r--r--vpx_ports/mem_ops.h6
-rw-r--r--vpx_ports/mem_ops_aligned.h6
-rw-r--r--vpx_ports/msvc.h6
-rw-r--r--vpx_ports/ppc.h6
-rw-r--r--vpx_ports/system_state.h6
-rw-r--r--vpx_ports/vpx_once.h6
-rw-r--r--vpx_ports/vpx_timer.h6
-rw-r--r--vpx_ports/x86.h6
-rw-r--r--vpx_scale/vpx_scale.h6
-rw-r--r--vpx_scale/yv12config.h6
-rw-r--r--vpx_util/endian_inl.h6
-rw-r--r--vpx_util/vpx_atomics.h6
-rw-r--r--vpx_util/vpx_thread.h6
-rw-r--r--vpx_util/vpx_write_yuv_frame.h6
-rw-r--r--vpxenc.h6
-rw-r--r--vpxstats.h6
-rw-r--r--warnings.h6
-rw-r--r--webmdec.h6
-rw-r--r--webmenc.h6
-rw-r--r--y4menc.h6
-rw-r--r--y4minput.h6
266 files changed, 814 insertions, 789 deletions
diff --git a/args.h b/args.h
index 54abe0460..aae8ec06a 100644
--- a/args.h
+++ b/args.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef ARGS_H_
-#define ARGS_H_
+#ifndef VPX_ARGS_H_
+#define VPX_ARGS_H_
#include <stdio.h>
#ifdef __cplusplus
@@ -60,4 +60,4 @@ int arg_parse_enum_or_int(const struct arg *arg);
} // extern "C"
#endif
-#endif // ARGS_H_
+#endif // VPX_ARGS_H_
diff --git a/examples/svc_context.h b/examples/svc_context.h
index 74b4d5b50..c5779ce8a 100644
--- a/examples/svc_context.h
+++ b/examples/svc_context.h
@@ -13,8 +13,8 @@
* spatial SVC frame
*/
-#ifndef VPX_SVC_CONTEXT_H_
-#define VPX_SVC_CONTEXT_H_
+#ifndef VPX_EXAMPLES_SVC_CONTEXT_H_
+#define VPX_EXAMPLES_SVC_CONTEXT_H_
#include "vpx/vp8cx.h"
#include "vpx/vpx_encoder.h"
@@ -109,4 +109,4 @@ void vpx_svc_dump_statistics(SvcContext *svc_ctx);
} // extern "C"
#endif
-#endif // VPX_SVC_CONTEXT_H_
+#endif // VPX_EXAMPLES_SVC_CONTEXT_H_
diff --git a/ivfdec.h b/ivfdec.h
index af725572b..847cd79f3 100644
--- a/ivfdec.h
+++ b/ivfdec.h
@@ -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 IVFDEC_H_
-#define IVFDEC_H_
+#ifndef VPX_IVFDEC_H_
+#define VPX_IVFDEC_H_
#include "./tools_common.h"
@@ -25,4 +25,4 @@ int ivf_read_frame(FILE *infile, uint8_t **buffer, size_t *bytes_read,
} /* extern "C" */
#endif
-#endif // IVFDEC_H_
+#endif // VPX_IVFDEC_H_
diff --git a/ivfenc.h b/ivfenc.h
index ebdce47be..483f2d2c5 100644
--- a/ivfenc.h
+++ b/ivfenc.h
@@ -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 IVFENC_H_
-#define IVFENC_H_
+#ifndef VPX_IVFENC_H_
+#define VPX_IVFENC_H_
#include "./tools_common.h"
@@ -30,4 +30,4 @@ void ivf_write_frame_size(FILE *outfile, size_t frame_size);
} /* extern "C" */
#endif
-#endif // IVFENC_H_
+#endif // VPX_IVFENC_H_
diff --git a/md5_utils.h b/md5_utils.h
index bd4991b3a..e0d5a2d1f 100644
--- a/md5_utils.h
+++ b/md5_utils.h
@@ -20,8 +20,8 @@
* Still in the public domain.
*/
-#ifndef MD5_UTILS_H_
-#define MD5_UTILS_H_
+#ifndef VPX_MD5_UTILS_H_
+#define VPX_MD5_UTILS_H_
#ifdef __cplusplus
extern "C" {
@@ -46,4 +46,4 @@ void MD5Transform(UWORD32 buf[4], UWORD32 const in[16]);
} // extern "C"
#endif
-#endif // MD5_UTILS_H_
+#endif // VPX_MD5_UTILS_H_
diff --git a/rate_hist.h b/rate_hist.h
index 00a1676a6..d6a4c6851 100644
--- a/rate_hist.h
+++ b/rate_hist.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef RATE_HIST_H_
-#define RATE_HIST_H_
+#ifndef VPX_RATE_HIST_H_
+#define VPX_RATE_HIST_H_
#include "vpx/vpx_encoder.h"
@@ -37,4 +37,4 @@ void show_rate_histogram(struct rate_hist *hist, const vpx_codec_enc_cfg_t *cfg,
} // extern "C"
#endif
-#endif // RATE_HIST_H_
+#endif // VPX_RATE_HIST_H_
diff --git a/test/acm_random.h b/test/acm_random.h
index d915cf913..f3e7d398d 100644
--- a/test/acm_random.h
+++ b/test/acm_random.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef TEST_ACM_RANDOM_H_
-#define TEST_ACM_RANDOM_H_
+#ifndef VPX_TEST_ACM_RANDOM_H_
+#define VPX_TEST_ACM_RANDOM_H_
#include <assert.h>
@@ -73,4 +73,4 @@ class ACMRandom {
} // namespace libvpx_test
-#endif // TEST_ACM_RANDOM_H_
+#endif // VPX_TEST_ACM_RANDOM_H_
diff --git a/test/bench.h b/test/bench.h
index 6fe5e0b03..57ca9118b 100644
--- a/test/bench.h
+++ b/test/bench.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef TEST_BENCH_H_
-#define TEST_BENCH_H_
+#ifndef VPX_TEST_BENCH_H_
+#define VPX_TEST_BENCH_H_
// Number of iterations used to compute median run time.
#define VPX_BENCH_ROBUST_ITER 15
@@ -27,4 +27,4 @@ class AbstractBench {
int times_[VPX_BENCH_ROBUST_ITER];
};
-#endif // TEST_BENCH_H_
+#endif // VPX_TEST_BENCH_H_
diff --git a/test/buffer.h b/test/buffer.h
index 2175dad9d..b003d2f0d 100644
--- a/test/buffer.h
+++ b/test/buffer.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef TEST_BUFFER_H_
-#define TEST_BUFFER_H_
+#ifndef VPX_TEST_BUFFER_H_
+#define VPX_TEST_BUFFER_H_
#include <stdio.h>
@@ -379,4 +379,4 @@ bool Buffer<T>::BufferSizesMatch(const Buffer<T> &a) const {
return true;
}
} // namespace libvpx_test
-#endif // TEST_BUFFER_H_
+#endif // VPX_TEST_BUFFER_H_
diff --git a/test/clear_system_state.h b/test/clear_system_state.h
index 609a8b050..ba3c0b386 100644
--- a/test/clear_system_state.h
+++ b/test/clear_system_state.h
@@ -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 TEST_CLEAR_SYSTEM_STATE_H_
-#define TEST_CLEAR_SYSTEM_STATE_H_
+#ifndef VPX_TEST_CLEAR_SYSTEM_STATE_H_
+#define VPX_TEST_CLEAR_SYSTEM_STATE_H_
#include "./vpx_config.h"
#include "vpx_ports/system_state.h"
@@ -20,4 +20,4 @@ namespace libvpx_test {
inline void ClearSystemState() { vpx_clear_system_state(); }
} // namespace libvpx_test
-#endif // TEST_CLEAR_SYSTEM_STATE_H_
+#endif // VPX_TEST_CLEAR_SYSTEM_STATE_H_
diff --git a/test/codec_factory.h b/test/codec_factory.h
index 294ab04e3..2bfb47360 100644
--- a/test/codec_factory.h
+++ b/test/codec_factory.h
@@ -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 TEST_CODEC_FACTORY_H_
-#define TEST_CODEC_FACTORY_H_
+#ifndef VPX_TEST_CODEC_FACTORY_H_
+#define VPX_TEST_CODEC_FACTORY_H_
#include "./vpx_config.h"
#include "vpx/vpx_decoder.h"
@@ -263,4 +263,4 @@ const libvpx_test::VP9CodecFactory kVP9;
#endif // CONFIG_VP9
} // namespace libvpx_test
-#endif // TEST_CODEC_FACTORY_H_
+#endif // VPX_TEST_CODEC_FACTORY_H_
diff --git a/test/decode_test_driver.h b/test/decode_test_driver.h
index 644fc9e90..04876cdd7 100644
--- a/test/decode_test_driver.h
+++ b/test/decode_test_driver.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef TEST_DECODE_TEST_DRIVER_H_
-#define TEST_DECODE_TEST_DRIVER_H_
+#ifndef VPX_TEST_DECODE_TEST_DRIVER_H_
+#define VPX_TEST_DECODE_TEST_DRIVER_H_
#include <cstring>
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "./vpx_config.h"
@@ -159,4 +159,4 @@ class DecoderTest {
} // namespace libvpx_test
-#endif // TEST_DECODE_TEST_DRIVER_H_
+#endif // VPX_TEST_DECODE_TEST_DRIVER_H_
diff --git a/test/encode_test_driver.h b/test/encode_test_driver.h
index d7e7c95f9..3edba4b92 100644
--- a/test/encode_test_driver.h
+++ b/test/encode_test_driver.h
@@ -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 TEST_ENCODE_TEST_DRIVER_H_
-#define TEST_ENCODE_TEST_DRIVER_H_
+#ifndef VPX_TEST_ENCODE_TEST_DRIVER_H_
+#define VPX_TEST_ENCODE_TEST_DRIVER_H_
#include <string>
#include <vector>
@@ -289,4 +289,4 @@ class EncoderTest {
} // namespace libvpx_test
-#endif // TEST_ENCODE_TEST_DRIVER_H_
+#endif // VPX_TEST_ENCODE_TEST_DRIVER_H_
diff --git a/test/i420_video_source.h b/test/i420_video_source.h
index 49573823b..97473b5c2 100644
--- a/test/i420_video_source.h
+++ b/test/i420_video_source.h
@@ -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 TEST_I420_VIDEO_SOURCE_H_
-#define TEST_I420_VIDEO_SOURCE_H_
+#ifndef VPX_TEST_I420_VIDEO_SOURCE_H_
+#define VPX_TEST_I420_VIDEO_SOURCE_H_
#include <cstdio>
#include <cstdlib>
#include <string>
@@ -30,4 +30,4 @@ class I420VideoSource : public YUVVideoSource {
} // namespace libvpx_test
-#endif // TEST_I420_VIDEO_SOURCE_H_
+#endif // VPX_TEST_I420_VIDEO_SOURCE_H_
diff --git a/test/ivf_video_source.h b/test/ivf_video_source.h
index 4b5d55469..22c05ecde 100644
--- a/test/ivf_video_source.h
+++ b/test/ivf_video_source.h
@@ -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 TEST_IVF_VIDEO_SOURCE_H_
-#define TEST_IVF_VIDEO_SOURCE_H_
+#ifndef VPX_TEST_IVF_VIDEO_SOURCE_H_
+#define VPX_TEST_IVF_VIDEO_SOURCE_H_
#include <cstdio>
#include <cstdlib>
#include <new>
@@ -103,4 +103,4 @@ class IVFVideoSource : public CompressedVideoSource {
} // namespace libvpx_test
-#endif // TEST_IVF_VIDEO_SOURCE_H_
+#endif // VPX_TEST_IVF_VIDEO_SOURCE_H_
diff --git a/test/md5_helper.h b/test/md5_helper.h
index ef310a2d9..dc28dc628 100644
--- a/test/md5_helper.h
+++ b/test/md5_helper.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef TEST_MD5_HELPER_H_
-#define TEST_MD5_HELPER_H_
+#ifndef VPX_TEST_MD5_HELPER_H_
+#define VPX_TEST_MD5_HELPER_H_
#include "./md5_utils.h"
#include "vpx/vpx_decoder.h"
@@ -72,4 +72,4 @@ class MD5 {
} // namespace libvpx_test
-#endif // TEST_MD5_HELPER_H_
+#endif // VPX_TEST_MD5_HELPER_H_
diff --git a/test/register_state_check.h b/test/register_state_check.h
index 7584be7bb..238508ac0 100644
--- a/test/register_state_check.h
+++ b/test/register_state_check.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef TEST_REGISTER_STATE_CHECK_H_
-#define TEST_REGISTER_STATE_CHECK_H_
+#ifndef VPX_TEST_REGISTER_STATE_CHECK_H_
+#define VPX_TEST_REGISTER_STATE_CHECK_H_
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "./vpx_config.h"
@@ -184,4 +184,4 @@ class RegisterStateCheckMMX {
#define API_REGISTER_STATE_CHECK ASM_REGISTER_STATE_CHECK
#endif
-#endif // TEST_REGISTER_STATE_CHECK_H_
+#endif // VPX_TEST_REGISTER_STATE_CHECK_H_
diff --git a/test/svc_test.h b/test/svc_test.h
index 7dfd27c97..d96d74606 100644
--- a/test/svc_test.h
+++ b/test/svc_test.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef TEST_SVC_TEST_H_
-#define TEST_SVC_TEST_H_
+#ifndef VPX_TEST_SVC_TEST_H_
+#define VPX_TEST_SVC_TEST_H_
#include "./vpx_config.h"
#include "third_party/googletest/src/include/gtest/gtest.h"
@@ -59,4 +59,4 @@ class OnePassCbrSvc : public ::libvpx_test::EncoderTest {
};
} // namespace svc_test
-#endif // TEST_SVC_TEST_H_
+#endif // VPX_TEST_SVC_TEST_H_
diff --git a/test/test_vectors.h b/test/test_vectors.h
index 3df3e8113..0a4be0f1a 100644
--- a/test/test_vectors.h
+++ b/test/test_vectors.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef TEST_TEST_VECTORS_H_
-#define TEST_TEST_VECTORS_H_
+#ifndef VPX_TEST_TEST_VECTORS_H_
+#define VPX_TEST_TEST_VECTORS_H_
#include "./vpx_config.h"
@@ -31,4 +31,4 @@ extern const char *const kVP9TestVectorsResize[];
} // namespace libvpx_test
-#endif // TEST_TEST_VECTORS_H_
+#endif // VPX_TEST_TEST_VECTORS_H_
diff --git a/test/util.h b/test/util.h
index aac676dba..4392188d7 100644
--- a/test/util.h
+++ b/test/util.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef TEST_UTIL_H_
-#define TEST_UTIL_H_
+#ifndef VPX_TEST_UTIL_H_
+#define VPX_TEST_UTIL_H_
#include <stdio.h>
#include <math.h>
@@ -43,4 +43,4 @@ inline double compute_psnr(const vpx_image_t *img1, const vpx_image_t *img2) {
return psnr;
}
-#endif // TEST_UTIL_H_
+#endif // VPX_TEST_UTIL_H_
diff --git a/test/video_source.h b/test/video_source.h
index 54f692865..e9340f21e 100644
--- a/test/video_source.h
+++ b/test/video_source.h
@@ -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 TEST_VIDEO_SOURCE_H_
-#define TEST_VIDEO_SOURCE_H_
+#ifndef VPX_TEST_VIDEO_SOURCE_H_
+#define VPX_TEST_VIDEO_SOURCE_H_
#if defined(_WIN32)
#undef NOMINMAX
@@ -255,4 +255,4 @@ class CompressedVideoSource {
} // namespace libvpx_test
-#endif // TEST_VIDEO_SOURCE_H_
+#endif // VPX_TEST_VIDEO_SOURCE_H_
diff --git a/test/vpx_scale_test.h b/test/vpx_scale_test.h
index ac1e9b03c..11c259ae8 100644
--- a/test/vpx_scale_test.h
+++ b/test/vpx_scale_test.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef TEST_VPX_SCALE_TEST_H_
-#define TEST_VPX_SCALE_TEST_H_
+#ifndef VPX_TEST_VPX_SCALE_TEST_H_
+#define VPX_TEST_VPX_SCALE_TEST_H_
#include "third_party/googletest/src/include/gtest/gtest.h"
@@ -198,4 +198,4 @@ class VpxScaleBase {
} // namespace libvpx_test
-#endif // TEST_VPX_SCALE_TEST_H_
+#endif // VPX_TEST_VPX_SCALE_TEST_H_
diff --git a/test/webm_video_source.h b/test/webm_video_source.h
index 09c007a3f..6f55f7db7 100644
--- a/test/webm_video_source.h
+++ b/test/webm_video_source.h
@@ -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 TEST_WEBM_VIDEO_SOURCE_H_
-#define TEST_WEBM_VIDEO_SOURCE_H_
+#ifndef VPX_TEST_WEBM_VIDEO_SOURCE_H_
+#define VPX_TEST_WEBM_VIDEO_SOURCE_H_
#include <cstdarg>
#include <cstdio>
#include <cstdlib>
@@ -90,4 +90,4 @@ class WebMVideoSource : public CompressedVideoSource {
} // namespace libvpx_test
-#endif // TEST_WEBM_VIDEO_SOURCE_H_
+#endif // VPX_TEST_WEBM_VIDEO_SOURCE_H_
diff --git a/test/y4m_video_source.h b/test/y4m_video_source.h
index 1301f6970..5f03c8b22 100644
--- a/test/y4m_video_source.h
+++ b/test/y4m_video_source.h
@@ -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 TEST_Y4M_VIDEO_SOURCE_H_
-#define TEST_Y4M_VIDEO_SOURCE_H_
+#ifndef VPX_TEST_Y4M_VIDEO_SOURCE_H_
+#define VPX_TEST_Y4M_VIDEO_SOURCE_H_
#include <algorithm>
#include <string>
@@ -119,4 +119,4 @@ class Y4mVideoSource : public VideoSource {
} // namespace libvpx_test
-#endif // TEST_Y4M_VIDEO_SOURCE_H_
+#endif // VPX_TEST_Y4M_VIDEO_SOURCE_H_
diff --git a/test/yuv_video_source.h b/test/yuv_video_source.h
index aee6b2ffb..020ce801d 100644
--- a/test/yuv_video_source.h
+++ b/test/yuv_video_source.h
@@ -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 TEST_YUV_VIDEO_SOURCE_H_
-#define TEST_YUV_VIDEO_SOURCE_H_
+#ifndef VPX_TEST_YUV_VIDEO_SOURCE_H_
+#define VPX_TEST_YUV_VIDEO_SOURCE_H_
#include <cstdio>
#include <cstdlib>
@@ -122,4 +122,4 @@ class YUVVideoSource : public VideoSource {
} // namespace libvpx_test
-#endif // TEST_YUV_VIDEO_SOURCE_H_
+#endif // VPX_TEST_YUV_VIDEO_SOURCE_H_
diff --git a/tools_common.h b/tools_common.h
index e41de3195..41253729c 100644
--- a/tools_common.h
+++ b/tools_common.h
@@ -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 TOOLS_COMMON_H_
-#define TOOLS_COMMON_H_
+#ifndef VPX_TOOLS_COMMON_H_
+#define VPX_TOOLS_COMMON_H_
#include <stdio.h>
@@ -163,4 +163,4 @@ void vpx_img_truncate_16_to_8(vpx_image_t *dst, vpx_image_t *src);
} /* extern "C" */
#endif
-#endif // TOOLS_COMMON_H_
+#endif // VPX_TOOLS_COMMON_H_
diff --git a/video_common.h b/video_common.h
index 44b27a839..77eb9fac0 100644
--- a/video_common.h
+++ b/video_common.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VIDEO_COMMON_H_
-#define VIDEO_COMMON_H_
+#ifndef VPX_VIDEO_COMMON_H_
+#define VPX_VIDEO_COMMON_H_
#include "./tools_common.h"
@@ -20,4 +20,4 @@ typedef struct {
struct VpxRational time_base;
} VpxVideoInfo;
-#endif // VIDEO_COMMON_H_
+#endif // VPX_VIDEO_COMMON_H_
diff --git a/video_reader.h b/video_reader.h
index 73c25b00a..1f5c8088b 100644
--- a/video_reader.h
+++ b/video_reader.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VIDEO_READER_H_
-#define VIDEO_READER_H_
+#ifndef VPX_VIDEO_READER_H_
+#define VPX_VIDEO_READER_H_
#include "./video_common.h"
@@ -48,4 +48,4 @@ const VpxVideoInfo *vpx_video_reader_get_info(VpxVideoReader *reader);
} // extern "C"
#endif
-#endif // VIDEO_READER_H_
+#endif // VPX_VIDEO_READER_H_
diff --git a/video_writer.h b/video_writer.h
index a769811c4..b4d242b92 100644
--- a/video_writer.h
+++ b/video_writer.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VIDEO_WRITER_H_
-#define VIDEO_WRITER_H_
+#ifndef VPX_VIDEO_WRITER_H_
+#define VPX_VIDEO_WRITER_H_
#include "./video_common.h"
@@ -41,4 +41,4 @@ int vpx_video_writer_write_frame(VpxVideoWriter *writer, const uint8_t *buffer,
} // extern "C"
#endif
-#endif // VIDEO_WRITER_H_
+#endif // VPX_VIDEO_WRITER_H_
diff --git a/vp8/common/alloccommon.h b/vp8/common/alloccommon.h
index 5d0840c67..517d73085 100644
--- a/vp8/common/alloccommon.h
+++ b/vp8/common/alloccommon.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_COMMON_ALLOCCOMMON_H_
-#define VP8_COMMON_ALLOCCOMMON_H_
+#ifndef VPX_VP8_COMMON_ALLOCCOMMON_H_
+#define VPX_VP8_COMMON_ALLOCCOMMON_H_
#include "onyxc_int.h"
@@ -27,4 +27,4 @@ void vp8_setup_version(VP8_COMMON *oci);
} // extern "C"
#endif
-#endif // VP8_COMMON_ALLOCCOMMON_H_
+#endif // VPX_VP8_COMMON_ALLOCCOMMON_H_
diff --git a/vp8/common/blockd.h b/vp8/common/blockd.h
index ddcc307eb..22af8980b 100644
--- a/vp8/common/blockd.h
+++ b/vp8/common/blockd.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_COMMON_BLOCKD_H_
-#define VP8_COMMON_BLOCKD_H_
+#ifndef VPX_VP8_COMMON_BLOCKD_H_
+#define VPX_VP8_COMMON_BLOCKD_H_
void vpx_log(const char *format, ...);
@@ -304,4 +304,4 @@ extern void vp8_setup_block_dptrs(MACROBLOCKD *x);
} // extern "C"
#endif
-#endif // VP8_COMMON_BLOCKD_H_
+#endif // VPX_VP8_COMMON_BLOCKD_H_
diff --git a/vp8/common/coefupdateprobs.h b/vp8/common/coefupdateprobs.h
index 9b01bba31..b342096b5 100644
--- a/vp8/common/coefupdateprobs.h
+++ b/vp8/common/coefupdateprobs.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_COMMON_COEFUPDATEPROBS_H_
-#define VP8_COMMON_COEFUPDATEPROBS_H_
+#ifndef VPX_VP8_COMMON_COEFUPDATEPROBS_H_
+#define VPX_VP8_COMMON_COEFUPDATEPROBS_H_
#ifdef __cplusplus
extern "C" {
@@ -194,4 +194,4 @@ const vp8_prob vp8_coef_update_probs
} // extern "C"
#endif
-#endif // VP8_COMMON_COEFUPDATEPROBS_H_
+#endif // VPX_VP8_COMMON_COEFUPDATEPROBS_H_
diff --git a/vp8/common/common.h b/vp8/common/common.h
index bbfc4f393..8593e822b 100644
--- a/vp8/common/common.h
+++ b/vp8/common/common.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_COMMON_COMMON_H_
-#define VP8_COMMON_COMMON_H_
+#ifndef VPX_VP8_COMMON_COMMON_H_
+#define VPX_VP8_COMMON_COMMON_H_
#include <assert.h>
@@ -45,4 +45,4 @@ extern "C" {
} // extern "C"
#endif
-#endif // VP8_COMMON_COMMON_H_
+#endif // VPX_VP8_COMMON_COMMON_H_
diff --git a/vp8/common/default_coef_probs.h b/vp8/common/default_coef_probs.h
index f3f54f6a2..b25e4a45a 100644
--- a/vp8/common/default_coef_probs.h
+++ b/vp8/common/default_coef_probs.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_COMMON_DEFAULT_COEF_PROBS_H_
-#define VP8_COMMON_DEFAULT_COEF_PROBS_H_
+#ifndef VPX_VP8_COMMON_DEFAULT_COEF_PROBS_H_
+#define VPX_VP8_COMMON_DEFAULT_COEF_PROBS_H_
#ifdef __cplusplus
extern "C" {
@@ -157,4 +157,4 @@ static const vp8_prob default_coef_probs
} // extern "C"
#endif
-#endif // VP8_COMMON_DEFAULT_COEF_PROBS_H_
+#endif // VPX_VP8_COMMON_DEFAULT_COEF_PROBS_H_
diff --git a/vp8/common/entropy.h b/vp8/common/entropy.h
index d08856001..fbdb7bcfc 100644
--- a/vp8/common/entropy.h
+++ b/vp8/common/entropy.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_COMMON_ENTROPY_H_
-#define VP8_COMMON_ENTROPY_H_
+#ifndef VPX_VP8_COMMON_ENTROPY_H_
+#define VPX_VP8_COMMON_ENTROPY_H_
#include "treecoder.h"
#include "blockd.h"
@@ -105,4 +105,4 @@ void vp8_coef_tree_initialize(void);
} // extern "C"
#endif
-#endif // VP8_COMMON_ENTROPY_H_
+#endif // VPX_VP8_COMMON_ENTROPY_H_
diff --git a/vp8/common/entropymode.h b/vp8/common/entropymode.h
index b3fad19be..c772cece5 100644
--- a/vp8/common/entropymode.h
+++ b/vp8/common/entropymode.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_COMMON_ENTROPYMODE_H_
-#define VP8_COMMON_ENTROPYMODE_H_
+#ifndef VPX_VP8_COMMON_ENTROPYMODE_H_
+#define VPX_VP8_COMMON_ENTROPYMODE_H_
#include "onyxc_int.h"
#include "treecoder.h"
@@ -85,4 +85,4 @@ void vp8_kf_default_bmode_probs(
} // extern "C"
#endif
-#endif // VP8_COMMON_ENTROPYMODE_H_
+#endif // VPX_VP8_COMMON_ENTROPYMODE_H_
diff --git a/vp8/common/entropymv.h b/vp8/common/entropymv.h
index 637300090..40039f5b2 100644
--- a/vp8/common/entropymv.h
+++ b/vp8/common/entropymv.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_COMMON_ENTROPYMV_H_
-#define VP8_COMMON_ENTROPYMV_H_
+#ifndef VPX_VP8_COMMON_ENTROPYMV_H_
+#define VPX_VP8_COMMON_ENTROPYMV_H_
#include "treecoder.h"
@@ -46,4 +46,4 @@ extern const MV_CONTEXT vp8_mv_update_probs[2], vp8_default_mv_context[2];
} // extern "C"
#endif
-#endif // VP8_COMMON_ENTROPYMV_H_
+#endif // VPX_VP8_COMMON_ENTROPYMV_H_
diff --git a/vp8/common/extend.h b/vp8/common/extend.h
index 7da5ce31d..586a38a4f 100644
--- a/vp8/common/extend.h
+++ b/vp8/common/extend.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_COMMON_EXTEND_H_
-#define VP8_COMMON_EXTEND_H_
+#ifndef VPX_VP8_COMMON_EXTEND_H_
+#define VPX_VP8_COMMON_EXTEND_H_
#include "vpx_scale/yv12config.h"
@@ -29,4 +29,4 @@ void vp8_copy_and_extend_frame_with_rect(YV12_BUFFER_CONFIG *src,
} // extern "C"
#endif
-#endif // VP8_COMMON_EXTEND_H_
+#endif // VPX_VP8_COMMON_EXTEND_H_
diff --git a/vp8/common/filter.h b/vp8/common/filter.h
index f1d5ece4a..6acee22b2 100644
--- a/vp8/common/filter.h
+++ b/vp8/common/filter.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_COMMON_FILTER_H_
-#define VP8_COMMON_FILTER_H_
+#ifndef VPX_VP8_COMMON_FILTER_H_
+#define VPX_VP8_COMMON_FILTER_H_
#include "vpx_ports/mem.h"
@@ -28,4 +28,4 @@ extern DECLARE_ALIGNED(16, const short, vp8_sub_pel_filters[8][6]);
} // extern "C"
#endif
-#endif // VP8_COMMON_FILTER_H_
+#endif // VPX_VP8_COMMON_FILTER_H_
diff --git a/vp8/common/findnearmv.h b/vp8/common/findnearmv.h
index c1eaa2698..9bb6c2e9f 100644
--- a/vp8/common/findnearmv.h
+++ b/vp8/common/findnearmv.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_COMMON_FINDNEARMV_H_
-#define VP8_COMMON_FINDNEARMV_H_
+#ifndef VPX_VP8_COMMON_FINDNEARMV_H_
+#define VPX_VP8_COMMON_FINDNEARMV_H_
#include "./vpx_config.h"
#include "mv.h"
@@ -148,4 +148,4 @@ static INLINE B_PREDICTION_MODE above_block_mode(const MODE_INFO *cur_mb, int b,
} // extern "C"
#endif
-#endif // VP8_COMMON_FINDNEARMV_H_
+#endif // VPX_VP8_COMMON_FINDNEARMV_H_
diff --git a/vp8/common/header.h b/vp8/common/header.h
index 1df01fc6f..e64e24190 100644
--- a/vp8/common/header.h
+++ b/vp8/common/header.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_COMMON_HEADER_H_
-#define VP8_COMMON_HEADER_H_
+#ifndef VPX_VP8_COMMON_HEADER_H_
+#define VPX_VP8_COMMON_HEADER_H_
#ifdef __cplusplus
extern "C" {
@@ -45,4 +45,4 @@ typedef struct {
} // extern "C"
#endif
-#endif // VP8_COMMON_HEADER_H_
+#endif // VPX_VP8_COMMON_HEADER_H_
diff --git a/vp8/common/invtrans.h b/vp8/common/invtrans.h
index c7af32fb6..aed7bb060 100644
--- a/vp8/common/invtrans.h
+++ b/vp8/common/invtrans.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_COMMON_INVTRANS_H_
-#define VP8_COMMON_INVTRANS_H_
+#ifndef VPX_VP8_COMMON_INVTRANS_H_
+#define VPX_VP8_COMMON_INVTRANS_H_
#include "./vpx_config.h"
#include "vp8_rtcd.h"
@@ -54,4 +54,4 @@ static INLINE void vp8_inverse_transform_mby(MACROBLOCKD *xd) {
} // extern "C"
#endif
-#endif // VP8_COMMON_INVTRANS_H_
+#endif // VPX_VP8_COMMON_INVTRANS_H_
diff --git a/vp8/common/loopfilter.h b/vp8/common/loopfilter.h
index 7484563e0..0733046e5 100644
--- a/vp8/common/loopfilter.h
+++ b/vp8/common/loopfilter.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_COMMON_LOOPFILTER_H_
-#define VP8_COMMON_LOOPFILTER_H_
+#ifndef VPX_VP8_COMMON_LOOPFILTER_H_
+#define VPX_VP8_COMMON_LOOPFILTER_H_
#include "vpx_ports/mem.h"
#include "vpx_config.h"
@@ -100,4 +100,4 @@ void vp8_loop_filter_row_simple(struct VP8Common *cm,
} // extern "C"
#endif
-#endif // VP8_COMMON_LOOPFILTER_H_
+#endif // VPX_VP8_COMMON_LOOPFILTER_H_
diff --git a/vp8/common/mips/msa/vp8_macros_msa.h b/vp8/common/mips/msa/vp8_macros_msa.h
index 6bec3adec..14f83799f 100644
--- a/vp8/common/mips/msa/vp8_macros_msa.h
+++ b/vp8/common/mips/msa/vp8_macros_msa.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_COMMON_MIPS_MSA_VP8_MACROS_MSA_H_
-#define VP8_COMMON_MIPS_MSA_VP8_MACROS_MSA_H_
+#ifndef VPX_VP8_COMMON_MIPS_MSA_VP8_MACROS_MSA_H_
+#define VPX_VP8_COMMON_MIPS_MSA_VP8_MACROS_MSA_H_
#include <msa.h>
@@ -1757,4 +1757,4 @@
\
tmp1_m; \
})
-#endif /* VP8_COMMON_MIPS_MSA_VP8_MACROS_MSA_H_ */
+#endif // VPX_VP8_COMMON_MIPS_MSA_VP8_MACROS_MSA_H_
diff --git a/vp8/common/modecont.h b/vp8/common/modecont.h
index b58c7dc2d..031f74f2f 100644
--- a/vp8/common/modecont.h
+++ b/vp8/common/modecont.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_COMMON_MODECONT_H_
-#define VP8_COMMON_MODECONT_H_
+#ifndef VPX_VP8_COMMON_MODECONT_H_
+#define VPX_VP8_COMMON_MODECONT_H_
#ifdef __cplusplus
extern "C" {
@@ -21,4 +21,4 @@ extern const int vp8_mode_contexts[6][4];
} // extern "C"
#endif
-#endif // VP8_COMMON_MODECONT_H_
+#endif // VPX_VP8_COMMON_MODECONT_H_
diff --git a/vp8/common/mv.h b/vp8/common/mv.h
index b6d2147af..4cde12f20 100644
--- a/vp8/common/mv.h
+++ b/vp8/common/mv.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_COMMON_MV_H_
-#define VP8_COMMON_MV_H_
+#ifndef VPX_VP8_COMMON_MV_H_
+#define VPX_VP8_COMMON_MV_H_
#include "vpx/vpx_integer.h"
#ifdef __cplusplus
@@ -30,4 +30,4 @@ typedef union int_mv {
} // extern "C"
#endif
-#endif // VP8_COMMON_MV_H_
+#endif // VPX_VP8_COMMON_MV_H_
diff --git a/vp8/common/onyx.h b/vp8/common/onyx.h
index 72fba2ec5..ebdabc9b2 100644
--- a/vp8/common/onyx.h
+++ b/vp8/common/onyx.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_COMMON_ONYX_H_
-#define VP8_COMMON_ONYX_H_
+#ifndef VPX_VP8_COMMON_ONYX_H_
+#define VPX_VP8_COMMON_ONYX_H_
#ifdef __cplusplus
extern "C" {
@@ -281,4 +281,4 @@ int vp8_get_quantizer(struct VP8_COMP *c);
}
#endif
-#endif // VP8_COMMON_ONYX_H_
+#endif // VPX_VP8_COMMON_ONYX_H_
diff --git a/vp8/common/onyxc_int.h b/vp8/common/onyxc_int.h
index 9a12c7fb6..ef8d00762 100644
--- a/vp8/common/onyxc_int.h
+++ b/vp8/common/onyxc_int.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_COMMON_ONYXC_INT_H_
-#define VP8_COMMON_ONYXC_INT_H_
+#ifndef VPX_VP8_COMMON_ONYXC_INT_H_
+#define VPX_VP8_COMMON_ONYXC_INT_H_
#include "vpx_config.h"
#include "vp8_rtcd.h"
@@ -174,4 +174,4 @@ typedef struct VP8Common {
} // extern "C"
#endif
-#endif // VP8_COMMON_ONYXC_INT_H_
+#endif // VPX_VP8_COMMON_ONYXC_INT_H_
diff --git a/vp8/common/onyxd.h b/vp8/common/onyxd.h
index d3c1b0e97..49f524bb3 100644
--- a/vp8/common/onyxd.h
+++ b/vp8/common/onyxd.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_COMMON_ONYXD_H_
-#define VP8_COMMON_ONYXD_H_
+#ifndef VPX_VP8_COMMON_ONYXD_H_
+#define VPX_VP8_COMMON_ONYXD_H_
/* Create/destroy static data structures. */
#ifdef __cplusplus
@@ -60,4 +60,4 @@ int vp8dx_get_quantizer(const struct VP8D_COMP *c);
}
#endif
-#endif // VP8_COMMON_ONYXD_H_
+#endif // VPX_VP8_COMMON_ONYXD_H_
diff --git a/vp8/common/postproc.h b/vp8/common/postproc.h
index 7be112b16..218a68ea3 100644
--- a/vp8/common/postproc.h
+++ b/vp8/common/postproc.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_COMMON_POSTPROC_H_
-#define VP8_COMMON_POSTPROC_H_
+#ifndef VPX_VP8_COMMON_POSTPROC_H_
+#define VPX_VP8_COMMON_POSTPROC_H_
#include "vpx_ports/mem.h"
struct postproc_state {
@@ -43,4 +43,4 @@ void vp8_multiframe_quality_enhance(struct VP8Common *cm);
} // extern "C"
#endif
-#endif // VP8_COMMON_POSTPROC_H_
+#endif // VPX_VP8_COMMON_POSTPROC_H_
diff --git a/vp8/common/ppflags.h b/vp8/common/ppflags.h
index 96e3af6c9..bdf08734b 100644
--- a/vp8/common/ppflags.h
+++ b/vp8/common/ppflags.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_COMMON_PPFLAGS_H_
-#define VP8_COMMON_PPFLAGS_H_
+#ifndef VPX_VP8_COMMON_PPFLAGS_H_
+#define VPX_VP8_COMMON_PPFLAGS_H_
#ifdef __cplusplus
extern "C" {
@@ -36,4 +36,4 @@ typedef struct {
} // extern "C"
#endif
-#endif // VP8_COMMON_PPFLAGS_H_
+#endif // VPX_VP8_COMMON_PPFLAGS_H_
diff --git a/vp8/common/quant_common.h b/vp8/common/quant_common.h
index ff4203df8..049840a27 100644
--- a/vp8/common/quant_common.h
+++ b/vp8/common/quant_common.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_COMMON_QUANT_COMMON_H_
-#define VP8_COMMON_QUANT_COMMON_H_
+#ifndef VPX_VP8_COMMON_QUANT_COMMON_H_
+#define VPX_VP8_COMMON_QUANT_COMMON_H_
#include "string.h"
#include "blockd.h"
@@ -30,4 +30,4 @@ extern int vp8_ac_uv_quant(int QIndex, int Delta);
} // extern "C"
#endif
-#endif // VP8_COMMON_QUANT_COMMON_H_
+#endif // VPX_VP8_COMMON_QUANT_COMMON_H_
diff --git a/vp8/common/reconinter.h b/vp8/common/reconinter.h
index 4cdd4fee0..394badb44 100644
--- a/vp8/common/reconinter.h
+++ b/vp8/common/reconinter.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_COMMON_RECONINTER_H_
-#define VP8_COMMON_RECONINTER_H_
+#ifndef VPX_VP8_COMMON_RECONINTER_H_
+#define VPX_VP8_COMMON_RECONINTER_H_
#ifdef __cplusplus
extern "C" {
@@ -34,4 +34,4 @@ extern void vp8_build_inter4x4_predictors_mbuv(MACROBLOCKD *x);
} // extern "C"
#endif
-#endif // VP8_COMMON_RECONINTER_H_
+#endif // VPX_VP8_COMMON_RECONINTER_H_
diff --git a/vp8/common/reconintra.h b/vp8/common/reconintra.h
index fd7c725f3..029ac00a2 100644
--- a/vp8/common/reconintra.h
+++ b/vp8/common/reconintra.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_COMMON_RECONINTRA_H_
-#define VP8_COMMON_RECONINTRA_H_
+#ifndef VPX_VP8_COMMON_RECONINTRA_H_
+#define VPX_VP8_COMMON_RECONINTRA_H_
#include "vp8/common/blockd.h"
@@ -32,4 +32,4 @@ void vp8_init_intra_predictors(void);
} // extern "C"
#endif
-#endif // VP8_COMMON_RECONINTRA_H_
+#endif // VPX_VP8_COMMON_RECONINTRA_H_
diff --git a/vp8/common/reconintra4x4.h b/vp8/common/reconintra4x4.h
index e17fc58c0..9bcd99386 100644
--- a/vp8/common/reconintra4x4.h
+++ b/vp8/common/reconintra4x4.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_COMMON_RECONINTRA4X4_H_
-#define VP8_COMMON_RECONINTRA4X4_H_
+#ifndef VPX_VP8_COMMON_RECONINTRA4X4_H_
+#define VPX_VP8_COMMON_RECONINTRA4X4_H_
#include "vp8/common/blockd.h"
#ifdef __cplusplus
@@ -42,4 +42,4 @@ void vp8_init_intra4x4_predictors_internal(void);
} // extern "C"
#endif
-#endif // VP8_COMMON_RECONINTRA4X4_H_
+#endif // VPX_VP8_COMMON_RECONINTRA4X4_H_
diff --git a/vp8/common/setupintrarecon.h b/vp8/common/setupintrarecon.h
index f3ffa1660..903a536ae 100644
--- a/vp8/common/setupintrarecon.h
+++ b/vp8/common/setupintrarecon.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_COMMON_SETUPINTRARECON_H_
-#define VP8_COMMON_SETUPINTRARECON_H_
+#ifndef VPX_VP8_COMMON_SETUPINTRARECON_H_
+#define VPX_VP8_COMMON_SETUPINTRARECON_H_
#include "./vpx_config.h"
#include "vpx_scale/yv12config.h"
@@ -37,4 +37,4 @@ static INLINE void setup_intra_recon_left(unsigned char *y_buffer,
} // extern "C"
#endif
-#endif // VP8_COMMON_SETUPINTRARECON_H_
+#endif // VPX_VP8_COMMON_SETUPINTRARECON_H_
diff --git a/vp8/common/swapyv12buffer.h b/vp8/common/swapyv12buffer.h
index 0ee9a52ce..e37c471f6 100644
--- a/vp8/common/swapyv12buffer.h
+++ b/vp8/common/swapyv12buffer.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_COMMON_SWAPYV12BUFFER_H_
-#define VP8_COMMON_SWAPYV12BUFFER_H_
+#ifndef VPX_VP8_COMMON_SWAPYV12BUFFER_H_
+#define VPX_VP8_COMMON_SWAPYV12BUFFER_H_
#include "vpx_scale/yv12config.h"
@@ -24,4 +24,4 @@ void vp8_swap_yv12_buffer(YV12_BUFFER_CONFIG *new_frame,
} // extern "C"
#endif
-#endif // VP8_COMMON_SWAPYV12BUFFER_H_
+#endif // VPX_VP8_COMMON_SWAPYV12BUFFER_H_
diff --git a/vp8/common/systemdependent.h b/vp8/common/systemdependent.h
index 3d44e37cf..83a5513aa 100644
--- a/vp8/common/systemdependent.h
+++ b/vp8/common/systemdependent.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_COMMON_SYSTEMDEPENDENT_H_
-#define VP8_COMMON_SYSTEMDEPENDENT_H_
+#ifndef VPX_VP8_COMMON_SYSTEMDEPENDENT_H_
+#define VPX_VP8_COMMON_SYSTEMDEPENDENT_H_
#include "vpx_config.h"
@@ -24,4 +24,4 @@ void vp8_machine_specific_config(struct VP8Common *);
} // extern "C"
#endif
-#endif // VP8_COMMON_SYSTEMDEPENDENT_H_
+#endif // VPX_VP8_COMMON_SYSTEMDEPENDENT_H_
diff --git a/vp8/common/threading.h b/vp8/common/threading.h
index b082bf109..58b901372 100644
--- a/vp8/common/threading.h
+++ b/vp8/common/threading.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_COMMON_THREADING_H_
-#define VP8_COMMON_THREADING_H_
+#ifndef VPX_VP8_COMMON_THREADING_H_
+#define VPX_VP8_COMMON_THREADING_H_
#include "./vpx_config.h"
@@ -209,4 +209,4 @@ static INLINE void vp8_atomic_spin_wait(
} // extern "C"
#endif
-#endif // VP8_COMMON_THREADING_H_
+#endif // VPX_VP8_COMMON_THREADING_H_
diff --git a/vp8/common/treecoder.h b/vp8/common/treecoder.h
index d8503cf3f..00b1e7b24 100644
--- a/vp8/common/treecoder.h
+++ b/vp8/common/treecoder.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_COMMON_TREECODER_H_
-#define VP8_COMMON_TREECODER_H_
+#ifndef VPX_VP8_COMMON_TREECODER_H_
+#define VPX_VP8_COMMON_TREECODER_H_
#ifdef __cplusplus
extern "C" {
@@ -79,4 +79,4 @@ void vp8bc_tree_probs_from_distribution(int n, /* n = size of alphabet */
} // extern "C"
#endif
-#endif // VP8_COMMON_TREECODER_H_
+#endif // VPX_VP8_COMMON_TREECODER_H_
diff --git a/vp8/common/vp8_entropymodedata.h b/vp8/common/vp8_entropymodedata.h
index 3696c08dc..3fc942e05 100644
--- a/vp8/common/vp8_entropymodedata.h
+++ b/vp8/common/vp8_entropymodedata.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_COMMON_VP8_ENTROPYMODEDATA_H_
-#define VP8_COMMON_VP8_ENTROPYMODEDATA_H_
+#ifndef VPX_VP8_COMMON_VP8_ENTROPYMODEDATA_H_
+#define VPX_VP8_COMMON_VP8_ENTROPYMODEDATA_H_
#ifdef __cplusplus
extern "C" {
@@ -169,4 +169,4 @@ const vp8_prob
} // extern "C"
#endif
-#endif // VP8_COMMON_VP8_ENTROPYMODEDATA_H_
+#endif // VPX_VP8_COMMON_VP8_ENTROPYMODEDATA_H_
diff --git a/vp8/common/vp8_skin_detection.h b/vp8/common/vp8_skin_detection.h
index 4d27f5eb2..ef0e4ae4f 100644
--- a/vp8/common/vp8_skin_detection.h
+++ b/vp8/common/vp8_skin_detection.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_COMMON_SKIN_DETECTION_H_
-#define VP8_COMMON_SKIN_DETECTION_H_
+#ifndef VPX_VP8_COMMON_VP8_SKIN_DETECTION_H_
+#define VPX_VP8_COMMON_VP8_SKIN_DETECTION_H_
#include "vp8/encoder/onyx_int.h"
#include "vpx/vpx_integer.h"
@@ -44,4 +44,4 @@ void vp8_compute_skin_map(struct VP8_COMP *const cpi, FILE *yuv_skinmap_file);
} // extern "C"
#endif
-#endif // VP8_COMMON_SKIN_DETECTION_H_
+#endif // VPX_VP8_COMMON_VP8_SKIN_DETECTION_H_
diff --git a/vp8/common/x86/filter_x86.h b/vp8/common/x86/filter_x86.h
index d282841be..570ff8666 100644
--- a/vp8/common/x86/filter_x86.h
+++ b/vp8/common/x86/filter_x86.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_COMMON_X86_FILTER_X86_H_
-#define VP8_COMMON_X86_FILTER_X86_H_
+#ifndef VPX_VP8_COMMON_X86_FILTER_X86_H_
+#define VPX_VP8_COMMON_X86_FILTER_X86_H_
#include "vpx_ports/mem.h"
@@ -30,4 +30,4 @@ extern DECLARE_ALIGNED(16, const short, vp8_bilinear_filters_x86_8[8][16]);
} // extern "C"
#endif
-#endif // VP8_COMMON_X86_FILTER_X86_H_
+#endif // VPX_VP8_COMMON_X86_FILTER_X86_H_
diff --git a/vp8/decoder/dboolhuff.h b/vp8/decoder/dboolhuff.h
index 9c529f266..e342d7c5c 100644
--- a/vp8/decoder/dboolhuff.h
+++ b/vp8/decoder/dboolhuff.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_DECODER_DBOOLHUFF_H_
-#define VP8_DECODER_DBOOLHUFF_H_
+#ifndef VPX_VP8_DECODER_DBOOLHUFF_H_
+#define VPX_VP8_DECODER_DBOOLHUFF_H_
#include <stddef.h>
#include <limits.h>
@@ -127,4 +127,4 @@ static INLINE int vp8dx_bool_error(BOOL_DECODER *br) {
} // extern "C"
#endif
-#endif // VP8_DECODER_DBOOLHUFF_H_
+#endif // VPX_VP8_DECODER_DBOOLHUFF_H_
diff --git a/vp8/decoder/decodemv.h b/vp8/decoder/decodemv.h
index f33b07351..504e943d8 100644
--- a/vp8/decoder/decodemv.h
+++ b/vp8/decoder/decodemv.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_DECODER_DECODEMV_H_
-#define VP8_DECODER_DECODEMV_H_
+#ifndef VPX_VP8_DECODER_DECODEMV_H_
+#define VPX_VP8_DECODER_DECODEMV_H_
#include "onyxd_int.h"
@@ -23,4 +23,4 @@ void vp8_decode_mode_mvs(VP8D_COMP *);
} // extern "C"
#endif
-#endif // VP8_DECODER_DECODEMV_H_
+#endif // VPX_VP8_DECODER_DECODEMV_H_
diff --git a/vp8/decoder/decoderthreading.h b/vp8/decoder/decoderthreading.h
index c563cf6e9..140295625 100644
--- a/vp8/decoder/decoderthreading.h
+++ b/vp8/decoder/decoderthreading.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_DECODER_DECODERTHREADING_H_
-#define VP8_DECODER_DECODERTHREADING_H_
+#ifndef VPX_VP8_DECODER_DECODERTHREADING_H_
+#define VPX_VP8_DECODER_DECODERTHREADING_H_
#ifdef __cplusplus
extern "C" {
@@ -27,4 +27,4 @@ void vp8mt_de_alloc_temp_buffers(VP8D_COMP *pbi, int mb_rows);
} // extern "C"
#endif
-#endif // VP8_DECODER_DECODERTHREADING_H_
+#endif // VPX_VP8_DECODER_DECODERTHREADING_H_
diff --git a/vp8/decoder/detokenize.h b/vp8/decoder/detokenize.h
index f0b125444..410a431ba 100644
--- a/vp8/decoder/detokenize.h
+++ b/vp8/decoder/detokenize.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_DECODER_DETOKENIZE_H_
-#define VP8_DECODER_DETOKENIZE_H_
+#ifndef VPX_VP8_DECODER_DETOKENIZE_H_
+#define VPX_VP8_DECODER_DETOKENIZE_H_
#include "onyxd_int.h"
@@ -24,4 +24,4 @@ int vp8_decode_mb_tokens(VP8D_COMP *, MACROBLOCKD *);
} // extern "C"
#endif
-#endif // VP8_DECODER_DETOKENIZE_H_
+#endif // VPX_VP8_DECODER_DETOKENIZE_H_
diff --git a/vp8/decoder/ec_types.h b/vp8/decoder/ec_types.h
index 8da561f47..84feb269d 100644
--- a/vp8/decoder/ec_types.h
+++ b/vp8/decoder/ec_types.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_DECODER_EC_TYPES_H_
-#define VP8_DECODER_EC_TYPES_H_
+#ifndef VPX_VP8_DECODER_EC_TYPES_H_
+#define VPX_VP8_DECODER_EC_TYPES_H_
#ifdef __cplusplus
extern "C" {
@@ -50,4 +50,4 @@ typedef struct {
} // extern "C"
#endif
-#endif // VP8_DECODER_EC_TYPES_H_
+#endif // VPX_VP8_DECODER_EC_TYPES_H_
diff --git a/vp8/decoder/error_concealment.h b/vp8/decoder/error_concealment.h
index 89c78c144..608a79f18 100644
--- a/vp8/decoder/error_concealment.h
+++ b/vp8/decoder/error_concealment.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_DECODER_ERROR_CONCEALMENT_H_
-#define VP8_DECODER_ERROR_CONCEALMENT_H_
+#ifndef VPX_VP8_DECODER_ERROR_CONCEALMENT_H_
+#define VPX_VP8_DECODER_ERROR_CONCEALMENT_H_
#include "onyxd_int.h"
#include "ec_types.h"
@@ -38,4 +38,4 @@ void vp8_interpolate_motion(MACROBLOCKD *mb, int mb_row, int mb_col,
} // extern "C"
#endif
-#endif // VP8_DECODER_ERROR_CONCEALMENT_H_
+#endif // VPX_VP8_DECODER_ERROR_CONCEALMENT_H_
diff --git a/vp8/decoder/onyxd_int.h b/vp8/decoder/onyxd_int.h
index 3689258f1..bdf990c6d 100644
--- a/vp8/decoder/onyxd_int.h
+++ b/vp8/decoder/onyxd_int.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_DECODER_ONYXD_INT_H_
-#define VP8_DECODER_ONYXD_INT_H_
+#ifndef VPX_VP8_DECODER_ONYXD_INT_H_
+#define VPX_VP8_DECODER_ONYXD_INT_H_
#include "vpx_config.h"
#include "vp8/common/onyxd.h"
@@ -150,4 +150,4 @@ int vp8_remove_decoder_instances(struct frame_buffers *fb);
} // extern "C"
#endif
-#endif // VP8_DECODER_ONYXD_INT_H_
+#endif // VPX_VP8_DECODER_ONYXD_INT_H_
diff --git a/vp8/decoder/treereader.h b/vp8/decoder/treereader.h
index dd0f0986e..1e27f29fd 100644
--- a/vp8/decoder/treereader.h
+++ b/vp8/decoder/treereader.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_DECODER_TREEREADER_H_
-#define VP8_DECODER_TREEREADER_H_
+#ifndef VPX_VP8_DECODER_TREEREADER_H_
+#define VPX_VP8_DECODER_TREEREADER_H_
#include "./vpx_config.h"
#include "vp8/common/treecoder.h"
@@ -42,4 +42,4 @@ static INLINE int vp8_treed_read(
} // extern "C"
#endif
-#endif // VP8_DECODER_TREEREADER_H_
+#endif // VPX_VP8_DECODER_TREEREADER_H_
diff --git a/vp8/encoder/bitstream.h b/vp8/encoder/bitstream.h
index ed45bff9e..ee3f3e4aa 100644
--- a/vp8/encoder/bitstream.h
+++ b/vp8/encoder/bitstream.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_ENCODER_BITSTREAM_H_
-#define VP8_ENCODER_BITSTREAM_H_
+#ifndef VPX_VP8_ENCODER_BITSTREAM_H_
+#define VPX_VP8_ENCODER_BITSTREAM_H_
#ifdef __cplusplus
extern "C" {
@@ -29,4 +29,4 @@ void vp8_update_coef_probs(struct VP8_COMP *cpi);
} // extern "C"
#endif
-#endif // VP8_ENCODER_BITSTREAM_H_
+#endif // VPX_VP8_ENCODER_BITSTREAM_H_
diff --git a/vp8/encoder/block.h b/vp8/encoder/block.h
index 492af0e41..1bc5ef75b 100644
--- a/vp8/encoder/block.h
+++ b/vp8/encoder/block.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_ENCODER_BLOCK_H_
-#define VP8_ENCODER_BLOCK_H_
+#ifndef VPX_VP8_ENCODER_BLOCK_H_
+#define VPX_VP8_ENCODER_BLOCK_H_
#include "vp8/common/onyx.h"
#include "vp8/common/blockd.h"
@@ -165,4 +165,4 @@ typedef struct macroblock {
} // extern "C"
#endif
-#endif // VP8_ENCODER_BLOCK_H_
+#endif // VPX_VP8_ENCODER_BLOCK_H_
diff --git a/vp8/encoder/boolhuff.h b/vp8/encoder/boolhuff.h
index 3c5775f09..2cf62def1 100644
--- a/vp8/encoder/boolhuff.h
+++ b/vp8/encoder/boolhuff.h
@@ -15,8 +15,8 @@
* Description : Bool Coder header file.
*
****************************************************************************/
-#ifndef VP8_ENCODER_BOOLHUFF_H_
-#define VP8_ENCODER_BOOLHUFF_H_
+#ifndef VPX_VP8_ENCODER_BOOLHUFF_H_
+#define VPX_VP8_ENCODER_BOOLHUFF_H_
#include "vpx_ports/mem.h"
#include "vpx/internal/vpx_codec_internal.h"
@@ -121,4 +121,4 @@ static void vp8_encode_bool(BOOL_CODER *br, int bit, int probability) {
} // extern "C"
#endif
-#endif // VP8_ENCODER_BOOLHUFF_H_
+#endif // VPX_VP8_ENCODER_BOOLHUFF_H_
diff --git a/vp8/encoder/dct_value_cost.h b/vp8/encoder/dct_value_cost.h
index 278dce73f..0cd6cb4e6 100644
--- a/vp8/encoder/dct_value_cost.h
+++ b/vp8/encoder/dct_value_cost.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_ENCODER_DCT_VALUE_COST_H_
-#define VP8_ENCODER_DCT_VALUE_COST_H_
+#ifndef VPX_VP8_ENCODER_DCT_VALUE_COST_H_
+#define VPX_VP8_ENCODER_DCT_VALUE_COST_H_
#ifdef __cplusplus
extern "C" {
@@ -341,4 +341,4 @@ static const short dct_value_cost[2048 * 2] = {
} // extern "C"
#endif
-#endif // VP8_ENCODER_DCT_VALUE_COST_H_
+#endif // VPX_VP8_ENCODER_DCT_VALUE_COST_H_
diff --git a/vp8/encoder/dct_value_tokens.h b/vp8/encoder/dct_value_tokens.h
index 0597deab2..5cc4505f0 100644
--- a/vp8/encoder/dct_value_tokens.h
+++ b/vp8/encoder/dct_value_tokens.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_ENCODER_DCT_VALUE_TOKENS_H_
-#define VP8_ENCODER_DCT_VALUE_TOKENS_H_
+#ifndef VPX_VP8_ENCODER_DCT_VALUE_TOKENS_H_
+#define VPX_VP8_ENCODER_DCT_VALUE_TOKENS_H_
#ifdef __cplusplus
extern "C" {
@@ -845,4 +845,4 @@ static const TOKENVALUE dct_value_tokens[2048 * 2] = {
} // extern "C"
#endif
-#endif // VP8_ENCODER_DCT_VALUE_TOKENS_H_
+#endif // VPX_VP8_ENCODER_DCT_VALUE_TOKENS_H_
diff --git a/vp8/encoder/defaultcoefcounts.h b/vp8/encoder/defaultcoefcounts.h
index 2976325dc..a3ab34c8a 100644
--- a/vp8/encoder/defaultcoefcounts.h
+++ b/vp8/encoder/defaultcoefcounts.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_ENCODER_DEFAULTCOEFCOUNTS_H_
-#define VP8_ENCODER_DEFAULTCOEFCOUNTS_H_
+#ifndef VPX_VP8_ENCODER_DEFAULTCOEFCOUNTS_H_
+#define VPX_VP8_ENCODER_DEFAULTCOEFCOUNTS_H_
#ifdef __cplusplus
extern "C" {
@@ -232,4 +232,4 @@ static const unsigned int default_coef_counts
} // extern "C"
#endif
-#endif // VP8_ENCODER_DEFAULTCOEFCOUNTS_H_
+#endif // VPX_VP8_ENCODER_DEFAULTCOEFCOUNTS_H_
diff --git a/vp8/encoder/denoising.h b/vp8/encoder/denoising.h
index 91d87b3a1..51ae3b0ab 100644
--- a/vp8/encoder/denoising.h
+++ b/vp8/encoder/denoising.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_ENCODER_DENOISING_H_
-#define VP8_ENCODER_DENOISING_H_
+#ifndef VPX_VP8_ENCODER_DENOISING_H_
+#define VPX_VP8_ENCODER_DENOISING_H_
#include "block.h"
#include "vp8/common/loopfilter.h"
@@ -100,4 +100,4 @@ void vp8_denoiser_denoise_mb(VP8_DENOISER *denoiser, MACROBLOCK *x,
} // extern "C"
#endif
-#endif // VP8_ENCODER_DENOISING_H_
+#endif // VPX_VP8_ENCODER_DENOISING_H_
diff --git a/vp8/encoder/encodeframe.h b/vp8/encoder/encodeframe.h
index 5274aba41..cc8cf4d71 100644
--- a/vp8/encoder/encodeframe.h
+++ b/vp8/encoder/encodeframe.h
@@ -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 VP8_ENCODER_ENCODEFRAME_H_
-#define VP8_ENCODER_ENCODEFRAME_H_
+#ifndef VPX_VP8_ENCODER_ENCODEFRAME_H_
+#define VPX_VP8_ENCODER_ENCODEFRAME_H_
#include "vp8/encoder/tokenize.h"
@@ -37,4 +37,4 @@ int vp8cx_encode_intra_macroblock(struct VP8_COMP *cpi, struct macroblock *x,
} // extern "C"
#endif
-#endif // VP8_ENCODER_ENCODEFRAME_H_
+#endif // VPX_VP8_ENCODER_ENCODEFRAME_H_
diff --git a/vp8/encoder/encodeintra.h b/vp8/encoder/encodeintra.h
index 3956cf5fb..021dc5ed7 100644
--- a/vp8/encoder/encodeintra.h
+++ b/vp8/encoder/encodeintra.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_ENCODER_ENCODEINTRA_H_
-#define VP8_ENCODER_ENCODEINTRA_H_
+#ifndef VPX_VP8_ENCODER_ENCODEINTRA_H_
+#define VPX_VP8_ENCODER_ENCODEINTRA_H_
#include "onyx_int.h"
#ifdef __cplusplus
@@ -25,4 +25,4 @@ void vp8_encode_intra4x4block(MACROBLOCK *x, int ib);
} // extern "C"
#endif
-#endif // VP8_ENCODER_ENCODEINTRA_H_
+#endif // VPX_VP8_ENCODER_ENCODEINTRA_H_
diff --git a/vp8/encoder/encodemb.h b/vp8/encoder/encodemb.h
index b55ba3ac3..db577ddc1 100644
--- a/vp8/encoder/encodemb.h
+++ b/vp8/encoder/encodemb.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_ENCODER_ENCODEMB_H_
-#define VP8_ENCODER_ENCODEMB_H_
+#ifndef VPX_VP8_ENCODER_ENCODEMB_H_
+#define VPX_VP8_ENCODER_ENCODEMB_H_
#include "onyx_int.h"
@@ -37,4 +37,4 @@ void vp8_encode_inter16x16y(MACROBLOCK *x);
} // extern "C"
#endif
-#endif // VP8_ENCODER_ENCODEMB_H_
+#endif // VPX_VP8_ENCODER_ENCODEMB_H_
diff --git a/vp8/encoder/encodemv.h b/vp8/encoder/encodemv.h
index 87db30f31..347b9feff 100644
--- a/vp8/encoder/encodemv.h
+++ b/vp8/encoder/encodemv.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_ENCODER_ENCODEMV_H_
-#define VP8_ENCODER_ENCODEMV_H_
+#ifndef VPX_VP8_ENCODER_ENCODEMV_H_
+#define VPX_VP8_ENCODER_ENCODEMV_H_
#include "onyx_int.h"
@@ -26,4 +26,4 @@ void vp8_build_component_cost_table(int *mvcost[2], const MV_CONTEXT *mvc,
} // extern "C"
#endif
-#endif // VP8_ENCODER_ENCODEMV_H_
+#endif // VPX_VP8_ENCODER_ENCODEMV_H_
diff --git a/vp8/encoder/ethreading.h b/vp8/encoder/ethreading.h
index 95bf73d18..598fe6055 100644
--- a/vp8/encoder/ethreading.h
+++ b/vp8/encoder/ethreading.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_ENCODER_ETHREADING_H_
-#define VP8_ENCODER_ETHREADING_H_
+#ifndef VPX_VP8_ENCODER_ETHREADING_H_
+#define VPX_VP8_ENCODER_ETHREADING_H_
#include "vp8/encoder/onyx_int.h"
@@ -29,4 +29,4 @@ void vp8cx_remove_encoder_threads(struct VP8_COMP *cpi);
}
#endif
-#endif // VP8_ENCODER_ETHREADING_H_
+#endif // VPX_VP8_ENCODER_ETHREADING_H_
diff --git a/vp8/encoder/firstpass.h b/vp8/encoder/firstpass.h
index ac8a7b1bf..f5490f1ef 100644
--- a/vp8/encoder/firstpass.h
+++ b/vp8/encoder/firstpass.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_ENCODER_FIRSTPASS_H_
-#define VP8_ENCODER_FIRSTPASS_H_
+#ifndef VPX_VP8_ENCODER_FIRSTPASS_H_
+#define VPX_VP8_ENCODER_FIRSTPASS_H_
#ifdef __cplusplus
extern "C" {
@@ -28,4 +28,4 @@ extern size_t vp8_firstpass_stats_sz(unsigned int mb_count);
} // extern "C"
#endif
-#endif // VP8_ENCODER_FIRSTPASS_H_
+#endif // VPX_VP8_ENCODER_FIRSTPASS_H_
diff --git a/vp8/encoder/lookahead.h b/vp8/encoder/lookahead.h
index a67f22694..4e2766b1c 100644
--- a/vp8/encoder/lookahead.h
+++ b/vp8/encoder/lookahead.h
@@ -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 VP8_ENCODER_LOOKAHEAD_H_
-#define VP8_ENCODER_LOOKAHEAD_H_
+#ifndef VPX_VP8_ENCODER_LOOKAHEAD_H_
+#define VPX_VP8_ENCODER_LOOKAHEAD_H_
#include "vpx_scale/yv12config.h"
#include "vpx/vpx_integer.h"
@@ -96,4 +96,4 @@ unsigned int vp8_lookahead_depth(struct lookahead_ctx *ctx);
} // extern "C"
#endif
-#endif // VP8_ENCODER_LOOKAHEAD_H_
+#endif // VPX_VP8_ENCODER_LOOKAHEAD_H_
diff --git a/vp8/encoder/mcomp.h b/vp8/encoder/mcomp.h
index b6228798f..490b0b872 100644
--- a/vp8/encoder/mcomp.h
+++ b/vp8/encoder/mcomp.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_ENCODER_MCOMP_H_
-#define VP8_ENCODER_MCOMP_H_
+#ifndef VPX_VP8_ENCODER_MCOMP_H_
+#define VPX_VP8_ENCODER_MCOMP_H_
#include "block.h"
#include "vpx_dsp/variance.h"
@@ -78,4 +78,4 @@ typedef int (*vp8_diamond_search_fn_t)(MACROBLOCK *x, BLOCK *b, BLOCKD *d,
} // extern "C"
#endif
-#endif // VP8_ENCODER_MCOMP_H_
+#endif // VPX_VP8_ENCODER_MCOMP_H_
diff --git a/vp8/encoder/modecosts.h b/vp8/encoder/modecosts.h
index dfb8989f7..422a79b36 100644
--- a/vp8/encoder/modecosts.h
+++ b/vp8/encoder/modecosts.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_ENCODER_MODECOSTS_H_
-#define VP8_ENCODER_MODECOSTS_H_
+#ifndef VPX_VP8_ENCODER_MODECOSTS_H_
+#define VPX_VP8_ENCODER_MODECOSTS_H_
#ifdef __cplusplus
extern "C" {
@@ -23,4 +23,4 @@ void vp8_init_mode_costs(struct VP8_COMP *x);
} // extern "C"
#endif
-#endif // VP8_ENCODER_MODECOSTS_H_
+#endif // VPX_VP8_ENCODER_MODECOSTS_H_
diff --git a/vp8/encoder/mr_dissim.h b/vp8/encoder/mr_dissim.h
index da36628af..58f5a9762 100644
--- a/vp8/encoder/mr_dissim.h
+++ b/vp8/encoder/mr_dissim.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_ENCODER_MR_DISSIM_H_
-#define VP8_ENCODER_MR_DISSIM_H_
+#ifndef VPX_VP8_ENCODER_MR_DISSIM_H_
+#define VPX_VP8_ENCODER_MR_DISSIM_H_
#include "vpx_config.h"
#ifdef __cplusplus
@@ -24,4 +24,4 @@ extern void vp8_store_drop_frame_info(VP8_COMP *cpi);
} // extern "C"
#endif
-#endif // VP8_ENCODER_MR_DISSIM_H_
+#endif // VPX_VP8_ENCODER_MR_DISSIM_H_
diff --git a/vp8/encoder/onyx_int.h b/vp8/encoder/onyx_int.h
index c489b46c2..603de8bcb 100644
--- a/vp8/encoder/onyx_int.h
+++ b/vp8/encoder/onyx_int.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_ENCODER_ONYX_INT_H_
-#define VP8_ENCODER_ONYX_INT_H_
+#ifndef VPX_VP8_ENCODER_ONYX_INT_H_
+#define VPX_VP8_ENCODER_ONYX_INT_H_
#include <stdio.h>
#include "vpx_config.h"
@@ -733,4 +733,4 @@ void vp8_set_speed_features(VP8_COMP *cpi);
} // extern "C"
#endif
-#endif // VP8_ENCODER_ONYX_INT_H_
+#endif // VPX_VP8_ENCODER_ONYX_INT_H_
diff --git a/vp8/encoder/pickinter.h b/vp8/encoder/pickinter.h
index bf1d0c974..392fb4159 100644
--- a/vp8/encoder/pickinter.h
+++ b/vp8/encoder/pickinter.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_ENCODER_PICKINTER_H_
-#define VP8_ENCODER_PICKINTER_H_
+#ifndef VPX_VP8_ENCODER_PICKINTER_H_
+#define VPX_VP8_ENCODER_PICKINTER_H_
#include "vpx_config.h"
#include "vp8/common/onyxc_int.h"
@@ -30,4 +30,4 @@ extern int vp8_get_inter_mbpred_error(MACROBLOCK *mb,
} // extern "C"
#endif
-#endif // VP8_ENCODER_PICKINTER_H_
+#endif // VPX_VP8_ENCODER_PICKINTER_H_
diff --git a/vp8/encoder/picklpf.h b/vp8/encoder/picklpf.h
index e6ad0dbf2..03597e542 100644
--- a/vp8/encoder/picklpf.h
+++ b/vp8/encoder/picklpf.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_ENCODER_PICKLPF_H_
-#define VP8_ENCODER_PICKLPF_H_
+#ifndef VPX_VP8_ENCODER_PICKLPF_H_
+#define VPX_VP8_ENCODER_PICKLPF_H_
#ifdef __cplusplus
extern "C" {
@@ -27,4 +27,4 @@ void vp8cx_pick_filter_level(struct yv12_buffer_config *sd, VP8_COMP *cpi);
}
#endif
-#endif // VP8_ENCODER_PICKLPF_H_
+#endif // VPX_VP8_ENCODER_PICKLPF_H_
diff --git a/vp8/encoder/quantize.h b/vp8/encoder/quantize.h
index 267150f99..78746c0c2 100644
--- a/vp8/encoder/quantize.h
+++ b/vp8/encoder/quantize.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_ENCODER_QUANTIZE_H_
-#define VP8_ENCODER_QUANTIZE_H_
+#ifndef VPX_VP8_ENCODER_QUANTIZE_H_
+#define VPX_VP8_ENCODER_QUANTIZE_H_
#ifdef __cplusplus
extern "C" {
@@ -31,4 +31,4 @@ extern void vp8cx_init_quantizer(struct VP8_COMP *cpi);
} // extern "C"
#endif
-#endif // VP8_ENCODER_QUANTIZE_H_
+#endif // VPX_VP8_ENCODER_QUANTIZE_H_
diff --git a/vp8/encoder/ratectrl.h b/vp8/encoder/ratectrl.h
index 249de4e70..844c72cb8 100644
--- a/vp8/encoder/ratectrl.h
+++ b/vp8/encoder/ratectrl.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_ENCODER_RATECTRL_H_
-#define VP8_ENCODER_RATECTRL_H_
+#ifndef VPX_VP8_ENCODER_RATECTRL_H_
+#define VPX_VP8_ENCODER_RATECTRL_H_
#include "onyx_int.h"
@@ -37,4 +37,4 @@ extern int vp8_drop_encodedframe_overshoot(VP8_COMP *cpi, int Q);
} // extern "C"
#endif
-#endif // VP8_ENCODER_RATECTRL_H_
+#endif // VPX_VP8_ENCODER_RATECTRL_H_
diff --git a/vp8/encoder/rdopt.h b/vp8/encoder/rdopt.h
index 960bd8f1c..e22b58b8a 100644
--- a/vp8/encoder/rdopt.h
+++ b/vp8/encoder/rdopt.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_ENCODER_RDOPT_H_
-#define VP8_ENCODER_RDOPT_H_
+#ifndef VPX_VP8_ENCODER_RDOPT_H_
+#define VPX_VP8_ENCODER_RDOPT_H_
#include "./vpx_config.h"
@@ -123,4 +123,4 @@ void vp8_set_mbmode_and_mvs(MACROBLOCK *x, MB_PREDICTION_MODE mb, int_mv *mv);
} // extern "C"
#endif
-#endif // VP8_ENCODER_RDOPT_H_
+#endif // VPX_VP8_ENCODER_RDOPT_H_
diff --git a/vp8/encoder/segmentation.h b/vp8/encoder/segmentation.h
index 1395a3411..4ddbdbbd2 100644
--- a/vp8/encoder/segmentation.h
+++ b/vp8/encoder/segmentation.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_ENCODER_SEGMENTATION_H_
-#define VP8_ENCODER_SEGMENTATION_H_
+#ifndef VPX_VP8_ENCODER_SEGMENTATION_H_
+#define VPX_VP8_ENCODER_SEGMENTATION_H_
#include "string.h"
#include "vp8/common/blockd.h"
@@ -26,4 +26,4 @@ extern void vp8_update_gf_useage_maps(VP8_COMP *cpi, VP8_COMMON *cm,
} // extern "C"
#endif
-#endif // VP8_ENCODER_SEGMENTATION_H_
+#endif // VPX_VP8_ENCODER_SEGMENTATION_H_
diff --git a/vp8/encoder/temporal_filter.h b/vp8/encoder/temporal_filter.h
index 865d909fb..fd39f5cb8 100644
--- a/vp8/encoder/temporal_filter.h
+++ b/vp8/encoder/temporal_filter.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_ENCODER_TEMPORAL_FILTER_H_
-#define VP8_ENCODER_TEMPORAL_FILTER_H_
+#ifndef VPX_VP8_ENCODER_TEMPORAL_FILTER_H_
+#define VPX_VP8_ENCODER_TEMPORAL_FILTER_H_
#ifdef __cplusplus
extern "C" {
@@ -23,4 +23,4 @@ void vp8_temporal_filter_prepare_c(struct VP8_COMP *cpi, int distance);
}
#endif
-#endif // VP8_ENCODER_TEMPORAL_FILTER_H_
+#endif // VPX_VP8_ENCODER_TEMPORAL_FILTER_H_
diff --git a/vp8/encoder/tokenize.h b/vp8/encoder/tokenize.h
index e5dbdfc5a..46425ac8f 100644
--- a/vp8/encoder/tokenize.h
+++ b/vp8/encoder/tokenize.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_ENCODER_TOKENIZE_H_
-#define VP8_ENCODER_TOKENIZE_H_
+#ifndef VPX_VP8_ENCODER_TOKENIZE_H_
+#define VPX_VP8_ENCODER_TOKENIZE_H_
#include "vp8/common/entropy.h"
#include "block.h"
@@ -53,4 +53,4 @@ extern const TOKENVALUE *const vp8_dct_value_tokens_ptr;
} // extern "C"
#endif
-#endif // VP8_ENCODER_TOKENIZE_H_
+#endif // VPX_VP8_ENCODER_TOKENIZE_H_
diff --git a/vp8/encoder/treewriter.h b/vp8/encoder/treewriter.h
index e76699092..0d7b06e56 100644
--- a/vp8/encoder/treewriter.h
+++ b/vp8/encoder/treewriter.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP8_ENCODER_TREEWRITER_H_
-#define VP8_ENCODER_TREEWRITER_H_
+#ifndef VPX_VP8_ENCODER_TREEWRITER_H_
+#define VPX_VP8_ENCODER_TREEWRITER_H_
/* Trees map alphabets into huffman-like codes suitable for an arithmetic
bit coder. Timothy S Murphy 11 October 2004 */
@@ -99,4 +99,4 @@ void vp8_cost_tokens2(int *Costs, const vp8_prob *, vp8_tree, int);
} // extern "C"
#endif
-#endif // VP8_ENCODER_TREEWRITER_H_
+#endif // VPX_VP8_ENCODER_TREEWRITER_H_
diff --git a/vp9/common/arm/neon/vp9_iht_neon.h b/vp9/common/arm/neon/vp9_iht_neon.h
index 33e68d818..c64822e27 100644
--- a/vp9/common/arm/neon/vp9_iht_neon.h
+++ b/vp9/common/arm/neon/vp9_iht_neon.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_COMMON_ARM_NEON_VP9_IHT_NEON_H_
-#define VP9_COMMON_ARM_NEON_VP9_IHT_NEON_H_
+#ifndef VPX_VP9_COMMON_ARM_NEON_VP9_IHT_NEON_H_
+#define VPX_VP9_COMMON_ARM_NEON_VP9_IHT_NEON_H_
#include <arm_neon.h>
@@ -269,4 +269,4 @@ typedef struct {
iht_1d cols, rows; // vertical and horizontal
} iht_2d;
-#endif // VP9_COMMON_ARM_NEON_VP9_IHT_NEON_H_
+#endif // VPX_VP9_COMMON_ARM_NEON_VP9_IHT_NEON_H_
diff --git a/vp9/common/vp9_alloccommon.h b/vp9/common/vp9_alloccommon.h
index a3a163857..5faa4f2be 100644
--- a/vp9/common/vp9_alloccommon.h
+++ b/vp9/common/vp9_alloccommon.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_COMMON_VP9_ALLOCCOMMON_H_
-#define VP9_COMMON_VP9_ALLOCCOMMON_H_
+#ifndef VPX_VP9_COMMON_VP9_ALLOCCOMMON_H_
+#define VPX_VP9_COMMON_VP9_ALLOCCOMMON_H_
#define INVALID_IDX -1 // Invalid buffer index.
@@ -41,4 +41,4 @@ void vp9_swap_current_and_last_seg_map(struct VP9Common *cm);
} // extern "C"
#endif
-#endif // VP9_COMMON_VP9_ALLOCCOMMON_H_
+#endif // VPX_VP9_COMMON_VP9_ALLOCCOMMON_H_
diff --git a/vp9/common/vp9_blockd.h b/vp9/common/vp9_blockd.h
index 090f44d6d..65db065a6 100644
--- a/vp9/common/vp9_blockd.h
+++ b/vp9/common/vp9_blockd.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_COMMON_VP9_BLOCKD_H_
-#define VP9_COMMON_VP9_BLOCKD_H_
+#ifndef VPX_VP9_COMMON_VP9_BLOCKD_H_
+#define VPX_VP9_COMMON_VP9_BLOCKD_H_
#include "./vpx_config.h"
@@ -286,4 +286,4 @@ void vp9_set_contexts(const MACROBLOCKD *xd, struct macroblockd_plane *pd,
} // extern "C"
#endif
-#endif // VP9_COMMON_VP9_BLOCKD_H_
+#endif // VPX_VP9_COMMON_VP9_BLOCKD_H_
diff --git a/vp9/common/vp9_common.h b/vp9/common/vp9_common.h
index 666c3beaf..ae8dad38e 100644
--- a/vp9/common/vp9_common.h
+++ b/vp9/common/vp9_common.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_COMMON_VP9_COMMON_H_
-#define VP9_COMMON_VP9_COMMON_H_
+#ifndef VPX_VP9_COMMON_VP9_COMMON_H_
+#define VPX_VP9_COMMON_VP9_COMMON_H_
/* Interface header for common constant data structures and lookup tables */
@@ -75,4 +75,4 @@ static INLINE int get_unsigned_bits(unsigned int num_values) {
} // extern "C"
#endif
-#endif // VP9_COMMON_VP9_COMMON_H_
+#endif // VPX_VP9_COMMON_VP9_COMMON_H_
diff --git a/vp9/common/vp9_common_data.h b/vp9/common/vp9_common_data.h
index 5c6a7e8ff..a533c5f05 100644
--- a/vp9/common/vp9_common_data.h
+++ b/vp9/common/vp9_common_data.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_COMMON_VP9_COMMON_DATA_H_
-#define VP9_COMMON_VP9_COMMON_DATA_H_
+#ifndef VPX_VP9_COMMON_VP9_COMMON_DATA_H_
+#define VPX_VP9_COMMON_VP9_COMMON_DATA_H_
#include "vp9/common/vp9_enums.h"
#include "vpx/vpx_integer.h"
@@ -42,4 +42,4 @@ extern const uint8_t need_top_left[INTRA_MODES];
} // extern "C"
#endif
-#endif // VP9_COMMON_VP9_COMMON_DATA_H_
+#endif // VPX_VP9_COMMON_VP9_COMMON_DATA_H_
diff --git a/vp9/common/vp9_entropy.h b/vp9/common/vp9_entropy.h
index 0ab502592..d026651df 100644
--- a/vp9/common/vp9_entropy.h
+++ b/vp9/common/vp9_entropy.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_COMMON_VP9_ENTROPY_H_
-#define VP9_COMMON_VP9_ENTROPY_H_
+#ifndef VPX_VP9_COMMON_VP9_ENTROPY_H_
+#define VPX_VP9_COMMON_VP9_ENTROPY_H_
#include "vpx/vpx_integer.h"
#include "vpx_dsp/prob.h"
@@ -194,4 +194,4 @@ static INLINE int get_entropy_context(TX_SIZE tx_size, const ENTROPY_CONTEXT *a,
} // extern "C"
#endif
-#endif // VP9_COMMON_VP9_ENTROPY_H_
+#endif // VPX_VP9_COMMON_VP9_ENTROPY_H_
diff --git a/vp9/common/vp9_entropymode.h b/vp9/common/vp9_entropymode.h
index 0ee663fe8..a756c8d0b 100644
--- a/vp9/common/vp9_entropymode.h
+++ b/vp9/common/vp9_entropymode.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_COMMON_VP9_ENTROPYMODE_H_
-#define VP9_COMMON_VP9_ENTROPYMODE_H_
+#ifndef VPX_VP9_COMMON_VP9_ENTROPYMODE_H_
+#define VPX_VP9_COMMON_VP9_ENTROPYMODE_H_
#include "vp9/common/vp9_entropy.h"
#include "vp9/common/vp9_entropymv.h"
@@ -104,4 +104,4 @@ void tx_counts_to_branch_counts_8x8(const unsigned int *tx_count_8x8p,
} // extern "C"
#endif
-#endif // VP9_COMMON_VP9_ENTROPYMODE_H_
+#endif // VPX_VP9_COMMON_VP9_ENTROPYMODE_H_
diff --git a/vp9/common/vp9_entropymv.h b/vp9/common/vp9_entropymv.h
index e2fe37a32..dcc8e2998 100644
--- a/vp9/common/vp9_entropymv.h
+++ b/vp9/common/vp9_entropymv.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_COMMON_VP9_ENTROPYMV_H_
-#define VP9_COMMON_VP9_ENTROPYMV_H_
+#ifndef VPX_VP9_COMMON_VP9_ENTROPYMV_H_
+#define VPX_VP9_COMMON_VP9_ENTROPYMV_H_
#include "./vpx_config.h"
@@ -133,4 +133,4 @@ void vp9_inc_mv(const MV *mv, nmv_context_counts *mvctx);
} // extern "C"
#endif
-#endif // VP9_COMMON_VP9_ENTROPYMV_H_
+#endif // VPX_VP9_COMMON_VP9_ENTROPYMV_H_
diff --git a/vp9/common/vp9_enums.h b/vp9/common/vp9_enums.h
index 056b298b3..bc665534d 100644
--- a/vp9/common/vp9_enums.h
+++ b/vp9/common/vp9_enums.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_COMMON_VP9_ENUMS_H_
-#define VP9_COMMON_VP9_ENUMS_H_
+#ifndef VPX_VP9_COMMON_VP9_ENUMS_H_
+#define VPX_VP9_COMMON_VP9_ENUMS_H_
#include "./vpx_config.h"
#include "vpx/vpx_integer.h"
@@ -140,4 +140,4 @@ typedef uint8_t PREDICTION_MODE;
} // extern "C"
#endif
-#endif // VP9_COMMON_VP9_ENUMS_H_
+#endif // VPX_VP9_COMMON_VP9_ENUMS_H_
diff --git a/vp9/common/vp9_filter.h b/vp9/common/vp9_filter.h
index 9d2b8e1db..b379665b1 100644
--- a/vp9/common/vp9_filter.h
+++ b/vp9/common/vp9_filter.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_COMMON_VP9_FILTER_H_
-#define VP9_COMMON_VP9_FILTER_H_
+#ifndef VPX_VP9_COMMON_VP9_FILTER_H_
+#define VPX_VP9_COMMON_VP9_FILTER_H_
#include "./vpx_config.h"
#include "vpx/vpx_integer.h"
@@ -38,4 +38,4 @@ extern const InterpKernel *vp9_filter_kernels[4];
} // extern "C"
#endif
-#endif // VP9_COMMON_VP9_FILTER_H_
+#endif // VPX_VP9_COMMON_VP9_FILTER_H_
diff --git a/vp9/common/vp9_frame_buffers.h b/vp9/common/vp9_frame_buffers.h
index e2cfe61b6..11be838c0 100644
--- a/vp9/common/vp9_frame_buffers.h
+++ b/vp9/common/vp9_frame_buffers.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_COMMON_VP9_FRAME_BUFFERS_H_
-#define VP9_COMMON_VP9_FRAME_BUFFERS_H_
+#ifndef VPX_VP9_COMMON_VP9_FRAME_BUFFERS_H_
+#define VPX_VP9_COMMON_VP9_FRAME_BUFFERS_H_
#include "vpx/vpx_frame_buffer.h"
#include "vpx/vpx_integer.h"
@@ -50,4 +50,4 @@ int vp9_release_frame_buffer(void *cb_priv, vpx_codec_frame_buffer_t *fb);
} // extern "C"
#endif
-#endif // VP9_COMMON_VP9_FRAME_BUFFERS_H_
+#endif // VPX_VP9_COMMON_VP9_FRAME_BUFFERS_H_
diff --git a/vp9/common/vp9_idct.h b/vp9/common/vp9_idct.h
index 3e83b8402..94eeaf599 100644
--- a/vp9/common/vp9_idct.h
+++ b/vp9/common/vp9_idct.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_COMMON_VP9_IDCT_H_
-#define VP9_COMMON_VP9_IDCT_H_
+#ifndef VPX_VP9_COMMON_VP9_IDCT_H_
+#define VPX_VP9_COMMON_VP9_IDCT_H_
#include <assert.h>
@@ -78,4 +78,4 @@ void vp9_highbd_iht16x16_add(TX_TYPE tx_type, const tran_low_t *input,
} // extern "C"
#endif
-#endif // VP9_COMMON_VP9_IDCT_H_
+#endif // VPX_VP9_COMMON_VP9_IDCT_H_
diff --git a/vp9/common/vp9_loopfilter.h b/vp9/common/vp9_loopfilter.h
index 481a6cdc6..daf3b9131 100644
--- a/vp9/common/vp9_loopfilter.h
+++ b/vp9/common/vp9_loopfilter.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_COMMON_VP9_LOOPFILTER_H_
-#define VP9_COMMON_VP9_LOOPFILTER_H_
+#ifndef VPX_VP9_COMMON_VP9_LOOPFILTER_H_
+#define VPX_VP9_COMMON_VP9_LOOPFILTER_H_
#include "vpx_ports/mem.h"
#include "./vpx_config.h"
@@ -157,4 +157,4 @@ int vp9_loop_filter_worker(void *arg1, void *unused);
} // extern "C"
#endif
-#endif // VP9_COMMON_VP9_LOOPFILTER_H_
+#endif // VPX_VP9_COMMON_VP9_LOOPFILTER_H_
diff --git a/vp9/common/vp9_mfqe.h b/vp9/common/vp9_mfqe.h
index dfff8c23d..f53e1c2f9 100644
--- a/vp9/common/vp9_mfqe.h
+++ b/vp9/common/vp9_mfqe.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_COMMON_VP9_MFQE_H_
-#define VP9_COMMON_VP9_MFQE_H_
+#ifndef VPX_VP9_COMMON_VP9_MFQE_H_
+#define VPX_VP9_COMMON_VP9_MFQE_H_
#ifdef __cplusplus
extern "C" {
@@ -28,4 +28,4 @@ void vp9_mfqe(struct VP9Common *cm);
} // extern "C"
#endif
-#endif // VP9_COMMON_VP9_MFQE_H_
+#endif // VPX_VP9_COMMON_VP9_MFQE_H_
diff --git a/vp9/common/vp9_mv.h b/vp9/common/vp9_mv.h
index 4c8eac721..14dde7dd0 100644
--- a/vp9/common/vp9_mv.h
+++ b/vp9/common/vp9_mv.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_COMMON_VP9_MV_H_
-#define VP9_COMMON_VP9_MV_H_
+#ifndef VPX_VP9_COMMON_VP9_MV_H_
+#define VPX_VP9_COMMON_VP9_MV_H_
#include "vpx/vpx_integer.h"
@@ -52,4 +52,4 @@ static INLINE void clamp_mv(MV *mv, int min_col, int max_col, int min_row,
} // extern "C"
#endif
-#endif // VP9_COMMON_VP9_MV_H_
+#endif // VPX_VP9_COMMON_VP9_MV_H_
diff --git a/vp9/common/vp9_mvref_common.h b/vp9/common/vp9_mvref_common.h
index 2b2c1ba9e..ebe5fdad1 100644
--- a/vp9/common/vp9_mvref_common.h
+++ b/vp9/common/vp9_mvref_common.h
@@ -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 VP9_COMMON_VP9_MVREF_COMMON_H_
-#define VP9_COMMON_VP9_MVREF_COMMON_H_
+#ifndef VPX_VP9_COMMON_VP9_MVREF_COMMON_H_
+#define VPX_VP9_COMMON_VP9_MVREF_COMMON_H_
#include "vp9/common/vp9_onyxc_int.h"
#include "vp9/common/vp9_blockd.h"
@@ -320,4 +320,4 @@ void vp9_append_sub8x8_mvs_for_idx(VP9_COMMON *cm, MACROBLOCKD *xd, int block,
} // extern "C"
#endif
-#endif // VP9_COMMON_VP9_MVREF_COMMON_H_
+#endif // VPX_VP9_COMMON_VP9_MVREF_COMMON_H_
diff --git a/vp9/common/vp9_onyxc_int.h b/vp9/common/vp9_onyxc_int.h
index c72b6e64f..189b69ea3 100644
--- a/vp9/common/vp9_onyxc_int.h
+++ b/vp9/common/vp9_onyxc_int.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_COMMON_VP9_ONYXC_INT_H_
-#define VP9_COMMON_VP9_ONYXC_INT_H_
+#ifndef VPX_VP9_COMMON_VP9_ONYXC_INT_H_
+#define VPX_VP9_COMMON_VP9_ONYXC_INT_H_
#include "./vpx_config.h"
#include "vpx/internal/vpx_codec_internal.h"
@@ -415,4 +415,4 @@ static INLINE int partition_plane_context(const MACROBLOCKD *xd, int mi_row,
} // extern "C"
#endif
-#endif // VP9_COMMON_VP9_ONYXC_INT_H_
+#endif // VPX_VP9_COMMON_VP9_ONYXC_INT_H_
diff --git a/vp9/common/vp9_postproc.h b/vp9/common/vp9_postproc.h
index 605909411..256427cbf 100644
--- a/vp9/common/vp9_postproc.h
+++ b/vp9/common/vp9_postproc.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_COMMON_VP9_POSTPROC_H_
-#define VP9_COMMON_VP9_POSTPROC_H_
+#ifndef VPX_VP9_COMMON_VP9_POSTPROC_H_
+#define VPX_VP9_COMMON_VP9_POSTPROC_H_
#include "vpx_ports/mem.h"
#include "vpx_scale/yv12config.h"
@@ -50,4 +50,4 @@ void vp9_deblock(const YV12_BUFFER_CONFIG *src, YV12_BUFFER_CONFIG *dst, int q,
} // extern "C"
#endif
-#endif // VP9_COMMON_VP9_POSTPROC_H_
+#endif // VPX_VP9_COMMON_VP9_POSTPROC_H_
diff --git a/vp9/common/vp9_ppflags.h b/vp9/common/vp9_ppflags.h
index b8b647bf1..a0e301762 100644
--- a/vp9/common/vp9_ppflags.h
+++ b/vp9/common/vp9_ppflags.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_COMMON_VP9_PPFLAGS_H_
-#define VP9_COMMON_VP9_PPFLAGS_H_
+#ifndef VPX_VP9_COMMON_VP9_PPFLAGS_H_
+#define VPX_VP9_COMMON_VP9_PPFLAGS_H_
#ifdef __cplusplus
extern "C" {
@@ -33,4 +33,4 @@ typedef struct {
} // extern "C"
#endif
-#endif // VP9_COMMON_VP9_PPFLAGS_H_
+#endif // VPX_VP9_COMMON_VP9_PPFLAGS_H_
diff --git a/vp9/common/vp9_pred_common.h b/vp9/common/vp9_pred_common.h
index 005290980..e2f17f251 100644
--- a/vp9/common/vp9_pred_common.h
+++ b/vp9/common/vp9_pred_common.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_COMMON_VP9_PRED_COMMON_H_
-#define VP9_COMMON_VP9_PRED_COMMON_H_
+#ifndef VPX_VP9_COMMON_VP9_PRED_COMMON_H_
+#define VPX_VP9_COMMON_VP9_PRED_COMMON_H_
#include "vp9/common/vp9_blockd.h"
#include "vp9/common/vp9_onyxc_int.h"
@@ -190,4 +190,4 @@ static INLINE unsigned int *get_tx_counts(TX_SIZE max_tx_size, int ctx,
} // extern "C"
#endif
-#endif // VP9_COMMON_VP9_PRED_COMMON_H_
+#endif // VPX_VP9_COMMON_VP9_PRED_COMMON_H_
diff --git a/vp9/common/vp9_quant_common.h b/vp9/common/vp9_quant_common.h
index 4bae4a896..ec8b9f4c6 100644
--- a/vp9/common/vp9_quant_common.h
+++ b/vp9/common/vp9_quant_common.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_COMMON_VP9_QUANT_COMMON_H_
-#define VP9_COMMON_VP9_QUANT_COMMON_H_
+#ifndef VPX_VP9_COMMON_VP9_QUANT_COMMON_H_
+#define VPX_VP9_COMMON_VP9_QUANT_COMMON_H_
#include "vpx/vpx_codec.h"
#include "vp9/common/vp9_seg_common.h"
@@ -33,4 +33,4 @@ int vp9_get_qindex(const struct segmentation *seg, int segment_id,
} // extern "C"
#endif
-#endif // VP9_COMMON_VP9_QUANT_COMMON_H_
+#endif // VPX_VP9_COMMON_VP9_QUANT_COMMON_H_
diff --git a/vp9/common/vp9_reconinter.h b/vp9/common/vp9_reconinter.h
index bb9291a26..2c6d6695a 100644
--- a/vp9/common/vp9_reconinter.h
+++ b/vp9/common/vp9_reconinter.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_COMMON_VP9_RECONINTER_H_
-#define VP9_COMMON_VP9_RECONINTER_H_
+#ifndef VPX_VP9_COMMON_VP9_RECONINTER_H_
+#define VPX_VP9_COMMON_VP9_RECONINTER_H_
#include "vp9/common/vp9_filter.h"
#include "vp9/common/vp9_onyxc_int.h"
@@ -103,4 +103,4 @@ void vp9_setup_pre_planes(MACROBLOCKD *xd, int idx,
} // extern "C"
#endif
-#endif // VP9_COMMON_VP9_RECONINTER_H_
+#endif // VPX_VP9_COMMON_VP9_RECONINTER_H_
diff --git a/vp9/common/vp9_reconintra.h b/vp9/common/vp9_reconintra.h
index 78e41c881..426a35ebf 100644
--- a/vp9/common/vp9_reconintra.h
+++ b/vp9/common/vp9_reconintra.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_COMMON_VP9_RECONINTRA_H_
-#define VP9_COMMON_VP9_RECONINTRA_H_
+#ifndef VPX_VP9_COMMON_VP9_RECONINTRA_H_
+#define VPX_VP9_COMMON_VP9_RECONINTRA_H_
#include "vpx/vpx_integer.h"
#include "vp9/common/vp9_blockd.h"
@@ -28,4 +28,4 @@ void vp9_predict_intra_block(const MACROBLOCKD *xd, int bwl_in, TX_SIZE tx_size,
} // extern "C"
#endif
-#endif // VP9_COMMON_VP9_RECONINTRA_H_
+#endif // VPX_VP9_COMMON_VP9_RECONINTRA_H_
diff --git a/vp9/common/vp9_scale.h b/vp9/common/vp9_scale.h
index ada8dbaad..53c6eef72 100644
--- a/vp9/common/vp9_scale.h
+++ b/vp9/common/vp9_scale.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_COMMON_VP9_SCALE_H_
-#define VP9_COMMON_VP9_SCALE_H_
+#ifndef VPX_VP9_COMMON_VP9_SCALE_H_
+#define VPX_VP9_COMMON_VP9_SCALE_H_
#include "vp9/common/vp9_mv.h"
#include "vpx_dsp/vpx_convolve.h"
@@ -68,4 +68,4 @@ static INLINE int valid_ref_frame_size(int ref_width, int ref_height,
} // extern "C"
#endif
-#endif // VP9_COMMON_VP9_SCALE_H_
+#endif // VPX_VP9_COMMON_VP9_SCALE_H_
diff --git a/vp9/common/vp9_scan.h b/vp9/common/vp9_scan.h
index b3520e7dc..72a9a5ec4 100644
--- a/vp9/common/vp9_scan.h
+++ b/vp9/common/vp9_scan.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_COMMON_VP9_SCAN_H_
-#define VP9_COMMON_VP9_SCAN_H_
+#ifndef VPX_VP9_COMMON_VP9_SCAN_H_
+#define VPX_VP9_COMMON_VP9_SCAN_H_
#include "vpx/vpx_integer.h"
#include "vpx_ports/mem.h"
@@ -55,4 +55,4 @@ static INLINE const scan_order *get_scan(const MACROBLOCKD *xd, TX_SIZE tx_size,
} // extern "C"
#endif
-#endif // VP9_COMMON_VP9_SCAN_H_
+#endif // VPX_VP9_COMMON_VP9_SCAN_H_
diff --git a/vp9/common/vp9_seg_common.h b/vp9/common/vp9_seg_common.h
index b9bf75d58..b63e4f499 100644
--- a/vp9/common/vp9_seg_common.h
+++ b/vp9/common/vp9_seg_common.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_COMMON_VP9_SEG_COMMON_H_
-#define VP9_COMMON_VP9_SEG_COMMON_H_
+#ifndef VPX_VP9_COMMON_VP9_SEG_COMMON_H_
+#define VPX_VP9_COMMON_VP9_SEG_COMMON_H_
#include "vpx_dsp/prob.h"
@@ -78,4 +78,4 @@ extern const vpx_tree_index vp9_segment_tree[TREE_SIZE(MAX_SEGMENTS)];
} // extern "C"
#endif
-#endif // VP9_COMMON_VP9_SEG_COMMON_H_
+#endif // VPX_VP9_COMMON_VP9_SEG_COMMON_H_
diff --git a/vp9/common/vp9_thread_common.h b/vp9/common/vp9_thread_common.h
index 016e07ebf..2aeaa0245 100644
--- a/vp9/common/vp9_thread_common.h
+++ b/vp9/common/vp9_thread_common.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_COMMON_VP9_THREAD_COMMON_H_
-#define VP9_COMMON_VP9_THREAD_COMMON_H_
+#ifndef VPX_VP9_COMMON_VP9_THREAD_COMMON_H_
+#define VPX_VP9_COMMON_VP9_THREAD_COMMON_H_
#include "./vpx_config.h"
#include "vp9/common/vp9_loopfilter.h"
#include "vpx_util/vpx_thread.h"
@@ -78,4 +78,4 @@ void vp9_accumulate_frame_counts(struct FRAME_COUNTS *accum,
} // extern "C"
#endif
-#endif // VP9_COMMON_VP9_THREAD_COMMON_H_
+#endif // VPX_VP9_COMMON_VP9_THREAD_COMMON_H_
diff --git a/vp9/common/vp9_tile_common.h b/vp9/common/vp9_tile_common.h
index 1b11c2680..4ccf0a3d5 100644
--- a/vp9/common/vp9_tile_common.h
+++ b/vp9/common/vp9_tile_common.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_COMMON_VP9_TILE_COMMON_H_
-#define VP9_COMMON_VP9_TILE_COMMON_H_
+#ifndef VPX_VP9_COMMON_VP9_TILE_COMMON_H_
+#define VPX_VP9_COMMON_VP9_TILE_COMMON_H_
#ifdef __cplusplus
extern "C" {
@@ -37,4 +37,4 @@ void vp9_get_tile_n_bits(int mi_cols, int *min_log2_tile_cols,
} // extern "C"
#endif
-#endif // VP9_COMMON_VP9_TILE_COMMON_H_
+#endif // VPX_VP9_COMMON_VP9_TILE_COMMON_H_
diff --git a/vp9/decoder/vp9_decodeframe.h b/vp9/decoder/vp9_decodeframe.h
index 44717f546..ba95e7234 100644
--- a/vp9/decoder/vp9_decodeframe.h
+++ b/vp9/decoder/vp9_decodeframe.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_DECODER_VP9_DECODEFRAME_H_
-#define VP9_DECODER_VP9_DECODEFRAME_H_
+#ifndef VPX_VP9_DECODER_VP9_DECODEFRAME_H_
+#define VPX_VP9_DECODER_VP9_DECODEFRAME_H_
#ifdef __cplusplus
extern "C" {
@@ -32,4 +32,4 @@ void vp9_decode_frame(struct VP9Decoder *pbi, const uint8_t *data,
} // extern "C"
#endif
-#endif // VP9_DECODER_VP9_DECODEFRAME_H_
+#endif // VPX_VP9_DECODER_VP9_DECODEFRAME_H_
diff --git a/vp9/decoder/vp9_decodemv.h b/vp9/decoder/vp9_decodemv.h
index b460cb8fb..11b45ace0 100644
--- a/vp9/decoder/vp9_decodemv.h
+++ b/vp9/decoder/vp9_decodemv.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_DECODER_VP9_DECODEMV_H_
-#define VP9_DECODER_VP9_DECODEMV_H_
+#ifndef VPX_VP9_DECODER_VP9_DECODEMV_H_
+#define VPX_VP9_DECODER_VP9_DECODEMV_H_
#include "vpx_dsp/bitreader.h"
@@ -26,4 +26,4 @@ void vp9_read_mode_info(TileWorkerData *twd, VP9Decoder *const pbi, int mi_row,
} // extern "C"
#endif
-#endif // VP9_DECODER_VP9_DECODEMV_H_
+#endif // VPX_VP9_DECODER_VP9_DECODEMV_H_
diff --git a/vp9/decoder/vp9_decoder.h b/vp9/decoder/vp9_decoder.h
index 532f5f848..fa0cbb4aa 100644
--- a/vp9/decoder/vp9_decoder.h
+++ b/vp9/decoder/vp9_decoder.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_DECODER_VP9_DECODER_H_
-#define VP9_DECODER_VP9_DECODER_H_
+#ifndef VPX_VP9_DECODER_VP9_DECODER_H_
+#define VPX_VP9_DECODER_VP9_DECODER_H_
#include "./vpx_config.h"
@@ -133,4 +133,4 @@ static INLINE void decrease_ref_count(int idx, RefCntBuffer *const frame_bufs,
} // extern "C"
#endif
-#endif // VP9_DECODER_VP9_DECODER_H_
+#endif // VPX_VP9_DECODER_VP9_DECODER_H_
diff --git a/vp9/decoder/vp9_detokenize.h b/vp9/decoder/vp9_detokenize.h
index 7b0d87601..a32052fff 100644
--- a/vp9/decoder/vp9_detokenize.h
+++ b/vp9/decoder/vp9_detokenize.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_DECODER_VP9_DETOKENIZE_H_
-#define VP9_DECODER_VP9_DETOKENIZE_H_
+#ifndef VPX_VP9_DECODER_VP9_DETOKENIZE_H_
+#define VPX_VP9_DECODER_VP9_DETOKENIZE_H_
#include "vpx_dsp/bitreader.h"
#include "vp9/decoder/vp9_decoder.h"
@@ -27,4 +27,4 @@ int vp9_decode_block_tokens(TileWorkerData *twd, int plane,
} // extern "C"
#endif
-#endif // VP9_DECODER_VP9_DETOKENIZE_H_
+#endif // VPX_VP9_DECODER_VP9_DETOKENIZE_H_
diff --git a/vp9/decoder/vp9_dsubexp.h b/vp9/decoder/vp9_dsubexp.h
index 5a8ec8300..b0c775073 100644
--- a/vp9/decoder/vp9_dsubexp.h
+++ b/vp9/decoder/vp9_dsubexp.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_DECODER_VP9_DSUBEXP_H_
-#define VP9_DECODER_VP9_DSUBEXP_H_
+#ifndef VPX_VP9_DECODER_VP9_DSUBEXP_H_
+#define VPX_VP9_DECODER_VP9_DSUBEXP_H_
#include "vpx_dsp/bitreader.h"
@@ -23,4 +23,4 @@ void vp9_diff_update_prob(vpx_reader *r, vpx_prob *p);
} // extern "C"
#endif
-#endif // VP9_DECODER_VP9_DSUBEXP_H_
+#endif // VPX_VP9_DECODER_VP9_DSUBEXP_H_
diff --git a/vp9/encoder/mips/msa/vp9_fdct_msa.h b/vp9/encoder/mips/msa/vp9_fdct_msa.h
index 794bec70b..fa1af2fc5 100644
--- a/vp9/encoder/mips/msa/vp9_fdct_msa.h
+++ b/vp9/encoder/mips/msa/vp9_fdct_msa.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_MIPS_MSA_VP9_FDCT_MSA_H_
-#define VP9_ENCODER_MIPS_MSA_VP9_FDCT_MSA_H_
+#ifndef VPX_VP9_ENCODER_MIPS_MSA_VP9_FDCT_MSA_H_
+#define VPX_VP9_ENCODER_MIPS_MSA_VP9_FDCT_MSA_H_
#include "vpx_dsp/mips/fwd_txfm_msa.h"
#include "vpx_dsp/mips/txfm_macros_msa.h"
@@ -113,4 +113,4 @@
PCKEV_H4_SH(in0_r_m, in0_r_m, in1_r_m, in1_r_m, s2_m, s2_m, s3_m, s3_m, \
out0, out1, out2, out3); \
}
-#endif /* VP9_ENCODER_MIPS_MSA_VP9_FDCT_MSA_H_ */
+#endif // VPX_VP9_ENCODER_MIPS_MSA_VP9_FDCT_MSA_H_
diff --git a/vp9/encoder/vp9_alt_ref_aq.h b/vp9/encoder/vp9_alt_ref_aq.h
index e508cb44a..22a657e03 100644
--- a/vp9/encoder/vp9_alt_ref_aq.h
+++ b/vp9/encoder/vp9_alt_ref_aq.h
@@ -15,8 +15,8 @@
* for altref frames. Go to alt_ref_aq_private.h for implmentation details.
*/
-#ifndef VP9_ENCODER_VP9_ALT_REF_AQ_H_
-#define VP9_ENCODER_VP9_ALT_REF_AQ_H_
+#ifndef VPX_VP9_ENCODER_VP9_ALT_REF_AQ_H_
+#define VPX_VP9_ENCODER_VP9_ALT_REF_AQ_H_
#include "vpx/vpx_integer.h"
@@ -124,4 +124,4 @@ void vp9_alt_ref_aq_destroy(struct ALT_REF_AQ *const self);
} // extern "C"
#endif
-#endif // VP9_ENCODER_VP9_ALT_REF_AQ_H_
+#endif // VPX_VP9_ENCODER_VP9_ALT_REF_AQ_H_
diff --git a/vp9/encoder/vp9_aq_360.h b/vp9/encoder/vp9_aq_360.h
index b1b56561d..749d3c198 100644
--- a/vp9/encoder/vp9_aq_360.h
+++ b/vp9/encoder/vp9_aq_360.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_VP9_AQ_360_H_
-#define VP9_ENCODER_VP9_AQ_360_H_
+#ifndef VPX_VP9_ENCODER_VP9_AQ_360_H_
+#define VPX_VP9_ENCODER_VP9_AQ_360_H_
#include "vp9/encoder/vp9_encoder.h"
@@ -24,4 +24,4 @@ void vp9_360aq_frame_setup(VP9_COMP *cpi);
} // extern "C"
#endif
-#endif // VP9_ENCODER_VP9_AQ_VARIANCE_H_
+#endif // VPX_VP9_ENCODER_VP9_AQ_360_H_
diff --git a/vp9/encoder/vp9_aq_complexity.h b/vp9/encoder/vp9_aq_complexity.h
index a00d34e70..d3cb34c01 100644
--- a/vp9/encoder/vp9_aq_complexity.h
+++ b/vp9/encoder/vp9_aq_complexity.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_VP9_AQ_COMPLEXITY_H_
-#define VP9_ENCODER_VP9_AQ_COMPLEXITY_H_
+#ifndef VPX_VP9_ENCODER_VP9_AQ_COMPLEXITY_H_
+#define VPX_VP9_ENCODER_VP9_AQ_COMPLEXITY_H_
#ifdef __cplusplus
extern "C" {
@@ -33,4 +33,4 @@ void vp9_setup_in_frame_q_adj(struct VP9_COMP *cpi);
} // extern "C"
#endif
-#endif // VP9_ENCODER_VP9_AQ_COMPLEXITY_H_
+#endif // VPX_VP9_ENCODER_VP9_AQ_COMPLEXITY_H_
diff --git a/vp9/encoder/vp9_aq_cyclicrefresh.h b/vp9/encoder/vp9_aq_cyclicrefresh.h
index 43ab6ecb8..a4a9f1c98 100644
--- a/vp9/encoder/vp9_aq_cyclicrefresh.h
+++ b/vp9/encoder/vp9_aq_cyclicrefresh.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_VP9_AQ_CYCLICREFRESH_H_
-#define VP9_ENCODER_VP9_AQ_CYCLICREFRESH_H_
+#ifndef VPX_VP9_ENCODER_VP9_AQ_CYCLICREFRESH_H_
+#define VPX_VP9_ENCODER_VP9_AQ_CYCLICREFRESH_H_
#include "vpx/vpx_integer.h"
#include "vp9/common/vp9_blockd.h"
@@ -147,4 +147,4 @@ void vp9_cyclic_refresh_limit_q(const struct VP9_COMP *cpi, int *q);
} // extern "C"
#endif
-#endif // VP9_ENCODER_VP9_AQ_CYCLICREFRESH_H_
+#endif // VPX_VP9_ENCODER_VP9_AQ_CYCLICREFRESH_H_
diff --git a/vp9/encoder/vp9_aq_variance.h b/vp9/encoder/vp9_aq_variance.h
index 12848f74c..a4f872879 100644
--- a/vp9/encoder/vp9_aq_variance.h
+++ b/vp9/encoder/vp9_aq_variance.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_VP9_AQ_VARIANCE_H_
-#define VP9_ENCODER_VP9_AQ_VARIANCE_H_
+#ifndef VPX_VP9_ENCODER_VP9_AQ_VARIANCE_H_
+#define VPX_VP9_ENCODER_VP9_AQ_VARIANCE_H_
#include "vp9/encoder/vp9_encoder.h"
@@ -31,4 +31,4 @@ double vp9_log_block_var(VP9_COMP *cpi, MACROBLOCK *x, BLOCK_SIZE bs);
} // extern "C"
#endif
-#endif // VP9_ENCODER_VP9_AQ_VARIANCE_H_
+#endif // VPX_VP9_ENCODER_VP9_AQ_VARIANCE_H_
diff --git a/vp9/encoder/vp9_bitstream.h b/vp9/encoder/vp9_bitstream.h
index b296560b9..647331a83 100644
--- a/vp9/encoder/vp9_bitstream.h
+++ b/vp9/encoder/vp9_bitstream.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_VP9_BITSTREAM_H_
-#define VP9_ENCODER_VP9_BITSTREAM_H_
+#ifndef VPX_VP9_ENCODER_VP9_BITSTREAM_H_
+#define VPX_VP9_ENCODER_VP9_BITSTREAM_H_
#ifdef __cplusplus
extern "C" {
@@ -46,4 +46,4 @@ static INLINE int vp9_preserve_existing_gf(VP9_COMP *cpi) {
} // extern "C"
#endif
-#endif // VP9_ENCODER_VP9_BITSTREAM_H_
+#endif // VPX_VP9_ENCODER_VP9_BITSTREAM_H_
diff --git a/vp9/encoder/vp9_block.h b/vp9/encoder/vp9_block.h
index 31cf2b5a8..6ea264f09 100644
--- a/vp9/encoder/vp9_block.h
+++ b/vp9/encoder/vp9_block.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_VP9_BLOCK_H_
-#define VP9_ENCODER_VP9_BLOCK_H_
+#ifndef VPX_VP9_ENCODER_VP9_BLOCK_H_
+#define VPX_VP9_ENCODER_VP9_BLOCK_H_
#include "vpx_util/vpx_thread.h"
@@ -214,4 +214,4 @@ struct macroblock {
} // extern "C"
#endif
-#endif // VP9_ENCODER_VP9_BLOCK_H_
+#endif // VPX_VP9_ENCODER_VP9_BLOCK_H_
diff --git a/vp9/encoder/vp9_context_tree.h b/vp9/encoder/vp9_context_tree.h
index c4600d4bc..d2cdb1010 100644
--- a/vp9/encoder/vp9_context_tree.h
+++ b/vp9/encoder/vp9_context_tree.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_VP9_CONTEXT_TREE_H_
-#define VP9_ENCODER_VP9_CONTEXT_TREE_H_
+#ifndef VPX_VP9_ENCODER_VP9_CONTEXT_TREE_H_
+#define VPX_VP9_ENCODER_VP9_CONTEXT_TREE_H_
#include "vp9/common/vp9_blockd.h"
#include "vp9/encoder/vp9_block.h"
@@ -100,4 +100,4 @@ void vp9_free_pc_tree(struct ThreadData *td);
} // extern "C"
#endif
-#endif /* VP9_ENCODER_VP9_CONTEXT_TREE_H_ */
+#endif // VPX_VP9_ENCODER_VP9_CONTEXT_TREE_H_
diff --git a/vp9/encoder/vp9_cost.h b/vp9/encoder/vp9_cost.h
index 70a1a2e0e..638d72a91 100644
--- a/vp9/encoder/vp9_cost.h
+++ b/vp9/encoder/vp9_cost.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_VP9_COST_H_
-#define VP9_ENCODER_VP9_COST_H_
+#ifndef VPX_VP9_ENCODER_VP9_COST_H_
+#define VPX_VP9_ENCODER_VP9_COST_H_
#include "vpx_dsp/prob.h"
#include "vpx/vpx_integer.h"
@@ -55,4 +55,4 @@ void vp9_cost_tokens_skip(int *costs, const vpx_prob *probs, vpx_tree tree);
} // extern "C"
#endif
-#endif // VP9_ENCODER_VP9_COST_H_
+#endif // VPX_VP9_ENCODER_VP9_COST_H_
diff --git a/vp9/encoder/vp9_denoiser.h b/vp9/encoder/vp9_denoiser.h
index d2129ecf4..2362c4f50 100644
--- a/vp9/encoder/vp9_denoiser.h
+++ b/vp9/encoder/vp9_denoiser.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_DENOISER_H_
-#define VP9_ENCODER_DENOISER_H_
+#ifndef VPX_VP9_ENCODER_VP9_DENOISER_H_
+#define VPX_VP9_ENCODER_VP9_DENOISER_H_
#include "vp9/encoder/vp9_block.h"
#include "vp9/encoder/vp9_skin_detection.h"
@@ -126,4 +126,4 @@ void vp9_denoiser_update_ref_frame(struct VP9_COMP *const cpi);
} // extern "C"
#endif
-#endif // VP9_ENCODER_DENOISER_H_
+#endif // VPX_VP9_ENCODER_VP9_DENOISER_H_
diff --git a/vp9/encoder/vp9_encodeframe.h b/vp9/encoder/vp9_encodeframe.h
index cf5ae3d8a..1798c0048 100644
--- a/vp9/encoder/vp9_encodeframe.h
+++ b/vp9/encoder/vp9_encodeframe.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_VP9_ENCODEFRAME_H_
-#define VP9_ENCODER_VP9_ENCODEFRAME_H_
+#ifndef VPX_VP9_ENCODER_VP9_ENCODEFRAME_H_
+#define VPX_VP9_ENCODER_VP9_ENCODEFRAME_H_
#include "vpx/vpx_integer.h"
@@ -49,4 +49,4 @@ void vp9_set_variance_partition_thresholds(struct VP9_COMP *cpi, int q,
} // extern "C"
#endif
-#endif // VP9_ENCODER_VP9_ENCODEFRAME_H_
+#endif // VPX_VP9_ENCODER_VP9_ENCODEFRAME_H_
diff --git a/vp9/encoder/vp9_encodemb.h b/vp9/encoder/vp9_encodemb.h
index cf943bedf..fa41f70ef 100644
--- a/vp9/encoder/vp9_encodemb.h
+++ b/vp9/encoder/vp9_encodemb.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_VP9_ENCODEMB_H_
-#define VP9_ENCODER_VP9_ENCODEMB_H_
+#ifndef VPX_VP9_ENCODER_VP9_ENCODEMB_H_
+#define VPX_VP9_ENCODER_VP9_ENCODEMB_H_
#include "./vpx_config.h"
#include "vp9/encoder/vp9_block.h"
@@ -48,4 +48,4 @@ void vp9_encode_intra_block_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane,
} // extern "C"
#endif
-#endif // VP9_ENCODER_VP9_ENCODEMB_H_
+#endif // VPX_VP9_ENCODER_VP9_ENCODEMB_H_
diff --git a/vp9/encoder/vp9_encodemv.h b/vp9/encoder/vp9_encodemv.h
index 9fc7ab8dc..8bbf85787 100644
--- a/vp9/encoder/vp9_encodemv.h
+++ b/vp9/encoder/vp9_encodemv.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_VP9_ENCODEMV_H_
-#define VP9_ENCODER_VP9_ENCODEMV_H_
+#ifndef VPX_VP9_ENCODER_VP9_ENCODEMV_H_
+#define VPX_VP9_ENCODER_VP9_ENCODEMV_H_
#include "vp9/encoder/vp9_encoder.h"
@@ -35,4 +35,4 @@ void vp9_update_mv_count(ThreadData *td);
} // extern "C"
#endif
-#endif // VP9_ENCODER_VP9_ENCODEMV_H_
+#endif // VPX_VP9_ENCODER_VP9_ENCODEMV_H_
diff --git a/vp9/encoder/vp9_encoder.h b/vp9/encoder/vp9_encoder.h
index b7f0d0bad..518901557 100644
--- a/vp9/encoder/vp9_encoder.h
+++ b/vp9/encoder/vp9_encoder.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_VP9_ENCODER_H_
-#define VP9_ENCODER_VP9_ENCODER_H_
+#ifndef VPX_VP9_ENCODER_VP9_ENCODER_H_
+#define VPX_VP9_ENCODER_VP9_ENCODER_H_
#include <stdio.h>
@@ -1012,4 +1012,4 @@ void vp9_set_row_mt(VP9_COMP *cpi);
} // extern "C"
#endif
-#endif // VP9_ENCODER_VP9_ENCODER_H_
+#endif // VPX_VP9_ENCODER_VP9_ENCODER_H_
diff --git a/vp9/encoder/vp9_ethread.h b/vp9/encoder/vp9_ethread.h
index 1a79f3175..cda0293bc 100644
--- a/vp9/encoder/vp9_ethread.h
+++ b/vp9/encoder/vp9_ethread.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_VP9_ETHREAD_H_
-#define VP9_ENCODER_VP9_ETHREAD_H_
+#ifndef VPX_VP9_ENCODER_VP9_ETHREAD_H_
+#define VPX_VP9_ENCODER_VP9_ETHREAD_H_
#ifdef __cplusplus
extern "C" {
@@ -69,4 +69,4 @@ void vp9_temporal_filter_row_mt(struct VP9_COMP *cpi);
} // extern "C"
#endif
-#endif // VP9_ENCODER_VP9_ETHREAD_H_
+#endif // VPX_VP9_ENCODER_VP9_ETHREAD_H_
diff --git a/vp9/encoder/vp9_extend.h b/vp9/encoder/vp9_extend.h
index c0dd75715..4ba7fc95e 100644
--- a/vp9/encoder/vp9_extend.h
+++ b/vp9/encoder/vp9_extend.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_VP9_EXTEND_H_
-#define VP9_ENCODER_VP9_EXTEND_H_
+#ifndef VPX_VP9_ENCODER_VP9_EXTEND_H_
+#define VPX_VP9_ENCODER_VP9_EXTEND_H_
#include "vpx_scale/yv12config.h"
#include "vpx/vpx_integer.h"
@@ -28,4 +28,4 @@ void vp9_copy_and_extend_frame_with_rect(const YV12_BUFFER_CONFIG *src,
} // extern "C"
#endif
-#endif // VP9_ENCODER_VP9_EXTEND_H_
+#endif // VPX_VP9_ENCODER_VP9_EXTEND_H_
diff --git a/vp9/encoder/vp9_firstpass.h b/vp9/encoder/vp9_firstpass.h
index 620c29cd5..441ef1fd3 100644
--- a/vp9/encoder/vp9_firstpass.h
+++ b/vp9/encoder/vp9_firstpass.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_VP9_FIRSTPASS_H_
-#define VP9_ENCODER_VP9_FIRSTPASS_H_
+#ifndef VPX_VP9_ENCODER_VP9_FIRSTPASS_H_
+#define VPX_VP9_ENCODER_VP9_FIRSTPASS_H_
#include <assert.h>
@@ -235,4 +235,4 @@ static INLINE int get_number_of_extra_arfs(int interval, int arf_pending) {
} // extern "C"
#endif
-#endif // VP9_ENCODER_VP9_FIRSTPASS_H_
+#endif // VPX_VP9_ENCODER_VP9_FIRSTPASS_H_
diff --git a/vp9/encoder/vp9_job_queue.h b/vp9/encoder/vp9_job_queue.h
index 89c08f207..ad09c1119 100644
--- a/vp9/encoder/vp9_job_queue.h
+++ b/vp9/encoder/vp9_job_queue.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_VP9_JOB_QUEUE_H_
-#define VP9_ENCODER_VP9_JOB_QUEUE_H_
+#ifndef VPX_VP9_ENCODER_VP9_JOB_QUEUE_H_
+#define VPX_VP9_ENCODER_VP9_JOB_QUEUE_H_
typedef enum {
FIRST_PASS_JOB,
@@ -43,4 +43,4 @@ typedef struct {
int num_jobs_acquired;
} JobQueueHandle;
-#endif // VP9_ENCODER_VP9_JOB_QUEUE_H_
+#endif // VPX_VP9_ENCODER_VP9_JOB_QUEUE_H_
diff --git a/vp9/encoder/vp9_lookahead.h b/vp9/encoder/vp9_lookahead.h
index 995588386..c627bede2 100644
--- a/vp9/encoder/vp9_lookahead.h
+++ b/vp9/encoder/vp9_lookahead.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_VP9_LOOKAHEAD_H_
-#define VP9_ENCODER_VP9_LOOKAHEAD_H_
+#ifndef VPX_VP9_ENCODER_VP9_LOOKAHEAD_H_
+#define VPX_VP9_ENCODER_VP9_LOOKAHEAD_H_
#include "vpx_scale/yv12config.h"
#include "vpx/vpx_encoder.h"
@@ -111,4 +111,4 @@ unsigned int vp9_lookahead_depth(struct lookahead_ctx *ctx);
} // extern "C"
#endif
-#endif // VP9_ENCODER_VP9_LOOKAHEAD_H_
+#endif // VPX_VP9_ENCODER_VP9_LOOKAHEAD_H_
diff --git a/vp9/encoder/vp9_mbgraph.h b/vp9/encoder/vp9_mbgraph.h
index c3af972bc..7b629861d 100644
--- a/vp9/encoder/vp9_mbgraph.h
+++ b/vp9/encoder/vp9_mbgraph.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_VP9_MBGRAPH_H_
-#define VP9_ENCODER_VP9_MBGRAPH_H_
+#ifndef VPX_VP9_ENCODER_VP9_MBGRAPH_H_
+#define VPX_VP9_ENCODER_VP9_MBGRAPH_H_
#ifdef __cplusplus
extern "C" {
@@ -37,4 +37,4 @@ void vp9_update_mbgraph_stats(struct VP9_COMP *cpi);
} // extern "C"
#endif
-#endif // VP9_ENCODER_VP9_MBGRAPH_H_
+#endif // VPX_VP9_ENCODER_VP9_MBGRAPH_H_
diff --git a/vp9/encoder/vp9_mcomp.h b/vp9/encoder/vp9_mcomp.h
index 3d1f10a75..348db0619 100644
--- a/vp9/encoder/vp9_mcomp.h
+++ b/vp9/encoder/vp9_mcomp.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_VP9_MCOMP_H_
-#define VP9_ENCODER_VP9_MCOMP_H_
+#ifndef VPX_VP9_ENCODER_VP9_MCOMP_H_
+#define VPX_VP9_ENCODER_VP9_MCOMP_H_
#include "vp9/encoder/vp9_block.h"
#include "vpx_dsp/variance.h"
@@ -123,4 +123,4 @@ void vp9_set_subpel_mv_search_range(MvLimits *subpel_mv_limits,
} // extern "C"
#endif
-#endif // VP9_ENCODER_VP9_MCOMP_H_
+#endif // VPX_VP9_ENCODER_VP9_MCOMP_H_
diff --git a/vp9/encoder/vp9_multi_thread.h b/vp9/encoder/vp9_multi_thread.h
index f59ad1833..a2276f4fe 100644
--- a/vp9/encoder/vp9_multi_thread.h
+++ b/vp9/encoder/vp9_multi_thread.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_VP9_MULTI_THREAD_H
-#define VP9_ENCODER_VP9_MULTI_THREAD_H
+#ifndef VPX_VP9_ENCODER_VP9_MULTI_THREAD_H_
+#define VPX_VP9_ENCODER_VP9_MULTI_THREAD_H_
#include "vp9/encoder/vp9_encoder.h"
#include "vp9/encoder/vp9_job_queue.h"
@@ -38,4 +38,4 @@ int vp9_get_tiles_proc_status(MultiThreadHandle *multi_thread_ctxt,
int *tile_completion_status, int *cur_tile_id,
int tile_cols);
-#endif // VP9_ENCODER_VP9_MULTI_THREAD_H
+#endif // VPX_VP9_ENCODER_VP9_MULTI_THREAD_H_
diff --git a/vp9/encoder/vp9_noise_estimate.h b/vp9/encoder/vp9_noise_estimate.h
index 335cdbe64..574b7c337 100644
--- a/vp9/encoder/vp9_noise_estimate.h
+++ b/vp9/encoder/vp9_noise_estimate.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_NOISE_ESTIMATE_H_
-#define VP9_ENCODER_NOISE_ESTIMATE_H_
+#ifndef VPX_VP9_ENCODER_VP9_NOISE_ESTIMATE_H_
+#define VPX_VP9_ENCODER_VP9_NOISE_ESTIMATE_H_
#include "vp9/encoder/vp9_block.h"
#include "vp9/encoder/vp9_skin_detection.h"
@@ -48,4 +48,4 @@ void vp9_update_noise_estimate(struct VP9_COMP *const cpi);
} // extern "C"
#endif
-#endif // VP9_ENCODER_NOISE_ESTIMATE_H_
+#endif // VPX_VP9_ENCODER_VP9_NOISE_ESTIMATE_H_
diff --git a/vp9/encoder/vp9_partition_models.h b/vp9/encoder/vp9_partition_models.h
index 0a3e277c7..19979e531 100644
--- a/vp9/encoder/vp9_partition_models.h
+++ b/vp9/encoder/vp9_partition_models.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_VP9_PARTITION_MODELS_H_
-#define VP9_ENCODER_VP9_PARTITION_MODELS_H_
+#ifndef VPX_VP9_ENCODER_VP9_PARTITION_MODELS_H_
+#define VPX_VP9_ENCODER_VP9_PARTITION_MODELS_H_
#ifdef __cplusplus
extern "C" {
@@ -865,4 +865,4 @@ static const float vp9_partition_linear_weights[24] = {
} // extern "C"
#endif
-#endif // VP9_ENCODER_VP9_PARTITION_MODELS_H_
+#endif // VPX_VP9_ENCODER_VP9_PARTITION_MODELS_H_
diff --git a/vp9/encoder/vp9_picklpf.h b/vp9/encoder/vp9_picklpf.h
index cecca058b..8881b44da 100644
--- a/vp9/encoder/vp9_picklpf.h
+++ b/vp9/encoder/vp9_picklpf.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_VP9_PICKLPF_H_
-#define VP9_ENCODER_VP9_PICKLPF_H_
+#ifndef VPX_VP9_ENCODER_VP9_PICKLPF_H_
+#define VPX_VP9_ENCODER_VP9_PICKLPF_H_
#ifdef __cplusplus
extern "C" {
@@ -26,4 +26,4 @@ void vp9_pick_filter_level(const struct yv12_buffer_config *sd,
} // extern "C"
#endif
-#endif // VP9_ENCODER_VP9_PICKLPF_H_
+#endif // VPX_VP9_ENCODER_VP9_PICKLPF_H_
diff --git a/vp9/encoder/vp9_pickmode.h b/vp9/encoder/vp9_pickmode.h
index 9aa00c4fa..15207e6cf 100644
--- a/vp9/encoder/vp9_pickmode.h
+++ b/vp9/encoder/vp9_pickmode.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_VP9_PICKMODE_H_
-#define VP9_ENCODER_VP9_PICKMODE_H_
+#ifndef VPX_VP9_ENCODER_VP9_PICKMODE_H_
+#define VPX_VP9_ENCODER_VP9_PICKMODE_H_
#include "vp9/encoder/vp9_encoder.h"
@@ -32,4 +32,4 @@ void vp9_pick_inter_mode_sub8x8(VP9_COMP *cpi, MACROBLOCK *x, int mi_row,
} // extern "C"
#endif
-#endif // VP9_ENCODER_VP9_PICKMODE_H_
+#endif // VPX_VP9_ENCODER_VP9_PICKMODE_H_
diff --git a/vp9/encoder/vp9_quantize.h b/vp9/encoder/vp9_quantize.h
index 61320361b..ed9b84958 100644
--- a/vp9/encoder/vp9_quantize.h
+++ b/vp9/encoder/vp9_quantize.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_VP9_QUANTIZE_H_
-#define VP9_ENCODER_VP9_QUANTIZE_H_
+#ifndef VPX_VP9_ENCODER_VP9_QUANTIZE_H_
+#define VPX_VP9_ENCODER_VP9_QUANTIZE_H_
#include "./vpx_config.h"
#include "vp9/encoder/vp9_block.h"
@@ -59,4 +59,4 @@ int vp9_qindex_to_quantizer(int qindex);
} // extern "C"
#endif
-#endif // VP9_ENCODER_VP9_QUANTIZE_H_
+#endif // VPX_VP9_ENCODER_VP9_QUANTIZE_H_
diff --git a/vp9/encoder/vp9_ratectrl.h b/vp9/encoder/vp9_ratectrl.h
index f8c605d89..3b441bf1f 100644
--- a/vp9/encoder/vp9_ratectrl.h
+++ b/vp9/encoder/vp9_ratectrl.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_VP9_RATECTRL_H_
-#define VP9_ENCODER_VP9_RATECTRL_H_
+#ifndef VPX_VP9_ENCODER_VP9_RATECTRL_H_
+#define VPX_VP9_ENCODER_VP9_RATECTRL_H_
#include "vpx/vpx_codec.h"
#include "vpx/vpx_integer.h"
@@ -312,4 +312,4 @@ void vp9_estimate_qp_gop(struct VP9_COMP *cpi);
} // extern "C"
#endif
-#endif // VP9_ENCODER_VP9_RATECTRL_H_
+#endif // VPX_VP9_ENCODER_VP9_RATECTRL_H_
diff --git a/vp9/encoder/vp9_rd.h b/vp9/encoder/vp9_rd.h
index 919f74ebd..f2fc776a4 100644
--- a/vp9/encoder/vp9_rd.h
+++ b/vp9/encoder/vp9_rd.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_VP9_RD_H_
-#define VP9_ENCODER_VP9_RD_H_
+#ifndef VPX_VP9_ENCODER_VP9_RD_H_
+#define VPX_VP9_ENCODER_VP9_RD_H_
#include <limits.h>
@@ -219,4 +219,4 @@ unsigned int vp9_high_get_sby_perpixel_variance(struct VP9_COMP *cpi,
} // extern "C"
#endif
-#endif // VP9_ENCODER_VP9_RD_H_
+#endif // VPX_VP9_ENCODER_VP9_RD_H_
diff --git a/vp9/encoder/vp9_rdopt.h b/vp9/encoder/vp9_rdopt.h
index 795c91aef..8b810bc47 100644
--- a/vp9/encoder/vp9_rdopt.h
+++ b/vp9/encoder/vp9_rdopt.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_VP9_RDOPT_H_
-#define VP9_ENCODER_VP9_RDOPT_H_
+#ifndef VPX_VP9_ENCODER_VP9_RDOPT_H_
+#define VPX_VP9_ENCODER_VP9_RDOPT_H_
#include "vp9/common/vp9_blockd.h"
@@ -56,4 +56,4 @@ void vp9_rd_pick_inter_mode_sub8x8(struct VP9_COMP *cpi,
} // extern "C"
#endif
-#endif // VP9_ENCODER_VP9_RDOPT_H_
+#endif // VPX_VP9_ENCODER_VP9_RDOPT_H_
diff --git a/vp9/encoder/vp9_resize.h b/vp9/encoder/vp9_resize.h
index d3282ee19..5d4ce97eb 100644
--- a/vp9/encoder/vp9_resize.h
+++ b/vp9/encoder/vp9_resize.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_VP9_RESIZE_H_
-#define VP9_ENCODER_VP9_RESIZE_H_
+#ifndef VPX_VP9_ENCODER_VP9_RESIZE_H_
+#define VPX_VP9_ENCODER_VP9_RESIZE_H_
#include <stdio.h>
#include "vpx/vpx_integer.h"
@@ -65,4 +65,4 @@ void vp9_highbd_resize_frame444(const uint8_t *const y, int y_stride,
} // extern "C"
#endif
-#endif // VP9_ENCODER_VP9_RESIZE_H_
+#endif // VPX_VP9_ENCODER_VP9_RESIZE_H_
diff --git a/vp9/encoder/vp9_segmentation.h b/vp9/encoder/vp9_segmentation.h
index 562805543..7a2255f8b 100644
--- a/vp9/encoder/vp9_segmentation.h
+++ b/vp9/encoder/vp9_segmentation.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_VP9_SEGMENTATION_H_
-#define VP9_ENCODER_VP9_SEGMENTATION_H_
+#ifndef VPX_VP9_ENCODER_VP9_SEGMENTATION_H_
+#define VPX_VP9_ENCODER_VP9_SEGMENTATION_H_
#include "vp9/common/vp9_blockd.h"
#include "vp9/encoder/vp9_encoder.h"
@@ -47,4 +47,4 @@ void vp9_reset_segment_features(struct segmentation *seg);
} // extern "C"
#endif
-#endif // VP9_ENCODER_VP9_SEGMENTATION_H_
+#endif // VPX_VP9_ENCODER_VP9_SEGMENTATION_H_
diff --git a/vp9/encoder/vp9_skin_detection.h b/vp9/encoder/vp9_skin_detection.h
index 8880bff46..46a722af9 100644
--- a/vp9/encoder/vp9_skin_detection.h
+++ b/vp9/encoder/vp9_skin_detection.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_VP9_SKIN_MAP_H_
-#define VP9_ENCODER_VP9_SKIN_MAP_H_
+#ifndef VPX_VP9_ENCODER_VP9_SKIN_DETECTION_H_
+#define VPX_VP9_ENCODER_VP9_SKIN_DETECTION_H_
#include "vp9/common/vp9_blockd.h"
#include "vpx_dsp/skin_detection.h"
@@ -37,4 +37,4 @@ void vp9_output_skin_map(struct VP9_COMP *const cpi, FILE *yuv_skinmap_file);
} // extern "C"
#endif
-#endif // VP9_ENCODER_VP9_SKIN_MAP_H_
+#endif // VPX_VP9_ENCODER_VP9_SKIN_DETECTION_H_
diff --git a/vp9/encoder/vp9_speed_features.h b/vp9/encoder/vp9_speed_features.h
index 2b91407ad..c312731a6 100644
--- a/vp9/encoder/vp9_speed_features.h
+++ b/vp9/encoder/vp9_speed_features.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_VP9_SPEED_FEATURES_H_
-#define VP9_ENCODER_VP9_SPEED_FEATURES_H_
+#ifndef VPX_VP9_ENCODER_VP9_SPEED_FEATURES_H_
+#define VPX_VP9_ENCODER_VP9_SPEED_FEATURES_H_
#include "vp9/common/vp9_enums.h"
@@ -587,4 +587,4 @@ void vp9_set_speed_features_framesize_dependent(struct VP9_COMP *cpi);
} // extern "C"
#endif
-#endif // VP9_ENCODER_VP9_SPEED_FEATURES_H_
+#endif // VPX_VP9_ENCODER_VP9_SPEED_FEATURES_H_
diff --git a/vp9/encoder/vp9_subexp.h b/vp9/encoder/vp9_subexp.h
index 26c89e2ea..f0d544b52 100644
--- a/vp9/encoder/vp9_subexp.h
+++ b/vp9/encoder/vp9_subexp.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_VP9_SUBEXP_H_
-#define VP9_ENCODER_VP9_SUBEXP_H_
+#ifndef VPX_VP9_ENCODER_VP9_SUBEXP_H_
+#define VPX_VP9_ENCODER_VP9_SUBEXP_H_
#ifdef __cplusplus
extern "C" {
@@ -37,4 +37,4 @@ int vp9_prob_diff_update_savings_search_model(const unsigned int *ct,
} // extern "C"
#endif
-#endif // VP9_ENCODER_VP9_SUBEXP_H_
+#endif // VPX_VP9_ENCODER_VP9_SUBEXP_H_
diff --git a/vp9/encoder/vp9_svc_layercontext.h b/vp9/encoder/vp9_svc_layercontext.h
index fdd62d7de..fceab7780 100644
--- a/vp9/encoder/vp9_svc_layercontext.h
+++ b/vp9/encoder/vp9_svc_layercontext.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_VP9_SVC_LAYERCONTEXT_H_
-#define VP9_ENCODER_VP9_SVC_LAYERCONTEXT_H_
+#ifndef VPX_VP9_ENCODER_VP9_SVC_LAYERCONTEXT_H_
+#define VPX_VP9_ENCODER_VP9_SVC_LAYERCONTEXT_H_
#include "vpx/vpx_encoder.h"
@@ -254,4 +254,4 @@ void vp9_svc_adjust_frame_rate(struct VP9_COMP *const cpi);
} // extern "C"
#endif
-#endif // VP9_ENCODER_VP9_SVC_LAYERCONTEXT_
+#endif // VPX_VP9_ENCODER_VP9_SVC_LAYERCONTEXT_H_
diff --git a/vp9/encoder/vp9_temporal_filter.h b/vp9/encoder/vp9_temporal_filter.h
index 775e49cc5..1cccc198b 100644
--- a/vp9/encoder/vp9_temporal_filter.h
+++ b/vp9/encoder/vp9_temporal_filter.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_VP9_TEMPORAL_FILTER_H_
-#define VP9_ENCODER_VP9_TEMPORAL_FILTER_H_
+#ifndef VPX_VP9_ENCODER_VP9_TEMPORAL_FILTER_H_
+#define VPX_VP9_ENCODER_VP9_TEMPORAL_FILTER_H_
#ifdef __cplusplus
extern "C" {
@@ -28,4 +28,4 @@ void vp9_temporal_filter_iterate_row_c(VP9_COMP *cpi, ThreadData *td,
} // extern "C"
#endif
-#endif // VP9_ENCODER_VP9_TEMPORAL_FILTER_H_
+#endif // VPX_VP9_ENCODER_VP9_TEMPORAL_FILTER_H_
diff --git a/vp9/encoder/vp9_tokenize.h b/vp9/encoder/vp9_tokenize.h
index b2f63ffef..6407ff923 100644
--- a/vp9/encoder/vp9_tokenize.h
+++ b/vp9/encoder/vp9_tokenize.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_VP9_TOKENIZE_H_
-#define VP9_ENCODER_VP9_TOKENIZE_H_
+#ifndef VPX_VP9_ENCODER_VP9_TOKENIZE_H_
+#define VPX_VP9_ENCODER_VP9_TOKENIZE_H_
#include "vp9/common/vp9_entropy.h"
@@ -127,4 +127,4 @@ static INLINE int vp9_get_token_cost(int v, int16_t *token,
} // extern "C"
#endif
-#endif // VP9_ENCODER_VP9_TOKENIZE_H_
+#endif // VPX_VP9_ENCODER_VP9_TOKENIZE_H_
diff --git a/vp9/encoder/vp9_treewriter.h b/vp9/encoder/vp9_treewriter.h
index a8b9c2cd3..86c5fa224 100644
--- a/vp9/encoder/vp9_treewriter.h
+++ b/vp9/encoder/vp9_treewriter.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_VP9_TREEWRITER_H_
-#define VP9_ENCODER_VP9_TREEWRITER_H_
+#ifndef VPX_VP9_ENCODER_VP9_TREEWRITER_H_
+#define VPX_VP9_ENCODER_VP9_TREEWRITER_H_
#include "vpx_dsp/bitwriter.h"
@@ -48,4 +48,4 @@ static INLINE void vp9_write_token(vpx_writer *w, const vpx_tree_index *tree,
} // extern "C"
#endif
-#endif // VP9_ENCODER_VP9_TREEWRITER_H_
+#endif // VPX_VP9_ENCODER_VP9_TREEWRITER_H_
diff --git a/vp9/vp9_dx_iface.h b/vp9/vp9_dx_iface.h
index 6a101b03d..a1c335278 100644
--- a/vp9/vp9_dx_iface.h
+++ b/vp9/vp9_dx_iface.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_VP9_DX_IFACE_H_
-#define VP9_VP9_DX_IFACE_H_
+#ifndef VPX_VP9_VP9_DX_IFACE_H_
+#define VPX_VP9_VP9_DX_IFACE_H_
#include "vp9/decoder/vp9_decoder.h"
@@ -48,4 +48,4 @@ struct vpx_codec_alg_priv {
int row_mt;
};
-#endif // VP9_VP9_DX_IFACE_H_
+#endif // VPX_VP9_VP9_DX_IFACE_H_
diff --git a/vp9/vp9_iface_common.h b/vp9/vp9_iface_common.h
index 9f27abe46..a1921db63 100644
--- a/vp9/vp9_iface_common.h
+++ b/vp9/vp9_iface_common.h
@@ -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 VP9_VP9_IFACE_COMMON_H_
-#define VP9_VP9_IFACE_COMMON_H_
+#ifndef VPX_VP9_VP9_IFACE_COMMON_H_
+#define VPX_VP9_VP9_IFACE_COMMON_H_
#include "vpx_ports/mem.h"
@@ -142,4 +142,4 @@ static VP9_REFFRAME ref_frame_to_vp9_reframe(vpx_ref_frame_type_t frame) {
assert(0 && "Invalid Reference Frame");
return VP9_LAST_FLAG;
}
-#endif // VP9_VP9_IFACE_COMMON_H_
+#endif // VPX_VP9_VP9_IFACE_COMMON_H_
diff --git a/vpx/internal/vpx_codec_internal.h b/vpx/internal/vpx_codec_internal.h
index 522e5c168..9eed85e5d 100644
--- a/vpx/internal/vpx_codec_internal.h
+++ b/vpx/internal/vpx_codec_internal.h
@@ -40,8 +40,8 @@
* Once initialized, the instance is manged using other functions from
* the vpx_codec_* family.
*/
-#ifndef VPX_INTERNAL_VPX_CODEC_INTERNAL_H_
-#define VPX_INTERNAL_VPX_CODEC_INTERNAL_H_
+#ifndef VPX_VPX_INTERNAL_VPX_CODEC_INTERNAL_H_
+#define VPX_VPX_INTERNAL_VPX_CODEC_INTERNAL_H_
#include "../vpx_decoder.h"
#include "../vpx_encoder.h"
#include <stdarg.h>
@@ -442,4 +442,4 @@ void vpx_internal_error(struct vpx_internal_error_info *info,
} // extern "C"
#endif
-#endif // VPX_INTERNAL_VPX_CODEC_INTERNAL_H_
+#endif // VPX_VPX_INTERNAL_VPX_CODEC_INTERNAL_H_
diff --git a/vpx/vp8.h b/vpx/vp8.h
index 059c9d0f6..442163cc4 100644
--- a/vpx/vp8.h
+++ b/vpx/vp8.h
@@ -27,8 +27,8 @@
/*!\file
* \brief Provides controls common to both the VP8 encoder and decoder.
*/
-#ifndef VPX_VP8_H_
-#define VPX_VP8_H_
+#ifndef VPX_VPX_VP8_H_
+#define VPX_VPX_VP8_H_
#include "./vpx_codec.h"
#include "./vpx_image.h"
@@ -150,4 +150,4 @@ VPX_CTRL_USE_TYPE(VP9_GET_REFERENCE, vp9_ref_frame_t *)
} // extern "C"
#endif
-#endif // VPX_VP8_H_
+#endif // VPX_VPX_VP8_H_
diff --git a/vpx/vp8cx.h b/vpx/vp8cx.h
index 4c11a25cd..7a232b0ef 100644
--- a/vpx/vp8cx.h
+++ b/vpx/vp8cx.h
@@ -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 VPX_VP8CX_H_
-#define VPX_VP8CX_H_
+#ifndef VPX_VPX_VP8CX_H_
+#define VPX_VPX_VP8CX_H_
/*!\defgroup vp8_encoder WebM VP8/VP9 Encoder
* \ingroup vp8
@@ -1008,4 +1008,4 @@ VPX_CTRL_USE_TYPE(VP9E_SET_SVC_SPATIAL_LAYER_SYNC,
} // extern "C"
#endif
-#endif // VPX_VP8CX_H_
+#endif // VPX_VPX_VP8CX_H_
diff --git a/vpx/vp8dx.h b/vpx/vp8dx.h
index d0e39ef01..fd6030107 100644
--- a/vpx/vp8dx.h
+++ b/vpx/vp8dx.h
@@ -17,8 +17,8 @@
* \brief Provides definitions for using VP8 or VP9 within the vpx Decoder
* interface.
*/
-#ifndef VPX_VP8DX_H_
-#define VPX_VP8DX_H_
+#ifndef VPX_VPX_VP8DX_H_
+#define VPX_VPX_VP8DX_H_
#ifdef __cplusplus
extern "C" {
@@ -199,4 +199,4 @@ VPX_CTRL_USE_TYPE(VP9D_SET_ROW_MT, int)
} // extern "C"
#endif
-#endif // VPX_VP8DX_H_
+#endif // VPX_VPX_VP8DX_H_
diff --git a/vpx/vpx_codec.h b/vpx/vpx_codec.h
index ad05f4c74..0f8d7851e 100644
--- a/vpx/vpx_codec.h
+++ b/vpx/vpx_codec.h
@@ -35,8 +35,8 @@
* Once initialized, the instance is manged using other functions from
* the vpx_codec_* family.
*/
-#ifndef VPX_VPX_CODEC_H_
-#define VPX_VPX_CODEC_H_
+#ifndef VPX_VPX_VPX_CODEC_H_
+#define VPX_VPX_VPX_CODEC_H_
#ifdef __cplusplus
extern "C" {
@@ -465,4 +465,4 @@ vpx_codec_err_t vpx_codec_control_(vpx_codec_ctx_t *ctx, int ctrl_id, ...);
#ifdef __cplusplus
}
#endif
-#endif // VPX_VPX_CODEC_H_
+#endif // VPX_VPX_VPX_CODEC_H_
diff --git a/vpx/vpx_decoder.h b/vpx/vpx_decoder.h
index 2ff12112b..f113f7196 100644
--- a/vpx/vpx_decoder.h
+++ b/vpx/vpx_decoder.h
@@ -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 VPX_VPX_DECODER_H_
-#define VPX_VPX_DECODER_H_
+#ifndef VPX_VPX_VPX_DECODER_H_
+#define VPX_VPX_VPX_DECODER_H_
/*!\defgroup decoder Decoder Algorithm Interface
* \ingroup codec
@@ -362,4 +362,4 @@ vpx_codec_err_t vpx_codec_set_frame_buffer_functions(
#ifdef __cplusplus
}
#endif
-#endif // VPX_VPX_DECODER_H_
+#endif // VPX_VPX_VPX_DECODER_H_
diff --git a/vpx/vpx_encoder.h b/vpx/vpx_encoder.h
index ab49bdf7d..bddd72191 100644
--- a/vpx/vpx_encoder.h
+++ b/vpx/vpx_encoder.h
@@ -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 VPX_VPX_ENCODER_H_
-#define VPX_VPX_ENCODER_H_
+#ifndef VPX_VPX_VPX_ENCODER_H_
+#define VPX_VPX_VPX_ENCODER_H_
/*!\defgroup encoder Encoder Algorithm Interface
* \ingroup codec
@@ -981,4 +981,4 @@ const vpx_image_t *vpx_codec_get_preview_frame(vpx_codec_ctx_t *ctx);
#ifdef __cplusplus
}
#endif
-#endif // VPX_VPX_ENCODER_H_
+#endif // VPX_VPX_VPX_ENCODER_H_
diff --git a/vpx/vpx_frame_buffer.h b/vpx/vpx_frame_buffer.h
index ac17c529d..2813ca6d9 100644
--- a/vpx/vpx_frame_buffer.h
+++ b/vpx/vpx_frame_buffer.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_VPX_FRAME_BUFFER_H_
-#define VPX_VPX_FRAME_BUFFER_H_
+#ifndef VPX_VPX_VPX_FRAME_BUFFER_H_
+#define VPX_VPX_VPX_FRAME_BUFFER_H_
/*!\file
* \brief Describes the decoder external frame buffer interface.
@@ -80,4 +80,4 @@ typedef int (*vpx_release_frame_buffer_cb_fn_t)(void *priv,
} // extern "C"
#endif
-#endif // VPX_VPX_FRAME_BUFFER_H_
+#endif // VPX_VPX_VPX_FRAME_BUFFER_H_
diff --git a/vpx/vpx_image.h b/vpx/vpx_image.h
index 0c9cac736..a1b7ce688 100644
--- a/vpx/vpx_image.h
+++ b/vpx/vpx_image.h
@@ -12,8 +12,8 @@
* \brief Describes the vpx image descriptor and associated operations
*
*/
-#ifndef VPX_VPX_IMAGE_H_
-#define VPX_VPX_IMAGE_H_
+#ifndef VPX_VPX_VPX_IMAGE_H_
+#define VPX_VPX_VPX_IMAGE_H_
#ifdef __cplusplus
extern "C" {
@@ -204,4 +204,4 @@ void vpx_img_free(vpx_image_t *img);
} // extern "C"
#endif
-#endif // VPX_VPX_IMAGE_H_
+#endif // VPX_VPX_VPX_IMAGE_H_
diff --git a/vpx/vpx_integer.h b/vpx/vpx_integer.h
index 63417ce2c..4e7236fc5 100644
--- a/vpx/vpx_integer.h
+++ b/vpx/vpx_integer.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_VPX_INTEGER_H_
-#define VPX_VPX_INTEGER_H_
+#ifndef VPX_VPX_VPX_INTEGER_H_
+#define VPX_VPX_VPX_INTEGER_H_
/* get ptrdiff_t, size_t, wchar_t, NULL */
#include <stddef.h>
@@ -60,4 +60,4 @@ typedef size_t uintptr_t;
#include <inttypes.h>
#endif
-#endif // VPX_VPX_INTEGER_H_
+#endif // VPX_VPX_VPX_INTEGER_H_
diff --git a/vpx_dsp/arm/highbd_idct_neon.h b/vpx_dsp/arm/highbd_idct_neon.h
index a17c5a6cc..518ef4336 100644
--- a/vpx_dsp/arm/highbd_idct_neon.h
+++ b/vpx_dsp/arm/highbd_idct_neon.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_ARM_HIGHBD_IDCT_NEON_H_
-#define VPX_DSP_ARM_HIGHBD_IDCT_NEON_H_
+#ifndef VPX_VPX_DSP_ARM_HIGHBD_IDCT_NEON_H_
+#define VPX_VPX_DSP_ARM_HIGHBD_IDCT_NEON_H_
#include <arm_neon.h>
@@ -471,4 +471,4 @@ void vpx_highbd_idct16x16_256_add_half1d(const int32_t *input, int32_t *output,
uint16_t *dest, const int stride,
const int bd);
-#endif // VPX_DSP_ARM_HIGHBD_IDCT_NEON_H_
+#endif // VPX_VPX_DSP_ARM_HIGHBD_IDCT_NEON_H_
diff --git a/vpx_dsp/arm/idct_neon.h b/vpx_dsp/arm/idct_neon.h
index 628392689..c02311326 100644
--- a/vpx_dsp/arm/idct_neon.h
+++ b/vpx_dsp/arm/idct_neon.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_ARM_IDCT_NEON_H_
-#define VPX_DSP_ARM_IDCT_NEON_H_
+#ifndef VPX_VPX_DSP_ARM_IDCT_NEON_H_
+#define VPX_VPX_DSP_ARM_IDCT_NEON_H_
#include <arm_neon.h>
@@ -916,4 +916,4 @@ void vpx_idct32_6_neon(const tran_low_t *input, int16_t *output);
void vpx_idct32_8_neon(const int16_t *input, void *const output, int stride,
const int highbd_flag);
-#endif // VPX_DSP_ARM_IDCT_NEON_H_
+#endif // VPX_VPX_DSP_ARM_IDCT_NEON_H_
diff --git a/vpx_dsp/arm/mem_neon.h b/vpx_dsp/arm/mem_neon.h
index 6745464d7..943865b3c 100644
--- a/vpx_dsp/arm/mem_neon.h
+++ b/vpx_dsp/arm/mem_neon.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_ARM_MEM_NEON_H_
-#define VPX_DSP_ARM_MEM_NEON_H_
+#ifndef VPX_VPX_DSP_ARM_MEM_NEON_H_
+#define VPX_VPX_DSP_ARM_MEM_NEON_H_
#include <arm_neon.h>
#include <assert.h>
@@ -181,4 +181,4 @@ static INLINE void store_u8(uint8_t *buf, int stride, const uint8x8_t a) {
buf += stride;
vst1_lane_u32((uint32_t *)buf, a_u32, 1);
}
-#endif // VPX_DSP_ARM_MEM_NEON_H_
+#endif // VPX_VPX_DSP_ARM_MEM_NEON_H_
diff --git a/vpx_dsp/arm/sum_neon.h b/vpx_dsp/arm/sum_neon.h
index c09841223..9e6833aad 100644
--- a/vpx_dsp/arm/sum_neon.h
+++ b/vpx_dsp/arm/sum_neon.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_ARM_SUM_NEON_H_
-#define VPX_DSP_ARM_SUM_NEON_H_
+#ifndef VPX_VPX_DSP_ARM_SUM_NEON_H_
+#define VPX_VPX_DSP_ARM_SUM_NEON_H_
#include <arm_neon.h>
@@ -35,4 +35,4 @@ static INLINE uint32x2_t horizontal_add_uint32x4(const uint32x4_t a) {
return vadd_u32(vreinterpret_u32_u64(vget_low_u64(b)),
vreinterpret_u32_u64(vget_high_u64(b)));
}
-#endif // VPX_DSP_ARM_SUM_NEON_H_
+#endif // VPX_VPX_DSP_ARM_SUM_NEON_H_
diff --git a/vpx_dsp/arm/transpose_neon.h b/vpx_dsp/arm/transpose_neon.h
index d85cbcee4..43340e48d 100644
--- a/vpx_dsp/arm/transpose_neon.h
+++ b/vpx_dsp/arm/transpose_neon.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_ARM_TRANSPOSE_NEON_H_
-#define VPX_DSP_ARM_TRANSPOSE_NEON_H_
+#ifndef VPX_VPX_DSP_ARM_TRANSPOSE_NEON_H_
+#define VPX_VPX_DSP_ARM_TRANSPOSE_NEON_H_
#include <arm_neon.h>
@@ -1313,4 +1313,4 @@ static INLINE void load_and_transpose_s32_8x8(
transpose_s32_8x8(a0, a1, a2, a3, a4, a5, a6, a7);
}
-#endif // VPX_DSP_ARM_TRANSPOSE_NEON_H_
+#endif // VPX_VPX_DSP_ARM_TRANSPOSE_NEON_H_
diff --git a/vpx_dsp/arm/vpx_convolve8_neon.h b/vpx_dsp/arm/vpx_convolve8_neon.h
index c1634ed55..4f27da9d2 100644
--- a/vpx_dsp/arm/vpx_convolve8_neon.h
+++ b/vpx_dsp/arm/vpx_convolve8_neon.h
@@ -8,6 +8,9 @@
* be found in the AUTHORS file in the root of the source tree.
*/
+#ifndef VPX_VPX_DSP_ARM_VPX_CONVOLVE8_NEON_H_
+#define VPX_VPX_DSP_ARM_VPX_CONVOLVE8_NEON_H_
+
#include <arm_neon.h>
#include "./vpx_config.h"
@@ -131,3 +134,5 @@ static INLINE uint8x8_t scale_filter_8(const uint8x8_t *const s,
return convolve8_8(ss[0], ss[1], ss[2], ss[3], ss[4], ss[5], ss[6], ss[7],
filters, filter3, filter4);
}
+
+#endif // VPX_VPX_DSP_ARM_VPX_CONVOLVE8_NEON_H_
diff --git a/vpx_dsp/arm/vpx_convolve8_neon_asm.h b/vpx_dsp/arm/vpx_convolve8_neon_asm.h
index e1a991171..b123d1cb0 100644
--- a/vpx_dsp/arm/vpx_convolve8_neon_asm.h
+++ b/vpx_dsp/arm/vpx_convolve8_neon_asm.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_ARM_VPX_CONVOLVE8_NEON_ASM_H_
-#define VPX_DSP_ARM_VPX_CONVOLVE8_NEON_ASM_H_
+#ifndef VPX_VPX_DSP_ARM_VPX_CONVOLVE8_NEON_ASM_H_
+#define VPX_VPX_DSP_ARM_VPX_CONVOLVE8_NEON_ASM_H_
#define DECLARE_FILTER(dir, type) \
void vpx_convolve8_##dir##_filter_##type##_neon( \
@@ -26,4 +26,4 @@ DECLARE_FILTER(avg_vert, type1);
DECLARE_FILTER(vert, type2);
DECLARE_FILTER(avg_vert, type2);
-#endif /* VPX_DSP_ARM_VPX_CONVOLVE8_NEON_ASM_H_ */
+#endif // VPX_VPX_DSP_ARM_VPX_CONVOLVE8_NEON_ASM_H_
diff --git a/vpx_dsp/bitreader.h b/vpx_dsp/bitreader.h
index 16272ae3a..fbc100309 100644
--- a/vpx_dsp/bitreader.h
+++ b/vpx_dsp/bitreader.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_BITREADER_H_
-#define VPX_DSP_BITREADER_H_
+#ifndef VPX_VPX_DSP_BITREADER_H_
+#define VPX_VPX_DSP_BITREADER_H_
#include <stddef.h>
#include <limits.h>
@@ -131,4 +131,4 @@ static INLINE int vpx_read_tree(vpx_reader *r, const vpx_tree_index *tree,
} // extern "C"
#endif
-#endif // VPX_DSP_BITREADER_H_
+#endif // VPX_VPX_DSP_BITREADER_H_
diff --git a/vpx_dsp/bitreader_buffer.h b/vpx_dsp/bitreader_buffer.h
index 8a48a95ed..b27703a4d 100644
--- a/vpx_dsp/bitreader_buffer.h
+++ b/vpx_dsp/bitreader_buffer.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_BITREADER_BUFFER_H_
-#define VPX_DSP_BITREADER_BUFFER_H_
+#ifndef VPX_VPX_DSP_BITREADER_BUFFER_H_
+#define VPX_VPX_DSP_BITREADER_BUFFER_H_
#include <limits.h>
@@ -44,4 +44,4 @@ int vpx_rb_read_inv_signed_literal(struct vpx_read_bit_buffer *rb, int bits);
} // extern "C"
#endif
-#endif // VPX_DSP_BITREADER_BUFFER_H_
+#endif // VPX_VPX_DSP_BITREADER_BUFFER_H_
diff --git a/vpx_dsp/bitwriter.h b/vpx_dsp/bitwriter.h
index e63092a1a..ec3975e94 100644
--- a/vpx_dsp/bitwriter.h
+++ b/vpx_dsp/bitwriter.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_BITWRITER_H_
-#define VPX_DSP_BITWRITER_H_
+#ifndef VPX_VPX_DSP_BITWRITER_H_
+#define VPX_VPX_DSP_BITWRITER_H_
#include "vpx_ports/mem.h"
@@ -94,4 +94,4 @@ static INLINE void vpx_write_literal(vpx_writer *w, int data, int bits) {
} // extern "C"
#endif
-#endif // VPX_DSP_BITWRITER_H_
+#endif // VPX_VPX_DSP_BITWRITER_H_
diff --git a/vpx_dsp/bitwriter_buffer.h b/vpx_dsp/bitwriter_buffer.h
index a123a2fe8..3662cb64d 100644
--- a/vpx_dsp/bitwriter_buffer.h
+++ b/vpx_dsp/bitwriter_buffer.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_BITWRITER_BUFFER_H_
-#define VPX_DSP_BITWRITER_BUFFER_H_
+#ifndef VPX_VPX_DSP_BITWRITER_BUFFER_H_
+#define VPX_VPX_DSP_BITWRITER_BUFFER_H_
#include "vpx/vpx_integer.h"
@@ -35,4 +35,4 @@ void vpx_wb_write_inv_signed_literal(struct vpx_write_bit_buffer *wb, int data,
} // extern "C"
#endif
-#endif // VPX_DSP_BITWRITER_BUFFER_H_
+#endif // VPX_VPX_DSP_BITWRITER_BUFFER_H_
diff --git a/vpx_dsp/fwd_txfm.h b/vpx_dsp/fwd_txfm.h
index 29e139c73..a43c8ea7f 100644
--- a/vpx_dsp/fwd_txfm.h
+++ b/vpx_dsp/fwd_txfm.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_FWD_TXFM_H_
-#define VPX_DSP_FWD_TXFM_H_
+#ifndef VPX_VPX_DSP_FWD_TXFM_H_
+#define VPX_VPX_DSP_FWD_TXFM_H_
#include "vpx_dsp/txfm_common.h"
@@ -22,4 +22,4 @@ static INLINE tran_high_t fdct_round_shift(tran_high_t input) {
}
void vpx_fdct32(const tran_high_t *input, tran_high_t *output, int round);
-#endif // VPX_DSP_FWD_TXFM_H_
+#endif // VPX_VPX_DSP_FWD_TXFM_H_
diff --git a/vpx_dsp/inv_txfm.h b/vpx_dsp/inv_txfm.h
index e86fd3996..6eedbeac3 100644
--- a/vpx_dsp/inv_txfm.h
+++ b/vpx_dsp/inv_txfm.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_INV_TXFM_H_
-#define VPX_DSP_INV_TXFM_H_
+#ifndef VPX_VPX_DSP_INV_TXFM_H_
+#define VPX_VPX_DSP_INV_TXFM_H_
#include <assert.h>
@@ -122,4 +122,4 @@ static INLINE uint8_t clip_pixel_add(uint8_t dest, tran_high_t trans) {
} // extern "C"
#endif
-#endif // VPX_DSP_INV_TXFM_H_
+#endif // VPX_VPX_DSP_INV_TXFM_H_
diff --git a/vpx_dsp/mips/common_dspr2.h b/vpx_dsp/mips/common_dspr2.h
index 0a42f5cec..87a5bbab5 100644
--- a/vpx_dsp/mips/common_dspr2.h
+++ b/vpx_dsp/mips/common_dspr2.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_COMMON_MIPS_DSPR2_H_
-#define VPX_COMMON_MIPS_DSPR2_H_
+#ifndef VPX_VPX_DSP_MIPS_COMMON_DSPR2_H_
+#define VPX_VPX_DSP_MIPS_COMMON_DSPR2_H_
#include <assert.h>
#include "./vpx_config.h"
@@ -45,4 +45,4 @@ static INLINE void prefetch_store_streamed(unsigned char *dst) {
} // extern "C"
#endif
-#endif // VPX_COMMON_MIPS_DSPR2_H_
+#endif // VPX_VPX_DSP_MIPS_COMMON_DSPR2_H_
diff --git a/vpx_dsp/mips/convolve_common_dspr2.h b/vpx_dsp/mips/convolve_common_dspr2.h
index 48e440d73..14b65bc65 100644
--- a/vpx_dsp/mips/convolve_common_dspr2.h
+++ b/vpx_dsp/mips/convolve_common_dspr2.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_MIPS_VPX_COMMON_DSPR2_H_
-#define VPX_DSP_MIPS_VPX_COMMON_DSPR2_H_
+#ifndef VPX_VPX_DSP_MIPS_CONVOLVE_COMMON_DSPR2_H_
+#define VPX_VPX_DSP_MIPS_CONVOLVE_COMMON_DSPR2_H_
#include <assert.h>
@@ -55,4 +55,4 @@ void vpx_convolve2_vert_dspr2(const uint8_t *src, ptrdiff_t src_stride,
} // extern "C"
#endif
-#endif // VPX_DSP_MIPS_VPX_COMMON_DSPR2_H_
+#endif // VPX_VPX_DSP_MIPS_CONVOLVE_COMMON_DSPR2_H_
diff --git a/vpx_dsp/mips/fwd_txfm_msa.h b/vpx_dsp/mips/fwd_txfm_msa.h
index fd589224d..c0be56b81 100644
--- a/vpx_dsp/mips/fwd_txfm_msa.h
+++ b/vpx_dsp/mips/fwd_txfm_msa.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_MIPS_FWD_TXFM_MSA_H_
-#define VPX_DSP_MIPS_FWD_TXFM_MSA_H_
+#ifndef VPX_VPX_DSP_MIPS_FWD_TXFM_MSA_H_
+#define VPX_VPX_DSP_MIPS_FWD_TXFM_MSA_H_
#include "vpx_dsp/mips/txfm_macros_msa.h"
#include "vpx_dsp/txfm_common.h"
@@ -361,4 +361,4 @@
void fdct8x16_1d_column(const int16_t *input, int16_t *tmp_ptr,
int32_t src_stride);
void fdct16x8_1d_row(int16_t *input, int16_t *output);
-#endif // VPX_DSP_MIPS_FWD_TXFM_MSA_H_
+#endif // VPX_VPX_DSP_MIPS_FWD_TXFM_MSA_H_
diff --git a/vpx_dsp/mips/inv_txfm_dspr2.h b/vpx_dsp/mips/inv_txfm_dspr2.h
index 27881f0db..9fa693dfc 100644
--- a/vpx_dsp/mips/inv_txfm_dspr2.h
+++ b/vpx_dsp/mips/inv_txfm_dspr2.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_MIPS_INV_TXFM_DSPR2_H_
-#define VPX_DSP_MIPS_INV_TXFM_DSPR2_H_
+#ifndef VPX_VPX_DSP_MIPS_INV_TXFM_DSPR2_H_
+#define VPX_VPX_DSP_MIPS_INV_TXFM_DSPR2_H_
#include <assert.h>
@@ -73,4 +73,4 @@ void iadst16_dspr2(const int16_t *input, int16_t *output);
} // extern "C"
#endif
-#endif // VPX_DSP_MIPS_INV_TXFM_DSPR2_H_
+#endif // VPX_VPX_DSP_MIPS_INV_TXFM_DSPR2_H_
diff --git a/vpx_dsp/mips/inv_txfm_msa.h b/vpx_dsp/mips/inv_txfm_msa.h
index 1fe9b28e8..3b66249ef 100644
--- a/vpx_dsp/mips/inv_txfm_msa.h
+++ b/vpx_dsp/mips/inv_txfm_msa.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_MIPS_INV_TXFM_MSA_H_
-#define VPX_DSP_MIPS_INV_TXFM_MSA_H_
+#ifndef VPX_VPX_DSP_MIPS_INV_TXFM_MSA_H_
+#define VPX_VPX_DSP_MIPS_INV_TXFM_MSA_H_
#include "vpx_dsp/mips/macros_msa.h"
#include "vpx_dsp/mips/txfm_macros_msa.h"
@@ -408,4 +408,4 @@ void vpx_idct16_1d_rows_msa(const int16_t *input, int16_t *output);
void vpx_iadst16_1d_columns_addblk_msa(int16_t *input, uint8_t *dst,
int32_t dst_stride);
void vpx_iadst16_1d_rows_msa(const int16_t *input, int16_t *output);
-#endif // VPX_DSP_MIPS_INV_TXFM_MSA_H_
+#endif // VPX_VPX_DSP_MIPS_INV_TXFM_MSA_H_
diff --git a/vpx_dsp/mips/loopfilter_filters_dspr2.h b/vpx_dsp/mips/loopfilter_filters_dspr2.h
index 5b0c73345..ec339be86 100644
--- a/vpx_dsp/mips/loopfilter_filters_dspr2.h
+++ b/vpx_dsp/mips/loopfilter_filters_dspr2.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_COMMON_MIPS_DSPR2_VP9_LOOPFILTER_FILTERS_DSPR2_H_
-#define VP9_COMMON_MIPS_DSPR2_VP9_LOOPFILTER_FILTERS_DSPR2_H_
+#ifndef VPX_VPX_DSP_MIPS_LOOPFILTER_FILTERS_DSPR2_H_
+#define VPX_VPX_DSP_MIPS_LOOPFILTER_FILTERS_DSPR2_H_
#include <stdlib.h>
@@ -731,4 +731,4 @@ static INLINE void wide_mbfilter_dspr2(
} // extern "C"
#endif
-#endif // VP9_COMMON_MIPS_DSPR2_VP9_LOOPFILTER_FILTERS_DSPR2_H_
+#endif // VPX_VPX_DSP_MIPS_LOOPFILTER_FILTERS_DSPR2_H_
diff --git a/vpx_dsp/mips/loopfilter_macros_dspr2.h b/vpx_dsp/mips/loopfilter_macros_dspr2.h
index 38ed0b2a6..9af0b4236 100644
--- a/vpx_dsp/mips/loopfilter_macros_dspr2.h
+++ b/vpx_dsp/mips/loopfilter_macros_dspr2.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_COMMON_MIPS_DSPR2_VP9_LOOPFILTER_MACROS_DSPR2_H_
-#define VP9_COMMON_MIPS_DSPR2_VP9_LOOPFILTER_MACROS_DSPR2_H_
+#ifndef VPX_VPX_DSP_MIPS_LOOPFILTER_MACROS_DSPR2_H_
+#define VPX_VPX_DSP_MIPS_LOOPFILTER_MACROS_DSPR2_H_
#include <stdlib.h>
@@ -432,4 +432,4 @@ extern "C" {
} // extern "C"
#endif
-#endif // VP9_COMMON_MIPS_DSPR2_VP9_LOOPFILTER_MACROS_DSPR2_H_
+#endif // VPX_VPX_DSP_MIPS_LOOPFILTER_MACROS_DSPR2_H_
diff --git a/vpx_dsp/mips/loopfilter_masks_dspr2.h b/vpx_dsp/mips/loopfilter_masks_dspr2.h
index ee1114226..24c492bea 100644
--- a/vpx_dsp/mips/loopfilter_masks_dspr2.h
+++ b/vpx_dsp/mips/loopfilter_masks_dspr2.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_COMMON_MIPS_DSPR2_VP9_LOOPFILTER_MASKS_DSPR2_H_
-#define VP9_COMMON_MIPS_DSPR2_VP9_LOOPFILTER_MASKS_DSPR2_H_
+#ifndef VPX_VPX_DSP_MIPS_LOOPFILTER_MASKS_DSPR2_H_
+#define VPX_VPX_DSP_MIPS_LOOPFILTER_MASKS_DSPR2_H_
#include <stdlib.h>
@@ -352,4 +352,4 @@ static INLINE void flatmask5(uint32_t p4, uint32_t p3, uint32_t p2, uint32_t p1,
} // extern "C"
#endif
-#endif // VP9_COMMON_MIPS_DSPR2_VP9_LOOPFILTER_MASKS_DSPR2_H_
+#endif // VPX_VPX_DSP_MIPS_LOOPFILTER_MASKS_DSPR2_H_
diff --git a/vpx_dsp/mips/loopfilter_msa.h b/vpx_dsp/mips/loopfilter_msa.h
index 49fd74c25..1ea05e0b0 100644
--- a/vpx_dsp/mips/loopfilter_msa.h
+++ b/vpx_dsp/mips/loopfilter_msa.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_LOOPFILTER_MSA_H_
-#define VPX_DSP_LOOPFILTER_MSA_H_
+#ifndef VPX_VPX_DSP_MIPS_LOOPFILTER_MSA_H_
+#define VPX_VPX_DSP_MIPS_LOOPFILTER_MSA_H_
#include "vpx_dsp/mips/macros_msa.h"
@@ -174,4 +174,4 @@
mask_out = limit_in < (v16u8)mask_out; \
mask_out = __msa_xori_b(mask_out, 0xff); \
}
-#endif /* VPX_DSP_LOOPFILTER_MSA_H_ */
+#endif // VPX_VPX_DSP_MIPS_LOOPFILTER_MSA_H_
diff --git a/vpx_dsp/mips/macros_msa.h b/vpx_dsp/mips/macros_msa.h
index f9a446e7b..a3a5a4dfe 100644
--- a/vpx_dsp/mips/macros_msa.h
+++ b/vpx_dsp/mips/macros_msa.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_MIPS_MACROS_MSA_H_
-#define VPX_DSP_MIPS_MACROS_MSA_H_
+#ifndef VPX_VPX_DSP_MIPS_MACROS_MSA_H_
+#define VPX_VPX_DSP_MIPS_MACROS_MSA_H_
#include <msa.h>
@@ -1966,4 +1966,4 @@
\
tmp1_m; \
})
-#endif /* VPX_DSP_MIPS_MACROS_MSA_H_ */
+#endif // VPX_VPX_DSP_MIPS_MACROS_MSA_H_
diff --git a/vpx_dsp/mips/txfm_macros_msa.h b/vpx_dsp/mips/txfm_macros_msa.h
index f077fa481..f27504a20 100644
--- a/vpx_dsp/mips/txfm_macros_msa.h
+++ b/vpx_dsp/mips/txfm_macros_msa.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_MIPS_TXFM_MACROS_MIPS_MSA_H_
-#define VPX_DSP_MIPS_TXFM_MACROS_MIPS_MSA_H_
+#ifndef VPX_VPX_DSP_MIPS_TXFM_MACROS_MSA_H_
+#define VPX_VPX_DSP_MIPS_TXFM_MACROS_MSA_H_
#include "vpx_dsp/mips/macros_msa.h"
@@ -98,4 +98,4 @@
SRARI_W4_SW(m4_m, m5_m, tmp2_m, tmp3_m, DCT_CONST_BITS); \
PCKEV_H2_SH(m5_m, m4_m, tmp3_m, tmp2_m, out2, out3); \
}
-#endif // VPX_DSP_MIPS_TXFM_MACROS_MIPS_MSA_H_
+#endif // VPX_VPX_DSP_MIPS_TXFM_MACROS_MSA_H_
diff --git a/vpx_dsp/mips/vpx_convolve_msa.h b/vpx_dsp/mips/vpx_convolve_msa.h
index d53244596..a0280c543 100644
--- a/vpx_dsp/mips/vpx_convolve_msa.h
+++ b/vpx_dsp/mips/vpx_convolve_msa.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_MIPS_VPX_CONVOLVE_MSA_H_
-#define VPX_DSP_MIPS_VPX_CONVOLVE_MSA_H_
+#ifndef VPX_VPX_DSP_MIPS_VPX_CONVOLVE_MSA_H_
+#define VPX_VPX_DSP_MIPS_VPX_CONVOLVE_MSA_H_
#include "vpx_dsp/mips/macros_msa.h"
#include "vpx_dsp/vpx_filter.h"
@@ -119,4 +119,4 @@ extern const uint8_t mc_filt_mask_arr[16 * 3];
AVER_UB2_UB(tmp0_m, dst0, tmp1_m, dst1, tmp0_m, tmp1_m); \
ST8x4_UB(tmp0_m, tmp1_m, pdst_m, stride); \
}
-#endif /* VPX_DSP_MIPS_VPX_CONVOLVE_MSA_H_ */
+#endif // VPX_VPX_DSP_MIPS_VPX_CONVOLVE_MSA_H_
diff --git a/vpx_dsp/postproc.h b/vpx_dsp/postproc.h
index 43cb5c8e8..37f993f81 100644
--- a/vpx_dsp/postproc.h
+++ b/vpx_dsp/postproc.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_POSTPROC_H_
-#define VPX_DSP_POSTPROC_H_
+#ifndef VPX_VPX_DSP_POSTPROC_H_
+#define VPX_VPX_DSP_POSTPROC_H_
#ifdef __cplusplus
extern "C" {
@@ -22,4 +22,4 @@ int vpx_setup_noise(double sigma, int8_t *noise, int size);
}
#endif
-#endif // VPX_DSP_POSTPROC_H_
+#endif // VPX_VPX_DSP_POSTPROC_H_
diff --git a/vpx_dsp/ppc/bitdepth_conversion_vsx.h b/vpx_dsp/ppc/bitdepth_conversion_vsx.h
index 2c5d9a4f6..7ac873f9f 100644
--- a/vpx_dsp/ppc/bitdepth_conversion_vsx.h
+++ b/vpx_dsp/ppc/bitdepth_conversion_vsx.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_PPC_BITDEPTH_CONVERSION_VSX_H_
-#define VPX_DSP_PPC_BITDEPTH_CONVERSION_VSX_H_
+#ifndef VPX_VPX_DSP_PPC_BITDEPTH_CONVERSION_VSX_H_
+#define VPX_VPX_DSP_PPC_BITDEPTH_CONVERSION_VSX_H_
#include "./vpx_config.h"
#include "vpx/vpx_integer.h"
@@ -44,4 +44,4 @@ static INLINE void store_tran_low(int16x8_t v, int32_t c, tran_low_t *s) {
#endif
}
-#endif // VPX_DSP_PPC_BITDEPTH_CONVERSION_VSX_H_
+#endif // VPX_VPX_DSP_PPC_BITDEPTH_CONVERSION_VSX_H_
diff --git a/vpx_dsp/ppc/inv_txfm_vsx.h b/vpx_dsp/ppc/inv_txfm_vsx.h
index 36159850a..7031742c1 100644
--- a/vpx_dsp/ppc/inv_txfm_vsx.h
+++ b/vpx_dsp/ppc/inv_txfm_vsx.h
@@ -1,3 +1,16 @@
+/*
+ * Copyright (c) 2018 The WebM project authors. All Rights Reserved.
+ *
+ * Use of this source code is governed by a BSD-style license
+ * that can be found in the LICENSE file in the root of the source
+ * tree. An additional intellectual property rights grant can be found
+ * in the file PATENTS. All contributing project authors may
+ * be found in the AUTHORS file in the root of the source tree.
+ */
+
+#ifndef VPX_VPX_DSP_PPC_INV_TXFM_VSX_H_
+#define VPX_VPX_DSP_PPC_INV_TXFM_VSX_H_
+
#include "vpx_dsp/ppc/types_vsx.h"
void vpx_round_store4x4_vsx(int16x8_t *in, int16x8_t *out, uint8_t *dest,
@@ -31,3 +44,5 @@ void vpx_round_store16x16_vsx(int16x8_t *src0, int16x8_t *src1, uint8_t *dest,
int stride);
void vpx_idct16_vsx(int16x8_t *src0, int16x8_t *src1);
void vpx_iadst16_vsx(int16x8_t *src0, int16x8_t *src1);
+
+#endif // VPX_VPX_DSP_PPC_INV_TXFM_VSX_H_
diff --git a/vpx_dsp/ppc/transpose_vsx.h b/vpx_dsp/ppc/transpose_vsx.h
index 9a87869ef..4883b734a 100644
--- a/vpx_dsp/ppc/transpose_vsx.h
+++ b/vpx_dsp/ppc/transpose_vsx.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_PPC_TRANSPOSE_VSX_H_
-#define VPX_DSP_PPC_TRANSPOSE_VSX_H_
+#ifndef VPX_VPX_DSP_PPC_TRANSPOSE_VSX_H_
+#define VPX_VPX_DSP_PPC_TRANSPOSE_VSX_H_
#include "./vpx_config.h"
#include "vpx_dsp/ppc/types_vsx.h"
@@ -130,4 +130,4 @@ static INLINE void transpose_8x8(const int16x8_t *a, int16x8_t *b) {
b[7] = vec_mergel(s2_3, s2_7);
}
-#endif // VPX_DSP_PPC_TRANSPOSE_VSX_H_
+#endif // VPX_VPX_DSP_PPC_TRANSPOSE_VSX_H_
diff --git a/vpx_dsp/ppc/txfm_common_vsx.h b/vpx_dsp/ppc/txfm_common_vsx.h
index 525bc7838..2907a1fe4 100644
--- a/vpx_dsp/ppc/txfm_common_vsx.h
+++ b/vpx_dsp/ppc/txfm_common_vsx.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_PPC_TXFM_COMMON_VSX_H_
-#define VPX_DSP_PPC_TXFM_COMMON_VSX_H_
+#ifndef VPX_VPX_DSP_PPC_TXFM_COMMON_VSX_H_
+#define VPX_VPX_DSP_PPC_TXFM_COMMON_VSX_H_
#include "vpx_dsp/ppc/types_vsx.h"
@@ -87,4 +87,4 @@ static const int16x8_t cospi30_v = { 1606, 1606, 1606, 1606,
1606, 1606, 1606, 1606 };
static const int16x8_t cospi31_v = { 804, 804, 804, 804, 804, 804, 804, 804 };
-#endif // VPX_DSP_PPC_TXFM_COMMON_VSX_H_
+#endif // VPX_VPX_DSP_PPC_TXFM_COMMON_VSX_H_
diff --git a/vpx_dsp/ppc/types_vsx.h b/vpx_dsp/ppc/types_vsx.h
index f8db6ca89..4cba7d365 100644
--- a/vpx_dsp/ppc/types_vsx.h
+++ b/vpx_dsp/ppc/types_vsx.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_PPC_TYPES_VSX_H_
-#define VPX_DSP_PPC_TYPES_VSX_H_
+#ifndef VPX_VPX_DSP_PPC_TYPES_VSX_H_
+#define VPX_VPX_DSP_PPC_TYPES_VSX_H_
#include <altivec.h>
@@ -105,4 +105,4 @@ static const uint8x16_t vec_perm_odd_even_pack = { 0x00, 0x01, 0x10, 0x11,
0x08, 0x09, 0x18, 0x19,
0x0C, 0x0D, 0x1C, 0x1D };
-#endif // VPX_DSP_PPC_TYPES_VSX_H_
+#endif // VPX_VPX_DSP_PPC_TYPES_VSX_H_
diff --git a/vpx_dsp/prob.h b/vpx_dsp/prob.h
index f1cc0eaa1..30d37c6a7 100644
--- a/vpx_dsp/prob.h
+++ b/vpx_dsp/prob.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_PROB_H_
-#define VPX_DSP_PROB_H_
+#ifndef VPX_VPX_DSP_PROB_H_
+#define VPX_VPX_DSP_PROB_H_
#include <assert.h>
@@ -103,4 +103,4 @@ DECLARE_ALIGNED(16, extern const uint8_t, vpx_norm[256]);
} // extern "C"
#endif
-#endif // VPX_DSP_PROB_H_
+#endif // VPX_VPX_DSP_PROB_H_
diff --git a/vpx_dsp/psnr.h b/vpx_dsp/psnr.h
index 43bcb1f1d..a5563557e 100644
--- a/vpx_dsp/psnr.h
+++ b/vpx_dsp/psnr.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_PSNR_H_
-#define VPX_DSP_PSNR_H_
+#ifndef VPX_VPX_DSP_PSNR_H_
+#define VPX_VPX_DSP_PSNR_H_
#include "vpx_scale/yv12config.h"
@@ -54,4 +54,4 @@ double vpx_psnrhvs(const YV12_BUFFER_CONFIG *source,
#ifdef __cplusplus
} // extern "C"
#endif
-#endif // VPX_DSP_PSNR_H_
+#endif // VPX_VPX_DSP_PSNR_H_
diff --git a/vpx_dsp/quantize.h b/vpx_dsp/quantize.h
index e13284546..94c8206d9 100644
--- a/vpx_dsp/quantize.h
+++ b/vpx_dsp/quantize.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_QUANTIZE_H_
-#define VPX_DSP_QUANTIZE_H_
+#ifndef VPX_VPX_DSP_QUANTIZE_H_
+#define VPX_VPX_DSP_QUANTIZE_H_
#include "./vpx_config.h"
#include "vpx_dsp/vpx_dsp_common.h"
@@ -45,4 +45,4 @@ void vpx_highbd_quantize_dc_32x32(const tran_low_t *coeff_ptr, int skip_block,
} // extern "C"
#endif
-#endif // VPX_DSP_QUANTIZE_H_
+#endif // VPX_VPX_DSP_QUANTIZE_H_
diff --git a/vpx_dsp/skin_detection.h b/vpx_dsp/skin_detection.h
index a2e99baf7..91640c33d 100644
--- a/vpx_dsp/skin_detection.h
+++ b/vpx_dsp/skin_detection.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_SKIN_DETECTION_H_
-#define VPX_DSP_SKIN_DETECTION_H_
+#ifndef VPX_VPX_DSP_SKIN_DETECTION_H_
+#define VPX_VPX_DSP_SKIN_DETECTION_H_
#ifdef __cplusplus
extern "C" {
@@ -21,4 +21,4 @@ int vpx_skin_pixel(const int y, const int cb, const int cr, int motion);
} // extern "C"
#endif
-#endif // VPX_DSP_SKIN_DETECTION_H_
+#endif // VPX_VPX_DSP_SKIN_DETECTION_H_
diff --git a/vpx_dsp/ssim.h b/vpx_dsp/ssim.h
index 4f2bb1d55..c382237fc 100644
--- a/vpx_dsp/ssim.h
+++ b/vpx_dsp/ssim.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_SSIM_H_
-#define VPX_DSP_SSIM_H_
+#ifndef VPX_VPX_DSP_SSIM_H_
+#define VPX_VPX_DSP_SSIM_H_
#define MAX_SSIM_DB 100.0;
@@ -84,4 +84,4 @@ double vpx_highbd_calc_ssim(const YV12_BUFFER_CONFIG *source,
} // extern "C"
#endif
-#endif // VPX_DSP_SSIM_H_
+#endif // VPX_VPX_DSP_SSIM_H_
diff --git a/vpx_dsp/txfm_common.h b/vpx_dsp/txfm_common.h
index d01d7085a..25f4fdb32 100644
--- a/vpx_dsp/txfm_common.h
+++ b/vpx_dsp/txfm_common.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_TXFM_COMMON_H_
-#define VPX_DSP_TXFM_COMMON_H_
+#ifndef VPX_VPX_DSP_TXFM_COMMON_H_
+#define VPX_VPX_DSP_TXFM_COMMON_H_
#include "vpx_dsp/vpx_dsp_common.h"
@@ -63,4 +63,4 @@ static const tran_coef_t sinpi_2_9 = 9929;
static const tran_coef_t sinpi_3_9 = 13377;
static const tran_coef_t sinpi_4_9 = 15212;
-#endif // VPX_DSP_TXFM_COMMON_H_
+#endif // VPX_VPX_DSP_TXFM_COMMON_H_
diff --git a/vpx_dsp/variance.h b/vpx_dsp/variance.h
index 100573299..b67e9297e 100644
--- a/vpx_dsp/variance.h
+++ b/vpx_dsp/variance.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_VARIANCE_H_
-#define VPX_DSP_VARIANCE_H_
+#ifndef VPX_VPX_DSP_VARIANCE_H_
+#define VPX_VPX_DSP_VARIANCE_H_
#include "./vpx_config.h"
@@ -82,4 +82,4 @@ typedef struct vp9_variance_vtable {
} // extern "C"
#endif
-#endif // VPX_DSP_VARIANCE_H_
+#endif // VPX_VPX_DSP_VARIANCE_H_
diff --git a/vpx_dsp/vpx_convolve.h b/vpx_dsp/vpx_convolve.h
index 7979268a9..d5793e17a 100644
--- a/vpx_dsp/vpx_convolve.h
+++ b/vpx_dsp/vpx_convolve.h
@@ -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 VPX_DSP_VPX_CONVOLVE_H_
-#define VPX_DSP_VPX_CONVOLVE_H_
+#ifndef VPX_VPX_DSP_VPX_CONVOLVE_H_
+#define VPX_VPX_DSP_VPX_CONVOLVE_H_
#include "./vpx_config.h"
#include "vpx/vpx_integer.h"
@@ -35,4 +35,4 @@ typedef void (*highbd_convolve_fn_t)(const uint16_t *src, ptrdiff_t src_stride,
} // extern "C"
#endif
-#endif // VPX_DSP_VPX_CONVOLVE_H_
+#endif // VPX_VPX_DSP_VPX_CONVOLVE_H_
diff --git a/vpx_dsp/vpx_dsp_common.h b/vpx_dsp/vpx_dsp_common.h
index c8c852374..6782c9063 100644
--- a/vpx_dsp/vpx_dsp_common.h
+++ b/vpx_dsp/vpx_dsp_common.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_VPX_DSP_COMMON_H_
-#define VPX_DSP_VPX_DSP_COMMON_H_
+#ifndef VPX_VPX_DSP_VPX_DSP_COMMON_H_
+#define VPX_VPX_DSP_VPX_DSP_COMMON_H_
#include "./vpx_config.h"
#include "vpx/vpx_integer.h"
@@ -70,4 +70,4 @@ static INLINE uint16_t clip_pixel_highbd(int val, int bd) {
} // extern "C"
#endif
-#endif // VPX_DSP_VPX_DSP_COMMON_H_
+#endif // VPX_VPX_DSP_VPX_DSP_COMMON_H_
diff --git a/vpx_dsp/vpx_filter.h b/vpx_dsp/vpx_filter.h
index 6cea251bc..05eb57265 100644
--- a/vpx_dsp/vpx_filter.h
+++ b/vpx_dsp/vpx_filter.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_VPX_FILTER_H_
-#define VPX_DSP_VPX_FILTER_H_
+#ifndef VPX_VPX_DSP_VPX_FILTER_H_
+#define VPX_VPX_DSP_VPX_FILTER_H_
#include "vpx/vpx_integer.h"
@@ -30,4 +30,4 @@ typedef int16_t InterpKernel[SUBPEL_TAPS];
} // extern "C"
#endif
-#endif // VPX_DSP_VPX_FILTER_H_
+#endif // VPX_VPX_DSP_VPX_FILTER_H_
diff --git a/vpx_dsp/x86/bitdepth_conversion_avx2.h b/vpx_dsp/x86/bitdepth_conversion_avx2.h
index 3552c07cd..c02b47a3e 100644
--- a/vpx_dsp/x86/bitdepth_conversion_avx2.h
+++ b/vpx_dsp/x86/bitdepth_conversion_avx2.h
@@ -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 VPX_DSP_X86_BITDEPTH_CONVERSION_AVX2_H_
-#define VPX_DSP_X86_BITDEPTH_CONVERSION_AVX2_H_
+#ifndef VPX_VPX_DSP_X86_BITDEPTH_CONVERSION_AVX2_H_
+#define VPX_VPX_DSP_X86_BITDEPTH_CONVERSION_AVX2_H_
#include <immintrin.h>
@@ -41,4 +41,4 @@ static INLINE void store_tran_low(__m256i a, tran_low_t *b) {
_mm256_storeu_si256((__m256i *)b, a);
#endif
}
-#endif // VPX_DSP_X86_BITDEPTH_CONVERSION_AVX2_H_
+#endif // VPX_VPX_DSP_X86_BITDEPTH_CONVERSION_AVX2_H_
diff --git a/vpx_dsp/x86/bitdepth_conversion_sse2.h b/vpx_dsp/x86/bitdepth_conversion_sse2.h
index 5d1d77957..74dde656b 100644
--- a/vpx_dsp/x86/bitdepth_conversion_sse2.h
+++ b/vpx_dsp/x86/bitdepth_conversion_sse2.h
@@ -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 VPX_DSP_X86_BITDEPTH_CONVERSION_SSE2_H_
-#define VPX_DSP_X86_BITDEPTH_CONVERSION_SSE2_H_
+#ifndef VPX_VPX_DSP_X86_BITDEPTH_CONVERSION_SSE2_H_
+#define VPX_VPX_DSP_X86_BITDEPTH_CONVERSION_SSE2_H_
#include <xmmintrin.h>
@@ -53,4 +53,4 @@ static INLINE void store_zero_tran_low(tran_low_t *a) {
_mm_store_si128((__m128i *)(a), zero);
#endif
}
-#endif // VPX_DSP_X86_BITDEPTH_CONVERSION_SSE2_H_
+#endif // VPX_VPX_DSP_X86_BITDEPTH_CONVERSION_SSE2_H_
diff --git a/vpx_dsp/x86/convolve.h b/vpx_dsp/x86/convolve.h
index 68d7589d4..bb427c8a3 100644
--- a/vpx_dsp/x86/convolve.h
+++ b/vpx_dsp/x86/convolve.h
@@ -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 VPX_DSP_X86_CONVOLVE_H_
-#define VPX_DSP_X86_CONVOLVE_H_
+#ifndef VPX_VPX_DSP_X86_CONVOLVE_H_
+#define VPX_VPX_DSP_X86_CONVOLVE_H_
#include <assert.h>
@@ -200,4 +200,4 @@ typedef void highbd_filter8_1dfunction(const uint16_t *src_ptr,
}
#endif // CONFIG_VP9_HIGHBITDEPTH
-#endif // VPX_DSP_X86_CONVOLVE_H_
+#endif // VPX_VPX_DSP_X86_CONVOLVE_H_
diff --git a/vpx_dsp/x86/convolve_avx2.h b/vpx_dsp/x86/convolve_avx2.h
index bc96b738f..343af9fd0 100644
--- a/vpx_dsp/x86/convolve_avx2.h
+++ b/vpx_dsp/x86/convolve_avx2.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_X86_CONVOLVE_AVX2_H_
-#define VPX_DSP_X86_CONVOLVE_AVX2_H_
+#ifndef VPX_VPX_DSP_X86_CONVOLVE_AVX2_H_
+#define VPX_VPX_DSP_X86_CONVOLVE_AVX2_H_
#include <immintrin.h> // AVX2
@@ -102,4 +102,4 @@ static INLINE __m128i convolve8_8_avx2(const __m256i *const s,
#undef MM256_BROADCASTSI128_SI256
-#endif // VPX_DSP_X86_CONVOLVE_AVX2_H_
+#endif // VPX_VPX_DSP_X86_CONVOLVE_AVX2_H_
diff --git a/vpx_dsp/x86/convolve_ssse3.h b/vpx_dsp/x86/convolve_ssse3.h
index e5d452f99..8a4b16513 100644
--- a/vpx_dsp/x86/convolve_ssse3.h
+++ b/vpx_dsp/x86/convolve_ssse3.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_X86_CONVOLVE_SSSE3_H_
-#define VPX_DSP_X86_CONVOLVE_SSSE3_H_
+#ifndef VPX_VPX_DSP_X86_CONVOLVE_SSSE3_H_
+#define VPX_VPX_DSP_X86_CONVOLVE_SSSE3_H_
#include <assert.h>
#include <tmmintrin.h> // SSSE3
@@ -109,4 +109,4 @@ static INLINE __m128i convolve8_8_odd_offset_ssse3(const __m128i *const s,
return temp;
}
-#endif // VPX_DSP_X86_CONVOLVE_SSSE3_H_
+#endif // VPX_VPX_DSP_X86_CONVOLVE_SSSE3_H_
diff --git a/vpx_dsp/x86/fwd_txfm_sse2.h b/vpx_dsp/x86/fwd_txfm_sse2.h
index 5201e764c..ffd37ff37 100644
--- a/vpx_dsp/x86/fwd_txfm_sse2.h
+++ b/vpx_dsp/x86/fwd_txfm_sse2.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_X86_FWD_TXFM_SSE2_H_
-#define VPX_DSP_X86_FWD_TXFM_SSE2_H_
+#ifndef VPX_VPX_DSP_X86_FWD_TXFM_SSE2_H_
+#define VPX_VPX_DSP_X86_FWD_TXFM_SSE2_H_
#ifdef __cplusplus
extern "C" {
@@ -368,4 +368,4 @@ static INLINE void transpose_and_output8x8(
} // extern "C"
#endif
-#endif // VPX_DSP_X86_FWD_TXFM_SSE2_H_
+#endif // VPX_VPX_DSP_X86_FWD_TXFM_SSE2_H_
diff --git a/vpx_dsp/x86/highbd_inv_txfm_sse2.h b/vpx_dsp/x86/highbd_inv_txfm_sse2.h
index c89666b1e..78cf9111d 100644
--- a/vpx_dsp/x86/highbd_inv_txfm_sse2.h
+++ b/vpx_dsp/x86/highbd_inv_txfm_sse2.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_X86_HIGHBD_INV_TXFM_SSE2_H_
-#define VPX_DSP_X86_HIGHBD_INV_TXFM_SSE2_H_
+#ifndef VPX_VPX_DSP_X86_HIGHBD_INV_TXFM_SSE2_H_
+#define VPX_VPX_DSP_X86_HIGHBD_INV_TXFM_SSE2_H_
#include <emmintrin.h> // SSE2
@@ -401,4 +401,4 @@ static INLINE void highbd_write_buffer_4(uint16_t *const dest, const __m128i in,
recon_and_store_4(out, dest, bd);
}
-#endif // VPX_DSP_X86_HIGHBD_INV_TXFM_SSE2_H_
+#endif // VPX_VPX_DSP_X86_HIGHBD_INV_TXFM_SSE2_H_
diff --git a/vpx_dsp/x86/highbd_inv_txfm_sse4.h b/vpx_dsp/x86/highbd_inv_txfm_sse4.h
index 5a7fd1d39..f446bb13f 100644
--- a/vpx_dsp/x86/highbd_inv_txfm_sse4.h
+++ b/vpx_dsp/x86/highbd_inv_txfm_sse4.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_X86_HIGHBD_INV_TXFM_SSE4_H_
-#define VPX_DSP_X86_HIGHBD_INV_TXFM_SSE4_H_
+#ifndef VPX_VPX_DSP_X86_HIGHBD_INV_TXFM_SSE4_H_
+#define VPX_VPX_DSP_X86_HIGHBD_INV_TXFM_SSE4_H_
#include <smmintrin.h> // SSE4.1
@@ -109,4 +109,4 @@ static INLINE void highbd_idct4_sse4_1(__m128i *const io) {
void vpx_highbd_idct8x8_half1d_sse4_1(__m128i *const io);
void vpx_highbd_idct16_4col_sse4_1(__m128i *const io /*io[16]*/);
-#endif // VPX_DSP_X86_HIGHBD_INV_TXFM_SSE4_H_
+#endif // VPX_VPX_DSP_X86_HIGHBD_INV_TXFM_SSE4_H_
diff --git a/vpx_dsp/x86/inv_txfm_sse2.h b/vpx_dsp/x86/inv_txfm_sse2.h
index d573f66c9..b4bbd186d 100644
--- a/vpx_dsp/x86/inv_txfm_sse2.h
+++ b/vpx_dsp/x86/inv_txfm_sse2.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_X86_INV_TXFM_SSE2_H_
-#define VPX_DSP_X86_INV_TXFM_SSE2_H_
+#ifndef VPX_VPX_DSP_X86_INV_TXFM_SSE2_H_
+#define VPX_VPX_DSP_X86_INV_TXFM_SSE2_H_
#include <emmintrin.h> // SSE2
@@ -707,4 +707,4 @@ void idct32_1024_8x32(const __m128i *const in, __m128i *const out);
void idct32_34_8x32_sse2(const __m128i *const in, __m128i *const out);
void idct32_34_8x32_ssse3(const __m128i *const in, __m128i *const out);
-#endif // VPX_DSP_X86_INV_TXFM_SSE2_H_
+#endif // VPX_VPX_DSP_X86_INV_TXFM_SSE2_H_
diff --git a/vpx_dsp/x86/inv_txfm_ssse3.h b/vpx_dsp/x86/inv_txfm_ssse3.h
index e785c8eda..e9f0f6903 100644
--- a/vpx_dsp/x86/inv_txfm_ssse3.h
+++ b/vpx_dsp/x86/inv_txfm_ssse3.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_X86_INV_TXFM_SSSE3_H_
-#define VPX_DSP_X86_INV_TXFM_SSSE3_H_
+#ifndef VPX_VPX_DSP_X86_INV_TXFM_SSSE3_H_
+#define VPX_VPX_DSP_X86_INV_TXFM_SSSE3_H_
#include <tmmintrin.h>
@@ -107,4 +107,4 @@ static INLINE void idct8x8_12_add_kernel_ssse3(__m128i *const io /* io[8] */) {
void idct32_135_8x32_ssse3(const __m128i *const in, __m128i *const out);
-#endif // VPX_DSP_X86_INV_TXFM_SSSE3_H_
+#endif // VPX_VPX_DSP_X86_INV_TXFM_SSSE3_H_
diff --git a/vpx_dsp/x86/mem_sse2.h b/vpx_dsp/x86/mem_sse2.h
index 419f17863..943d7d7fe 100644
--- a/vpx_dsp/x86/mem_sse2.h
+++ b/vpx_dsp/x86/mem_sse2.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_X86_MEM_SSE2_H_
-#define VPX_DSP_X86_MEM_SSE2_H_
+#ifndef VPX_VPX_DSP_X86_MEM_SSE2_H_
+#define VPX_VPX_DSP_X86_MEM_SSE2_H_
#include <emmintrin.h> // SSE2
@@ -126,4 +126,4 @@ static INLINE void storeu_8bit_16x4(const __m128i *const s, uint8_t *const d,
_mm_storeu_si128((__m128i *)(d + 3 * stride), s[3]);
}
-#endif // VPX_DSP_X86_MEM_SSE2_H_
+#endif // VPX_VPX_DSP_X86_MEM_SSE2_H_
diff --git a/vpx_dsp/x86/quantize_x86.h b/vpx_dsp/x86/quantize_x86.h
index 0e07a2ac5..bb9e32f71 100644
--- a/vpx_dsp/x86/quantize_x86.h
+++ b/vpx_dsp/x86/quantize_x86.h
@@ -8,6 +8,9 @@
* be found in the AUTHORS file in the root of the source tree.
*/
+#ifndef VPX_VPX_DSP_X86_QUANTIZE_X86_H_
+#define VPX_VPX_DSP_X86_QUANTIZE_X86_H_
+
#include <emmintrin.h>
#include "./vpx_config.h"
@@ -75,3 +78,5 @@ static INLINE int16_t accumulate_eob(__m128i eob) {
eob = _mm_max_epi16(eob, eob_shuffled);
return _mm_extract_epi16(eob, 1);
}
+
+#endif // VPX_VPX_DSP_X86_QUANTIZE_X86_H_
diff --git a/vpx_dsp/x86/transpose_sse2.h b/vpx_dsp/x86/transpose_sse2.h
index 8a0119ca7..6e07871b1 100644
--- a/vpx_dsp/x86/transpose_sse2.h
+++ b/vpx_dsp/x86/transpose_sse2.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_X86_TRANSPOSE_SSE2_H_
-#define VPX_DSP_X86_TRANSPOSE_SSE2_H_
+#ifndef VPX_VPX_DSP_X86_TRANSPOSE_SSE2_H_
+#define VPX_VPX_DSP_X86_TRANSPOSE_SSE2_H_
#include <emmintrin.h> // SSE2
@@ -364,4 +364,4 @@ static INLINE void transpose_32bit_8x4(const __m128i *const in,
out[7] = _mm_unpackhi_epi64(a6, a7);
}
-#endif // VPX_DSP_X86_TRANSPOSE_SSE2_H_
+#endif // VPX_VPX_DSP_X86_TRANSPOSE_SSE2_H_
diff --git a/vpx_dsp/x86/txfm_common_sse2.h b/vpx_dsp/x86/txfm_common_sse2.h
index 0a9542c85..de5ce43b0 100644
--- a/vpx_dsp/x86/txfm_common_sse2.h
+++ b/vpx_dsp/x86/txfm_common_sse2.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_DSP_X86_TXFM_COMMON_SSE2_H_
-#define VPX_DSP_X86_TXFM_COMMON_SSE2_H_
+#ifndef VPX_VPX_DSP_X86_TXFM_COMMON_SSE2_H_
+#define VPX_VPX_DSP_X86_TXFM_COMMON_SSE2_H_
#include <emmintrin.h>
#include "vpx/vpx_integer.h"
@@ -29,4 +29,4 @@
_mm_setr_epi16((int16_t)(a), (int16_t)(b), (int16_t)(c), (int16_t)(d), \
(int16_t)(e), (int16_t)(f), (int16_t)(g), (int16_t)(h))
-#endif // VPX_DSP_X86_TXFM_COMMON_SSE2_H_
+#endif // VPX_VPX_DSP_X86_TXFM_COMMON_SSE2_H_
diff --git a/vpx_mem/include/vpx_mem_intrnl.h b/vpx_mem/include/vpx_mem_intrnl.h
index 2c259d322..563113024 100644
--- a/vpx_mem/include/vpx_mem_intrnl.h
+++ b/vpx_mem/include/vpx_mem_intrnl.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_MEM_INCLUDE_VPX_MEM_INTRNL_H_
-#define VPX_MEM_INCLUDE_VPX_MEM_INTRNL_H_
+#ifndef VPX_VPX_MEM_INCLUDE_VPX_MEM_INTRNL_H_
+#define VPX_VPX_MEM_INCLUDE_VPX_MEM_INTRNL_H_
#include "./vpx_config.h"
#define ADDRESS_STORAGE_SIZE sizeof(size_t)
@@ -28,4 +28,4 @@
#define align_addr(addr, align) \
(void *)(((size_t)(addr) + ((align)-1)) & ~(size_t)((align)-1))
-#endif // VPX_MEM_INCLUDE_VPX_MEM_INTRNL_H_
+#endif // VPX_VPX_MEM_INCLUDE_VPX_MEM_INTRNL_H_
diff --git a/vpx_mem/vpx_mem.h b/vpx_mem/vpx_mem.h
index a4274b885..7689a05e6 100644
--- a/vpx_mem/vpx_mem.h
+++ b/vpx_mem/vpx_mem.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_MEM_VPX_MEM_H_
-#define VPX_MEM_VPX_MEM_H_
+#ifndef VPX_VPX_MEM_VPX_MEM_H_
+#define VPX_VPX_MEM_VPX_MEM_H_
#include "vpx_config.h"
#if defined(__uClinux__)
@@ -49,4 +49,4 @@ static INLINE void *vpx_memset16(void *dest, int val, size_t length) {
}
#endif
-#endif // VPX_MEM_VPX_MEM_H_
+#endif // VPX_VPX_MEM_VPX_MEM_H_
diff --git a/vpx_ports/arm.h b/vpx_ports/arm.h
index 7be6104a4..6458a2c5b 100644
--- a/vpx_ports/arm.h
+++ b/vpx_ports/arm.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_PORTS_ARM_H_
-#define VPX_PORTS_ARM_H_
+#ifndef VPX_VPX_PORTS_ARM_H_
+#define VPX_VPX_PORTS_ARM_H_
#include <stdlib.h>
#include "vpx_config.h"
@@ -36,4 +36,4 @@ int arm_cpu_caps(void);
} // extern "C"
#endif
-#endif // VPX_PORTS_ARM_H_
+#endif // VPX_VPX_PORTS_ARM_H_
diff --git a/vpx_ports/asmdefs_mmi.h b/vpx_ports/asmdefs_mmi.h
index a9a49745a..28355bf9f 100644
--- a/vpx_ports/asmdefs_mmi.h
+++ b/vpx_ports/asmdefs_mmi.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_PORTS_ASMDEFS_MMI_H_
-#define VPX_PORTS_ASMDEFS_MMI_H_
+#ifndef VPX_VPX_PORTS_ASMDEFS_MMI_H_
+#define VPX_VPX_PORTS_ASMDEFS_MMI_H_
#include "./vpx_config.h"
#include "vpx/vpx_integer.h"
@@ -78,4 +78,4 @@
#endif /* HAVE_MMI */
-#endif /* VPX_PORTS_ASMDEFS_MMI_H_ */
+#endif // VPX_VPX_PORTS_ASMDEFS_MMI_H_
diff --git a/vpx_ports/bitops.h b/vpx_ports/bitops.h
index 0ed7189ff..5b2f31cd1 100644
--- a/vpx_ports/bitops.h
+++ b/vpx_ports/bitops.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_PORTS_BITOPS_H_
-#define VPX_PORTS_BITOPS_H_
+#ifndef VPX_VPX_PORTS_BITOPS_H_
+#define VPX_VPX_PORTS_BITOPS_H_
#include <assert.h>
@@ -72,4 +72,4 @@ static INLINE int get_msb(unsigned int n) {
} // extern "C"
#endif
-#endif // VPX_PORTS_BITOPS_H_
+#endif // VPX_VPX_PORTS_BITOPS_H_
diff --git a/vpx_ports/emmintrin_compat.h b/vpx_ports/emmintrin_compat.h
index 903534e0c..d6cc68ee4 100644
--- a/vpx_ports/emmintrin_compat.h
+++ b/vpx_ports/emmintrin_compat.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_PORTS_EMMINTRIN_COMPAT_H_
-#define VPX_PORTS_EMMINTRIN_COMPAT_H_
+#ifndef VPX_VPX_PORTS_EMMINTRIN_COMPAT_H_
+#define VPX_VPX_PORTS_EMMINTRIN_COMPAT_H_
#if defined(__GNUC__) && __GNUC__ < 4
/* From emmintrin.h (gcc 4.5.3) */
@@ -52,4 +52,4 @@ extern __inline __m128d
}
#endif
-#endif // VPX_PORTS_EMMINTRIN_COMPAT_H_
+#endif // VPX_VPX_PORTS_EMMINTRIN_COMPAT_H_
diff --git a/vpx_ports/mem.h b/vpx_ports/mem.h
index bfef783b1..317c6dc06 100644
--- a/vpx_ports/mem.h
+++ b/vpx_ports/mem.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_PORTS_MEM_H_
-#define VPX_PORTS_MEM_H_
+#ifndef VPX_VPX_PORTS_MEM_H_
+#define VPX_VPX_PORTS_MEM_H_
#include "vpx_config.h"
#include "vpx/vpx_integer.h"
@@ -51,4 +51,4 @@
#define VPX_WITH_ASAN 0
#endif // __has_feature(address_sanitizer) || defined(__SANITIZE_ADDRESS__)
-#endif // VPX_PORTS_MEM_H_
+#endif // VPX_VPX_PORTS_MEM_H_
diff --git a/vpx_ports/mem_ops.h b/vpx_ports/mem_ops.h
index b0608591f..b17015e7e 100644
--- a/vpx_ports/mem_ops.h
+++ b/vpx_ports/mem_ops.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_PORTS_MEM_OPS_H_
-#define VPX_PORTS_MEM_OPS_H_
+#ifndef VPX_VPX_PORTS_MEM_OPS_H_
+#define VPX_VPX_PORTS_MEM_OPS_H_
/* \file
* \brief Provides portable memory access primitives
@@ -224,4 +224,4 @@ static VPX_INLINE void mem_put_le32(void *vmem, MEM_VALUE_T val) {
mem[3] = (MAU_T)((val >> 24) & 0xff);
}
/* clang-format on */
-#endif // VPX_PORTS_MEM_OPS_H_
+#endif // VPX_VPX_PORTS_MEM_OPS_H_
diff --git a/vpx_ports/mem_ops_aligned.h b/vpx_ports/mem_ops_aligned.h
index ccac391ba..8649b8762 100644
--- a/vpx_ports/mem_ops_aligned.h
+++ b/vpx_ports/mem_ops_aligned.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_PORTS_MEM_OPS_ALIGNED_H_
-#define VPX_PORTS_MEM_OPS_ALIGNED_H_
+#ifndef VPX_VPX_PORTS_MEM_OPS_ALIGNED_H_
+#define VPX_VPX_PORTS_MEM_OPS_ALIGNED_H_
#include "vpx/vpx_integer.h"
@@ -168,4 +168,4 @@ mem_put_le_aligned_generic(32)
#undef swap_endian_32_se
/* clang-format on */
-#endif // VPX_PORTS_MEM_OPS_ALIGNED_H_
+#endif // VPX_VPX_PORTS_MEM_OPS_ALIGNED_H_
diff --git a/vpx_ports/msvc.h b/vpx_ports/msvc.h
index 3ff71474b..d58de3535 100644
--- a/vpx_ports/msvc.h
+++ b/vpx_ports/msvc.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_PORTS_MSVC_H_
-#define VPX_PORTS_MSVC_H_
+#ifndef VPX_VPX_PORTS_MSVC_H_
+#define VPX_VPX_PORTS_MSVC_H_
#ifdef _MSC_VER
#include "./vpx_config.h"
@@ -29,4 +29,4 @@ static INLINE double round(double x) {
#endif // _MSC_VER < 1800
#endif // _MSC_VER
-#endif // VPX_PORTS_MSVC_H_
+#endif // VPX_VPX_PORTS_MSVC_H_
diff --git a/vpx_ports/ppc.h b/vpx_ports/ppc.h
index ed29ef25b..a11f4e873 100644
--- a/vpx_ports/ppc.h
+++ b/vpx_ports/ppc.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_PORTS_PPC_H_
-#define VPX_PORTS_PPC_H_
+#ifndef VPX_VPX_PORTS_PPC_H_
+#define VPX_VPX_PORTS_PPC_H_
#include <stdlib.h>
#include "./vpx_config.h"
@@ -26,4 +26,4 @@ int ppc_simd_caps(void);
} // extern "C"
#endif
-#endif // VPX_PORTS_PPC_H_
+#endif // VPX_VPX_PORTS_PPC_H_
diff --git a/vpx_ports/system_state.h b/vpx_ports/system_state.h
index 72993782a..03557e4bd 100644
--- a/vpx_ports/system_state.h
+++ b/vpx_ports/system_state.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_PORTS_SYSTEM_STATE_H_
-#define VPX_PORTS_SYSTEM_STATE_H_
+#ifndef VPX_VPX_PORTS_SYSTEM_STATE_H_
+#define VPX_VPX_PORTS_SYSTEM_STATE_H_
#include "./vpx_config.h"
@@ -27,4 +27,4 @@ extern void vpx_clear_system_state();
} // extern "C"
#endif
-#endif // VPX_PORTS_SYSTEM_STATE_H_
+#endif // VPX_VPX_PORTS_SYSTEM_STATE_H_
diff --git a/vpx_ports/vpx_once.h b/vpx_ports/vpx_once.h
index 7d9fc3b40..4eb592b87 100644
--- a/vpx_ports/vpx_once.h
+++ b/vpx_ports/vpx_once.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_PORTS_VPX_ONCE_H_
-#define VPX_PORTS_VPX_ONCE_H_
+#ifndef VPX_VPX_PORTS_VPX_ONCE_H_
+#define VPX_VPX_PORTS_VPX_ONCE_H_
#include "vpx_config.h"
@@ -137,4 +137,4 @@ static void once(void (*func)(void)) {
}
#endif
-#endif // VPX_PORTS_VPX_ONCE_H_
+#endif // VPX_VPX_PORTS_VPX_ONCE_H_
diff --git a/vpx_ports/vpx_timer.h b/vpx_ports/vpx_timer.h
index 2083b4ece..4934d5296 100644
--- a/vpx_ports/vpx_timer.h
+++ b/vpx_ports/vpx_timer.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_PORTS_VPX_TIMER_H_
-#define VPX_PORTS_VPX_TIMER_H_
+#ifndef VPX_VPX_PORTS_VPX_TIMER_H_
+#define VPX_VPX_PORTS_VPX_TIMER_H_
#include "./vpx_config.h"
@@ -106,4 +106,4 @@ static INLINE int vpx_usec_timer_elapsed(struct vpx_usec_timer *t) { return 0; }
#endif /* CONFIG_OS_SUPPORT */
-#endif // VPX_PORTS_VPX_TIMER_H_
+#endif // VPX_VPX_PORTS_VPX_TIMER_H_
diff --git a/vpx_ports/x86.h b/vpx_ports/x86.h
index 4b053b236..f6aac1832 100644
--- a/vpx_ports/x86.h
+++ b/vpx_ports/x86.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_PORTS_X86_H_
-#define VPX_PORTS_X86_H_
+#ifndef VPX_VPX_PORTS_X86_H_
+#define VPX_VPX_PORTS_X86_H_
#include <stdlib.h>
#if defined(_MSC_VER)
@@ -332,4 +332,4 @@ static INLINE unsigned int x87_set_double_precision(void) {
} // extern "C"
#endif
-#endif // VPX_PORTS_X86_H_
+#endif // VPX_VPX_PORTS_X86_H_
diff --git a/vpx_scale/vpx_scale.h b/vpx_scale/vpx_scale.h
index 478a48346..fd5ba7ccd 100644
--- a/vpx_scale/vpx_scale.h
+++ b/vpx_scale/vpx_scale.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_SCALE_VPX_SCALE_H_
-#define VPX_SCALE_VPX_SCALE_H_
+#ifndef VPX_VPX_SCALE_VPX_SCALE_H_
+#define VPX_VPX_SCALE_VPX_SCALE_H_
#include "vpx_scale/yv12config.h"
@@ -19,4 +19,4 @@ extern void vpx_scale_frame(YV12_BUFFER_CONFIG *src, YV12_BUFFER_CONFIG *dst,
unsigned int vscale, unsigned int vratio,
unsigned int interlaced);
-#endif // VPX_SCALE_VPX_SCALE_H_
+#endif // VPX_VPX_SCALE_VPX_SCALE_H_
diff --git a/vpx_scale/yv12config.h b/vpx_scale/yv12config.h
index b9b336214..53728af42 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 VPX_SCALE_YV12CONFIG_H_
-#define VPX_SCALE_YV12CONFIG_H_
+#ifndef VPX_VPX_SCALE_YV12CONFIG_H_
+#define VPX_VPX_SCALE_YV12CONFIG_H_
#ifdef __cplusplus
extern "C" {
@@ -100,4 +100,4 @@ int vpx_free_frame_buffer(YV12_BUFFER_CONFIG *ybf);
}
#endif
-#endif // VPX_SCALE_YV12CONFIG_H_
+#endif // VPX_VPX_SCALE_YV12CONFIG_H_
diff --git a/vpx_util/endian_inl.h b/vpx_util/endian_inl.h
index dc3877409..1b6ef56c6 100644
--- a/vpx_util/endian_inl.h
+++ b/vpx_util/endian_inl.h
@@ -9,8 +9,8 @@
//
// Endian related functions.
-#ifndef VPX_UTIL_ENDIAN_INL_H_
-#define VPX_UTIL_ENDIAN_INL_H_
+#ifndef VPX_VPX_UTIL_ENDIAN_INL_H_
+#define VPX_VPX_UTIL_ENDIAN_INL_H_
#include <stdlib.h>
#include "./vpx_config.h"
@@ -115,4 +115,4 @@ static INLINE uint64_t BSwap64(uint64_t x) {
#endif // HAVE_BUILTIN_BSWAP64
}
-#endif // VPX_UTIL_ENDIAN_INL_H_
+#endif // VPX_VPX_UTIL_ENDIAN_INL_H_
diff --git a/vpx_util/vpx_atomics.h b/vpx_util/vpx_atomics.h
index 504691065..b06a8dce3 100644
--- a/vpx_util/vpx_atomics.h
+++ b/vpx_util/vpx_atomics.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_UTIL_VPX_ATOMICS_H_
-#define VPX_UTIL_VPX_ATOMICS_H_
+#ifndef VPX_VPX_UTIL_VPX_ATOMICS_H_
+#define VPX_VPX_UTIL_VPX_ATOMICS_H_
#include "./vpx_config.h"
@@ -108,4 +108,4 @@ static INLINE int vpx_atomic_load_acquire(const vpx_atomic_int *atomic) {
} // extern "C"
#endif // __cplusplus
-#endif // VPX_UTIL_VPX_ATOMICS_H_
+#endif // VPX_VPX_UTIL_VPX_ATOMICS_H_
diff --git a/vpx_util/vpx_thread.h b/vpx_util/vpx_thread.h
index 013a6179e..19a8bfe95 100644
--- a/vpx_util/vpx_thread.h
+++ b/vpx_util/vpx_thread.h
@@ -12,8 +12,8 @@
// Original source:
// https://chromium.googlesource.com/webm/libwebp
-#ifndef VPX_THREAD_H_
-#define VPX_THREAD_H_
+#ifndef VPX_VPX_UTIL_VPX_THREAD_H_
+#define VPX_VPX_UTIL_VPX_THREAD_H_
#include "./vpx_config.h"
@@ -429,4 +429,4 @@ const VPxWorkerInterface *vpx_get_worker_interface(void);
} // extern "C"
#endif
-#endif // VPX_THREAD_H_
+#endif // VPX_VPX_UTIL_VPX_THREAD_H_
diff --git a/vpx_util/vpx_write_yuv_frame.h b/vpx_util/vpx_write_yuv_frame.h
index 1cb702981..ce1102458 100644
--- a/vpx_util/vpx_write_yuv_frame.h
+++ b/vpx_util/vpx_write_yuv_frame.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPX_UTIL_VPX_WRITE_YUV_FRAME_H_
-#define VPX_UTIL_VPX_WRITE_YUV_FRAME_H_
+#ifndef VPX_VPX_UTIL_VPX_WRITE_YUV_FRAME_H_
+#define VPX_VPX_UTIL_VPX_WRITE_YUV_FRAME_H_
#include <stdio.h>
#include "vpx_scale/yv12config.h"
@@ -24,4 +24,4 @@ void vpx_write_yuv_frame(FILE *yuv_file, YV12_BUFFER_CONFIG *s);
} // extern "C"
#endif
-#endif // VPX_UTIL_VPX_WRITE_YUV_FRAME_H_
+#endif // VPX_VPX_UTIL_VPX_WRITE_YUV_FRAME_H_
diff --git a/vpxenc.h b/vpxenc.h
index d867e9d95..b780aedca 100644
--- a/vpxenc.h
+++ b/vpxenc.h
@@ -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 VPXENC_H_
-#define VPXENC_H_
+#ifndef VPX_VPXENC_H_
+#define VPX_VPXENC_H_
#include "vpx/vpx_encoder.h"
@@ -61,4 +61,4 @@ struct VpxEncoderConfig {
} // extern "C"
#endif
-#endif // VPXENC_H_
+#endif // VPX_VPXENC_H_
diff --git a/vpxstats.h b/vpxstats.h
index 5c9ea34f7..3625ee329 100644
--- a/vpxstats.h
+++ b/vpxstats.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VPXSTATS_H_
-#define VPXSTATS_H_
+#ifndef VPX_VPXSTATS_H_
+#define VPX_VPXSTATS_H_
#include <stdio.h>
@@ -40,4 +40,4 @@ vpx_fixed_buf_t stats_get(stats_io_t *stats);
} // extern "C"
#endif
-#endif // VPXSTATS_H_
+#endif // VPX_VPXSTATS_H_
diff --git a/warnings.h b/warnings.h
index 6b8ae6796..15558c643 100644
--- a/warnings.h
+++ b/warnings.h
@@ -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 WARNINGS_H_
-#define WARNINGS_H_
+#ifndef VPX_WARNINGS_H_
+#define VPX_WARNINGS_H_
#ifdef __cplusplus
extern "C" {
@@ -30,4 +30,4 @@ void check_encoder_config(int disable_prompt,
} // extern "C"
#endif
-#endif // WARNINGS_H_
+#endif // VPX_WARNINGS_H_
diff --git a/webmdec.h b/webmdec.h
index 7dcb170ca..d8618b07d 100644
--- a/webmdec.h
+++ b/webmdec.h
@@ -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 WEBMDEC_H_
-#define WEBMDEC_H_
+#ifndef VPX_WEBMDEC_H_
+#define VPX_WEBMDEC_H_
#include "./tools_common.h"
@@ -66,4 +66,4 @@ void webm_free(struct WebmInputContext *webm_ctx);
} // extern "C"
#endif
-#endif // WEBMDEC_H_
+#endif // VPX_WEBMDEC_H_
diff --git a/webmenc.h b/webmenc.h
index b4a9e357b..4176e8208 100644
--- a/webmenc.h
+++ b/webmenc.h
@@ -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 WEBMENC_H_
-#define WEBMENC_H_
+#ifndef VPX_WEBMENC_H_
+#define VPX_WEBMENC_H_
#include <stdio.h>
#include <stdlib.h>
@@ -52,4 +52,4 @@ void write_webm_file_footer(struct WebmOutputContext *webm_ctx);
} // extern "C"
#endif
-#endif // WEBMENC_H_
+#endif // VPX_WEBMENC_H_
diff --git a/y4menc.h b/y4menc.h
index 69d590413..9a367e34c 100644
--- a/y4menc.h
+++ b/y4menc.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef Y4MENC_H_
-#define Y4MENC_H_
+#ifndef VPX_Y4MENC_H_
+#define VPX_Y4MENC_H_
#include "./tools_common.h"
@@ -30,4 +30,4 @@ int y4m_write_frame_header(char *buf, size_t len);
} // extern "C"
#endif
-#endif // Y4MENC_H_
+#endif // VPX_Y4MENC_H_
diff --git a/y4minput.h b/y4minput.h
index 9e69ceb83..a4a8b18dc 100644
--- a/y4minput.h
+++ b/y4minput.h
@@ -11,8 +11,8 @@
* Copyright (C) 2002-2010 The Xiph.Org Foundation and contributors.
*/
-#ifndef Y4MINPUT_H_
-#define Y4MINPUT_H_
+#ifndef VPX_Y4MINPUT_H_
+#define VPX_Y4MINPUT_H_
#include <stdio.h>
#include "vpx/vpx_image.h"
@@ -65,4 +65,4 @@ int y4m_input_fetch_frame(y4m_input *_y4m, FILE *_fin, vpx_image_t *img);
} // extern "C"
#endif
-#endif // Y4MINPUT_H_
+#endif // VPX_Y4MINPUT_H_