diff options
-rwxr-xr-x | generate_gypi.sh | 9 | ||||
-rw-r--r-- | libvpx.gyp | 94 | ||||
-rw-r--r-- | libvpx_srcs_arm_neon_no_asm_offsets.gypi | 391 | ||||
-rw-r--r-- | source/config/linux/arm-neon-no-asm-offsets/vp8_rtcd.h | 443 | ||||
-rw-r--r-- | source/config/linux/arm-neon-no-asm-offsets/vp9_rtcd.h | 715 | ||||
-rw-r--r-- | source/config/linux/arm-neon-no-asm-offsets/vpx_config.asm | 84 | ||||
-rw-r--r-- | source/config/linux/arm-neon-no-asm-offsets/vpx_config.c | 9 | ||||
-rw-r--r-- | source/config/linux/arm-neon-no-asm-offsets/vpx_config.h | 93 | ||||
-rw-r--r-- | source/config/linux/arm-neon-no-asm-offsets/vpx_scale_rtcd.h | 71 | ||||
-rwxr-xr-x | source/libvpx/build/make/rtcd.pl | 2 | ||||
-rw-r--r-- | source/libvpx/vpx_scale/vpx_scale.mk | 11 | ||||
-rw-r--r-- | source/libvpx/vpx_scale/vpx_scale_rtcd.pl | 20 | ||||
-rw-r--r-- | unpack_lib_posix.gypi | 20 |
13 files changed, 52 insertions, 1910 deletions
diff --git a/generate_gypi.sh b/generate_gypi.sh index 7e38b5b..c3d1f32 100755 --- a/generate_gypi.sh +++ b/generate_gypi.sh @@ -337,7 +337,6 @@ gen_config_files linux/x64 "--target=x86_64-linux-gcc --disable-ccache --enable- gen_config_files linux/arm "--target=armv6-linux-gcc --enable-pic --enable-realtime-only --disable-install-bins --disable-install-libs ${all_platforms}" gen_config_files linux/arm-neon "--target=armv7-linux-gcc --enable-pic --enable-realtime-only ${all_platforms}" gen_config_files linux/arm-neon-cpu-detect "--target=armv7-linux-gcc --enable-pic --enable-realtime-only --enable-runtime-cpu-detect ${all_platforms}" -gen_config_files linux/arm-neon-no-asm-offsets "--target=armv7-linux-gcc --enable-pic --enable-realtime-only --disable-edsp ${all_platforms}" gen_config_files linux/arm64 "--force-target=armv8-linux-gcc --enable-pic --enable-realtime-only ${all_platforms}" gen_config_files linux/mipsel "--target=mips32-linux-gcc --disable-fast-unaligned ${all_platforms}" gen_config_files linux/generic "--target=generic-gnu --enable-pic --enable-realtime-only ${all_platforms}" @@ -357,7 +356,6 @@ lint_config linux/x64 lint_config linux/arm lint_config linux/arm-neon lint_config linux/arm-neon-cpu-detect -lint_config linux/arm-neon-no-asm-offsets lint_config linux/arm64 lint_config linux/mipsel lint_config linux/generic @@ -378,7 +376,6 @@ gen_rtcd_header linux/x64 x86_64 gen_rtcd_header linux/arm armv6 gen_rtcd_header linux/arm-neon armv7 gen_rtcd_header linux/arm-neon-cpu-detect armv7 -gen_rtcd_header linux/arm-neon-no-asm-offsets armv7 gen_rtcd_header linux/arm64 armv8 gen_rtcd_header linux/mipsel mipsel gen_rtcd_header linux/generic generic @@ -425,12 +422,6 @@ make_clean make libvpx_srcs.txt target=libs $config > /dev/null convert_srcs_to_gypi libvpx_srcs.txt libvpx_srcs_arm_neon_cpu_detect -echo "Generate ARM NEON NO ASM OFFSETS source list." -config=$(print_config linux/arm-neon-no-asm-offsets) -make_clean -make libvpx_srcs.txt target=libs $config > /dev/null -convert_srcs_to_gypi libvpx_srcs.txt libvpx_srcs_arm_neon_no_asm_offsets - echo "Generate ARM64 source list." config=$(print_config linux/arm64) make_clean @@ -17,21 +17,14 @@ 'target_arch_full': 'generic', }, { 'conditions': [ - ['android_webview_build==1', { - # Set WebView build to not use asm offsets. - 'target_arch_full': 'arm-neon-no-asm-offsets', + ['(target_arch=="arm" or target_arch=="armv7") and arm_neon==1', { + 'target_arch_full': 'arm-neon', }, { 'conditions': [ - ['(target_arch=="arm" or target_arch=="armv7") and arm_neon==1', { - 'target_arch_full': 'arm-neon', + ['OS=="android" and ((target_arch=="arm" or target_arch=="armv7") and arm_neon==0)', { + 'target_arch_full': 'arm-neon-cpu-detect', }, { - 'conditions': [ - ['OS=="android" and ((target_arch=="arm" or target_arch=="armv7") and arm_neon==0)', { - 'target_arch_full': 'arm-neon-cpu-detect', - }, { - 'target_arch_full': '<(target_arch)', - }], - ], + 'target_arch_full': '<(target_arch)', }], ], }], @@ -95,9 +88,6 @@ '-I', '<(libvpx_source)', '-I', '<(shared_generated_dir)', # Generated assembly offsets ], - 'yasm_includes': [ - '<(shared_generated_dir)/vp8_asm_enc_offsets.asm' - ], }, 'dependencies': [ 'gen_asm_offsets_vp8', @@ -238,6 +228,10 @@ # Encoder is configured to be realtime only. 'target_name': 'libvpx', 'type': 'static_library', + 'dependencies': [ + 'gen_asm_offsets_vp8', + 'gen_asm_offsets_vpx_scale', + ], # Copy the script to the output folder so that we can use it with # absolute path. @@ -257,7 +251,6 @@ 'inputs': [ '<(shared_generated_dir)/<(ads2gas_script)', '<(shared_generated_dir)/thumb.pm', - '<(shared_generated_dir)/vp8_asm_enc_offsets.asm', ], 'outputs': [ '<(shared_generated_dir)/<(RULE_INPUT_ROOT).S', @@ -318,25 +311,13 @@ '-Wa,-I,<!(pwd)/source/config/<(OS_CATEGORY)/<(target_arch_full)', '-Wa,-I,<!(pwd)/source/config', ], - 'dependencies': [ - 'gen_asm_offsets_vp8', - 'gen_asm_offsets_vpx_scale', - ], }], # Libvpx optimizations for ARMv6 or ARMv7 without NEON. ['arm_neon==0', { 'conditions': [ ['OS=="android"', { - 'conditions': [ - ['android_webview_build==1', { - 'includes': [ - 'libvpx_srcs_arm_neon_no_asm_offsets.gypi', - ], - }, { - 'includes': [ - 'libvpx_srcs_arm_neon_cpu_detect.gypi', - ], - }], + 'includes': [ + 'libvpx_srcs_arm_neon_cpu_detect.gypi', ], 'dependencies': [ 'libvpx_intrinsics_neon', @@ -431,9 +412,6 @@ }, }, }], - ['android_webview_build==0', { - 'product_dir': '<(shared_generated_dir)', - }], ], 'sources': [ '<(libvpx_source)/vp8/encoder/vp8_asm_enc_offsets.c', @@ -460,9 +438,6 @@ }, 'ldflags!': [ '-faddress-sanitizer', '-fsanitize=address', ], }], - ['android_webview_build==0', { - 'product_dir': '<(shared_generated_dir)', - }], ], 'sources': [ '<(libvpx_source)/vpx_scale/vpx_scale_asm_offsets.c', @@ -481,17 +456,14 @@ 'libvpx_obj_int_extract#host', ], 'variables' : { - # unpack_lib is used as an input to unpack_lib_posix.gypi. - 'unpack_lib' : '<(shared_generated_dir)/libvpx_asm_offsets_vp8.a', - 'unpack_lib_search_path' : '<(shared_generated_dir)/libvpx_asm_offsets_vp8.a', + 'lib_intermediate_name' : '', 'output_format':'', 'output_dir': '<(shared_generated_dir)', 'conditions' : [ ['android_webview_build==1', { # pass the empty string for 3rd and 4th arguments of # intermediates-dir-for macro. - 'unpack_lib' : '$(call intermediates-dir-for,STATIC_LIBRARIES,libvpx_asm_offsets_vp8,,,$(gyp_var_prefix))/libvpx_asm_offsets_vp8.a', - 'unpack_lib_search_path' : '$(abspath $(call intermediates-dir-for,STATIC_LIBRARIES,libvpx_asm_offsets_vp8,,,$(gyp_var_prefix)))/libvpx_asm_offsets_vp8.a', + 'lib_intermediate_name' : '$(abspath $(call intermediates-dir-for,STATIC_LIBRARIES,libvpx_asm_offsets_vp8,,,$(gyp_var_prefix)))/libvpx_asm_offsets_vp8.a', }], ['(target_arch=="arm" or target_arch=="armv7")', { 'output_format': 'gas', @@ -508,16 +480,15 @@ 'actions': [ { 'action_name': 'copy_enc_offsets_obj', - 'inputs': [ - 'copy_obj.py', - '<(ninja_obj_dir)/encoder/libvpx_asm_offsets_vp8.vp8_asm_enc_offsets.obj', - ], + 'inputs': [ 'copy_obj.py' ], 'outputs': [ '<(INTERMEDIATE_DIR)/vp8_asm_enc_offsets.obj' ], 'action': [ 'python', '<(DEPTH)/third_party/libvpx/copy_obj.py', '-d', '<@(_outputs)', + '-s', '<(PRODUCT_DIR)/obj/libvpx_asm_offsets_vp8/vp8_asm_enc_offsets.obj', '-s', '<(ninja_obj_dir)/encoder/libvpx_asm_offsets_vp8.vp8_asm_enc_offsets.obj', + '-s', '<(PRODUCT_DIR)/obj/Source/WebKit/chromium/third_party/libvpx/<(libvpx_source)/vp8/encoder/libvpx_asm_offsets_vp8.vp8_asm_enc_offsets.obj', ], 'process_output_as_sources': 1, }, @@ -528,10 +499,13 @@ }, { 'variables': { 'unpack_lib_search_path_list': [ - '-a', '<(unpack_lib_search_path)', + '-a', '<(PRODUCT_DIR)/libvpx_asm_offsets_vp8.a', + '-a', '<(LIB_DIR)/third_party/libvpx/libvpx_asm_offsets_vp8.a', + '-a', '<(LIB_DIR)/Source/WebKit/chromium/third_party/libvpx/libvpx_asm_offsets_vp8.a', + '-a', '<(lib_intermediate_name)', ], - 'object_file_output_dir':'<(INTERMEDIATE_DIR)', - 'object_file_to_extract':'vp8_asm_enc_offsets.o' + 'unpack_lib_output_dir':'<(INTERMEDIATE_DIR)', + 'unpack_lib_name':'vp8_asm_enc_offsets.o' }, 'includes': ['unpack_lib_posix.gypi'], # Need this otherwise gyp won't run the rule on them. @@ -555,16 +529,14 @@ 'libvpx_obj_int_extract#host', ], 'variables' : { - 'unpack_lib' : '<(shared_generated_dir)/libvpx_asm_offsets_vpx_scale.a', - 'unpack_lib_search_path' : '<(shared_generated_dir)/libvpx_asm_offsets_vpx_scale.a', + 'lib_intermediate_name' : '', 'output_format':'', 'output_dir': '<(shared_generated_dir)', 'conditions' : [ ['android_webview_build==1', { # pass the empty string for 3rd and 4th arguments of # intermediates-dir-for macro. - 'unpack_lib' : '$(call intermediates-dir-for,STATIC_LIBRARIES,libvpx_asm_offsets_vpx_scale,,,$(gyp_var_prefix))/libvpx_asm_offsets_vpx_scale.a', - 'unpack_lib_search_path' : '$(abspath $(call intermediates-dir-for,STATIC_LIBRARIES,libvpx_asm_offsets_vp8,,,$(gyp_var_prefix)))/libvpx_asm_offsets_vp8.a', + 'lib_intermediate_name' : '$(abspath $(call intermediates-dir-for,STATIC_LIBRARIES,libvpx_asm_offsets_vpx_scale,,,$(gyp_var_prefix)))/libvpx_asm_offsets_vpx_scale.a', }], ['(target_arch=="arm" or target_arch=="armv7")', { 'output_format': 'gas', @@ -581,16 +553,15 @@ 'actions': [ { 'action_name': 'copy_enc_offsets_obj', - 'inputs': [ - 'copy_obj.py', - '<(ninja_obj_dir)/encoder/libvpx_asm_offsets_vpx_scale.vpx_scale_asm_offsets.obj', - ], + 'inputs': [ 'copy_obj.py' ], 'outputs': [ '<(INTERMEDIATE_DIR)/vpx_scale_asm_offsets.obj' ], 'action': [ 'python', '<(DEPTH)/third_party/libvpx/copy_obj.py', '-d', '<@(_outputs)', + '-s', '<(PRODUCT_DIR)/obj/libvpx_asm_offsets_vpx_scale/vpx_scale_asm_offsets.obj', '-s', '<(ninja_obj_dir)/encoder/libvpx_asm_offsets_vpx_scale.vpx_scale_asm_offsets.obj', + '-s', '<(PRODUCT_DIR)/obj/Source/WebKit/chromium/third_party/libvpx/<(libvpx_source)/vpx_scale/libvpx_asm_offsets_vpx_scale.vpx_scale_asm_offsets.obj', ], 'process_output_as_sources': 1, }, @@ -601,13 +572,16 @@ }, { 'variables': { 'unpack_lib_search_path_list': [ - '-a', '<(unpack_lib_search_path)', + '-a', '<(PRODUCT_DIR)/libvpx_asm_offsets_vpx_scale.a', + '-a', '<(LIB_DIR)/third_party/libvpx/libvpx_asm_offsets_vpx_scale.a', + '-a', '<(LIB_DIR)/Source/WebKit/chromium/third_party/libvpx/libvpx_asm_offsets_vpx_scale.a', + '-a', '<(lib_intermediate_name)', ], - 'object_file_output_dir':'<(INTERMEDIATE_DIR)', - 'object_file_to_extract':'vpx_scale_asm_offsets.o' + 'unpack_lib_output_dir':'<(INTERMEDIATE_DIR)', + 'unpack_lib_name':'vpx_scale_asm_offsets.o' }, 'includes': ['unpack_lib_posix.gypi'], - # Need this otherwise gyp won't run the rule on them. + # Need this otherwise gyp won't run the rule on them. 'sources': [ '<(INTERMEDIATE_DIR)/vpx_scale_asm_offsets.o', ], diff --git a/libvpx_srcs_arm_neon_no_asm_offsets.gypi b/libvpx_srcs_arm_neon_no_asm_offsets.gypi deleted file mode 100644 index d0a6575..0000000 --- a/libvpx_srcs_arm_neon_no_asm_offsets.gypi +++ /dev/null @@ -1,391 +0,0 @@ -# This file is generated. Do not edit. -# Copyright (c) 2013 The Chromium Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -{ - 'sources': [ - '<(libvpx_source)/vp8/common/alloccommon.c', - '<(libvpx_source)/vp8/common/alloccommon.h', - '<(libvpx_source)/vp8/common/arm/armv6/bilinearfilter_v6.asm', - '<(libvpx_source)/vp8/common/arm/armv6/copymem16x16_v6.asm', - '<(libvpx_source)/vp8/common/arm/armv6/copymem8x4_v6.asm', - '<(libvpx_source)/vp8/common/arm/armv6/copymem8x8_v6.asm', - '<(libvpx_source)/vp8/common/arm/armv6/dc_only_idct_add_v6.asm', - '<(libvpx_source)/vp8/common/arm/armv6/dequant_idct_v6.asm', - '<(libvpx_source)/vp8/common/arm/armv6/dequantize_v6.asm', - '<(libvpx_source)/vp8/common/arm/armv6/filter_v6.asm', - '<(libvpx_source)/vp8/common/arm/armv6/idct_blk_v6.c', - '<(libvpx_source)/vp8/common/arm/armv6/idct_v6.asm', - '<(libvpx_source)/vp8/common/arm/armv6/intra4x4_predict_v6.asm', - '<(libvpx_source)/vp8/common/arm/armv6/iwalsh_v6.asm', - '<(libvpx_source)/vp8/common/arm/armv6/loopfilter_v6.asm', - '<(libvpx_source)/vp8/common/arm/armv6/simpleloopfilter_v6.asm', - '<(libvpx_source)/vp8/common/arm/armv6/sixtappredict8x4_v6.asm', - '<(libvpx_source)/vp8/common/arm/armv6/vp8_sad16x16_armv6.asm', - '<(libvpx_source)/vp8/common/arm/armv6/vp8_variance16x16_armv6.asm', - '<(libvpx_source)/vp8/common/arm/armv6/vp8_variance8x8_armv6.asm', - '<(libvpx_source)/vp8/common/arm/armv6/vp8_variance_halfpixvar16x16_h_armv6.asm', - '<(libvpx_source)/vp8/common/arm/armv6/vp8_variance_halfpixvar16x16_hv_armv6.asm', - '<(libvpx_source)/vp8/common/arm/armv6/vp8_variance_halfpixvar16x16_v_armv6.asm', - '<(libvpx_source)/vp8/common/arm/bilinearfilter_arm.c', - '<(libvpx_source)/vp8/common/arm/bilinearfilter_arm.h', - '<(libvpx_source)/vp8/common/arm/dequantize_arm.c', - '<(libvpx_source)/vp8/common/arm/filter_arm.c', - '<(libvpx_source)/vp8/common/arm/loopfilter_arm.c', - '<(libvpx_source)/vp8/common/arm/neon/bilinearpredict_neon.c', - '<(libvpx_source)/vp8/common/arm/neon/copymem_neon.c', - '<(libvpx_source)/vp8/common/arm/neon/dc_only_idct_add_neon.c', - '<(libvpx_source)/vp8/common/arm/neon/dequant_idct_neon.c', - '<(libvpx_source)/vp8/common/arm/neon/dequantizeb_neon.c', - '<(libvpx_source)/vp8/common/arm/neon/idct_blk_neon.c', - '<(libvpx_source)/vp8/common/arm/neon/idct_dequant_0_2x_neon.asm', - '<(libvpx_source)/vp8/common/arm/neon/idct_dequant_full_2x_neon.asm', - '<(libvpx_source)/vp8/common/arm/neon/iwalsh_neon.c', - '<(libvpx_source)/vp8/common/arm/neon/loopfilter_neon.asm', - '<(libvpx_source)/vp8/common/arm/neon/loopfiltersimplehorizontaledge_neon.c', - '<(libvpx_source)/vp8/common/arm/neon/loopfiltersimpleverticaledge_neon.asm', - '<(libvpx_source)/vp8/common/arm/neon/mbloopfilter_neon.c', - '<(libvpx_source)/vp8/common/arm/neon/sad_neon.c', - '<(libvpx_source)/vp8/common/arm/neon/shortidct4x4llm_neon.c', - '<(libvpx_source)/vp8/common/arm/neon/sixtappredict_neon.c', - '<(libvpx_source)/vp8/common/arm/neon/variance_neon.c', - '<(libvpx_source)/vp8/common/arm/neon/vp8_subpixelvariance16x16_neon.asm', - '<(libvpx_source)/vp8/common/arm/neon/vp8_subpixelvariance16x16s_neon.asm', - '<(libvpx_source)/vp8/common/arm/neon/vp8_subpixelvariance8x8_neon.asm', - '<(libvpx_source)/vp8/common/arm/variance_arm.c', - '<(libvpx_source)/vp8/common/blockd.c', - '<(libvpx_source)/vp8/common/blockd.h', - '<(libvpx_source)/vp8/common/coefupdateprobs.h', - '<(libvpx_source)/vp8/common/common.h', - '<(libvpx_source)/vp8/common/debugmodes.c', - '<(libvpx_source)/vp8/common/default_coef_probs.h', - '<(libvpx_source)/vp8/common/dequantize.c', - '<(libvpx_source)/vp8/common/entropy.c', - '<(libvpx_source)/vp8/common/entropy.h', - '<(libvpx_source)/vp8/common/entropymode.c', - '<(libvpx_source)/vp8/common/entropymode.h', - '<(libvpx_source)/vp8/common/entropymv.c', - '<(libvpx_source)/vp8/common/entropymv.h', - '<(libvpx_source)/vp8/common/extend.c', - '<(libvpx_source)/vp8/common/extend.h', - '<(libvpx_source)/vp8/common/filter.c', - '<(libvpx_source)/vp8/common/filter.h', - '<(libvpx_source)/vp8/common/findnearmv.c', - '<(libvpx_source)/vp8/common/findnearmv.h', - '<(libvpx_source)/vp8/common/generic/systemdependent.c', - '<(libvpx_source)/vp8/common/header.h', - '<(libvpx_source)/vp8/common/idct_blk.c', - '<(libvpx_source)/vp8/common/idctllm.c', - '<(libvpx_source)/vp8/common/invtrans.h', - '<(libvpx_source)/vp8/common/loopfilter.c', - '<(libvpx_source)/vp8/common/loopfilter.h', - '<(libvpx_source)/vp8/common/loopfilter_filters.c', - '<(libvpx_source)/vp8/common/mbpitch.c', - '<(libvpx_source)/vp8/common/mfqe.c', - '<(libvpx_source)/vp8/common/modecont.c', - '<(libvpx_source)/vp8/common/modecont.h', - '<(libvpx_source)/vp8/common/mv.h', - '<(libvpx_source)/vp8/common/onyx.h', - '<(libvpx_source)/vp8/common/onyxc_int.h', - '<(libvpx_source)/vp8/common/onyxd.h', - '<(libvpx_source)/vp8/common/postproc.c', - '<(libvpx_source)/vp8/common/postproc.h', - '<(libvpx_source)/vp8/common/ppflags.h', - '<(libvpx_source)/vp8/common/pragmas.h', - '<(libvpx_source)/vp8/common/quant_common.c', - '<(libvpx_source)/vp8/common/quant_common.h', - '<(libvpx_source)/vp8/common/reconinter.c', - '<(libvpx_source)/vp8/common/reconinter.h', - '<(libvpx_source)/vp8/common/reconintra.c', - '<(libvpx_source)/vp8/common/reconintra4x4.c', - '<(libvpx_source)/vp8/common/reconintra4x4.h', - '<(libvpx_source)/vp8/common/rtcd.c', - '<(libvpx_source)/vp8/common/sad_c.c', - '<(libvpx_source)/vp8/common/setupintrarecon.c', - '<(libvpx_source)/vp8/common/setupintrarecon.h', - '<(libvpx_source)/vp8/common/swapyv12buffer.c', - '<(libvpx_source)/vp8/common/swapyv12buffer.h', - '<(libvpx_source)/vp8/common/systemdependent.h', - '<(libvpx_source)/vp8/common/threading.h', - '<(libvpx_source)/vp8/common/treecoder.c', - '<(libvpx_source)/vp8/common/treecoder.h', - '<(libvpx_source)/vp8/common/variance.h', - '<(libvpx_source)/vp8/common/variance_c.c', - '<(libvpx_source)/vp8/common/vp8_entropymodedata.h', - '<(libvpx_source)/vp8/decoder/dboolhuff.c', - '<(libvpx_source)/vp8/decoder/dboolhuff.h', - '<(libvpx_source)/vp8/decoder/decodeframe.c', - '<(libvpx_source)/vp8/decoder/decodemv.c', - '<(libvpx_source)/vp8/decoder/decodemv.h', - '<(libvpx_source)/vp8/decoder/decoderthreading.h', - '<(libvpx_source)/vp8/decoder/detokenize.c', - '<(libvpx_source)/vp8/decoder/detokenize.h', - '<(libvpx_source)/vp8/decoder/onyxd_if.c', - '<(libvpx_source)/vp8/decoder/onyxd_int.h', - '<(libvpx_source)/vp8/decoder/threading.c', - '<(libvpx_source)/vp8/decoder/treereader.h', - '<(libvpx_source)/vp8/encoder/arm/armv6/vp8_fast_quantize_b_armv6.asm', - '<(libvpx_source)/vp8/encoder/arm/armv6/vp8_mse16x16_armv6.asm', - '<(libvpx_source)/vp8/encoder/arm/armv6/vp8_short_fdct4x4_armv6.asm', - '<(libvpx_source)/vp8/encoder/arm/armv6/vp8_subtract_armv6.asm', - '<(libvpx_source)/vp8/encoder/arm/armv6/walsh_v6.asm', - '<(libvpx_source)/vp8/encoder/arm/dct_arm.c', - '<(libvpx_source)/vp8/encoder/arm/neon/denoising_neon.c', - '<(libvpx_source)/vp8/encoder/arm/neon/fastquantizeb_neon.asm', - '<(libvpx_source)/vp8/encoder/arm/neon/picklpf_arm.c', - '<(libvpx_source)/vp8/encoder/arm/neon/shortfdct_neon.asm', - '<(libvpx_source)/vp8/encoder/arm/neon/subtract_neon.asm', - '<(libvpx_source)/vp8/encoder/arm/neon/vp8_memcpy_neon.asm', - '<(libvpx_source)/vp8/encoder/arm/neon/vp8_mse16x16_neon.asm', - '<(libvpx_source)/vp8/encoder/arm/neon/vp8_shortwalsh4x4_neon.asm', - '<(libvpx_source)/vp8/encoder/arm/quantize_arm.c', - '<(libvpx_source)/vp8/encoder/bitstream.c', - '<(libvpx_source)/vp8/encoder/bitstream.h', - '<(libvpx_source)/vp8/encoder/block.h', - '<(libvpx_source)/vp8/encoder/boolhuff.c', - '<(libvpx_source)/vp8/encoder/boolhuff.h', - '<(libvpx_source)/vp8/encoder/dct.c', - '<(libvpx_source)/vp8/encoder/dct_value_cost.h', - '<(libvpx_source)/vp8/encoder/dct_value_tokens.h', - '<(libvpx_source)/vp8/encoder/defaultcoefcounts.h', - '<(libvpx_source)/vp8/encoder/denoising.c', - '<(libvpx_source)/vp8/encoder/denoising.h', - '<(libvpx_source)/vp8/encoder/encodeframe.c', - '<(libvpx_source)/vp8/encoder/encodeframe.h', - '<(libvpx_source)/vp8/encoder/encodeintra.c', - '<(libvpx_source)/vp8/encoder/encodeintra.h', - '<(libvpx_source)/vp8/encoder/encodemb.c', - '<(libvpx_source)/vp8/encoder/encodemb.h', - '<(libvpx_source)/vp8/encoder/encodemv.c', - '<(libvpx_source)/vp8/encoder/encodemv.h', - '<(libvpx_source)/vp8/encoder/ethreading.c', - '<(libvpx_source)/vp8/encoder/firstpass.h', - '<(libvpx_source)/vp8/encoder/lookahead.c', - '<(libvpx_source)/vp8/encoder/lookahead.h', - '<(libvpx_source)/vp8/encoder/mcomp.c', - '<(libvpx_source)/vp8/encoder/mcomp.h', - '<(libvpx_source)/vp8/encoder/modecosts.c', - '<(libvpx_source)/vp8/encoder/modecosts.h', - '<(libvpx_source)/vp8/encoder/mr_dissim.c', - '<(libvpx_source)/vp8/encoder/mr_dissim.h', - '<(libvpx_source)/vp8/encoder/onyx_if.c', - '<(libvpx_source)/vp8/encoder/onyx_int.h', - '<(libvpx_source)/vp8/encoder/pickinter.c', - '<(libvpx_source)/vp8/encoder/pickinter.h', - '<(libvpx_source)/vp8/encoder/picklpf.c', - '<(libvpx_source)/vp8/encoder/quantize.c', - '<(libvpx_source)/vp8/encoder/quantize.h', - '<(libvpx_source)/vp8/encoder/ratectrl.c', - '<(libvpx_source)/vp8/encoder/ratectrl.h', - '<(libvpx_source)/vp8/encoder/rdopt.c', - '<(libvpx_source)/vp8/encoder/rdopt.h', - '<(libvpx_source)/vp8/encoder/segmentation.c', - '<(libvpx_source)/vp8/encoder/segmentation.h', - '<(libvpx_source)/vp8/encoder/tokenize.c', - '<(libvpx_source)/vp8/encoder/tokenize.h', - '<(libvpx_source)/vp8/encoder/treewriter.c', - '<(libvpx_source)/vp8/encoder/treewriter.h', - '<(libvpx_source)/vp8/vp8_cx_iface.c', - '<(libvpx_source)/vp8/vp8_dx_iface.c', - '<(libvpx_source)/vp9/common/arm/neon/vp9_avg_neon.asm', - '<(libvpx_source)/vp9/common/arm/neon/vp9_convolve8_avg_neon.asm', - '<(libvpx_source)/vp9/common/arm/neon/vp9_convolve8_neon.asm', - '<(libvpx_source)/vp9/common/arm/neon/vp9_convolve_neon.c', - '<(libvpx_source)/vp9/common/arm/neon/vp9_copy_neon.asm', - '<(libvpx_source)/vp9/common/arm/neon/vp9_dc_only_idct_add_neon.asm', - '<(libvpx_source)/vp9/common/arm/neon/vp9_idct16x16_1_add_neon.asm', - '<(libvpx_source)/vp9/common/arm/neon/vp9_idct16x16_add_neon.asm', - '<(libvpx_source)/vp9/common/arm/neon/vp9_idct16x16_neon.c', - '<(libvpx_source)/vp9/common/arm/neon/vp9_idct32x32_1_add_neon.asm', - '<(libvpx_source)/vp9/common/arm/neon/vp9_idct32x32_add_neon.asm', - '<(libvpx_source)/vp9/common/arm/neon/vp9_idct4x4_1_add_neon.asm', - '<(libvpx_source)/vp9/common/arm/neon/vp9_idct4x4_add_neon.asm', - '<(libvpx_source)/vp9/common/arm/neon/vp9_idct8x8_1_add_neon.asm', - '<(libvpx_source)/vp9/common/arm/neon/vp9_idct8x8_add_neon.asm', - '<(libvpx_source)/vp9/common/arm/neon/vp9_iht4x4_add_neon.asm', - '<(libvpx_source)/vp9/common/arm/neon/vp9_iht8x8_add_neon.asm', - '<(libvpx_source)/vp9/common/arm/neon/vp9_loopfilter_16_neon.asm', - '<(libvpx_source)/vp9/common/arm/neon/vp9_loopfilter_16_neon.c', - '<(libvpx_source)/vp9/common/arm/neon/vp9_loopfilter_neon.asm', - '<(libvpx_source)/vp9/common/arm/neon/vp9_mb_lpf_neon.asm', - '<(libvpx_source)/vp9/common/arm/neon/vp9_reconintra_neon.asm', - '<(libvpx_source)/vp9/common/arm/neon/vp9_save_reg_neon.asm', - '<(libvpx_source)/vp9/common/vp9_alloccommon.c', - '<(libvpx_source)/vp9/common/vp9_alloccommon.h', - '<(libvpx_source)/vp9/common/vp9_blockd.c', - '<(libvpx_source)/vp9/common/vp9_blockd.h', - '<(libvpx_source)/vp9/common/vp9_common.h', - '<(libvpx_source)/vp9/common/vp9_common_data.c', - '<(libvpx_source)/vp9/common/vp9_common_data.h', - '<(libvpx_source)/vp9/common/vp9_convolve.c', - '<(libvpx_source)/vp9/common/vp9_convolve.h', - '<(libvpx_source)/vp9/common/vp9_debugmodes.c', - '<(libvpx_source)/vp9/common/vp9_entropy.c', - '<(libvpx_source)/vp9/common/vp9_entropy.h', - '<(libvpx_source)/vp9/common/vp9_entropymode.c', - '<(libvpx_source)/vp9/common/vp9_entropymode.h', - '<(libvpx_source)/vp9/common/vp9_entropymv.c', - '<(libvpx_source)/vp9/common/vp9_entropymv.h', - '<(libvpx_source)/vp9/common/vp9_enums.h', - '<(libvpx_source)/vp9/common/vp9_filter.c', - '<(libvpx_source)/vp9/common/vp9_filter.h', - '<(libvpx_source)/vp9/common/vp9_frame_buffers.c', - '<(libvpx_source)/vp9/common/vp9_frame_buffers.h', - '<(libvpx_source)/vp9/common/vp9_idct.c', - '<(libvpx_source)/vp9/common/vp9_idct.h', - '<(libvpx_source)/vp9/common/vp9_loopfilter.c', - '<(libvpx_source)/vp9/common/vp9_loopfilter.h', - '<(libvpx_source)/vp9/common/vp9_loopfilter_filters.c', - '<(libvpx_source)/vp9/common/vp9_mv.h', - '<(libvpx_source)/vp9/common/vp9_mvref_common.c', - '<(libvpx_source)/vp9/common/vp9_mvref_common.h', - '<(libvpx_source)/vp9/common/vp9_onyxc_int.h', - '<(libvpx_source)/vp9/common/vp9_ppflags.h', - '<(libvpx_source)/vp9/common/vp9_pragmas.h', - '<(libvpx_source)/vp9/common/vp9_pred_common.c', - '<(libvpx_source)/vp9/common/vp9_pred_common.h', - '<(libvpx_source)/vp9/common/vp9_prob.c', - '<(libvpx_source)/vp9/common/vp9_prob.h', - '<(libvpx_source)/vp9/common/vp9_quant_common.c', - '<(libvpx_source)/vp9/common/vp9_quant_common.h', - '<(libvpx_source)/vp9/common/vp9_reconinter.c', - '<(libvpx_source)/vp9/common/vp9_reconinter.h', - '<(libvpx_source)/vp9/common/vp9_reconintra.c', - '<(libvpx_source)/vp9/common/vp9_reconintra.h', - '<(libvpx_source)/vp9/common/vp9_rtcd.c', - '<(libvpx_source)/vp9/common/vp9_scale.c', - '<(libvpx_source)/vp9/common/vp9_scale.h', - '<(libvpx_source)/vp9/common/vp9_scan.c', - '<(libvpx_source)/vp9/common/vp9_scan.h', - '<(libvpx_source)/vp9/common/vp9_seg_common.c', - '<(libvpx_source)/vp9/common/vp9_seg_common.h', - '<(libvpx_source)/vp9/common/vp9_systemdependent.h', - '<(libvpx_source)/vp9/common/vp9_textblit.h', - '<(libvpx_source)/vp9/common/vp9_tile_common.c', - '<(libvpx_source)/vp9/common/vp9_tile_common.h', - '<(libvpx_source)/vp9/decoder/vp9_decodeframe.c', - '<(libvpx_source)/vp9/decoder/vp9_decodeframe.h', - '<(libvpx_source)/vp9/decoder/vp9_decodemv.c', - '<(libvpx_source)/vp9/decoder/vp9_decodemv.h', - '<(libvpx_source)/vp9/decoder/vp9_decoder.c', - '<(libvpx_source)/vp9/decoder/vp9_decoder.h', - '<(libvpx_source)/vp9/decoder/vp9_detokenize.c', - '<(libvpx_source)/vp9/decoder/vp9_detokenize.h', - '<(libvpx_source)/vp9/decoder/vp9_dsubexp.c', - '<(libvpx_source)/vp9/decoder/vp9_dsubexp.h', - '<(libvpx_source)/vp9/decoder/vp9_dthread.c', - '<(libvpx_source)/vp9/decoder/vp9_dthread.h', - '<(libvpx_source)/vp9/decoder/vp9_read_bit_buffer.c', - '<(libvpx_source)/vp9/decoder/vp9_read_bit_buffer.h', - '<(libvpx_source)/vp9/decoder/vp9_reader.c', - '<(libvpx_source)/vp9/decoder/vp9_reader.h', - '<(libvpx_source)/vp9/decoder/vp9_thread.c', - '<(libvpx_source)/vp9/decoder/vp9_thread.h', - '<(libvpx_source)/vp9/encoder/vp9_aq_complexity.c', - '<(libvpx_source)/vp9/encoder/vp9_aq_complexity.h', - '<(libvpx_source)/vp9/encoder/vp9_aq_cyclicrefresh.c', - '<(libvpx_source)/vp9/encoder/vp9_aq_cyclicrefresh.h', - '<(libvpx_source)/vp9/encoder/vp9_aq_variance.c', - '<(libvpx_source)/vp9/encoder/vp9_aq_variance.h', - '<(libvpx_source)/vp9/encoder/vp9_bitstream.c', - '<(libvpx_source)/vp9/encoder/vp9_bitstream.h', - '<(libvpx_source)/vp9/encoder/vp9_block.h', - '<(libvpx_source)/vp9/encoder/vp9_context_tree.c', - '<(libvpx_source)/vp9/encoder/vp9_context_tree.h', - '<(libvpx_source)/vp9/encoder/vp9_cost.c', - '<(libvpx_source)/vp9/encoder/vp9_cost.h', - '<(libvpx_source)/vp9/encoder/vp9_dct.c', - '<(libvpx_source)/vp9/encoder/vp9_encodeframe.c', - '<(libvpx_source)/vp9/encoder/vp9_encodeframe.h', - '<(libvpx_source)/vp9/encoder/vp9_encodemb.c', - '<(libvpx_source)/vp9/encoder/vp9_encodemb.h', - '<(libvpx_source)/vp9/encoder/vp9_encodemv.c', - '<(libvpx_source)/vp9/encoder/vp9_encodemv.h', - '<(libvpx_source)/vp9/encoder/vp9_encoder.c', - '<(libvpx_source)/vp9/encoder/vp9_encoder.h', - '<(libvpx_source)/vp9/encoder/vp9_extend.c', - '<(libvpx_source)/vp9/encoder/vp9_extend.h', - '<(libvpx_source)/vp9/encoder/vp9_firstpass.c', - '<(libvpx_source)/vp9/encoder/vp9_firstpass.h', - '<(libvpx_source)/vp9/encoder/vp9_lookahead.c', - '<(libvpx_source)/vp9/encoder/vp9_lookahead.h', - '<(libvpx_source)/vp9/encoder/vp9_mbgraph.c', - '<(libvpx_source)/vp9/encoder/vp9_mbgraph.h', - '<(libvpx_source)/vp9/encoder/vp9_mcomp.c', - '<(libvpx_source)/vp9/encoder/vp9_mcomp.h', - '<(libvpx_source)/vp9/encoder/vp9_picklpf.c', - '<(libvpx_source)/vp9/encoder/vp9_picklpf.h', - '<(libvpx_source)/vp9/encoder/vp9_pickmode.c', - '<(libvpx_source)/vp9/encoder/vp9_pickmode.h', - '<(libvpx_source)/vp9/encoder/vp9_quantize.c', - '<(libvpx_source)/vp9/encoder/vp9_quantize.h', - '<(libvpx_source)/vp9/encoder/vp9_ratectrl.c', - '<(libvpx_source)/vp9/encoder/vp9_ratectrl.h', - '<(libvpx_source)/vp9/encoder/vp9_rdopt.c', - '<(libvpx_source)/vp9/encoder/vp9_rdopt.h', - '<(libvpx_source)/vp9/encoder/vp9_resize.c', - '<(libvpx_source)/vp9/encoder/vp9_resize.h', - '<(libvpx_source)/vp9/encoder/vp9_sad.c', - '<(libvpx_source)/vp9/encoder/vp9_segmentation.c', - '<(libvpx_source)/vp9/encoder/vp9_segmentation.h', - '<(libvpx_source)/vp9/encoder/vp9_speed_features.c', - '<(libvpx_source)/vp9/encoder/vp9_speed_features.h', - '<(libvpx_source)/vp9/encoder/vp9_subexp.c', - '<(libvpx_source)/vp9/encoder/vp9_subexp.h', - '<(libvpx_source)/vp9/encoder/vp9_svc_layercontext.c', - '<(libvpx_source)/vp9/encoder/vp9_svc_layercontext.h', - '<(libvpx_source)/vp9/encoder/vp9_temporal_filter.c', - '<(libvpx_source)/vp9/encoder/vp9_temporal_filter.h', - '<(libvpx_source)/vp9/encoder/vp9_tokenize.c', - '<(libvpx_source)/vp9/encoder/vp9_tokenize.h', - '<(libvpx_source)/vp9/encoder/vp9_treewriter.c', - '<(libvpx_source)/vp9/encoder/vp9_treewriter.h', - '<(libvpx_source)/vp9/encoder/vp9_variance.c', - '<(libvpx_source)/vp9/encoder/vp9_variance.h', - '<(libvpx_source)/vp9/encoder/vp9_write_bit_buffer.c', - '<(libvpx_source)/vp9/encoder/vp9_write_bit_buffer.h', - '<(libvpx_source)/vp9/encoder/vp9_writer.c', - '<(libvpx_source)/vp9/encoder/vp9_writer.h', - '<(libvpx_source)/vp9/vp9_cx_iface.c', - '<(libvpx_source)/vp9/vp9_dx_iface.c', - '<(libvpx_source)/vp9/vp9_iface_common.h', - '<(libvpx_source)/vpx/internal/vpx_codec_internal.h', - '<(libvpx_source)/vpx/internal/vpx_psnr.h', - '<(libvpx_source)/vpx/src/svc_encodeframe.c', - '<(libvpx_source)/vpx/src/vpx_codec.c', - '<(libvpx_source)/vpx/src/vpx_decoder.c', - '<(libvpx_source)/vpx/src/vpx_encoder.c', - '<(libvpx_source)/vpx/src/vpx_image.c', - '<(libvpx_source)/vpx/src/vpx_psnr.c', - '<(libvpx_source)/vpx/svc_context.h', - '<(libvpx_source)/vpx/vp8.h', - '<(libvpx_source)/vpx/vp8cx.h', - '<(libvpx_source)/vpx/vp8dx.h', - '<(libvpx_source)/vpx/vpx_codec.h', - '<(libvpx_source)/vpx/vpx_decoder.h', - '<(libvpx_source)/vpx/vpx_encoder.h', - '<(libvpx_source)/vpx/vpx_frame_buffer.h', - '<(libvpx_source)/vpx/vpx_image.h', - '<(libvpx_source)/vpx/vpx_integer.h', - '<(libvpx_source)/vpx_mem/include/vpx_mem_intrnl.h', - '<(libvpx_source)/vpx_mem/vpx_mem.c', - '<(libvpx_source)/vpx_mem/vpx_mem.h', - '<(libvpx_source)/vpx_ports/arm.h', - '<(libvpx_source)/vpx_ports/arm_cpudetect.c', - '<(libvpx_source)/vpx_ports/asm_offsets.h', - '<(libvpx_source)/vpx_ports/emmintrin_compat.h', - '<(libvpx_source)/vpx_ports/mem.h', - '<(libvpx_source)/vpx_ports/mem_ops.h', - '<(libvpx_source)/vpx_ports/mem_ops_aligned.h', - '<(libvpx_source)/vpx_ports/vpx_once.h', - '<(libvpx_source)/vpx_ports/vpx_timer.h', - '<(libvpx_source)/vpx_scale/generic/gen_scalers.c', - '<(libvpx_source)/vpx_scale/generic/vpx_scale.c', - '<(libvpx_source)/vpx_scale/generic/yv12config.c', - '<(libvpx_source)/vpx_scale/generic/yv12extend.c', - '<(libvpx_source)/vpx_scale/vpx_scale.h', - '<(libvpx_source)/vpx_scale/vpx_scale_rtcd.c', - '<(libvpx_source)/vpx_scale/yv12config.h', - ], -} diff --git a/source/config/linux/arm-neon-no-asm-offsets/vp8_rtcd.h b/source/config/linux/arm-neon-no-asm-offsets/vp8_rtcd.h deleted file mode 100644 index 184b486..0000000 --- a/source/config/linux/arm-neon-no-asm-offsets/vp8_rtcd.h +++ /dev/null @@ -1,443 +0,0 @@ -#ifndef VP8_RTCD_H_ -#define VP8_RTCD_H_ - -#ifdef RTCD_C -#define RTCD_EXTERN -#else -#define RTCD_EXTERN extern -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -/* - * VP8 - */ - -struct blockd; -struct macroblockd; -struct loop_filter_info; - -/* Encoder forward decls */ -struct block; -struct macroblock; -struct variance_vtable; -union int_mv; -struct yv12_buffer_config; - -void vp8_bilinear_predict16x16_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); -void vp8_bilinear_predict16x16_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); -void vp8_bilinear_predict16x16_neon(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); -#define vp8_bilinear_predict16x16 vp8_bilinear_predict16x16_neon - -void vp8_bilinear_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); -void vp8_bilinear_predict4x4_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); -void vp8_bilinear_predict4x4_neon(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); -#define vp8_bilinear_predict4x4 vp8_bilinear_predict4x4_neon - -void vp8_bilinear_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); -void vp8_bilinear_predict8x4_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); -void vp8_bilinear_predict8x4_neon(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); -#define vp8_bilinear_predict8x4 vp8_bilinear_predict8x4_neon - -void vp8_bilinear_predict8x8_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); -void vp8_bilinear_predict8x8_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); -void vp8_bilinear_predict8x8_neon(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); -#define vp8_bilinear_predict8x8 vp8_bilinear_predict8x8_neon - -void vp8_blend_b_c(unsigned char *y, unsigned char *u, unsigned char *v, int y1, int u1, int v1, int alpha, int stride); -#define vp8_blend_b vp8_blend_b_c - -void vp8_blend_mb_inner_c(unsigned char *y, unsigned char *u, unsigned char *v, int y1, int u1, int v1, int alpha, int stride); -#define vp8_blend_mb_inner vp8_blend_mb_inner_c - -void vp8_blend_mb_outer_c(unsigned char *y, unsigned char *u, unsigned char *v, int y1, int u1, int v1, int alpha, int stride); -#define vp8_blend_mb_outer vp8_blend_mb_outer_c - -int vp8_block_error_c(short *coeff, short *dqcoeff); -#define vp8_block_error vp8_block_error_c - -void vp8_build_intra_predictors_mbuv_s_c(struct macroblockd *x, unsigned char * uabove_row, unsigned char * vabove_row, unsigned char *uleft, unsigned char *vleft, int left_stride, unsigned char * upred_ptr, unsigned char * vpred_ptr, int pred_stride); -#define vp8_build_intra_predictors_mbuv_s vp8_build_intra_predictors_mbuv_s_c - -void vp8_build_intra_predictors_mby_s_c(struct macroblockd *x, unsigned char * yabove_row, unsigned char * yleft, int left_stride, unsigned char * ypred_ptr, int y_stride); -#define vp8_build_intra_predictors_mby_s vp8_build_intra_predictors_mby_s_c - -void vp8_clear_system_state_c(); -#define vp8_clear_system_state vp8_clear_system_state_c - -void vp8_copy_mem16x16_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch); -void vp8_copy_mem16x16_v6(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch); -void vp8_copy_mem16x16_neon(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch); -#define vp8_copy_mem16x16 vp8_copy_mem16x16_neon - -void vp8_copy_mem8x4_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch); -void vp8_copy_mem8x4_v6(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch); -void vp8_copy_mem8x4_neon(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch); -#define vp8_copy_mem8x4 vp8_copy_mem8x4_neon - -void vp8_copy_mem8x8_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch); -void vp8_copy_mem8x8_v6(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch); -void vp8_copy_mem8x8_neon(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch); -#define vp8_copy_mem8x8 vp8_copy_mem8x8_neon - -void vp8_dc_only_idct_add_c(short input, unsigned char *pred, int pred_stride, unsigned char *dst, int dst_stride); -void vp8_dc_only_idct_add_v6(short input, unsigned char *pred, int pred_stride, unsigned char *dst, int dst_stride); -void vp8_dc_only_idct_add_neon(short input, unsigned char *pred, int pred_stride, unsigned char *dst, int dst_stride); -#define vp8_dc_only_idct_add vp8_dc_only_idct_add_neon - -int vp8_denoiser_filter_c(unsigned char *mc_running_avg_y, int mc_avg_y_stride, unsigned char *running_avg_y, int avg_y_stride, unsigned char *sig, int sig_stride, unsigned int motion_magnitude, int increase_denoising); -int vp8_denoiser_filter_neon(unsigned char *mc_running_avg_y, int mc_avg_y_stride, unsigned char *running_avg_y, int avg_y_stride, unsigned char *sig, int sig_stride, unsigned int motion_magnitude, int increase_denoising); -#define vp8_denoiser_filter vp8_denoiser_filter_neon - -void vp8_dequant_idct_add_c(short *input, short *dq, unsigned char *output, int stride); -void vp8_dequant_idct_add_v6(short *input, short *dq, unsigned char *output, int stride); -void vp8_dequant_idct_add_neon(short *input, short *dq, unsigned char *output, int stride); -#define vp8_dequant_idct_add vp8_dequant_idct_add_neon - -void vp8_dequant_idct_add_uv_block_c(short *q, short *dq, unsigned char *dst_u, unsigned char *dst_v, int stride, char *eobs); -void vp8_dequant_idct_add_uv_block_v6(short *q, short *dq, unsigned char *dst_u, unsigned char *dst_v, int stride, char *eobs); -void vp8_dequant_idct_add_uv_block_neon(short *q, short *dq, unsigned char *dst_u, unsigned char *dst_v, int stride, char *eobs); -#define vp8_dequant_idct_add_uv_block vp8_dequant_idct_add_uv_block_neon - -void vp8_dequant_idct_add_y_block_c(short *q, short *dq, unsigned char *dst, int stride, char *eobs); -void vp8_dequant_idct_add_y_block_v6(short *q, short *dq, unsigned char *dst, int stride, char *eobs); -void vp8_dequant_idct_add_y_block_neon(short *q, short *dq, unsigned char *dst, int stride, char *eobs); -#define vp8_dequant_idct_add_y_block vp8_dequant_idct_add_y_block_neon - -void vp8_dequantize_b_c(struct blockd*, short *dqc); -void vp8_dequantize_b_v6(struct blockd*, short *dqc); -void vp8_dequantize_b_neon(struct blockd*, short *dqc); -#define vp8_dequantize_b vp8_dequantize_b_neon - -int vp8_diamond_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, union int_mv *best_mv, int search_param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv); -#define vp8_diamond_search_sad vp8_diamond_search_sad_c - -void vp8_fast_quantize_b_c(struct block *, struct blockd *); -void vp8_fast_quantize_b_armv6(struct block *, struct blockd *); -void vp8_fast_quantize_b_neon(struct block *, struct blockd *); -#define vp8_fast_quantize_b vp8_fast_quantize_b_neon - -void vp8_fast_quantize_b_pair_c(struct block *b1, struct block *b2, struct blockd *d1, struct blockd *d2); -void vp8_fast_quantize_b_pair_neon(struct block *b1, struct block *b2, struct blockd *d1, struct blockd *d2); -#define vp8_fast_quantize_b_pair vp8_fast_quantize_b_pair_neon - -void vp8_filter_by_weight16x16_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight); -#define vp8_filter_by_weight16x16 vp8_filter_by_weight16x16_c - -void vp8_filter_by_weight4x4_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight); -#define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c - -void vp8_filter_by_weight8x8_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight); -#define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_c - -int vp8_full_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv); -#define vp8_full_search_sad vp8_full_search_sad_c - -unsigned int vp8_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride); -unsigned int vp8_get4x4sse_cs_neon(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride); -#define vp8_get4x4sse_cs vp8_get4x4sse_cs_neon - -unsigned int vp8_get_mb_ss_c(const short *); -#define vp8_get_mb_ss vp8_get_mb_ss_c - -void vp8_intra4x4_predict_c(unsigned char *Above, unsigned char *yleft, int left_stride, int b_mode, unsigned char *dst, int dst_stride, unsigned char top_left); -void vp8_intra4x4_predict_armv6(unsigned char *Above, unsigned char *yleft, int left_stride, int b_mode, unsigned char *dst, int dst_stride, unsigned char top_left); -#define vp8_intra4x4_predict vp8_intra4x4_predict_armv6 - -void vp8_loop_filter_bh_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); -void vp8_loop_filter_bh_armv6(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); -void vp8_loop_filter_bh_neon(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); -#define vp8_loop_filter_bh vp8_loop_filter_bh_neon - -void vp8_loop_filter_bv_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); -void vp8_loop_filter_bv_armv6(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); -void vp8_loop_filter_bv_neon(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); -#define vp8_loop_filter_bv vp8_loop_filter_bv_neon - -void vp8_loop_filter_mbh_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); -void vp8_loop_filter_mbh_armv6(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); -void vp8_loop_filter_mbh_neon(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); -#define vp8_loop_filter_mbh vp8_loop_filter_mbh_neon - -void vp8_loop_filter_mbv_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); -void vp8_loop_filter_mbv_armv6(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); -void vp8_loop_filter_mbv_neon(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); -#define vp8_loop_filter_mbv vp8_loop_filter_mbv_neon - -void vp8_loop_filter_bhs_c(unsigned char *y, int ystride, const unsigned char *blimit); -void vp8_loop_filter_bhs_armv6(unsigned char *y, int ystride, const unsigned char *blimit); -void vp8_loop_filter_bhs_neon(unsigned char *y, int ystride, const unsigned char *blimit); -#define vp8_loop_filter_simple_bh vp8_loop_filter_bhs_neon - -void vp8_loop_filter_bvs_c(unsigned char *y, int ystride, const unsigned char *blimit); -void vp8_loop_filter_bvs_armv6(unsigned char *y, int ystride, const unsigned char *blimit); -void vp8_loop_filter_bvs_neon(unsigned char *y, int ystride, const unsigned char *blimit); -#define vp8_loop_filter_simple_bv vp8_loop_filter_bvs_neon - -void vp8_loop_filter_simple_horizontal_edge_c(unsigned char *y, int ystride, const unsigned char *blimit); -void vp8_loop_filter_simple_horizontal_edge_armv6(unsigned char *y, int ystride, const unsigned char *blimit); -void vp8_loop_filter_mbhs_neon(unsigned char *y, int ystride, const unsigned char *blimit); -#define vp8_loop_filter_simple_mbh vp8_loop_filter_mbhs_neon - -void vp8_loop_filter_simple_vertical_edge_c(unsigned char *y, int ystride, const unsigned char *blimit); -void vp8_loop_filter_simple_vertical_edge_armv6(unsigned char *y, int ystride, const unsigned char *blimit); -void vp8_loop_filter_mbvs_neon(unsigned char *y, int ystride, const unsigned char *blimit); -#define vp8_loop_filter_simple_mbv vp8_loop_filter_mbvs_neon - -int vp8_mbblock_error_c(struct macroblock *mb, int dc); -#define vp8_mbblock_error vp8_mbblock_error_c - -void vp8_mbpost_proc_across_ip_c(unsigned char *dst, int pitch, int rows, int cols,int flimit); -#define vp8_mbpost_proc_across_ip vp8_mbpost_proc_across_ip_c - -void vp8_mbpost_proc_down_c(unsigned char *dst, int pitch, int rows, int cols,int flimit); -#define vp8_mbpost_proc_down vp8_mbpost_proc_down_c - -int vp8_mbuverror_c(struct macroblock *mb); -#define vp8_mbuverror vp8_mbuverror_c - -unsigned int vp8_mse16x16_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); -unsigned int vp8_mse16x16_armv6(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); -unsigned int vp8_mse16x16_neon(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); -#define vp8_mse16x16 vp8_mse16x16_neon - -void vp8_plane_add_noise_c(unsigned char *s, char *noise, char blackclamp[16], char whiteclamp[16], char bothclamp[16], unsigned int w, unsigned int h, int pitch); -#define vp8_plane_add_noise vp8_plane_add_noise_c - -void vp8_post_proc_down_and_across_mb_row_c(unsigned char *src, unsigned char *dst, int src_pitch, int dst_pitch, int cols, unsigned char *flimits, int size); -#define vp8_post_proc_down_and_across_mb_row vp8_post_proc_down_and_across_mb_row_c - -void vp8_quantize_mb_c(struct macroblock *); -void vp8_quantize_mb_neon(struct macroblock *); -#define vp8_quantize_mb vp8_quantize_mb_neon - -void vp8_quantize_mbuv_c(struct macroblock *); -void vp8_quantize_mbuv_neon(struct macroblock *); -#define vp8_quantize_mbuv vp8_quantize_mbuv_neon - -void vp8_quantize_mby_c(struct macroblock *); -void vp8_quantize_mby_neon(struct macroblock *); -#define vp8_quantize_mby vp8_quantize_mby_neon - -int vp8_refining_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv); -#define vp8_refining_search_sad vp8_refining_search_sad_c - -void vp8_regular_quantize_b_c(struct block *, struct blockd *); -#define vp8_regular_quantize_b vp8_regular_quantize_b_c - -void vp8_regular_quantize_b_pair_c(struct block *b1, struct block *b2, struct blockd *d1, struct blockd *d2); -#define vp8_regular_quantize_b_pair vp8_regular_quantize_b_pair_c - -unsigned int vp8_sad16x16_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); -unsigned int vp8_sad16x16_armv6(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); -unsigned int vp8_sad16x16_neon(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); -#define vp8_sad16x16 vp8_sad16x16_neon - -void vp8_sad16x16x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array); -#define vp8_sad16x16x3 vp8_sad16x16x3_c - -void vp8_sad16x16x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int ref_stride, unsigned int *sad_array); -#define vp8_sad16x16x4d vp8_sad16x16x4d_c - -void vp8_sad16x16x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array); -#define vp8_sad16x16x8 vp8_sad16x16x8_c - -unsigned int vp8_sad16x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); -unsigned int vp8_sad16x8_neon(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); -#define vp8_sad16x8 vp8_sad16x8_neon - -void vp8_sad16x8x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array); -#define vp8_sad16x8x3 vp8_sad16x8x3_c - -void vp8_sad16x8x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int ref_stride, unsigned int *sad_array); -#define vp8_sad16x8x4d vp8_sad16x8x4d_c - -void vp8_sad16x8x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array); -#define vp8_sad16x8x8 vp8_sad16x8x8_c - -unsigned int vp8_sad4x4_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); -unsigned int vp8_sad4x4_neon(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); -#define vp8_sad4x4 vp8_sad4x4_neon - -void vp8_sad4x4x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array); -#define vp8_sad4x4x3 vp8_sad4x4x3_c - -void vp8_sad4x4x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int ref_stride, unsigned int *sad_array); -#define vp8_sad4x4x4d vp8_sad4x4x4d_c - -void vp8_sad4x4x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array); -#define vp8_sad4x4x8 vp8_sad4x4x8_c - -unsigned int vp8_sad8x16_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); -unsigned int vp8_sad8x16_neon(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); -#define vp8_sad8x16 vp8_sad8x16_neon - -void vp8_sad8x16x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array); -#define vp8_sad8x16x3 vp8_sad8x16x3_c - -void vp8_sad8x16x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int ref_stride, unsigned int *sad_array); -#define vp8_sad8x16x4d vp8_sad8x16x4d_c - -void vp8_sad8x16x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array); -#define vp8_sad8x16x8 vp8_sad8x16x8_c - -unsigned int vp8_sad8x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); -unsigned int vp8_sad8x8_neon(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); -#define vp8_sad8x8 vp8_sad8x8_neon - -void vp8_sad8x8x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array); -#define vp8_sad8x8x3 vp8_sad8x8x3_c - -void vp8_sad8x8x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int ref_stride, unsigned int *sad_array); -#define vp8_sad8x8x4d vp8_sad8x8x4d_c - -void vp8_sad8x8x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array); -#define vp8_sad8x8x8 vp8_sad8x8x8_c - -void vp8_short_fdct4x4_c(short *input, short *output, int pitch); -void vp8_short_fdct4x4_armv6(short *input, short *output, int pitch); -void vp8_short_fdct4x4_neon(short *input, short *output, int pitch); -#define vp8_short_fdct4x4 vp8_short_fdct4x4_neon - -void vp8_short_fdct8x4_c(short *input, short *output, int pitch); -void vp8_short_fdct8x4_armv6(short *input, short *output, int pitch); -void vp8_short_fdct8x4_neon(short *input, short *output, int pitch); -#define vp8_short_fdct8x4 vp8_short_fdct8x4_neon - -void vp8_short_idct4x4llm_c(short *input, unsigned char *pred, int pitch, unsigned char *dst, int dst_stride); -void vp8_short_idct4x4llm_v6_dual(short *input, unsigned char *pred, int pitch, unsigned char *dst, int dst_stride); -void vp8_short_idct4x4llm_neon(short *input, unsigned char *pred, int pitch, unsigned char *dst, int dst_stride); -#define vp8_short_idct4x4llm vp8_short_idct4x4llm_neon - -void vp8_short_inv_walsh4x4_c(short *input, short *output); -void vp8_short_inv_walsh4x4_v6(short *input, short *output); -void vp8_short_inv_walsh4x4_neon(short *input, short *output); -#define vp8_short_inv_walsh4x4 vp8_short_inv_walsh4x4_neon - -void vp8_short_inv_walsh4x4_1_c(short *input, short *output); -#define vp8_short_inv_walsh4x4_1 vp8_short_inv_walsh4x4_1_c - -void vp8_short_walsh4x4_c(short *input, short *output, int pitch); -void vp8_short_walsh4x4_armv6(short *input, short *output, int pitch); -void vp8_short_walsh4x4_neon(short *input, short *output, int pitch); -#define vp8_short_walsh4x4 vp8_short_walsh4x4_neon - -void vp8_sixtap_predict16x16_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); -void vp8_sixtap_predict16x16_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); -void vp8_sixtap_predict16x16_neon(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); -#define vp8_sixtap_predict16x16 vp8_sixtap_predict16x16_neon - -void vp8_sixtap_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); -void vp8_sixtap_predict4x4_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); -void vp8_sixtap_predict4x4_neon(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); -#define vp8_sixtap_predict4x4 vp8_sixtap_predict4x4_neon - -void vp8_sixtap_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); -void vp8_sixtap_predict8x4_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); -void vp8_sixtap_predict8x4_neon(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); -#define vp8_sixtap_predict8x4 vp8_sixtap_predict8x4_neon - -void vp8_sixtap_predict8x8_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); -void vp8_sixtap_predict8x8_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); -void vp8_sixtap_predict8x8_neon(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); -#define vp8_sixtap_predict8x8 vp8_sixtap_predict8x8_neon - -unsigned int vp8_sub_pixel_mse16x16_c(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); -#define vp8_sub_pixel_mse16x16 vp8_sub_pixel_mse16x16_c - -unsigned int vp8_sub_pixel_variance16x16_c(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); -unsigned int vp8_sub_pixel_variance16x16_armv6(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); -unsigned int vp8_sub_pixel_variance16x16_neon(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); -#define vp8_sub_pixel_variance16x16 vp8_sub_pixel_variance16x16_neon - -unsigned int vp8_sub_pixel_variance16x8_c(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); -#define vp8_sub_pixel_variance16x8 vp8_sub_pixel_variance16x8_c - -unsigned int vp8_sub_pixel_variance4x4_c(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); -#define vp8_sub_pixel_variance4x4 vp8_sub_pixel_variance4x4_c - -unsigned int vp8_sub_pixel_variance8x16_c(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); -#define vp8_sub_pixel_variance8x16 vp8_sub_pixel_variance8x16_c - -unsigned int vp8_sub_pixel_variance8x8_c(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); -unsigned int vp8_sub_pixel_variance8x8_armv6(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); -unsigned int vp8_sub_pixel_variance8x8_neon(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); -#define vp8_sub_pixel_variance8x8 vp8_sub_pixel_variance8x8_neon - -void vp8_subtract_b_c(struct block *be, struct blockd *bd, int pitch); -void vp8_subtract_b_armv6(struct block *be, struct blockd *bd, int pitch); -void vp8_subtract_b_neon(struct block *be, struct blockd *bd, int pitch); -#define vp8_subtract_b vp8_subtract_b_neon - -void vp8_subtract_mbuv_c(short *diff, unsigned char *usrc, unsigned char *vsrc, int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride); -void vp8_subtract_mbuv_armv6(short *diff, unsigned char *usrc, unsigned char *vsrc, int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride); -void vp8_subtract_mbuv_neon(short *diff, unsigned char *usrc, unsigned char *vsrc, int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride); -#define vp8_subtract_mbuv vp8_subtract_mbuv_neon - -void vp8_subtract_mby_c(short *diff, unsigned char *src, int src_stride, unsigned char *pred, int pred_stride); -void vp8_subtract_mby_armv6(short *diff, unsigned char *src, int src_stride, unsigned char *pred, int pred_stride); -void vp8_subtract_mby_neon(short *diff, unsigned char *src, int src_stride, unsigned char *pred, int pred_stride); -#define vp8_subtract_mby vp8_subtract_mby_neon - -unsigned int vp8_variance16x16_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); -unsigned int vp8_variance16x16_armv6(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); -unsigned int vp8_variance16x16_neon(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); -#define vp8_variance16x16 vp8_variance16x16_neon - -unsigned int vp8_variance16x8_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); -unsigned int vp8_variance16x8_neon(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); -#define vp8_variance16x8 vp8_variance16x8_neon - -unsigned int vp8_variance4x4_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); -#define vp8_variance4x4 vp8_variance4x4_c - -unsigned int vp8_variance8x16_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); -unsigned int vp8_variance8x16_neon(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); -#define vp8_variance8x16 vp8_variance8x16_neon - -unsigned int vp8_variance8x8_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); -unsigned int vp8_variance8x8_armv6(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); -unsigned int vp8_variance8x8_neon(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); -#define vp8_variance8x8 vp8_variance8x8_neon - -unsigned int vp8_variance_halfpixvar16x16_h_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); -unsigned int vp8_variance_halfpixvar16x16_h_armv6(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); -unsigned int vp8_variance_halfpixvar16x16_h_neon(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); -#define vp8_variance_halfpixvar16x16_h vp8_variance_halfpixvar16x16_h_neon - -unsigned int vp8_variance_halfpixvar16x16_hv_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); -unsigned int vp8_variance_halfpixvar16x16_hv_armv6(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); -unsigned int vp8_variance_halfpixvar16x16_hv_neon(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); -#define vp8_variance_halfpixvar16x16_hv vp8_variance_halfpixvar16x16_hv_neon - -unsigned int vp8_variance_halfpixvar16x16_v_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); -unsigned int vp8_variance_halfpixvar16x16_v_armv6(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); -unsigned int vp8_variance_halfpixvar16x16_v_neon(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); -#define vp8_variance_halfpixvar16x16_v vp8_variance_halfpixvar16x16_v_neon - -void vp8_yv12_copy_partial_frame_c(struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc); -void vp8_yv12_copy_partial_frame_neon(struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc); -#define vp8_yv12_copy_partial_frame vp8_yv12_copy_partial_frame_neon - -void vp8_rtcd(void); - -#include "vpx_config.h" - -#ifdef RTCD_C -#include "vpx_ports/arm.h" -static void setup_rtcd_internal(void) -{ - int flags = arm_cpu_caps(); - - (void)flags; - -} -#endif - -#ifdef __cplusplus -} // extern "C" -#endif - -#endif diff --git a/source/config/linux/arm-neon-no-asm-offsets/vp9_rtcd.h b/source/config/linux/arm-neon-no-asm-offsets/vp9_rtcd.h deleted file mode 100644 index 9e401dd..0000000 --- a/source/config/linux/arm-neon-no-asm-offsets/vp9_rtcd.h +++ /dev/null @@ -1,715 +0,0 @@ -#ifndef VP9_RTCD_H_ -#define VP9_RTCD_H_ - -#ifdef RTCD_C -#define RTCD_EXTERN -#else -#define RTCD_EXTERN extern -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -/* - * VP9 - */ - -#include "vpx/vpx_integer.h" -#include "vp9/common/vp9_enums.h" - -struct macroblockd; - -/* Encoder forward decls */ -struct macroblock; -struct vp9_variance_vtable; -struct search_site_config; -struct mv; -union int_mv; -struct yv12_buffer_config; - -void vp9_blend_b_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, int v1, int alpha, int stride); -#define vp9_blend_b vp9_blend_b_c - -void vp9_blend_mb_inner_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, int v1, int alpha, int stride); -#define vp9_blend_mb_inner vp9_blend_mb_inner_c - -void vp9_blend_mb_outer_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, int v1, int alpha, int stride); -#define vp9_blend_mb_outer vp9_blend_mb_outer_c - -int64_t vp9_block_error_c(const int16_t *coeff, const int16_t *dqcoeff, intptr_t block_size, int64_t *ssz); -#define vp9_block_error vp9_block_error_c - -void vp9_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h); -void vp9_convolve8_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h); -#define vp9_convolve8 vp9_convolve8_neon - -void vp9_convolve8_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h); -void vp9_convolve8_avg_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h); -#define vp9_convolve8_avg vp9_convolve8_avg_neon - -void vp9_convolve8_avg_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h); -void vp9_convolve8_avg_horiz_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h); -#define vp9_convolve8_avg_horiz vp9_convolve8_avg_horiz_neon - -void vp9_convolve8_avg_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h); -void vp9_convolve8_avg_vert_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h); -#define vp9_convolve8_avg_vert vp9_convolve8_avg_vert_neon - -void vp9_convolve8_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h); -void vp9_convolve8_horiz_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h); -#define vp9_convolve8_horiz vp9_convolve8_horiz_neon - -void vp9_convolve8_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h); -void vp9_convolve8_vert_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h); -#define vp9_convolve8_vert vp9_convolve8_vert_neon - -void vp9_convolve_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h); -void vp9_convolve_avg_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h); -#define vp9_convolve_avg vp9_convolve_avg_neon - -void vp9_convolve_copy_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h); -void vp9_convolve_copy_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h); -#define vp9_convolve_copy vp9_convolve_copy_neon - -void vp9_d117_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_d117_predictor_16x16 vp9_d117_predictor_16x16_c - -void vp9_d117_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_d117_predictor_32x32 vp9_d117_predictor_32x32_c - -void vp9_d117_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_d117_predictor_4x4 vp9_d117_predictor_4x4_c - -void vp9_d117_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_d117_predictor_8x8 vp9_d117_predictor_8x8_c - -void vp9_d135_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_d135_predictor_16x16 vp9_d135_predictor_16x16_c - -void vp9_d135_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_d135_predictor_32x32 vp9_d135_predictor_32x32_c - -void vp9_d135_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_d135_predictor_4x4 vp9_d135_predictor_4x4_c - -void vp9_d135_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_d135_predictor_8x8 vp9_d135_predictor_8x8_c - -void vp9_d153_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_d153_predictor_16x16 vp9_d153_predictor_16x16_c - -void vp9_d153_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_d153_predictor_32x32 vp9_d153_predictor_32x32_c - -void vp9_d153_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_d153_predictor_4x4 vp9_d153_predictor_4x4_c - -void vp9_d153_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_d153_predictor_8x8 vp9_d153_predictor_8x8_c - -void vp9_d207_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_d207_predictor_16x16 vp9_d207_predictor_16x16_c - -void vp9_d207_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_d207_predictor_32x32 vp9_d207_predictor_32x32_c - -void vp9_d207_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_d207_predictor_4x4 vp9_d207_predictor_4x4_c - -void vp9_d207_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_d207_predictor_8x8 vp9_d207_predictor_8x8_c - -void vp9_d45_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_d45_predictor_16x16 vp9_d45_predictor_16x16_c - -void vp9_d45_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_d45_predictor_32x32 vp9_d45_predictor_32x32_c - -void vp9_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_d45_predictor_4x4 vp9_d45_predictor_4x4_c - -void vp9_d45_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_d45_predictor_8x8 vp9_d45_predictor_8x8_c - -void vp9_d63_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_d63_predictor_16x16 vp9_d63_predictor_16x16_c - -void vp9_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_d63_predictor_32x32 vp9_d63_predictor_32x32_c - -void vp9_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_d63_predictor_4x4 vp9_d63_predictor_4x4_c - -void vp9_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_d63_predictor_8x8 vp9_d63_predictor_8x8_c - -void vp9_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_dc_128_predictor_16x16 vp9_dc_128_predictor_16x16_c - -void vp9_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_dc_128_predictor_32x32 vp9_dc_128_predictor_32x32_c - -void vp9_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_dc_128_predictor_4x4 vp9_dc_128_predictor_4x4_c - -void vp9_dc_128_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_dc_128_predictor_8x8 vp9_dc_128_predictor_8x8_c - -void vp9_dc_left_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_dc_left_predictor_16x16 vp9_dc_left_predictor_16x16_c - -void vp9_dc_left_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_dc_left_predictor_32x32 vp9_dc_left_predictor_32x32_c - -void vp9_dc_left_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_dc_left_predictor_4x4 vp9_dc_left_predictor_4x4_c - -void vp9_dc_left_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_dc_left_predictor_8x8 vp9_dc_left_predictor_8x8_c - -void vp9_dc_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_dc_predictor_16x16 vp9_dc_predictor_16x16_c - -void vp9_dc_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_dc_predictor_32x32 vp9_dc_predictor_32x32_c - -void vp9_dc_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_dc_predictor_4x4 vp9_dc_predictor_4x4_c - -void vp9_dc_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_dc_predictor_8x8 vp9_dc_predictor_8x8_c - -void vp9_dc_top_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_dc_top_predictor_16x16 vp9_dc_top_predictor_16x16_c - -void vp9_dc_top_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_dc_top_predictor_32x32 vp9_dc_top_predictor_32x32_c - -void vp9_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_dc_top_predictor_4x4 vp9_dc_top_predictor_4x4_c - -void vp9_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c - -int vp9_diamond_search_sad_c(const struct macroblock *x, const struct search_site_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_per_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv *center_mv); -#define vp9_diamond_search_sad vp9_diamond_search_sad_c - -void vp9_fdct16x16_c(const int16_t *input, int16_t *output, int stride); -#define vp9_fdct16x16 vp9_fdct16x16_c - -void vp9_fdct32x32_c(const int16_t *input, int16_t *output, int stride); -#define vp9_fdct32x32 vp9_fdct32x32_c - -void vp9_fdct32x32_rd_c(const int16_t *input, int16_t *output, int stride); -#define vp9_fdct32x32_rd vp9_fdct32x32_rd_c - -void vp9_fdct4x4_c(const int16_t *input, int16_t *output, int stride); -#define vp9_fdct4x4 vp9_fdct4x4_c - -void vp9_fdct8x8_c(const int16_t *input, int16_t *output, int stride); -#define vp9_fdct8x8 vp9_fdct8x8_c - -void vp9_fht16x16_c(const int16_t *input, int16_t *output, int stride, int tx_type); -#define vp9_fht16x16 vp9_fht16x16_c - -void vp9_fht4x4_c(const int16_t *input, int16_t *output, int stride, int tx_type); -#define vp9_fht4x4 vp9_fht4x4_c - -void vp9_fht8x8_c(const int16_t *input, int16_t *output, int stride, int tx_type); -#define vp9_fht8x8 vp9_fht8x8_c - -int vp9_full_range_search_c(const struct macroblock *x, const struct search_site_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_per_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv *center_mv); -#define vp9_full_range_search vp9_full_range_search_c - -int vp9_full_search_sad_c(const struct macroblock *x, const struct mv *ref_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const struct mv *center_mv, struct mv *best_mv); -#define vp9_full_search_sad vp9_full_search_sad_c - -void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride); -#define vp9_fwht4x4 vp9_fwht4x4_c - -unsigned int vp9_get_mb_ss_c(const int16_t *); -#define vp9_get_mb_ss vp9_get_mb_ss_c - -void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -void vp9_h_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_h_predictor_16x16 vp9_h_predictor_16x16_neon - -void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -void vp9_h_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_h_predictor_32x32 vp9_h_predictor_32x32_neon - -void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -void vp9_h_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_h_predictor_4x4 vp9_h_predictor_4x4_neon - -void vp9_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -void vp9_h_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_h_predictor_8x8 vp9_h_predictor_8x8_neon - -void vp9_idct16x16_10_add_c(const int16_t *input, uint8_t *dest, int dest_stride); -void vp9_idct16x16_10_add_neon(const int16_t *input, uint8_t *dest, int dest_stride); -#define vp9_idct16x16_10_add vp9_idct16x16_10_add_neon - -void vp9_idct16x16_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); -void vp9_idct16x16_1_add_neon(const int16_t *input, uint8_t *dest, int dest_stride); -#define vp9_idct16x16_1_add vp9_idct16x16_1_add_neon - -void vp9_idct16x16_256_add_c(const int16_t *input, uint8_t *dest, int dest_stride); -void vp9_idct16x16_256_add_neon(const int16_t *input, uint8_t *dest, int dest_stride); -#define vp9_idct16x16_256_add vp9_idct16x16_256_add_neon - -void vp9_idct32x32_1024_add_c(const int16_t *input, uint8_t *dest, int dest_stride); -void vp9_idct32x32_1024_add_neon(const int16_t *input, uint8_t *dest, int dest_stride); -#define vp9_idct32x32_1024_add vp9_idct32x32_1024_add_neon - -void vp9_idct32x32_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); -void vp9_idct32x32_1_add_neon(const int16_t *input, uint8_t *dest, int dest_stride); -#define vp9_idct32x32_1_add vp9_idct32x32_1_add_neon - -void vp9_idct32x32_34_add_c(const int16_t *input, uint8_t *dest, int dest_stride); -void vp9_idct32x32_1024_add_neon(const int16_t *input, uint8_t *dest, int dest_stride); -#define vp9_idct32x32_34_add vp9_idct32x32_1024_add_neon - -void vp9_idct4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride); -void vp9_idct4x4_16_add_neon(const int16_t *input, uint8_t *dest, int dest_stride); -#define vp9_idct4x4_16_add vp9_idct4x4_16_add_neon - -void vp9_idct4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); -void vp9_idct4x4_1_add_neon(const int16_t *input, uint8_t *dest, int dest_stride); -#define vp9_idct4x4_1_add vp9_idct4x4_1_add_neon - -void vp9_idct8x8_12_add_c(const int16_t *input, uint8_t *dest, int dest_stride); -void vp9_idct8x8_12_add_neon(const int16_t *input, uint8_t *dest, int dest_stride); -#define vp9_idct8x8_12_add vp9_idct8x8_12_add_neon - -void vp9_idct8x8_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); -void vp9_idct8x8_1_add_neon(const int16_t *input, uint8_t *dest, int dest_stride); -#define vp9_idct8x8_1_add vp9_idct8x8_1_add_neon - -void vp9_idct8x8_64_add_c(const int16_t *input, uint8_t *dest, int dest_stride); -void vp9_idct8x8_64_add_neon(const int16_t *input, uint8_t *dest, int dest_stride); -#define vp9_idct8x8_64_add vp9_idct8x8_64_add_neon - -void vp9_iht16x16_256_add_c(const int16_t *input, uint8_t *output, int pitch, int tx_type); -#define vp9_iht16x16_256_add vp9_iht16x16_256_add_c - -void vp9_iht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride, int tx_type); -void vp9_iht4x4_16_add_neon(const int16_t *input, uint8_t *dest, int dest_stride, int tx_type); -#define vp9_iht4x4_16_add vp9_iht4x4_16_add_neon - -void vp9_iht8x8_64_add_c(const int16_t *input, uint8_t *dest, int dest_stride, int tx_type); -void vp9_iht8x8_64_add_neon(const int16_t *input, uint8_t *dest, int dest_stride, int tx_type); -#define vp9_iht8x8_64_add vp9_iht8x8_64_add_neon - -void vp9_iwht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride); -#define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c - -void vp9_iwht4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); -#define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c - -void vp9_lpf_horizontal_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); -void vp9_lpf_horizontal_16_neon(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); -#define vp9_lpf_horizontal_16 vp9_lpf_horizontal_16_neon - -void vp9_lpf_horizontal_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); -void vp9_lpf_horizontal_4_neon(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); -#define vp9_lpf_horizontal_4 vp9_lpf_horizontal_4_neon - -void vp9_lpf_horizontal_4_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1); -void vp9_lpf_horizontal_4_dual_neon(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1); -#define vp9_lpf_horizontal_4_dual vp9_lpf_horizontal_4_dual_neon - -void vp9_lpf_horizontal_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); -void vp9_lpf_horizontal_8_neon(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); -#define vp9_lpf_horizontal_8 vp9_lpf_horizontal_8_neon - -void vp9_lpf_horizontal_8_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1); -void vp9_lpf_horizontal_8_dual_neon(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1); -#define vp9_lpf_horizontal_8_dual vp9_lpf_horizontal_8_dual_neon - -void vp9_lpf_vertical_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh); -void vp9_lpf_vertical_16_neon(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh); -#define vp9_lpf_vertical_16 vp9_lpf_vertical_16_neon - -void vp9_lpf_vertical_16_dual_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh); -void vp9_lpf_vertical_16_dual_neon(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh); -#define vp9_lpf_vertical_16_dual vp9_lpf_vertical_16_dual_neon - -void vp9_lpf_vertical_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); -void vp9_lpf_vertical_4_neon(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); -#define vp9_lpf_vertical_4 vp9_lpf_vertical_4_neon - -void vp9_lpf_vertical_4_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1); -void vp9_lpf_vertical_4_dual_neon(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1); -#define vp9_lpf_vertical_4_dual vp9_lpf_vertical_4_dual_neon - -void vp9_lpf_vertical_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); -void vp9_lpf_vertical_8_neon(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); -#define vp9_lpf_vertical_8 vp9_lpf_vertical_8_neon - -void vp9_lpf_vertical_8_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1); -void vp9_lpf_vertical_8_dual_neon(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1); -#define vp9_lpf_vertical_8_dual vp9_lpf_vertical_8_dual_neon - -unsigned int vp9_mse16x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); -#define vp9_mse16x16 vp9_mse16x16_c - -unsigned int vp9_mse16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); -#define vp9_mse16x8 vp9_mse16x8_c - -unsigned int vp9_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); -#define vp9_mse8x16 vp9_mse8x16_c - -unsigned int vp9_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); -#define vp9_mse8x8 vp9_mse8x8_c - -void vp9_quantize_b_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan); -#define vp9_quantize_b vp9_quantize_b_c - -void vp9_quantize_b_32x32_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan); -#define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c - -int vp9_refining_search_sad_c(const struct macroblock *x, struct mv *ref_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const struct mv *center_mv); -#define vp9_refining_search_sad vp9_refining_search_sad_c - -unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); -#define vp9_sad16x16 vp9_sad16x16_c - -unsigned int vp9_sad16x16_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad); -#define vp9_sad16x16_avg vp9_sad16x16_avg_c - -void vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); -#define vp9_sad16x16x3 vp9_sad16x16x3_c - -void vp9_sad16x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); -#define vp9_sad16x16x4d vp9_sad16x16x4d_c - -void vp9_sad16x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); -#define vp9_sad16x16x8 vp9_sad16x16x8_c - -unsigned int vp9_sad16x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); -#define vp9_sad16x32 vp9_sad16x32_c - -unsigned int vp9_sad16x32_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad); -#define vp9_sad16x32_avg vp9_sad16x32_avg_c - -void vp9_sad16x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); -#define vp9_sad16x32x4d vp9_sad16x32x4d_c - -unsigned int vp9_sad16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); -#define vp9_sad16x8 vp9_sad16x8_c - -unsigned int vp9_sad16x8_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad); -#define vp9_sad16x8_avg vp9_sad16x8_avg_c - -void vp9_sad16x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); -#define vp9_sad16x8x3 vp9_sad16x8x3_c - -void vp9_sad16x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); -#define vp9_sad16x8x4d vp9_sad16x8x4d_c - -void vp9_sad16x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); -#define vp9_sad16x8x8 vp9_sad16x8x8_c - -unsigned int vp9_sad32x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); -#define vp9_sad32x16 vp9_sad32x16_c - -unsigned int vp9_sad32x16_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad); -#define vp9_sad32x16_avg vp9_sad32x16_avg_c - -void vp9_sad32x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); -#define vp9_sad32x16x4d vp9_sad32x16x4d_c - -unsigned int vp9_sad32x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); -#define vp9_sad32x32 vp9_sad32x32_c - -unsigned int vp9_sad32x32_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad); -#define vp9_sad32x32_avg vp9_sad32x32_avg_c - -void vp9_sad32x32x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); -#define vp9_sad32x32x3 vp9_sad32x32x3_c - -void vp9_sad32x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); -#define vp9_sad32x32x4d vp9_sad32x32x4d_c - -void vp9_sad32x32x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); -#define vp9_sad32x32x8 vp9_sad32x32x8_c - -unsigned int vp9_sad32x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); -#define vp9_sad32x64 vp9_sad32x64_c - -unsigned int vp9_sad32x64_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad); -#define vp9_sad32x64_avg vp9_sad32x64_avg_c - -void vp9_sad32x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); -#define vp9_sad32x64x4d vp9_sad32x64x4d_c - -unsigned int vp9_sad4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); -#define vp9_sad4x4 vp9_sad4x4_c - -unsigned int vp9_sad4x4_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad); -#define vp9_sad4x4_avg vp9_sad4x4_avg_c - -void vp9_sad4x4x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); -#define vp9_sad4x4x3 vp9_sad4x4x3_c - -void vp9_sad4x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); -#define vp9_sad4x4x4d vp9_sad4x4x4d_c - -void vp9_sad4x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); -#define vp9_sad4x4x8 vp9_sad4x4x8_c - -unsigned int vp9_sad4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); -#define vp9_sad4x8 vp9_sad4x8_c - -unsigned int vp9_sad4x8_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad); -#define vp9_sad4x8_avg vp9_sad4x8_avg_c - -void vp9_sad4x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); -#define vp9_sad4x8x4d vp9_sad4x8x4d_c - -void vp9_sad4x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); -#define vp9_sad4x8x8 vp9_sad4x8x8_c - -unsigned int vp9_sad64x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); -#define vp9_sad64x32 vp9_sad64x32_c - -unsigned int vp9_sad64x32_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad); -#define vp9_sad64x32_avg vp9_sad64x32_avg_c - -void vp9_sad64x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); -#define vp9_sad64x32x4d vp9_sad64x32x4d_c - -unsigned int vp9_sad64x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); -#define vp9_sad64x64 vp9_sad64x64_c - -unsigned int vp9_sad64x64_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad); -#define vp9_sad64x64_avg vp9_sad64x64_avg_c - -void vp9_sad64x64x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); -#define vp9_sad64x64x3 vp9_sad64x64x3_c - -void vp9_sad64x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); -#define vp9_sad64x64x4d vp9_sad64x64x4d_c - -void vp9_sad64x64x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); -#define vp9_sad64x64x8 vp9_sad64x64x8_c - -unsigned int vp9_sad8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); -#define vp9_sad8x16 vp9_sad8x16_c - -unsigned int vp9_sad8x16_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad); -#define vp9_sad8x16_avg vp9_sad8x16_avg_c - -void vp9_sad8x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); -#define vp9_sad8x16x3 vp9_sad8x16x3_c - -void vp9_sad8x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); -#define vp9_sad8x16x4d vp9_sad8x16x4d_c - -void vp9_sad8x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); -#define vp9_sad8x16x8 vp9_sad8x16x8_c - -unsigned int vp9_sad8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); -#define vp9_sad8x4 vp9_sad8x4_c - -unsigned int vp9_sad8x4_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad); -#define vp9_sad8x4_avg vp9_sad8x4_avg_c - -void vp9_sad8x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); -#define vp9_sad8x4x4d vp9_sad8x4x4d_c - -void vp9_sad8x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); -#define vp9_sad8x4x8 vp9_sad8x4x8_c - -unsigned int vp9_sad8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); -#define vp9_sad8x8 vp9_sad8x8_c - -unsigned int vp9_sad8x8_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad); -#define vp9_sad8x8_avg vp9_sad8x8_avg_c - -void vp9_sad8x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); -#define vp9_sad8x8x3 vp9_sad8x8x3_c - -void vp9_sad8x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); -#define vp9_sad8x8x4d vp9_sad8x8x4d_c - -void vp9_sad8x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); -#define vp9_sad8x8x8 vp9_sad8x8x8_c - -unsigned int vp9_sub_pixel_avg_variance16x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred); -#define vp9_sub_pixel_avg_variance16x16 vp9_sub_pixel_avg_variance16x16_c - -unsigned int vp9_sub_pixel_avg_variance16x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred); -#define vp9_sub_pixel_avg_variance16x32 vp9_sub_pixel_avg_variance16x32_c - -unsigned int vp9_sub_pixel_avg_variance16x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred); -#define vp9_sub_pixel_avg_variance16x8 vp9_sub_pixel_avg_variance16x8_c - -unsigned int vp9_sub_pixel_avg_variance32x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred); -#define vp9_sub_pixel_avg_variance32x16 vp9_sub_pixel_avg_variance32x16_c - -unsigned int vp9_sub_pixel_avg_variance32x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred); -#define vp9_sub_pixel_avg_variance32x32 vp9_sub_pixel_avg_variance32x32_c - -unsigned int vp9_sub_pixel_avg_variance32x64_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred); -#define vp9_sub_pixel_avg_variance32x64 vp9_sub_pixel_avg_variance32x64_c - -unsigned int vp9_sub_pixel_avg_variance4x4_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred); -#define vp9_sub_pixel_avg_variance4x4 vp9_sub_pixel_avg_variance4x4_c - -unsigned int vp9_sub_pixel_avg_variance4x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred); -#define vp9_sub_pixel_avg_variance4x8 vp9_sub_pixel_avg_variance4x8_c - -unsigned int vp9_sub_pixel_avg_variance64x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred); -#define vp9_sub_pixel_avg_variance64x32 vp9_sub_pixel_avg_variance64x32_c - -unsigned int vp9_sub_pixel_avg_variance64x64_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred); -#define vp9_sub_pixel_avg_variance64x64 vp9_sub_pixel_avg_variance64x64_c - -unsigned int vp9_sub_pixel_avg_variance8x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred); -#define vp9_sub_pixel_avg_variance8x16 vp9_sub_pixel_avg_variance8x16_c - -unsigned int vp9_sub_pixel_avg_variance8x4_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred); -#define vp9_sub_pixel_avg_variance8x4 vp9_sub_pixel_avg_variance8x4_c - -unsigned int vp9_sub_pixel_avg_variance8x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred); -#define vp9_sub_pixel_avg_variance8x8 vp9_sub_pixel_avg_variance8x8_c - -unsigned int vp9_sub_pixel_variance16x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); -#define vp9_sub_pixel_variance16x16 vp9_sub_pixel_variance16x16_c - -unsigned int vp9_sub_pixel_variance16x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); -#define vp9_sub_pixel_variance16x32 vp9_sub_pixel_variance16x32_c - -unsigned int vp9_sub_pixel_variance16x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); -#define vp9_sub_pixel_variance16x8 vp9_sub_pixel_variance16x8_c - -unsigned int vp9_sub_pixel_variance32x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); -#define vp9_sub_pixel_variance32x16 vp9_sub_pixel_variance32x16_c - -unsigned int vp9_sub_pixel_variance32x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); -#define vp9_sub_pixel_variance32x32 vp9_sub_pixel_variance32x32_c - -unsigned int vp9_sub_pixel_variance32x64_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); -#define vp9_sub_pixel_variance32x64 vp9_sub_pixel_variance32x64_c - -unsigned int vp9_sub_pixel_variance4x4_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); -#define vp9_sub_pixel_variance4x4 vp9_sub_pixel_variance4x4_c - -unsigned int vp9_sub_pixel_variance4x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); -#define vp9_sub_pixel_variance4x8 vp9_sub_pixel_variance4x8_c - -unsigned int vp9_sub_pixel_variance64x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); -#define vp9_sub_pixel_variance64x32 vp9_sub_pixel_variance64x32_c - -unsigned int vp9_sub_pixel_variance64x64_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); -#define vp9_sub_pixel_variance64x64 vp9_sub_pixel_variance64x64_c - -unsigned int vp9_sub_pixel_variance8x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); -#define vp9_sub_pixel_variance8x16 vp9_sub_pixel_variance8x16_c - -unsigned int vp9_sub_pixel_variance8x4_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); -#define vp9_sub_pixel_variance8x4 vp9_sub_pixel_variance8x4_c - -unsigned int vp9_sub_pixel_variance8x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); -#define vp9_sub_pixel_variance8x8 vp9_sub_pixel_variance8x8_c - -void vp9_subtract_block_c(int rows, int cols, int16_t *diff_ptr, ptrdiff_t diff_stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_t *pred_ptr, ptrdiff_t pred_stride); -#define vp9_subtract_block vp9_subtract_block_c - -void vp9_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t *frame2, unsigned int block_size, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count); -#define vp9_temporal_filter_apply vp9_temporal_filter_apply_c - -void vp9_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -void vp9_tm_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_tm_predictor_16x16 vp9_tm_predictor_16x16_neon - -void vp9_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -void vp9_tm_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_tm_predictor_32x32 vp9_tm_predictor_32x32_neon - -void vp9_tm_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -void vp9_tm_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_tm_predictor_4x4 vp9_tm_predictor_4x4_neon - -void vp9_tm_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -void vp9_tm_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_tm_predictor_8x8 vp9_tm_predictor_8x8_neon - -void vp9_v_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -void vp9_v_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_v_predictor_16x16 vp9_v_predictor_16x16_neon - -void vp9_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -void vp9_v_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_v_predictor_32x32 vp9_v_predictor_32x32_neon - -void vp9_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -void vp9_v_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_v_predictor_4x4 vp9_v_predictor_4x4_neon - -void vp9_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -void vp9_v_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); -#define vp9_v_predictor_8x8 vp9_v_predictor_8x8_neon - -unsigned int vp9_variance16x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); -#define vp9_variance16x16 vp9_variance16x16_c - -unsigned int vp9_variance16x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); -#define vp9_variance16x32 vp9_variance16x32_c - -unsigned int vp9_variance16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); -#define vp9_variance16x8 vp9_variance16x8_c - -unsigned int vp9_variance32x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); -#define vp9_variance32x16 vp9_variance32x16_c - -unsigned int vp9_variance32x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); -#define vp9_variance32x32 vp9_variance32x32_c - -unsigned int vp9_variance32x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); -#define vp9_variance32x64 vp9_variance32x64_c - -unsigned int vp9_variance4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); -#define vp9_variance4x4 vp9_variance4x4_c - -unsigned int vp9_variance4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); -#define vp9_variance4x8 vp9_variance4x8_c - -unsigned int vp9_variance64x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); -#define vp9_variance64x32 vp9_variance64x32_c - -unsigned int vp9_variance64x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); -#define vp9_variance64x64 vp9_variance64x64_c - -unsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); -#define vp9_variance8x16 vp9_variance8x16_c - -unsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); -#define vp9_variance8x4 vp9_variance8x4_c - -unsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); -#define vp9_variance8x8 vp9_variance8x8_c - -void vp9_rtcd(void); - -#include "vpx_config.h" - -#ifdef RTCD_C -#include "vpx_ports/arm.h" -static void setup_rtcd_internal(void) -{ - int flags = arm_cpu_caps(); - - (void)flags; - -} -#endif - -#ifdef __cplusplus -} // extern "C" -#endif - -#endif diff --git a/source/config/linux/arm-neon-no-asm-offsets/vpx_config.asm b/source/config/linux/arm-neon-no-asm-offsets/vpx_config.asm deleted file mode 100644 index 190cceb..0000000 --- a/source/config/linux/arm-neon-no-asm-offsets/vpx_config.asm +++ /dev/null @@ -1,84 +0,0 @@ -@ This file was created from a .asm file -@ using the ads2gas.pl script. - .equ DO1STROUNDING, 0 -.equ ARCH_ARM , 1 -.equ ARCH_MIPS , 0 -.equ ARCH_X86 , 0 -.equ ARCH_X86_64 , 0 -.equ ARCH_PPC32 , 0 -.equ ARCH_PPC64 , 0 -.equ HAVE_EDSP , 0 -.equ HAVE_MEDIA , 1 -.equ HAVE_NEON , 1 -.equ HAVE_NEON_ASM , 1 -.equ HAVE_MIPS32 , 0 -.equ HAVE_DSPR2 , 0 -.equ HAVE_MMX , 0 -.equ HAVE_SSE , 0 -.equ HAVE_SSE2 , 0 -.equ HAVE_SSE3 , 0 -.equ HAVE_SSSE3 , 0 -.equ HAVE_SSE4_1 , 0 -.equ HAVE_AVX , 0 -.equ HAVE_AVX2 , 0 -.equ HAVE_ALTIVEC , 0 -.equ HAVE_VPX_PORTS , 1 -.equ HAVE_STDINT_H , 1 -.equ HAVE_ALT_TREE_LAYOUT , 0 -.equ HAVE_PTHREAD_H , 1 -.equ HAVE_SYS_MMAN_H , 1 -.equ HAVE_UNISTD_H , 1 -.equ CONFIG_EXTERNAL_BUILD , 1 -.equ CONFIG_INSTALL_DOCS , 0 -.equ CONFIG_INSTALL_BINS , 1 -.equ CONFIG_INSTALL_LIBS , 1 -.equ CONFIG_INSTALL_SRCS , 0 -.equ CONFIG_USE_X86INC , 1 -.equ CONFIG_DEBUG , 0 -.equ CONFIG_GPROF , 0 -.equ CONFIG_GCOV , 0 -.equ CONFIG_RVCT , 0 -.equ CONFIG_GCC , 1 -.equ CONFIG_MSVS , 0 -.equ CONFIG_PIC , 1 -.equ CONFIG_BIG_ENDIAN , 0 -.equ CONFIG_CODEC_SRCS , 0 -.equ CONFIG_DEBUG_LIBS , 0 -.equ CONFIG_FAST_UNALIGNED , 1 -.equ CONFIG_MEM_MANAGER , 0 -.equ CONFIG_MEM_TRACKER , 0 -.equ CONFIG_MEM_CHECKS , 0 -.equ CONFIG_DEQUANT_TOKENS , 0 -.equ CONFIG_DC_RECON , 0 -.equ CONFIG_RUNTIME_CPU_DETECT , 0 -.equ CONFIG_POSTPROC , 1 -.equ CONFIG_VP9_POSTPROC , 0 -.equ CONFIG_MULTITHREAD , 1 -.equ CONFIG_INTERNAL_STATS , 0 -.equ CONFIG_VP8_ENCODER , 1 -.equ CONFIG_VP8_DECODER , 1 -.equ CONFIG_VP9_ENCODER , 1 -.equ CONFIG_VP9_DECODER , 1 -.equ CONFIG_VP8 , 1 -.equ CONFIG_VP9 , 1 -.equ CONFIG_ENCODERS , 1 -.equ CONFIG_DECODERS , 1 -.equ CONFIG_STATIC_MSVCRT , 0 -.equ CONFIG_SPATIAL_RESAMPLING , 1 -.equ CONFIG_REALTIME_ONLY , 1 -.equ CONFIG_ONTHEFLY_BITPACKING , 0 -.equ CONFIG_ERROR_CONCEALMENT , 0 -.equ CONFIG_SHARED , 0 -.equ CONFIG_STATIC , 1 -.equ CONFIG_SMALL , 0 -.equ CONFIG_POSTPROC_VISUALIZER , 0 -.equ CONFIG_OS_SUPPORT , 1 -.equ CONFIG_UNIT_TESTS , 0 -.equ CONFIG_WEBM_IO , 1 -.equ CONFIG_DECODE_PERF_TESTS , 0 -.equ CONFIG_MULTI_RES_ENCODING , 1 -.equ CONFIG_TEMPORAL_DENOISING , 1 -.equ CONFIG_EXPERIMENTAL , 0 -.equ CONFIG_MULTIPLE_ARF , 0 -.equ CONFIG_ALPHA , 0 - .section .note.GNU-stack,"",%progbits diff --git a/source/config/linux/arm-neon-no-asm-offsets/vpx_config.c b/source/config/linux/arm-neon-no-asm-offsets/vpx_config.c deleted file mode 100644 index c61708d..0000000 --- a/source/config/linux/arm-neon-no-asm-offsets/vpx_config.c +++ /dev/null @@ -1,9 +0,0 @@ -/* Copyright (c) 2011 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. */ -static const char* const cfg = "--target=armv7-linux-gcc --enable-pic --enable-realtime-only --disable-edsp --enable-external-build --enable-postproc --disable-install-srcs --enable-multi-res-encoding --enable-temporal-denoising --disable-unit-tests --disable-install-docs --disable-examples --disable-avx2"; -const char *vpx_codec_build_config(void) {return cfg;} diff --git a/source/config/linux/arm-neon-no-asm-offsets/vpx_config.h b/source/config/linux/arm-neon-no-asm-offsets/vpx_config.h deleted file mode 100644 index 97710cf..0000000 --- a/source/config/linux/arm-neon-no-asm-offsets/vpx_config.h +++ /dev/null @@ -1,93 +0,0 @@ -/* Copyright (c) 2011 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. */ -/* This file automatically generated by configure. Do not edit! */ -#ifndef VPX_CONFIG_H -#define VPX_CONFIG_H -#define RESTRICT -#define INLINE __inline__ __attribute__((always_inline)) -#define ARCH_ARM 1 -#define ARCH_MIPS 0 -#define ARCH_X86 0 -#define ARCH_X86_64 0 -#define ARCH_PPC32 0 -#define ARCH_PPC64 0 -#define HAVE_EDSP 0 -#define HAVE_MEDIA 1 -#define HAVE_NEON 1 -#define HAVE_NEON_ASM 1 -#define HAVE_MIPS32 0 -#define HAVE_DSPR2 0 -#define HAVE_MMX 0 -#define HAVE_SSE 0 -#define HAVE_SSE2 0 -#define HAVE_SSE3 0 -#define HAVE_SSSE3 0 -#define HAVE_SSE4_1 0 -#define HAVE_AVX 0 -#define HAVE_AVX2 0 -#define HAVE_ALTIVEC 0 -#define HAVE_VPX_PORTS 1 -#define HAVE_STDINT_H 1 -#define HAVE_ALT_TREE_LAYOUT 0 -#define HAVE_PTHREAD_H 1 -#define HAVE_SYS_MMAN_H 1 -#define HAVE_UNISTD_H 1 -#define CONFIG_EXTERNAL_BUILD 1 -#define CONFIG_INSTALL_DOCS 0 -#define CONFIG_INSTALL_BINS 1 -#define CONFIG_INSTALL_LIBS 1 -#define CONFIG_INSTALL_SRCS 0 -#define CONFIG_USE_X86INC 1 -#define CONFIG_DEBUG 0 -#define CONFIG_GPROF 0 -#define CONFIG_GCOV 0 -#define CONFIG_RVCT 0 -#define CONFIG_GCC 1 -#define CONFIG_MSVS 0 -#define CONFIG_PIC 1 -#define CONFIG_BIG_ENDIAN 0 -#define CONFIG_CODEC_SRCS 0 -#define CONFIG_DEBUG_LIBS 0 -#define CONFIG_FAST_UNALIGNED 1 -#define CONFIG_MEM_MANAGER 0 -#define CONFIG_MEM_TRACKER 0 -#define CONFIG_MEM_CHECKS 0 -#define CONFIG_DEQUANT_TOKENS 0 -#define CONFIG_DC_RECON 0 -#define CONFIG_RUNTIME_CPU_DETECT 0 -#define CONFIG_POSTPROC 1 -#define CONFIG_VP9_POSTPROC 0 -#define CONFIG_MULTITHREAD 1 -#define CONFIG_INTERNAL_STATS 0 -#define CONFIG_VP8_ENCODER 1 -#define CONFIG_VP8_DECODER 1 -#define CONFIG_VP9_ENCODER 1 -#define CONFIG_VP9_DECODER 1 -#define CONFIG_VP8 1 -#define CONFIG_VP9 1 -#define CONFIG_ENCODERS 1 -#define CONFIG_DECODERS 1 -#define CONFIG_STATIC_MSVCRT 0 -#define CONFIG_SPATIAL_RESAMPLING 1 -#define CONFIG_REALTIME_ONLY 1 -#define CONFIG_ONTHEFLY_BITPACKING 0 -#define CONFIG_ERROR_CONCEALMENT 0 -#define CONFIG_SHARED 0 -#define CONFIG_STATIC 1 -#define CONFIG_SMALL 0 -#define CONFIG_POSTPROC_VISUALIZER 0 -#define CONFIG_OS_SUPPORT 1 -#define CONFIG_UNIT_TESTS 0 -#define CONFIG_WEBM_IO 1 -#define CONFIG_DECODE_PERF_TESTS 0 -#define CONFIG_MULTI_RES_ENCODING 1 -#define CONFIG_TEMPORAL_DENOISING 1 -#define CONFIG_EXPERIMENTAL 0 -#define CONFIG_MULTIPLE_ARF 0 -#define CONFIG_ALPHA 0 -#endif /* VPX_CONFIG_H */ diff --git a/source/config/linux/arm-neon-no-asm-offsets/vpx_scale_rtcd.h b/source/config/linux/arm-neon-no-asm-offsets/vpx_scale_rtcd.h deleted file mode 100644 index 0a6d790..0000000 --- a/source/config/linux/arm-neon-no-asm-offsets/vpx_scale_rtcd.h +++ /dev/null @@ -1,71 +0,0 @@ -#ifndef VPX_SCALE_RTCD_H_ -#define VPX_SCALE_RTCD_H_ - -#ifdef RTCD_C -#define RTCD_EXTERN -#else -#define RTCD_EXTERN extern -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -struct yv12_buffer_config; - -void vp8_horizontal_line_2_1_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width); -#define vp8_horizontal_line_2_1_scale vp8_horizontal_line_2_1_scale_c - -void vp8_horizontal_line_5_3_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width); -#define vp8_horizontal_line_5_3_scale vp8_horizontal_line_5_3_scale_c - -void vp8_horizontal_line_5_4_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width); -#define vp8_horizontal_line_5_4_scale vp8_horizontal_line_5_4_scale_c - -void vp8_vertical_band_2_1_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width); -#define vp8_vertical_band_2_1_scale vp8_vertical_band_2_1_scale_c - -void vp8_vertical_band_2_1_scale_i_c(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width); -#define vp8_vertical_band_2_1_scale_i vp8_vertical_band_2_1_scale_i_c - -void vp8_vertical_band_5_3_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width); -#define vp8_vertical_band_5_3_scale vp8_vertical_band_5_3_scale_c - -void vp8_vertical_band_5_4_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width); -#define vp8_vertical_band_5_4_scale vp8_vertical_band_5_4_scale_c - -void vp8_yv12_copy_frame_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc); -#define vp8_yv12_copy_frame vp8_yv12_copy_frame_c - -void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf); -#define vp8_yv12_extend_frame_borders vp8_yv12_extend_frame_borders_c - -void vp9_extend_frame_borders_c(struct yv12_buffer_config *ybf); -#define vp9_extend_frame_borders vp9_extend_frame_borders_c - -void vp9_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf); -#define vp9_extend_frame_inner_borders vp9_extend_frame_inner_borders_c - -void vpx_yv12_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc); -#define vpx_yv12_copy_y vpx_yv12_copy_y_c - -void vpx_scale_rtcd(void); - -#include "vpx_config.h" - -#ifdef RTCD_C -#include "vpx_ports/arm.h" -static void setup_rtcd_internal(void) -{ - int flags = arm_cpu_caps(); - - (void)flags; - -} -#endif - -#ifdef __cplusplus -} // extern "C" -#endif - -#endif diff --git a/source/libvpx/build/make/rtcd.pl b/source/libvpx/build/make/rtcd.pl index 95163d2..f5f59b1 100755 --- a/source/libvpx/build/make/rtcd.pl +++ b/source/libvpx/build/make/rtcd.pl @@ -49,7 +49,7 @@ open CONFIG_FILE, $opts{config} or my %config = (); while (<CONFIG_FILE>) { - next if !/^(HAVE|CONFIG)_/; + next if !/^CONFIG_/; chomp; my @pair = split /=/; $config{$pair[0]} = $pair[1]; diff --git a/source/libvpx/vpx_scale/vpx_scale.mk b/source/libvpx/vpx_scale/vpx_scale.mk index 6123cff..95e7483 100644 --- a/source/libvpx/vpx_scale/vpx_scale.mk +++ b/source/libvpx/vpx_scale/vpx_scale.mk @@ -10,13 +10,10 @@ SCALE_SRCS-yes += vpx_scale_rtcd.c SCALE_SRCS-yes += vpx_scale_rtcd.pl #neon -# Hack. Check ESDP for no asm offsets. -ifeq ($(HAVE_EDSP),yes) - SCALE_SRCS-$(HAVE_NEON_ASM) += arm/neon/vp8_vpxyv12_copyframe_func_neon$(ASM) - SCALE_SRCS-$(HAVE_NEON_ASM) += arm/neon/vp8_vpxyv12_copysrcframe_func_neon$(ASM) - SCALE_SRCS-$(HAVE_NEON_ASM) += arm/neon/vp8_vpxyv12_extendframeborders_neon$(ASM) - SCALE_SRCS-$(HAVE_NEON_ASM) += arm/neon/yv12extend_arm.c -endif +SCALE_SRCS-$(HAVE_NEON_ASM) += arm/neon/vp8_vpxyv12_copyframe_func_neon$(ASM) +SCALE_SRCS-$(HAVE_NEON_ASM) += arm/neon/vp8_vpxyv12_copysrcframe_func_neon$(ASM) +SCALE_SRCS-$(HAVE_NEON_ASM) += arm/neon/vp8_vpxyv12_extendframeborders_neon$(ASM) +SCALE_SRCS-$(HAVE_NEON_ASM) += arm/neon/yv12extend_arm.c #mips(dspr2) SCALE_SRCS-$(HAVE_DSPR2) += mips/dspr2/yv12extend_dspr2.c diff --git a/source/libvpx/vpx_scale/vpx_scale_rtcd.pl b/source/libvpx/vpx_scale/vpx_scale_rtcd.pl index fa8fac0..2e3f1ff 100644 --- a/source/libvpx/vpx_scale/vpx_scale_rtcd.pl +++ b/source/libvpx/vpx_scale/vpx_scale_rtcd.pl @@ -5,13 +5,6 @@ EOF } forward_decls qw/vpx_scale_forward_decls/; -# Hack. Check ESDP for no asm offsets. -if (vpx_config("HAVE_EDSP") eq "yes") { - $neon_asminc = 'neon_asm'; -} else { - $neon_asminc = ''; -} - # Scaler functions if (vpx_config("CONFIG_SPATIAL_RESAMPLING") eq "yes") { add_proto qw/void vp8_horizontal_line_5_4_scale/, "const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width"; @@ -24,15 +17,12 @@ if (vpx_config("CONFIG_SPATIAL_RESAMPLING") eq "yes") { } add_proto qw/void vp8_yv12_extend_frame_borders/, "struct yv12_buffer_config *ybf"; -specialize qw/vp8_yv12_extend_frame_borders/, "$neon_asminc"; -if (vpx_config("HAVE_EDSP") eq "yes") { - $vp8_yv12_extend_frame_borders_neon_asm=vp8_yv12_extend_frame_borders_neon; -} +specialize qw/vp8_yv12_extend_frame_borders neon_asm/; +$vp8_yv12_extend_frame_borders_neon_asm=vp8_yv12_extend_frame_borders_neon; + add_proto qw/void vp8_yv12_copy_frame/, "const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc"; -specialize qw/vp8_yv12_copy_frame/, "$neon_asminc"; -if (vpx_config("HAVE_EDSP") eq "yes") { - $vp8_yv12_copy_frame_neon_asm=vp8_yv12_copy_frame_neon; -} +specialize qw/vp8_yv12_copy_frame neon_asm/; +$vp8_yv12_copy_frame_neon_asm=vp8_yv12_copy_frame_neon; add_proto qw/void vpx_yv12_copy_y/, "const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc"; diff --git a/unpack_lib_posix.gypi b/unpack_lib_posix.gypi index 3d71b3c..f26ea13 100644 --- a/unpack_lib_posix.gypi +++ b/unpack_lib_posix.gypi @@ -4,13 +4,10 @@ # This action takes an archive (.a) file and unpacks it unto object (.o) files. # The following input gyp variables are required: -# unpack_lib, the library to unpack. -# object_file_output_dir, the output directory of extracted object file. -# object_file_to_extract, the object file to be extracted. +# unpack_lib_output_dir, the output directory of extracted object file +# unpack_lib_name, the object file to be extracted. # unpack_lib_search_path_list, a list of paths to search for the library. # it must be ['-a', 'path_name1', '-a', 'path_name2'...] -# TODO(fgalligan): Change unpack_lib_posix.sh to expect only one input -# library to unpack. # # For example: # 'variables': { @@ -18,8 +15,8 @@ # '-a', '/a/lib.a', # '-a', 'b/lib.a', # ], -# 'object_file_output_dir':'output', -# 'object_file_to_extract':'offsets.o' +# 'unpack_lib_output_dir':'ouput', +# 'unpack_lib_name':'offsets.o' # }, # 'includes': ['unpack_lib_posix.gypi'], # @@ -31,7 +28,7 @@ { 'variables' : { 'ar_cmd': [], - 'conditions': [ + 'conditions': [ ['android_webview_build==1', { 'ar_cmd': ['-r', '$(abspath $($(gyp_var_prefix)TARGET_AR))'], }], @@ -40,15 +37,14 @@ 'action_name': 'unpack_lib_posix', 'inputs': [ 'unpack_lib_posix.sh', - '<(unpack_lib)', ], 'outputs': [ - '<(object_file_output_dir)/<(object_file_to_extract)', + '<(unpack_lib_output_dir)/<(unpack_lib_name)', ], 'action': [ '<(DEPTH)/third_party/libvpx/unpack_lib_posix.sh', - '-d', '<(object_file_output_dir)', - '-f', '<(object_file_to_extract)', + '-d', '<(unpack_lib_output_dir)', + '-f', '<(unpack_lib_name)', '<@(unpack_lib_search_path_list)', '<@(ar_cmd)', ], |