]> granicus.if.org Git - libvpx/commitdiff
Rename vp8/ codec directory to vp9/.
authorRonald S. Bultje <rbultje@google.com>
Thu, 1 Nov 2012 18:09:58 +0000 (11:09 -0700)
committerRonald S. Bultje <rbultje@google.com>
Thu, 1 Nov 2012 23:31:22 +0000 (16:31 -0700)
Change-Id: Ic084c475844b24092a433ab88138cf58af3abbe4

342 files changed:
build/x86-msvs/obj_int_extract.bat
configure
docs.mk
example_xma.c
examples.mk
examples/decoder_tmpl.txt
examples/encoder_tmpl.txt
examples/postproc.txt
libs.mk
test/boolcoder_test.cc
test/dct16x16_test.cc
test/fdct4x4_test.cc
test/fdct8x8_test.cc
test/idct8x8_test.cc
vp8/vp8_common.mk [deleted file]
vp8/vp8cx.mk [deleted file]
vp8/vp8cx_arm.mk [deleted file]
vp8/vp8dx.mk [deleted file]
vp9/common/alloccommon.c [moved from vp8/common/alloccommon.c with 100% similarity]
vp9/common/alloccommon.h [moved from vp8/common/alloccommon.h with 100% similarity]
vp9/common/arm/arm_systemdependent.c [moved from vp8/common/arm/arm_systemdependent.c with 94% similarity]
vp9/common/arm/armv6/bilinearfilter_v6.asm [moved from vp8/common/arm/armv6/bilinearfilter_v6.asm with 100% similarity]
vp9/common/arm/armv6/copymem16x16_v6.asm [moved from vp8/common/arm/armv6/copymem16x16_v6.asm with 100% similarity]
vp9/common/arm/armv6/copymem8x4_v6.asm [moved from vp8/common/arm/armv6/copymem8x4_v6.asm with 100% similarity]
vp9/common/arm/armv6/copymem8x8_v6.asm [moved from vp8/common/arm/armv6/copymem8x8_v6.asm with 100% similarity]
vp9/common/arm/armv6/dc_only_idct_add_v6.asm [moved from vp8/common/arm/armv6/dc_only_idct_add_v6.asm with 100% similarity]
vp9/common/arm/armv6/filter_v6.asm [moved from vp8/common/arm/armv6/filter_v6.asm with 100% similarity]
vp9/common/arm/armv6/idct_v6.asm [moved from vp8/common/arm/armv6/idct_v6.asm with 100% similarity]
vp9/common/arm/armv6/iwalsh_v6.asm [moved from vp8/common/arm/armv6/iwalsh_v6.asm with 100% similarity]
vp9/common/arm/armv6/loopfilter_v6.asm [moved from vp8/common/arm/armv6/loopfilter_v6.asm with 100% similarity]
vp9/common/arm/armv6/recon_v6.asm [moved from vp8/common/arm/armv6/recon_v6.asm with 100% similarity]
vp9/common/arm/armv6/simpleloopfilter_v6.asm [moved from vp8/common/arm/armv6/simpleloopfilter_v6.asm with 100% similarity]
vp9/common/arm/armv6/sixtappredict8x4_v6.asm [moved from vp8/common/arm/armv6/sixtappredict8x4_v6.asm with 100% similarity]
vp9/common/arm/bilinearfilter_arm.c [moved from vp8/common/arm/bilinearfilter_arm.c with 97% similarity]
vp9/common/arm/bilinearfilter_arm.h [moved from vp8/common/arm/bilinearfilter_arm.h with 100% similarity]
vp9/common/arm/filter_arm.c [moved from vp8/common/arm/filter_arm.c with 98% similarity]
vp9/common/arm/idct_arm.h [moved from vp8/common/arm/idct_arm.h with 100% similarity]
vp9/common/arm/loopfilter_arm.c [moved from vp8/common/arm/loopfilter_arm.c with 99% similarity]
vp9/common/arm/loopfilter_arm.h [moved from vp8/common/arm/loopfilter_arm.h with 100% similarity]
vp9/common/arm/neon/bilinearpredict16x16_neon.asm [moved from vp8/common/arm/neon/bilinearpredict16x16_neon.asm with 100% similarity]
vp9/common/arm/neon/bilinearpredict4x4_neon.asm [moved from vp8/common/arm/neon/bilinearpredict4x4_neon.asm with 100% similarity]
vp9/common/arm/neon/bilinearpredict8x4_neon.asm [moved from vp8/common/arm/neon/bilinearpredict8x4_neon.asm with 100% similarity]
vp9/common/arm/neon/bilinearpredict8x8_neon.asm [moved from vp8/common/arm/neon/bilinearpredict8x8_neon.asm with 100% similarity]
vp9/common/arm/neon/buildintrapredictorsmby_neon.asm [moved from vp8/common/arm/neon/buildintrapredictorsmby_neon.asm with 100% similarity]
vp9/common/arm/neon/copymem16x16_neon.asm [moved from vp8/common/arm/neon/copymem16x16_neon.asm with 100% similarity]
vp9/common/arm/neon/copymem8x4_neon.asm [moved from vp8/common/arm/neon/copymem8x4_neon.asm with 100% similarity]
vp9/common/arm/neon/copymem8x8_neon.asm [moved from vp8/common/arm/neon/copymem8x8_neon.asm with 100% similarity]
vp9/common/arm/neon/dc_only_idct_add_neon.asm [moved from vp8/common/arm/neon/dc_only_idct_add_neon.asm with 100% similarity]
vp9/common/arm/neon/iwalsh_neon.asm [moved from vp8/common/arm/neon/iwalsh_neon.asm with 100% similarity]
vp9/common/arm/neon/loopfilter_neon.asm [moved from vp8/common/arm/neon/loopfilter_neon.asm with 100% similarity]
vp9/common/arm/neon/loopfiltersimplehorizontaledge_neon.asm [moved from vp8/common/arm/neon/loopfiltersimplehorizontaledge_neon.asm with 100% similarity]
vp9/common/arm/neon/loopfiltersimpleverticaledge_neon.asm [moved from vp8/common/arm/neon/loopfiltersimpleverticaledge_neon.asm with 100% similarity]
vp9/common/arm/neon/mbloopfilter_neon.asm [moved from vp8/common/arm/neon/mbloopfilter_neon.asm with 100% similarity]
vp9/common/arm/neon/recon16x16mb_neon.asm [moved from vp8/common/arm/neon/recon16x16mb_neon.asm with 100% similarity]
vp9/common/arm/neon/recon2b_neon.asm [moved from vp8/common/arm/neon/recon2b_neon.asm with 100% similarity]
vp9/common/arm/neon/recon4b_neon.asm [moved from vp8/common/arm/neon/recon4b_neon.asm with 100% similarity]
vp9/common/arm/neon/recon_neon.c [moved from vp8/common/arm/neon/recon_neon.c with 94% similarity]
vp9/common/arm/neon/reconb_neon.asm [moved from vp8/common/arm/neon/reconb_neon.asm with 100% similarity]
vp9/common/arm/neon/save_neon_reg.asm [moved from vp8/common/arm/neon/save_neon_reg.asm with 100% similarity]
vp9/common/arm/neon/shortidct4x4llm_1_neon.asm [moved from vp8/common/arm/neon/shortidct4x4llm_1_neon.asm with 100% similarity]
vp9/common/arm/neon/shortidct4x4llm_neon.asm [moved from vp8/common/arm/neon/shortidct4x4llm_neon.asm with 100% similarity]
vp9/common/arm/neon/sixtappredict16x16_neon.asm [moved from vp8/common/arm/neon/sixtappredict16x16_neon.asm with 100% similarity]
vp9/common/arm/neon/sixtappredict4x4_neon.asm [moved from vp8/common/arm/neon/sixtappredict4x4_neon.asm with 100% similarity]
vp9/common/arm/neon/sixtappredict8x4_neon.asm [moved from vp8/common/arm/neon/sixtappredict8x4_neon.asm with 100% similarity]
vp9/common/arm/neon/sixtappredict8x8_neon.asm [moved from vp8/common/arm/neon/sixtappredict8x8_neon.asm with 100% similarity]
vp9/common/arm/recon_arm.h [moved from vp8/common/arm/recon_arm.h with 100% similarity]
vp9/common/arm/reconintra_arm.c [moved from vp8/common/arm/reconintra_arm.c with 94% similarity]
vp9/common/arm/subpixel_arm.h [moved from vp8/common/arm/subpixel_arm.h with 100% similarity]
vp9/common/asm_com_offsets.c [moved from vp8/common/asm_com_offsets.c with 100% similarity]
vp9/common/blockd.c [moved from vp8/common/blockd.c with 100% similarity]
vp9/common/blockd.h [moved from vp8/common/blockd.h with 100% similarity]
vp9/common/coefupdateprobs.h [moved from vp8/common/coefupdateprobs.h with 100% similarity]
vp9/common/common.h [moved from vp8/common/common.h with 100% similarity]
vp9/common/common_types.h [moved from vp8/common/common_types.h with 100% similarity]
vp9/common/context.c [moved from vp8/common/context.c with 100% similarity]
vp9/common/debugmodes.c [moved from vp8/common/debugmodes.c with 100% similarity]
vp9/common/default_coef_probs.h [moved from vp8/common/default_coef_probs.h with 100% similarity]
vp9/common/entropy.c [moved from vp8/common/entropy.c with 100% similarity]
vp9/common/entropy.h [moved from vp8/common/entropy.h with 100% similarity]
vp9/common/entropymode.c [moved from vp8/common/entropymode.c with 99% similarity]
vp9/common/entropymode.h [moved from vp8/common/entropymode.h with 100% similarity]
vp9/common/entropymv.c [moved from vp8/common/entropymv.c with 100% similarity]
vp9/common/entropymv.h [moved from vp8/common/entropymv.h with 100% similarity]
vp9/common/extend.c [moved from vp8/common/extend.c with 100% similarity]
vp9/common/extend.h [moved from vp8/common/extend.h with 100% similarity]
vp9/common/filter.c [moved from vp8/common/filter.c with 100% similarity]
vp9/common/filter.h [moved from vp8/common/filter.h with 100% similarity]
vp9/common/findnearmv.c [moved from vp8/common/findnearmv.c with 99% similarity]
vp9/common/findnearmv.h [moved from vp8/common/findnearmv.h with 100% similarity]
vp9/common/generic/systemdependent.c [moved from vp8/common/generic/systemdependent.c with 94% similarity]
vp9/common/header.h [moved from vp8/common/header.h with 100% similarity]
vp9/common/idct.h [moved from vp8/common/idct.h with 99% similarity]
vp9/common/idctllm.c [moved from vp8/common/idctllm.c with 99% similarity]
vp9/common/implicit_segmentation.c [moved from vp8/common/implicit_segmentation.c with 99% similarity]
vp9/common/invtrans.c [moved from vp8/common/invtrans.c with 100% similarity]
vp9/common/invtrans.h [moved from vp8/common/invtrans.h with 100% similarity]
vp9/common/loopfilter.c [moved from vp8/common/loopfilter.c with 99% similarity]
vp9/common/loopfilter.h [moved from vp8/common/loopfilter.h with 100% similarity]
vp9/common/loopfilter_filters.c [moved from vp8/common/loopfilter_filters.c with 100% similarity]
vp9/common/maskingmv.c [moved from vp8/common/maskingmv.c with 100% similarity]
vp9/common/mbpitch.c [moved from vp8/common/mbpitch.c with 100% similarity]
vp9/common/modecont.c [moved from vp8/common/modecont.c with 100% similarity]
vp9/common/modecont.h [moved from vp8/common/modecont.h with 100% similarity]
vp9/common/modecontext.c [moved from vp8/common/modecontext.c with 100% similarity]
vp9/common/mv.h [moved from vp8/common/mv.h with 100% similarity]
vp9/common/mvref_common.c [moved from vp8/common/mvref_common.c with 100% similarity]
vp9/common/mvref_common.h [moved from vp8/common/mvref_common.h with 100% similarity]
vp9/common/onyx.h [moved from vp8/common/onyx.h with 100% similarity]
vp9/common/onyxc_int.h [moved from vp8/common/onyxc_int.h with 100% similarity]
vp9/common/onyxd.h [moved from vp8/common/onyxd.h with 100% similarity]
vp9/common/postproc.c [moved from vp8/common/postproc.c with 100% similarity]
vp9/common/postproc.h [moved from vp8/common/postproc.h with 100% similarity]
vp9/common/ppc/copy_altivec.asm [moved from vp8/common/ppc/copy_altivec.asm with 100% similarity]
vp9/common/ppc/filter_altivec.asm [moved from vp8/common/ppc/filter_altivec.asm with 100% similarity]
vp9/common/ppc/filter_bilinear_altivec.asm [moved from vp8/common/ppc/filter_bilinear_altivec.asm with 100% similarity]
vp9/common/ppc/idctllm_altivec.asm [moved from vp8/common/ppc/idctllm_altivec.asm with 100% similarity]
vp9/common/ppc/loopfilter_altivec.c [moved from vp8/common/ppc/loopfilter_altivec.c with 100% similarity]
vp9/common/ppc/loopfilter_filters_altivec.asm [moved from vp8/common/ppc/loopfilter_filters_altivec.asm with 100% similarity]
vp9/common/ppc/platform_altivec.asm [moved from vp8/common/ppc/platform_altivec.asm with 100% similarity]
vp9/common/ppc/recon_altivec.asm [moved from vp8/common/ppc/recon_altivec.asm with 100% similarity]
vp9/common/ppc/systemdependent.c [moved from vp8/common/ppc/systemdependent.c with 100% similarity]
vp9/common/ppflags.h [moved from vp8/common/ppflags.h with 100% similarity]
vp9/common/pragmas.h [moved from vp8/common/pragmas.h with 100% similarity]
vp9/common/pred_common.c [moved from vp8/common/pred_common.c with 99% similarity]
vp9/common/pred_common.h [moved from vp8/common/pred_common.h with 98% similarity]
vp9/common/quant_common.c [moved from vp8/common/quant_common.c with 100% similarity]
vp9/common/quant_common.h [moved from vp8/common/quant_common.h with 100% similarity]
vp9/common/recon.c [moved from vp8/common/recon.c with 100% similarity]
vp9/common/reconinter.c [moved from vp8/common/reconinter.c with 100% similarity]
vp9/common/reconinter.h [moved from vp8/common/reconinter.h with 100% similarity]
vp9/common/reconintra.c [moved from vp8/common/reconintra.c with 100% similarity]
vp9/common/reconintra.h [moved from vp8/common/reconintra.h with 100% similarity]
vp9/common/reconintra4x4.c [moved from vp8/common/reconintra4x4.c with 100% similarity]
vp9/common/reconintra4x4.h [moved from vp8/common/reconintra4x4.h with 100% similarity]
vp9/common/rtcd.c [moved from vp8/common/rtcd.c with 100% similarity]
vp9/common/rtcd_defs.sh [moved from vp8/common/rtcd_defs.sh with 99% similarity]
vp9/common/sadmxn.h [moved from vp8/common/sadmxn.h with 100% similarity]
vp9/common/seg_common.c [moved from vp8/common/seg_common.c with 99% similarity]
vp9/common/seg_common.h [moved from vp8/common/seg_common.h with 98% similarity]
vp9/common/setupintrarecon.c [moved from vp8/common/setupintrarecon.c with 100% similarity]
vp9/common/setupintrarecon.h [moved from vp8/common/setupintrarecon.h with 100% similarity]
vp9/common/subpixel.h [moved from vp8/common/subpixel.h with 100% similarity]
vp9/common/swapyv12buffer.c [moved from vp8/common/swapyv12buffer.c with 100% similarity]
vp9/common/swapyv12buffer.h [moved from vp8/common/swapyv12buffer.h with 100% similarity]
vp9/common/systemdependent.h [moved from vp8/common/systemdependent.h with 100% similarity]
vp9/common/tapify.py [moved from vp8/common/tapify.py with 100% similarity]
vp9/common/textblit.c [moved from vp8/common/textblit.c with 100% similarity]
vp9/common/treecoder.c [moved from vp8/common/treecoder.c with 100% similarity]
vp9/common/treecoder.h [moved from vp8/common/treecoder.h with 100% similarity]
vp9/common/type_aliases.h [moved from vp8/common/type_aliases.h with 100% similarity]
vp9/common/x86/filter_sse2.c [moved from vp8/common/x86/filter_sse2.c with 99% similarity]
vp9/common/x86/filter_sse4.c [moved from vp8/common/x86/filter_sse4.c with 99% similarity]
vp9/common/x86/idct_x86.h [moved from vp8/common/x86/idct_x86.h with 100% similarity]
vp9/common/x86/idctllm_mmx.asm [moved from vp8/common/x86/idctllm_mmx.asm with 100% similarity]
vp9/common/x86/idctllm_sse2.asm [moved from vp8/common/x86/idctllm_sse2.asm with 100% similarity]
vp9/common/x86/iwalsh_mmx.asm [moved from vp8/common/x86/iwalsh_mmx.asm with 100% similarity]
vp9/common/x86/iwalsh_sse2.asm [moved from vp8/common/x86/iwalsh_sse2.asm with 100% similarity]
vp9/common/x86/loopfilter_mmx.asm [moved from vp8/common/x86/loopfilter_mmx.asm with 100% similarity]
vp9/common/x86/loopfilter_sse2.asm [moved from vp8/common/x86/loopfilter_sse2.asm with 100% similarity]
vp9/common/x86/loopfilter_x86.c [moved from vp8/common/x86/loopfilter_x86.c with 99% similarity]
vp9/common/x86/loopfilter_x86.h [moved from vp8/common/x86/loopfilter_x86.h with 100% similarity]
vp9/common/x86/mask_sse3.asm [moved from vp8/common/x86/mask_sse3.asm with 100% similarity]
vp9/common/x86/postproc_mmx.asm [moved from vp8/common/x86/postproc_mmx.asm with 100% similarity]
vp9/common/x86/postproc_sse2.asm [moved from vp8/common/x86/postproc_sse2.asm with 100% similarity]
vp9/common/x86/postproc_x86.h [moved from vp8/common/x86/postproc_x86.h with 100% similarity]
vp9/common/x86/recon_mmx.asm [moved from vp8/common/x86/recon_mmx.asm with 100% similarity]
vp9/common/x86/recon_sse2.asm [moved from vp8/common/x86/recon_sse2.asm with 100% similarity]
vp9/common/x86/recon_wrapper_sse2.c [moved from vp8/common/x86/recon_wrapper_sse2.c with 99% similarity]
vp9/common/x86/sadmxn_x86.c [moved from vp8/common/x86/sadmxn_x86.c with 100% similarity]
vp9/common/x86/subpixel_8t_ssse3.asm [moved from vp8/common/x86/subpixel_8t_ssse3.asm with 100% similarity]
vp9/common/x86/subpixel_mmx.asm [moved from vp8/common/x86/subpixel_mmx.asm with 100% similarity]
vp9/common/x86/subpixel_sse2.asm [moved from vp8/common/x86/subpixel_sse2.asm with 100% similarity]
vp9/common/x86/subpixel_ssse3.asm [moved from vp8/common/x86/subpixel_ssse3.asm with 100% similarity]
vp9/common/x86/subpixel_x86.h [moved from vp8/common/x86/subpixel_x86.h with 100% similarity]
vp9/common/x86/vp8_asm_stubs.c [moved from vp8/common/x86/vp8_asm_stubs.c with 99% similarity]
vp9/common/x86/x86_systemdependent.c [moved from vp8/common/x86/x86_systemdependent.c with 95% similarity]
vp9/decoder/arm/armv6/dequant_dc_idct_v6.asm [moved from vp8/decoder/arm/armv6/dequant_dc_idct_v6.asm with 100% similarity]
vp9/decoder/arm/armv6/dequant_idct_v6.asm [moved from vp8/decoder/arm/armv6/dequant_idct_v6.asm with 100% similarity]
vp9/decoder/arm/armv6/dequantize_v6.asm [moved from vp8/decoder/arm/armv6/dequantize_v6.asm with 100% similarity]
vp9/decoder/arm/armv6/idct_blk_v6.c [moved from vp8/decoder/arm/armv6/idct_blk_v6.c with 98% similarity]
vp9/decoder/arm/dequantize_arm.c [moved from vp8/decoder/arm/dequantize_arm.c with 94% similarity]
vp9/decoder/arm/neon/dequant_idct_neon.asm [moved from vp8/decoder/arm/neon/dequant_idct_neon.asm with 100% similarity]
vp9/decoder/arm/neon/dequantizeb_neon.asm [moved from vp8/decoder/arm/neon/dequantizeb_neon.asm with 100% similarity]
vp9/decoder/arm/neon/idct_blk_neon.c [moved from vp8/decoder/arm/neon/idct_blk_neon.c with 97% similarity]
vp9/decoder/arm/neon/idct_dequant_0_2x_neon.asm [moved from vp8/decoder/arm/neon/idct_dequant_0_2x_neon.asm with 100% similarity]
vp9/decoder/arm/neon/idct_dequant_dc_0_2x_neon.asm [moved from vp8/decoder/arm/neon/idct_dequant_dc_0_2x_neon.asm with 100% similarity]
vp9/decoder/arm/neon/idct_dequant_dc_full_2x_neon.asm [moved from vp8/decoder/arm/neon/idct_dequant_dc_full_2x_neon.asm with 100% similarity]
vp9/decoder/arm/neon/idct_dequant_full_2x_neon.asm [moved from vp8/decoder/arm/neon/idct_dequant_full_2x_neon.asm with 100% similarity]
vp9/decoder/asm_dec_offsets.c [moved from vp8/decoder/asm_dec_offsets.c with 100% similarity]
vp9/decoder/dboolhuff.c [moved from vp8/decoder/dboolhuff.c with 100% similarity]
vp9/decoder/dboolhuff.h [moved from vp8/decoder/dboolhuff.h with 100% similarity]
vp9/decoder/decodemv.c [moved from vp8/decoder/decodemv.c with 99% similarity]
vp9/decoder/decodemv.h [moved from vp8/decoder/decodemv.h with 100% similarity]
vp9/decoder/decodframe.c [moved from vp8/decoder/decodframe.c with 98% similarity]
vp9/decoder/dequantize.c [moved from vp8/decoder/dequantize.c with 99% similarity]
vp9/decoder/dequantize.h [moved from vp8/decoder/dequantize.h with 99% similarity]
vp9/decoder/detokenize.c [moved from vp8/decoder/detokenize.c with 99% similarity]
vp9/decoder/detokenize.h [moved from vp8/decoder/detokenize.h with 100% similarity]
vp9/decoder/idct_blk.c [moved from vp8/decoder/idct_blk.c with 99% similarity]
vp9/decoder/onyxd_if.c [moved from vp8/decoder/onyxd_if.c with 97% similarity]
vp9/decoder/onyxd_int.h [moved from vp8/decoder/onyxd_int.h with 97% similarity]
vp9/decoder/reconintra_mt.h [moved from vp8/decoder/reconintra_mt.h with 100% similarity]
vp9/decoder/treereader.h [moved from vp8/decoder/treereader.h with 96% similarity]
vp9/decoder/x86/dequantize_mmx.asm [moved from vp8/decoder/x86/dequantize_mmx.asm with 100% similarity]
vp9/decoder/x86/idct_blk_mmx.c [moved from vp8/decoder/x86/idct_blk_mmx.c with 98% similarity]
vp9/decoder/x86/idct_blk_sse2.c [moved from vp8/decoder/x86/idct_blk_sse2.c with 98% similarity]
vp9/decoder/x86/x86_dsystemdependent.c [moved from vp8/decoder/x86/x86_dsystemdependent.c with 95% similarity]
vp9/encoder/arm/arm_csystemdependent.c [moved from vp8/encoder/arm/arm_csystemdependent.c with 98% similarity]
vp9/encoder/arm/armv5te/boolhuff_armv5te.asm [moved from vp8/encoder/arm/armv5te/boolhuff_armv5te.asm with 100% similarity]
vp9/encoder/arm/armv5te/vp8_packtokens_armv5.asm [moved from vp8/encoder/arm/armv5te/vp8_packtokens_armv5.asm with 100% similarity]
vp9/encoder/arm/armv5te/vp8_packtokens_mbrow_armv5.asm [moved from vp8/encoder/arm/armv5te/vp8_packtokens_mbrow_armv5.asm with 100% similarity]
vp9/encoder/arm/armv5te/vp8_packtokens_partitions_armv5.asm [moved from vp8/encoder/arm/armv5te/vp8_packtokens_partitions_armv5.asm with 100% similarity]
vp9/encoder/arm/armv6/vp8_fast_quantize_b_armv6.asm [moved from vp8/encoder/arm/armv6/vp8_fast_quantize_b_armv6.asm with 100% similarity]
vp9/encoder/arm/armv6/vp8_mse16x16_armv6.asm [moved from vp8/encoder/arm/armv6/vp8_mse16x16_armv6.asm with 100% similarity]
vp9/encoder/arm/armv6/vp8_sad16x16_armv6.asm [moved from vp8/encoder/arm/armv6/vp8_sad16x16_armv6.asm with 100% similarity]
vp9/encoder/arm/armv6/vp8_short_fdct4x4_armv6.asm [moved from vp8/encoder/arm/armv6/vp8_short_fdct4x4_armv6.asm with 100% similarity]
vp9/encoder/arm/armv6/vp8_subtract_armv6.asm [moved from vp8/encoder/arm/armv6/vp8_subtract_armv6.asm with 100% similarity]
vp9/encoder/arm/armv6/vp8_variance16x16_armv6.asm [moved from vp8/encoder/arm/armv6/vp8_variance16x16_armv6.asm with 100% similarity]
vp9/encoder/arm/armv6/vp8_variance8x8_armv6.asm [moved from vp8/encoder/arm/armv6/vp8_variance8x8_armv6.asm with 100% similarity]
vp9/encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm [moved from vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm with 100% similarity]
vp9/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm [moved from vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm with 100% similarity]
vp9/encoder/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6.asm [moved from vp8/encoder/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6.asm with 100% similarity]
vp9/encoder/arm/armv6/walsh_v6.asm [moved from vp8/encoder/arm/armv6/walsh_v6.asm with 100% similarity]
vp9/encoder/arm/boolhuff_arm.c [moved from vp8/encoder/arm/boolhuff_arm.c with 96% similarity]
vp9/encoder/arm/dct_arm.c [moved from vp8/encoder/arm/dct_arm.c with 100% similarity]
vp9/encoder/arm/dct_arm.h [moved from vp8/encoder/arm/dct_arm.h with 100% similarity]
vp9/encoder/arm/encodemb_arm.h [moved from vp8/encoder/arm/encodemb_arm.h with 100% similarity]
vp9/encoder/arm/neon/fastquantizeb_neon.asm [moved from vp8/encoder/arm/neon/fastquantizeb_neon.asm with 99% similarity]
vp9/encoder/arm/neon/picklpf_arm.c [moved from vp8/encoder/arm/neon/picklpf_arm.c with 90% similarity]
vp9/encoder/arm/neon/sad16_neon.asm [moved from vp8/encoder/arm/neon/sad16_neon.asm with 100% similarity]
vp9/encoder/arm/neon/sad8_neon.asm [moved from vp8/encoder/arm/neon/sad8_neon.asm with 100% similarity]
vp9/encoder/arm/neon/shortfdct_neon.asm [moved from vp8/encoder/arm/neon/shortfdct_neon.asm with 100% similarity]
vp9/encoder/arm/neon/subtract_neon.asm [moved from vp8/encoder/arm/neon/subtract_neon.asm with 100% similarity]
vp9/encoder/arm/neon/variance_neon.asm [moved from vp8/encoder/arm/neon/variance_neon.asm with 100% similarity]
vp9/encoder/arm/neon/vp8_memcpy_neon.asm [moved from vp8/encoder/arm/neon/vp8_memcpy_neon.asm with 100% similarity]
vp9/encoder/arm/neon/vp8_mse16x16_neon.asm [moved from vp8/encoder/arm/neon/vp8_mse16x16_neon.asm with 100% similarity]
vp9/encoder/arm/neon/vp8_shortwalsh4x4_neon.asm [moved from vp8/encoder/arm/neon/vp8_shortwalsh4x4_neon.asm with 100% similarity]
vp9/encoder/arm/neon/vp8_subpixelvariance16x16_neon.asm [moved from vp8/encoder/arm/neon/vp8_subpixelvariance16x16_neon.asm with 100% similarity]
vp9/encoder/arm/neon/vp8_subpixelvariance16x16s_neon.asm [moved from vp8/encoder/arm/neon/vp8_subpixelvariance16x16s_neon.asm with 100% similarity]
vp9/encoder/arm/neon/vp8_subpixelvariance8x8_neon.asm [moved from vp8/encoder/arm/neon/vp8_subpixelvariance8x8_neon.asm with 100% similarity]
vp9/encoder/arm/quantize_arm.c [moved from vp8/encoder/arm/quantize_arm.c with 96% similarity]
vp9/encoder/arm/quantize_arm.h [moved from vp8/encoder/arm/quantize_arm.h with 100% similarity]
vp9/encoder/arm/variance_arm.c [moved from vp8/encoder/arm/variance_arm.c with 97% similarity]
vp9/encoder/arm/variance_arm.h [moved from vp8/encoder/arm/variance_arm.h with 100% similarity]
vp9/encoder/asm_enc_offsets.c [moved from vp8/encoder/asm_enc_offsets.c with 99% similarity]
vp9/encoder/bitstream.c [moved from vp8/encoder/bitstream.c with 99% similarity]
vp9/encoder/bitstream.h [moved from vp8/encoder/bitstream.h with 100% similarity]
vp9/encoder/block.h [moved from vp8/encoder/block.h with 97% similarity]
vp9/encoder/boolhuff.c [moved from vp8/encoder/boolhuff.c with 100% similarity]
vp9/encoder/boolhuff.h [moved from vp8/encoder/boolhuff.h with 100% similarity]
vp9/encoder/dct.c [moved from vp8/encoder/dct.c with 99% similarity]
vp9/encoder/encodeframe.c [moved from vp8/encoder/encodeframe.c with 99% similarity]
vp9/encoder/encodeintra.c [moved from vp8/encoder/encodeintra.c with 98% similarity]
vp9/encoder/encodeintra.h [moved from vp8/encoder/encodeintra.h with 100% similarity]
vp9/encoder/encodemb.c [moved from vp8/encoder/encodemb.c with 99% similarity]
vp9/encoder/encodemb.h [moved from vp8/encoder/encodemb.h with 100% similarity]
vp9/encoder/encodemv.c [moved from vp8/encoder/encodemv.c with 99% similarity]
vp9/encoder/encodemv.h [moved from vp8/encoder/encodemv.h with 100% similarity]
vp9/encoder/firstpass.c [moved from vp8/encoder/firstpass.c with 99% similarity]
vp9/encoder/firstpass.h [moved from vp8/encoder/firstpass.h with 100% similarity]
vp9/encoder/generic/csystemdependent.c [moved from vp8/encoder/generic/csystemdependent.c with 95% similarity]
vp9/encoder/lookahead.c [moved from vp8/encoder/lookahead.c with 99% similarity]
vp9/encoder/lookahead.h [moved from vp8/encoder/lookahead.h with 100% similarity]
vp9/encoder/mbgraph.c [moved from vp8/encoder/mbgraph.c with 98% similarity]
vp9/encoder/mbgraph.h [moved from vp8/encoder/mbgraph.h with 100% similarity]
vp9/encoder/mcomp.c [moved from vp8/encoder/mcomp.c with 99% similarity]
vp9/encoder/mcomp.h [moved from vp8/encoder/mcomp.h with 100% similarity]
vp9/encoder/modecosts.c [moved from vp8/encoder/modecosts.c with 96% similarity]
vp9/encoder/modecosts.h [moved from vp8/encoder/modecosts.h with 100% similarity]
vp9/encoder/onyx_if.c [moved from vp8/encoder/onyx_if.c with 99% similarity]
vp9/encoder/onyx_int.h [moved from vp8/encoder/onyx_int.h with 99% similarity]
vp9/encoder/picklpf.c [moved from vp8/encoder/picklpf.c with 99% similarity]
vp9/encoder/ppc/csystemdependent.c [moved from vp8/encoder/ppc/csystemdependent.c with 98% similarity]
vp9/encoder/ppc/encodemb_altivec.asm [moved from vp8/encoder/ppc/encodemb_altivec.asm with 100% similarity]
vp9/encoder/ppc/fdct_altivec.asm [moved from vp8/encoder/ppc/fdct_altivec.asm with 100% similarity]
vp9/encoder/ppc/rdopt_altivec.asm [moved from vp8/encoder/ppc/rdopt_altivec.asm with 100% similarity]
vp9/encoder/ppc/sad_altivec.asm [moved from vp8/encoder/ppc/sad_altivec.asm with 100% similarity]
vp9/encoder/ppc/variance_altivec.asm [moved from vp8/encoder/ppc/variance_altivec.asm with 100% similarity]
vp9/encoder/ppc/variance_subpixel_altivec.asm [moved from vp8/encoder/ppc/variance_subpixel_altivec.asm with 100% similarity]
vp9/encoder/psnr.c [moved from vp8/encoder/psnr.c with 92% similarity]
vp9/encoder/psnr.h [moved from vp8/encoder/psnr.h with 100% similarity]
vp9/encoder/quantize.c [moved from vp8/encoder/quantize.c with 99% similarity]
vp9/encoder/quantize.h [moved from vp8/encoder/quantize.h with 100% similarity]
vp9/encoder/ratectrl.c [moved from vp8/encoder/ratectrl.c with 99% similarity]
vp9/encoder/ratectrl.h [moved from vp8/encoder/ratectrl.h with 100% similarity]
vp9/encoder/rdopt.c [moved from vp8/encoder/rdopt.c with 99% similarity]
vp9/encoder/rdopt.h [moved from vp8/encoder/rdopt.h with 100% similarity]
vp9/encoder/sad_c.c [moved from vp8/encoder/sad_c.c with 99% similarity]
vp9/encoder/satd_c.c [moved from vp8/encoder/satd_c.c with 100% similarity]
vp9/encoder/segmentation.c [moved from vp8/encoder/segmentation.c with 99% similarity]
vp9/encoder/segmentation.h [moved from vp8/encoder/segmentation.h with 98% similarity]
vp9/encoder/ssim.c [moved from vp8/encoder/ssim.c with 100% similarity]
vp9/encoder/temporal_filter.c [moved from vp8/encoder/temporal_filter.c with 98% similarity]
vp9/encoder/temporal_filter.h [moved from vp8/encoder/temporal_filter.h with 100% similarity]
vp9/encoder/tokenize.c [moved from vp8/encoder/tokenize.c with 99% similarity]
vp9/encoder/tokenize.h [moved from vp8/encoder/tokenize.h with 98% similarity]
vp9/encoder/treewriter.c [moved from vp8/encoder/treewriter.c with 100% similarity]
vp9/encoder/treewriter.h [moved from vp8/encoder/treewriter.h with 98% similarity]
vp9/encoder/variance.h [moved from vp8/encoder/variance.h with 100% similarity]
vp9/encoder/variance_c.c [moved from vp8/encoder/variance_c.c with 99% similarity]
vp9/encoder/x86/dct_mmx.asm [moved from vp8/encoder/x86/dct_mmx.asm with 100% similarity]
vp9/encoder/x86/dct_sse2.asm [moved from vp8/encoder/x86/dct_sse2.asm with 100% similarity]
vp9/encoder/x86/encodeopt.asm [moved from vp8/encoder/x86/encodeopt.asm with 100% similarity]
vp9/encoder/x86/fwalsh_sse2.asm [moved from vp8/encoder/x86/fwalsh_sse2.asm with 100% similarity]
vp9/encoder/x86/mcomp_x86.h [moved from vp8/encoder/x86/mcomp_x86.h with 100% similarity]
vp9/encoder/x86/quantize_mmx.asm [moved from vp8/encoder/x86/quantize_mmx.asm with 100% similarity]
vp9/encoder/x86/quantize_sse2.asm [moved from vp8/encoder/x86/quantize_sse2.asm with 99% similarity]
vp9/encoder/x86/quantize_sse4.asm [moved from vp8/encoder/x86/quantize_sse4.asm with 98% similarity]
vp9/encoder/x86/quantize_ssse3.asm [moved from vp8/encoder/x86/quantize_ssse3.asm with 100% similarity]
vp9/encoder/x86/quantize_x86.h [moved from vp8/encoder/x86/quantize_x86.h with 100% similarity]
vp9/encoder/x86/sad_mmx.asm [moved from vp8/encoder/x86/sad_mmx.asm with 100% similarity]
vp9/encoder/x86/sad_sse2.asm [moved from vp8/encoder/x86/sad_sse2.asm with 100% similarity]
vp9/encoder/x86/sad_sse3.asm [moved from vp8/encoder/x86/sad_sse3.asm with 100% similarity]
vp9/encoder/x86/sad_sse4.asm [moved from vp8/encoder/x86/sad_sse4.asm with 100% similarity]
vp9/encoder/x86/sad_ssse3.asm [moved from vp8/encoder/x86/sad_ssse3.asm with 100% similarity]
vp9/encoder/x86/ssim_opt.asm [moved from vp8/encoder/x86/ssim_opt.asm with 100% similarity]
vp9/encoder/x86/subtract_mmx.asm [moved from vp8/encoder/x86/subtract_mmx.asm with 100% similarity]
vp9/encoder/x86/subtract_sse2.asm [moved from vp8/encoder/x86/subtract_sse2.asm with 100% similarity]
vp9/encoder/x86/temporal_filter_apply_sse2.asm [moved from vp8/encoder/x86/temporal_filter_apply_sse2.asm with 100% similarity]
vp9/encoder/x86/temporal_filter_x86.h [moved from vp8/encoder/x86/temporal_filter_x86.h with 100% similarity]
vp9/encoder/x86/variance_impl_mmx.asm [moved from vp8/encoder/x86/variance_impl_mmx.asm with 100% similarity]
vp9/encoder/x86/variance_impl_sse2.asm [moved from vp8/encoder/x86/variance_impl_sse2.asm with 100% similarity]
vp9/encoder/x86/variance_impl_ssse3.asm [moved from vp8/encoder/x86/variance_impl_ssse3.asm with 100% similarity]
vp9/encoder/x86/variance_mmx.c [moved from vp8/encoder/x86/variance_mmx.c with 99% similarity]
vp9/encoder/x86/variance_sse2.c [moved from vp8/encoder/x86/variance_sse2.c with 99% similarity]
vp9/encoder/x86/variance_ssse3.c [moved from vp8/encoder/x86/variance_ssse3.c with 98% similarity]
vp9/encoder/x86/x86_csystemdependent.c [moved from vp8/encoder/x86/x86_csystemdependent.c with 98% similarity]
vp9/exports_dec [moved from vp8/exports_dec with 100% similarity]
vp9/exports_enc [moved from vp8/exports_enc with 100% similarity]
vp9/vp9_common.mk [new file with mode: 0644]
vp9/vp9_cx_iface.c [moved from vp8/vp8_cx_iface.c with 99% similarity]
vp9/vp9_dx_iface.c [moved from vp8/vp8_dx_iface.c with 100% similarity]
vp9/vp9cx.mk [new file with mode: 0644]
vp9/vp9cx_arm.mk [new file with mode: 0644]
vp9/vp9dx.mk [new file with mode: 0644]
vp9/vp9dx_arm.mk [moved from vp8/vp8dx_arm.mk with 100% similarity]
vpx/vp8.h
vpx/vp8cx.h
vpx/vp8dx.h
vpx/vp8e.h
vpxdec.c
vpxenc.c

index 1bb865331a76ee5ced1d216ce808cbcf8e22446e..e2b93b1f6c438bd7fed5a168b25daf70b4434255 100644 (file)
@@ -7,9 +7,9 @@ REM   in the file PATENTS.  All contributing project authors may
 REM   be found in the AUTHORS file in the root of the source tree.
 echo on
 
-cl /I "./" /I "%1" /nologo /c "%1/vp8/common/asm_com_offsets.c"
-cl /I "./" /I "%1" /nologo /c "%1/vp8/decoder/asm_dec_offsets.c"
-cl /I "./" /I "%1" /nologo /c "%1/vp8/encoder/asm_enc_offsets.c"
+cl /I "./" /I "%1" /nologo /c "%1/vp9/common/asm_com_offsets.c"
+cl /I "./" /I "%1" /nologo /c "%1/vp9/decoder/asm_dec_offsets.c"
+cl /I "./" /I "%1" /nologo /c "%1/vp9/encoder/asm_enc_offsets.c"
 obj_int_extract.exe rvds "asm_com_offsets.obj" > "asm_com_offsets.asm"
 obj_int_extract.exe rvds "asm_dec_offsets.obj" > "asm_dec_offsets.asm"
 obj_int_extract.exe rvds "asm_enc_offsets.obj" > "asm_enc_offsets.asm"
index e95508693a5200415306417192a81459094c8d46..638d0df1ebff36458f87f75d0c36b4389d3317e5 100755 (executable)
--- a/configure
+++ b/configure
@@ -31,7 +31,7 @@ Advanced options:
   ${toggle_debug_libs}            in/exclude debug version of libraries
   ${toggle_md5}                   support for output of checksum data
   ${toggle_static_msvcrt}         use static MSVCRT (VS builds only)
-  ${toggle_vp8}                   VP8 codec support
+  ${toggle_vp9}                   VP9 codec support
   ${toggle_internal_stats}        output of encoder internal stats for debug, if supported (encoders)
   ${toggle_mem_tracker}           track memory usage
   ${toggle_postproc}              postprocessing
@@ -161,17 +161,17 @@ enable spatial_resampling
 enable os_support
 
 [ -d ${source_path}/../include ] && enable alt_tree_layout
-for d in vp8; do
+for d in vp9; do
     [ -d ${source_path}/${d} ] && disable alt_tree_layout;
 done
 
 if ! enabled alt_tree_layout; then
 # development environment
-[ -d ${source_path}/vp8 ] && CODECS="${CODECS} vp8_encoder vp8_decoder"
+[ -d ${source_path}/vp9 ] && CODECS="${CODECS} vp9_encoder vp9_decoder"
 else
 # customer environment
-[ -f ${source_path}/../include/vpx/vp8cx.h ] && CODECS="${CODECS} vp8_encoder"
-[ -f ${source_path}/../include/vpx/vp8dx.h ] && CODECS="${CODECS} vp8_decoder"
+[ -f ${source_path}/../include/vpx/vp8cx.h ] && CODECS="${CODECS} vp9_encoder"
+[ -f ${source_path}/../include/vpx/vp8dx.h ] && CODECS="${CODECS} vp9_decoder"
 
 [ -f ${source_path}/../lib/*/*mt.lib ] && soft_enable static_msvcrt
 fi
diff --git a/docs.mk b/docs.mk
index 98332a244dd52b2debbb52da15a569f964ffa1a3..0d448b86c5a45b73e362b1d85c23202b1eeddf71 100644 (file)
--- a/docs.mk
+++ b/docs.mk
@@ -21,7 +21,7 @@ CODEC_DOX :=    mainpage.dox \
                usage_dx.dox \
 
 # Other doxy files sourced in Markdown
-TXT_DOX-$(CONFIG_VP8)          += vp8_api1_migration.dox
+TXT_DOX-$(CONFIG_VP9)          += vp8_api1_migration.dox
 vp8_api1_migration.dox.DESC     = VP8 API 1.x Migration
 
 TXT_DOX = $(call enabled,TXT_DOX)
index f5c09162d650e17ef3a575673efa00b08e070a21..7aa879810d8a81c832bef119b3ba1e01f82203ca 100644 (file)
@@ -18,7 +18,7 @@
 #include "vpx_config.h"
 #include "vpx/vpx_decoder.h"
 #include "vpx/vpx_integer.h"
-#if CONFIG_VP8_DECODER
+#if CONFIG_VP9_DECODER
 #include "vpx/vp8dx.h"
 #endif
 
@@ -29,8 +29,8 @@ static const struct {
   const char *name;
   const vpx_codec_iface_t *iface;
 } ifaces[] = {
-#if CONFIG_VP8_DECODER
-  {"vp8",  &vpx_codec_vp8_dx_algo},
+#if CONFIG_VP9_DECODER
+  {"vp9",  &vpx_codec_vp8_dx_algo},
 #endif
 };
 
index 478ce764056d9d50d77929d4025119fd86f7a8f9..74fb6815652bfa4c77fcb003311c067fb4f1dbe3 100644 (file)
@@ -81,13 +81,13 @@ GEN_EXAMPLES-$(CONFIG_ENCODERS) += error_resilient.c
 error_resilient.GUID             = DF5837B9-4145-4F92-A031-44E4F832E00C
 error_resilient.DESCRIPTION      = Error Resiliency Feature
 
-GEN_EXAMPLES-$(CONFIG_VP8_ENCODER) += vp8_scalable_patterns.c
+GEN_EXAMPLES-$(CONFIG_VP9_ENCODER) += vp8_scalable_patterns.c
 vp8_scalable_patterns.GUID          = 0D6A210B-F482-4D6F-8570-4A9C01ACC88C
 vp8_scalable_patterns.DESCRIPTION   = VP8 Scalable Bitstream Patterns
-GEN_EXAMPLES-$(CONFIG_VP8_ENCODER) += vp8_set_maps.c
+GEN_EXAMPLES-$(CONFIG_VP9_ENCODER) += vp8_set_maps.c
 vp8_set_maps.GUID                   = ECB2D24D-98B8-4015-A465-A4AF3DCC145F
 vp8_set_maps.DESCRIPTION            = VP8 set active and ROI maps
-GEN_EXAMPLES-$(CONFIG_VP8_ENCODER) += vp8cx_set_ref.c
+GEN_EXAMPLES-$(CONFIG_VP9_ENCODER) += vp8cx_set_ref.c
 vp8cx_set_ref.GUID                  = C5E31F7F-96F6-48BD-BD3E-10EBF6E8057A
 vp8cx_set_ref.DESCRIPTION           = VP8 set encoder reference frame
 
@@ -97,10 +97,10 @@ vp8cx_set_ref.DESCRIPTION           = VP8 set encoder reference frame
 # We should not link to math library (libm) on RVCT
 # when building for bare-metal targets
 ifeq ($(CONFIG_OS_SUPPORT), yes)
-CODEC_EXTRA_LIBS-$(CONFIG_VP8)         += m
+CODEC_EXTRA_LIBS-$(CONFIG_VP9)         += m
 else
     ifeq ($(CONFIG_GCC), yes)
-    CODEC_EXTRA_LIBS-$(CONFIG_VP8)         += m
+    CODEC_EXTRA_LIBS-$(CONFIG_VP9)         += m
     endif
 endif
 #
@@ -117,8 +117,8 @@ ifeq ($(HAVE_ALT_TREE_LAYOUT),yes)
     INC_PATH := $(SRC_PATH_BARE)/../include
 else
     LIB_PATH-yes                     += $(if $(BUILD_PFX),$(BUILD_PFX),.)
-    INC_PATH-$(CONFIG_VP8_DECODER)   += $(SRC_PATH_BARE)/vp8
-    INC_PATH-$(CONFIG_VP8_ENCODER)   += $(SRC_PATH_BARE)/vp8
+    INC_PATH-$(CONFIG_VP9_DECODER)   += $(SRC_PATH_BARE)/vp9
+    INC_PATH-$(CONFIG_VP9_ENCODER)   += $(SRC_PATH_BARE)/vp9
     LIB_PATH := $(call enabled,LIB_PATH)
     INC_PATH := $(call enabled,INC_PATH)
 endif
index 92a2c30132ec1cc53e9b0f47f7a90b9870e35833..90a9b2cc951be2c13018d003acce76b868daad72 100644 (file)
@@ -1,7 +1,7 @@
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DEC_INCLUDES
 #define VPX_CODEC_DISABLE_COMPAT 1
 #include "vpx/vpx_decoder.h"
-#include "vpx/vp8dx.h"
+#include "vpx/vp9dx.h"
 #define interface (vpx_codec_vp8_dx())
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DEC_INCLUDES
 
index 00420713a84956eb2ddec0d7144c57be1906f750..afc1193675bee374baa3ad571800db1478b05d11 100644 (file)
@@ -1,7 +1,7 @@
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ENC_INCLUDES
 #define VPX_CODEC_DISABLE_COMPAT 1
 #include "vpx/vpx_encoder.h"
-#include "vpx/vp8cx.h"
+#include "vpx/vp9cx.h"
 #define interface (vpx_codec_vp8_cx())
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ENC_INCLUDES
 
index 0940ea24c3e434905bacf7c253f18025e3caaa57..40f75f2c572e46d9ebe46e8b128918467464be33 100644 (file)
@@ -51,7 +51,7 @@ Some codecs provide fine grained controls over their built-in
 postprocessors. VP8 is one example. The following sample code toggles
 postprocessing on and off every 15 frames.
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PRE_DECODE
-#if CONFIG_VP8_DECODER
+#if CONFIG_VP9_DECODER
 if(frame_cnt%30 == 1) {
     vp8_postproc_cfg_t  pp = {0, 0, 0};
 
diff --git a/libs.mk b/libs.mk
index 674571add440d112ac4b78303ceb790ee487c3b2..abb7a8e3df144e3875871cc76fd19425bdef6b8b 100644 (file)
--- a/libs.mk
+++ b/libs.mk
@@ -30,29 +30,29 @@ include $(SRC_PATH_BARE)/vpx_scale/vpx_scale.mk
 CODEC_SRCS-yes += $(addprefix vpx_scale/,$(call enabled,SCALE_SRCS))
 
 
-ifeq ($(CONFIG_VP8_ENCODER),yes)
-  VP8_PREFIX=vp8/
-  include $(SRC_PATH_BARE)/$(VP8_PREFIX)vp8cx.mk
-  CODEC_SRCS-yes += $(addprefix $(VP8_PREFIX),$(call enabled,VP8_CX_SRCS))
-  CODEC_EXPORTS-yes += $(addprefix $(VP8_PREFIX),$(VP8_CX_EXPORTS))
-  CODEC_SRCS-yes += $(VP8_PREFIX)vp8cx.mk vpx/vp8.h vpx/vp8cx.h vpx/vp8e.h
-  CODEC_SRCS-$(ARCH_ARM) += $(VP8_PREFIX)vp8cx_arm.mk
+ifeq ($(CONFIG_VP9_ENCODER),yes)
+  VP9_PREFIX=vp9/
+  include $(SRC_PATH_BARE)/$(VP9_PREFIX)vp9cx.mk
+  CODEC_SRCS-yes += $(addprefix $(VP9_PREFIX),$(call enabled,VP9_CX_SRCS))
+  CODEC_EXPORTS-yes += $(addprefix $(VP9_PREFIX),$(VP9_CX_EXPORTS))
+  CODEC_SRCS-yes += $(VP9_PREFIX)vp9cx.mk vpx/vp8.h vpx/vp8cx.h vpx/vp8e.h
+  CODEC_SRCS-$(ARCH_ARM) += $(VP9_PREFIX)vp98cx_arm.mk
   INSTALL-LIBS-yes += include/vpx/vp8.h include/vpx/vp8e.h include/vpx/vp8cx.h
-  INSTALL_MAPS += include/vpx/% $(SRC_PATH_BARE)/$(VP8_PREFIX)/%
+  INSTALL_MAPS += include/vpx/% $(SRC_PATH_BARE)/$(VP9_PREFIX)/%
   CODEC_DOC_SRCS += vpx/vp8.h vpx/vp8cx.h
-  CODEC_DOC_SECTIONS += vp8 vp8_encoder
+  CODEC_DOC_SECTIONS += vp9 vp9_encoder
 endif
 
-ifeq ($(CONFIG_VP8_DECODER),yes)
-  VP8_PREFIX=vp8/
-  include $(SRC_PATH_BARE)/$(VP8_PREFIX)vp8dx.mk
-  CODEC_SRCS-yes += $(addprefix $(VP8_PREFIX),$(call enabled,VP8_DX_SRCS))
-  CODEC_EXPORTS-yes += $(addprefix $(VP8_PREFIX),$(VP8_DX_EXPORTS))
-  CODEC_SRCS-yes += $(VP8_PREFIX)vp8dx.mk vpx/vp8.h vpx/vp8dx.h
+ifeq ($(CONFIG_VP9_DECODER),yes)
+  VP9_PREFIX=vp9/
+  include $(SRC_PATH_BARE)/$(VP9_PREFIX)vp9dx.mk
+  CODEC_SRCS-yes += $(addprefix $(VP9_PREFIX),$(call enabled,VP9_DX_SRCS))
+  CODEC_EXPORTS-yes += $(addprefix $(VP9_PREFIX),$(VP9_DX_EXPORTS))
+  CODEC_SRCS-yes += $(VP9_PREFIX)vp9dx.mk vpx/vp8.h vpx/vp8dx.h
   INSTALL-LIBS-yes += include/vpx/vp8.h include/vpx/vp8dx.h
-  INSTALL_MAPS += include/vpx/% $(SRC_PATH_BARE)/$(VP8_PREFIX)/%
+  INSTALL_MAPS += include/vpx/% $(SRC_PATH_BARE)/$(VP9_PREFIX)/%
   CODEC_DOC_SRCS += vpx/vp8.h vpx/vp8dx.h
-  CODEC_DOC_SECTIONS += vp8 vp8_decoder
+  CODEC_DOC_SECTIONS += vp9 vp9_decoder
 endif
 
 
@@ -305,46 +305,46 @@ $(filter %$(ASM).o,$(OBJS-yes)): $(BUILD_PFX)vpx_config.asm
 OFFSET_PATTERN:='^[a-zA-Z0-9_]* EQU'
 
 ifeq ($(filter icc gcc,$(TGT_CC)), $(TGT_CC))
-    $(BUILD_PFX)asm_com_offsets.asm: $(BUILD_PFX)$(VP8_PREFIX)common/asm_com_offsets.c.S
+    $(BUILD_PFX)asm_com_offsets.asm: $(BUILD_PFX)$(VP9_PREFIX)common/asm_com_offsets.c.S
        @echo "    [CREATE] $@"
        $(qexec)LC_ALL=C grep $(OFFSET_PATTERN) $< | tr -d '$$\#' $(ADS2GAS) > $@
-    $(BUILD_PFX)$(VP8_PREFIX)common/asm_com_offsets.c.S: $(VP8_PREFIX)common/asm_com_offsets.c
-    CLEAN-OBJS += $(BUILD_PFX)asm_com_offsets.asm $(BUILD_PFX)$(VP8_PREFIX)common/asm_com_offsets.c.S
+    $(BUILD_PFX)$(VP9_PREFIX)common/asm_com_offsets.c.S: $(VP9_PREFIX)common/asm_com_offsets.c
+    CLEAN-OBJS += $(BUILD_PFX)asm_com_offsets.asm $(BUILD_PFX)$(VP9_PREFIX)common/asm_com_offsets.c.S
 
-    $(BUILD_PFX)asm_enc_offsets.asm: $(BUILD_PFX)$(VP8_PREFIX)encoder/asm_enc_offsets.c.S
+    $(BUILD_PFX)asm_enc_offsets.asm: $(BUILD_PFX)$(VP9_PREFIX)encoder/asm_enc_offsets.c.S
        @echo "    [CREATE] $@"
        $(qexec)LC_ALL=C grep $(OFFSET_PATTERN) $< | tr -d '$$\#' $(ADS2GAS) > $@
-    $(BUILD_PFX)$(VP8_PREFIX)encoder/asm_enc_offsets.c.S: $(VP8_PREFIX)encoder/asm_enc_offsets.c
-    CLEAN-OBJS += $(BUILD_PFX)asm_enc_offsets.asm $(BUILD_PFX)$(VP8_PREFIX)encoder/asm_enc_offsets.c.S
+    $(BUILD_PFX)$(VP9_PREFIX)encoder/asm_enc_offsets.c.S: $(VP9_PREFIX)encoder/asm_enc_offsets.c
+    CLEAN-OBJS += $(BUILD_PFX)asm_enc_offsets.asm $(BUILD_PFX)$(VP9_PREFIX)encoder/asm_enc_offsets.c.S
 
-    $(BUILD_PFX)asm_dec_offsets.asm: $(BUILD_PFX)$(VP8_PREFIX)decoder/asm_dec_offsets.c.S
+    $(BUILD_PFX)asm_dec_offsets.asm: $(BUILD_PFX)$(VP9_PREFIX)decoder/asm_dec_offsets.c.S
        @echo "    [CREATE] $@"
        $(qexec)LC_ALL=C grep $(OFFSET_PATTERN) $< | tr -d '$$\#' $(ADS2GAS) > $@
-    $(BUILD_PFX)$(VP8_PREFIX)decoder/asm_dec_offsets.c.S: $(VP8_PREFIX)decoder/asm_dec_offsets.c
-    CLEAN-OBJS += $(BUILD_PFX)asm_dec_offsets.asm $(BUILD_PFX)$(VP8_PREFIX)decoder/asm_dec_offsets.c.S
+    $(BUILD_PFX)$(VP9_PREFIX)decoder/asm_dec_offsets.c.S: $(VP9_PREFIX)decoder/asm_dec_offsets.c
+    CLEAN-OBJS += $(BUILD_PFX)asm_dec_offsets.asm $(BUILD_PFX)$(VP9_PREFIX)decoder/asm_dec_offsets.c.S
 else
   ifeq ($(filter rvct,$(TGT_CC)), $(TGT_CC))
     asm_com_offsets.asm: obj_int_extract
-    asm_com_offsets.asm: $(VP8_PREFIX)common/asm_com_offsets.c.o
+    asm_com_offsets.asm: $(VP9_PREFIX)common/asm_com_offsets.c.o
        @echo "    [CREATE] $@"
        $(qexec)./obj_int_extract rvds $< $(ADS2GAS) > $@
-    OBJS-yes += $(VP8_PREFIX)common/asm_com_offsets.c.o
+    OBJS-yes += $(VP9_PREFIX)common/asm_com_offsets.c.o
     CLEAN-OBJS += asm_com_offsets.asm
     $(filter %$(ASM).o,$(OBJS-yes)): $(BUILD_PFX)asm_com_offsets.asm
 
     asm_enc_offsets.asm: obj_int_extract
-    asm_enc_offsets.asm: $(VP8_PREFIX)encoder/asm_enc_offsets.c.o
+    asm_enc_offsets.asm: $(VP9_PREFIX)encoder/asm_enc_offsets.c.o
        @echo "    [CREATE] $@"
        $(qexec)./obj_int_extract rvds $< $(ADS2GAS) > $@
-    OBJS-yes += $(VP8_PREFIX)encoder/asm_enc_offsets.c.o
+    OBJS-yes += $(VP9_PREFIX)encoder/asm_enc_offsets.c.o
     CLEAN-OBJS += asm_enc_offsets.asm
     $(filter %$(ASM).o,$(OBJS-yes)): $(BUILD_PFX)asm_enc_offsets.asm
 
     asm_dec_offsets.asm: obj_int_extract
-    asm_dec_offsets.asm: $(VP8_PREFIX)decoder/asm_dec_offsets.c.o
+    asm_dec_offsets.asm: $(VP9_PREFIX)decoder/asm_dec_offsets.c.o
        @echo "    [CREATE] $@"
        $(qexec)./obj_int_extract rvds $< $(ADS2GAS) > $@
-    OBJS-yes += $(VP8_PREFIX)decoder/asm_dec_offsets.c.o
+    OBJS-yes += $(VP9_PREFIX)decoder/asm_dec_offsets.c.o
     CLEAN-OBJS += asm_dec_offsets.asm
     $(filter %$(ASM).o,$(OBJS-yes)): $(BUILD_PFX)asm_dec_offsets.asm
   endif
index 758c8c3e546cf66b923c827c47c0bb36f36aa016..119c77a790db6a1ea102c35b6889bf860bd75a7e 100644 (file)
@@ -15,8 +15,8 @@
 #include "third_party/googletest/src/include/gtest/gtest.h"
 
 extern "C" {
-#include "vp8/encoder/boolhuff.h"
-#include "vp8/decoder/dboolhuff.h"
+#include "vp9/encoder/boolhuff.h"
+#include "vp9/decoder/dboolhuff.h"
 }
 
 #include "acm_random.h"
index 26bf4940b04fd8a2b834feebb7e37eeece34b1fd..a0b91f3890f3e33c0105b7beff1ef972b72ee48c 100644 (file)
@@ -15,9 +15,9 @@
 #include "third_party/googletest/src/include/gtest/gtest.h"
 
 extern "C" {
-#include "vp8/common/entropy.h"
-#include "vp8/common/idct.h"
-#include "vp8/encoder/dct.h"
+#include "vp9/common/entropy.h"
+#include "vp9/common/idct.h"
+#include "vp9/encoder/dct.h"
 }
 
 #include "acm_random.h"
index 3bce41a41820436a59a09df6ba8bc91052aef86e..d7066b3ff2c59b2931fcfe139042a8a15e6bb5c0 100644 (file)
@@ -15,8 +15,8 @@
 #include "third_party/googletest/src/include/gtest/gtest.h"
 
 extern "C" {
-#include "vp8/common/idct.h"
-#include "vp8/encoder/dct.h"
+#include "vp9/common/idct.h"
+#include "vp9/encoder/dct.h"
 }
 
 #include "acm_random.h"
index 068d98e10a5e5eede4fbda37ab72812d56a1a50e..97680fe081ad2a4f7edd87f793d307c15dd7094a 100644 (file)
@@ -15,8 +15,8 @@
 #include "third_party/googletest/src/include/gtest/gtest.h"
 
 extern "C" {
-#include "vp8/encoder/dct.h"
-#include "vp8/common/idct.h"
+#include "vp9/encoder/dct.h"
+#include "vp9/common/idct.h"
 }
 
 #include "acm_random.h"
index a6308f8267fac43566818da60eae1ad78236f2d0..6d3fe3d597cf004f2f119f812110af0a6b3cc594 100644 (file)
@@ -15,8 +15,8 @@
 #include "third_party/googletest/src/include/gtest/gtest.h"
 
 extern "C" {
-#include "vp8/encoder/dct.h"
-#include "vp8/common/idct.h"
+#include "vp9/encoder/dct.h"
+#include "vp9/common/idct.h"
 }
 
 #include "acm_random.h"
diff --git a/vp8/vp8_common.mk b/vp8/vp8_common.mk
deleted file mode 100644 (file)
index 87c1e6c..0000000
+++ /dev/null
@@ -1,179 +0,0 @@
-##
-##  Copyright (c) 2010 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.
-##
-
-VP8_COMMON_SRCS-yes += vp8_common.mk
-VP8_COMMON_SRCS-yes += common/type_aliases.h
-VP8_COMMON_SRCS-yes += common/pragmas.h
-VP8_COMMON_SRCS-yes += common/ppflags.h
-VP8_COMMON_SRCS-yes += common/onyx.h
-VP8_COMMON_SRCS-yes += common/onyxd.h
-VP8_COMMON_SRCS-yes += common/alloccommon.c
-VP8_COMMON_SRCS-yes += common/asm_com_offsets.c
-VP8_COMMON_SRCS-yes += common/blockd.c
-VP8_COMMON_SRCS-yes += common/coefupdateprobs.h
-VP8_COMMON_SRCS-yes += common/debugmodes.c
-VP8_COMMON_SRCS-yes += common/entropy.c
-VP8_COMMON_SRCS-yes += common/entropymode.c
-VP8_COMMON_SRCS-yes += common/entropymv.c
-VP8_COMMON_SRCS-yes += common/extend.c
-VP8_COMMON_SRCS-yes += common/filter.c
-VP8_COMMON_SRCS-yes += common/filter.h
-VP8_COMMON_SRCS-yes += common/findnearmv.c
-VP8_COMMON_SRCS-yes += common/generic/systemdependent.c
-VP8_COMMON_SRCS-yes += common/idctllm.c
-VP8_COMMON_SRCS-yes += common/alloccommon.h
-VP8_COMMON_SRCS-yes += common/blockd.h
-VP8_COMMON_SRCS-yes += common/common.h
-VP8_COMMON_SRCS-yes += common/common_types.h
-VP8_COMMON_SRCS-yes += common/entropy.h
-VP8_COMMON_SRCS-yes += common/entropymode.h
-VP8_COMMON_SRCS-yes += common/entropymv.h
-VP8_COMMON_SRCS-yes += common/extend.h
-VP8_COMMON_SRCS-yes += common/findnearmv.h
-VP8_COMMON_SRCS-yes += common/header.h
-VP8_COMMON_SRCS-yes += common/idct.h
-VP8_COMMON_SRCS-yes += common/invtrans.h
-VP8_COMMON_SRCS-yes += common/loopfilter.h
-VP8_COMMON_SRCS-yes += common/modecont.h
-VP8_COMMON_SRCS-yes += common/mv.h
-VP8_COMMON_SRCS-yes += common/onyxc_int.h
-VP8_COMMON_SRCS-yes += common/pred_common.h
-VP8_COMMON_SRCS-yes += common/pred_common.c
-VP8_COMMON_SRCS-yes += common/quant_common.h
-VP8_COMMON_SRCS-yes += common/reconinter.h
-VP8_COMMON_SRCS-yes += common/reconintra.h
-VP8_COMMON_SRCS-yes += common/reconintra4x4.h
-VP8_COMMON_SRCS-yes += common/rtcd.c
-VP8_COMMON_SRCS-yes += common/rtcd_defs.sh
-VP8_COMMON_SRCS-yes += common/sadmxn.h
-VP8_COMMON_SRCS-yes += common/seg_common.h
-VP8_COMMON_SRCS-yes += common/seg_common.c
-VP8_COMMON_SRCS-yes += common/setupintrarecon.h
-VP8_COMMON_SRCS-yes += common/subpixel.h
-VP8_COMMON_SRCS-yes += common/swapyv12buffer.h
-VP8_COMMON_SRCS-yes += common/systemdependent.h
-VP8_COMMON_SRCS-yes += common/treecoder.h
-VP8_COMMON_SRCS-yes += common/invtrans.c
-VP8_COMMON_SRCS-yes += common/loopfilter.c
-VP8_COMMON_SRCS-yes += common/loopfilter_filters.c
-VP8_COMMON_SRCS-yes += common/mbpitch.c
-VP8_COMMON_SRCS-yes += common/modecont.c
-VP8_COMMON_SRCS-yes += common/modecontext.c
-VP8_COMMON_SRCS-yes += common/mvref_common.c
-VP8_COMMON_SRCS-yes += common/mvref_common.h
-VP8_COMMON_SRCS-yes += common/quant_common.c
-VP8_COMMON_SRCS-yes += common/recon.c
-VP8_COMMON_SRCS-yes += common/reconinter.c
-VP8_COMMON_SRCS-yes += common/reconintra.c
-VP8_COMMON_SRCS-yes += common/reconintra4x4.c
-VP8_COMMON_SRCS-yes += common/setupintrarecon.c
-VP8_COMMON_SRCS-yes += common/swapyv12buffer.c
-VP8_COMMON_SRCS-$(CONFIG_POSTPROC_VISUALIZER) += common/textblit.c
-VP8_COMMON_SRCS-yes += common/treecoder.c
-VP8_COMMON_SRCS-$(CONFIG_IMPLICIT_SEGMENTATION) += common/implicit_segmentation.c
-
-VP8_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/idct_x86.h
-VP8_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/subpixel_x86.h
-VP8_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/loopfilter_x86.h
-VP8_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/postproc_x86.h
-VP8_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/x86_systemdependent.c
-VP8_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/vp8_asm_stubs.c
-VP8_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/loopfilter_x86.c
-VP8_COMMON_SRCS-$(CONFIG_POSTPROC) += common/postproc.h
-VP8_COMMON_SRCS-$(CONFIG_POSTPROC) += common/postproc.c
-VP8_COMMON_SRCS-$(HAVE_MMX) += common/x86/idctllm_mmx.asm
-VP8_COMMON_SRCS-$(HAVE_MMX) += common/x86/iwalsh_mmx.asm
-VP8_COMMON_SRCS-$(HAVE_MMX) += common/x86/recon_mmx.asm
-VP8_COMMON_SRCS-$(HAVE_MMX) += common/x86/subpixel_mmx.asm
-VP8_COMMON_SRCS-$(HAVE_MMX) += common/x86/loopfilter_mmx.asm
-VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/idctllm_sse2.asm
-VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/recon_sse2.asm
-VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/recon_wrapper_sse2.c
-VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/subpixel_sse2.asm
-VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/loopfilter_sse2.asm
-VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/iwalsh_sse2.asm
-VP8_COMMON_SRCS-$(HAVE_SSSE3) += common/x86/subpixel_8t_ssse3.asm
-VP8_COMMON_SRCS-$(HAVE_SSSE3) += common/x86/subpixel_ssse3.asm
-ifeq ($(CONFIG_POSTPROC),yes)
-VP8_COMMON_SRCS-$(HAVE_MMX) += common/x86/postproc_mmx.asm
-VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/postproc_sse2.asm
-endif
-
-# common (c)
-ifeq ($(CONFIG_CSM),yes)
-VP8_COMMON_SRCS-yes += common/maskingmv.c
-VP8_COMMON_SRCS-$(HAVE_SSE3) += common/x86/mask_sse3.asm
-endif
-
-VP8_COMMON_SRCS-$(HAVE_SSE4_1) += common/x86/filter_sse4.c
-ifeq ($(HAVE_SSE4_1),yes)
-vp8/common/x86/filter_sse4.c.o: CFLAGS += -msse4
-endif
-
-VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/filter_sse2.c
-VP8_COMMON_SRCS-$(HAVE_SSE2) += common/x86/sadmxn_x86.c
-ifeq ($(HAVE_SSE2),yes)
-vp8/common/x86/filter_sse2.c.o: CFLAGS += -msse2
-vp8/common/x86/loopfilter_x86.c.o: CFLAGS += -msse2
-vp8/common/x86/sadmxn_x86.c.o: CFLAGS += -msse2
-endif
-
-VP8_COMMON_SRCS-$(ARCH_ARM)  += common/arm/arm_systemdependent.c
-VP8_COMMON_SRCS-$(ARCH_ARM)  += common/arm/bilinearfilter_arm.c
-VP8_COMMON_SRCS-$(ARCH_ARM)  += common/arm/bilinearfilter_arm.h
-VP8_COMMON_SRCS-$(ARCH_ARM)  += common/arm/filter_arm.c
-VP8_COMMON_SRCS-$(ARCH_ARM)  += common/arm/idct_arm.h
-VP8_COMMON_SRCS-$(ARCH_ARM)  += common/arm/loopfilter_arm.c
-VP8_COMMON_SRCS-$(ARCH_ARM)  += common/arm/loopfilter_arm.h
-VP8_COMMON_SRCS-$(ARCH_ARM)  += common/arm/recon_arm.h
-VP8_COMMON_SRCS-$(ARCH_ARM)  += common/arm/reconintra_arm.c
-VP8_COMMON_SRCS-$(ARCH_ARM)  += common/arm/subpixel_arm.h
-
-# common (armv6)
-VP8_COMMON_SRCS-$(HAVE_ARMV6)  += common/arm/armv6/bilinearfilter_v6$(ASM)
-VP8_COMMON_SRCS-$(HAVE_ARMV6)  += common/arm/armv6/copymem8x4_v6$(ASM)
-VP8_COMMON_SRCS-$(HAVE_ARMV6)  += common/arm/armv6/copymem8x8_v6$(ASM)
-VP8_COMMON_SRCS-$(HAVE_ARMV6)  += common/arm/armv6/copymem16x16_v6$(ASM)
-VP8_COMMON_SRCS-$(HAVE_ARMV6)  += common/arm/armv6/dc_only_idct_add_v6$(ASM)
-VP8_COMMON_SRCS-$(HAVE_ARMV6)  += common/arm/armv6/iwalsh_v6$(ASM)
-VP8_COMMON_SRCS-$(HAVE_ARMV6)  += common/arm/armv6/filter_v6$(ASM)
-VP8_COMMON_SRCS-$(HAVE_ARMV6)  += common/arm/armv6/idct_v6$(ASM)
-VP8_COMMON_SRCS-$(HAVE_ARMV6)  += common/arm/armv6/loopfilter_v6$(ASM)
-VP8_COMMON_SRCS-$(HAVE_ARMV6)  += common/arm/armv6/recon_v6$(ASM)
-VP8_COMMON_SRCS-$(HAVE_ARMV6)  += common/arm/armv6/simpleloopfilter_v6$(ASM)
-VP8_COMMON_SRCS-$(HAVE_ARMV6)  += common/arm/armv6/sixtappredict8x4_v6$(ASM)
-
-# common (neon)
-VP8_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/bilinearpredict4x4_neon$(ASM)
-VP8_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/bilinearpredict8x4_neon$(ASM)
-VP8_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/bilinearpredict8x8_neon$(ASM)
-VP8_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/bilinearpredict16x16_neon$(ASM)
-VP8_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/copymem8x4_neon$(ASM)
-VP8_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/copymem8x8_neon$(ASM)
-VP8_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/copymem16x16_neon$(ASM)
-VP8_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/dc_only_idct_add_neon$(ASM)
-VP8_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/iwalsh_neon$(ASM)
-VP8_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/loopfilter_neon$(ASM)
-VP8_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/loopfiltersimplehorizontaledge_neon$(ASM)
-VP8_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/loopfiltersimpleverticaledge_neon$(ASM)
-VP8_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/mbloopfilter_neon$(ASM)
-VP8_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/recon2b_neon$(ASM)
-VP8_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/recon4b_neon$(ASM)
-VP8_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/reconb_neon$(ASM)
-VP8_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/shortidct4x4llm_1_neon$(ASM)
-VP8_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/shortidct4x4llm_neon$(ASM)
-VP8_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/sixtappredict4x4_neon$(ASM)
-VP8_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/sixtappredict8x4_neon$(ASM)
-VP8_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/sixtappredict8x8_neon$(ASM)
-VP8_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/sixtappredict16x16_neon$(ASM)
-VP8_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/recon16x16mb_neon$(ASM)
-VP8_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/buildintrapredictorsmby_neon$(ASM)
-VP8_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/save_neon_reg$(ASM)
-VP8_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/recon_neon.c
diff --git a/vp8/vp8cx.mk b/vp8/vp8cx.mk
deleted file mode 100644 (file)
index ef6da7c..0000000
+++ /dev/null
@@ -1,120 +0,0 @@
-##
-##  Copyright (c) 2010 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.
-##
-
-
-include $(SRC_PATH_BARE)/$(VP8_PREFIX)vp8_common.mk
-
-VP8_CX_EXPORTS += exports_enc
-
-VP8_CX_SRCS-yes += $(VP8_COMMON_SRCS-yes)
-VP8_CX_SRCS-no  += $(VP8_COMMON_SRCS-no)
-VP8_CX_SRCS_REMOVE-yes += $(VP8_COMMON_SRCS_REMOVE-yes)
-VP8_CX_SRCS_REMOVE-no  += $(VP8_COMMON_SRCS_REMOVE-no)
-
-ifeq ($(ARCH_ARM),yes)
-  include $(SRC_PATH_BARE)/$(VP8_PREFIX)vp8cx_arm.mk
-endif
-
-VP8_CX_SRCS-yes += vp8_cx_iface.c
-
-# encoder
-#INCLUDES += algo/vpx_common/vpx_mem/include
-#INCLUDES += common
-#INCLUDES += common
-#INCLUDES += common
-#INCLUDES += algo/vpx_ref/cpu_id/include
-#INCLUDES += common
-#INCLUDES += encoder
-
-VP8_CX_SRCS-yes += encoder/asm_enc_offsets.c
-VP8_CX_SRCS-yes += encoder/bitstream.c
-VP8_CX_SRCS-yes += encoder/boolhuff.c
-VP8_CX_SRCS-yes += encoder/dct.c
-VP8_CX_SRCS-yes += encoder/encodeframe.c
-VP8_CX_SRCS-yes += encoder/encodeintra.c
-VP8_CX_SRCS-yes += encoder/encodemb.c
-VP8_CX_SRCS-yes += encoder/encodemv.c
-VP8_CX_SRCS-yes += encoder/firstpass.c
-VP8_CX_SRCS-yes += encoder/generic/csystemdependent.c
-VP8_CX_SRCS-yes += encoder/block.h
-VP8_CX_SRCS-yes += encoder/boolhuff.h
-VP8_CX_SRCS-yes += encoder/bitstream.h
-VP8_CX_SRCS-yes += encoder/encodeintra.h
-VP8_CX_SRCS-yes += encoder/encodemb.h
-VP8_CX_SRCS-yes += encoder/encodemv.h
-VP8_CX_SRCS-yes += encoder/firstpass.h
-VP8_CX_SRCS-yes += encoder/lookahead.c
-VP8_CX_SRCS-yes += encoder/lookahead.h
-VP8_CX_SRCS-yes += encoder/mcomp.h
-VP8_CX_SRCS-yes += encoder/modecosts.h
-VP8_CX_SRCS-yes += encoder/onyx_int.h
-VP8_CX_SRCS-yes += encoder/psnr.h
-VP8_CX_SRCS-yes += encoder/quantize.h
-VP8_CX_SRCS-yes += encoder/ratectrl.h
-VP8_CX_SRCS-yes += encoder/rdopt.h
-VP8_CX_SRCS-yes += encoder/tokenize.h
-VP8_CX_SRCS-yes += encoder/treewriter.h
-VP8_CX_SRCS-yes += encoder/variance.h
-VP8_CX_SRCS-yes += encoder/mcomp.c
-VP8_CX_SRCS-yes += encoder/modecosts.c
-VP8_CX_SRCS-yes += encoder/onyx_if.c
-VP8_CX_SRCS-yes += encoder/picklpf.c
-VP8_CX_SRCS-yes += encoder/psnr.c
-VP8_CX_SRCS-yes += encoder/quantize.c
-VP8_CX_SRCS-yes += encoder/ratectrl.c
-VP8_CX_SRCS-yes += encoder/rdopt.c
-VP8_CX_SRCS-yes += encoder/sad_c.c
-VP8_CX_SRCS-yes += encoder/satd_c.c
-VP8_CX_SRCS-yes += encoder/segmentation.c
-VP8_CX_SRCS-yes += encoder/segmentation.h
-VP8_CX_SRCS-$(CONFIG_INTERNAL_STATS) += encoder/ssim.c
-VP8_CX_SRCS-yes += encoder/tokenize.c
-VP8_CX_SRCS-yes += encoder/treewriter.c
-VP8_CX_SRCS-yes += encoder/variance_c.c
-ifeq ($(CONFIG_POSTPROC),yes)
-VP8_CX_SRCS-$(CONFIG_INTERNAL_STATS) += common/postproc.h
-VP8_CX_SRCS-$(CONFIG_INTERNAL_STATS) += common/postproc.c
-endif
-VP8_CX_SRCS-yes += encoder/temporal_filter.c
-VP8_CX_SRCS-yes += encoder/temporal_filter.h
-VP8_CX_SRCS-yes += encoder/mbgraph.c
-VP8_CX_SRCS-yes += encoder/mbgraph.h
-
-
-VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/mcomp_x86.h
-VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/quantize_x86.h
-VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/temporal_filter_x86.h
-VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/x86_csystemdependent.c
-VP8_CX_SRCS-$(HAVE_MMX) += encoder/x86/variance_mmx.c
-VP8_CX_SRCS-$(HAVE_MMX) += encoder/x86/variance_impl_mmx.asm
-VP8_CX_SRCS-$(HAVE_MMX) += encoder/x86/sad_mmx.asm
-VP8_CX_SRCS-$(HAVE_MMX) += encoder/x86/dct_mmx.asm
-VP8_CX_SRCS-$(HAVE_MMX) += encoder/x86/subtract_mmx.asm
-VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/dct_sse2.asm
-VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/variance_sse2.c
-VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/variance_impl_sse2.asm
-VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/sad_sse2.asm
-VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/fwalsh_sse2.asm
-VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/quantize_sse2.asm
-VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/subtract_sse2.asm
-VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/temporal_filter_apply_sse2.asm
-VP8_CX_SRCS-$(HAVE_SSE3) += encoder/x86/sad_sse3.asm
-VP8_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/sad_ssse3.asm
-VP8_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/variance_ssse3.c
-VP8_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/variance_impl_ssse3.asm
-VP8_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/quantize_ssse3.asm
-VP8_CX_SRCS-$(HAVE_SSE4_1) += encoder/x86/sad_sse4.asm
-VP8_CX_SRCS-$(HAVE_SSE4_1) += encoder/x86/quantize_sse4.asm
-VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/quantize_mmx.asm
-VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/encodeopt.asm
-VP8_CX_SRCS-$(ARCH_X86_64) += encoder/x86/ssim_opt.asm
-
-
-VP8_CX_SRCS-yes := $(filter-out $(VP8_CX_SRCS_REMOVE-yes),$(VP8_CX_SRCS-yes))
diff --git a/vp8/vp8cx_arm.mk b/vp8/vp8cx_arm.mk
deleted file mode 100644 (file)
index f8f054a..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-##
-##  Copyright (c) 2010 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.
-##
-
-
-#VP8_CX_SRCS list is modified according to different platforms.
-
-#File list for arm
-# encoder
-VP8_CX_SRCS-$(ARCH_ARM)  += encoder/arm/arm_csystemdependent.c
-
-VP8_CX_SRCS-$(ARCH_ARM)  += encoder/arm/dct_arm.c
-VP8_CX_SRCS-$(ARCH_ARM)  += encoder/arm/dct_arm.h
-VP8_CX_SRCS-$(ARCH_ARM)  += encoder/arm/encodemb_arm.h
-VP8_CX_SRCS-$(ARCH_ARM)  += encoder/arm/quantize_arm.c
-VP8_CX_SRCS-$(ARCH_ARM)  += encoder/arm/quantize_arm.h
-VP8_CX_SRCS-$(ARCH_ARM)  += encoder/arm/variance_arm.c
-VP8_CX_SRCS-$(ARCH_ARM)  += encoder/arm/variance_arm.h
-
-#File list for armv5te
-# encoder
-VP8_CX_SRCS-$(HAVE_ARMV5TE) += encoder/arm/boolhuff_arm.c
-VP8_CX_SRCS_REMOVE-$(HAVE_ARMV5TE)  += encoder/boolhuff.c
-VP8_CX_SRCS-$(HAVE_ARMV5TE)  += encoder/arm/armv5te/boolhuff_armv5te$(ASM)
-VP8_CX_SRCS-$(HAVE_ARMV5TE)  += encoder/arm/armv5te/vp8_packtokens_armv5$(ASM)
-VP8_CX_SRCS-$(HAVE_ARMV5TE)  += encoder/arm/armv5te/vp8_packtokens_mbrow_armv5$(ASM)
-VP8_CX_SRCS-$(HAVE_ARMV5TE)  += encoder/arm/armv5te/vp8_packtokens_partitions_armv5$(ASM)
-
-#File list for armv6
-# encoder
-VP8_CX_SRCS-$(HAVE_ARMV6)  += encoder/arm/armv6/vp8_subtract_armv6$(ASM)
-VP8_CX_SRCS-$(HAVE_ARMV6)  += encoder/arm/armv6/vp8_short_fdct4x4_armv6$(ASM)
-VP8_CX_SRCS-$(HAVE_ARMV6)  += encoder/arm/armv6/vp8_fast_quantize_b_armv6$(ASM)
-VP8_CX_SRCS-$(HAVE_ARMV6)  += encoder/arm/armv6/vp8_sad16x16_armv6$(ASM)
-VP8_CX_SRCS-$(HAVE_ARMV6)  += encoder/arm/armv6/vp8_variance16x16_armv6$(ASM)
-VP8_CX_SRCS-$(HAVE_ARMV6)  += encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6$(ASM)
-VP8_CX_SRCS-$(HAVE_ARMV6)  += encoder/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6$(ASM)
-VP8_CX_SRCS-$(HAVE_ARMV6)  += encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6$(ASM)
-VP8_CX_SRCS-$(HAVE_ARMV6)  += encoder/arm/armv6/vp8_mse16x16_armv6$(ASM)
-VP8_CX_SRCS-$(HAVE_ARMV6)  += encoder/arm/armv6/vp8_variance8x8_armv6$(ASM)
-VP8_CX_SRCS-$(HAVE_ARMV6)  += encoder/arm/armv6/walsh_v6$(ASM)
-
-#File list for neon
-# encoder
-VP8_CX_SRCS-$(HAVE_ARMV7)  += encoder/arm/neon/fastquantizeb_neon$(ASM)
-VP8_CX_SRCS-$(HAVE_ARMV7)  += encoder/arm/neon/picklpf_arm.c
-VP8_CX_SRCS-$(HAVE_ARMV7)  += encoder/arm/neon/sad8_neon$(ASM)
-VP8_CX_SRCS-$(HAVE_ARMV7)  += encoder/arm/neon/sad16_neon$(ASM)
-VP8_CX_SRCS-$(HAVE_ARMV7)  += encoder/arm/neon/shortfdct_neon$(ASM)
-VP8_CX_SRCS-$(HAVE_ARMV7)  += encoder/arm/neon/subtract_neon$(ASM)
-VP8_CX_SRCS-$(HAVE_ARMV7)  += encoder/arm/neon/variance_neon$(ASM)
-VP8_CX_SRCS-$(HAVE_ARMV7)  += encoder/arm/neon/vp8_mse16x16_neon$(ASM)
-VP8_CX_SRCS-$(HAVE_ARMV7)  += encoder/arm/neon/vp8_subpixelvariance8x8_neon$(ASM)
-VP8_CX_SRCS-$(HAVE_ARMV7)  += encoder/arm/neon/vp8_subpixelvariance16x16_neon$(ASM)
-VP8_CX_SRCS-$(HAVE_ARMV7)  += encoder/arm/neon/vp8_subpixelvariance16x16s_neon$(ASM)
-VP8_CX_SRCS-$(HAVE_ARMV7)  += encoder/arm/neon/vp8_memcpy_neon$(ASM)
-VP8_CX_SRCS-$(HAVE_ARMV7)  += encoder/arm/neon/vp8_shortwalsh4x4_neon$(ASM)
diff --git a/vp8/vp8dx.mk b/vp8/vp8dx.mk
deleted file mode 100644 (file)
index 15895c5..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-##
-##  Copyright (c) 2010 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.
-##
-
-
-include $(SRC_PATH_BARE)/$(VP8_PREFIX)vp8_common.mk
-
-VP8_DX_EXPORTS += exports_dec
-
-VP8_DX_SRCS-yes += $(VP8_COMMON_SRCS-yes)
-VP8_DX_SRCS-no  += $(VP8_COMMON_SRCS-no)
-VP8_DX_SRCS_REMOVE-yes += $(VP8_COMMON_SRCS_REMOVE-yes)
-VP8_DX_SRCS_REMOVE-no  += $(VP8_COMMON_SRCS_REMOVE-no)
-
-ifeq ($(ARCH_ARM),yes)
-  include $(SRC_PATH_BARE)/$(VP8_PREFIX)vp8dx_arm.mk
-endif
-
-VP8_DX_SRCS-yes += vp8_dx_iface.c
-
-# common
-#define ARM
-#define DISABLE_THREAD
-
-#INCLUDES += algo/vpx_common/vpx_mem/include
-#INCLUDES += common
-#INCLUDES += common
-#INCLUDES += common
-#INCLUDES += common
-#INCLUDES += decoder
-
-
-
-# decoder
-#define ARM
-#define DISABLE_THREAD
-
-#INCLUDES += algo/vpx_common/vpx_mem/include
-#INCLUDES += common
-#INCLUDES += common
-#INCLUDES += common
-#INCLUDES += common
-#INCLUDES += decoder
-
-VP8_DX_SRCS-yes += decoder/asm_dec_offsets.c
-VP8_DX_SRCS-yes += decoder/dboolhuff.c
-VP8_DX_SRCS-yes += decoder/decodemv.c
-VP8_DX_SRCS-yes += decoder/decodframe.c
-VP8_DX_SRCS-yes += decoder/dequantize.c
-VP8_DX_SRCS-yes += decoder/detokenize.c
-VP8_DX_SRCS-yes += decoder/dboolhuff.h
-VP8_DX_SRCS-yes += decoder/decodemv.h
-VP8_DX_SRCS-yes += decoder/dequantize.h
-VP8_DX_SRCS-yes += decoder/detokenize.h
-VP8_DX_SRCS-yes += decoder/onyxd_int.h
-VP8_DX_SRCS-yes += decoder/treereader.h
-VP8_DX_SRCS-yes += decoder/onyxd_if.c
-VP8_DX_SRCS-yes += decoder/idct_blk.c
-
-VP8_DX_SRCS-yes := $(filter-out $(VP8_DX_SRCS_REMOVE-yes),$(VP8_DX_SRCS-yes))
-
-VP8_DX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += decoder/x86/x86_dsystemdependent.c
-VP8_DX_SRCS-$(HAVE_MMX) += decoder/x86/dequantize_mmx.asm
-VP8_DX_SRCS-$(HAVE_MMX) += decoder/x86/idct_blk_mmx.c
-VP8_DX_SRCS-$(HAVE_SSE2) += decoder/x86/idct_blk_sse2.c
similarity index 94%
rename from vp8/common/arm/arm_systemdependent.c
rename to vp9/common/arm/arm_systemdependent.c
index 0147e24a925dbe447c7fed839196bb767531a9ab..19a01c69f1b0d6c64383cf40249a0bd2f20d4d7b 100644 (file)
 
 #include "vpx_ports/config.h"
 #include "vpx_ports/arm.h"
-#include "vp8/common/pragmas.h"
-#include "vp8/common/subpixel.h"
-#include "vp8/common/loopfilter.h"
-#include "vp8/common/recon.h"
-#include "vp8/common/idct.h"
-#include "vp8/common/onyxc_int.h"
+#include "vp9/common/pragmas.h"
+#include "vp9/common/subpixel.h"
+#include "vp9/common/loopfilter.h"
+#include "vp9/common/recon.h"
+#include "vp9/common/idct.h"
+#include "vp9/common/onyxc_int.h"
 
 void vp9_arch_arm_common_init(VP9_COMMON *ctx) {
 #if CONFIG_RUNTIME_CPU_DETECT
similarity index 97%
rename from vp8/common/arm/bilinearfilter_arm.c
rename to vp9/common/arm/bilinearfilter_arm.c
index 237952d3c76e00947558759bdba9448cdd9b3f8f..287fdf04dbf20d1ec5f181db4c5310da3230d77d 100644 (file)
@@ -10,8 +10,8 @@
 
 
 #include <math.h>
-#include "vp8/common/filter.h"
-#include "vp8/common/subpixel.h"
+#include "vp9/common/filter.h"
+#include "vp9/common/subpixel.h"
 #include "bilinearfilter_arm.h"
 
 void vp9_filter_block2d_bil_armv6
similarity index 98%
rename from vp8/common/arm/filter_arm.c
rename to vp9/common/arm/filter_arm.c
index 37a2a7460f7ace99e3fd77e2c1542476eb5723b2..ccb34e236e47c6f911a8f6787274fcd7e5521b4c 100644 (file)
@@ -11,8 +11,8 @@
 
 #include "vpx_ports/config.h"
 #include <math.h>
-#include "vp8/common/filter.h"
-#include "vp8/common/subpixel.h"
+#include "vp9/common/filter.h"
+#include "vp9/common/subpixel.h"
 #include "vpx_ports/mem.h"
 
 extern void vp9_filter_block2d_first_pass_armv6
similarity index 99%
rename from vp8/common/arm/loopfilter_arm.c
rename to vp9/common/arm/loopfilter_arm.c
index 820eca2f21d896d49c1e380013ff042750ca296d..abcb4c7cc2ea0a6b5cab90e5cdf05879afd95086 100644 (file)
@@ -10,8 +10,8 @@
 
 
 #include "vpx_config.h"
-#include "vp8/common/loopfilter.h"
-#include "vp8/common/onyxc_int.h"
+#include "vp9/common/loopfilter.h"
+#include "vp9/common/onyxc_int.h"
 
 #if HAVE_ARMV6
 extern prototype_loopfilter(vp9_loop_filter_horizontal_edge_armv6);
similarity index 94%
rename from vp8/common/arm/neon/recon_neon.c
rename to vp9/common/arm/neon/recon_neon.c
index 510c87dbe59bbf39699b6a697b5440da9579475a..10fd46feb465663e122f5b96e873f7585ee881e1 100644 (file)
@@ -10,8 +10,8 @@
 
 
 #include "vpx_ports/config.h"
-#include "vp8/common/recon.h"
-#include "vp8/common/blockd.h"
+#include "vp9/common/recon.h"
+#include "vp9/common/blockd.h"
 
 extern void vp8_recon16x16mb_neon(unsigned char *pred_ptr, short *diff_ptr, unsigned char *dst_ptr, int ystride, unsigned char *udst_ptr, unsigned char *vdst_ptr);
 
similarity index 94%
rename from vp8/common/arm/reconintra_arm.c
rename to vp9/common/arm/reconintra_arm.c
index a44809b16325ded8972ec4d46ed29d68b6a140dc..5902546807eaeb4f8e64986b863d548107a0aef6 100644 (file)
 
 
 #include "vpx_ports/config.h"
-#include "vp8/common/blockd.h"
-#include "vp8/common/reconintra.h"
+#include "vp9/common/blockd.h"
+#include "vp9/common/reconintra.h"
 #include "vpx_mem/vpx_mem.h"
-#include "vp8/common/recon.h"
+#include "vp9/common/recon.h"
 
 #if HAVE_ARMV7
 extern void vp9_build_intra_predictors_mby_neon_func(
similarity index 100%
rename from vp8/common/blockd.c
rename to vp9/common/blockd.c
similarity index 100%
rename from vp8/common/blockd.h
rename to vp9/common/blockd.h
similarity index 100%
rename from vp8/common/common.h
rename to vp9/common/common.h
similarity index 100%
rename from vp8/common/context.c
rename to vp9/common/context.c
similarity index 100%
rename from vp8/common/entropy.c
rename to vp9/common/entropy.c
similarity index 100%
rename from vp8/common/entropy.h
rename to vp9/common/entropy.h
similarity index 99%
rename from vp8/common/entropymode.c
rename to vp9/common/entropymode.c
index f6921c732bac0ba56e3db84076093f56b0253d25..5b265787cb071734898af65761a759c57b74e5bb 100644 (file)
@@ -454,7 +454,7 @@ void vp9_update_mode_context(VP9_COMMON *pc) {
 }
 
 #ifdef MODE_STATS
-#include "vp8/common/modecont.h"
+#include "vp9/common/modecont.h"
 void print_mode_contexts(VP9_COMMON *pc) {
   int j, i;
   printf("\n====================\n");
similarity index 100%
rename from vp8/common/extend.c
rename to vp9/common/extend.c
similarity index 100%
rename from vp8/common/extend.h
rename to vp9/common/extend.h
similarity index 100%
rename from vp8/common/filter.c
rename to vp9/common/filter.c
similarity index 100%
rename from vp8/common/filter.h
rename to vp9/common/filter.h
similarity index 99%
rename from vp8/common/findnearmv.c
rename to vp9/common/findnearmv.c
index a21fe6e0a6b3dc389019615ad495f23efd3cf8b6..5270abf6abfe85c053feef1a8a4ae51a511191d7 100644 (file)
@@ -10,7 +10,7 @@
 
 
 #include "findnearmv.h"
-#include "vp8/common/sadmxn.h"
+#include "vp9/common/sadmxn.h"
 #include <limits.h>
 
 const unsigned char vp9_mbsplit_offset[4][16] = {
similarity index 94%
rename from vp8/common/generic/systemdependent.c
rename to vp9/common/generic/systemdependent.c
index 8924f62aa4502564c26df166ffe4bfdacfbb6b21..ed98d30060e17fe27cf79b1f94032baf7d8a8dbb 100644 (file)
 
 #include "vpx_ports/config.h"
 #include "vpx_rtcd.h"
-#include "vp8/common/subpixel.h"
-#include "vp8/common/loopfilter.h"
-#include "vp8/common/idct.h"
-#include "vp8/common/onyxc_int.h"
+#include "vp9/common/subpixel.h"
+#include "vp9/common/loopfilter.h"
+#include "vp9/common/idct.h"
+#include "vp9/common/onyxc_int.h"
 
 extern void vp9_arch_x86_common_init(VP9_COMMON *ctx);
 extern void vp9_arch_arm_common_init(VP9_COMMON *ctx);
@@ -63,7 +63,7 @@ void vp9_machine_specific_config(VP9_COMMON *ctx) {
   rtcd->subpix.bilinear4x4       = vp9_bilinear_predict4x4_c;
   rtcd->subpix.bilinear_avg4x4   = vp9_bilinear_predict_avg4x4_c;
 
-#if CONFIG_POSTPROC || (CONFIG_VP8_ENCODER && CONFIG_INTERNAL_STATS)
+#if CONFIG_POSTPROC || (CONFIG_VP9_ENCODER && CONFIG_INTERNAL_STATS)
   rtcd->postproc.down             = vp9_mbpost_proc_down_c;
   rtcd->postproc.across           = vp9_mbpost_proc_across_ip_c;
   rtcd->postproc.downacross       = vp9_post_proc_down_and_across_c;
similarity index 100%
rename from vp8/common/header.h
rename to vp9/common/header.h
similarity index 99%
rename from vp8/common/idct.h
rename to vp9/common/idct.h
index ee6b0ba7fe625408e901025722957034a91046eb..cbe1169bcbc5c90e8d0ad511538575a8083f8693 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef __INC_IDCT_H
 #define __INC_IDCT_H
 
-#include "vp8/common/blockd.h"
+#include "vp9/common/blockd.h"
 
 #define prototype_second_order(sym) \
   void sym(short *input, short *output)
similarity index 99%
rename from vp8/common/idctllm.c
rename to vp9/common/idctllm.c
index 9958f9508f7d77319c453948f3723bf263c8905a..becb6ef1f6e536bab27856c165d53baa7d842fa7 100644 (file)
 #include <assert.h>
 #include <math.h>
 #include "vpx_ports/config.h"
-#include "vp8/common/idct.h"
-#include "vp8/common/systemdependent.h"
+#include "vp9/common/idct.h"
+#include "vp9/common/systemdependent.h"
 
-#include "vp8/common/blockd.h"
+#include "vp9/common/blockd.h"
 
 static const int cospi8sqrt2minus1 = 20091;
 static const int sinpi8sqrt2      = 35468;
similarity index 99%
rename from vp8/common/implicit_segmentation.c
rename to vp9/common/implicit_segmentation.c
index d9de6032aaa49594d278f426f0139be705dbdb5e..9194e2a308ef7a850b0eb3c5bbd7afe564097201 100644 (file)
@@ -8,7 +8,7 @@
  *  be found in the AUTHORS file in the root of the source tree.
  */
 
-#include "vp8/common/onyxc_int.h"
+#include "vp9/common/onyxc_int.h"
 
 #define MAX_REGIONS 24000
 #ifndef NULL
similarity index 100%
rename from vp8/common/invtrans.c
rename to vp9/common/invtrans.c
similarity index 100%
rename from vp8/common/invtrans.h
rename to vp9/common/invtrans.h
similarity index 99%
rename from vp8/common/loopfilter.c
rename to vp9/common/loopfilter.c
index a2bf14d829e0d7b7e60228f76f00a6338a735db8..0d295c66a765ca690406cddd80e10c10d6e72773 100644 (file)
@@ -13,7 +13,7 @@
 #include "onyxc_int.h"
 #include "vpx_mem/vpx_mem.h"
 
-#include "vp8/common/seg_common.h"
+#include "vp9/common/seg_common.h"
 
 static void lf_init_lut(loop_filter_info_n *lfi) {
   int filt_lvl;
similarity index 100%
rename from vp8/common/mbpitch.c
rename to vp9/common/mbpitch.c
similarity index 100%
rename from vp8/common/modecont.c
rename to vp9/common/modecont.c
similarity index 100%
rename from vp8/common/modecont.h
rename to vp9/common/modecont.h
similarity index 100%
rename from vp8/common/mv.h
rename to vp9/common/mv.h
similarity index 100%
rename from vp8/common/onyx.h
rename to vp9/common/onyx.h
similarity index 100%
rename from vp8/common/onyxd.h
rename to vp9/common/onyxd.h
similarity index 100%
rename from vp8/common/postproc.c
rename to vp9/common/postproc.c
similarity index 100%
rename from vp8/common/postproc.h
rename to vp9/common/postproc.h
similarity index 100%
rename from vp8/common/ppflags.h
rename to vp9/common/ppflags.h
similarity index 100%
rename from vp8/common/pragmas.h
rename to vp9/common/pragmas.h
similarity index 99%
rename from vp8/common/pred_common.c
rename to vp9/common/pred_common.c
index e1b93d3a342028c16748903ffe0b031ce3acfd6d..cc165e061be970b923eb3d9473c1a5545d750440 100644 (file)
@@ -9,8 +9,8 @@
  *  be found in the AUTHORS file in the root of the source tree.
  */
 
-#include "vp8/common/pred_common.h"
-#include "vp8/common/seg_common.h"
+#include "vp9/common/pred_common.h"
+#include "vp9/common/seg_common.h"
 
 // TBD prediction functions for various bitstream signals
 
similarity index 98%
rename from vp8/common/pred_common.h
rename to vp9/common/pred_common.h
index 19782693a29a46eb4a3fa18b317324ac2d406927..33656f23ab09bc422a6e42e382930888a0cff591 100644 (file)
@@ -10,7 +10,7 @@
 
 #include "type_aliases.h"
 #include "onyxc_int.h"
-#include "vp8/common/blockd.h"
+#include "vp9/common/blockd.h"
 
 #ifndef __INC_PRED_COMMON_H__
 #define __INC_PRED_COMMON_H__ 1
similarity index 100%
rename from vp8/common/recon.c
rename to vp9/common/recon.c
similarity index 100%
rename from vp8/common/rtcd.c
rename to vp9/common/rtcd.c
similarity index 99%
rename from vp8/common/rtcd_defs.sh
rename to vp9/common/rtcd_defs.sh
index 403966d72ead79c8613cfae39be95f378cb92150..ec68f50d04f46489a59006cb506e740a9f7ad909 100644 (file)
@@ -230,7 +230,7 @@ fi
 #
 # Encoder functions below this point.
 #
-if [ "$CONFIG_VP8_ENCODER" = "yes" ]; then
+if [ "$CONFIG_VP9_ENCODER" = "yes" ]; then
 
 
 # variance
similarity index 100%
rename from vp8/common/sadmxn.h
rename to vp9/common/sadmxn.h
similarity index 99%
rename from vp8/common/seg_common.c
rename to vp9/common/seg_common.c
index 0cc80b4d2241a0783664eb71e09f5c7d57cfd4aa..ac41b3cb47ae76e5e3149793ecf78fba9e3b3f23 100644 (file)
@@ -8,7 +8,7 @@
  *  be found in the AUTHORS file in the root of the source tree.
  */
 
-#include "vp8/common/seg_common.h"
+#include "vp9/common/seg_common.h"
 
 static const int segfeaturedata_signed[SEG_LVL_MAX] = { 1, 1, 0, 0, 0, 0 };
 static const int seg_feature_data_bits[SEG_LVL_MAX] = { QINDEX_BITS, 6, 4, 4, 6, 2 };
similarity index 98%
rename from vp8/common/seg_common.h
rename to vp9/common/seg_common.h
index 438386aeb30cbe65bce84ad143be2af992e100f5..58edf1612d221ce4246849a398ff2dd40d63a8f2 100644 (file)
@@ -10,7 +10,7 @@
 
 #include "type_aliases.h"
 #include "onyxc_int.h"
-#include "vp8/common/blockd.h"
+#include "vp9/common/blockd.h"
 
 #ifndef __INC_SEG_COMMON_H__
 #define __INC_SEG_COMMON_H__ 1
similarity index 100%
rename from vp8/common/subpixel.h
rename to vp9/common/subpixel.h
similarity index 100%
rename from vp8/common/tapify.py
rename to vp9/common/tapify.py
similarity index 100%
rename from vp8/common/textblit.c
rename to vp9/common/textblit.c
similarity index 99%
rename from vp8/common/x86/filter_sse2.c
rename to vp9/common/x86/filter_sse2.c
index 21845ff5a47f80f8dad92f19d5e405e788d8b528..400b3b4f72c3af4159b15d6c3d702852e5de4cdf 100644 (file)
@@ -10,7 +10,7 @@
 
 #include <assert.h> // for alignment checks
 #include <emmintrin.h> // SSE2
-#include "vp8/common/filter.h"
+#include "vp9/common/filter.h"
 #include "vpx_ports/mem.h" // for DECLARE_ALIGNED
 #include "vpx_rtcd.h"
 
similarity index 99%
rename from vp8/common/x86/filter_sse4.c
rename to vp9/common/x86/filter_sse4.c
index ad753b9c909ec5838a3b6514ede54c5c173c4c33..ac2c92ce43ef14e4bc10286a337a0c20ec703119 100644 (file)
@@ -10,7 +10,7 @@
 
 #include <assert.h> // for alignment checks
 #include <smmintrin.h> // SSE4.1
-#include "vp8/common/filter.h"
+#include "vp9/common/filter.h"
 #include "vpx_ports/mem.h" // for DECLARE_ALIGNED
 #include "vpx_rtcd.h"
 
similarity index 99%
rename from vp8/common/x86/loopfilter_x86.c
rename to vp9/common/x86/loopfilter_x86.c
index faf8577400717c4727cc9325fbc485890db68b67..6aeddd3879ba7eeb60287d893ac74dacddeb37b9 100644 (file)
@@ -10,7 +10,7 @@
 
 #include <emmintrin.h>  // SSE2
 #include "vpx_config.h"
-#include "vp8/common/loopfilter.h"
+#include "vp9/common/loopfilter.h"
 
 prototype_loopfilter(vp9_loop_filter_vertical_edge_mmx);
 prototype_loopfilter(vp9_loop_filter_horizontal_edge_mmx);
similarity index 99%
rename from vp8/common/x86/recon_wrapper_sse2.c
rename to vp9/common/x86/recon_wrapper_sse2.c
index 9ee8087fe611954a79e019b14511206d46a2d3a6..d20e13871941af02f8112877c8e78d2a0f992b11 100644 (file)
@@ -10,7 +10,7 @@
 
 #include "vpx_ports/config.h"
 #include "vpx_mem/vpx_mem.h"
-#include "vp8/common/blockd.h"
+#include "vp9/common/blockd.h"
 
 #define build_intra_predictors_mbuv_prototype(sym) \
   void sym(unsigned char *dst, int dst_stride, \
similarity index 99%
rename from vp8/common/x86/vp8_asm_stubs.c
rename to vp9/common/x86/vp8_asm_stubs.c
index 671e05b18958733746b7ca88fbbbd2f23e163277..817a93e243acc006bc8027835b7475ced6da2bf2 100644 (file)
@@ -11,7 +11,7 @@
 
 #include "vpx_ports/config.h"
 #include "vpx_ports/mem.h"
-#include "vp8/common/subpixel.h"
+#include "vp9/common/subpixel.h"
 
 extern const short vp9_six_tap_mmx[16][6 * 8];
 
similarity index 95%
rename from vp8/common/x86/x86_systemdependent.c
rename to vp9/common/x86/x86_systemdependent.c
index e814755b67aeea6f5bf999dd6f7a8f377e2d8126..6e8e9add87e3c2fbb045533041e2cd73088fecf5 100644 (file)
 
 #include "vpx_config.h"
 #include "vpx_ports/x86.h"
-#include "vp8/common/subpixel.h"
-#include "vp8/common/loopfilter.h"
-#include "vp8/common/idct.h"
-#include "vp8/common/pragmas.h"
-#include "vp8/common/onyxc_int.h"
+#include "vp9/common/subpixel.h"
+#include "vp9/common/loopfilter.h"
+#include "vp9/common/idct.h"
+#include "vp9/common/pragmas.h"
+#include "vp9/common/onyxc_int.h"
 
 void vp9_arch_x86_common_init(VP9_COMMON *ctx) {
 #if CONFIG_RUNTIME_CPU_DETECT
similarity index 98%
rename from vp8/decoder/arm/armv6/idct_blk_v6.c
rename to vp9/decoder/arm/armv6/idct_blk_v6.c
index 20bb869712246cbf3aa64711a2e2902716d347a1..fe9b9035efed0216ddcf4a44a85a2999caea7918 100644 (file)
@@ -9,8 +9,8 @@
  */
 
 #include "vpx_ports/config.h"
-#include "vp8/common/idct.h"
-#include "vp8/decoder/dequantize.h"
+#include "vp9/common/idct.h"
+#include "vp9/decoder/dequantize.h"
 
 void vp8_dequant_dc_idct_add_y_block_v6
 (short *q, short *dq, unsigned char *pre,
similarity index 94%
rename from vp8/decoder/arm/dequantize_arm.c
rename to vp9/decoder/arm/dequantize_arm.c
index 48c8f774118de95edf7614e60e41132c5995b715..cc2ff313ab73e8944b751c38a4adb5dc7cea7430 100644 (file)
@@ -10,8 +10,8 @@
 
 
 #include "vpx_ports/config.h"
-#include "vp8/decoder/dequantize.h"
-#include "vp8/common/idct.h"
+#include "vp9/decoder/dequantize.h"
+#include "vp9/common/idct.h"
 #include "vpx_mem/vpx_mem.h"
 
 #if HAVE_ARMV7
similarity index 97%
rename from vp8/decoder/arm/neon/idct_blk_neon.c
rename to vp9/decoder/arm/neon/idct_blk_neon.c
index 2e494f0b9cb087c68e189fa7ddade5a2c018db86..fb5d298df0a9d9c8ed644204277135a9fc95fa5d 100644 (file)
@@ -9,8 +9,8 @@
  */
 
 #include "vpx_ports/config.h"
-#include "vp8/common/idct.h"
-#include "vp8/decoder/dequantize.h"
+#include "vp9/common/idct.h"
+#include "vp9/decoder/dequantize.h"
 
 /* place these declarations here because we don't want to maintain them
  * outside of this scope
similarity index 99%
rename from vp8/decoder/decodemv.c
rename to vp9/decoder/decodemv.c
index 513079785411876edf1955afd22fc83602ffbeec..c4ff898e8a6fe6264e9a3075d8ba063e94746b80 100644 (file)
 
 
 #include "treereader.h"
-#include "vp8/common/entropymv.h"
-#include "vp8/common/entropymode.h"
+#include "vp9/common/entropymv.h"
+#include "vp9/common/entropymode.h"
 #include "onyxd_int.h"
-#include "vp8/common/findnearmv.h"
+#include "vp9/common/findnearmv.h"
 
-#include "vp8/common/seg_common.h"
-#include "vp8/common/pred_common.h"
-#include "vp8/common/entropy.h"
-#include "vp8/decoder/decodemv.h"
+#include "vp9/common/seg_common.h"
+#include "vp9/common/pred_common.h"
+#include "vp9/common/entropy.h"
+#include "vp9/decoder/decodemv.h"
 #if CONFIG_DEBUG
 #include <assert.h>
 #endif
similarity index 98%
rename from vp8/decoder/decodframe.c
rename to vp9/decoder/decodframe.c
index dee3b5989cf50f01364202d74705b2c686d30429..0499eeb9dd6472e581cd124fe6b3c1a43c346b9d 100644 (file)
 
 
 #include "onyxd_int.h"
-#include "vp8/common/header.h"
-#include "vp8/common/reconintra.h"
-#include "vp8/common/reconintra4x4.h"
-#include "vp8/common/reconinter.h"
+#include "vp9/common/header.h"
+#include "vp9/common/reconintra.h"
+#include "vp9/common/reconintra4x4.h"
+#include "vp9/common/reconinter.h"
 #include "detokenize.h"
-#include "vp8/common/invtrans.h"
-#include "vp8/common/alloccommon.h"
-#include "vp8/common/entropymode.h"
-#include "vp8/common/quant_common.h"
+#include "vp9/common/invtrans.h"
+#include "vp9/common/alloccommon.h"
+#include "vp9/common/entropymode.h"
+#include "vp9/common/quant_common.h"
 #include "vpx_scale/vpxscale.h"
 #include "vpx_scale/yv12extend.h"
-#include "vp8/common/setupintrarecon.h"
+#include "vp9/common/setupintrarecon.h"
 
 #include "decodemv.h"
-#include "vp8/common/extend.h"
-#include "vp8/common/modecont.h"
+#include "vp9/common/extend.h"
+#include "vp9/common/modecont.h"
 #include "vpx_mem/vpx_mem.h"
-#include "vp8/common/idct.h"
+#include "vp9/common/idct.h"
 #include "dboolhuff.h"
 
-#include "vp8/common/seg_common.h"
-#include "vp8/common/entropy.h"
+#include "vp9/common/seg_common.h"
+#include "vp9/common/entropy.h"
 #include "vpx_rtcd.h"
 
 #include <assert.h>
similarity index 99%
rename from vp8/decoder/dequantize.c
rename to vp9/decoder/dequantize.c
index 2f0a6343a38f7b065b3e1bb12b45103ee20aa40a..508aaef5aad67237688a4ca86cf7241ae98779fb 100644 (file)
@@ -11,7 +11,7 @@
 
 #include "vpx_ports/config.h"
 #include "dequantize.h"
-#include "vp8/common/idct.h"
+#include "vp9/common/idct.h"
 #include "vpx_mem/vpx_mem.h"
 #include "onyxd_int.h"
 
similarity index 99%
rename from vp8/decoder/dequantize.h
rename to vp9/decoder/dequantize.h
index 8b2f578d9eebf26e2bca179ed04966bedc3c54be..912061f289125e7079ecdba78a7fda1d3fdc4fe5 100644 (file)
@@ -11,7 +11,7 @@
 
 #ifndef DEQUANTIZE_H
 #define DEQUANTIZE_H
-#include "vp8/common/blockd.h"
+#include "vp9/common/blockd.h"
 
 #if CONFIG_LOSSLESS
 extern void vp9_dequant_idct_add_lossless_c(short *input, short *dq,
similarity index 99%
rename from vp8/decoder/detokenize.c
rename to vp9/decoder/detokenize.c
index 41dbf0e98e45fd675b3265c195a4bad5e19fa4ee..58f5044eada64771f270030c6105aa7f4c3881f9 100644 (file)
@@ -9,14 +9,14 @@
  */
 
 
-#include "vp8/common/type_aliases.h"
-#include "vp8/common/blockd.h"
+#include "vp9/common/type_aliases.h"
+#include "vp9/common/blockd.h"
 #include "onyxd_int.h"
 #include "vpx_mem/vpx_mem.h"
 #include "vpx_ports/mem.h"
 #include "detokenize.h"
 
-#include "vp8/common/seg_common.h"
+#include "vp9/common/seg_common.h"
 
 #define BOOL_DATA UINT8
 
similarity index 99%
rename from vp8/decoder/idct_blk.c
rename to vp9/decoder/idct_blk.c
index fd123b995cbff1aa154a0c47793e581a3c26f936..e9605fc96636a95abc1629b10a3286570a995f09 100644 (file)
@@ -9,7 +9,7 @@
  */
 
 #include "vpx_ports/config.h"
-#include "vp8/common/idct.h"
+#include "vp9/common/idct.h"
 #include "dequantize.h"
 
 void vp9_dequant_dc_idct_add_c(short *input, short *dq, unsigned char *pred,
similarity index 97%
rename from vp8/decoder/onyxd_if.c
rename to vp9/decoder/onyxd_if.c
index c1630b008e450c9afa47eca2c6af1472ac3bbcc4..3364856a64a352a0d6b051a9f1b945031d401207 100644 (file)
@@ -9,23 +9,23 @@
  */
 
 
-#include "vp8/common/onyxc_int.h"
+#include "vp9/common/onyxc_int.h"
 #if CONFIG_POSTPROC
-#include "vp8/common/postproc.h"
+#include "vp9/common/postproc.h"
 #endif
-#include "vp8/common/onyxd.h"
+#include "vp9/common/onyxd.h"
 #include "onyxd_int.h"
 #include "vpx_mem/vpx_mem.h"
-#include "vp8/common/alloccommon.h"
+#include "vp9/common/alloccommon.h"
 #include "vpx_scale/yv12extend.h"
-#include "vp8/common/loopfilter.h"
-#include "vp8/common/swapyv12buffer.h"
+#include "vp9/common/loopfilter.h"
+#include "vp9/common/swapyv12buffer.h"
 #include <stdio.h>
 #include <assert.h>
 
-#include "vp8/common/quant_common.h"
+#include "vp9/common/quant_common.h"
 #include "vpx_scale/vpxscale.h"
-#include "vp8/common/systemdependent.h"
+#include "vp9/common/systemdependent.h"
 #include "vpx_ports/vpx_timer.h"
 #include "detokenize.h"
 #if ARCH_ARM
similarity index 97%
rename from vp8/decoder/onyxd_int.h
rename to vp9/decoder/onyxd_int.h
index 2fb9e90b8fb542490de08513f52921eb7deb3568..2684c04484a347149ec7e90329919c024ebe7cb4 100644 (file)
@@ -12,9 +12,9 @@
 #ifndef __INC_ONYXD_INT_H
 #define __INC_ONYXD_INT_H
 #include "vpx_ports/config.h"
-#include "vp8/common/onyxd.h"
+#include "vp9/common/onyxd.h"
 #include "treereader.h"
-#include "vp8/common/onyxc_int.h"
+#include "vp9/common/onyxc_int.h"
 #include "dequantize.h"
 
 // #define DEC_DEBUG
similarity index 96%
rename from vp8/decoder/treereader.h
rename to vp9/decoder/treereader.h
index ecd007a0fc7005a592261d9db73f25d2cc7ab0f2..931a6405ced5bdeb5f41b7f4b85d42737f0a7083 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef tree_reader_h
 #define tree_reader_h 1
 
-#include "vp8/common/treecoder.h"
+#include "vp9/common/treecoder.h"
 
 #include "dboolhuff.h"
 
similarity index 98%
rename from vp8/decoder/x86/idct_blk_mmx.c
rename to vp9/decoder/x86/idct_blk_mmx.c
index 971b80cc6a37710cd7aee231b22e59154320d90e..189a846deabcd0affc740010bc7458e237141ef7 100644 (file)
@@ -9,8 +9,8 @@
  */
 
 #include "vpx_ports/config.h"
-#include "vp8/common/idct.h"
-#include "vp8/decoder/dequantize.h"
+#include "vp9/common/idct.h"
+#include "vp9/decoder/dequantize.h"
 
 void vp9_dequant_dc_idct_add_y_block_mmx(short *q, short *dq,
                                          unsigned char *pre,
similarity index 98%
rename from vp8/decoder/x86/idct_blk_sse2.c
rename to vp9/decoder/x86/idct_blk_sse2.c
index dbda3ee8ba17eeb5b906f3c707619358d956bccb..bc3c5d663367789ad34dad9f597a8aec28a46c12 100644 (file)
@@ -9,8 +9,8 @@
  */
 
 #include "vpx_ports/config.h"
-#include "vp8/common/idct.h"
-#include "vp8/decoder/dequantize.h"
+#include "vp9/common/idct.h"
+#include "vp9/decoder/dequantize.h"
 
 void vp9_idct_dequant_dc_0_2x_sse2(short *q, short *dq,
                                    unsigned char *pre, unsigned char *dst,
similarity index 95%
rename from vp8/decoder/x86/x86_dsystemdependent.c
rename to vp9/decoder/x86/x86_dsystemdependent.c
index 19c03659a9d40d8cf3c74b197404089da13166c8..35d2f97323714391952c35bcca4afc4bc8857745 100644 (file)
@@ -10,7 +10,7 @@
 
 #include "vpx_ports/config.h"
 #include "vpx_ports/x86.h"
-#include "vp8/decoder/onyxd_int.h"
+#include "vp9/decoder/onyxd_int.h"
 
 #if HAVE_MMX
 void vp9_dequantize_b_impl_mmx(short *sq, short *dq, short *q);
similarity index 98%
rename from vp8/encoder/arm/arm_csystemdependent.c
rename to vp9/encoder/arm/arm_csystemdependent.c
index 1a93bc3e518611acc65316f149aa6a0850daa80a..99129de982d4ddf066985d62aec66076cfb5c0a5 100644 (file)
@@ -11,8 +11,8 @@
 
 #include "vpx_ports/config.h"
 #include "vpx_ports/arm.h"
-#include "vp8/encoder/variance.h"
-#include "vp8/encoder/onyx_int.h"
+#include "vp9/encoder/variance.h"
+#include "vp9/encoder/onyx_int.h"
 
 extern void (*vp9_yv12_copy_partial_frame_ptr)(YV12_BUFFER_CONFIG *src_ybc, YV12_BUFFER_CONFIG *dst_ybc, int Fraction);
 extern void vp9_yv12_copy_partial_frame(YV12_BUFFER_CONFIG *src_ybc, YV12_BUFFER_CONFIG *dst_ybc, int Fraction);
similarity index 96%
rename from vp8/encoder/arm/boolhuff_arm.c
rename to vp9/encoder/arm/boolhuff_arm.c
index bc6fb47009935c9ff29ce1dc465a9b5deb7915cd..49cc6d63b1b9b2296924e4f0ef8e7472c1a90a00 100644 (file)
@@ -9,8 +9,8 @@
  */
 
 
-#include "vp8/encoder/boolhuff.h"
-#include "vp8/common/blockd.h"
+#include "vp9/encoder/boolhuff.h"
+#include "vp9/common/blockd.h"
 
 const unsigned int vp9_prob_cost[256] = {
   2047, 2047, 1791, 1641, 1535, 1452, 1385, 1328, 1279, 1235, 1196, 1161, 1129, 1099, 1072, 1046,
similarity index 99%
rename from vp8/encoder/arm/neon/fastquantizeb_neon.asm
rename to vp9/encoder/arm/neon/fastquantizeb_neon.asm
index dcf3c5090912f8d5567a56f6ede717ef9bdd4b87..259707658fd6c52944c3e07b3039a5a75f699552 100644 (file)
@@ -246,7 +246,7 @@ zero_output
 
     ENDP
 
-; default inverse zigzag table is defined in vp8/common/entropy.c
+; default inverse zigzag table is defined in vp9/common/entropy.c
 _inv_zig_zag_
     DCD inv_zig_zag
 
similarity index 90%
rename from vp8/encoder/arm/neon/picklpf_arm.c
rename to vp9/encoder/arm/neon/picklpf_arm.c
index 44cb6a674525c1798c2ec2bb600a8ce96f218117..f16dadc62d6543c938921b02153acfb713fe2f5a 100644 (file)
@@ -9,13 +9,13 @@
  */
 
 
-#include "vp8/common/onyxc_int.h"
-#include "vp8/encoder/onyx_int.h"
-#include "vp8/encoder/quantize.h"
+#include "vp9/common/onyxc_int.h"
+#include "vp9/encoder/onyx_int.h"
+#include "vp9/encoder/quantize.h"
 #include "vpx_mem/vpx_mem.h"
 #include "vpx_scale/yv12extend.h"
 #include "vpx_scale/vpxscale.h"
-#include "vp8/common/alloccommon.h"
+#include "vp9/common/alloccommon.h"
 
 extern void vp8_memcpy_neon(unsigned char *dst_ptr, unsigned char *src_ptr, int sz);
 
similarity index 96%
rename from vp8/encoder/arm/quantize_arm.c
rename to vp9/encoder/arm/quantize_arm.c
index b78c2534bbf8fa47697d696fd338d38e726d7078..e8aef4f08e75619827a469345f6a812061484250 100644 (file)
@@ -12,8 +12,8 @@
 #include <math.h>
 #include "vpx_mem/vpx_mem.h"
 
-#include "vp8/encoder/quantize.h"
-#include "vp8/common/entropy.h"
+#include "vp9/encoder/quantize.h"
+#include "vp9/common/entropy.h"
 
 
 #if HAVE_ARMV7
similarity index 97%
rename from vp8/encoder/arm/variance_arm.c
rename to vp9/encoder/arm/variance_arm.c
index 097c73e0b9ebfac4555be2408650735b26cfb2e5..c3da1135de96b1ccdab93e8318f35150c7dd3b2f 100644 (file)
@@ -9,9 +9,9 @@
  */
 
 #include "vpx_config.h"
-#include "vp8/encoder/variance.h"
-#include "vp8/common/filter.h"
-#include "vp8/common/arm/bilinearfilter_arm.h"
+#include "vp9/encoder/variance.h"
+#include "vp9/common/filter.h"
+#include "vp9/common/arm/bilinearfilter_arm.h"
 
 #define HALFNDX 8
 
similarity index 99%
rename from vp8/encoder/asm_enc_offsets.c
rename to vp9/encoder/asm_enc_offsets.c
index 345240fdcc39e7382b8059ee9f3ec729c4988951..2be2e4b0b73dd07dc9e5ef23dc39f22eae577616 100644 (file)
@@ -12,7 +12,7 @@
 #include "vpx_ports/asm_offsets.h"
 #include "vpx_config.h"
 #include "block.h"
-#include "vp8/common/blockd.h"
+#include "vp9/common/blockd.h"
 #include "onyx_int.h"
 #include "treewriter.h"
 #include "tokenize.h"
similarity index 99%
rename from vp8/encoder/bitstream.c
rename to vp9/encoder/bitstream.c
index 3bfd5157bc242374773c475b4979da8d39036654..747434414408d4a8ec1bac1463dbab249836f835 100644 (file)
@@ -9,29 +9,29 @@
  */
 
 
-#include "vp8/common/header.h"
+#include "vp9/common/header.h"
 #include "encodemv.h"
-#include "vp8/common/entropymode.h"
-#include "vp8/common/findnearmv.h"
+#include "vp9/common/entropymode.h"
+#include "vp9/common/findnearmv.h"
 #include "mcomp.h"
-#include "vp8/common/systemdependent.h"
+#include "vp9/common/systemdependent.h"
 #include <assert.h>
 #include <stdio.h>
 #include <limits.h>
-#include "vp8/common/pragmas.h"
+#include "vp9/common/pragmas.h"
 #include "vpx/vpx_encoder.h"
 #include "vpx_mem/vpx_mem.h"
 #include "bitstream.h"
 #include "segmentation.h"
 
-#include "vp8/common/seg_common.h"
-#include "vp8/common/pred_common.h"
-#include "vp8/common/entropy.h"
-#include "vp8/encoder/encodemv.h"
-#include "vp8/common/entropymv.h"
+#include "vp9/common/seg_common.h"
+#include "vp9/common/pred_common.h"
+#include "vp9/common/entropy.h"
+#include "vp9/encoder/encodemv.h"
+#include "vp9/common/entropymv.h"
 
 #if CONFIG_NEWBESTREFMV
-#include "vp8/common/mvref_common.h"
+#include "vp9/common/mvref_common.h"
 #endif
 
 #if defined(SECTIONBITS_OUTPUT)
similarity index 97%
rename from vp8/encoder/block.h
rename to vp9/encoder/block.h
index a77017c4ff30273eba38ecc7796d5a7badd65d14..43c249ca74dfd2be1983643df8ed195607db1435 100644 (file)
 #ifndef __INC_BLOCK_H
 #define __INC_BLOCK_H
 
-#include "vp8/common/onyx.h"
-#include "vp8/common/entropymv.h"
-#include "vp8/common/entropy.h"
+#include "vp9/common/onyx.h"
+#include "vp9/common/entropymv.h"
+#include "vp9/common/entropy.h"
 #include "vpx_ports/mem.h"
-#include "vp8/common/onyxc_int.h"
+#include "vp9/common/onyxc_int.h"
 
 // motion search site
 typedef struct {
similarity index 99%
rename from vp8/encoder/dct.c
rename to vp9/encoder/dct.c
index badb135b397653da98f0ef64ae64258704f3a51c..5e56b4e7f537dbd11387e7e8aae53e98786adb62 100644 (file)
 #include <assert.h>
 #include <math.h>
 #include "vpx_ports/config.h"
-#include "vp8/common/idct.h"
-#include "vp8/common/systemdependent.h"
+#include "vp9/common/idct.h"
+#include "vp9/common/systemdependent.h"
 
-#include "vp8/common/blockd.h"
+#include "vp9/common/blockd.h"
 
 // TODO: these transforms can be converted into integer forms to reduce
 //       the complexity
similarity index 99%
rename from vp8/encoder/encodeframe.c
rename to vp9/encoder/encodeframe.c
index 32777876fe02e4119b178eefcbd04ee7d84d63eb..a4be21fea07cfa407103434e642afbc216d0ad7a 100644 (file)
 #include "vpx_ports/config.h"
 #include "encodemb.h"
 #include "encodemv.h"
-#include "vp8/common/common.h"
+#include "vp9/common/common.h"
 #include "onyx_int.h"
-#include "vp8/common/extend.h"
-#include "vp8/common/entropymode.h"
-#include "vp8/common/quant_common.h"
+#include "vp9/common/extend.h"
+#include "vp9/common/entropymode.h"
+#include "vp9/common/quant_common.h"
 #include "segmentation.h"
-#include "vp8/common/setupintrarecon.h"
-#include "vp8/common/reconintra4x4.h"
+#include "vp9/common/setupintrarecon.h"
+#include "vp9/common/reconintra4x4.h"
 #include "encodeintra.h"
-#include "vp8/common/reconinter.h"
-#include "vp8/common/invtrans.h"
+#include "vp9/common/reconinter.h"
+#include "vp9/common/invtrans.h"
 #include "rdopt.h"
-#include "vp8/common/findnearmv.h"
-#include "vp8/common/reconintra.h"
-#include "vp8/common/seg_common.h"
+#include "vp9/common/findnearmv.h"
+#include "vp9/common/reconintra.h"
+#include "vp9/common/seg_common.h"
 #include "vpx_rtcd.h"
 #include <stdio.h>
 #include <math.h>
 #include <limits.h>
-#include "vp8/common/subpixel.h"
+#include "vp9/common/subpixel.h"
 #include "vpx_ports/vpx_timer.h"
-#include "vp8/common/pred_common.h"
+#include "vp9/common/pred_common.h"
 
 #define DBG_PRNT_SEGMAP 0
 #if CONFIG_NEWBESTREFMV
-#include "vp8/common/mvref_common.h"
+#include "vp9/common/mvref_common.h"
 #endif
 
 
similarity index 98%
rename from vp8/encoder/encodeintra.c
rename to vp9/encoder/encodeintra.c
index e89e96c442e31d183baf7ecf7ed76e4b9955740a..32aa5bde4752ebcf457c47d1dee6390da9678225 100644 (file)
 
 #include "vpx_ports/config.h"
 #include "vpx_rtcd.h"
-#include "vp8/common/idct.h"
+#include "vp9/common/idct.h"
 #include "quantize.h"
-#include "vp8/common/reconintra.h"
-#include "vp8/common/reconintra4x4.h"
+#include "vp9/common/reconintra.h"
+#include "vp9/common/reconintra4x4.h"
 #include "encodemb.h"
-#include "vp8/common/invtrans.h"
+#include "vp9/common/invtrans.h"
 #include "encodeintra.h"
 
 #if CONFIG_RUNTIME_CPU_DETECT
similarity index 99%
rename from vp8/encoder/encodemb.c
rename to vp9/encoder/encodemb.c
index d6221daedfb3d25ef879d404766b05bd3368a224..d828c51c640357da0d4a61d0c83ba855287afe82 100644 (file)
 
 #include "vpx_ports/config.h"
 #include "encodemb.h"
-#include "vp8/common/reconinter.h"
+#include "vp9/common/reconinter.h"
 #include "quantize.h"
 #include "tokenize.h"
-#include "vp8/common/invtrans.h"
-#include "vp8/common/reconintra.h"
+#include "vp9/common/invtrans.h"
+#include "vp9/common/reconintra.h"
 #include "vpx_mem/vpx_mem.h"
 #include "rdopt.h"
-#include "vp8/common/systemdependent.h"
+#include "vp9/common/systemdependent.h"
 #include "vpx_rtcd.h"
 
 #if CONFIG_RUNTIME_CPU_DETECT
similarity index 99%
rename from vp8/encoder/encodemv.c
rename to vp9/encoder/encodemv.c
index 675fb0b598bd0a1268180dc21be7e72258fd7dcb..0483d81c7332c1b65600df65aef17ea829366e20 100644 (file)
@@ -9,10 +9,10 @@
  */
 
 
-#include "vp8/common/common.h"
+#include "vp9/common/common.h"
 #include "encodemv.h"
-#include "vp8/common/entropymode.h"
-#include "vp8/common/systemdependent.h"
+#include "vp9/common/entropymode.h"
+#include "vp9/common/systemdependent.h"
 
 #include <math.h>
 
similarity index 99%
rename from vp8/encoder/firstpass.c
rename to vp9/encoder/firstpass.c
index a7ae9189a06bb97afad38fd81e1c9ef0532631d8..4ca190334ee2038980b6bf66ed30b43e40b7c1a0 100644 (file)
 #include "onyx_int.h"
 #include "variance.h"
 #include "encodeintra.h"
-#include "vp8/common/setupintrarecon.h"
+#include "vp9/common/setupintrarecon.h"
 #include "mcomp.h"
 #include "firstpass.h"
 #include "vpx_scale/vpxscale.h"
 #include "encodemb.h"
-#include "vp8/common/extend.h"
-#include "vp8/common/systemdependent.h"
+#include "vp9/common/extend.h"
+#include "vp9/common/systemdependent.h"
 #include "vpx_scale/yv12extend.h"
 #include "vpx_mem/vpx_mem.h"
-#include "vp8/common/swapyv12buffer.h"
+#include "vp9/common/swapyv12buffer.h"
 #include <stdio.h>
 #include "rdopt.h"
 #include "ratectrl.h"
-#include "vp8/common/quant_common.h"
-#include "vp8/common/entropymv.h"
+#include "vp9/common/quant_common.h"
+#include "vp9/common/entropymv.h"
 #include "encodemv.h"
 
 #define OUTPUT_FPF 0
similarity index 95%
rename from vp8/encoder/generic/csystemdependent.c
rename to vp9/encoder/generic/csystemdependent.c
index 03f1add3bcc778f887e2e62641b9dcadfe66a45d..589d0a50bec061500a55b69fa959df90a53a3cfc 100644 (file)
@@ -10,8 +10,8 @@
 
 
 #include "vpx_ports/config.h"
-#include "vp8/encoder/variance.h"
-#include "vp8/encoder/onyx_int.h"
+#include "vp9/encoder/variance.h"
+#include "vp9/encoder/onyx_int.h"
 
 
 void vp9_arch_x86_encoder_init(VP9_COMP *cpi);
similarity index 99%
rename from vp8/encoder/lookahead.c
rename to vp9/encoder/lookahead.c
index ec21a8480b915a7e6922088b54ead217a4f3e92d..25fa069211ff15e3885850bab3fbd2d1103b22df 100644 (file)
@@ -11,7 +11,7 @@
 #include <stdlib.h>
 #include "vpx_config.h"
 #include "lookahead.h"
-#include "vp8/common/extend.h"
+#include "vp9/common/extend.h"
 
 #define MAX_LAG_BUFFERS 25
 
similarity index 98%
rename from vp8/encoder/mbgraph.c
rename to vp9/encoder/mbgraph.c
index d2e609876f44c1211eae7c7272a5ad9466e6fd46..975cfe5dde2708f988cc2ba81dd99e2817ae5610 100644 (file)
@@ -9,14 +9,14 @@
  */
 
 #include <limits.h>
-#include <vp8/encoder/encodeintra.h>
-#include <vp8/encoder/rdopt.h>
-#include <vp8/common/setupintrarecon.h>
-#include <vp8/common/blockd.h>
-#include <vp8/common/reconinter.h>
-#include <vp8/common/systemdependent.h>
+#include <vp9/encoder/encodeintra.h>
+#include <vp9/encoder/rdopt.h>
+#include <vp9/common/setupintrarecon.h>
+#include <vp9/common/blockd.h>
+#include <vp9/common/reconinter.h>
+#include <vp9/common/systemdependent.h>
 #include <vpx_mem/vpx_mem.h>
-#include <vp8/encoder/segmentation.h>
+#include <vp9/encoder/segmentation.h>
 
 static unsigned int do_16x16_motion_iteration(VP9_COMP *cpi,
                                               int_mv *ref_mv,
similarity index 100%
rename from vp8/encoder/mbgraph.h
rename to vp9/encoder/mbgraph.h
similarity index 99%
rename from vp8/encoder/mcomp.c
rename to vp9/encoder/mcomp.c
index 110dbcb9d7868574aa37a3d4e8860dc96ad1fd0f..29d0a1e056b9e62d9cd97418202341037afd47c4 100644 (file)
@@ -9,14 +9,14 @@
  */
 
 
-#include "vp8/encoder/onyx_int.h"
+#include "vp9/encoder/onyx_int.h"
 #include "mcomp.h"
 #include "vpx_mem/vpx_mem.h"
 #include "vpx_ports/config.h"
 #include <stdio.h>
 #include <limits.h>
 #include <math.h>
-#include "vp8/common/findnearmv.h"
+#include "vp9/common/findnearmv.h"
 
 #ifdef ENTROPY_STATS
 static int mv_ref_ct [31] [4] [2];
similarity index 100%
rename from vp8/encoder/mcomp.h
rename to vp9/encoder/mcomp.h
similarity index 96%
rename from vp8/encoder/modecosts.c
rename to vp9/encoder/modecosts.c
index 57d1ae671dba279a9b8d046cc7278948c62a0581..2224f54305e15cda84d94838dd6d68783f375b24 100644 (file)
@@ -9,10 +9,10 @@
  */
 
 
-#include "vp8/common/blockd.h"
+#include "vp9/common/blockd.h"
 #include "onyx_int.h"
 #include "treewriter.h"
-#include "vp8/common/entropymode.h"
+#include "vp9/common/entropymode.h"
 
 
 void vp9_init_mode_costs(VP9_COMP *c) {
similarity index 99%
rename from vp8/encoder/onyx_if.c
rename to vp9/encoder/onyx_if.c
index 4fd6f84d4c78f96b0f4de1a812048e28c79f8362..d89e055dc1d990b68201fd3a230461e258c4bcf4 100644 (file)
 
 
 #include "vpx_config.h"
-#include "vp8/common/onyxc_int.h"
+#include "vp9/common/onyxc_int.h"
 #include "onyx_int.h"
-#include "vp8/common/systemdependent.h"
+#include "vp9/common/systemdependent.h"
 #include "quantize.h"
-#include "vp8/common/alloccommon.h"
+#include "vp9/common/alloccommon.h"
 #include "mcomp.h"
 #include "firstpass.h"
 #include "psnr.h"
 #include "vpx_scale/vpxscale.h"
-#include "vp8/common/extend.h"
+#include "vp9/common/extend.h"
 #include "ratectrl.h"
-#include "vp8/common/quant_common.h"
+#include "vp9/common/quant_common.h"
 #include "segmentation.h"
 #include "vpx_scale/yv12extend.h"
 #if CONFIG_POSTPROC
-#include "vp8/common/postproc.h"
+#include "vp9/common/postproc.h"
 #endif
 #include "vpx_mem/vpx_mem.h"
-#include "vp8/common/swapyv12buffer.h"
+#include "vp9/common/swapyv12buffer.h"
 #include "vpx_ports/vpx_timer.h"
 #include "temporal_filter.h"
 
-#include "vp8/common/seg_common.h"
+#include "vp9/common/seg_common.h"
 #include "mbgraph.h"
-#include "vp8/common/pred_common.h"
-#include "vp8/encoder/rdopt.h"
+#include "vp9/common/pred_common.h"
+#include "vp9/encoder/rdopt.h"
 #include "bitstream.h"
 #include "ratectrl.h"
 
 #if CONFIG_NEWBESTREFMV
-#include "vp8/common/mvref_common.h"
+#include "vp9/common/mvref_common.h"
 #endif
 
 #if ARCH_ARM
similarity index 99%
rename from vp8/encoder/onyx_int.h
rename to vp9/encoder/onyx_int.h
index 42cb97232cae0e95067648a7257cc7525c2798f2..b1bd7932550efd0dd5b8e91372cb62d1b67e4357 100644 (file)
 
 #include <stdio.h>
 #include "vpx_ports/config.h"
-#include "vp8/common/onyx.h"
+#include "vp9/common/onyx.h"
 #include "treewriter.h"
 #include "tokenize.h"
-#include "vp8/common/onyxc_int.h"
+#include "vp9/common/onyxc_int.h"
 #include "variance.h"
 #include "encodemb.h"
 #include "quantize.h"
-#include "vp8/common/entropy.h"
-#include "vp8/common/entropymode.h"
+#include "vp9/common/entropy.h"
+#include "vp9/common/entropymode.h"
 #include "vpx_ports/mem.h"
 #include "vpx/internal/vpx_codec_internal.h"
 #include "mcomp.h"
 #include "temporal_filter.h"
-#include "vp8/common/findnearmv.h"
+#include "vp9/common/findnearmv.h"
 #include "lookahead.h"
 
 // #define SPEEDSTATS 1
similarity index 99%
rename from vp8/encoder/picklpf.c
rename to vp9/encoder/picklpf.c
index 147a2054338abd516bec38e244da5146f612bbaf..9363bccca7ccd77145cca492339163067fc65f43 100644 (file)
@@ -9,14 +9,14 @@
  */
 
 
-#include "vp8/common/onyxc_int.h"
+#include "vp9/common/onyxc_int.h"
 #include "onyx_int.h"
 #include "quantize.h"
 #include "vpx_mem/vpx_mem.h"
 #include "vpx_scale/yv12extend.h"
 #include "vpx_scale/vpxscale.h"
-#include "vp8/common/alloccommon.h"
-#include "vp8/common/loopfilter.h"
+#include "vp9/common/alloccommon.h"
+#include "vp9/common/loopfilter.h"
 #if ARCH_ARM
 #include "vpx_ports/arm.h"
 #endif
similarity index 98%
rename from vp8/encoder/ppc/csystemdependent.c
rename to vp9/encoder/ppc/csystemdependent.c
index edecb20334fa70b489fda0104bc98f9b1f5f6266..f06f43b8dc095d9a8092fe307ec5df22f1434959 100644 (file)
@@ -9,8 +9,8 @@
  */
 
 
-#include "vp8/encoder/variance.h"
-#include "vp8/encoder/onyx_int.h"
+#include "vp9/encoder/variance.h"
+#include "vp9/encoder/onyx_int.h"
 
 SADFunction *vp9_sad16x16;
 SADFunction *vp9_sad16x8;
similarity index 92%
rename from vp8/encoder/psnr.c
rename to vp9/encoder/psnr.c
index 04850518fb02d3d611a43c88feb66c474d4eda80..6b67bd3b952a89237d96e285e5ff05a3c075c145 100644 (file)
@@ -11,7 +11,7 @@
 
 #include "vpx_scale/yv12config.h"
 #include "math.h"
-#include "vp8/common/systemdependent.h" /* for vp9_clear_system_state() */
+#include "vp9/common/systemdependent.h" /* for vp9_clear_system_state() */
 
 #define MAX_PSNR 100
 
similarity index 100%
rename from vp8/encoder/psnr.h
rename to vp9/encoder/psnr.h
similarity index 99%
rename from vp8/encoder/quantize.c
rename to vp9/encoder/quantize.c
index 65b533d2cc0da98ba5303a01de57c2aafe8a4ffb..807a55c18e7127a664fc4136752b488a2f26e8bd 100644 (file)
@@ -13,9 +13,9 @@
 
 #include "onyx_int.h"
 #include "quantize.h"
-#include "vp8/common/quant_common.h"
+#include "vp9/common/quant_common.h"
 
-#include "vp8/common/seg_common.h"
+#include "vp9/common/seg_common.h"
 
 #ifdef ENC_DEBUG
 extern int enc_debug;
similarity index 99%
rename from vp8/encoder/ratectrl.c
rename to vp9/encoder/ratectrl.c
index 1ce5e0eb81a7bd0b168adac1cb776c0962a5ac1b..62a940d2a510d586504476559f07d51818e53694 100644 (file)
 #include <assert.h>
 
 #include "math.h"
-#include "vp8/common/alloccommon.h"
-#include "vp8/common/common.h"
+#include "vp9/common/alloccommon.h"
+#include "vp9/common/common.h"
 #include "ratectrl.h"
-#include "vp8/common/entropymode.h"
+#include "vp9/common/entropymode.h"
 #include "vpx_mem/vpx_mem.h"
-#include "vp8/common/systemdependent.h"
+#include "vp9/common/systemdependent.h"
 #include "encodemv.h"
-#include "vp8/common/quant_common.h"
+#include "vp9/common/quant_common.h"
 
 #define MIN_BPB_FACTOR          0.005
 #define MAX_BPB_FACTOR          50
similarity index 99%
rename from vp8/encoder/rdopt.c
rename to vp9/encoder/rdopt.c
index a30f9ce2ac0ac94cf9b660726226950d0a779db0..1db912787be777fadd53fe0a30ee4a95daba6ef3 100644 (file)
 #include <math.h>
 #include <limits.h>
 #include <assert.h>
-#include "vp8/common/pragmas.h"
+#include "vp9/common/pragmas.h"
 
 #include "tokenize.h"
 #include "treewriter.h"
 #include "onyx_int.h"
 #include "modecosts.h"
 #include "encodeintra.h"
-#include "vp8/common/entropymode.h"
-#include "vp8/common/reconinter.h"
-#include "vp8/common/reconintra.h"
-#include "vp8/common/reconintra4x4.h"
-#include "vp8/common/findnearmv.h"
-#include "vp8/common/quant_common.h"
+#include "vp9/common/entropymode.h"
+#include "vp9/common/reconinter.h"
+#include "vp9/common/reconintra.h"
+#include "vp9/common/reconintra4x4.h"
+#include "vp9/common/findnearmv.h"
+#include "vp9/common/quant_common.h"
 #include "encodemb.h"
 #include "quantize.h"
-#include "vp8/common/idct.h"
+#include "vp9/common/idct.h"
 #include "variance.h"
 #include "mcomp.h"
 #include "rdopt.h"
 #include "ratectrl.h"
 #include "vpx_mem/vpx_mem.h"
-#include "vp8/common/systemdependent.h"
-#include "vp8/encoder/encodemv.h"
+#include "vp9/common/systemdependent.h"
+#include "vp9/encoder/encodemv.h"
 
-#include "vp8/common/seg_common.h"
-#include "vp8/common/pred_common.h"
-#include "vp8/common/entropy.h"
+#include "vp9/common/seg_common.h"
+#include "vp9/common/pred_common.h"
+#include "vp9/common/entropy.h"
 #include "vpx_rtcd.h"
 #if CONFIG_NEWBESTREFMV
-#include "vp8/common/mvref_common.h"
+#include "vp9/common/mvref_common.h"
 #endif
 
 #if CONFIG_RUNTIME_CPU_DETECT
similarity index 100%
rename from vp8/encoder/rdopt.h
rename to vp9/encoder/rdopt.h
similarity index 99%
rename from vp8/encoder/sad_c.c
rename to vp9/encoder/sad_c.c
index 332514141e4a4ca9d6b75e38cea584e8c1e09420..0e02fabdf2b3f915a0932e1eeb6a83aa092abcf2 100644 (file)
@@ -10,7 +10,7 @@
 
 
 #include <stdlib.h>
-#include "vp8/common/sadmxn.h"
+#include "vp9/common/sadmxn.h"
 #include "vpx_ports/config.h"
 #include "vpx/vpx_integer.h"
 
similarity index 100%
rename from vp8/encoder/satd_c.c
rename to vp9/encoder/satd_c.c
similarity index 99%
rename from vp8/encoder/segmentation.c
rename to vp9/encoder/segmentation.c
index c68925ee6550d2cfe937f6c7b8754fdc074dd57b..463cd4a0ad6221e7a8bd3885c11a6c22b401f3aa 100644 (file)
@@ -12,7 +12,7 @@
 #include "limits.h"
 #include "vpx_mem/vpx_mem.h"
 #include "segmentation.h"
-#include "vp8/common/pred_common.h"
+#include "vp9/common/pred_common.h"
 
 void vp9_update_gf_useage_maps(VP9_COMP *cpi, VP9_COMMON *cm, MACROBLOCK *x) {
   int mb_row, mb_col;
similarity index 98%
rename from vp8/encoder/segmentation.h
rename to vp9/encoder/segmentation.h
index 7719da38af542ce141305c6bb8bc487b09e3332b..8caea4878ef8f2bf2064eb42d368621b4eefcd86 100644 (file)
@@ -10,7 +10,7 @@
 
 
 #include "string.h"
-#include "vp8/common/blockd.h"
+#include "vp9/common/blockd.h"
 #include "onyx_int.h"
 
 #ifndef __INC_SEGMENTATION_H__
similarity index 100%
rename from vp8/encoder/ssim.c
rename to vp9/encoder/ssim.c
similarity index 98%
rename from vp8/encoder/temporal_filter.c
rename to vp9/encoder/temporal_filter.c
index 7e532ea6cf1e7db42aad948627987499523a03fd..db8b36138fba9c50029430f451e48c117033a7af 100644 (file)
@@ -9,22 +9,22 @@
  */
 
 
-#include "vp8/common/onyxc_int.h"
+#include "vp9/common/onyxc_int.h"
 #include "onyx_int.h"
-#include "vp8/common/systemdependent.h"
+#include "vp9/common/systemdependent.h"
 #include "quantize.h"
-#include "vp8/common/alloccommon.h"
+#include "vp9/common/alloccommon.h"
 #include "mcomp.h"
 #include "firstpass.h"
 #include "psnr.h"
 #include "vpx_scale/vpxscale.h"
-#include "vp8/common/extend.h"
+#include "vp9/common/extend.h"
 #include "ratectrl.h"
-#include "vp8/common/quant_common.h"
+#include "vp9/common/quant_common.h"
 #include "segmentation.h"
 #include "vpx_scale/yv12extend.h"
 #include "vpx_mem/vpx_mem.h"
-#include "vp8/common/swapyv12buffer.h"
+#include "vp9/common/swapyv12buffer.h"
 #include "vpx_ports/vpx_timer.h"
 
 #include <math.h>
similarity index 99%
rename from vp8/encoder/tokenize.c
rename to vp9/encoder/tokenize.c
index 5c5b6730a7e8195115435e40bf349fd3ea999d7b..3c5c1c7a2276a2ffc1105909211dc07f6c954cab 100644 (file)
@@ -17,9 +17,9 @@
 #include "tokenize.h"
 #include "vpx_mem/vpx_mem.h"
 
-#include "vp8/common/pred_common.h"
-#include "vp8/common/seg_common.h"
-#include "vp8/common/entropy.h"
+#include "vp9/common/pred_common.h"
+#include "vp9/common/seg_common.h"
+#include "vp9/common/entropy.h"
 
 /* Global event counters used for accumulating statistics across several
    compressions, then generating context.c = initial stats. */
similarity index 98%
rename from vp8/encoder/tokenize.h
rename to vp9/encoder/tokenize.h
index 4cca36e408d37b46d6bd2bc6735a8aad2c8d2b36..bef52c505838f0eb10a4d16810ed2d700ad367e7 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef tokenize_h
 #define tokenize_h
 
-#include "vp8/common/entropy.h"
+#include "vp9/common/entropy.h"
 #include "block.h"
 
 void vp9_tokenize_initialize();
similarity index 98%
rename from vp8/encoder/treewriter.h
rename to vp9/encoder/treewriter.h
index e2a0ee2d719e9837f176da75d8a0d53486257a5a..1e1bf3d6bdb765b5934442b4c2873d30b68c2002 100644 (file)
@@ -15,7 +15,7 @@
 /* Trees map alphabets into huffman-like codes suitable for an arithmetic
    bit coder.  Timothy S Murphy  11 October 2004 */
 
-#include "vp8/common/treecoder.h"
+#include "vp9/common/treecoder.h"
 
 #include "boolhuff.h"       /* for now */
 
similarity index 99%
rename from vp8/encoder/variance_c.c
rename to vp9/encoder/variance_c.c
index 4dc554dbf5f327147ff37640db9e015748b84018..1577cac8c1d03c548350d1df106ed18aee42765d 100644 (file)
@@ -10,7 +10,7 @@
 
 
 #include "variance.h"
-#include "vp8/common/filter.h"
+#include "vp9/common/filter.h"
 
 
 unsigned int vp9_get_mb_ss_c(const short *src_ptr) {
similarity index 99%
rename from vp8/encoder/x86/quantize_sse2.asm
rename to vp9/encoder/x86/quantize_sse2.asm
index 153060e74558a8c09daa650ee69c32a03753e5df..9b563c514d90369fc41c9f7014bb68748eae490f 100644 (file)
@@ -149,7 +149,7 @@ sym(vp9_regular_quantize_b_sse2):
     mov         rdx, [rsp + zrun_zbin_boost] ; reset to b->zrun_zbin_boost
 .rq_zigzag_loop_%1:
 %endmacro
-; in vp9_default_zig_zag1d order: see vp8/common/entropy.c
+; in vp9_default_zig_zag1d order: see vp9/common/entropy.c
 ZIGZAG_LOOP  0
 ZIGZAG_LOOP  1
 ZIGZAG_LOOP  4
similarity index 98%
rename from vp8/encoder/x86/quantize_sse4.asm
rename to vp9/encoder/x86/quantize_sse4.asm
index 8ce1b7cffaa2a1dd3fed9215f043d29224402f75..c7429ecd3ad0974f062c6bc29f4f87401ffdb6c5 100644 (file)
@@ -156,7 +156,7 @@ sym(vp9_regular_quantize_b_sse4):
     mov         rdx, rax                    ; reset to b->zrun_zbin_boost
 .rq_zigzag_loop_%1:
 %endmacro
-; in vp9_default_zig_zag1d order: see vp8/common/entropy.c
+; in vp9_default_zig_zag1d order: see vp9/common/entropy.c
 ZIGZAG_LOOP  0, 0, xmm2, xmm6, xmm4
 ZIGZAG_LOOP  1, 1, xmm2, xmm6, xmm4
 ZIGZAG_LOOP  4, 4, xmm2, xmm6, xmm4
@@ -249,6 +249,6 @@ ZIGZAG_LOOP 15, 7, xmm3, xmm7, xmm8
 
 SECTION_RODATA
 align 16
-; vp8/common/entropy.c: vp9_default_zig_zag1d
+; vp9/common/entropy.c: vp9_default_zig_zag1d
 zig_zag1d:
     db 0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15
similarity index 99%
rename from vp8/encoder/x86/variance_mmx.c
rename to vp9/encoder/x86/variance_mmx.c
index 2d72d50a8f2d8dc65f847582461e1436fc9cbb4d..3fedc6b5c69a0639eec2dd49bf20c885097b2048 100644 (file)
@@ -9,8 +9,8 @@
  */
 
 #include "vpx_config.h"
-#include "vp8/encoder/variance.h"
-#include "vp8/common/pragmas.h"
+#include "vp9/encoder/variance.h"
+#include "vp9/common/pragmas.h"
 #include "vpx_ports/mem.h"
 
 extern void filter_block1d_h6_mmx
similarity index 99%
rename from vp8/encoder/x86/variance_sse2.c
rename to vp9/encoder/x86/variance_sse2.c
index f3b0b600a647b23e479a6e73282a1f5d8e758276..e63c53a538e17ce4272fe311ce5c7310ef1dc970 100644 (file)
@@ -9,8 +9,8 @@
  */
 
 #include "vpx_config.h"
-#include "vp8/encoder/variance.h"
-#include "vp8/common/pragmas.h"
+#include "vp9/encoder/variance.h"
+#include "vp9/common/pragmas.h"
 #include "vpx_ports/mem.h"
 
 #define HALFNDX 8
similarity index 98%
rename from vp8/encoder/x86/variance_ssse3.c
rename to vp9/encoder/x86/variance_ssse3.c
index f33c662e1740b63bc55c13bdf8ac5751592fffc3..f37abb881f0aeae2267cea6baf20513276b92f95 100644 (file)
@@ -9,8 +9,8 @@
  */
 
 #include "vpx_config.h"
-#include "vp8/encoder/variance.h"
-#include "vp8/common/pragmas.h"
+#include "vp9/encoder/variance.h"
+#include "vp9/common/pragmas.h"
 #include "vpx_ports/mem.h"
 
 #define HALFNDX 8
similarity index 98%
rename from vp8/encoder/x86/x86_csystemdependent.c
rename to vp9/encoder/x86/x86_csystemdependent.c
index 4af69c7198d8e3f090c3017872cb22d7cdae025e..4cff713db73b570bd9c75b010b38c2bcc9e0a256 100644 (file)
@@ -11,8 +11,8 @@
 
 #include "vpx_ports/config.h"
 #include "vpx_ports/x86.h"
-#include "vp8/encoder/variance.h"
-#include "vp8/encoder/onyx_int.h"
+#include "vp9/encoder/variance.h"
+#include "vp9/encoder/onyx_int.h"
 
 
 #if HAVE_MMX
similarity index 100%
rename from vp8/exports_dec
rename to vp9/exports_dec
similarity index 100%
rename from vp8/exports_enc
rename to vp9/exports_enc
diff --git a/vp9/vp9_common.mk b/vp9/vp9_common.mk
new file mode 100644 (file)
index 0000000..c5237d8
--- /dev/null
@@ -0,0 +1,179 @@
+##
+##  Copyright (c) 2010 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.
+##
+
+VP9_COMMON_SRCS-yes += vp9_common.mk
+VP9_COMMON_SRCS-yes += common/type_aliases.h
+VP9_COMMON_SRCS-yes += common/pragmas.h
+VP9_COMMON_SRCS-yes += common/ppflags.h
+VP9_COMMON_SRCS-yes += common/onyx.h
+VP9_COMMON_SRCS-yes += common/onyxd.h
+VP9_COMMON_SRCS-yes += common/alloccommon.c
+VP9_COMMON_SRCS-yes += common/asm_com_offsets.c
+VP9_COMMON_SRCS-yes += common/blockd.c
+VP9_COMMON_SRCS-yes += common/coefupdateprobs.h
+VP9_COMMON_SRCS-yes += common/debugmodes.c
+VP9_COMMON_SRCS-yes += common/entropy.c
+VP9_COMMON_SRCS-yes += common/entropymode.c
+VP9_COMMON_SRCS-yes += common/entropymv.c
+VP9_COMMON_SRCS-yes += common/extend.c
+VP9_COMMON_SRCS-yes += common/filter.c
+VP9_COMMON_SRCS-yes += common/filter.h
+VP9_COMMON_SRCS-yes += common/findnearmv.c
+VP9_COMMON_SRCS-yes += common/generic/systemdependent.c
+VP9_COMMON_SRCS-yes += common/idctllm.c
+VP9_COMMON_SRCS-yes += common/alloccommon.h
+VP9_COMMON_SRCS-yes += common/blockd.h
+VP9_COMMON_SRCS-yes += common/common.h
+VP9_COMMON_SRCS-yes += common/common_types.h
+VP9_COMMON_SRCS-yes += common/entropy.h
+VP9_COMMON_SRCS-yes += common/entropymode.h
+VP9_COMMON_SRCS-yes += common/entropymv.h
+VP9_COMMON_SRCS-yes += common/extend.h
+VP9_COMMON_SRCS-yes += common/findnearmv.h
+VP9_COMMON_SRCS-yes += common/header.h
+VP9_COMMON_SRCS-yes += common/idct.h
+VP9_COMMON_SRCS-yes += common/invtrans.h
+VP9_COMMON_SRCS-yes += common/loopfilter.h
+VP9_COMMON_SRCS-yes += common/modecont.h
+VP9_COMMON_SRCS-yes += common/mv.h
+VP9_COMMON_SRCS-yes += common/onyxc_int.h
+VP9_COMMON_SRCS-yes += common/pred_common.h
+VP9_COMMON_SRCS-yes += common/pred_common.c
+VP9_COMMON_SRCS-yes += common/quant_common.h
+VP9_COMMON_SRCS-yes += common/reconinter.h
+VP9_COMMON_SRCS-yes += common/reconintra.h
+VP9_COMMON_SRCS-yes += common/reconintra4x4.h
+VP9_COMMON_SRCS-yes += common/rtcd.c
+VP9_COMMON_SRCS-yes += common/rtcd_defs.sh
+VP9_COMMON_SRCS-yes += common/sadmxn.h
+VP9_COMMON_SRCS-yes += common/seg_common.h
+VP9_COMMON_SRCS-yes += common/seg_common.c
+VP9_COMMON_SRCS-yes += common/setupintrarecon.h
+VP9_COMMON_SRCS-yes += common/subpixel.h
+VP9_COMMON_SRCS-yes += common/swapyv12buffer.h
+VP9_COMMON_SRCS-yes += common/systemdependent.h
+VP9_COMMON_SRCS-yes += common/treecoder.h
+VP9_COMMON_SRCS-yes += common/invtrans.c
+VP9_COMMON_SRCS-yes += common/loopfilter.c
+VP9_COMMON_SRCS-yes += common/loopfilter_filters.c
+VP9_COMMON_SRCS-yes += common/mbpitch.c
+VP9_COMMON_SRCS-yes += common/modecont.c
+VP9_COMMON_SRCS-yes += common/modecontext.c
+VP9_COMMON_SRCS-yes += common/mvref_common.c
+VP9_COMMON_SRCS-yes += common/mvref_common.h
+VP9_COMMON_SRCS-yes += common/quant_common.c
+VP9_COMMON_SRCS-yes += common/recon.c
+VP9_COMMON_SRCS-yes += common/reconinter.c
+VP9_COMMON_SRCS-yes += common/reconintra.c
+VP9_COMMON_SRCS-yes += common/reconintra4x4.c
+VP9_COMMON_SRCS-yes += common/setupintrarecon.c
+VP9_COMMON_SRCS-yes += common/swapyv12buffer.c
+VP9_COMMON_SRCS-$(CONFIG_POSTPROC_VISUALIZER) += common/textblit.c
+VP9_COMMON_SRCS-yes += common/treecoder.c
+VP9_COMMON_SRCS-$(CONFIG_IMPLICIT_SEGMENTATION) += common/implicit_segmentation.c
+
+VP9_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/idct_x86.h
+VP9_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/subpixel_x86.h
+VP9_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/loopfilter_x86.h
+VP9_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/postproc_x86.h
+VP9_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/x86_systemdependent.c
+VP9_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/vp8_asm_stubs.c
+VP9_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/loopfilter_x86.c
+VP9_COMMON_SRCS-$(CONFIG_POSTPROC) += common/postproc.h
+VP9_COMMON_SRCS-$(CONFIG_POSTPROC) += common/postproc.c
+VP9_COMMON_SRCS-$(HAVE_MMX) += common/x86/idctllm_mmx.asm
+VP9_COMMON_SRCS-$(HAVE_MMX) += common/x86/iwalsh_mmx.asm
+VP9_COMMON_SRCS-$(HAVE_MMX) += common/x86/recon_mmx.asm
+VP9_COMMON_SRCS-$(HAVE_MMX) += common/x86/subpixel_mmx.asm
+VP9_COMMON_SRCS-$(HAVE_MMX) += common/x86/loopfilter_mmx.asm
+VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/idctllm_sse2.asm
+VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/recon_sse2.asm
+VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/recon_wrapper_sse2.c
+VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/subpixel_sse2.asm
+VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/loopfilter_sse2.asm
+VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/iwalsh_sse2.asm
+VP9_COMMON_SRCS-$(HAVE_SSSE3) += common/x86/subpixel_8t_ssse3.asm
+VP9_COMMON_SRCS-$(HAVE_SSSE3) += common/x86/subpixel_ssse3.asm
+ifeq ($(CONFIG_POSTPROC),yes)
+VP9_COMMON_SRCS-$(HAVE_MMX) += common/x86/postproc_mmx.asm
+VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/postproc_sse2.asm
+endif
+
+# common (c)
+ifeq ($(CONFIG_CSM),yes)
+VP9_COMMON_SRCS-yes += common/maskingmv.c
+VP9_COMMON_SRCS-$(HAVE_SSE3) += common/x86/mask_sse3.asm
+endif
+
+VP9_COMMON_SRCS-$(HAVE_SSE4_1) += common/x86/filter_sse4.c
+ifeq ($(HAVE_SSE4_1),yes)
+vp9/common/x86/filter_sse4.c.o: CFLAGS += -msse4
+endif
+
+VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/filter_sse2.c
+VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/sadmxn_x86.c
+ifeq ($(HAVE_SSE2),yes)
+vp9/common/x86/filter_sse2.c.o: CFLAGS += -msse2
+vp9/common/x86/loopfilter_x86.c.o: CFLAGS += -msse2
+vp9/common/x86/sadmxn_x86.c.o: CFLAGS += -msse2
+endif
+
+VP9_COMMON_SRCS-$(ARCH_ARM)  += common/arm/arm_systemdependent.c
+VP9_COMMON_SRCS-$(ARCH_ARM)  += common/arm/bilinearfilter_arm.c
+VP9_COMMON_SRCS-$(ARCH_ARM)  += common/arm/bilinearfilter_arm.h
+VP9_COMMON_SRCS-$(ARCH_ARM)  += common/arm/filter_arm.c
+VP9_COMMON_SRCS-$(ARCH_ARM)  += common/arm/idct_arm.h
+VP9_COMMON_SRCS-$(ARCH_ARM)  += common/arm/loopfilter_arm.c
+VP9_COMMON_SRCS-$(ARCH_ARM)  += common/arm/loopfilter_arm.h
+VP9_COMMON_SRCS-$(ARCH_ARM)  += common/arm/recon_arm.h
+VP9_COMMON_SRCS-$(ARCH_ARM)  += common/arm/reconintra_arm.c
+VP9_COMMON_SRCS-$(ARCH_ARM)  += common/arm/subpixel_arm.h
+
+# common (armv6)
+VP9_COMMON_SRCS-$(HAVE_ARMV6)  += common/arm/armv6/bilinearfilter_v6$(ASM)
+VP9_COMMON_SRCS-$(HAVE_ARMV6)  += common/arm/armv6/copymem8x4_v6$(ASM)
+VP9_COMMON_SRCS-$(HAVE_ARMV6)  += common/arm/armv6/copymem8x8_v6$(ASM)
+VP9_COMMON_SRCS-$(HAVE_ARMV6)  += common/arm/armv6/copymem16x16_v6$(ASM)
+VP9_COMMON_SRCS-$(HAVE_ARMV6)  += common/arm/armv6/dc_only_idct_add_v6$(ASM)
+VP9_COMMON_SRCS-$(HAVE_ARMV6)  += common/arm/armv6/iwalsh_v6$(ASM)
+VP9_COMMON_SRCS-$(HAVE_ARMV6)  += common/arm/armv6/filter_v6$(ASM)
+VP9_COMMON_SRCS-$(HAVE_ARMV6)  += common/arm/armv6/idct_v6$(ASM)
+VP9_COMMON_SRCS-$(HAVE_ARMV6)  += common/arm/armv6/loopfilter_v6$(ASM)
+VP9_COMMON_SRCS-$(HAVE_ARMV6)  += common/arm/armv6/recon_v6$(ASM)
+VP9_COMMON_SRCS-$(HAVE_ARMV6)  += common/arm/armv6/simpleloopfilter_v6$(ASM)
+VP9_COMMON_SRCS-$(HAVE_ARMV6)  += common/arm/armv6/sixtappredict8x4_v6$(ASM)
+
+# common (neon)
+VP9_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/bilinearpredict4x4_neon$(ASM)
+VP9_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/bilinearpredict8x4_neon$(ASM)
+VP9_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/bilinearpredict8x8_neon$(ASM)
+VP9_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/bilinearpredict16x16_neon$(ASM)
+VP9_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/copymem8x4_neon$(ASM)
+VP9_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/copymem8x8_neon$(ASM)
+VP9_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/copymem16x16_neon$(ASM)
+VP9_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/dc_only_idct_add_neon$(ASM)
+VP9_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/iwalsh_neon$(ASM)
+VP9_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/loopfilter_neon$(ASM)
+VP9_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/loopfiltersimplehorizontaledge_neon$(ASM)
+VP9_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/loopfiltersimpleverticaledge_neon$(ASM)
+VP9_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/mbloopfilter_neon$(ASM)
+VP9_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/recon2b_neon$(ASM)
+VP9_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/recon4b_neon$(ASM)
+VP9_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/reconb_neon$(ASM)
+VP9_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/shortidct4x4llm_1_neon$(ASM)
+VP9_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/shortidct4x4llm_neon$(ASM)
+VP9_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/sixtappredict4x4_neon$(ASM)
+VP9_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/sixtappredict8x4_neon$(ASM)
+VP9_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/sixtappredict8x8_neon$(ASM)
+VP9_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/sixtappredict16x16_neon$(ASM)
+VP9_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/recon16x16mb_neon$(ASM)
+VP9_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/buildintrapredictorsmby_neon$(ASM)
+VP9_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/save_neon_reg$(ASM)
+VP9_COMMON_SRCS-$(HAVE_ARMV7)  += common/arm/neon/recon_neon.c
similarity index 99%
rename from vp8/vp8_cx_iface.c
rename to vp9/vp9_cx_iface.c
index 3d42ef37a186c07461cd70af56c240d978c2a42d..1d8d950e0f10fa359f5e4010c4ae06139111b3fa 100644 (file)
 #include "vpx/vpx_codec.h"
 #include "vpx/internal/vpx_codec_internal.h"
 #include "vpx_version.h"
-#include "vp8/encoder/onyx_int.h"
+#include "vp9/encoder/onyx_int.h"
 #include "vpx/vp8e.h"
-#include "vp8/encoder/firstpass.h"
-#include "vp8/common/onyx.h"
+#include "vp9/encoder/firstpass.h"
+#include "vp9/common/onyx.h"
 #include <stdlib.h>
 #include <string.h>
 
similarity index 100%
rename from vp8/vp8_dx_iface.c
rename to vp9/vp9_dx_iface.c
diff --git a/vp9/vp9cx.mk b/vp9/vp9cx.mk
new file mode 100644 (file)
index 0000000..ebb7a57
--- /dev/null
@@ -0,0 +1,120 @@
+##
+##  Copyright (c) 2010 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.
+##
+
+
+include $(SRC_PATH_BARE)/$(VP9_PREFIX)vp9_common.mk
+
+VP9_CX_EXPORTS += exports_enc
+
+VP9_CX_SRCS-yes += $(VP9_COMMON_SRCS-yes)
+VP9_CX_SRCS-no  += $(VP9_COMMON_SRCS-no)
+VP9_CX_SRCS_REMOVE-yes += $(VP9_COMMON_SRCS_REMOVE-yes)
+VP9_CX_SRCS_REMOVE-no  += $(VP9_COMMON_SRCS_REMOVE-no)
+
+ifeq ($(ARCH_ARM),yes)
+  include $(SRC_PATH_BARE)/$(VP9_PREFIX)vp9cx_arm.mk
+endif
+
+VP9_CX_SRCS-yes += vp9_cx_iface.c
+
+# encoder
+#INCLUDES += algo/vpx_common/vpx_mem/include
+#INCLUDES += common
+#INCLUDES += common
+#INCLUDES += common
+#INCLUDES += algo/vpx_ref/cpu_id/include
+#INCLUDES += common
+#INCLUDES += encoder
+
+VP9_CX_SRCS-yes += encoder/asm_enc_offsets.c
+VP9_CX_SRCS-yes += encoder/bitstream.c
+VP9_CX_SRCS-yes += encoder/boolhuff.c
+VP9_CX_SRCS-yes += encoder/dct.c
+VP9_CX_SRCS-yes += encoder/encodeframe.c
+VP9_CX_SRCS-yes += encoder/encodeintra.c
+VP9_CX_SRCS-yes += encoder/encodemb.c
+VP9_CX_SRCS-yes += encoder/encodemv.c
+VP9_CX_SRCS-yes += encoder/firstpass.c
+VP9_CX_SRCS-yes += encoder/generic/csystemdependent.c
+VP9_CX_SRCS-yes += encoder/block.h
+VP9_CX_SRCS-yes += encoder/boolhuff.h
+VP9_CX_SRCS-yes += encoder/bitstream.h
+VP9_CX_SRCS-yes += encoder/encodeintra.h
+VP9_CX_SRCS-yes += encoder/encodemb.h
+VP9_CX_SRCS-yes += encoder/encodemv.h
+VP9_CX_SRCS-yes += encoder/firstpass.h
+VP9_CX_SRCS-yes += encoder/lookahead.c
+VP9_CX_SRCS-yes += encoder/lookahead.h
+VP9_CX_SRCS-yes += encoder/mcomp.h
+VP9_CX_SRCS-yes += encoder/modecosts.h
+VP9_CX_SRCS-yes += encoder/onyx_int.h
+VP9_CX_SRCS-yes += encoder/psnr.h
+VP9_CX_SRCS-yes += encoder/quantize.h
+VP9_CX_SRCS-yes += encoder/ratectrl.h
+VP9_CX_SRCS-yes += encoder/rdopt.h
+VP9_CX_SRCS-yes += encoder/tokenize.h
+VP9_CX_SRCS-yes += encoder/treewriter.h
+VP9_CX_SRCS-yes += encoder/variance.h
+VP9_CX_SRCS-yes += encoder/mcomp.c
+VP9_CX_SRCS-yes += encoder/modecosts.c
+VP9_CX_SRCS-yes += encoder/onyx_if.c
+VP9_CX_SRCS-yes += encoder/picklpf.c
+VP9_CX_SRCS-yes += encoder/psnr.c
+VP9_CX_SRCS-yes += encoder/quantize.c
+VP9_CX_SRCS-yes += encoder/ratectrl.c
+VP9_CX_SRCS-yes += encoder/rdopt.c
+VP9_CX_SRCS-yes += encoder/sad_c.c
+VP9_CX_SRCS-yes += encoder/satd_c.c
+VP9_CX_SRCS-yes += encoder/segmentation.c
+VP9_CX_SRCS-yes += encoder/segmentation.h
+VP9_CX_SRCS-$(CONFIG_INTERNAL_STATS) += encoder/ssim.c
+VP9_CX_SRCS-yes += encoder/tokenize.c
+VP9_CX_SRCS-yes += encoder/treewriter.c
+VP9_CX_SRCS-yes += encoder/variance_c.c
+ifeq ($(CONFIG_POSTPROC),yes)
+VP9_CX_SRCS-$(CONFIG_INTERNAL_STATS) += common/postproc.h
+VP9_CX_SRCS-$(CONFIG_INTERNAL_STATS) += common/postproc.c
+endif
+VP9_CX_SRCS-yes += encoder/temporal_filter.c
+VP9_CX_SRCS-yes += encoder/temporal_filter.h
+VP9_CX_SRCS-yes += encoder/mbgraph.c
+VP9_CX_SRCS-yes += encoder/mbgraph.h
+
+
+VP9_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/mcomp_x86.h
+VP9_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/quantize_x86.h
+VP9_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/temporal_filter_x86.h
+VP9_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/x86_csystemdependent.c
+VP9_CX_SRCS-$(HAVE_MMX) += encoder/x86/variance_mmx.c
+VP9_CX_SRCS-$(HAVE_MMX) += encoder/x86/variance_impl_mmx.asm
+VP9_CX_SRCS-$(HAVE_MMX) += encoder/x86/sad_mmx.asm
+VP9_CX_SRCS-$(HAVE_MMX) += encoder/x86/dct_mmx.asm
+VP9_CX_SRCS-$(HAVE_MMX) += encoder/x86/subtract_mmx.asm
+VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/dct_sse2.asm
+VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/variance_sse2.c
+VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/variance_impl_sse2.asm
+VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/sad_sse2.asm
+VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/fwalsh_sse2.asm
+VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/quantize_sse2.asm
+VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/subtract_sse2.asm
+VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/temporal_filter_apply_sse2.asm
+VP9_CX_SRCS-$(HAVE_SSE3) += encoder/x86/sad_sse3.asm
+VP9_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/sad_ssse3.asm
+VP9_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/variance_ssse3.c
+VP9_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/variance_impl_ssse3.asm
+VP9_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/quantize_ssse3.asm
+VP9_CX_SRCS-$(HAVE_SSE4_1) += encoder/x86/sad_sse4.asm
+VP9_CX_SRCS-$(HAVE_SSE4_1) += encoder/x86/quantize_sse4.asm
+VP9_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/quantize_mmx.asm
+VP9_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/encodeopt.asm
+VP9_CX_SRCS-$(ARCH_X86_64) += encoder/x86/ssim_opt.asm
+
+
+VP9_CX_SRCS-yes := $(filter-out $(VP9_CX_SRCS_REMOVE-yes),$(VP9_CX_SRCS-yes))
diff --git a/vp9/vp9cx_arm.mk b/vp9/vp9cx_arm.mk
new file mode 100644 (file)
index 0000000..92dece3
--- /dev/null
@@ -0,0 +1,63 @@
+##
+##  Copyright (c) 2010 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.
+##
+
+
+#VP9_CX_SRCS list is modified according to different platforms.
+
+#File list for arm
+# encoder
+VP9_CX_SRCS-$(ARCH_ARM)  += encoder/arm/arm_csystemdependent.c
+
+VP9_CX_SRCS-$(ARCH_ARM)  += encoder/arm/dct_arm.c
+VP9_CX_SRCS-$(ARCH_ARM)  += encoder/arm/dct_arm.h
+VP9_CX_SRCS-$(ARCH_ARM)  += encoder/arm/encodemb_arm.h
+VP9_CX_SRCS-$(ARCH_ARM)  += encoder/arm/quantize_arm.c
+VP9_CX_SRCS-$(ARCH_ARM)  += encoder/arm/quantize_arm.h
+VP9_CX_SRCS-$(ARCH_ARM)  += encoder/arm/variance_arm.c
+VP9_CX_SRCS-$(ARCH_ARM)  += encoder/arm/variance_arm.h
+
+#File list for armv5te
+# encoder
+VP9_CX_SRCS-$(HAVE_ARMV5TE) += encoder/arm/boolhuff_arm.c
+VP9_CX_SRCS_REMOVE-$(HAVE_ARMV5TE)  += encoder/boolhuff.c
+VP9_CX_SRCS-$(HAVE_ARMV5TE)  += encoder/arm/armv5te/boolhuff_armv5te$(ASM)
+VP9_CX_SRCS-$(HAVE_ARMV5TE)  += encoder/arm/armv5te/vp8_packtokens_armv5$(ASM)
+VP9_CX_SRCS-$(HAVE_ARMV5TE)  += encoder/arm/armv5te/vp8_packtokens_mbrow_armv5$(ASM)
+VP9_CX_SRCS-$(HAVE_ARMV5TE)  += encoder/arm/armv5te/vp8_packtokens_partitions_armv5$(ASM)
+
+#File list for armv6
+# encoder
+VP9_CX_SRCS-$(HAVE_ARMV6)  += encoder/arm/armv6/vp8_subtract_armv6$(ASM)
+VP9_CX_SRCS-$(HAVE_ARMV6)  += encoder/arm/armv6/vp8_short_fdct4x4_armv6$(ASM)
+VP9_CX_SRCS-$(HAVE_ARMV6)  += encoder/arm/armv6/vp8_fast_quantize_b_armv6$(ASM)
+VP9_CX_SRCS-$(HAVE_ARMV6)  += encoder/arm/armv6/vp8_sad16x16_armv6$(ASM)
+VP9_CX_SRCS-$(HAVE_ARMV6)  += encoder/arm/armv6/vp8_variance16x16_armv6$(ASM)
+VP9_CX_SRCS-$(HAVE_ARMV6)  += encoder/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6$(ASM)
+VP9_CX_SRCS-$(HAVE_ARMV6)  += encoder/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6$(ASM)
+VP9_CX_SRCS-$(HAVE_ARMV6)  += encoder/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6$(ASM)
+VP9_CX_SRCS-$(HAVE_ARMV6)  += encoder/arm/armv6/vp8_mse16x16_armv6$(ASM)
+VP9_CX_SRCS-$(HAVE_ARMV6)  += encoder/arm/armv6/vp8_variance8x8_armv6$(ASM)
+VP9_CX_SRCS-$(HAVE_ARMV6)  += encoder/arm/armv6/walsh_v6$(ASM)
+
+#File list for neon
+# encoder
+VP9_CX_SRCS-$(HAVE_ARMV7)  += encoder/arm/neon/fastquantizeb_neon$(ASM)
+VP9_CX_SRCS-$(HAVE_ARMV7)  += encoder/arm/neon/picklpf_arm.c
+VP9_CX_SRCS-$(HAVE_ARMV7)  += encoder/arm/neon/sad8_neon$(ASM)
+VP9_CX_SRCS-$(HAVE_ARMV7)  += encoder/arm/neon/sad16_neon$(ASM)
+VP9_CX_SRCS-$(HAVE_ARMV7)  += encoder/arm/neon/shortfdct_neon$(ASM)
+VP9_CX_SRCS-$(HAVE_ARMV7)  += encoder/arm/neon/subtract_neon$(ASM)
+VP9_CX_SRCS-$(HAVE_ARMV7)  += encoder/arm/neon/variance_neon$(ASM)
+VP9_CX_SRCS-$(HAVE_ARMV7)  += encoder/arm/neon/vp8_mse16x16_neon$(ASM)
+VP9_CX_SRCS-$(HAVE_ARMV7)  += encoder/arm/neon/vp8_subpixelvariance8x8_neon$(ASM)
+VP9_CX_SRCS-$(HAVE_ARMV7)  += encoder/arm/neon/vp8_subpixelvariance16x16_neon$(ASM)
+VP9_CX_SRCS-$(HAVE_ARMV7)  += encoder/arm/neon/vp8_subpixelvariance16x16s_neon$(ASM)
+VP9_CX_SRCS-$(HAVE_ARMV7)  += encoder/arm/neon/vp8_memcpy_neon$(ASM)
+VP9_CX_SRCS-$(HAVE_ARMV7)  += encoder/arm/neon/vp8_shortwalsh4x4_neon$(ASM)
diff --git a/vp9/vp9dx.mk b/vp9/vp9dx.mk
new file mode 100644 (file)
index 0000000..dc9f2d3
--- /dev/null
@@ -0,0 +1,71 @@
+##
+##  Copyright (c) 2010 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.
+##
+
+
+include $(SRC_PATH_BARE)/$(VP9_PREFIX)vp9_common.mk
+
+VP9_DX_EXPORTS += exports_dec
+
+VP9_DX_SRCS-yes += $(VP9_COMMON_SRCS-yes)
+VP9_DX_SRCS-no  += $(VP9_COMMON_SRCS-no)
+VP9_DX_SRCS_REMOVE-yes += $(VP9_COMMON_SRCS_REMOVE-yes)
+VP9_DX_SRCS_REMOVE-no  += $(VP9_COMMON_SRCS_REMOVE-no)
+
+ifeq ($(ARCH_ARM),yes)
+  include $(SRC_PATH_BARE)/$(VP9_PREFIX)vp9dx_arm.mk
+endif
+
+VP9_DX_SRCS-yes += vp9_dx_iface.c
+
+# common
+#define ARM
+#define DISABLE_THREAD
+
+#INCLUDES += algo/vpx_common/vpx_mem/include
+#INCLUDES += common
+#INCLUDES += common
+#INCLUDES += common
+#INCLUDES += common
+#INCLUDES += decoder
+
+
+
+# decoder
+#define ARM
+#define DISABLE_THREAD
+
+#INCLUDES += algo/vpx_common/vpx_mem/include
+#INCLUDES += common
+#INCLUDES += common
+#INCLUDES += common
+#INCLUDES += common
+#INCLUDES += decoder
+
+VP9_DX_SRCS-yes += decoder/asm_dec_offsets.c
+VP9_DX_SRCS-yes += decoder/dboolhuff.c
+VP9_DX_SRCS-yes += decoder/decodemv.c
+VP9_DX_SRCS-yes += decoder/decodframe.c
+VP9_DX_SRCS-yes += decoder/dequantize.c
+VP9_DX_SRCS-yes += decoder/detokenize.c
+VP9_DX_SRCS-yes += decoder/dboolhuff.h
+VP9_DX_SRCS-yes += decoder/decodemv.h
+VP9_DX_SRCS-yes += decoder/dequantize.h
+VP9_DX_SRCS-yes += decoder/detokenize.h
+VP9_DX_SRCS-yes += decoder/onyxd_int.h
+VP9_DX_SRCS-yes += decoder/treereader.h
+VP9_DX_SRCS-yes += decoder/onyxd_if.c
+VP9_DX_SRCS-yes += decoder/idct_blk.c
+
+VP9_DX_SRCS-yes := $(filter-out $(VP9_DX_SRCS_REMOVE-yes),$(VP9_DX_SRCS-yes))
+
+VP9_DX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += decoder/x86/x86_dsystemdependent.c
+VP9_DX_SRCS-$(HAVE_MMX) += decoder/x86/dequantize_mmx.asm
+VP9_DX_SRCS-$(HAVE_MMX) += decoder/x86/idct_blk_mmx.c
+VP9_DX_SRCS-$(HAVE_SSE2) += decoder/x86/idct_blk_sse2.c
similarity index 100%
rename from vp8/vp8dx_arm.mk
rename to vp9/vp9dx_arm.mk
index 0082ed8fc4a34ceab6d8fd1f5e276f9ce7d95d96..1450efb6705e0c306fdc5a0e32ad3632e5ba9ae1 100644 (file)
--- a/vpx/vp8.h
+++ b/vpx/vp8.h
@@ -28,8 +28,8 @@
 /*!\file
  * \brief Provides controls common to both the VP8 encoder and decoder.
  */
-#ifndef VP8_H
-#define VP8_H
+#ifndef VP9_H
+#define VP9_H
 #include "vpx_codec_impl_top.h"
 
 /*!\brief Control functions
index 6a0eaa2860cca9000a2c859d3d2c0990085a2d4f..193ae8049a83abfc88445483c95b5757b863eaa0 100644 (file)
@@ -20,8 +20,8 @@
  * \brief Provides definitions for using the VP8 encoder algorithm within the
  *        vpx Codec Interface.
  */
-#ifndef VP8CX_H
-#define VP8CX_H
+#ifndef VP9CX_H
+#define VP9CX_H
 #include "vpx_config.h"
 #include "vpx_codec_impl_top.h"
 
index 8ac0d9da91c26f2c67f0728b393deec20bb4cee6..b076f51ea28aa9d58ed8eeeda9e7f9906abfa151 100644 (file)
@@ -20,8 +20,8 @@
  * \brief Provides definitions for using the VP8 algorithm within the vpx Decoder
  *        interface.
  */
-#ifndef VP8DX_H
-#define VP8DX_H
+#ifndef VP9DX_H
+#define VP9DX_H
 #include "vpx_codec_impl_top.h"
 
 /*!\name Algorithm interface for VP8
index 4dacb3cd779dc0c85cc140b18f5beff556225215..00ff090a6360ffcc4575e5658d515aa1baccbe6e 100644 (file)
@@ -12,8 +12,8 @@
 /* This file contains backwards compatibility stubs for applications using
  * the VP8 version 1.0 API.
  */
-#ifndef VP8E_H
-#define VP8E_H
+#ifndef VP9E_H
+#define VP9E_H
 #include "vpx_codec_impl_top.h"
 
 #if defined(VPX_CODEC_DISABLE_COMPAT) && VPX_CODEC_DISABLE_COMPAT
index 04d1ac7c5581939c24ef1e2d185ae572fb22f167..9f20a9a9a60f12e5270e171ef02609457d391cff 100644 (file)
--- a/vpxdec.c
+++ b/vpxdec.c
@@ -22,7 +22,7 @@
 #include "vpx_config.h"
 #include "vpx/vpx_decoder.h"
 #include "vpx_ports/vpx_timer.h"
-#if CONFIG_VP8_DECODER
+#if CONFIG_VP9_DECODER
 #include "vpx/vp8dx.h"
 #endif
 #if CONFIG_MD5
@@ -56,8 +56,8 @@ static const struct {
    unsigned int             fourcc;
    unsigned int             fourcc_mask;
 } ifaces[] = {
-#if CONFIG_VP8_DECODER
-  {"vp8",  vpx_codec_vp8_dx,   VP8_FOURCC, 0x00FFFFFF},
+#if CONFIG_VP9_DECODER
+  {"vp9",  vpx_codec_vp8_dx,   VP8_FOURCC, 0x00FFFFFF},
 #endif
 };
 
@@ -104,7 +104,7 @@ static const arg_def_t *all_args[] = {
   NULL
 };
 
-#if CONFIG_VP8_DECODER
+#if CONFIG_VP9_DECODER
 static const arg_def_t addnoise_level = ARG_DEF(NULL, "noise-level", 1,
                                                 "Enable VP8 postproc add noise");
 static const arg_def_t deblock = ARG_DEF(NULL, "deblock", 0,
@@ -135,7 +135,7 @@ static void usage_exit() {
   fprintf(stderr, "Usage: %s <options> filename\n\n"
           "Options:\n", exec_name);
   arg_show_usage(stderr, all_args);
-#if CONFIG_VP8_DECODER
+#if CONFIG_VP9_DECODER
   fprintf(stderr, "\nVP8 Postprocessing Options:\n");
   arg_show_usage(stderr, vp8_pp_args);
 #endif
@@ -684,7 +684,7 @@ int main(int argc, const char **argv_) {
   unsigned int            fps_num;
   void                   *out = NULL;
   vpx_codec_dec_cfg_t     cfg = {0};
-#if CONFIG_VP8_DECODER
+#if CONFIG_VP9_DECODER
   vp8_postproc_cfg_t      vp8_pp_cfg = {0};
   int                     vp8_dbg_color_ref_frame = 0;
   int                     vp8_dbg_color_mb_modes = 0;
@@ -744,7 +744,7 @@ int main(int argc, const char **argv_) {
     else if (arg_match(&arg, &verbosearg, argi))
       quiet = 0;
 
-#if CONFIG_VP8_DECODER
+#if CONFIG_VP9_DECODER
     else if (arg_match(&arg, &addnoise_level, argi)) {
       postproc = 1;
       vp8_pp_cfg.post_proc_flag |= VP8_ADDNOISE;
@@ -909,7 +909,7 @@ int main(int argc, const char **argv_) {
   if (!quiet)
     fprintf(stderr, "%s\n", decoder.name);
 
-#if CONFIG_VP8_DECODER
+#if CONFIG_VP9_DECODER
 
   if (vp8_pp_cfg.post_proc_flag
       && vpx_codec_control(&decoder, VP8_SET_POSTPROC, &vp8_pp_cfg)) {
index 625977a4a283b8cb327e1f849af4e471ca6847f2..c52800661135186fb42a1434300446fb08c872fa 100644 (file)
--- a/vpxenc.c
+++ b/vpxenc.c
@@ -82,8 +82,8 @@ static const struct {
   unsigned int             fourcc;
   unsigned int             fourcc_mask;
 } ifaces[] = {
-#if CONFIG_VP8_DECODER
-  {"vp8",  &vpx_codec_vp8_dx,   VP8_FOURCC, 0x00FFFFFF},
+#if CONFIG_VP9_DECODER
+  {"vp9",  &vpx_codec_vp8_dx,   VP8_FOURCC, 0x00FFFFFF},
 #endif
 };
 
@@ -93,8 +93,8 @@ static const struct codec_item {
   unsigned int             fourcc;
   unsigned int             fourcc_mask;
 } codecs[] = {
-#if CONFIG_VP8_ENCODER
-  {"vp8",  vpx_codec_vp8x_cx,   VP8_FOURCC, 0x00FFFFFF},
+#if CONFIG_VP9_ENCODER
+  {"vp9",  vpx_codec_vp8x_cx,   VP8_FOURCC, 0x00FFFFFF},
 #endif
 };
 
@@ -1011,7 +1011,7 @@ static const arg_def_t *kf_args[] = {
 };
 
 
-#if CONFIG_VP8_ENCODER
+#if CONFIG_VP9_ENCODER
 static const arg_def_t noise_sens = ARG_DEF(NULL, "noise-sensitivity", 1,
                                             "Noise sensitivity (frames to blur)");
 static const arg_def_t sharpness = ARG_DEF(NULL, "sharpness", 1,
@@ -1020,13 +1020,13 @@ static const arg_def_t static_thresh = ARG_DEF(NULL, "static-thresh", 1,
                                                "Motion detection threshold");
 #endif
 
-#if CONFIG_VP8_ENCODER
+#if CONFIG_VP9_ENCODER
 static const arg_def_t cpu_used = ARG_DEF(NULL, "cpu-used", 1,
                                           "CPU Used (-16..16)");
 #endif
 
 
-#if CONFIG_VP8_ENCODER
+#if CONFIG_VP9_ENCODER
 static const arg_def_t token_parts = ARG_DEF(NULL, "token-parts", 1,
                                              "Number of token partitions to use, log2");
 static const arg_def_t auto_altref = ARG_DEF(NULL, "auto-alt-ref", 1,
@@ -1081,7 +1081,7 @@ static void usage_exit() {
   arg_show_usage(stdout, rc_twopass_args);
   fprintf(stderr, "\nKeyframe Placement Options:\n");
   arg_show_usage(stdout, kf_args);
-#if CONFIG_VP8_ENCODER
+#if CONFIG_VP9_ENCODER
   fprintf(stderr, "\nVP8 Specific Options:\n");
   arg_show_usage(stdout, vp8_args);
 #endif
@@ -1659,7 +1659,7 @@ int main(int argc, const char **argv_) {
 #endif
 
   /* Handle codec specific options */
-#if CONFIG_VP8_ENCODER
+#if CONFIG_VP9_ENCODER
 
   if (codec->fourcc == VP8_FOURCC) {
     ctrl_args = vp8_args;