Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/abseil-cpp/absl/base/internal/sysinfo.cc b/abseil-cpp/absl/base/internal/sysinfo.cc
- index 4dd3adda46e..950a2a37b06 100644
- --- a/abseil-cpp/absl/base/internal/sysinfo.cc
- +++ b/abseil-cpp/absl/base/internal/sysinfo.cc
- @@ -76,6 +76,7 @@ static int GetNumCPUs() {
- #if defined(_WIN32)
- static double GetNominalCPUFrequency() {
- +#ifndef WINUWP
- DWORD data;
- DWORD data_size = sizeof(data);
- #pragma comment(lib, "shlwapi.lib") // For SHGetValue().
- @@ -85,6 +86,7 @@ static double GetNominalCPUFrequency() {
- "~MHz", nullptr, &data, &data_size))) {
- return data * 1e6; // Value is MHz.
- }
- +#endif // WINUWP
- return 1.0;
- }
- diff --git a/abseil-cpp/absl/debugging/internal/stacktrace_config.h b/abseil-cpp/absl/debugging/internal/stacktrace_config.h
- index d4e8480a8e2..c9ee82fe55d 100644
- --- a/abseil-cpp/absl/debugging/internal/stacktrace_config.h
- +++ b/abseil-cpp/absl/debugging/internal/stacktrace_config.h
- @@ -24,7 +24,7 @@
- #if defined(ABSL_STACKTRACE_INL_HEADER)
- #error ABSL_STACKTRACE_INL_HEADER cannot be directly set
- -#elif defined(_WIN32)
- +#elif defined(_WIN32) && !defined(WINUWP)
- #define ABSL_STACKTRACE_INL_HEADER \
- "absl/debugging/internal/stacktrace_win32-inl.inc"
- diff --git a/abseil-cpp/absl/debugging/symbolize.cc b/abseil-cpp/absl/debugging/symbolize.cc
- index 24e3a7f0a0e..43b71f7a864 100644
- --- a/abseil-cpp/absl/debugging/symbolize.cc
- +++ b/abseil-cpp/absl/debugging/symbolize.cc
- @@ -16,7 +16,7 @@
- #if defined(ABSL_INTERNAL_HAVE_ELF_SYMBOLIZE)
- #include "absl/debugging/symbolize_elf.inc"
- -#elif defined(_WIN32) && defined(_DEBUG)
- +#elif defined(_WIN32) && defined(_DEBUG) && !defined(WINUWP)
- // The Windows Symbolizer only works in debug mode. Note that _DEBUG
- // is the macro that defines whether or not MS C-Runtime debug info is
- // available. Note that the PDB files containing the debug info must
- diff --git a/boringssl/BUILD.gn b/boringssl/BUILD.gn
- index 051b3ed07fa..088d0f51ef9 100644
- --- a/boringssl/BUILD.gn
- +++ b/boringssl/BUILD.gn
- @@ -46,9 +46,10 @@ config("no_asm_config") {
- all_sources = crypto_sources + ssl_sources
- all_headers = crypto_headers + ssl_headers
- -# Windows' assembly is built with NASM. The other platforms use the platform
- -# assembler. Exclude Windows ARM64 because NASM targets x86 and x64 only.
- -if (is_win && !is_msan && current_cpu != "arm64") {
- +# Windows' assembly is built with Yasm. The other platforms use the platform
- +# assembler.
- +if (is_win && !is_msan && (current_cpu != "arm") && (current_cpu != "arm64") &&
- + (!((current_os == "winuwp") && (current_cpu == "x64")))) {
- import("//third_party/nasm/nasm_assemble.gni")
- nasm_assemble("boringssl_asm") {
- if (current_cpu == "x64") {
- @@ -130,6 +131,10 @@ component("boringssl") {
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- + if (current_os == "winuwp") {
- + deps += [ "//third_party/winuwp_compat:force_include_all" ]
- + }
- +
- if (is_nacl) {
- deps += [ "//native_client_sdk/src/libraries/nacl_io" ]
- }
- @@ -225,6 +230,12 @@ if (build_with_chromium) {
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- + if (current_os == "winuwp") {
- + deps += [ "//third_party/winuwp_compat:force_include_std" ]
- + sources -= ["src/crypto/rand/windows.c"]
- + sources += ["//third_party/winuwp_compat/boringssl/src/crypto/rand/windows.c"]
- + }
- +
- if (is_nacl) {
- deps += [ "//native_client_sdk/src/libraries/nacl_io" ]
- }
- @@ -295,6 +306,12 @@ if (build_with_chromium) {
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- + if (current_os == "winuwp") {
- + deps += [ "//third_party/winuwp_compat:force_include_std" ]
- + sources -= ["src/crypto/rand/windows.c"]
- + sources += ["//third_party/winuwp_compat/boringssl/src/crypto/rand/windows.c"]
- + }
- +
- if (is_nacl) {
- deps += [ "//native_client_sdk/src/libraries/nacl_io" ]
- }
- diff --git a/expat/files/lib/xmlparse.c b/expat/files/lib/xmlparse.c
- index eaefb6f4763..bd355a6fd0e 100644
- --- a/expat/files/lib/xmlparse.c
- +++ b/expat/files/lib/xmlparse.c
- @@ -2079,6 +2079,8 @@ XML_GetBuffer(XML_Parser parser, int len)
- }
- parser->m_bufferLim = newBuf + bufferSize;
- #ifdef XML_CONTEXT_BYTES
- +//Disable Declaration of 'keep' hides previous local declaration
- +//#pragma warning (disable: 4456)
- if (parser->m_bufferPtr) {
- int keep = (int)EXPAT_SAFE_PTR_DIFF(parser->m_bufferPtr, parser->m_buffer);
- if (keep > XML_CONTEXT_BYTES)
- @@ -4976,6 +4978,8 @@ doProlog(XML_Parser parser,
- }
- break;
- #endif /* XML_DTD */
- +//Disable Declaration of 'temp' hides previous local declaration
- +#pragma warning (disable: 4456)
- case XML_ROLE_GROUP_OPEN:
- if (parser->m_prologState.level >= parser->m_groupSize) {
- if (parser->m_groupSize) {
- diff --git a/jsoncpp/overrides/src/lib_json/json_reader.cpp b/jsoncpp/overrides/src/lib_json/json_reader.cpp
- index f8cfad70510..20ce24fdac8 100644
- --- a/jsoncpp/overrides/src/lib_json/json_reader.cpp
- +++ b/jsoncpp/overrides/src/lib_json/json_reader.cpp
- @@ -110,6 +110,11 @@ Reader::Reader( const Features &features )
- }
- +Reader::~Reader()
- +{
- +}
- +
- +
- bool
- Reader::parse( const std::string &document,
- Value &root,
- diff --git a/libvpx/BUILD.gn b/libvpx/BUILD.gn
- index cabd7ee2b1a..8ac33b128d5 100644
- --- a/libvpx/BUILD.gn
- +++ b/libvpx/BUILD.gn
- @@ -48,6 +48,8 @@ if (is_nacl) {
- } else if (is_posix || is_fuchsia) {
- # Should cover linux, fuchsia, mac, and the ios simulator.
- os_category = "linux"
- + } else if (current_os == "winuwp") {
- + os_category = "win"
- } else { # This should only match windows.
- os_category = current_os
- }
- @@ -128,6 +130,10 @@ if (current_cpu == "x86" || (current_cpu == "x64" && !is_msan)) {
- source_set("libvpx_intrinsics_mmx") {
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- + if (!is_debug && is_win) {
- + configs -= [ "//build/config/compiler:default_optimization" ]
- + configs += [ "//build/config/compiler:optimize_max" ]
- + }
- configs += [ ":libvpx_config" ]
- if (!is_win) {
- cflags = [ "-mmmx" ]
- @@ -142,6 +148,10 @@ if (current_cpu == "x86" || (current_cpu == "x64" && !is_msan)) {
- source_set("libvpx_intrinsics_sse2") {
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- + if (!is_debug && is_win) {
- + configs -= [ "//build/config/compiler:default_optimization" ]
- + configs += [ "//build/config/compiler:optimize_max" ]
- + }
- configs += [ ":libvpx_config" ]
- if (!is_win || is_clang) {
- cflags = [ "-msse2" ]
- @@ -156,6 +166,10 @@ if (current_cpu == "x86" || (current_cpu == "x64" && !is_msan)) {
- source_set("libvpx_intrinsics_ssse3") {
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- + if (!is_debug && is_win) {
- + configs -= [ "//build/config/compiler:default_optimization" ]
- + configs += [ "//build/config/compiler:optimize_max" ]
- + }
- configs += [ ":libvpx_config" ]
- if (!is_win || is_clang) {
- cflags = [ "-mssse3" ]
- @@ -170,6 +184,10 @@ if (current_cpu == "x86" || (current_cpu == "x64" && !is_msan)) {
- source_set("libvpx_intrinsics_sse4_1") {
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- + if (!is_debug && is_win) {
- + configs -= [ "//build/config/compiler:default_optimization" ]
- + configs += [ "//build/config/compiler:optimize_max" ]
- + }
- configs += [ ":libvpx_config" ]
- if (!is_win || is_clang) {
- cflags = [ "-msse4.1" ]
- @@ -184,6 +202,10 @@ if (current_cpu == "x86" || (current_cpu == "x64" && !is_msan)) {
- source_set("libvpx_intrinsics_avx") {
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- + if (!is_debug && is_win) {
- + configs -= [ "//build/config/compiler:default_optimization" ]
- + configs += [ "//build/config/compiler:optimize_max" ]
- + }
- configs += [ ":libvpx_config" ]
- if (is_win) {
- cflags = [ "/arch:AVX" ]
- @@ -200,6 +222,10 @@ if (current_cpu == "x86" || (current_cpu == "x64" && !is_msan)) {
- source_set("libvpx_intrinsics_avx2") {
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- + if (!is_debug && is_win) {
- + configs -= [ "//build/config/compiler:default_optimization" ]
- + configs += [ "//build/config/compiler:optimize_max" ]
- + }
- configs += [ ":libvpx_config" ]
- if (is_win) {
- cflags = [ "/arch:AVX2" ]
- @@ -216,6 +242,10 @@ if (current_cpu == "x86" || (current_cpu == "x64" && !is_msan)) {
- source_set("libvpx_intrinsics_avx512") {
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- + if (!is_debug && is_win) {
- + configs -= [ "//build/config/compiler:default_optimization" ]
- + configs += [ "//build/config/compiler:optimize_max" ]
- + }
- configs += [ ":libvpx_config" ]
- if (is_win) {
- # clang-cl does not accept this flag.
- @@ -275,7 +305,7 @@ if (current_cpu == "arm" && arm_assembly_sources != []) {
- "//third_party/libvpx/source/libvpx/build/make/ads2gas_apple.pl"
- } else {
- ads2gas_script =
- - "//third_party/libvpx/source/libvpx/build/make/ads2gas.pl"
- + "//third_party/libvpx/source/libvpx/build/make/ads2armasm_ms.pl"
- }
- args = [
- "-s",
- diff --git a/libvpx/armasm_ms.config b/libvpx/armasm_ms.config
- new file mode 100644
- index 00000000000..a0c4806d19c
- --- /dev/null
- +++ b/libvpx/armasm_ms.config
- @@ -0,0 +1 @@
- +-oldit
- diff --git a/libvpx/source/config/win/arm-neon/vp8_rtcd.h b/libvpx/source/config/win/arm-neon/vp8_rtcd.h
- new file mode 100644
- index 00000000000..e02f0e2b3f2
- --- /dev/null
- +++ b/libvpx/source/config/win/arm-neon/vp8_rtcd.h
- @@ -0,0 +1,219 @@
- +#ifndef VP8_RTCD_H_
- +#define VP8_RTCD_H_
- +
- +#ifdef RTCD_C
- +#define RTCD_EXTERN
- +#else
- +#define RTCD_EXTERN extern
- +#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;
- +
- +#ifdef __cplusplus
- +extern "C" {
- +#endif
- +
- +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_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);
- +#define vp8_bilinear_predict4x4 vp8_bilinear_predict4x4_c
- +
- +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_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_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_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_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_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_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_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
- +
- +int vp8_denoiser_filter_uv_c(unsigned char *mc_running_avg, int mc_avg_stride, unsigned char *running_avg, int avg_stride, unsigned char *sig, int sig_stride, unsigned int motion_magnitude, int increase_denoising);
- +int vp8_denoiser_filter_uv_neon(unsigned char *mc_running_avg, int mc_avg_stride, unsigned char *running_avg, int avg_stride, unsigned char *sig, int sig_stride, unsigned int motion_magnitude, int increase_denoising);
- +#define vp8_denoiser_filter_uv vp8_denoiser_filter_uv_neon
- +
- +void vp8_dequant_idct_add_c(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_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_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_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_neon(struct block *, struct blockd *);
- +#define vp8_fast_quantize_b vp8_fast_quantize_b_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
- +
- +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_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_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_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_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_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_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_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_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
- +
- +int vp8_mbuverror_c(struct macroblock *mb);
- +#define vp8_mbuverror vp8_mbuverror_c
- +
- +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_short_fdct4x4_c(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_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_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_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_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_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);
- +#define vp8_sixtap_predict4x4 vp8_sixtap_predict4x4_c
- +
- +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_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_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
- +
- +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/libvpx/source/config/win/arm-neon/vp9_rtcd.h b/libvpx/source/config/win/arm-neon/vp9_rtcd.h
- new file mode 100644
- index 00000000000..d6a189ce142
- --- /dev/null
- +++ b/libvpx/source/config/win/arm-neon/vp9_rtcd.h
- @@ -0,0 +1,171 @@
- +#ifndef VP9_RTCD_H_
- +#define VP9_RTCD_H_
- +
- +#ifdef RTCD_C
- +#define RTCD_EXTERN
- +#else
- +#define RTCD_EXTERN extern
- +#endif
- +
- +/*
- + * VP9
- + */
- +
- +#include "vpx/vpx_integer.h"
- +#include "vp9/common/vp9_common.h"
- +#include "vp9/common/vp9_enums.h"
- +#include "vp9/common/vp9_filter.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;
- +
- +#ifdef __cplusplus
- +extern "C" {
- +#endif
- +
- +int64_t vp9_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz);
- +#define vp9_block_error vp9_block_error_c
- +
- +int64_t vp9_block_error_fp_c(const int16_t *coeff, const int16_t *dqcoeff, int block_size);
- +int64_t vp9_block_error_fp_neon(const int16_t *coeff, const int16_t *dqcoeff, int block_size);
- +#define vp9_block_error_fp vp9_block_error_fp_neon
- +
- +int vp9_denoiser_filter_c(const uint8_t *sig, int sig_stride, const uint8_t *mc_avg, int mc_avg_stride, uint8_t *avg, int avg_stride, int increase_denoising, BLOCK_SIZE bs, int motion_magnitude);
- +#define vp9_denoiser_filter vp9_denoiser_filter_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_fdct8x8_quant_c(const int16_t* input,
- + int stride,
- + tran_low_t* coeff_ptr,
- + intptr_t n_coeffs,
- + int skip_block,
- + const int16_t* round_ptr,
- + const int16_t* quant_ptr,
- + tran_low_t* qcoeff_ptr,
- + tran_low_t* dqcoeff_ptr,
- + const int16_t* dequant_ptr,
- + uint16_t* eob_ptr,
- + const int16_t* scan,
- + const int16_t* iscan);
- +void vp9_fdct8x8_quant_neon(const int16_t* input,
- + int stride,
- + tran_low_t* coeff_ptr,
- + intptr_t n_coeffs,
- + int skip_block,
- + const int16_t* round_ptr,
- + const int16_t* quant_ptr,
- + tran_low_t* qcoeff_ptr,
- + tran_low_t* dqcoeff_ptr,
- + const int16_t* dequant_ptr,
- + uint16_t* eob_ptr,
- + const int16_t* scan,
- + const int16_t* iscan);
- +#define vp9_fdct8x8_quant vp9_fdct8x8_quant_neon
- +
- +void vp9_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, int tx_type);
- +#define vp9_fht16x16 vp9_fht16x16_c
- +
- +void vp9_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_type);
- +#define vp9_fht4x4 vp9_fht4x4_c
- +
- +void vp9_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_type);
- +#define vp9_fht8x8 vp9_fht8x8_c
- +
- +void vp9_filter_by_weight16x16_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int src_weight);
- +#define vp9_filter_by_weight16x16 vp9_filter_by_weight16x16_c
- +
- +void vp9_filter_by_weight8x8_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int src_weight);
- +#define vp9_filter_by_weight8x8 vp9_filter_by_weight8x8_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, tran_low_t *output, int stride);
- +#define vp9_fwht4x4 vp9_fwht4x4_c
- +
- +void vp9_iht16x16_256_add_c(const tran_low_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 tran_low_t *input, uint8_t *dest, int dest_stride, int tx_type);
- +void vp9_iht4x4_16_add_neon(const tran_low_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 tran_low_t *input, uint8_t *dest, int dest_stride, int tx_type);
- +void vp9_iht8x8_64_add_neon(const tran_low_t *input, uint8_t *dest, int dest_stride, int tx_type);
- +#define vp9_iht8x8_64_add vp9_iht8x8_64_add_neon
- +
- +void vp9_quantize_fp_c(const tran_low_t* coeff_ptr,
- + intptr_t n_coeffs,
- + int skip_block,
- + const int16_t* round_ptr,
- + const int16_t* quant_ptr,
- + tran_low_t* qcoeff_ptr,
- + tran_low_t* dqcoeff_ptr,
- + const int16_t* dequant_ptr,
- + uint16_t* eob_ptr,
- + const int16_t* scan,
- + const int16_t* iscan);
- +void vp9_quantize_fp_neon(const tran_low_t* coeff_ptr,
- + intptr_t n_coeffs,
- + int skip_block,
- + const int16_t* round_ptr,
- + const int16_t* quant_ptr,
- + tran_low_t* qcoeff_ptr,
- + tran_low_t* dqcoeff_ptr,
- + const int16_t* dequant_ptr,
- + uint16_t* eob_ptr,
- + const int16_t* scan,
- + const int16_t* iscan);
- +#define vp9_quantize_fp vp9_quantize_fp_neon
- +
- +void vp9_quantize_fp_32x32_c(const tran_low_t* coeff_ptr,
- + intptr_t n_coeffs,
- + int skip_block,
- + const int16_t* round_ptr,
- + const int16_t* quant_ptr,
- + tran_low_t* qcoeff_ptr,
- + tran_low_t* dqcoeff_ptr,
- + const int16_t* dequant_ptr,
- + uint16_t* eob_ptr,
- + const int16_t* scan,
- + const int16_t* iscan);
- +#define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c
- +
- +void vp9_scale_and_extend_frame_c(const struct yv12_buffer_config* src,
- + struct yv12_buffer_config* dst,
- + INTERP_FILTER filter_type,
- + int phase_scaler);
- +#define vp9_scale_and_extend_frame vp9_scale_and_extend_frame_c
- +
- +void vp9_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count);
- +#define vp9_temporal_filter_apply vp9_temporal_filter_apply_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/libvpx/source/config/win/arm-neon/vpx_config.asm b/libvpx/source/config/win/arm-neon/vpx_config.asm
- new file mode 100644
- index 00000000000..55ae70c6c95
- --- /dev/null
- +++ b/libvpx/source/config/win/arm-neon/vpx_config.asm
- @@ -0,0 +1,85 @@
- +ARCH_ARM * 1
- +ARCH_MIPS * 0
- +ARCH_X86 * 0
- +ARCH_X86_64 * 0
- +HAVE_NEON * 1
- +HAVE_NEON_ASM * 1
- +HAVE_MIPS32 * 0
- +HAVE_DSPR2 * 0
- +HAVE_MSA * 0
- +HAVE_MIPS64 * 0
- +HAVE_MMX * 0
- +HAVE_SSE * 0
- +HAVE_SSE2 * 0
- +HAVE_SSE3 * 0
- +HAVE_SSSE3 * 0
- +HAVE_SSE4_1 * 0
- +HAVE_AVX * 0
- +HAVE_AVX2 * 0
- +HAVE_VPX_PORTS * 1
- +HAVE_STDINT_H * 0
- +HAVE_PTHREAD_H * 0
- +HAVE_SYS_MMAN_H * 0
- +HAVE_UNISTD_H * 0
- +CONFIG_DEPENDENCY_TRACKING * 1
- +CONFIG_EXTERNAL_BUILD * 1
- +CONFIG_INSTALL_DOCS * 0
- +CONFIG_INSTALL_BINS * 1
- +CONFIG_INSTALL_LIBS * 1
- +CONFIG_INSTALL_SRCS * 0
- +CONFIG_DEBUG * 0
- +CONFIG_GPROF * 0
- +CONFIG_GCOV * 0
- +CONFIG_RVCT * 0
- +CONFIG_GCC * 0
- +CONFIG_MSVS * 1
- +CONFIG_PIC * 0
- +CONFIG_BIG_ENDIAN * 0
- +CONFIG_CODEC_SRCS * 0
- +CONFIG_DEBUG_LIBS * 0
- +CONFIG_DEQUANT_TOKENS * 0
- +CONFIG_DC_RECON * 0
- +CONFIG_RUNTIME_CPU_DETECT * 0
- +CONFIG_POSTPROC * 1
- +CONFIG_VP9_POSTPROC * 1
- +CONFIG_MULTITHREAD * 1
- +CONFIG_INTERNAL_STATS * 0
- +CONFIG_VP8_ENCODER * 1
- +CONFIG_VP8_DECODER * 1
- +CONFIG_VP9_ENCODER * 1
- +CONFIG_VP9_DECODER * 1
- +CONFIG_VP8 * 1
- +CONFIG_VP9 * 1
- +CONFIG_ENCODERS * 1
- +CONFIG_DECODERS * 1
- +CONFIG_STATIC_MSVCRT * 0
- +CONFIG_SPATIAL_RESAMPLING * 1
- +CONFIG_REALTIME_ONLY * 1
- +CONFIG_ONTHEFLY_BITPACKING * 0
- +CONFIG_ERROR_CONCEALMENT * 0
- +CONFIG_SHARED * 0
- +CONFIG_STATIC * 1
- +CONFIG_SMALL * 0
- +CONFIG_POSTPROC_VISUALIZER * 0
- +CONFIG_OS_SUPPORT * 1
- +CONFIG_UNIT_TESTS * 0
- +CONFIG_WEBM_IO * 1
- +CONFIG_LIBYUV * 1
- +CONFIG_DECODE_PERF_TESTS * 0
- +CONFIG_ENCODE_PERF_TESTS * 0
- +CONFIG_MULTI_RES_ENCODING * 1
- +CONFIG_TEMPORAL_DENOISING * 1
- +CONFIG_VP9_TEMPORAL_DENOISING * 1
- +CONFIG_COEFFICIENT_RANGE_CHECKING * 0
- +CONFIG_VP9_HIGHBITDEPTH * 0
- +CONFIG_BETTER_HW_COMPATIBILITY * 0
- +CONFIG_EXPERIMENTAL * 0
- +CONFIG_SIZE_LIMIT * 1
- +CONFIG_SPATIAL_SVC * 0
- +CONFIG_FP_MB_STATS * 0
- +CONFIG_EMULATE_HARDWARE * 0
- +CONFIG_MISC_FIXES * 0
- +DECODE_WIDTH_LIMIT * 16384
- +DECODE_HEIGHT_LIMIT * 16384
- +
- + END
- \ No newline at end of file
- diff --git a/libvpx/source/config/win/arm-neon/vpx_config.c b/libvpx/source/config/win/arm-neon/vpx_config.c
- new file mode 100644
- index 00000000000..b6f33eef6dd
- --- /dev/null
- +++ b/libvpx/source/config/win/arm-neon/vpx_config.c
- @@ -0,0 +1,10 @@
- +/* 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. */
- +#include "vpx/vpx_codec.h"
- +static const char* const cfg = "--target=armv6-win-vs12 --enable-realtime-only --enable-external-build --enable-postproc --disable-install-srcs --enable-multi-res-encoding --enable-temporal-denoising --disable-unit-tests --disable-install-docs --disable-examples --enable-vp9-temporal-denoising";
- +const char *vpx_codec_build_config(void) {return cfg;}
- diff --git a/libvpx/source/config/win/arm-neon/vpx_config.h b/libvpx/source/config/win/arm-neon/vpx_config.h
- new file mode 100644
- index 00000000000..403b32bdf2c
- --- /dev/null
- +++ b/libvpx/source/config/win/arm-neon/vpx_config.h
- @@ -0,0 +1,97 @@
- +/* 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 __forceinline
- +#define ARCH_ARM 1
- +#define ARCH_MIPS 0
- +#define ARCH_X86 0
- +#define ARCH_X86_64 0
- +#define HAVE_NEON 1
- +#define HAVE_NEON_ASM 1
- +#define HAVE_MIPS32 0
- +#define HAVE_DSPR2 0
- +#define HAVE_MSA 0
- +#define HAVE_MIPS64 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 0
- +#define HAVE_PTHREAD_H 0
- +#define HAVE_SYS_MMAN_H 0
- +#define HAVE_UNISTD_H 0
- +#define CONFIG_DEPENDENCY_TRACKING 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_DEBUG 0
- +#define CONFIG_GPROF 0
- +#define CONFIG_GCOV 0
- +#define CONFIG_RVCT 0
- +#define CONFIG_GCC 0
- +#define CONFIG_MSVS 1
- +#define CONFIG_PIC 0
- +#define CONFIG_BIG_ENDIAN 0
- +#define CONFIG_CODEC_SRCS 0
- +#define CONFIG_DEBUG_LIBS 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 1
- +#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_LIBYUV 1
- +#define CONFIG_DECODE_PERF_TESTS 0
- +#define CONFIG_ENCODE_PERF_TESTS 0
- +#define CONFIG_MULTI_RES_ENCODING 1
- +#define CONFIG_TEMPORAL_DENOISING 1
- +#define CONFIG_VP9_TEMPORAL_DENOISING 1
- +#define CONFIG_COEFFICIENT_RANGE_CHECKING 0
- +#define CONFIG_VP9_HIGHBITDEPTH 0
- +#define CONFIG_BETTER_HW_COMPATIBILITY 0
- +#define CONFIG_EXPERIMENTAL 0
- +#define CONFIG_SIZE_LIMIT 1
- +#define CONFIG_SPATIAL_SVC 0
- +#define CONFIG_FP_MB_STATS 0
- +#define CONFIG_EMULATE_HARDWARE 0
- +#define CONFIG_MISC_FIXES 0
- +#define DECODE_WIDTH_LIMIT 16384
- +#define DECODE_HEIGHT_LIMIT 16384
- +#endif /* VPX_CONFIG_H */
- diff --git a/libvpx/source/config/win/arm-neon/vpx_dsp_rtcd.h b/libvpx/source/config/win/arm-neon/vpx_dsp_rtcd.h
- new file mode 100644
- index 00000000000..aefca1e88a1
- --- /dev/null
- +++ b/libvpx/source/config/win/arm-neon/vpx_dsp_rtcd.h
- @@ -0,0 +1,891 @@
- +#ifndef VPX_DSP_RTCD_H_
- +#define VPX_DSP_RTCD_H_
- +
- +#ifdef RTCD_C
- +#define RTCD_EXTERN
- +#else
- +#define RTCD_EXTERN extern
- +#endif
- +
- +/*
- + * DSP
- + */
- +
- +#include "vpx/vpx_integer.h"
- +#include "vpx_dsp/vpx_dsp_common.h"
- +#include "vpx_dsp/vpx_filter.h"
- +
- +#ifdef __cplusplus
- +extern "C" {
- +#endif
- +
- +unsigned int vpx_avg_4x4_c(const uint8_t *, int p);
- +unsigned int vpx_avg_4x4_neon(const uint8_t *, int p);
- +#define vpx_avg_4x4 vpx_avg_4x4_neon
- +
- +unsigned int vpx_avg_8x8_c(const uint8_t *, int p);
- +unsigned int vpx_avg_8x8_neon(const uint8_t *, int p);
- +#define vpx_avg_8x8 vpx_avg_8x8_neon
- +
- +void vpx_comp_avg_pred_c(uint8_t *comp_pred, const uint8_t *pred, int width, int height, const uint8_t *ref, int ref_stride);
- +#define vpx_comp_avg_pred vpx_comp_avg_pred_c
- +
- +void vpx_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const InterpKernel *filter, int x0_q4, int x_step_q4, int y0_q4, int y_step_q4, int w, int h);
- +void vpx_convolve8_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const InterpKernel *filter, int x0_q4, int x_step_q4, int y0_q4, int y_step_q4, int w, int h);
- +#define vpx_convolve8 vpx_convolve8_neon
- +
- +void vpx_convolve8_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const InterpKernel *filter, int x0_q4, int x_step_q4, int y0_q4, int y_step_q4, int w, int h);
- +void vpx_convolve8_avg_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const InterpKernel *filter, int x0_q4, int x_step_q4, int y0_q4, int y_step_q4, int w, int h);
- +#define vpx_convolve8_avg vpx_convolve8_avg_neon
- +
- +void vpx_convolve8_avg_horiz_c(const uint8_t* src, ptrdiff_t src_stride, uint8_t* dst, ptrdiff_t dst_stride, const InterpKernel* filter, int x0_q4, int x_step_q4, int y0_q4, int y_step_q4, int w, int h);
- +void vpx_convolve8_avg_horiz_neon(const uint8_t* src, ptrdiff_t src_stride, uint8_t* dst, ptrdiff_t dst_stride, const InterpKernel* filter, int x0_q4, int x_step_q4, int y0_q4, int y_step_q4, int w, int h);
- +#define vpx_convolve8_avg_horiz vpx_convolve8_avg_horiz_neon
- +
- +void vpx_convolve8_avg_vert_c(const uint8_t* src, ptrdiff_t src_stride, uint8_t* dst, ptrdiff_t dst_stride, const InterpKernel* filter, int x0_q4, int x_step_q4, int y0_q4, int y_step_q4, int w, int h);
- +void vpx_convolve8_avg_vert_neon(const uint8_t* src, ptrdiff_t src_stride, uint8_t* dst, ptrdiff_t dst_stride, const InterpKernel* filter, int x0_q4, int x_step_q4, int y0_q4, int y_step_q4, int w, int h);
- +#define vpx_convolve8_avg_vert vpx_convolve8_avg_vert_neon
- +
- +void vpx_convolve8_horiz_c(const uint8_t* src, ptrdiff_t src_stride, uint8_t* dst, ptrdiff_t dst_stride, const InterpKernel* filter, int x0_q4, int x_step_q4, int y0_q4, int y_step_q4, int w, int h);
- +void vpx_convolve8_horiz_neon(const uint8_t* src, ptrdiff_t src_stride, uint8_t* dst, ptrdiff_t dst_stride, const InterpKernel* filter, int x0_q4, int x_step_q4, int y0_q4, int y_step_q4, int w, int h);
- +#define vpx_convolve8_horiz vpx_convolve8_horiz_neon
- +
- +void vpx_convolve8_vert_c(const uint8_t* src, ptrdiff_t src_stride, uint8_t* dst, ptrdiff_t dst_stride, const InterpKernel* filter, int x0_q4, int x_step_q4, int y0_q4, int y_step_q4, int w, int h);
- +void vpx_convolve8_vert_neon(const uint8_t* src, ptrdiff_t src_stride, uint8_t* dst, ptrdiff_t dst_stride, const InterpKernel* filter, int x0_q4, int x_step_q4, int y0_q4, int y_step_q4, int w, int h);
- +#define vpx_convolve8_vert vpx_convolve8_vert_neon
- +
- +void vpx_convolve_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const InterpKernel *filter, int x0_q4, int x_step_q4, int y0_q4, int y_step_q4, int w, int h);
- +void vpx_convolve_avg_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const InterpKernel *filter, int x0_q4, int x_step_q4, int y0_q4, int y_step_q4, int w, int h);
- +#define vpx_convolve_avg vpx_convolve_avg_neon
- +
- +void vpx_convolve_copy_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const InterpKernel *filter, int x0_q4, int x_step_q4, int y0_q4, int y_step_q4, int w, int h);
- +void vpx_convolve_copy_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const InterpKernel *filter, int x0_q4, int x_step_q4, int y0_q4, int y_step_q4, int w, int h);
- +#define vpx_convolve_copy vpx_convolve_copy_neon
- +
- +void vpx_d117_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d117_predictor_16x16 vpx_d117_predictor_16x16_c
- +
- +void vpx_d117_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d117_predictor_32x32 vpx_d117_predictor_32x32_c
- +
- +void vpx_d117_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d117_predictor_4x4 vpx_d117_predictor_4x4_c
- +
- +void vpx_d117_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d117_predictor_8x8 vpx_d117_predictor_8x8_c
- +
- +void vpx_d135_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d135_predictor_16x16 vpx_d135_predictor_16x16_c
- +
- +void vpx_d135_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d135_predictor_32x32 vpx_d135_predictor_32x32_c
- +
- +void vpx_d135_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +void vpx_d135_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d135_predictor_4x4 vpx_d135_predictor_4x4_neon
- +
- +void vpx_d135_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d135_predictor_8x8 vpx_d135_predictor_8x8_c
- +
- +void vpx_d153_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d153_predictor_16x16 vpx_d153_predictor_16x16_c
- +
- +void vpx_d153_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d153_predictor_32x32 vpx_d153_predictor_32x32_c
- +
- +void vpx_d153_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d153_predictor_4x4 vpx_d153_predictor_4x4_c
- +
- +void vpx_d153_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d153_predictor_8x8 vpx_d153_predictor_8x8_c
- +
- +void vpx_d207_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d207_predictor_16x16 vpx_d207_predictor_16x16_c
- +
- +void vpx_d207_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d207_predictor_32x32 vpx_d207_predictor_32x32_c
- +
- +void vpx_d207_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d207_predictor_4x4 vpx_d207_predictor_4x4_c
- +
- +void vpx_d207_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d207_predictor_8x8 vpx_d207_predictor_8x8_c
- +
- +void vpx_d207e_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d207e_predictor_16x16 vpx_d207e_predictor_16x16_c
- +
- +void vpx_d207e_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d207e_predictor_32x32 vpx_d207e_predictor_32x32_c
- +
- +void vpx_d207e_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d207e_predictor_4x4 vpx_d207e_predictor_4x4_c
- +
- +void vpx_d207e_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d207e_predictor_8x8 vpx_d207e_predictor_8x8_c
- +
- +void vpx_d45_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +void vpx_d45_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d45_predictor_16x16 vpx_d45_predictor_16x16_neon
- +
- +void vpx_d45_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d45_predictor_32x32 vpx_d45_predictor_32x32_c
- +
- +void vpx_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +void vpx_d45_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d45_predictor_4x4 vpx_d45_predictor_4x4_neon
- +
- +void vpx_d45_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +void vpx_d45_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d45_predictor_8x8 vpx_d45_predictor_8x8_neon
- +
- +void vpx_d45e_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d45e_predictor_16x16 vpx_d45e_predictor_16x16_c
- +
- +void vpx_d45e_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d45e_predictor_32x32 vpx_d45e_predictor_32x32_c
- +
- +void vpx_d45e_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d45e_predictor_4x4 vpx_d45e_predictor_4x4_c
- +
- +void vpx_d45e_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d45e_predictor_8x8 vpx_d45e_predictor_8x8_c
- +
- +void vpx_d63_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d63_predictor_16x16 vpx_d63_predictor_16x16_c
- +
- +void vpx_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d63_predictor_32x32 vpx_d63_predictor_32x32_c
- +
- +void vpx_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d63_predictor_4x4 vpx_d63_predictor_4x4_c
- +
- +void vpx_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d63_predictor_8x8 vpx_d63_predictor_8x8_c
- +
- +void vpx_d63e_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d63e_predictor_16x16 vpx_d63e_predictor_16x16_c
- +
- +void vpx_d63e_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d63e_predictor_32x32 vpx_d63e_predictor_32x32_c
- +
- +void vpx_d63e_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d63e_predictor_4x4 vpx_d63e_predictor_4x4_c
- +
- +void vpx_d63e_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d63e_predictor_8x8 vpx_d63e_predictor_8x8_c
- +
- +void vpx_d63f_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d63f_predictor_4x4 vpx_d63f_predictor_4x4_c
- +
- +void vpx_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +void vpx_dc_128_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_128_predictor_16x16 vpx_dc_128_predictor_16x16_neon
- +
- +void vpx_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +void vpx_dc_128_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_128_predictor_32x32 vpx_dc_128_predictor_32x32_neon
- +
- +void vpx_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +void vpx_dc_128_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_128_predictor_4x4 vpx_dc_128_predictor_4x4_neon
- +
- +void vpx_dc_128_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +void vpx_dc_128_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_128_predictor_8x8 vpx_dc_128_predictor_8x8_neon
- +
- +void vpx_dc_left_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +void vpx_dc_left_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_left_predictor_16x16 vpx_dc_left_predictor_16x16_neon
- +
- +void vpx_dc_left_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +void vpx_dc_left_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_left_predictor_32x32 vpx_dc_left_predictor_32x32_neon
- +
- +void vpx_dc_left_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +void vpx_dc_left_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_left_predictor_4x4 vpx_dc_left_predictor_4x4_neon
- +
- +void vpx_dc_left_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +void vpx_dc_left_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_left_predictor_8x8 vpx_dc_left_predictor_8x8_neon
- +
- +void vpx_dc_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +void vpx_dc_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_predictor_16x16 vpx_dc_predictor_16x16_neon
- +
- +void vpx_dc_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +void vpx_dc_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_predictor_32x32 vpx_dc_predictor_32x32_neon
- +
- +void vpx_dc_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +void vpx_dc_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_predictor_4x4 vpx_dc_predictor_4x4_neon
- +
- +void vpx_dc_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +void vpx_dc_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_predictor_8x8 vpx_dc_predictor_8x8_neon
- +
- +void vpx_dc_top_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +void vpx_dc_top_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_top_predictor_16x16 vpx_dc_top_predictor_16x16_neon
- +
- +void vpx_dc_top_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +void vpx_dc_top_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_top_predictor_32x32 vpx_dc_top_predictor_32x32_neon
- +
- +void vpx_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +void vpx_dc_top_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_top_predictor_4x4 vpx_dc_top_predictor_4x4_neon
- +
- +void vpx_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +void vpx_dc_top_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_top_predictor_8x8 vpx_dc_top_predictor_8x8_neon
- +
- +void vpx_fdct16x16_c(const int16_t *input, tran_low_t *output, int stride);
- +#define vpx_fdct16x16 vpx_fdct16x16_c
- +
- +void vpx_fdct16x16_1_c(const int16_t *input, tran_low_t *output, int stride);
- +#define vpx_fdct16x16_1 vpx_fdct16x16_1_c
- +
- +void vpx_fdct32x32_c(const int16_t *input, tran_low_t *output, int stride);
- +#define vpx_fdct32x32 vpx_fdct32x32_c
- +
- +void vpx_fdct32x32_1_c(const int16_t *input, tran_low_t *output, int stride);
- +#define vpx_fdct32x32_1 vpx_fdct32x32_1_c
- +
- +void vpx_fdct32x32_rd_c(const int16_t *input, tran_low_t *output, int stride);
- +#define vpx_fdct32x32_rd vpx_fdct32x32_rd_c
- +
- +void vpx_fdct4x4_c(const int16_t *input, tran_low_t *output, int stride);
- +#define vpx_fdct4x4 vpx_fdct4x4_c
- +
- +void vpx_fdct4x4_1_c(const int16_t *input, tran_low_t *output, int stride);
- +#define vpx_fdct4x4_1 vpx_fdct4x4_1_c
- +
- +void vpx_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride);
- +void vpx_fdct8x8_neon(const int16_t *input, tran_low_t *output, int stride);
- +#define vpx_fdct8x8 vpx_fdct8x8_neon
- +
- +void vpx_fdct8x8_1_c(const int16_t *input, tran_low_t *output, int stride);
- +void vpx_fdct8x8_1_neon(const int16_t *input, tran_low_t *output, int stride);
- +#define vpx_fdct8x8_1 vpx_fdct8x8_1_neon
- +
- +void vpx_get16x16var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
- +void vpx_get16x16var_neon(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
- +#define vpx_get16x16var vpx_get16x16var_neon
- +
- +unsigned int vpx_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride);
- +unsigned int vpx_get4x4sse_cs_neon(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride);
- +#define vpx_get4x4sse_cs vpx_get4x4sse_cs_neon
- +
- +void vpx_get8x8var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
- +void vpx_get8x8var_neon(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
- +#define vpx_get8x8var vpx_get8x8var_neon
- +
- +unsigned int vpx_get_mb_ss_c(const int16_t *);
- +#define vpx_get_mb_ss vpx_get_mb_ss_c
- +
- +void vpx_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +void vpx_h_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_h_predictor_16x16 vpx_h_predictor_16x16_neon
- +
- +void vpx_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +void vpx_h_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_h_predictor_32x32 vpx_h_predictor_32x32_neon
- +
- +void vpx_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +void vpx_h_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_h_predictor_4x4 vpx_h_predictor_4x4_neon
- +
- +void vpx_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +void vpx_h_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_h_predictor_8x8 vpx_h_predictor_8x8_neon
- +
- +void vpx_hadamard_16x16_c(const int16_t *src_diff, int src_stride, int16_t *coeff);
- +void vpx_hadamard_16x16_neon(const int16_t *src_diff, int src_stride, int16_t *coeff);
- +#define vpx_hadamard_16x16 vpx_hadamard_16x16_neon
- +
- +void vpx_hadamard_32x32_c(const int16_t* src_diff,
- + ptrdiff_t src_stride,
- + tran_low_t* coeff);
- +#define vpx_hadamard_32x32 vpx_hadamard_32x32_c
- +
- +void vpx_hadamard_8x8_c(const int16_t *src_diff, int src_stride, int16_t *coeff);
- +void vpx_hadamard_8x8_neon(const int16_t *src_diff, int src_stride, int16_t *coeff);
- +#define vpx_hadamard_8x8 vpx_hadamard_8x8_neon
- +
- +void vpx_he_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_he_predictor_4x4 vpx_he_predictor_4x4_c
- +
- +void vpx_idct16x16_10_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +void vpx_idct16x16_10_add_neon(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_idct16x16_10_add vpx_idct16x16_10_add_neon
- +
- +void vpx_idct16x16_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +void vpx_idct16x16_1_add_neon(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_idct16x16_1_add vpx_idct16x16_1_add_neon
- +
- +void vpx_idct16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +void vpx_idct16x16_256_add_neon(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_idct16x16_256_add vpx_idct16x16_256_add_neon
- +
- +void vpx_idct16x16_38_add_c(const tran_low_t* input, uint8_t* dest, int dest_stride);
- +void vpx_idct16x16_38_add_neon(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_idct16x16_38_add vpx_idct16x16_38_add_neon
- +
- +void vpx_idct32x32_1024_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +void vpx_idct32x32_1024_add_neon(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_idct32x32_1024_add vpx_idct32x32_1024_add_neon
- +
- +void vpx_idct32x32_135_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +void vpx_idct32x32_1024_add_neon(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_idct32x32_135_add vpx_idct32x32_1024_add_neon
- +
- +void vpx_idct32x32_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +void vpx_idct32x32_1_add_neon(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_idct32x32_1_add vpx_idct32x32_1_add_neon
- +
- +void vpx_idct32x32_34_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +void vpx_idct32x32_1024_add_neon(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_idct32x32_34_add vpx_idct32x32_1024_add_neon
- +
- +void vpx_idct4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +void vpx_idct4x4_16_add_neon(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_idct4x4_16_add vpx_idct4x4_16_add_neon
- +
- +void vpx_idct4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +void vpx_idct4x4_1_add_neon(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_idct4x4_1_add vpx_idct4x4_1_add_neon
- +
- +void vpx_idct8x8_12_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +void vpx_idct8x8_12_add_neon(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_idct8x8_12_add vpx_idct8x8_12_add_neon
- +
- +void vpx_idct8x8_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +void vpx_idct8x8_1_add_neon(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_idct8x8_1_add vpx_idct8x8_1_add_neon
- +
- +void vpx_idct8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +void vpx_idct8x8_64_add_neon(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_idct8x8_64_add vpx_idct8x8_64_add_neon
- +
- +int16_t vpx_int_pro_col_c(const uint8_t *ref, const int width);
- +int16_t vpx_int_pro_col_neon(const uint8_t *ref, const int width);
- +#define vpx_int_pro_col vpx_int_pro_col_neon
- +
- +void vpx_int_pro_row_c(int16_t *hbuf, const uint8_t *ref, const int ref_stride, const int height);
- +void vpx_int_pro_row_neon(int16_t *hbuf, const uint8_t *ref, const int ref_stride, const int height);
- +#define vpx_int_pro_row vpx_int_pro_row_neon
- +
- +void vpx_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_iwht4x4_16_add vpx_iwht4x4_16_add_c
- +
- +void vpx_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_iwht4x4_1_add vpx_iwht4x4_1_add_c
- +
- +void vpx_lpf_horizontal_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
- +void vpx_lpf_horizontal_16_neon(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
- +#define vpx_lpf_horizontal_16 vpx_lpf_horizontal_16_neon
- +
- +void vpx_lpf_horizontal_16_dual_c(uint8_t* s,
- + int pitch,
- + const uint8_t* blimit,
- + const uint8_t* limit,
- + const uint8_t* thresh);
- +void vpx_lpf_horizontal_16_dual_neon(uint8_t* s,
- + int pitch,
- + const uint8_t* blimit,
- + const uint8_t* limit,
- + const uint8_t* thresh);
- +#define vpx_lpf_horizontal_16_dual vpx_lpf_horizontal_16_neon
- +
- +void vpx_lpf_horizontal_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
- +void vpx_lpf_horizontal_4_neon(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
- +#define vpx_lpf_horizontal_4 vpx_lpf_horizontal_4_neon
- +
- +void vpx_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 vpx_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 vpx_lpf_horizontal_4_dual vpx_lpf_horizontal_4_dual_neon
- +
- +void vpx_lpf_horizontal_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
- +void vpx_lpf_horizontal_8_neon(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
- +#define vpx_lpf_horizontal_8 vpx_lpf_horizontal_8_neon
- +
- +void vpx_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 vpx_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 vpx_lpf_horizontal_8_dual vpx_lpf_horizontal_8_dual_neon
- +
- +void vpx_lpf_horizontal_edge_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
- +void vpx_lpf_horizontal_edge_16_neon(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
- +#define vpx_lpf_horizontal_edge_16 vpx_lpf_horizontal_edge_16_neon
- +
- +void vpx_lpf_horizontal_edge_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
- +void vpx_lpf_horizontal_edge_8_neon(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
- +#define vpx_lpf_horizontal_edge_8 vpx_lpf_horizontal_edge_8_neon
- +
- +void vpx_lpf_vertical_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
- +void vpx_lpf_vertical_16_neon(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
- +#define vpx_lpf_vertical_16 vpx_lpf_vertical_16_neon
- +
- +void vpx_lpf_vertical_16_dual_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
- +void vpx_lpf_vertical_16_dual_neon(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
- +#define vpx_lpf_vertical_16_dual vpx_lpf_vertical_16_dual_neon
- +
- +void vpx_lpf_vertical_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
- +void vpx_lpf_vertical_4_neon(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
- +#define vpx_lpf_vertical_4 vpx_lpf_vertical_4_neon
- +
- +void vpx_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 vpx_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 vpx_lpf_vertical_4_dual vpx_lpf_vertical_4_dual_neon
- +
- +void vpx_lpf_vertical_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
- +void vpx_lpf_vertical_8_neon(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
- +#define vpx_lpf_vertical_8 vpx_lpf_vertical_8_neon
- +
- +void vpx_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 vpx_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 vpx_lpf_vertical_8_dual vpx_lpf_vertical_8_dual_neon
- +
- +void vpx_mbpost_proc_across_ip_c(unsigned char *dst, int pitch, int rows, int cols,int flimit);
- +#define vpx_mbpost_proc_across_ip vpx_mbpost_proc_across_ip_c
- +
- +void vpx_mbpost_proc_down_c(unsigned char *dst, int pitch, int rows, int cols,int flimit);
- +#define vpx_mbpost_proc_down vpx_mbpost_proc_down_c
- +
- +void vpx_minmax_8x8_c(const uint8_t *s, int p, const uint8_t *d, int dp, int *min, int *max);
- +void vpx_minmax_8x8_neon(const uint8_t *s, int p, const uint8_t *d, int dp, int *min, int *max);
- +#define vpx_minmax_8x8 vpx_minmax_8x8_neon
- +
- +unsigned int vpx_mse16x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
- +unsigned int vpx_mse16x16_neon(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
- +#define vpx_mse16x16 vpx_mse16x16_neon
- +
- +unsigned int vpx_mse16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
- +#define vpx_mse16x8 vpx_mse16x8_c
- +
- +unsigned int vpx_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
- +#define vpx_mse8x16 vpx_mse8x16_c
- +
- +unsigned int vpx_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
- +#define vpx_mse8x8 vpx_mse8x8_c
- +
- +void vpx_plane_add_noise_c(uint8_t *start, const int8_t *noise, int blackclamp, int whiteclamp, int width, int height, int pitch);
- +#define vpx_plane_add_noise vpx_plane_add_noise_c
- +
- +void vpx_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 vpx_post_proc_down_and_across_mb_row vpx_post_proc_down_and_across_mb_row_c
- +
- +void vpx_quantize_b_c(const tran_low_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, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
- +#define vpx_quantize_b vpx_quantize_b_c
- +
- +void vpx_quantize_b_32x32_c(const tran_low_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, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
- +#define vpx_quantize_b_32x32 vpx_quantize_b_32x32_c
- +
- +unsigned int vpx_sad16x16_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +unsigned int vpx_sad16x16_neon(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad16x16 vpx_sad16x16_neon
- +
- +unsigned int vpx_sad16x16_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad16x16_avg vpx_sad16x16_avg_c
- +
- +void vpx_sad16x16x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad16x16x3 vpx_sad16x16x3_c
- +
- +void vpx_sad16x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +void vpx_sad16x16x4d_neon(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad16x16x4d vpx_sad16x16x4d_neon
- +
- +void vpx_sad16x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad16x16x8 vpx_sad16x16x8_c
- +
- +unsigned int vpx_sad16x32_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad16x32 vpx_sad16x32_c
- +
- +unsigned int vpx_sad16x32_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad16x32_avg vpx_sad16x32_avg_c
- +
- +void vpx_sad16x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad16x32x4d vpx_sad16x32x4d_c
- +
- +unsigned int vpx_sad16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +unsigned int vpx_sad16x8_neon(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad16x8 vpx_sad16x8_neon
- +
- +unsigned int vpx_sad16x8_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad16x8_avg vpx_sad16x8_avg_c
- +
- +void vpx_sad16x8x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad16x8x3 vpx_sad16x8x3_c
- +
- +void vpx_sad16x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad16x8x4d vpx_sad16x8x4d_c
- +
- +void vpx_sad16x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad16x8x8 vpx_sad16x8x8_c
- +
- +unsigned int vpx_sad32x16_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad32x16 vpx_sad32x16_c
- +
- +unsigned int vpx_sad32x16_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad32x16_avg vpx_sad32x16_avg_c
- +
- +void vpx_sad32x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad32x16x4d vpx_sad32x16x4d_c
- +
- +unsigned int vpx_sad32x32_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +unsigned int vpx_sad32x32_neon(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad32x32 vpx_sad32x32_neon
- +
- +unsigned int vpx_sad32x32_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad32x32_avg vpx_sad32x32_avg_c
- +
- +void vpx_sad32x32x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad32x32x3 vpx_sad32x32x3_c
- +
- +void vpx_sad32x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +void vpx_sad32x32x4d_neon(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad32x32x4d vpx_sad32x32x4d_neon
- +
- +void vpx_sad32x32x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad32x32x8 vpx_sad32x32x8_c
- +
- +unsigned int vpx_sad32x64_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad32x64 vpx_sad32x64_c
- +
- +unsigned int vpx_sad32x64_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad32x64_avg vpx_sad32x64_avg_c
- +
- +void vpx_sad32x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad32x64x4d vpx_sad32x64x4d_c
- +
- +unsigned int vpx_sad4x4_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +unsigned int vpx_sad4x4_neon(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad4x4 vpx_sad4x4_neon
- +
- +unsigned int vpx_sad4x4_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad4x4_avg vpx_sad4x4_avg_c
- +
- +void vpx_sad4x4x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad4x4x3 vpx_sad4x4x3_c
- +
- +void vpx_sad4x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad4x4x4d vpx_sad4x4x4d_c
- +
- +void vpx_sad4x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad4x4x8 vpx_sad4x4x8_c
- +
- +unsigned int vpx_sad4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad4x8 vpx_sad4x8_c
- +
- +unsigned int vpx_sad4x8_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad4x8_avg vpx_sad4x8_avg_c
- +
- +void vpx_sad4x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad4x8x4d vpx_sad4x8x4d_c
- +
- +void vpx_sad4x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad4x8x8 vpx_sad4x8x8_c
- +
- +unsigned int vpx_sad64x32_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad64x32 vpx_sad64x32_c
- +
- +unsigned int vpx_sad64x32_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad64x32_avg vpx_sad64x32_avg_c
- +
- +void vpx_sad64x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad64x32x4d vpx_sad64x32x4d_c
- +
- +unsigned int vpx_sad64x64_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +unsigned int vpx_sad64x64_neon(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad64x64 vpx_sad64x64_neon
- +
- +unsigned int vpx_sad64x64_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad64x64_avg vpx_sad64x64_avg_c
- +
- +void vpx_sad64x64x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad64x64x3 vpx_sad64x64x3_c
- +
- +void vpx_sad64x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +void vpx_sad64x64x4d_neon(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad64x64x4d vpx_sad64x64x4d_neon
- +
- +void vpx_sad64x64x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad64x64x8 vpx_sad64x64x8_c
- +
- +unsigned int vpx_sad8x16_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +unsigned int vpx_sad8x16_neon(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad8x16 vpx_sad8x16_neon
- +
- +unsigned int vpx_sad8x16_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad8x16_avg vpx_sad8x16_avg_c
- +
- +void vpx_sad8x16x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad8x16x3 vpx_sad8x16x3_c
- +
- +void vpx_sad8x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad8x16x4d vpx_sad8x16x4d_c
- +
- +void vpx_sad8x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad8x16x8 vpx_sad8x16x8_c
- +
- +unsigned int vpx_sad8x4_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad8x4 vpx_sad8x4_c
- +
- +unsigned int vpx_sad8x4_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad8x4_avg vpx_sad8x4_avg_c
- +
- +void vpx_sad8x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad8x4x4d vpx_sad8x4x4d_c
- +
- +void vpx_sad8x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad8x4x8 vpx_sad8x4x8_c
- +
- +unsigned int vpx_sad8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +unsigned int vpx_sad8x8_neon(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad8x8 vpx_sad8x8_neon
- +
- +unsigned int vpx_sad8x8_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad8x8_avg vpx_sad8x8_avg_c
- +
- +void vpx_sad8x8x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad8x8x3 vpx_sad8x8x3_c
- +
- +void vpx_sad8x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad8x8x4d vpx_sad8x8x4d_c
- +
- +void vpx_sad8x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad8x8x8 vpx_sad8x8x8_c
- +
- +int vpx_satd_c(const int16_t *coeff, int length);
- +int vpx_satd_neon(const int16_t *coeff, int length);
- +#define vpx_satd vpx_satd_neon
- +
- +//void vpx_scaled_2d_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 vpx_scaled_2d_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const InterpKernel *filter, int x0_q4, int x_step_q4, int y0_q4, int y_step_q4, int w, int h);
- +#define vpx_scaled_2d vpx_scaled_2d_c
- +
- +//void vpx_scaled_avg_2d_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 vpx_scaled_avg_2d_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const InterpKernel *filter, int x0_q4, int x_step_q4, int y0_q4, int y_step_q4, int w, int h);
- +#define vpx_scaled_avg_2d vpx_scaled_avg_2d_c
- +
- +//void vpx_scaled_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 vpx_scaled_avg_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const InterpKernel *filter, int x0_q4, int x_step_q4, int y0_q4, int y_step_q4, int w, int h);
- +#define vpx_scaled_avg_horiz vpx_scaled_avg_horiz_c
- +
- +//void vpx_scaled_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 vpx_scaled_avg_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const InterpKernel *filter, int x0_q4, int x_step_q4, int y0_q4, int y_step_q4, int w, int h);
- +#define vpx_scaled_avg_vert vpx_scaled_avg_vert_c
- +
- +//void vpx_scaled_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 vpx_scaled_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const InterpKernel *filter, int x0_q4, int x_step_q4, int y0_q4, int y_step_q4, int w, int h);
- +#define vpx_scaled_horiz vpx_scaled_horiz_c
- +
- +//void vpx_scaled_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 vpx_scaled_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const InterpKernel *filter, int x0_q4, int x_step_q4, int y0_q4, int y_step_q4, int w, int h);
- +#define vpx_scaled_vert vpx_scaled_vert_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance16x16 vpx_sub_pixel_avg_variance16x16_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance16x32 vpx_sub_pixel_avg_variance16x32_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance16x8 vpx_sub_pixel_avg_variance16x8_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance32x16 vpx_sub_pixel_avg_variance32x16_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance32x32 vpx_sub_pixel_avg_variance32x32_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance32x64 vpx_sub_pixel_avg_variance32x64_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance4x4 vpx_sub_pixel_avg_variance4x4_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance4x8 vpx_sub_pixel_avg_variance4x8_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance64x32 vpx_sub_pixel_avg_variance64x32_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance64x64 vpx_sub_pixel_avg_variance64x64_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance8x16 vpx_sub_pixel_avg_variance8x16_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance8x4 vpx_sub_pixel_avg_variance8x4_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance8x8 vpx_sub_pixel_avg_variance8x8_c
- +
- +uint32_t vpx_sub_pixel_variance16x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +uint32_t vpx_sub_pixel_variance16x16_neon(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance16x16 vpx_sub_pixel_variance16x16_neon
- +
- +uint32_t vpx_sub_pixel_variance16x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance16x32 vpx_sub_pixel_variance16x32_c
- +
- +uint32_t vpx_sub_pixel_variance16x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance16x8 vpx_sub_pixel_variance16x8_c
- +
- +uint32_t vpx_sub_pixel_variance32x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance32x16 vpx_sub_pixel_variance32x16_c
- +
- +uint32_t vpx_sub_pixel_variance32x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +uint32_t vpx_sub_pixel_variance32x32_neon(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance32x32 vpx_sub_pixel_variance32x32_neon
- +
- +uint32_t vpx_sub_pixel_variance32x64_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance32x64 vpx_sub_pixel_variance32x64_c
- +
- +uint32_t vpx_sub_pixel_variance4x4_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance4x4 vpx_sub_pixel_variance4x4_c
- +
- +uint32_t vpx_sub_pixel_variance4x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance4x8 vpx_sub_pixel_variance4x8_c
- +
- +uint32_t vpx_sub_pixel_variance64x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance64x32 vpx_sub_pixel_variance64x32_c
- +
- +uint32_t vpx_sub_pixel_variance64x64_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +uint32_t vpx_sub_pixel_variance64x64_neon(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance64x64 vpx_sub_pixel_variance64x64_neon
- +
- +uint32_t vpx_sub_pixel_variance8x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance8x16 vpx_sub_pixel_variance8x16_c
- +
- +uint32_t vpx_sub_pixel_variance8x4_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance8x4 vpx_sub_pixel_variance8x4_c
- +
- +uint32_t vpx_sub_pixel_variance8x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +uint32_t vpx_sub_pixel_variance8x8_neon(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance8x8 vpx_sub_pixel_variance8x8_neon
- +
- +void vpx_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);
- +void vpx_subtract_block_neon(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 vpx_subtract_block vpx_subtract_block_neon
- +
- +uint64_t vpx_sum_squares_2d_i16_c(const int16_t *src, int stride, int size);
- +#define vpx_sum_squares_2d_i16 vpx_sum_squares_2d_i16_c
- +
- +void vpx_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +void vpx_tm_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_tm_predictor_16x16 vpx_tm_predictor_16x16_neon
- +
- +void vpx_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +void vpx_tm_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_tm_predictor_32x32 vpx_tm_predictor_32x32_neon
- +
- +void vpx_tm_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +void vpx_tm_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_tm_predictor_4x4 vpx_tm_predictor_4x4_neon
- +
- +void vpx_tm_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +void vpx_tm_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_tm_predictor_8x8 vpx_tm_predictor_8x8_neon
- +
- +void vpx_v_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +void vpx_v_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_v_predictor_16x16 vpx_v_predictor_16x16_neon
- +
- +void vpx_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +void vpx_v_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_v_predictor_32x32 vpx_v_predictor_32x32_neon
- +
- +void vpx_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +void vpx_v_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_v_predictor_4x4 vpx_v_predictor_4x4_neon
- +
- +void vpx_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +void vpx_v_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_v_predictor_8x8 vpx_v_predictor_8x8_neon
- +
- +unsigned int vpx_variance16x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +unsigned int vpx_variance16x16_neon(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance16x16 vpx_variance16x16_neon
- +
- +unsigned int vpx_variance16x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance16x32 vpx_variance16x32_c
- +
- +unsigned int vpx_variance16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +unsigned int vpx_variance16x8_neon(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance16x8 vpx_variance16x8_neon
- +
- +unsigned int vpx_variance32x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance32x16 vpx_variance32x16_c
- +
- +unsigned int vpx_variance32x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +unsigned int vpx_variance32x32_neon(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance32x32 vpx_variance32x32_neon
- +
- +unsigned int vpx_variance32x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +unsigned int vpx_variance32x64_neon(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance32x64 vpx_variance32x64_neon
- +
- +unsigned int vpx_variance4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance4x4 vpx_variance4x4_c
- +
- +unsigned int vpx_variance4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance4x8 vpx_variance4x8_c
- +
- +unsigned int vpx_variance64x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +unsigned int vpx_variance64x32_neon(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance64x32 vpx_variance64x32_neon
- +
- +unsigned int vpx_variance64x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +unsigned int vpx_variance64x64_neon(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance64x64 vpx_variance64x64_neon
- +
- +unsigned int vpx_variance8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +unsigned int vpx_variance8x16_neon(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance8x16 vpx_variance8x16_neon
- +
- +unsigned int vpx_variance8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance8x4 vpx_variance8x4_c
- +
- +unsigned int vpx_variance8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +unsigned int vpx_variance8x8_neon(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance8x8 vpx_variance8x8_neon
- +
- +uint32_t vpx_variance_halfpixvar16x16_h_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_variance_halfpixvar16x16_h vpx_variance_halfpixvar16x16_h_c
- +
- +uint32_t vpx_variance_halfpixvar16x16_hv_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_variance_halfpixvar16x16_hv vpx_variance_halfpixvar16x16_hv_c
- +
- +uint32_t vpx_variance_halfpixvar16x16_v_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_variance_halfpixvar16x16_v vpx_variance_halfpixvar16x16_v_c
- +
- +void vpx_ve_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_ve_predictor_4x4 vpx_ve_predictor_4x4_c
- +
- +int vpx_vector_var_c(const int16_t *ref, const int16_t *src, const int bwl);
- +int vpx_vector_var_neon(const int16_t *ref, const int16_t *src, const int bwl);
- +#define vpx_vector_var vpx_vector_var_neon
- +
- +void vpx_dsp_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/libvpx/source/config/win/arm-neon/vpx_scale_rtcd.h b/libvpx/source/config/win/arm-neon/vpx_scale_rtcd.h
- new file mode 100644
- index 00000000000..7dd8ee39fda
- --- /dev/null
- +++ b/libvpx/source/config/win/arm-neon/vpx_scale_rtcd.h
- @@ -0,0 +1,75 @@
- +#ifndef VPX_SCALE_RTCD_H_
- +#define VPX_SCALE_RTCD_H_
- +
- +#ifdef RTCD_C
- +#define RTCD_EXTERN
- +#else
- +#define RTCD_EXTERN extern
- +#endif
- +
- +struct yv12_buffer_config;
- +
- +#ifdef __cplusplus
- +extern "C" {
- +#endif
- +
- +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 vpx_extend_frame_borders_c(struct yv12_buffer_config *ybf);
- +#define vpx_extend_frame_borders vpx_extend_frame_borders_c
- +
- +void vpx_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf);
- +#define vpx_extend_frame_inner_borders vpx_extend_frame_inner_borders_c
- +
- +void vpx_yv12_copy_frame_c(const struct yv12_buffer_config* src_ybc,
- + struct yv12_buffer_config* dst_ybc);
- +#define vpx_yv12_copy_frame vpx_yv12_copy_frame_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/libvpx/source/config/win/arm/vp8_rtcd.h b/libvpx/source/config/win/arm/vp8_rtcd.h
- new file mode 100644
- index 00000000000..ca692f7eae6
- --- /dev/null
- +++ b/libvpx/source/config/win/arm/vp8_rtcd.h
- @@ -0,0 +1,189 @@
- +#ifndef VP8_RTCD_H_
- +#define VP8_RTCD_H_
- +
- +#ifdef RTCD_C
- +#define RTCD_EXTERN
- +#else
- +#define RTCD_EXTERN extern
- +#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;
- +
- +#ifdef __cplusplus
- +extern "C" {
- +#endif
- +
- +void vp8_bilinear_predict16x16_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
- +#define vp8_bilinear_predict16x16 vp8_bilinear_predict16x16_c
- +
- +void vp8_bilinear_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
- +#define vp8_bilinear_predict4x4 vp8_bilinear_predict4x4_c
- +
- +void vp8_bilinear_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
- +#define vp8_bilinear_predict8x4 vp8_bilinear_predict8x4_c
- +
- +void vp8_bilinear_predict8x8_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
- +#define vp8_bilinear_predict8x8 vp8_bilinear_predict8x8_c
- +
- +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_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);
- +#define vp8_copy_mem16x16 vp8_copy_mem16x16_c
- +
- +void vp8_copy_mem8x4_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
- +#define vp8_copy_mem8x4 vp8_copy_mem8x4_c
- +
- +void vp8_copy_mem8x8_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
- +#define vp8_copy_mem8x8 vp8_copy_mem8x8_c
- +
- +void vp8_dc_only_idct_add_c(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_c
- +
- +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);
- +#define vp8_denoiser_filter vp8_denoiser_filter_c
- +
- +int vp8_denoiser_filter_uv_c(unsigned char *mc_running_avg, int mc_avg_stride, unsigned char *running_avg, int avg_stride, unsigned char *sig, int sig_stride, unsigned int motion_magnitude, int increase_denoising);
- +#define vp8_denoiser_filter_uv vp8_denoiser_filter_uv_c
- +
- +void vp8_dequant_idct_add_c(short *input, short *dq, unsigned char *output, int stride);
- +#define vp8_dequant_idct_add vp8_dequant_idct_add_c
- +
- +void vp8_dequant_idct_add_uv_block_c(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_c
- +
- +void vp8_dequant_idct_add_y_block_c(short *q, short *dq, unsigned char *dst, int stride, char *eobs);
- +#define vp8_dequant_idct_add_y_block vp8_dequant_idct_add_y_block_c
- +
- +void vp8_dequantize_b_c(struct blockd*, short *dqc);
- +#define vp8_dequantize_b vp8_dequantize_b_c
- +
- +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 *);
- +#define vp8_fast_quantize_b vp8_fast_quantize_b_c
- +
- +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
- +
- +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);
- +#define vp8_loop_filter_bh vp8_loop_filter_bh_c
- +
- +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);
- +#define vp8_loop_filter_bv vp8_loop_filter_bv_c
- +
- +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);
- +#define vp8_loop_filter_mbh vp8_loop_filter_mbh_c
- +
- +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);
- +#define vp8_loop_filter_mbv vp8_loop_filter_mbv_c
- +
- +void vp8_loop_filter_bhs_c(unsigned char *y, int ystride, const unsigned char *blimit);
- +#define vp8_loop_filter_simple_bh vp8_loop_filter_bhs_c
- +
- +void vp8_loop_filter_bvs_c(unsigned char *y, int ystride, const unsigned char *blimit);
- +#define vp8_loop_filter_simple_bv vp8_loop_filter_bvs_c
- +
- +void vp8_loop_filter_simple_horizontal_edge_c(unsigned char *y, int ystride, const unsigned char *blimit);
- +#define vp8_loop_filter_simple_mbh vp8_loop_filter_simple_horizontal_edge_c
- +
- +void vp8_loop_filter_simple_vertical_edge_c(unsigned char *y, int ystride, const unsigned char *blimit);
- +#define vp8_loop_filter_simple_mbv vp8_loop_filter_simple_vertical_edge_c
- +
- +int vp8_mbblock_error_c(struct macroblock *mb, int dc);
- +#define vp8_mbblock_error vp8_mbblock_error_c
- +
- +int vp8_mbuverror_c(struct macroblock *mb);
- +#define vp8_mbuverror vp8_mbuverror_c
- +
- +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_short_fdct4x4_c(short *input, short *output, int pitch);
- +#define vp8_short_fdct4x4 vp8_short_fdct4x4_c
- +
- +void vp8_short_fdct8x4_c(short *input, short *output, int pitch);
- +#define vp8_short_fdct8x4 vp8_short_fdct8x4_c
- +
- +void vp8_short_idct4x4llm_c(short *input, unsigned char *pred, int pitch, unsigned char *dst, int dst_stride);
- +#define vp8_short_idct4x4llm vp8_short_idct4x4llm_c
- +
- +void vp8_short_inv_walsh4x4_c(short *input, short *output);
- +#define vp8_short_inv_walsh4x4 vp8_short_inv_walsh4x4_c
- +
- +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);
- +#define vp8_short_walsh4x4 vp8_short_walsh4x4_c
- +
- +void vp8_sixtap_predict16x16_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
- +#define vp8_sixtap_predict16x16 vp8_sixtap_predict16x16_c
- +
- +void vp8_sixtap_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
- +#define vp8_sixtap_predict4x4 vp8_sixtap_predict4x4_c
- +
- +void vp8_sixtap_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
- +#define vp8_sixtap_predict8x4 vp8_sixtap_predict8x4_c
- +
- +void vp8_sixtap_predict8x8_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
- +#define vp8_sixtap_predict8x8 vp8_sixtap_predict8x8_c
- +
- +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/libvpx/source/config/win/arm/vp9_rtcd.h b/libvpx/source/config/win/arm/vp9_rtcd.h
- new file mode 100644
- index 00000000000..7c8a3798ca5
- --- /dev/null
- +++ b/libvpx/source/config/win/arm/vp9_rtcd.h
- @@ -0,0 +1,121 @@
- +#ifndef VP9_RTCD_H_
- +#define VP9_RTCD_H_
- +
- +#ifdef RTCD_C
- +#define RTCD_EXTERN
- +#else
- +#define RTCD_EXTERN extern
- +#endif
- +
- +/*
- + * VP9
- + */
- +
- +#include "vpx/vpx_integer.h"
- +#include "vp9/common/vp9_common.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;
- +
- +#ifdef __cplusplus
- +extern "C" {
- +#endif
- +
- +int64_t vp9_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz);
- +#define vp9_block_error vp9_block_error_c
- +
- +int64_t vp9_block_error_fp_c(const int16_t *coeff, const int16_t *dqcoeff, int block_size);
- +#define vp9_block_error_fp vp9_block_error_fp_c
- +
- +int vp9_denoiser_filter_c(const uint8_t *sig, int sig_stride, const uint8_t *mc_avg, int mc_avg_stride, uint8_t *avg, int avg_stride, int increase_denoising, BLOCK_SIZE bs, int motion_magnitude);
- +#define vp9_denoiser_filter vp9_denoiser_filter_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_fdct8x8_quant_c(const int16_t* input,
- + int stride,
- + tran_low_t* coeff_ptr,
- + intptr_t n_coeffs,
- + int skip_block,
- + const int16_t* round_ptr,
- + const int16_t* quant_ptr,
- + tran_low_t* qcoeff_ptr,
- + tran_low_t* dqcoeff_ptr,
- + const int16_t* dequant_ptr,
- + uint16_t* eob_ptr,
- + const int16_t* scan,
- + const int16_t* iscan);
- +#define vp9_fdct8x8_quant vp9_fdct8x8_quant_c
- +
- +void vp9_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, int tx_type);
- +#define vp9_fht16x16 vp9_fht16x16_c
- +
- +void vp9_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_type);
- +#define vp9_fht4x4 vp9_fht4x4_c
- +
- +void vp9_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_type);
- +#define vp9_fht8x8 vp9_fht8x8_c
- +
- +void vp9_filter_by_weight16x16_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int src_weight);
- +#define vp9_filter_by_weight16x16 vp9_filter_by_weight16x16_c
- +
- +void vp9_filter_by_weight8x8_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int src_weight);
- +#define vp9_filter_by_weight8x8 vp9_filter_by_weight8x8_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, tran_low_t *output, int stride);
- +#define vp9_fwht4x4 vp9_fwht4x4_c
- +
- +void vp9_iht16x16_256_add_c(const tran_low_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 tran_low_t *input, uint8_t *dest, int dest_stride, int tx_type);
- +#define vp9_iht4x4_16_add vp9_iht4x4_16_add_c
- +
- +void vp9_iht8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, int tx_type);
- +#define vp9_iht8x8_64_add vp9_iht8x8_64_add_c
- +
- +void vp9_quantize_fp_c(const tran_low_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, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
- +#define vp9_quantize_fp vp9_quantize_fp_c
- +
- +void vp9_quantize_fp_32x32_c(const tran_low_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, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
- +#define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c
- +
- +void vp9_scale_and_extend_frame_c(const struct yv12_buffer_config *src, struct yv12_buffer_config *dst);
- +#define vp9_scale_and_extend_frame vp9_scale_and_extend_frame_c
- +
- +void vp9_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count);
- +#define vp9_temporal_filter_apply vp9_temporal_filter_apply_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/libvpx/source/config/win/arm/vpx_config.asm b/libvpx/source/config/win/arm/vpx_config.asm
- new file mode 100644
- index 00000000000..b2eee3b72b6
- --- /dev/null
- +++ b/libvpx/source/config/win/arm/vpx_config.asm
- @@ -0,0 +1,83 @@
- +ARCH_ARM * 1
- +ARCH_MIPS * 0
- +ARCH_X86 * 0
- +ARCH_X86_64 * 0
- +HAVE_NEON * 0
- +HAVE_NEON_ASM * 0
- +HAVE_MIPS32 * 0
- +HAVE_DSPR2 * 0
- +HAVE_MSA * 0
- +HAVE_MIPS64 * 0
- +HAVE_MMX * 0
- +HAVE_SSE * 0
- +HAVE_SSE2 * 0
- +HAVE_SSE3 * 0
- +HAVE_SSSE3 * 0
- +HAVE_SSE4_1 * 0
- +HAVE_AVX * 0
- +HAVE_AVX2 * 0
- +HAVE_VPX_PORTS * 1
- +HAVE_STDINT_H * 0
- +HAVE_PTHREAD_H * 0
- +HAVE_SYS_MMAN_H * 0
- +HAVE_UNISTD_H * 0
- +CONFIG_DEPENDENCY_TRACKING * 1
- +CONFIG_EXTERNAL_BUILD * 1
- +CONFIG_INSTALL_DOCS * 0
- +CONFIG_INSTALL_BINS * 1
- +CONFIG_INSTALL_LIBS * 1
- +CONFIG_INSTALL_SRCS * 0
- +CONFIG_DEBUG * 0
- +CONFIG_GPROF * 0
- +CONFIG_GCOV * 0
- +CONFIG_RVCT * 0
- +CONFIG_GCC * 0
- +CONFIG_MSVS * 1
- +CONFIG_PIC * 0
- +CONFIG_BIG_ENDIAN * 0
- +CONFIG_CODEC_SRCS * 0
- +CONFIG_DEBUG_LIBS * 0
- +CONFIG_DEQUANT_TOKENS * 0
- +CONFIG_DC_RECON * 0
- +CONFIG_RUNTIME_CPU_DETECT * 0
- +CONFIG_POSTPROC *1
- +CONFIG_VP9_POSTPROC * 0
- +CONFIG_MULTITHREAD * 1
- +CONFIG_INTERNAL_STATS * 0
- +CONFIG_VP8_ENCODER * 1
- +CONFIG_VP8_DECODER * 1
- +CONFIG_VP9_ENCODER * 1
- +CONFIG_VP9_DECODER * 1
- +CONFIG_VP8 * 1
- +CONFIG_VP9 * 1
- +CONFIG_ENCODERS * 1
- +CONFIG_DECODERS * 1
- +CONFIG_STATIC_MSVCRT * 0
- +CONFIG_SPATIAL_RESAMPLING * 1
- +CONFIG_REALTIME_ONLY * 1
- +CONFIG_ONTHEFLY_BITPACKING * 0
- +CONFIG_ERROR_CONCEALMENT * 0
- +CONFIG_SHARED * 0
- +CONFIG_STATIC * 1
- +CONFIG_SMALL * 0
- +CONFIG_POSTPROC_VISUALIZER * 0
- +CONFIG_OS_SUPPORT * 1
- +CONFIG_UNIT_TESTS * 0
- +CONFIG_WEBM_IO * 1
- +CONFIG_LIBYUV * 1
- +CONFIG_DECODE_PERF_TESTS * 0
- +CONFIG_ENCODE_PERF_TESTS * 0
- +CONFIG_MULTI_RES_ENCODING * 1
- +CONFIG_TEMPORAL_DENOISING * 1
- +CONFIG_VP9_TEMPORAL_DENOISING * 1
- +CONFIG_COEFFICIENT_RANGE_CHECKING * 0
- +CONFIG_VP9_HIGHBITDEPTH * 0
- +CONFIG_BETTER_HW_COMPATIBILITY * 0
- +CONFIG_EXPERIMENTAL * 0
- +CONFIG_SIZE_LIMIT * 1
- +CONFIG_SPATIAL_SVC * 0
- +CONFIG_FP_MB_STATS * 0
- +CONFIG_EMULATE_HARDWARE * 0
- +CONFIG_MISC_FIXES * 0
- +DECODE_WIDTH_LIMIT * 16384
- +DECODE_HEIGHT_LIMIT * 16384
- diff --git a/libvpx/source/config/win/arm/vpx_config.c b/libvpx/source/config/win/arm/vpx_config.c
- new file mode 100644
- index 00000000000..e9008dfac37
- --- /dev/null
- +++ b/libvpx/source/config/win/arm/vpx_config.c
- @@ -0,0 +1,10 @@
- +/* 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. */
- +#include "vpx/vpx_codec.h"
- +static const char* const cfg = "--target=armv7-win-vs12 --enable-realtime-only --disable-neon --enable-external-build --enable-postproc --disable-install-srcs --enable-multi-res-encoding --enable-temporal-denoising --disable-unit-tests --disable-install-docs --disable-examples --enable-vp9-temporal-denoising";
- +const char *vpx_codec_build_config(void) {return cfg;}
- diff --git a/libvpx/source/config/win/arm/vpx_config.h b/libvpx/source/config/win/arm/vpx_config.h
- new file mode 100644
- index 00000000000..46e038f38e9
- --- /dev/null
- +++ b/libvpx/source/config/win/arm/vpx_config.h
- @@ -0,0 +1,96 @@
- +/* 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 __forceinline
- +#define ARCH_ARM 1
- +#define ARCH_MIPS 0
- +#define ARCH_X86 0
- +#define ARCH_X86_64 0
- +#define HAVE_NEON 0
- +#define HAVE_NEON_ASM 0
- +#define HAVE_MIPS32 0
- +#define HAVE_DSPR2 0
- +#define HAVE_MSA 0
- +#define HAVE_MIPS64 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_VPX_PORTS 1
- +#define HAVE_STDINT_H 0
- +#define HAVE_PTHREAD_H 0
- +#define HAVE_SYS_MMAN_H 0
- +#define HAVE_UNISTD_H 0
- +#define CONFIG_DEPENDENCY_TRACKING 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_DEBUG 0
- +#define CONFIG_GPROF 0
- +#define CONFIG_GCOV 0
- +#define CONFIG_RVCT 0
- +#define CONFIG_GCC 0
- +#define CONFIG_MSVS 1
- +#define CONFIG_PIC 0
- +#define CONFIG_BIG_ENDIAN 0
- +#define CONFIG_CODEC_SRCS 0
- +#define CONFIG_DEBUG_LIBS 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 1
- +#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_LIBYUV 1
- +#define CONFIG_DECODE_PERF_TESTS 0
- +#define CONFIG_ENCODE_PERF_TESTS 0
- +#define CONFIG_MULTI_RES_ENCODING 1
- +#define CONFIG_TEMPORAL_DENOISING 1
- +#define CONFIG_VP9_TEMPORAL_DENOISING 1
- +#define CONFIG_COEFFICIENT_RANGE_CHECKING 0
- +#define CONFIG_VP9_HIGHBITDEPTH 0
- +#define CONFIG_BETTER_HW_COMPATIBILITY 0
- +#define CONFIG_EXPERIMENTAL 0
- +#define CONFIG_SIZE_LIMIT 1
- +#define CONFIG_SPATIAL_SVC 0
- +#define CONFIG_FP_MB_STATS 0
- +#define CONFIG_EMULATE_HARDWARE 0
- +#define CONFIG_MISC_FIXES 0
- +#define DECODE_WIDTH_LIMIT 16384
- +#define DECODE_HEIGHT_LIMIT 16384
- +#endif /* VPX_CONFIG_H */
- diff --git a/libvpx/source/config/win/arm/vpx_dsp_rtcd.h b/libvpx/source/config/win/arm/vpx_dsp_rtcd.h
- new file mode 100644
- index 00000000000..5b626df70d7
- --- /dev/null
- +++ b/libvpx/source/config/win/arm/vpx_dsp_rtcd.h
- @@ -0,0 +1,761 @@
- +#ifndef VPX_DSP_RTCD_H_
- +#define VPX_DSP_RTCD_H_
- +
- +#ifdef RTCD_C
- +#define RTCD_EXTERN
- +#else
- +#define RTCD_EXTERN extern
- +#endif
- +
- +/*
- + * DSP
- + */
- +
- +#include "vpx/vpx_integer.h"
- +#include "vpx_dsp/vpx_dsp_common.h"
- +
- +
- +#ifdef __cplusplus
- +extern "C" {
- +#endif
- +
- +unsigned int vpx_avg_4x4_c(const uint8_t *, int p);
- +#define vpx_avg_4x4 vpx_avg_4x4_c
- +
- +unsigned int vpx_avg_8x8_c(const uint8_t *, int p);
- +#define vpx_avg_8x8 vpx_avg_8x8_c
- +
- +void vpx_comp_avg_pred_c(uint8_t *comp_pred, const uint8_t *pred, int width, int height, const uint8_t *ref, int ref_stride);
- +#define vpx_comp_avg_pred vpx_comp_avg_pred_c
- +
- +void vpx_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);
- +#define vpx_convolve8 vpx_convolve8_c
- +
- +void vpx_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);
- +#define vpx_convolve8_avg vpx_convolve8_avg_c
- +
- +void vpx_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);
- +#define vpx_convolve8_avg_horiz vpx_convolve8_avg_horiz_c
- +
- +void vpx_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);
- +#define vpx_convolve8_avg_vert vpx_convolve8_avg_vert_c
- +
- +void vpx_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);
- +#define vpx_convolve8_horiz vpx_convolve8_horiz_c
- +
- +void vpx_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);
- +#define vpx_convolve8_vert vpx_convolve8_vert_c
- +
- +void vpx_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);
- +#define vpx_convolve_avg vpx_convolve_avg_c
- +
- +void vpx_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);
- +#define vpx_convolve_copy vpx_convolve_copy_c
- +
- +void vpx_d117_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d117_predictor_16x16 vpx_d117_predictor_16x16_c
- +
- +void vpx_d117_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d117_predictor_32x32 vpx_d117_predictor_32x32_c
- +
- +void vpx_d117_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d117_predictor_4x4 vpx_d117_predictor_4x4_c
- +
- +void vpx_d117_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d117_predictor_8x8 vpx_d117_predictor_8x8_c
- +
- +void vpx_d135_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d135_predictor_16x16 vpx_d135_predictor_16x16_c
- +
- +void vpx_d135_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d135_predictor_32x32 vpx_d135_predictor_32x32_c
- +
- +void vpx_d135_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d135_predictor_4x4 vpx_d135_predictor_4x4_c
- +
- +void vpx_d135_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d135_predictor_8x8 vpx_d135_predictor_8x8_c
- +
- +void vpx_d153_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d153_predictor_16x16 vpx_d153_predictor_16x16_c
- +
- +void vpx_d153_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d153_predictor_32x32 vpx_d153_predictor_32x32_c
- +
- +void vpx_d153_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d153_predictor_4x4 vpx_d153_predictor_4x4_c
- +
- +void vpx_d153_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d153_predictor_8x8 vpx_d153_predictor_8x8_c
- +
- +void vpx_d207_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d207_predictor_16x16 vpx_d207_predictor_16x16_c
- +
- +void vpx_d207_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d207_predictor_32x32 vpx_d207_predictor_32x32_c
- +
- +void vpx_d207_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d207_predictor_4x4 vpx_d207_predictor_4x4_c
- +
- +void vpx_d207_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d207_predictor_8x8 vpx_d207_predictor_8x8_c
- +
- +void vpx_d207e_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d207e_predictor_16x16 vpx_d207e_predictor_16x16_c
- +
- +void vpx_d207e_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d207e_predictor_32x32 vpx_d207e_predictor_32x32_c
- +
- +void vpx_d207e_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d207e_predictor_4x4 vpx_d207e_predictor_4x4_c
- +
- +void vpx_d207e_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d207e_predictor_8x8 vpx_d207e_predictor_8x8_c
- +
- +void vpx_d45_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d45_predictor_16x16 vpx_d45_predictor_16x16_c
- +
- +void vpx_d45_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d45_predictor_32x32 vpx_d45_predictor_32x32_c
- +
- +void vpx_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d45_predictor_4x4 vpx_d45_predictor_4x4_c
- +
- +void vpx_d45_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d45_predictor_8x8 vpx_d45_predictor_8x8_c
- +
- +void vpx_d45e_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d45e_predictor_16x16 vpx_d45e_predictor_16x16_c
- +
- +void vpx_d45e_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d45e_predictor_32x32 vpx_d45e_predictor_32x32_c
- +
- +void vpx_d45e_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d45e_predictor_4x4 vpx_d45e_predictor_4x4_c
- +
- +void vpx_d45e_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d45e_predictor_8x8 vpx_d45e_predictor_8x8_c
- +
- +void vpx_d63_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d63_predictor_16x16 vpx_d63_predictor_16x16_c
- +
- +void vpx_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d63_predictor_32x32 vpx_d63_predictor_32x32_c
- +
- +void vpx_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d63_predictor_4x4 vpx_d63_predictor_4x4_c
- +
- +void vpx_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d63_predictor_8x8 vpx_d63_predictor_8x8_c
- +
- +void vpx_d63e_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d63e_predictor_16x16 vpx_d63e_predictor_16x16_c
- +
- +void vpx_d63e_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d63e_predictor_32x32 vpx_d63e_predictor_32x32_c
- +
- +void vpx_d63e_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d63e_predictor_4x4 vpx_d63e_predictor_4x4_c
- +
- +void vpx_d63e_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d63e_predictor_8x8 vpx_d63e_predictor_8x8_c
- +
- +void vpx_d63f_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d63f_predictor_4x4 vpx_d63f_predictor_4x4_c
- +
- +void vpx_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_128_predictor_16x16 vpx_dc_128_predictor_16x16_c
- +
- +void vpx_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_128_predictor_32x32 vpx_dc_128_predictor_32x32_c
- +
- +void vpx_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_128_predictor_4x4 vpx_dc_128_predictor_4x4_c
- +
- +void vpx_dc_128_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_128_predictor_8x8 vpx_dc_128_predictor_8x8_c
- +
- +void vpx_dc_left_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_left_predictor_16x16 vpx_dc_left_predictor_16x16_c
- +
- +void vpx_dc_left_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_left_predictor_32x32 vpx_dc_left_predictor_32x32_c
- +
- +void vpx_dc_left_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_left_predictor_4x4 vpx_dc_left_predictor_4x4_c
- +
- +void vpx_dc_left_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_left_predictor_8x8 vpx_dc_left_predictor_8x8_c
- +
- +void vpx_dc_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_predictor_16x16 vpx_dc_predictor_16x16_c
- +
- +void vpx_dc_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_predictor_32x32 vpx_dc_predictor_32x32_c
- +
- +void vpx_dc_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_predictor_4x4 vpx_dc_predictor_4x4_c
- +
- +void vpx_dc_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_predictor_8x8 vpx_dc_predictor_8x8_c
- +
- +void vpx_dc_top_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_top_predictor_16x16 vpx_dc_top_predictor_16x16_c
- +
- +void vpx_dc_top_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_top_predictor_32x32 vpx_dc_top_predictor_32x32_c
- +
- +void vpx_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_top_predictor_4x4 vpx_dc_top_predictor_4x4_c
- +
- +void vpx_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_top_predictor_8x8 vpx_dc_top_predictor_8x8_c
- +
- +void vpx_fdct16x16_c(const int16_t *input, tran_low_t *output, int stride);
- +#define vpx_fdct16x16 vpx_fdct16x16_c
- +
- +void vpx_fdct16x16_1_c(const int16_t *input, tran_low_t *output, int stride);
- +#define vpx_fdct16x16_1 vpx_fdct16x16_1_c
- +
- +void vpx_fdct32x32_c(const int16_t *input, tran_low_t *output, int stride);
- +#define vpx_fdct32x32 vpx_fdct32x32_c
- +
- +void vpx_fdct32x32_1_c(const int16_t *input, tran_low_t *output, int stride);
- +#define vpx_fdct32x32_1 vpx_fdct32x32_1_c
- +
- +void vpx_fdct32x32_rd_c(const int16_t *input, tran_low_t *output, int stride);
- +#define vpx_fdct32x32_rd vpx_fdct32x32_rd_c
- +
- +void vpx_fdct4x4_c(const int16_t *input, tran_low_t *output, int stride);
- +#define vpx_fdct4x4 vpx_fdct4x4_c
- +
- +void vpx_fdct4x4_1_c(const int16_t *input, tran_low_t *output, int stride);
- +#define vpx_fdct4x4_1 vpx_fdct4x4_1_c
- +
- +void vpx_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride);
- +#define vpx_fdct8x8 vpx_fdct8x8_c
- +
- +void vpx_fdct8x8_1_c(const int16_t *input, tran_low_t *output, int stride);
- +#define vpx_fdct8x8_1 vpx_fdct8x8_1_c
- +
- +void vpx_get16x16var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
- +#define vpx_get16x16var vpx_get16x16var_c
- +
- +unsigned int vpx_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride);
- +#define vpx_get4x4sse_cs vpx_get4x4sse_cs_c
- +
- +void vpx_get8x8var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
- +#define vpx_get8x8var vpx_get8x8var_c
- +
- +unsigned int vpx_get_mb_ss_c(const int16_t *);
- +#define vpx_get_mb_ss vpx_get_mb_ss_c
- +
- +void vpx_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_h_predictor_16x16 vpx_h_predictor_16x16_c
- +
- +void vpx_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_h_predictor_32x32 vpx_h_predictor_32x32_c
- +
- +void vpx_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_h_predictor_4x4 vpx_h_predictor_4x4_c
- +
- +void vpx_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_h_predictor_8x8 vpx_h_predictor_8x8_c
- +
- +void vpx_hadamard_16x16_c(const int16_t *src_diff, int src_stride, int16_t *coeff);
- +#define vpx_hadamard_16x16 vpx_hadamard_16x16_c
- +
- +void vpx_hadamard_8x8_c(const int16_t *src_diff, int src_stride, int16_t *coeff);
- +#define vpx_hadamard_8x8 vpx_hadamard_8x8_c
- +
- +void vpx_he_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_he_predictor_4x4 vpx_he_predictor_4x4_c
- +
- +void vpx_idct16x16_10_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_idct16x16_10_add vpx_idct16x16_10_add_c
- +
- +void vpx_idct16x16_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_idct16x16_1_add vpx_idct16x16_1_add_c
- +
- +void vpx_idct16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_idct16x16_256_add vpx_idct16x16_256_add_c
- +
- +void vpx_idct16x16_38_add_c(const tran_low_t* input, uint8_t* dest, int dest_stride);
- +#define vpx_idct16x16_38_add vpx_idct16x16_38_add_c
- +
- +void vpx_idct32x32_1024_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_idct32x32_1024_add vpx_idct32x32_1024_add_c
- +
- +void vpx_idct32x32_135_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_idct32x32_135_add vpx_idct32x32_135_add_c
- +
- +void vpx_idct32x32_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_idct32x32_1_add vpx_idct32x32_1_add_c
- +
- +void vpx_idct32x32_34_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_idct32x32_34_add vpx_idct32x32_34_add_c
- +
- +void vpx_idct4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_idct4x4_16_add vpx_idct4x4_16_add_c
- +
- +void vpx_idct4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_idct4x4_1_add vpx_idct4x4_1_add_c
- +
- +void vpx_idct8x8_12_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_idct8x8_12_add vpx_idct8x8_12_add_c
- +
- +void vpx_idct8x8_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_idct8x8_1_add vpx_idct8x8_1_add_c
- +
- +void vpx_idct8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_idct8x8_64_add vpx_idct8x8_64_add_c
- +
- +int16_t vpx_int_pro_col_c(const uint8_t *ref, const int width);
- +#define vpx_int_pro_col vpx_int_pro_col_c
- +
- +void vpx_int_pro_row_c(int16_t *hbuf, const uint8_t *ref, const int ref_stride, const int height);
- +#define vpx_int_pro_row vpx_int_pro_row_c
- +
- +void vpx_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_iwht4x4_16_add vpx_iwht4x4_16_add_c
- +
- +void vpx_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_iwht4x4_1_add vpx_iwht4x4_1_add_c
- +
- +void vpx_lpf_horizontal_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
- +#define vpx_lpf_horizontal_4 vpx_lpf_horizontal_4_c
- +
- +void vpx_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);
- +#define vpx_lpf_horizontal_4_dual vpx_lpf_horizontal_4_dual_c
- +
- +void vpx_lpf_horizontal_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
- +#define vpx_lpf_horizontal_8 vpx_lpf_horizontal_8_c
- +
- +void vpx_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);
- +#define vpx_lpf_horizontal_8_dual vpx_lpf_horizontal_8_dual_c
- +
- +void vpx_lpf_horizontal_edge_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
- +#define vpx_lpf_horizontal_edge_16 vpx_lpf_horizontal_edge_16_c
- +
- +void vpx_lpf_horizontal_edge_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
- +#define vpx_lpf_horizontal_edge_8 vpx_lpf_horizontal_edge_8_c
- +
- +void vpx_lpf_vertical_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
- +#define vpx_lpf_vertical_16 vpx_lpf_vertical_16_c
- +
- +void vpx_lpf_vertical_16_dual_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
- +#define vpx_lpf_vertical_16_dual vpx_lpf_vertical_16_dual_c
- +
- +void vpx_lpf_vertical_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
- +#define vpx_lpf_vertical_4 vpx_lpf_vertical_4_c
- +
- +void vpx_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);
- +#define vpx_lpf_vertical_4_dual vpx_lpf_vertical_4_dual_c
- +
- +void vpx_lpf_vertical_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
- +#define vpx_lpf_vertical_8 vpx_lpf_vertical_8_c
- +
- +void vpx_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);
- +#define vpx_lpf_vertical_8_dual vpx_lpf_vertical_8_dual_c
- +
- +void vpx_mbpost_proc_across_ip_c(unsigned char *dst, int pitch, int rows, int cols,int flimit);
- +#define vpx_mbpost_proc_across_ip vpx_mbpost_proc_across_ip_c
- +
- +void vpx_mbpost_proc_down_c(unsigned char *dst, int pitch, int rows, int cols,int flimit);
- +#define vpx_mbpost_proc_down vpx_mbpost_proc_down_c
- +
- +void vpx_minmax_8x8_c(const uint8_t *s, int p, const uint8_t *d, int dp, int *min, int *max);
- +#define vpx_minmax_8x8 vpx_minmax_8x8_c
- +
- +unsigned int vpx_mse16x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
- +#define vpx_mse16x16 vpx_mse16x16_c
- +
- +unsigned int vpx_mse16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
- +#define vpx_mse16x8 vpx_mse16x8_c
- +
- +unsigned int vpx_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
- +#define vpx_mse8x16 vpx_mse8x16_c
- +
- +unsigned int vpx_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
- +#define vpx_mse8x8 vpx_mse8x8_c
- +
- +void vpx_plane_add_noise_c(uint8_t *start, const int8_t *noise, int blackclamp, int whiteclamp, int width, int height, int pitch);
- +#define vpx_plane_add_noise vpx_plane_add_noise_c
- +
- +void vpx_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 vpx_post_proc_down_and_across_mb_row vpx_post_proc_down_and_across_mb_row_c
- +
- +void vpx_quantize_b_c(const tran_low_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, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
- +#define vpx_quantize_b vpx_quantize_b_c
- +
- +void vpx_quantize_b_32x32_c(const tran_low_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, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
- +#define vpx_quantize_b_32x32 vpx_quantize_b_32x32_c
- +
- +unsigned int vpx_sad16x16_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad16x16 vpx_sad16x16_c
- +
- +unsigned int vpx_sad16x16_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad16x16_avg vpx_sad16x16_avg_c
- +
- +void vpx_sad16x16x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad16x16x3 vpx_sad16x16x3_c
- +
- +void vpx_sad16x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad16x16x4d vpx_sad16x16x4d_c
- +
- +void vpx_sad16x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad16x16x8 vpx_sad16x16x8_c
- +
- +unsigned int vpx_sad16x32_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad16x32 vpx_sad16x32_c
- +
- +unsigned int vpx_sad16x32_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad16x32_avg vpx_sad16x32_avg_c
- +
- +void vpx_sad16x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad16x32x4d vpx_sad16x32x4d_c
- +
- +unsigned int vpx_sad16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad16x8 vpx_sad16x8_c
- +
- +unsigned int vpx_sad16x8_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad16x8_avg vpx_sad16x8_avg_c
- +
- +void vpx_sad16x8x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad16x8x3 vpx_sad16x8x3_c
- +
- +void vpx_sad16x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad16x8x4d vpx_sad16x8x4d_c
- +
- +void vpx_sad16x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad16x8x8 vpx_sad16x8x8_c
- +
- +unsigned int vpx_sad32x16_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad32x16 vpx_sad32x16_c
- +
- +unsigned int vpx_sad32x16_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad32x16_avg vpx_sad32x16_avg_c
- +
- +void vpx_sad32x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad32x16x4d vpx_sad32x16x4d_c
- +
- +unsigned int vpx_sad32x32_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad32x32 vpx_sad32x32_c
- +
- +unsigned int vpx_sad32x32_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad32x32_avg vpx_sad32x32_avg_c
- +
- +void vpx_sad32x32x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad32x32x3 vpx_sad32x32x3_c
- +
- +void vpx_sad32x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad32x32x4d vpx_sad32x32x4d_c
- +
- +void vpx_sad32x32x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad32x32x8 vpx_sad32x32x8_c
- +
- +unsigned int vpx_sad32x64_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad32x64 vpx_sad32x64_c
- +
- +unsigned int vpx_sad32x64_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad32x64_avg vpx_sad32x64_avg_c
- +
- +void vpx_sad32x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad32x64x4d vpx_sad32x64x4d_c
- +
- +unsigned int vpx_sad4x4_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad4x4 vpx_sad4x4_c
- +
- +unsigned int vpx_sad4x4_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad4x4_avg vpx_sad4x4_avg_c
- +
- +void vpx_sad4x4x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad4x4x3 vpx_sad4x4x3_c
- +
- +void vpx_sad4x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad4x4x4d vpx_sad4x4x4d_c
- +
- +void vpx_sad4x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad4x4x8 vpx_sad4x4x8_c
- +
- +unsigned int vpx_sad4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad4x8 vpx_sad4x8_c
- +
- +unsigned int vpx_sad4x8_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad4x8_avg vpx_sad4x8_avg_c
- +
- +void vpx_sad4x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad4x8x4d vpx_sad4x8x4d_c
- +
- +void vpx_sad4x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad4x8x8 vpx_sad4x8x8_c
- +
- +unsigned int vpx_sad64x32_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad64x32 vpx_sad64x32_c
- +
- +unsigned int vpx_sad64x32_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad64x32_avg vpx_sad64x32_avg_c
- +
- +void vpx_sad64x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad64x32x4d vpx_sad64x32x4d_c
- +
- +unsigned int vpx_sad64x64_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad64x64 vpx_sad64x64_c
- +
- +unsigned int vpx_sad64x64_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad64x64_avg vpx_sad64x64_avg_c
- +
- +void vpx_sad64x64x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad64x64x3 vpx_sad64x64x3_c
- +
- +void vpx_sad64x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad64x64x4d vpx_sad64x64x4d_c
- +
- +void vpx_sad64x64x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad64x64x8 vpx_sad64x64x8_c
- +
- +unsigned int vpx_sad8x16_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad8x16 vpx_sad8x16_c
- +
- +unsigned int vpx_sad8x16_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad8x16_avg vpx_sad8x16_avg_c
- +
- +void vpx_sad8x16x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad8x16x3 vpx_sad8x16x3_c
- +
- +void vpx_sad8x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad8x16x4d vpx_sad8x16x4d_c
- +
- +void vpx_sad8x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad8x16x8 vpx_sad8x16x8_c
- +
- +unsigned int vpx_sad8x4_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad8x4 vpx_sad8x4_c
- +
- +unsigned int vpx_sad8x4_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad8x4_avg vpx_sad8x4_avg_c
- +
- +void vpx_sad8x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad8x4x4d vpx_sad8x4x4d_c
- +
- +void vpx_sad8x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad8x4x8 vpx_sad8x4x8_c
- +
- +unsigned int vpx_sad8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad8x8 vpx_sad8x8_c
- +
- +unsigned int vpx_sad8x8_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad8x8_avg vpx_sad8x8_avg_c
- +
- +void vpx_sad8x8x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad8x8x3 vpx_sad8x8x3_c
- +
- +void vpx_sad8x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad8x8x4d vpx_sad8x8x4d_c
- +
- +void vpx_sad8x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad8x8x8 vpx_sad8x8x8_c
- +
- +int vpx_satd_c(const int16_t *coeff, int length);
- +#define vpx_satd vpx_satd_c
- +
- +void vpx_scaled_2d_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);
- +#define vpx_scaled_2d vpx_scaled_2d_c
- +
- +void vpx_scaled_avg_2d_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);
- +#define vpx_scaled_avg_2d vpx_scaled_avg_2d_c
- +
- +void vpx_scaled_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);
- +#define vpx_scaled_avg_horiz vpx_scaled_avg_horiz_c
- +
- +void vpx_scaled_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);
- +#define vpx_scaled_avg_vert vpx_scaled_avg_vert_c
- +
- +void vpx_scaled_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);
- +#define vpx_scaled_horiz vpx_scaled_horiz_c
- +
- +void vpx_scaled_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);
- +#define vpx_scaled_vert vpx_scaled_vert_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance16x16 vpx_sub_pixel_avg_variance16x16_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance16x32 vpx_sub_pixel_avg_variance16x32_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance16x8 vpx_sub_pixel_avg_variance16x8_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance32x16 vpx_sub_pixel_avg_variance32x16_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance32x32 vpx_sub_pixel_avg_variance32x32_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance32x64 vpx_sub_pixel_avg_variance32x64_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance4x4 vpx_sub_pixel_avg_variance4x4_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance4x8 vpx_sub_pixel_avg_variance4x8_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance64x32 vpx_sub_pixel_avg_variance64x32_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance64x64 vpx_sub_pixel_avg_variance64x64_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance8x16 vpx_sub_pixel_avg_variance8x16_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance8x4 vpx_sub_pixel_avg_variance8x4_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance8x8 vpx_sub_pixel_avg_variance8x8_c
- +
- +uint32_t vpx_sub_pixel_variance16x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance16x16 vpx_sub_pixel_variance16x16_c
- +
- +uint32_t vpx_sub_pixel_variance16x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance16x32 vpx_sub_pixel_variance16x32_c
- +
- +uint32_t vpx_sub_pixel_variance16x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance16x8 vpx_sub_pixel_variance16x8_c
- +
- +uint32_t vpx_sub_pixel_variance32x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance32x16 vpx_sub_pixel_variance32x16_c
- +
- +uint32_t vpx_sub_pixel_variance32x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance32x32 vpx_sub_pixel_variance32x32_c
- +
- +uint32_t vpx_sub_pixel_variance32x64_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance32x64 vpx_sub_pixel_variance32x64_c
- +
- +uint32_t vpx_sub_pixel_variance4x4_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance4x4 vpx_sub_pixel_variance4x4_c
- +
- +uint32_t vpx_sub_pixel_variance4x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance4x8 vpx_sub_pixel_variance4x8_c
- +
- +uint32_t vpx_sub_pixel_variance64x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance64x32 vpx_sub_pixel_variance64x32_c
- +
- +uint32_t vpx_sub_pixel_variance64x64_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance64x64 vpx_sub_pixel_variance64x64_c
- +
- +uint32_t vpx_sub_pixel_variance8x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance8x16 vpx_sub_pixel_variance8x16_c
- +
- +uint32_t vpx_sub_pixel_variance8x4_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance8x4 vpx_sub_pixel_variance8x4_c
- +
- +uint32_t vpx_sub_pixel_variance8x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance8x8 vpx_sub_pixel_variance8x8_c
- +
- +void vpx_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 vpx_subtract_block vpx_subtract_block_c
- +
- +uint64_t vpx_sum_squares_2d_i16_c(const int16_t *src, int stride, int size);
- +#define vpx_sum_squares_2d_i16 vpx_sum_squares_2d_i16_c
- +
- +void vpx_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_tm_predictor_16x16 vpx_tm_predictor_16x16_c
- +
- +void vpx_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_tm_predictor_32x32 vpx_tm_predictor_32x32_c
- +
- +void vpx_tm_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_tm_predictor_4x4 vpx_tm_predictor_4x4_c
- +
- +void vpx_tm_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_tm_predictor_8x8 vpx_tm_predictor_8x8_c
- +
- +void vpx_v_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_v_predictor_16x16 vpx_v_predictor_16x16_c
- +
- +void vpx_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_v_predictor_32x32 vpx_v_predictor_32x32_c
- +
- +void vpx_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_v_predictor_4x4 vpx_v_predictor_4x4_c
- +
- +void vpx_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_v_predictor_8x8 vpx_v_predictor_8x8_c
- +
- +unsigned int vpx_variance16x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance16x16 vpx_variance16x16_c
- +
- +unsigned int vpx_variance16x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance16x32 vpx_variance16x32_c
- +
- +unsigned int vpx_variance16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance16x8 vpx_variance16x8_c
- +
- +unsigned int vpx_variance32x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance32x16 vpx_variance32x16_c
- +
- +unsigned int vpx_variance32x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance32x32 vpx_variance32x32_c
- +
- +unsigned int vpx_variance32x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance32x64 vpx_variance32x64_c
- +
- +unsigned int vpx_variance4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance4x4 vpx_variance4x4_c
- +
- +unsigned int vpx_variance4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance4x8 vpx_variance4x8_c
- +
- +unsigned int vpx_variance64x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance64x32 vpx_variance64x32_c
- +
- +unsigned int vpx_variance64x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance64x64 vpx_variance64x64_c
- +
- +unsigned int vpx_variance8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance8x16 vpx_variance8x16_c
- +
- +unsigned int vpx_variance8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance8x4 vpx_variance8x4_c
- +
- +unsigned int vpx_variance8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance8x8 vpx_variance8x8_c
- +
- +uint32_t vpx_variance_halfpixvar16x16_h_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_variance_halfpixvar16x16_h vpx_variance_halfpixvar16x16_h_c
- +
- +uint32_t vpx_variance_halfpixvar16x16_hv_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_variance_halfpixvar16x16_hv vpx_variance_halfpixvar16x16_hv_c
- +
- +uint32_t vpx_variance_halfpixvar16x16_v_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_variance_halfpixvar16x16_v vpx_variance_halfpixvar16x16_v_c
- +
- +void vpx_ve_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_ve_predictor_4x4 vpx_ve_predictor_4x4_c
- +
- +int vpx_vector_var_c(const int16_t *ref, const int16_t *src, const int bwl);
- +#define vpx_vector_var vpx_vector_var_c
- +
- +void vpx_dsp_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/libvpx/source/config/win/arm/vpx_scale_rtcd.h b/libvpx/source/config/win/arm/vpx_scale_rtcd.h
- new file mode 100644
- index 00000000000..a1564b7ad6c
- --- /dev/null
- +++ b/libvpx/source/config/win/arm/vpx_scale_rtcd.h
- @@ -0,0 +1,71 @@
- +#ifndef VPX_SCALE_RTCD_H_
- +#define VPX_SCALE_RTCD_H_
- +
- +#ifdef RTCD_C
- +#define RTCD_EXTERN
- +#else
- +#define RTCD_EXTERN extern
- +#endif
- +
- +struct yv12_buffer_config;
- +
- +#ifdef __cplusplus
- +extern "C" {
- +#endif
- +
- +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 vpx_extend_frame_borders_c(struct yv12_buffer_config *ybf);
- +#define vpx_extend_frame_borders vpx_extend_frame_borders_c
- +
- +void vpx_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf);
- +#define vpx_extend_frame_inner_borders vpx_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/libvpx/source/config/win/generic/vp8_rtcd.h b/libvpx/source/config/win/generic/vp8_rtcd.h
- new file mode 100644
- index 00000000000..e8188351382
- --- /dev/null
- +++ b/libvpx/source/config/win/generic/vp8_rtcd.h
- @@ -0,0 +1,313 @@
- +#ifndef VP8_RTCD_H_
- +#define VP8_RTCD_H_
- +
- +#ifdef RTCD_C
- +#define RTCD_EXTERN
- +#else
- +#define RTCD_EXTERN extern
- +#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;
- +
- +#ifdef __cplusplus
- +extern "C" {
- +#endif
- +
- +void vp8_bilinear_predict16x16_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
- +#define vp8_bilinear_predict16x16 vp8_bilinear_predict16x16_c
- +
- +void vp8_bilinear_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
- +#define vp8_bilinear_predict4x4 vp8_bilinear_predict4x4_c
- +
- +void vp8_bilinear_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
- +#define vp8_bilinear_predict8x4 vp8_bilinear_predict8x4_c
- +
- +void vp8_bilinear_predict8x8_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
- +#define vp8_bilinear_predict8x8 vp8_bilinear_predict8x8_c
- +
- +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);
- +#define vp8_copy_mem16x16 vp8_copy_mem16x16_c
- +
- +void vp8_copy_mem8x4_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
- +#define vp8_copy_mem8x4 vp8_copy_mem8x4_c
- +
- +void vp8_copy_mem8x8_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
- +#define vp8_copy_mem8x8 vp8_copy_mem8x8_c
- +
- +void vp8_dc_only_idct_add_c(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_c
- +
- +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);
- +#define vp8_denoiser_filter vp8_denoiser_filter_c
- +
- +int vp8_denoiser_filter_uv_c(unsigned char *mc_running_avg, int mc_avg_stride, unsigned char *running_avg, int avg_stride, unsigned char *sig, int sig_stride, unsigned int motion_magnitude, int increase_denoising);
- +#define vp8_denoiser_filter_uv vp8_denoiser_filter_uv_c
- +
- +void vp8_dequant_idct_add_c(short *input, short *dq, unsigned char *output, int stride);
- +#define vp8_dequant_idct_add vp8_dequant_idct_add_c
- +
- +void vp8_dequant_idct_add_uv_block_c(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_c
- +
- +void vp8_dequant_idct_add_y_block_c(short *q, short *dq, unsigned char *dst, int stride, char *eobs);
- +#define vp8_dequant_idct_add_y_block vp8_dequant_idct_add_y_block_c
- +
- +void vp8_dequantize_b_c(struct blockd*, short *dqc);
- +#define vp8_dequantize_b vp8_dequantize_b_c
- +
- +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 *);
- +#define vp8_fast_quantize_b vp8_fast_quantize_b_c
- +
- +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);
- +#define vp8_get4x4sse_cs vp8_get4x4sse_cs_c
- +
- +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);
- +#define vp8_intra4x4_predict vp8_intra4x4_predict_c
- +
- +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);
- +#define vp8_loop_filter_bh vp8_loop_filter_bh_c
- +
- +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);
- +#define vp8_loop_filter_bv vp8_loop_filter_bv_c
- +
- +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);
- +#define vp8_loop_filter_mbh vp8_loop_filter_mbh_c
- +
- +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);
- +#define vp8_loop_filter_mbv vp8_loop_filter_mbv_c
- +
- +void vp8_loop_filter_bhs_c(unsigned char *y, int ystride, const unsigned char *blimit);
- +#define vp8_loop_filter_simple_bh vp8_loop_filter_bhs_c
- +
- +void vp8_loop_filter_bvs_c(unsigned char *y, int ystride, const unsigned char *blimit);
- +#define vp8_loop_filter_simple_bv vp8_loop_filter_bvs_c
- +
- +void vp8_loop_filter_simple_horizontal_edge_c(unsigned char *y, int ystride, const unsigned char *blimit);
- +#define vp8_loop_filter_simple_mbh vp8_loop_filter_simple_horizontal_edge_c
- +
- +void vp8_loop_filter_simple_vertical_edge_c(unsigned char *y, int ystride, const unsigned char *blimit);
- +#define vp8_loop_filter_simple_mbv vp8_loop_filter_simple_vertical_edge_c
- +
- +int vp8_mbblock_error_c(struct macroblock *mb, int dc);
- +#define vp8_mbblock_error vp8_mbblock_error_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);
- +#define vp8_mse16x16 vp8_mse16x16_c
- +
- +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
- +
- +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);
- +#define vp8_sad16x16 vp8_sad16x16_c
- +
- +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);
- +#define vp8_sad16x8 vp8_sad16x8_c
- +
- +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);
- +#define vp8_sad4x4 vp8_sad4x4_c
- +
- +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);
- +#define vp8_sad8x16 vp8_sad8x16_c
- +
- +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);
- +#define vp8_sad8x8 vp8_sad8x8_c
- +
- +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);
- +#define vp8_short_fdct4x4 vp8_short_fdct4x4_c
- +
- +void vp8_short_fdct8x4_c(short *input, short *output, int pitch);
- +#define vp8_short_fdct8x4 vp8_short_fdct8x4_c
- +
- +void vp8_short_idct4x4llm_c(short *input, unsigned char *pred, int pitch, unsigned char *dst, int dst_stride);
- +#define vp8_short_idct4x4llm vp8_short_idct4x4llm_c
- +
- +void vp8_short_inv_walsh4x4_c(short *input, short *output);
- +#define vp8_short_inv_walsh4x4 vp8_short_inv_walsh4x4_c
- +
- +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);
- +#define vp8_short_walsh4x4 vp8_short_walsh4x4_c
- +
- +void vp8_sixtap_predict16x16_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
- +#define vp8_sixtap_predict16x16 vp8_sixtap_predict16x16_c
- +
- +void vp8_sixtap_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
- +#define vp8_sixtap_predict4x4 vp8_sixtap_predict4x4_c
- +
- +void vp8_sixtap_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
- +#define vp8_sixtap_predict8x4 vp8_sixtap_predict8x4_c
- +
- +void vp8_sixtap_predict8x8_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
- +#define vp8_sixtap_predict8x8 vp8_sixtap_predict8x8_c
- +
- +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);
- +#define vp8_sub_pixel_variance16x16 vp8_sub_pixel_variance16x16_c
- +
- +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);
- +#define vp8_sub_pixel_variance8x8 vp8_sub_pixel_variance8x8_c
- +
- +void vp8_subtract_b_c(struct block *be, struct blockd *bd, int pitch);
- +#define vp8_subtract_b vp8_subtract_b_c
- +
- +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);
- +#define vp8_subtract_mbuv vp8_subtract_mbuv_c
- +
- +void vp8_subtract_mby_c(short *diff, unsigned char *src, int src_stride, unsigned char *pred, int pred_stride);
- +#define vp8_subtract_mby vp8_subtract_mby_c
- +
- +unsigned int vp8_variance16x16_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vp8_variance16x16 vp8_variance16x16_c
- +
- +unsigned int vp8_variance16x8_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vp8_variance16x8 vp8_variance16x8_c
- +
- +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);
- +#define vp8_variance8x16 vp8_variance8x16_c
- +
- +unsigned int vp8_variance8x8_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vp8_variance8x8 vp8_variance8x8_c
- +
- +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);
- +#define vp8_variance_halfpixvar16x16_h vp8_variance_halfpixvar16x16_h_c
- +
- +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);
- +#define vp8_variance_halfpixvar16x16_hv vp8_variance_halfpixvar16x16_hv_c
- +
- +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);
- +#define vp8_variance_halfpixvar16x16_v vp8_variance_halfpixvar16x16_v_c
- +
- +void vp8_rtcd(void);
- +
- +#include "vpx_config.h"
- +
- +#ifdef RTCD_C
- +static void setup_rtcd_internal(void)
- +{
- +}
- +#endif
- +
- +#ifdef __cplusplus
- +} // extern "C"
- +#endif
- +
- +#endif
- diff --git a/libvpx/source/config/win/generic/vp9_rtcd.h b/libvpx/source/config/win/generic/vp9_rtcd.h
- new file mode 100644
- index 00000000000..70dde47c70e
- --- /dev/null
- +++ b/libvpx/source/config/win/generic/vp9_rtcd.h
- @@ -0,0 +1,706 @@
- +#ifndef VP9_RTCD_H_
- +#define VP9_RTCD_H_
- +
- +#ifdef RTCD_C
- +#define RTCD_EXTERN
- +#else
- +#define RTCD_EXTERN extern
- +#endif
- +
- +/*
- + * VP9
- + */
- +
- +#include "vpx/vpx_integer.h"
- +#include "vp9/common/vp9_common.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;
- +
- +#ifdef __cplusplus
- +extern "C" {
- +#endif
- +
- +unsigned int vp9_avg_4x4_c(const uint8_t *, int p);
- +#define vp9_avg_4x4 vp9_avg_4x4_c
- +
- +unsigned int vp9_avg_8x8_c(const uint8_t *, int p);
- +#define vp9_avg_8x8 vp9_avg_8x8_c
- +
- +int64_t vp9_block_error_c(const tran_low_t *coeff, const tran_low_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);
- +#define vp9_convolve8 vp9_convolve8_c
- +
- +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);
- +#define vp9_convolve8_avg vp9_convolve8_avg_c
- +
- +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);
- +#define vp9_convolve8_avg_horiz vp9_convolve8_avg_horiz_c
- +
- +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);
- +#define vp9_convolve8_avg_vert vp9_convolve8_avg_vert_c
- +
- +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);
- +#define vp9_convolve8_horiz vp9_convolve8_horiz_c
- +
- +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);
- +#define vp9_convolve8_vert vp9_convolve8_vert_c
- +
- +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);
- +#define vp9_convolve_avg vp9_convolve_avg_c
- +
- +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);
- +#define vp9_convolve_copy vp9_convolve_copy_c
- +
- +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_denoiser_filter_c(const uint8_t *sig, int sig_stride, const uint8_t *mc_avg, int mc_avg_stride, uint8_t *avg, int avg_stride, int increase_denoising, BLOCK_SIZE bs, int motion_magnitude);
- +#define vp9_denoiser_filter vp9_denoiser_filter_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, tran_low_t *output, int stride);
- +#define vp9_fdct16x16 vp9_fdct16x16_c
- +
- +void vp9_fdct16x16_1_c(const int16_t *input, tran_low_t *output, int stride);
- +#define vp9_fdct16x16_1 vp9_fdct16x16_1_c
- +
- +void vp9_fdct32x32_c(const int16_t *input, tran_low_t *output, int stride);
- +#define vp9_fdct32x32 vp9_fdct32x32_c
- +
- +void vp9_fdct32x32_1_c(const int16_t *input, tran_low_t *output, int stride);
- +#define vp9_fdct32x32_1 vp9_fdct32x32_1_c
- +
- +void vp9_fdct32x32_rd_c(const int16_t *input, tran_low_t *output, int stride);
- +#define vp9_fdct32x32_rd vp9_fdct32x32_rd_c
- +
- +void vp9_fdct4x4_c(const int16_t *input, tran_low_t *output, int stride);
- +#define vp9_fdct4x4 vp9_fdct4x4_c
- +
- +void vp9_fdct4x4_1_c(const int16_t *input, tran_low_t *output, int stride);
- +#define vp9_fdct4x4_1 vp9_fdct4x4_1_c
- +
- +void vp9_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride);
- +#define vp9_fdct8x8 vp9_fdct8x8_c
- +
- +void vp9_fdct8x8_1_c(const int16_t *input, tran_low_t *output, int stride);
- +#define vp9_fdct8x8_1 vp9_fdct8x8_1_c
- +
- +void vp9_fdct8x8_quant_c(const int16_t *input, int stride, tran_low_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, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
- +#define vp9_fdct8x8_quant vp9_fdct8x8_quant_c
- +
- +void vp9_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, int tx_type);
- +#define vp9_fht16x16 vp9_fht16x16_c
- +
- +void vp9_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_type);
- +#define vp9_fht4x4 vp9_fht4x4_c
- +
- +void vp9_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_type);
- +#define vp9_fht8x8 vp9_fht8x8_c
- +
- +void vp9_filter_by_weight16x16_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int src_weight);
- +#define vp9_filter_by_weight16x16 vp9_filter_by_weight16x16_c
- +
- +void vp9_filter_by_weight8x8_c(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int src_weight);
- +#define vp9_filter_by_weight8x8 vp9_filter_by_weight8x8_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, tran_low_t *output, int stride);
- +#define vp9_fwht4x4 vp9_fwht4x4_c
- +
- +void vp9_get16x16var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
- +#define vp9_get16x16var vp9_get16x16var_c
- +
- +void vp9_get8x8var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
- +#define vp9_get8x8var vp9_get8x8var_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);
- +#define vp9_h_predictor_16x16 vp9_h_predictor_16x16_c
- +
- +void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vp9_h_predictor_32x32 vp9_h_predictor_32x32_c
- +
- +void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vp9_h_predictor_4x4 vp9_h_predictor_4x4_c
- +
- +void vp9_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vp9_h_predictor_8x8 vp9_h_predictor_8x8_c
- +
- +void vp9_idct16x16_10_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vp9_idct16x16_10_add vp9_idct16x16_10_add_c
- +
- +void vp9_idct16x16_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vp9_idct16x16_1_add vp9_idct16x16_1_add_c
- +
- +void vp9_idct16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vp9_idct16x16_256_add vp9_idct16x16_256_add_c
- +
- +void vp9_idct32x32_1024_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vp9_idct32x32_1024_add vp9_idct32x32_1024_add_c
- +
- +void vp9_idct32x32_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vp9_idct32x32_1_add vp9_idct32x32_1_add_c
- +
- +void vp9_idct32x32_34_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vp9_idct32x32_34_add vp9_idct32x32_34_add_c
- +
- +void vp9_idct4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vp9_idct4x4_16_add vp9_idct4x4_16_add_c
- +
- +void vp9_idct4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vp9_idct4x4_1_add vp9_idct4x4_1_add_c
- +
- +void vp9_idct8x8_12_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vp9_idct8x8_12_add vp9_idct8x8_12_add_c
- +
- +void vp9_idct8x8_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vp9_idct8x8_1_add vp9_idct8x8_1_add_c
- +
- +void vp9_idct8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vp9_idct8x8_64_add vp9_idct8x8_64_add_c
- +
- +void vp9_iht16x16_256_add_c(const tran_low_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 tran_low_t *input, uint8_t *dest, int dest_stride, int tx_type);
- +#define vp9_iht4x4_16_add vp9_iht4x4_16_add_c
- +
- +void vp9_iht8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride, int tx_type);
- +#define vp9_iht8x8_64_add vp9_iht8x8_64_add_c
- +
- +int16_t vp9_int_pro_col_c(uint8_t const *ref, const int width);
- +#define vp9_int_pro_col vp9_int_pro_col_c
- +
- +void vp9_int_pro_row_c(int16_t *hbuf, uint8_t const *ref, const int ref_stride, const int height);
- +#define vp9_int_pro_row vp9_int_pro_row_c
- +
- +void vp9_iwht4x4_16_add_c(const tran_low_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 tran_low_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);
- +#define vp9_lpf_horizontal_16 vp9_lpf_horizontal_16_c
- +
- +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);
- +#define vp9_lpf_horizontal_4 vp9_lpf_horizontal_4_c
- +
- +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);
- +#define vp9_lpf_horizontal_4_dual vp9_lpf_horizontal_4_dual_c
- +
- +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);
- +#define vp9_lpf_horizontal_8 vp9_lpf_horizontal_8_c
- +
- +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);
- +#define vp9_lpf_horizontal_8_dual vp9_lpf_horizontal_8_dual_c
- +
- +void vp9_lpf_vertical_16_c(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_c
- +
- +void vp9_lpf_vertical_16_dual_c(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_c
- +
- +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);
- +#define vp9_lpf_vertical_4 vp9_lpf_vertical_4_c
- +
- +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);
- +#define vp9_lpf_vertical_4_dual vp9_lpf_vertical_4_dual_c
- +
- +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);
- +#define vp9_lpf_vertical_8 vp9_lpf_vertical_8_c
- +
- +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);
- +#define vp9_lpf_vertical_8_dual vp9_lpf_vertical_8_dual_c
- +
- +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 tran_low_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, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, 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 tran_low_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, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
- +#define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c
- +
- +void vp9_quantize_fp_c(const tran_low_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, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
- +#define vp9_quantize_fp vp9_quantize_fp_c
- +
- +void vp9_quantize_fp_32x32_c(const tran_low_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, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
- +#define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c
- +
- +unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
- +#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);
- +#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);
- +#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);
- +#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);
- +#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);
- +#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);
- +#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);
- +#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);
- +#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);
- +#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);
- +#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);
- +#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);
- +#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);
- +#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);
- +#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);
- +#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);
- +#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);
- +#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);
- +#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);
- +#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);
- +#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);
- +#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);
- +#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);
- +#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);
- +#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);
- +#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_width, unsigned int block_height, 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);
- +#define vp9_tm_predictor_16x16 vp9_tm_predictor_16x16_c
- +
- +void vp9_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vp9_tm_predictor_32x32 vp9_tm_predictor_32x32_c
- +
- +void vp9_tm_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vp9_tm_predictor_4x4 vp9_tm_predictor_4x4_c
- +
- +void vp9_tm_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vp9_tm_predictor_8x8 vp9_tm_predictor_8x8_c
- +
- +void vp9_v_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vp9_v_predictor_16x16 vp9_v_predictor_16x16_c
- +
- +void vp9_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vp9_v_predictor_32x32 vp9_v_predictor_32x32_c
- +
- +void vp9_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vp9_v_predictor_4x4 vp9_v_predictor_4x4_c
- +
- +void vp9_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vp9_v_predictor_8x8 vp9_v_predictor_8x8_c
- +
- +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
- +
- +int vp9_vector_var_c(int16_t const *ref, int16_t const *src, const int bwl);
- +#define vp9_vector_var vp9_vector_var_c
- +
- +void vp9_rtcd(void);
- +
- +#include "vpx_config.h"
- +
- +#ifdef RTCD_C
- +static void setup_rtcd_internal(void)
- +{
- +}
- +#endif
- +
- +#ifdef __cplusplus
- +} // extern "C"
- +#endif
- +
- +#endif
- diff --git a/libvpx/source/config/win/generic/vpx_config.asm b/libvpx/source/config/win/generic/vpx_config.asm
- new file mode 100644
- index 00000000000..762234bedaf
- --- /dev/null
- +++ b/libvpx/source/config/win/generic/vpx_config.asm
- @@ -0,0 +1,86 @@
- +%define ARCH_ARM 0
- +%define ARCH_MIPS 0
- +%define ARCH_X86 0
- +%define ARCH_X86_64 0
- +%define ARCH_PPC32 0
- +%define ARCH_PPC64 0
- +%define HAVE_NEON 0
- +%define HAVE_NEON_ASM 0
- +%define HAVE_MIPS32 0
- +%define HAVE_DSPR2 0
- +%define HAVE_MIPS64 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 0
- +%define HAVE_ALT_TREE_LAYOUT 0
- +%define HAVE_PTHREAD_H 0
- +%define HAVE_SYS_MMAN_H 0
- +%define HAVE_UNISTD_H 0
- +%define CONFIG_DEPENDENCY_TRACKING 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_DEBUG 0
- +%define CONFIG_GPROF 0
- +%define CONFIG_GCOV 0
- +%define CONFIG_RVCT 0
- +%define CONFIG_GCC 0
- +%define CONFIG_MSVS 1
- +%define CONFIG_PIC 0
- +%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 1
- +%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_LIBYUV 1
- +%define CONFIG_DECODE_PERF_TESTS 0
- +%define CONFIG_ENCODE_PERF_TESTS 0
- +%define CONFIG_MULTI_RES_ENCODING 1
- +%define CONFIG_TEMPORAL_DENOISING 1
- +%define CONFIG_VP9_TEMPORAL_DENOISING 1
- +%define CONFIG_COEFFICIENT_RANGE_CHECKING 0
- +%define CONFIG_VP9_HIGHBITDEPTH 0
- +%define CONFIG_EXPERIMENTAL 0
- +%define CONFIG_SIZE_LIMIT 0
- +%define CONFIG_SPATIAL_SVC 0
- +%define CONFIG_FP_MB_STATS 0
- +%define CONFIG_EMULATE_HARDWARE 0
- diff --git a/libvpx/source/config/win/generic/vpx_config.c b/libvpx/source/config/win/generic/vpx_config.c
- new file mode 100644
- index 00000000000..0839c0f8d46
- --- /dev/null
- +++ b/libvpx/source/config/win/generic/vpx_config.c
- @@ -0,0 +1,9 @@
- +/* 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=generic-vs12 --enable-realtime-only --enable-external-build --enable-postproc --disable-install-srcs --enable-multi-res-encoding --enable-temporal-denoising --disable-unit-tests --disable-install-docs --disable-examples --enable-vp9-temporal-denoising";
- +const char *vpx_codec_build_config(void) {return cfg;}
- diff --git a/libvpx/source/config/win/generic/vpx_config.h b/libvpx/source/config/win/generic/vpx_config.h
- new file mode 100644
- index 00000000000..9514067ee8f
- --- /dev/null
- +++ b/libvpx/source/config/win/generic/vpx_config.h
- @@ -0,0 +1,99 @@
- +/* 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 __forceinline
- +#define ARCH_ARM 0
- +#define ARCH_MIPS 0
- +#define ARCH_X86 0
- +#define ARCH_X86_64 0
- +#define ARCH_PPC32 0
- +#define ARCH_PPC64 0
- +#define HAVE_NEON 0
- +#define HAVE_NEON_ASM 0
- +#define HAVE_MIPS32 0
- +#define HAVE_DSPR2 0
- +#define HAVE_MIPS64 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 0
- +#define HAVE_ALT_TREE_LAYOUT 0
- +#define HAVE_PTHREAD_H 0
- +#define HAVE_SYS_MMAN_H 0
- +#define HAVE_UNISTD_H 0
- +#define CONFIG_DEPENDENCY_TRACKING 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_DEBUG 0
- +#define CONFIG_GPROF 0
- +#define CONFIG_GCOV 0
- +#define CONFIG_RVCT 0
- +#define CONFIG_GCC 0
- +#define CONFIG_MSVS 1
- +#define CONFIG_PIC 0
- +#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 1
- +#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_LIBYUV 1
- +#define CONFIG_DECODE_PERF_TESTS 0
- +#define CONFIG_ENCODE_PERF_TESTS 0
- +#define CONFIG_MULTI_RES_ENCODING 1
- +#define CONFIG_TEMPORAL_DENOISING 1
- +#define CONFIG_VP9_TEMPORAL_DENOISING 1
- +#define CONFIG_COEFFICIENT_RANGE_CHECKING 0
- +#define CONFIG_VP9_HIGHBITDEPTH 0
- +#define CONFIG_EXPERIMENTAL 0
- +#define CONFIG_SIZE_LIMIT 0
- +#define CONFIG_SPATIAL_SVC 0
- +#define CONFIG_FP_MB_STATS 0
- +#define CONFIG_EMULATE_HARDWARE 0
- +#endif /* VPX_CONFIG_H */
- diff --git a/libvpx/source/config/win/generic/vpx_dsp_rtcd.h b/libvpx/source/config/win/generic/vpx_dsp_rtcd.h
- new file mode 100644
- index 00000000000..16169bece91
- --- /dev/null
- +++ b/libvpx/source/config/win/generic/vpx_dsp_rtcd.h
- @@ -0,0 +1,753 @@
- +#ifndef VPX_DSP_RTCD_H_
- +#define VPX_DSP_RTCD_H_
- +
- +#ifdef RTCD_C
- +#define RTCD_EXTERN
- +#else
- +#define RTCD_EXTERN extern
- +#endif
- +
- +/*
- + * DSP
- + */
- +
- +#include "vpx/vpx_integer.h"
- +#include "vpx_dsp/vpx_dsp_common.h"
- +
- +
- +#ifdef __cplusplus
- +extern "C" {
- +#endif
- +
- +unsigned int vpx_avg_4x4_c(const uint8_t *, int p);
- +#define vpx_avg_4x4 vpx_avg_4x4_c
- +
- +unsigned int vpx_avg_8x8_c(const uint8_t *, int p);
- +#define vpx_avg_8x8 vpx_avg_8x8_c
- +
- +void vpx_comp_avg_pred_c(uint8_t *comp_pred, const uint8_t *pred, int width, int height, const uint8_t *ref, int ref_stride);
- +#define vpx_comp_avg_pred vpx_comp_avg_pred_c
- +
- +void vpx_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);
- +#define vpx_convolve8 vpx_convolve8_c
- +
- +void vpx_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);
- +#define vpx_convolve8_avg vpx_convolve8_avg_c
- +
- +void vpx_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);
- +#define vpx_convolve8_avg_horiz vpx_convolve8_avg_horiz_c
- +
- +void vpx_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);
- +#define vpx_convolve8_avg_vert vpx_convolve8_avg_vert_c
- +
- +void vpx_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);
- +#define vpx_convolve8_horiz vpx_convolve8_horiz_c
- +
- +void vpx_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);
- +#define vpx_convolve8_vert vpx_convolve8_vert_c
- +
- +void vpx_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);
- +#define vpx_convolve_avg vpx_convolve_avg_c
- +
- +void vpx_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);
- +#define vpx_convolve_copy vpx_convolve_copy_c
- +
- +void vpx_d117_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d117_predictor_16x16 vpx_d117_predictor_16x16_c
- +
- +void vpx_d117_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d117_predictor_32x32 vpx_d117_predictor_32x32_c
- +
- +void vpx_d117_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d117_predictor_4x4 vpx_d117_predictor_4x4_c
- +
- +void vpx_d117_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d117_predictor_8x8 vpx_d117_predictor_8x8_c
- +
- +void vpx_d135_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d135_predictor_16x16 vpx_d135_predictor_16x16_c
- +
- +void vpx_d135_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d135_predictor_32x32 vpx_d135_predictor_32x32_c
- +
- +void vpx_d135_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d135_predictor_4x4 vpx_d135_predictor_4x4_c
- +
- +void vpx_d135_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d135_predictor_8x8 vpx_d135_predictor_8x8_c
- +
- +void vpx_d153_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d153_predictor_16x16 vpx_d153_predictor_16x16_c
- +
- +void vpx_d153_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d153_predictor_32x32 vpx_d153_predictor_32x32_c
- +
- +void vpx_d153_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d153_predictor_4x4 vpx_d153_predictor_4x4_c
- +
- +void vpx_d153_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d153_predictor_8x8 vpx_d153_predictor_8x8_c
- +
- +void vpx_d207_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d207_predictor_16x16 vpx_d207_predictor_16x16_c
- +
- +void vpx_d207_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d207_predictor_32x32 vpx_d207_predictor_32x32_c
- +
- +void vpx_d207_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d207_predictor_4x4 vpx_d207_predictor_4x4_c
- +
- +void vpx_d207_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d207_predictor_8x8 vpx_d207_predictor_8x8_c
- +
- +void vpx_d207e_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d207e_predictor_16x16 vpx_d207e_predictor_16x16_c
- +
- +void vpx_d207e_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d207e_predictor_32x32 vpx_d207e_predictor_32x32_c
- +
- +void vpx_d207e_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d207e_predictor_4x4 vpx_d207e_predictor_4x4_c
- +
- +void vpx_d207e_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d207e_predictor_8x8 vpx_d207e_predictor_8x8_c
- +
- +void vpx_d45_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d45_predictor_16x16 vpx_d45_predictor_16x16_c
- +
- +void vpx_d45_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d45_predictor_32x32 vpx_d45_predictor_32x32_c
- +
- +void vpx_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d45_predictor_4x4 vpx_d45_predictor_4x4_c
- +
- +void vpx_d45_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d45_predictor_8x8 vpx_d45_predictor_8x8_c
- +
- +void vpx_d45e_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d45e_predictor_16x16 vpx_d45e_predictor_16x16_c
- +
- +void vpx_d45e_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d45e_predictor_32x32 vpx_d45e_predictor_32x32_c
- +
- +void vpx_d45e_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d45e_predictor_4x4 vpx_d45e_predictor_4x4_c
- +
- +void vpx_d45e_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d45e_predictor_8x8 vpx_d45e_predictor_8x8_c
- +
- +void vpx_d63_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d63_predictor_16x16 vpx_d63_predictor_16x16_c
- +
- +void vpx_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d63_predictor_32x32 vpx_d63_predictor_32x32_c
- +
- +void vpx_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d63_predictor_4x4 vpx_d63_predictor_4x4_c
- +
- +void vpx_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d63_predictor_8x8 vpx_d63_predictor_8x8_c
- +
- +void vpx_d63e_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d63e_predictor_16x16 vpx_d63e_predictor_16x16_c
- +
- +void vpx_d63e_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d63e_predictor_32x32 vpx_d63e_predictor_32x32_c
- +
- +void vpx_d63e_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d63e_predictor_4x4 vpx_d63e_predictor_4x4_c
- +
- +void vpx_d63e_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d63e_predictor_8x8 vpx_d63e_predictor_8x8_c
- +
- +void vpx_d63f_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_d63f_predictor_4x4 vpx_d63f_predictor_4x4_c
- +
- +void vpx_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_128_predictor_16x16 vpx_dc_128_predictor_16x16_c
- +
- +void vpx_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_128_predictor_32x32 vpx_dc_128_predictor_32x32_c
- +
- +void vpx_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_128_predictor_4x4 vpx_dc_128_predictor_4x4_c
- +
- +void vpx_dc_128_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_128_predictor_8x8 vpx_dc_128_predictor_8x8_c
- +
- +void vpx_dc_left_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_left_predictor_16x16 vpx_dc_left_predictor_16x16_c
- +
- +void vpx_dc_left_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_left_predictor_32x32 vpx_dc_left_predictor_32x32_c
- +
- +void vpx_dc_left_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_left_predictor_4x4 vpx_dc_left_predictor_4x4_c
- +
- +void vpx_dc_left_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_left_predictor_8x8 vpx_dc_left_predictor_8x8_c
- +
- +void vpx_dc_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_predictor_16x16 vpx_dc_predictor_16x16_c
- +
- +void vpx_dc_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_predictor_32x32 vpx_dc_predictor_32x32_c
- +
- +void vpx_dc_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_predictor_4x4 vpx_dc_predictor_4x4_c
- +
- +void vpx_dc_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_predictor_8x8 vpx_dc_predictor_8x8_c
- +
- +void vpx_dc_top_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_top_predictor_16x16 vpx_dc_top_predictor_16x16_c
- +
- +void vpx_dc_top_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_top_predictor_32x32 vpx_dc_top_predictor_32x32_c
- +
- +void vpx_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_top_predictor_4x4 vpx_dc_top_predictor_4x4_c
- +
- +void vpx_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_dc_top_predictor_8x8 vpx_dc_top_predictor_8x8_c
- +
- +void vpx_fdct16x16_c(const int16_t *input, tran_low_t *output, int stride);
- +#define vpx_fdct16x16 vpx_fdct16x16_c
- +
- +void vpx_fdct16x16_1_c(const int16_t *input, tran_low_t *output, int stride);
- +#define vpx_fdct16x16_1 vpx_fdct16x16_1_c
- +
- +void vpx_fdct32x32_c(const int16_t *input, tran_low_t *output, int stride);
- +#define vpx_fdct32x32 vpx_fdct32x32_c
- +
- +void vpx_fdct32x32_1_c(const int16_t *input, tran_low_t *output, int stride);
- +#define vpx_fdct32x32_1 vpx_fdct32x32_1_c
- +
- +void vpx_fdct32x32_rd_c(const int16_t *input, tran_low_t *output, int stride);
- +#define vpx_fdct32x32_rd vpx_fdct32x32_rd_c
- +
- +void vpx_fdct4x4_c(const int16_t *input, tran_low_t *output, int stride);
- +#define vpx_fdct4x4 vpx_fdct4x4_c
- +
- +void vpx_fdct4x4_1_c(const int16_t *input, tran_low_t *output, int stride);
- +#define vpx_fdct4x4_1 vpx_fdct4x4_1_c
- +
- +void vpx_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride);
- +#define vpx_fdct8x8 vpx_fdct8x8_c
- +
- +void vpx_fdct8x8_1_c(const int16_t *input, tran_low_t *output, int stride);
- +#define vpx_fdct8x8_1 vpx_fdct8x8_1_c
- +
- +void vpx_get16x16var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
- +#define vpx_get16x16var vpx_get16x16var_c
- +
- +unsigned int vpx_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride);
- +#define vpx_get4x4sse_cs vpx_get4x4sse_cs_c
- +
- +void vpx_get8x8var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
- +#define vpx_get8x8var vpx_get8x8var_c
- +
- +unsigned int vpx_get_mb_ss_c(const int16_t *);
- +#define vpx_get_mb_ss vpx_get_mb_ss_c
- +
- +void vpx_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_h_predictor_16x16 vpx_h_predictor_16x16_c
- +
- +void vpx_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_h_predictor_32x32 vpx_h_predictor_32x32_c
- +
- +void vpx_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_h_predictor_4x4 vpx_h_predictor_4x4_c
- +
- +void vpx_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_h_predictor_8x8 vpx_h_predictor_8x8_c
- +
- +void vpx_hadamard_16x16_c(const int16_t *src_diff, int src_stride, int16_t *coeff);
- +#define vpx_hadamard_16x16 vpx_hadamard_16x16_c
- +
- +void vpx_hadamard_8x8_c(const int16_t *src_diff, int src_stride, int16_t *coeff);
- +#define vpx_hadamard_8x8 vpx_hadamard_8x8_c
- +
- +void vpx_he_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_he_predictor_4x4 vpx_he_predictor_4x4_c
- +
- +void vpx_idct16x16_10_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_idct16x16_10_add vpx_idct16x16_10_add_c
- +
- +void vpx_idct16x16_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_idct16x16_1_add vpx_idct16x16_1_add_c
- +
- +void vpx_idct16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_idct16x16_256_add vpx_idct16x16_256_add_c
- +
- +void vpx_idct32x32_1024_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_idct32x32_1024_add vpx_idct32x32_1024_add_c
- +
- +void vpx_idct32x32_135_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_idct32x32_135_add vpx_idct32x32_135_add_c
- +
- +void vpx_idct32x32_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_idct32x32_1_add vpx_idct32x32_1_add_c
- +
- +void vpx_idct32x32_34_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_idct32x32_34_add vpx_idct32x32_34_add_c
- +
- +void vpx_idct4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_idct4x4_16_add vpx_idct4x4_16_add_c
- +
- +void vpx_idct4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_idct4x4_1_add vpx_idct4x4_1_add_c
- +
- +void vpx_idct8x8_12_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_idct8x8_12_add vpx_idct8x8_12_add_c
- +
- +void vpx_idct8x8_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_idct8x8_1_add vpx_idct8x8_1_add_c
- +
- +void vpx_idct8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_idct8x8_64_add vpx_idct8x8_64_add_c
- +
- +int16_t vpx_int_pro_col_c(const uint8_t *ref, const int width);
- +#define vpx_int_pro_col vpx_int_pro_col_c
- +
- +void vpx_int_pro_row_c(int16_t *hbuf, const uint8_t *ref, const int ref_stride, const int height);
- +#define vpx_int_pro_row vpx_int_pro_row_c
- +
- +void vpx_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_iwht4x4_16_add vpx_iwht4x4_16_add_c
- +
- +void vpx_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
- +#define vpx_iwht4x4_1_add vpx_iwht4x4_1_add_c
- +
- +void vpx_lpf_horizontal_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
- +#define vpx_lpf_horizontal_4 vpx_lpf_horizontal_4_c
- +
- +void vpx_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);
- +#define vpx_lpf_horizontal_4_dual vpx_lpf_horizontal_4_dual_c
- +
- +void vpx_lpf_horizontal_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
- +#define vpx_lpf_horizontal_8 vpx_lpf_horizontal_8_c
- +
- +void vpx_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);
- +#define vpx_lpf_horizontal_8_dual vpx_lpf_horizontal_8_dual_c
- +
- +void vpx_lpf_horizontal_edge_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
- +#define vpx_lpf_horizontal_edge_16 vpx_lpf_horizontal_edge_16_c
- +
- +void vpx_lpf_horizontal_edge_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
- +#define vpx_lpf_horizontal_edge_8 vpx_lpf_horizontal_edge_8_c
- +
- +void vpx_lpf_vertical_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
- +#define vpx_lpf_vertical_16 vpx_lpf_vertical_16_c
- +
- +void vpx_lpf_vertical_16_dual_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
- +#define vpx_lpf_vertical_16_dual vpx_lpf_vertical_16_dual_c
- +
- +void vpx_lpf_vertical_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
- +#define vpx_lpf_vertical_4 vpx_lpf_vertical_4_c
- +
- +void vpx_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);
- +#define vpx_lpf_vertical_4_dual vpx_lpf_vertical_4_dual_c
- +
- +void vpx_lpf_vertical_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
- +#define vpx_lpf_vertical_8 vpx_lpf_vertical_8_c
- +
- +void vpx_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);
- +#define vpx_lpf_vertical_8_dual vpx_lpf_vertical_8_dual_c
- +
- +void vpx_mbpost_proc_across_ip_c(unsigned char *dst, int pitch, int rows, int cols,int flimit);
- +#define vpx_mbpost_proc_across_ip vpx_mbpost_proc_across_ip_c
- +
- +void vpx_mbpost_proc_down_c(unsigned char *dst, int pitch, int rows, int cols,int flimit);
- +#define vpx_mbpost_proc_down vpx_mbpost_proc_down_c
- +
- +void vpx_minmax_8x8_c(const uint8_t *s, int p, const uint8_t *d, int dp, int *min, int *max);
- +#define vpx_minmax_8x8 vpx_minmax_8x8_c
- +
- +unsigned int vpx_mse16x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
- +#define vpx_mse16x16 vpx_mse16x16_c
- +
- +unsigned int vpx_mse16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
- +#define vpx_mse16x8 vpx_mse16x8_c
- +
- +unsigned int vpx_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
- +#define vpx_mse8x16 vpx_mse8x16_c
- +
- +unsigned int vpx_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
- +#define vpx_mse8x8 vpx_mse8x8_c
- +
- +void vpx_plane_add_noise_c(uint8_t *start, const int8_t *noise, int blackclamp, int whiteclamp, int width, int height, int pitch);
- +#define vpx_plane_add_noise vpx_plane_add_noise_c
- +
- +void vpx_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 vpx_post_proc_down_and_across_mb_row vpx_post_proc_down_and_across_mb_row_c
- +
- +void vpx_quantize_b_c(const tran_low_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, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
- +#define vpx_quantize_b vpx_quantize_b_c
- +
- +void vpx_quantize_b_32x32_c(const tran_low_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, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
- +#define vpx_quantize_b_32x32 vpx_quantize_b_32x32_c
- +
- +unsigned int vpx_sad16x16_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad16x16 vpx_sad16x16_c
- +
- +unsigned int vpx_sad16x16_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad16x16_avg vpx_sad16x16_avg_c
- +
- +void vpx_sad16x16x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad16x16x3 vpx_sad16x16x3_c
- +
- +void vpx_sad16x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad16x16x4d vpx_sad16x16x4d_c
- +
- +void vpx_sad16x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad16x16x8 vpx_sad16x16x8_c
- +
- +unsigned int vpx_sad16x32_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad16x32 vpx_sad16x32_c
- +
- +unsigned int vpx_sad16x32_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad16x32_avg vpx_sad16x32_avg_c
- +
- +void vpx_sad16x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad16x32x4d vpx_sad16x32x4d_c
- +
- +unsigned int vpx_sad16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad16x8 vpx_sad16x8_c
- +
- +unsigned int vpx_sad16x8_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad16x8_avg vpx_sad16x8_avg_c
- +
- +void vpx_sad16x8x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad16x8x3 vpx_sad16x8x3_c
- +
- +void vpx_sad16x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad16x8x4d vpx_sad16x8x4d_c
- +
- +void vpx_sad16x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad16x8x8 vpx_sad16x8x8_c
- +
- +unsigned int vpx_sad32x16_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad32x16 vpx_sad32x16_c
- +
- +unsigned int vpx_sad32x16_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad32x16_avg vpx_sad32x16_avg_c
- +
- +void vpx_sad32x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad32x16x4d vpx_sad32x16x4d_c
- +
- +unsigned int vpx_sad32x32_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad32x32 vpx_sad32x32_c
- +
- +unsigned int vpx_sad32x32_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad32x32_avg vpx_sad32x32_avg_c
- +
- +void vpx_sad32x32x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad32x32x3 vpx_sad32x32x3_c
- +
- +void vpx_sad32x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad32x32x4d vpx_sad32x32x4d_c
- +
- +void vpx_sad32x32x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad32x32x8 vpx_sad32x32x8_c
- +
- +unsigned int vpx_sad32x64_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad32x64 vpx_sad32x64_c
- +
- +unsigned int vpx_sad32x64_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad32x64_avg vpx_sad32x64_avg_c
- +
- +void vpx_sad32x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad32x64x4d vpx_sad32x64x4d_c
- +
- +unsigned int vpx_sad4x4_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad4x4 vpx_sad4x4_c
- +
- +unsigned int vpx_sad4x4_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad4x4_avg vpx_sad4x4_avg_c
- +
- +void vpx_sad4x4x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad4x4x3 vpx_sad4x4x3_c
- +
- +void vpx_sad4x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad4x4x4d vpx_sad4x4x4d_c
- +
- +void vpx_sad4x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad4x4x8 vpx_sad4x4x8_c
- +
- +unsigned int vpx_sad4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad4x8 vpx_sad4x8_c
- +
- +unsigned int vpx_sad4x8_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad4x8_avg vpx_sad4x8_avg_c
- +
- +void vpx_sad4x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad4x8x4d vpx_sad4x8x4d_c
- +
- +void vpx_sad4x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad4x8x8 vpx_sad4x8x8_c
- +
- +unsigned int vpx_sad64x32_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad64x32 vpx_sad64x32_c
- +
- +unsigned int vpx_sad64x32_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad64x32_avg vpx_sad64x32_avg_c
- +
- +void vpx_sad64x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad64x32x4d vpx_sad64x32x4d_c
- +
- +unsigned int vpx_sad64x64_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad64x64 vpx_sad64x64_c
- +
- +unsigned int vpx_sad64x64_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad64x64_avg vpx_sad64x64_avg_c
- +
- +void vpx_sad64x64x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad64x64x3 vpx_sad64x64x3_c
- +
- +void vpx_sad64x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad64x64x4d vpx_sad64x64x4d_c
- +
- +void vpx_sad64x64x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad64x64x8 vpx_sad64x64x8_c
- +
- +unsigned int vpx_sad8x16_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad8x16 vpx_sad8x16_c
- +
- +unsigned int vpx_sad8x16_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad8x16_avg vpx_sad8x16_avg_c
- +
- +void vpx_sad8x16x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad8x16x3 vpx_sad8x16x3_c
- +
- +void vpx_sad8x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad8x16x4d vpx_sad8x16x4d_c
- +
- +void vpx_sad8x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad8x16x8 vpx_sad8x16x8_c
- +
- +unsigned int vpx_sad8x4_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad8x4 vpx_sad8x4_c
- +
- +unsigned int vpx_sad8x4_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad8x4_avg vpx_sad8x4_avg_c
- +
- +void vpx_sad8x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad8x4x4d vpx_sad8x4x4d_c
- +
- +void vpx_sad8x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad8x4x8 vpx_sad8x4x8_c
- +
- +unsigned int vpx_sad8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
- +#define vpx_sad8x8 vpx_sad8x8_c
- +
- +unsigned int vpx_sad8x8_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
- +#define vpx_sad8x8_avg vpx_sad8x8_avg_c
- +
- +void vpx_sad8x8x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad8x8x3 vpx_sad8x8x3_c
- +
- +void vpx_sad8x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
- +#define vpx_sad8x8x4d vpx_sad8x8x4d_c
- +
- +void vpx_sad8x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
- +#define vpx_sad8x8x8 vpx_sad8x8x8_c
- +
- +int vpx_satd_c(const int16_t *coeff, int length);
- +#define vpx_satd vpx_satd_c
- +
- +void vpx_scaled_2d_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);
- +#define vpx_scaled_2d vpx_scaled_2d_c
- +
- +void vpx_scaled_avg_2d_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);
- +#define vpx_scaled_avg_2d vpx_scaled_avg_2d_c
- +
- +void vpx_scaled_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);
- +#define vpx_scaled_avg_horiz vpx_scaled_avg_horiz_c
- +
- +void vpx_scaled_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);
- +#define vpx_scaled_avg_vert vpx_scaled_avg_vert_c
- +
- +void vpx_scaled_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);
- +#define vpx_scaled_horiz vpx_scaled_horiz_c
- +
- +void vpx_scaled_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);
- +#define vpx_scaled_vert vpx_scaled_vert_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance16x16 vpx_sub_pixel_avg_variance16x16_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance16x32 vpx_sub_pixel_avg_variance16x32_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance16x8 vpx_sub_pixel_avg_variance16x8_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance32x16 vpx_sub_pixel_avg_variance32x16_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance32x32 vpx_sub_pixel_avg_variance32x32_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance32x64 vpx_sub_pixel_avg_variance32x64_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance4x4 vpx_sub_pixel_avg_variance4x4_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance4x8 vpx_sub_pixel_avg_variance4x8_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance64x32 vpx_sub_pixel_avg_variance64x32_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance64x64 vpx_sub_pixel_avg_variance64x64_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance8x16 vpx_sub_pixel_avg_variance8x16_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance8x4 vpx_sub_pixel_avg_variance8x4_c
- +
- +uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
- +#define vpx_sub_pixel_avg_variance8x8 vpx_sub_pixel_avg_variance8x8_c
- +
- +uint32_t vpx_sub_pixel_variance16x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance16x16 vpx_sub_pixel_variance16x16_c
- +
- +uint32_t vpx_sub_pixel_variance16x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance16x32 vpx_sub_pixel_variance16x32_c
- +
- +uint32_t vpx_sub_pixel_variance16x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance16x8 vpx_sub_pixel_variance16x8_c
- +
- +uint32_t vpx_sub_pixel_variance32x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance32x16 vpx_sub_pixel_variance32x16_c
- +
- +uint32_t vpx_sub_pixel_variance32x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance32x32 vpx_sub_pixel_variance32x32_c
- +
- +uint32_t vpx_sub_pixel_variance32x64_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance32x64 vpx_sub_pixel_variance32x64_c
- +
- +uint32_t vpx_sub_pixel_variance4x4_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance4x4 vpx_sub_pixel_variance4x4_c
- +
- +uint32_t vpx_sub_pixel_variance4x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance4x8 vpx_sub_pixel_variance4x8_c
- +
- +uint32_t vpx_sub_pixel_variance64x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance64x32 vpx_sub_pixel_variance64x32_c
- +
- +uint32_t vpx_sub_pixel_variance64x64_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance64x64 vpx_sub_pixel_variance64x64_c
- +
- +uint32_t vpx_sub_pixel_variance8x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance8x16 vpx_sub_pixel_variance8x16_c
- +
- +uint32_t vpx_sub_pixel_variance8x4_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance8x4 vpx_sub_pixel_variance8x4_c
- +
- +uint32_t vpx_sub_pixel_variance8x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_sub_pixel_variance8x8 vpx_sub_pixel_variance8x8_c
- +
- +void vpx_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 vpx_subtract_block vpx_subtract_block_c
- +
- +uint64_t vpx_sum_squares_2d_i16_c(const int16_t *src, int stride, int size);
- +#define vpx_sum_squares_2d_i16 vpx_sum_squares_2d_i16_c
- +
- +void vpx_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_tm_predictor_16x16 vpx_tm_predictor_16x16_c
- +
- +void vpx_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_tm_predictor_32x32 vpx_tm_predictor_32x32_c
- +
- +void vpx_tm_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_tm_predictor_4x4 vpx_tm_predictor_4x4_c
- +
- +void vpx_tm_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_tm_predictor_8x8 vpx_tm_predictor_8x8_c
- +
- +void vpx_v_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_v_predictor_16x16 vpx_v_predictor_16x16_c
- +
- +void vpx_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_v_predictor_32x32 vpx_v_predictor_32x32_c
- +
- +void vpx_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_v_predictor_4x4 vpx_v_predictor_4x4_c
- +
- +void vpx_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_v_predictor_8x8 vpx_v_predictor_8x8_c
- +
- +unsigned int vpx_variance16x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance16x16 vpx_variance16x16_c
- +
- +unsigned int vpx_variance16x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance16x32 vpx_variance16x32_c
- +
- +unsigned int vpx_variance16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance16x8 vpx_variance16x8_c
- +
- +unsigned int vpx_variance32x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance32x16 vpx_variance32x16_c
- +
- +unsigned int vpx_variance32x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance32x32 vpx_variance32x32_c
- +
- +unsigned int vpx_variance32x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance32x64 vpx_variance32x64_c
- +
- +unsigned int vpx_variance4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance4x4 vpx_variance4x4_c
- +
- +unsigned int vpx_variance4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance4x8 vpx_variance4x8_c
- +
- +unsigned int vpx_variance64x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance64x32 vpx_variance64x32_c
- +
- +unsigned int vpx_variance64x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance64x64 vpx_variance64x64_c
- +
- +unsigned int vpx_variance8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance8x16 vpx_variance8x16_c
- +
- +unsigned int vpx_variance8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance8x4 vpx_variance8x4_c
- +
- +unsigned int vpx_variance8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
- +#define vpx_variance8x8 vpx_variance8x8_c
- +
- +uint32_t vpx_variance_halfpixvar16x16_h_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_variance_halfpixvar16x16_h vpx_variance_halfpixvar16x16_h_c
- +
- +uint32_t vpx_variance_halfpixvar16x16_hv_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_variance_halfpixvar16x16_hv vpx_variance_halfpixvar16x16_hv_c
- +
- +uint32_t vpx_variance_halfpixvar16x16_v_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
- +#define vpx_variance_halfpixvar16x16_v vpx_variance_halfpixvar16x16_v_c
- +
- +void vpx_ve_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
- +#define vpx_ve_predictor_4x4 vpx_ve_predictor_4x4_c
- +
- +int vpx_vector_var_c(const int16_t *ref, const int16_t *src, const int bwl);
- +#define vpx_vector_var vpx_vector_var_c
- +
- +void vpx_dsp_rtcd(void);
- +
- +#include "vpx_config.h"
- +
- +#ifdef RTCD_C
- +static void setup_rtcd_internal(void)
- +{
- +}
- +#endif
- +
- +#ifdef __cplusplus
- +} // extern "C"
- +#endif
- +
- +#endif
- diff --git a/libvpx/source/config/win/generic/vpx_scale_rtcd.h b/libvpx/source/config/win/generic/vpx_scale_rtcd.h
- new file mode 100644
- index 00000000000..12e5cad792f
- --- /dev/null
- +++ b/libvpx/source/config/win/generic/vpx_scale_rtcd.h
- @@ -0,0 +1,66 @@
- +#ifndef VPX_SCALE_RTCD_H_
- +#define VPX_SCALE_RTCD_H_
- +
- +#ifdef RTCD_C
- +#define RTCD_EXTERN
- +#else
- +#define RTCD_EXTERN extern
- +#endif
- +
- +struct yv12_buffer_config;
- +
- +#ifdef __cplusplus
- +extern "C" {
- +#endif
- +
- +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
- +static void setup_rtcd_internal(void)
- +{
- +}
- +#endif
- +
- +#ifdef __cplusplus
- +} // extern "C"
- +#endif
- +
- +#endif
- diff --git a/opus/BUILD.gn b/opus/BUILD.gn
- index b54f8568823..c10a01236b4 100644
- --- a/opus/BUILD.gn
- +++ b/opus/BUILD.gn
- @@ -29,6 +29,10 @@ config("opus_config") {
- if (use_opus_fixed_point) {
- defines = [ "OPUS_FIXED_POINT" ]
- }
- +
- + if (current_cpu == "arm" && current_os == "winuwp" && target_os == "winuwp") {
- + defines += [ "USE_MSVS_ARM_INTRINCICS" ]
- + }
- }
- config("opus_private_config") {
- @@ -149,6 +153,26 @@ config("opus_test_config") {
- }
- if (use_opus_arm_rtcd) {
- +
- + if ((current_cpu == "arm") && current_os == "winuwp" && target_os == "winuwp") {
- + action("convert_rtcd_assembler_for_winuwp") {
- + script = "//third_party/libvpx/run_perl.py"
- + outputs = [
- + "$target_gen_dir/celt_pitch_xcorr_arm.asm",
- + ]
- +
- +
- + args = [
- + "-s",
- + "../../third_party/opus/src/celt/arm/ads2armasm_msvs.pl",
- + "-i",
- + "../../third_party/opus/src/celt/arm/celt_pitch_xcorr_arm.s",
- + "-o",
- + rebase_path("$target_gen_dir/celt_pitch_xcorr_arm.asm", root_build_dir),
- + ]
- + }
- + }
- +
- action("convert_rtcd_assembler") {
- script = "convert_rtcd_assembler.py"
- outputs = [
- @@ -361,6 +385,16 @@ static_library("opus") {
- ]
- public_configs = [ ":opus_config" ]
- + cflags = []
- +
- + if (is_win) {
- +
- + if ((current_cpu == "arm" || current_cpu == "arm64") && target_os == "winuwp") {
- + cflags += [
- + "/wd4146", # Disable unary minus operator applied to unsigned type, result still unsigned
- + ]
- + }
- +
- if (!is_debug && (current_cpu == "arm" || current_cpu == "arm64")) {
- configs -= [ "//build/config/compiler:default_optimization" ]
- @@ -469,8 +503,14 @@ static_library("opus") {
- ]
- if (use_opus_arm_rtcd) {
- +
- + if (current_os == "winuwp" && target_os == "winuwp") {
- + sources += get_target_outputs(":convert_rtcd_assembler_for_winuwp")
- + } else {
- + sources += [ "$target_gen_dir/celt_pitch_xcorr_arm_gnu.S", ]
- + }
- +
- sources += [
- - "$target_gen_dir/celt_pitch_xcorr_arm_gnu.S",
- "src/celt/arm/arm_celt_map.c",
- "src/celt/arm/armcpu.c",
- "src/celt/arm/armcpu.h",
- @@ -479,7 +519,16 @@ static_library("opus") {
- "src/celt/arm/pitch_arm.h",
- "src/silk/arm/arm_silk_map.c",
- ]
- - deps += [ ":convert_rtcd_assembler" ]
- +
- + if (current_os == "winuwp" && target_os == "winuwp") {
- + deps += [
- + ":convert_rtcd_assembler_for_winuwp",
- + ]
- + } else {
- + deps += [
- + ":convert_rtcd_assembler",
- + ]
- + }
- }
- if (arm_use_neon) {
- @@ -566,6 +615,9 @@ test("test_opus_encode") {
- deps = [
- ":opus",
- ]
- + if (current_os == "winuwp") {
- + deps += [ "//third_party/winuwp_compat:force_include_std" ]
- + }
- }
- # GN orders flags on a target before flags from configs. The default config
- @@ -596,6 +648,9 @@ test("test_opus_decode") {
- deps = [
- ":opus",
- ]
- + if (current_os == "winuwp") {
- + deps += [ "//third_party/winuwp_compat:force_include_std" ]
- + }
- }
- test("test_opus_padding") {
- diff --git a/opus/armasm_ms.config b/opus/armasm_ms.config
- new file mode 100644
- index 00000000000..b617231e7f7
- --- /dev/null
- +++ b/opus/armasm_ms.config
- @@ -0,0 +1 @@
- +-I src -oldit
- diff --git a/opus/src/celt/arm/ads2armasm_msvs.pl b/opus/src/celt/arm/ads2armasm_msvs.pl
- new file mode 100644
- index 00000000000..8a0c51b4253
- --- /dev/null
- +++ b/opus/src/celt/arm/ads2armasm_msvs.pl
- @@ -0,0 +1,53 @@
- +#!/usr/bin/env perl
- +##
- +## Copyright (c) 2013 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.
- +##
- +
- +use FindBin;
- +use lib $FindBin::Bin;
- +use thumb;
- +use File::Copy;
- +use FindBin qw( $RealBin );
- +
- +print "; This file was created from a .s file\n";
- +print "; using the ads2armasm_ms.pl script.";
- +
- +copy("$RealBin/armopts.s.msvs","$RealBin/armopts.s") or die "Copy failed: $!";
- +
- +my $filename = 'auxFile.txt';
- +open(my $fh, '>', $filename) or die "Could not open file '$filename' $!";
- +
- +while (<>)
- +{
- + undef $comment;
- + undef $line;
- +
- + s/^IF/\tIF/;
- + s/^END/\tEND/;
- + s/^ENDIF/\tENDIF/;
- + s/REQUIRE8//;
- + s/PRESERVE8//;
- + s/^\s*ARM\s*$//;
- + s/AREA\s+\|\|(.*)\|\|/AREA |$1|/;
- + s/qsubaddx/qsax/i;
- + s/qaddsubx/qasx/i;
- +
- + thumb::FixThumbInstructions($_, 1);
- +
- + s/ldrneb/ldrbne/i;
- + s/ldrneh/ldrhne/i;
- + s/^(\s*)ENDP.*/$&\n$1ALIGN 4/;
- +
- + print $fh $_;
- +}
- +
- +close $fh;
- +copy("auxFile.txt","gen/third_party/opus/celt_pitch_xcorr_arm.asm") or die "Copy failed: $!";
- +unlink $filename;
- +##print "\n; celt_pitch_xcorr_arm.asm created\n; ";
- diff --git a/opus/src/celt/arm/armcpu.c b/opus/src/celt/arm/armcpu.c
- index 694a63b78e6..ffe04cae0d4 100644
- --- a/opus/src/celt/arm/armcpu.c
- +++ b/opus/src/celt/arm/armcpu.c
- @@ -46,10 +46,25 @@
- #if defined(_MSC_VER)
- /*For GetExceptionCode() and EXCEPTION_ILLEGAL_INSTRUCTION.*/
- -# define WIN32_LEAN_AND_MEAN
- +# ifndef WIN32_LEAN_AND_MEAN
- +# define WIN32_LEAN_AND_MEAN
- +# endif /* WIN32_LEAN_AND_MEAN */
- # define WIN32_EXTRA_LEAN
- # include <windows.h>
- +#ifdef WINUWP
- +static OPUS_INLINE opus_uint32 opus_cpu_capabilities(void){
- + opus_uint32 flags;
- + flags = OPUS_ARM_MAY_HAVE_MEDIA | OPUS_CPU_ARM_EDSP_FLAG;
- +
- + if (IsProcessorFeaturePresent(PF_ARM_NEON_INSTRUCTIONS_AVAILABLE))
- + {
- + flags |= OPUS_CPU_ARM_NEON_FLAG;
- + }
- +
- + return flags;
- +}
- +#else /* WINUWP */
- static OPUS_INLINE opus_uint32 opus_cpu_capabilities(void){
- opus_uint32 flags;
- flags=0;
- @@ -90,6 +105,7 @@ static OPUS_INLINE opus_uint32 opus_cpu_capabilities(void){
- # endif
- return flags;
- }
- +#endif /* WINUWP */
- #elif defined(__linux__)
- /* Linux based */
- diff --git a/opus/src/celt/arm/armopts.s.msvs b/opus/src/celt/arm/armopts.s.msvs
- new file mode 100644
- index 00000000000..812abaa3478
- --- /dev/null
- +++ b/opus/src/celt/arm/armopts.s.msvs
- @@ -0,0 +1,41 @@
- +;/* Copyright (C) 2013 Mozilla Corporation */
- +;/*
- +; Redistribution and use in source and binary forms, with or without
- +; modification, are permitted provided that the following conditions
- +; are met:
- +;
- +; - Redistributions of source code must retain the above copyright
- +; notice, this list of conditions and the following disclaimer.
- +;
- +; - Redistributions in binary form must reproduce the above copyright
- +; notice, this list of conditions and the following disclaimer in the
- +; documentation and/or other materials provided with the distribution.
- +;
- +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- +; ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- +; LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- +; A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
- +; OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- +; EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- +; PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- +; PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- +; LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- +; NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- +; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- +;*/
- +
- +;-------------------------------------
- +; ARM Options for Windows Phone
- +;-------------------------------------
- +
- +; Set the following to 1 if we have EDSP instructions
- +; (LDRD/STRD, etc., ARMv5E and later).
- +OPUS_ARM_MAY_HAVE_EDSP * 1
- +
- +; Set the following to 1 if we have ARMv6 media instructions.
- +OPUS_ARM_MAY_HAVE_MEDIA * 1
- +
- +; Set the following to 1 if we have NEON (some ARMv7)
- +OPUS_ARM_MAY_HAVE_NEON * 1
- +
- + END
- diff --git a/opus/src/celt/arm/fixed_armv4.h b/opus/src/celt/arm/fixed_armv4.h
- index d84888a772a..a488e7c40b7 100644
- --- a/opus/src/celt/arm/fixed_armv4.h
- +++ b/opus/src/celt/arm/fixed_armv4.h
- @@ -27,8 +27,14 @@
- #ifndef FIXED_ARMv4_H
- #define FIXED_ARMv4_H
- +#ifdef USE_MSVS_ARM_INTRINCICS
- +#include <arm_neon.h>
- +/** 16x32 multiplication, followed by a 16-bit shift right. Results fits in 32 bits */
- +#define MULT16_32_Q16_armv4(a,b) (((opus_val32)_arm_smull((a), (b)))>>16)
- +/** 16x32 multiplication, followed by a 15-bit shift right. Results fits in 32 bits */
- +#define MULT16_32_Q15_armv4(a, b) (((opus_val32)_arm_smull((a), (b))) >> 15)
- +#else /* USE_MSVS_ARM_INTRINCICS */
- /** 16x32 multiplication, followed by a 16-bit shift right. Results fits in 32 bits */
- -#undef MULT16_32_Q16
- static OPUS_INLINE opus_val32 MULT16_32_Q16_armv4(opus_val16 a, opus_val32 b)
- {
- unsigned rd_lo;
- @@ -41,11 +47,8 @@ static OPUS_INLINE opus_val32 MULT16_32_Q16_armv4(opus_val16 a, opus_val32 b)
- );
- return rd_hi;
- }
- -#define MULT16_32_Q16(a, b) (MULT16_32_Q16_armv4(a, b))
- -
- /** 16x32 multiplication, followed by a 15-bit shift right. Results fits in 32 bits */
- -#undef MULT16_32_Q15
- static OPUS_INLINE opus_val32 MULT16_32_Q15_armv4(opus_val16 a, opus_val32 b)
- {
- unsigned rd_lo;
- @@ -59,6 +62,11 @@ static OPUS_INLINE opus_val32 MULT16_32_Q15_armv4(opus_val16 a, opus_val32 b)
- /*We intentionally don't OR in the high bit of rd_lo for speed.*/
- return SHL32(rd_hi,1);
- }
- +#endif /* USE_MSVS_ARM_INTRINCICS */
- +
- +#undef MULT16_32_Q16
- +#define MULT16_32_Q16(a, b) (MULT16_32_Q16_armv4(a, b))
- +#undef MULT16_32_Q15
- #define MULT16_32_Q15(a, b) (MULT16_32_Q15_armv4(a, b))
- diff --git a/opus/src/celt/arm/fixed_armv5e.h b/opus/src/celt/arm/fixed_armv5e.h
- index 6bf73cbace3..996377120ad 100644
- --- a/opus/src/celt/arm/fixed_armv5e.h
- +++ b/opus/src/celt/arm/fixed_armv5e.h
- @@ -32,8 +32,21 @@
- #include "fixed_armv4.h"
- +#ifdef USE_MSVS_ARM_INTRINCICS
- +/** 16x32 multiplication, followed by a 16-bit shift right. Results fits in 32 bits */
- +#define MULT16_32_Q16_armv5e(a,b) _arm_smulwb((b), (a))
- +/** 16x32 multiplication, followed by a 15-bit shift right. Results fits in 32 bits */
- +#define MULT16_32_Q15_armv5e(a,b) _arm_smulwb(((b) << 1), (a))
- +/** 16x32 multiply, followed by a 15-bit shift right and 32-bit add.
- +b must fit in 31 bits.
- +Result fits in 32 bits. */
- +#define MAC16_32_Q15_armv5e(c,a,b) _arm_smlawb(((b) << 1), (a), (c))
- +/** 16x16 multiply-add where the result fits in 32 bits */
- +#define MAC16_16_armv5e(c,a,b) _arm_smlabb((a), (b), (c))
- +/** 16x16 multiplication where the result fits in 32 bits */
- +#define MULT16_16_armv5e(a,b) _arm_smulbb((a), (b))
- +#else /* USE_MSVS_ARM_INTRINCICS */
- /** 16x32 multiplication, followed by a 16-bit shift right. Results fits in 32 bits */
- -#undef MULT16_32_Q16
- static OPUS_INLINE opus_val32 MULT16_32_Q16_armv5e(opus_val16 a, opus_val32 b)
- {
- int res;
- @@ -45,11 +58,8 @@ static OPUS_INLINE opus_val32 MULT16_32_Q16_armv5e(opus_val16 a, opus_val32 b)
- );
- return res;
- }
- -#define MULT16_32_Q16(a, b) (MULT16_32_Q16_armv5e(a, b))
- -
- /** 16x32 multiplication, followed by a 15-bit shift right. Results fits in 32 bits */
- -#undef MULT16_32_Q15
- static OPUS_INLINE opus_val32 MULT16_32_Q15_armv5e(opus_val16 a, opus_val32 b)
- {
- int res;
- @@ -61,13 +71,10 @@ static OPUS_INLINE opus_val32 MULT16_32_Q15_armv5e(opus_val16 a, opus_val32 b)
- );
- return SHL32(res,1);
- }
- -#define MULT16_32_Q15(a, b) (MULT16_32_Q15_armv5e(a, b))
- -
- /** 16x32 multiply, followed by a 15-bit shift right and 32-bit add.
- b must fit in 31 bits.
- Result fits in 32 bits. */
- -#undef MAC16_32_Q15
- static OPUS_INLINE opus_val32 MAC16_32_Q15_armv5e(opus_val32 c, opus_val16 a,
- opus_val32 b)
- {
- @@ -80,7 +87,6 @@ static OPUS_INLINE opus_val32 MAC16_32_Q15_armv5e(opus_val32 c, opus_val16 a,
- );
- return res;
- }
- -#define MAC16_32_Q15(c, a, b) (MAC16_32_Q15_armv5e(c, a, b))
- /** 16x32 multiply, followed by a 16-bit shift right and 32-bit add.
- Result fits in 32 bits. */
- @@ -100,7 +106,6 @@ static OPUS_INLINE opus_val32 MAC16_32_Q16_armv5e(opus_val32 c, opus_val16 a,
- #define MAC16_32_Q16(c, a, b) (MAC16_32_Q16_armv5e(c, a, b))
- /** 16x16 multiply-add where the result fits in 32 bits */
- -#undef MAC16_16
- static OPUS_INLINE opus_val32 MAC16_16_armv5e(opus_val32 c, opus_val16 a,
- opus_val16 b)
- {
- @@ -113,10 +118,8 @@ static OPUS_INLINE opus_val32 MAC16_16_armv5e(opus_val32 c, opus_val16 a,
- );
- return res;
- }
- -#define MAC16_16(c, a, b) (MAC16_16_armv5e(c, a, b))
- /** 16x16 multiplication where the result fits in 32 bits */
- -#undef MULT16_16
- static OPUS_INLINE opus_val32 MULT16_16_armv5e(opus_val16 a, opus_val16 b)
- {
- int res;
- @@ -128,6 +131,18 @@ static OPUS_INLINE opus_val32 MULT16_16_armv5e(opus_val16 a, opus_val16 b)
- );
- return res;
- }
- +
- +#endif /* USE_MSVS_ARM_INTRINCICS */
- +
- +#undef MULT16_32_Q16
- +#define MULT16_32_Q16(a, b) (MULT16_32_Q16_armv5e(a, b))
- +#undef MULT16_32_Q15
- +#define MULT16_32_Q15(a, b) (MULT16_32_Q15_armv5e(a, b))
- +#undef MAC16_32_Q15
- +#define MAC16_32_Q15(c, a, b) (MAC16_32_Q15_armv5e(c, a, b))
- +#undef MAC16_16
- +#define MAC16_16(c, a, b) (MAC16_16_armv5e(c, a, b))
- +#undef MULT16_16
- #define MULT16_16(a, b) (MULT16_16_armv5e(a, b))
- #ifdef OPUS_ARM_INLINE_MEDIA
- diff --git a/opus/src/celt/arm/kiss_fft_armv4.h b/opus/src/celt/arm/kiss_fft_armv4.h
- index e4faad6f2b9..f1dfde90a61 100644
- --- a/opus/src/celt/arm/kiss_fft_armv4.h
- +++ b/opus/src/celt/arm/kiss_fft_armv4.h
- @@ -32,6 +32,8 @@
- #ifdef FIXED_POINT
- +#ifdef USE_MSVS_ARM_INTRINCICS
- +#else
- #undef C_MUL
- #define C_MUL(m,a,b) \
- do{ \
- @@ -118,4 +120,6 @@
- #endif /* FIXED_POINT */
- +#endif //USE_MSVS_ARM_INTRINCICS
- +
- #endif /* KISS_FFT_ARMv4_H */
- diff --git a/opus/src/celt/arm/kiss_fft_armv5e.h b/opus/src/celt/arm/kiss_fft_armv5e.h
- index 9eca183d77d..b96f2a848fd 100644
- --- a/opus/src/celt/arm/kiss_fft_armv5e.h
- +++ b/opus/src/celt/arm/kiss_fft_armv5e.h
- @@ -38,6 +38,58 @@
- #define LDRD_CONS "Uq"
- #endif
- +#ifdef USE_MSVS_ARM_INTRINCICS
- +//conversion from kiss_twiddle_cpx to int
- +#define KISS_TWIDDLE_CPX_TO_INT(val) *((int*)(&(val)))
- +#define C_MUL_armv5e(m,a,b) \
- + do{ \
- + int mr1__ = 0; \
- + int mr2__ = 0; \
- + int mi__ = 0; \
- + long long aval__ = 0;\
- + int bval__ = 0; \
- + mi__ = _arm_smulwb((a).i, KISS_TWIDDLE_CPX_TO_INT(b)); \
- + mr1__ = _arm_smulwb((a).r, KISS_TWIDDLE_CPX_TO_INT(b)); \
- + mr2__ = _arm_smulwt((a).i, KISS_TWIDDLE_CPX_TO_INT(b)); \
- + mi__ = _arm_smlawt((a).r, KISS_TWIDDLE_CPX_TO_INT(b), mi__); \
- + (m).r = SHL32(SUB32(mr1__, mr2__), 1); \
- + (m).i = SHL32(mi__, 1); \
- + } \
- + while(0)
- +
- +#define C_MUL4_armv5e(m,a,b) \
- + do{ \
- + int mr1__ = 0; \
- + int mr2__ = 0; \
- + int mi__ = 0; \
- + long long aval__ = 0; \
- + int bval__ = 0; \
- + mi__ = _arm_smulwb((a).i, KISS_TWIDDLE_CPX_TO_INT(b)); \
- + mr1__ = _arm_smulwb((a).r, KISS_TWIDDLE_CPX_TO_INT(b)); \
- + mr2__ = _arm_smulwt((a).i, KISS_TWIDDLE_CPX_TO_INT(b)); \
- + mi__ = _arm_smlawt((a).r, KISS_TWIDDLE_CPX_TO_INT(b), mi__); \
- + (m).r = SHL32(SUB32(mr1__, mr2__), 1); \
- + (m).i = SHL32(mi__, 1); \
- + } \
- + while(0)
- +
- +#define C_MULC_armv5e(m,a,b) \
- + do{ \
- + int mr__ = 0; \
- + int mi1__ = 0; \
- + int mi2__ = 0; \
- + long long aval__ = 0; \
- + int bval__ = 0; \
- + mr__ = _arm_smulwb((a).r, KISS_TWIDDLE_CPX_TO_INT(b)); \
- + mi1__ = _arm_smulwb((a).i, KISS_TWIDDLE_CPX_TO_INT(b)); \
- + mi2__ = _arm_smulwt((a).r, KISS_TWIDDLE_CPX_TO_INT(b)); \
- + mr__ = _arm_smlawt((a).i, KISS_TWIDDLE_CPX_TO_INT(b), mr__); \
- + (m).r = SHL32(mr__, 1); \
- + (m).i = SHL32(SUB32(mi1__, mi2__), 1); \
- + } \
- + while(0)
- +
- +#else
- #undef C_MUL
- #define C_MUL(m,a,b) \
- do{ \
- @@ -112,6 +164,16 @@
- (m).i = SHL32(SUB32(mi1__, mi2__), 1); \
- } \
- while(0)
- +#endif // USE_MSVS_ARM_INTRINCICS
- +
- +#ifdef USE_MSVS_ARM_INTRINCICS
- +#undef C_MUL
- +#define C_MUL(m, a, b) C_MUL_armv5e((m), (a), (b))
- +#undef C_MUL4
- +#define C_MUL4(m, a, b) C_MUL4_armv5e((m), (a), (b))
- +#undef C_MULC
- +#define C_MULC(m, a, b) C_MULC_armv5e((m), (a), (b))
- +#endif // USE_MSVS_ARM_INTRINCICS
- #endif /* FIXED_POINT */
- diff --git a/opus/src/celt/arm/thumb.pm b/opus/src/celt/arm/thumb.pm
- new file mode 100644
- index 00000000000..584ca2994b0
- --- /dev/null
- +++ b/opus/src/celt/arm/thumb.pm
- @@ -0,0 +1,70 @@
- +#!/usr/bin/env perl
- +##
- +## Copyright (c) 2013 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.
- +##
- +
- +package thumb;
- +
- +sub FixThumbInstructions($$)
- +{
- + my $short_branches = $_[1];
- + my $branch_shift_offset = $short_branches ? 1 : 0;
- +
- + # Write additions with shifts, such as "add r10, r11, lsl #8",
- + # in three operand form, "add r10, r10, r11, lsl #8".
- + s/(add\s+)(r\d+),\s*(r\d+),\s*(lsl #\d+)/$1$2, $2, $3, $4/gi;
- +
- + # Convert additions with a non-constant shift into a sequence
- + # with left shift, addition and a right shift (to restore the
- + # register to the original value). Currently the right shift
- + # isn't necessary in the code base since the values in these
- + # registers aren't used, but doing the shift for consistency.
- + # This converts instructions such as "add r12, r12, r5, lsl r4"
- + # into the sequence "lsl r5, r4", "add r12, r12, r5", "lsr r5, r4".
- + s/^(\s*)(add)(\s+)(r\d+),\s*(r\d+),\s*(r\d+),\s*lsl (r\d+)/$1lsl$3$6, $7\n$1$2$3$4, $5, $6\n$1lsr$3$6, $7/gi;
- +
- + # Convert loads with right shifts in the indexing into a
- + # sequence of an add, load and sub. This converts
- + # "ldrb r4, [r9, lr, asr #1]" into "add r9, r9, lr, asr #1",
- + # "ldrb r9, [r9]", "sub r9, r9, lr, asr #1".
- + s/^(\s*)(ldrb)(\s+)(r\d+),\s*\[(\w+),\s*(\w+),\s*(asr #\d+)\]/$1add $3$5, $5, $6, $7\n$1$2$3$4, [$5]\n$1sub $3$5, $5, $6, $7/gi;
- +
- + # Convert register indexing with writeback into a separate add
- + # instruction. This converts "ldrb r12, [r1, r2]!" into
- + # "ldrb r12, [r1, r2]", "add r1, r1, r2".
- + s/^(\s*)(ldrb)(\s+)(r\d+),\s*\[(\w+),\s*(\w+)\]!/$1$2$3$4, [$5, $6]\n$1add $3$5, $6/gi;
- +
- + # Convert negative register indexing into separate sub/add instructions.
- + # This converts "ldrne r4, [src, -pstep, lsl #1]" into
- + # "subne src, src, pstep, lsl #1", "ldrne r4, [src]",
- + # "addne src, src, pstep, lsl #1". In a couple of cases where
- + # this is used, it's used for two subsequent load instructions,
- + # where a hand-written version of it could merge two subsequent
- + # add and sub instructions.
- + s/^(\s*)((ldr|str|pld)(ne)?)(\s+)(r\d+,\s*)?\[(\w+), -([^\]]+)\]/$1sub$4$5$7, $7, $8\n$1$2$5$6\[$7\]\n$1add$4$5$7, $7, $8/gi;
- +
- + # Convert register post indexing to a separate add instruction.
- + # This converts "ldrneb r9, [r0], r2" into "ldrneb r9, [r0]",
- + # "addne r0, r0, r2".
- + s/^(\s*)((ldr|str)(ne)?[bhd]?)(\s+)(\w+),(\s*\w+,)?\s*\[(\w+)\],\s*(\w+)/$1$2$5$6,$7 [$8]\n$1add$4$5$8, $8, $9/gi;
- +
- + # Convert a conditional addition to the pc register into a series of
- + # instructions. This converts "addlt pc, pc, r3, lsl #2" into
- + # "itttt lt", "movlt.n r12, pc", "addlt.w r12, #12",
- + # "addlt.w r12, r12, r3, lsl #2", "movlt.n pc, r12".
- + # This assumes that r12 is free at this point.
- + s/^(\s*)addlt(\s+)pc,\s*pc,\s*(\w+),\s*lsl\s*#(\d+)/$1itttt$2lt\n$1movlt.n$2r12, pc\n$1addlt.w$2r12, #12\n$1addlt.w$2r12, r12, $3, lsl #($4-$branch_shift_offset)\n$1movlt.n$2pc, r12/gi;
- +
- + # Convert "mov pc, lr" into "bx lr", since the former only works
- + # for switching from arm to thumb (and only in armv7), but not
- + # from thumb to arm.
- + s/mov(\s*)pc\s*,\s*lr/bx$1lr/gi;
- +}
- +
- +1;
- diff --git a/opus/src/silk/arm/SigProc_FIX_armv4.h b/opus/src/silk/arm/SigProc_FIX_armv4.h
- index ff62b1e5d63..1970a9497ba 100644
- --- a/opus/src/silk/arm/SigProc_FIX_armv4.h
- +++ b/opus/src/silk/arm/SigProc_FIX_armv4.h
- @@ -29,6 +29,7 @@ POSSIBILITY OF SUCH DAMAGE.
- #ifndef SILK_SIGPROC_FIX_ARMv4_H
- #define SILK_SIGPROC_FIX_ARMv4_H
- +#ifndef USE_MSVS_ARM_INTRINCICS
- #undef silk_MLA
- static OPUS_INLINE opus_int32 silk_MLA_armv4(opus_int32 a, opus_int32 b,
- opus_int32 c)
- @@ -43,5 +44,6 @@ static OPUS_INLINE opus_int32 silk_MLA_armv4(opus_int32 a, opus_int32 b,
- return res;
- }
- #define silk_MLA(a, b, c) (silk_MLA_armv4(a, b, c))
- +#endif //USE_MSVS_ARM_INTRINCICS
- #endif
- diff --git a/opus/src/silk/arm/SigProc_FIX_armv5e.h b/opus/src/silk/arm/SigProc_FIX_armv5e.h
- index 617a09cab17..fdc6802c05f 100644
- --- a/opus/src/silk/arm/SigProc_FIX_armv5e.h
- +++ b/opus/src/silk/arm/SigProc_FIX_armv5e.h
- @@ -29,7 +29,10 @@ POSSIBILITY OF SUCH DAMAGE.
- #ifndef SILK_SIGPROC_FIX_ARMv5E_H
- #define SILK_SIGPROC_FIX_ARMv5E_H
- -#undef silk_SMULTT
- +#ifdef USE_MSVS_ARM_INTRINCICS
- +#define silk_SMULTT_armv5e(a, b) _arm_smultt((a), (b))
- +#define silk_SMLATT_armv5e(a, b, c) _arm_smlatt((b), (c), (a))
- +#else
- static OPUS_INLINE opus_int32 silk_SMULTT_armv5e(opus_int32 a, opus_int32 b)
- {
- opus_int32 res;
- @@ -41,9 +44,7 @@ static OPUS_INLINE opus_int32 silk_SMULTT_armv5e(opus_int32 a, opus_int32 b)
- );
- return res;
- }
- -#define silk_SMULTT(a, b) (silk_SMULTT_armv5e(a, b))
- -#undef silk_SMLATT
- static OPUS_INLINE opus_int32 silk_SMLATT_armv5e(opus_int32 a, opus_int32 b,
- opus_int32 c)
- {
- @@ -56,6 +57,12 @@ static OPUS_INLINE opus_int32 silk_SMLATT_armv5e(opus_int32 a, opus_int32 b,
- );
- return res;
- }
- +#endif //USE_MSVS_ARM_INTRINCICS
- +
- +#undef silk_SMULTT
- +#define silk_SMULTT(a, b) (silk_SMULTT_armv5e(a, b))
- +
- +#undef silk_SMLATT
- #define silk_SMLATT(a, b, c) (silk_SMLATT_armv5e(a, b, c))
- #endif
- diff --git a/opus/src/silk/arm/macros_armv4.h b/opus/src/silk/arm/macros_armv4.h
- index 877eb18dd58..1cd9f3314f8 100644
- --- a/opus/src/silk/arm/macros_armv4.h
- +++ b/opus/src/silk/arm/macros_armv4.h
- @@ -28,13 +28,22 @@ POSSIBILITY OF SUCH DAMAGE.
- #ifndef SILK_MACROS_ARMv4_H
- #define SILK_MACROS_ARMv4_H
- +#ifdef USE_MSVS_ARM_INTRINCICS
- +/* (a32 * (opus_int32)((opus_int16)(b32))) >> 16 output have to be 32bit int */
- +#define silk_SMULWB_armv4(a, b) ((opus_int32)((_arm_smull((a),(opus_int16)(b)) >> 16)))
- +/* (a32 * (b32 >> 16)) >> 16 */
- +#define silk_SMULWT_armv4(a, b) ((opus_int32)(_arm_smull((a), (b)&~0xFFFF)))
- +/* (a32 * b32) >> 16 */
- +#define silk_SMULWW_armv4(a, b) ((opus_int32)((_arm_smull((a),(b))) >> 16))
- +#define silk_SMLAWW_armv4(a, b, c) (silk_SMULWW_armv4((b), (c)) + (a))
- +#else /* USE_MSVS_ARM_INTRINCICS */
- +
- /* This macro only avoids the undefined behaviour from a left shift of
- a negative value. It should only be used in macros that can't include
- SigProc_FIX.h. In other cases, use silk_LSHIFT32(). */
- #define SAFE_SHL(a,b) ((opus_int32)((opus_uint32)(a) << (b)))
- /* (a32 * (opus_int32)((opus_int16)(b32))) >> 16 output have to be 32bit int */
- -#undef silk_SMULWB
- static OPUS_INLINE opus_int32 silk_SMULWB_armv4(opus_int32 a, opus_int16 b)
- {
- unsigned rd_lo;
- @@ -47,14 +56,8 @@ static OPUS_INLINE opus_int32 silk_SMULWB_armv4(opus_int32 a, opus_int16 b)
- );
- return rd_hi;
- }
- -#define silk_SMULWB(a, b) (silk_SMULWB_armv4(a, b))
- -
- -/* a32 + (b32 * (opus_int32)((opus_int16)(c32))) >> 16 output have to be 32bit int */
- -#undef silk_SMLAWB
- -#define silk_SMLAWB(a, b, c) ((a) + silk_SMULWB(b, c))
- /* (a32 * (b32 >> 16)) >> 16 */
- -#undef silk_SMULWT
- static OPUS_INLINE opus_int32 silk_SMULWT_armv4(opus_int32 a, opus_int32 b)
- {
- unsigned rd_lo;
- @@ -67,14 +70,8 @@ static OPUS_INLINE opus_int32 silk_SMULWT_armv4(opus_int32 a, opus_int32 b)
- );
- return rd_hi;
- }
- -#define silk_SMULWT(a, b) (silk_SMULWT_armv4(a, b))
- -
- -/* a32 + (b32 * (c32 >> 16)) >> 16 */
- -#undef silk_SMLAWT
- -#define silk_SMLAWT(a, b, c) ((a) + silk_SMULWT(b, c))
- /* (a32 * b32) >> 16 */
- -#undef silk_SMULWW
- static OPUS_INLINE opus_int32 silk_SMULWW_armv4(opus_int32 a, opus_int32 b)
- {
- unsigned rd_lo;
- @@ -87,9 +84,7 @@ static OPUS_INLINE opus_int32 silk_SMULWW_armv4(opus_int32 a, opus_int32 b)
- );
- return SAFE_SHL(rd_hi,16)+(rd_lo>>16);
- }
- -#define silk_SMULWW(a, b) (silk_SMULWW_armv4(a, b))
- -#undef silk_SMLAWW
- static OPUS_INLINE opus_int32 silk_SMLAWW_armv4(opus_int32 a, opus_int32 b,
- opus_int32 c)
- {
- @@ -103,6 +98,22 @@ static OPUS_INLINE opus_int32 silk_SMLAWW_armv4(opus_int32 a, opus_int32 b,
- );
- return a+SAFE_SHL(rd_hi,16)+(rd_lo>>16);
- }
- +
- +#endif /* USE_MSVS_ARM_INTRINCICS */
- +
- +#undef silk_SMULWB
- +#define silk_SMULWB(a, b) (silk_SMULWB_armv4(a, b))
- +/* a32 + (b32 * (opus_int32)((opus_int16)(c32))) >> 16 output have to be 32bit int */
- +#undef silk_SMLAWB
- +#define silk_SMLAWB(a, b, c) ((a) + silk_SMULWB(b, c))
- +#undef silk_SMULWT
- +#define silk_SMULWT(a, b) (silk_SMULWT_armv4(a, b))
- +///* a32 + (b32 * (c32 >> 16)) >> 16 */
- +#undef silk_SMLAWT
- +#define silk_SMLAWT(a, b, c) ((a) + silk_SMULWT(b, c))
- +#undef silk_SMULWW
- +#define silk_SMULWW(a, b) (silk_SMULWW_armv4(a, b))
- +#undef silk_SMLAWW
- #define silk_SMLAWW(a, b, c) (silk_SMLAWW_armv4(a, b, c))
- #undef SAFE_SHL
- diff --git a/opus/src/silk/arm/macros_armv5e.h b/opus/src/silk/arm/macros_armv5e.h
- index b14ec65ddb2..8dfde8b5a48 100644
- --- a/opus/src/silk/arm/macros_armv5e.h
- +++ b/opus/src/silk/arm/macros_armv5e.h
- @@ -29,6 +29,31 @@ POSSIBILITY OF SUCH DAMAGE.
- #ifndef SILK_MACROS_ARMv5E_H
- #define SILK_MACROS_ARMv5E_H
- +
- +#ifdef USE_MSVS_ARM_INTRINCICS
- +/* (a32 * (opus_int32)((opus_int16)(b32))) >> 16 output have to be 32bit int */
- +#define silk_SMULWB_armv5e(a, b) _arm_smulwb((a), (b))
- +/* a32 + (b32 * (opus_int32)((opus_int16)(c32))) >> 16 output have to be 32bit int */
- +#define silk_SMLAWB_armv5e(a, b, c) _arm_smlawb((b), (c), (a))
- +/* (a32 * (b32 >> 16)) >> 16 */
- +#define silk_SMULWT_armv5e(a, b) _arm_smulwt((a), (b))
- +/* a32 + (b32 * (c32 >> 16)) >> 16 */
- +#define silk_SMLAWT_armv5e(a, b, c) _arm_smlawt((b), (c), (a))
- +/* (opus_int32)((opus_int16)(a3))) * (opus_int32)((opus_int16)(b32)) output have to be 32bit int */
- +#define silk_SMULBB_armv5e(a, b) _arm_smulbb((a), (b))
- +/* a32 + (opus_int32)((opus_int16)(b32)) * (opus_int32)((opus_int16)(c32)) output have to be 32bit int */
- +#define silk_SMLABB_armv5e(a, b, c) _arm_smlabb((b), (c), (a))
- +/* (opus_int32)((opus_int16)(a32)) * (b32 >> 16) */
- +#define silk_SMULBT_armv5e(a, b) _arm_smulbt((a), (b))
- +/* a32 + (opus_int32)((opus_int16)(b32)) * (c32 >> 16) */
- +#define silk_SMLABT_armv5e(a, b, c) _arm_smlabt((b), (c), (a))
- +/* add/subtract with output saturated */
- +#define silk_ADD_SAT32_armv5e(a, b) _arm_qadd((a), (b))
- +#define silk_SUB_SAT32_armv5e(a, b) _arm_qsub((a), (b))
- +#define silk_CLZ16_armv5(in16) ((opus_int32)_arm_clz(((opus_int16)(in16))<<16|0x8000))
- +#define silk_CLZ32_armv5(in32) ((opus_int32)_arm_clz((unsigned int)(in32)))
- +#else /* USE_MSVS_ARM_INTRINCICS */
- +
- /* This macro only avoids the undefined behaviour from a left shift of
- a negative value. It should only be used in macros that can't include
- SigProc_FIX.h. In other cases, use silk_LSHIFT32(). */
- @@ -47,10 +72,8 @@ static OPUS_INLINE opus_int32 silk_SMULWB_armv5e(opus_int32 a, opus_int16 b)
- );
- return res;
- }
- -#define silk_SMULWB(a, b) (silk_SMULWB_armv5e(a, b))
- /* a32 + (b32 * (opus_int32)((opus_int16)(c32))) >> 16 output have to be 32bit int */
- -#undef silk_SMLAWB
- static OPUS_INLINE opus_int32 silk_SMLAWB_armv5e(opus_int32 a, opus_int32 b,
- opus_int16 c)
- {
- @@ -63,10 +86,8 @@ static OPUS_INLINE opus_int32 silk_SMLAWB_armv5e(opus_int32 a, opus_int32 b,
- );
- return res;
- }
- -#define silk_SMLAWB(a, b, c) (silk_SMLAWB_armv5e(a, b, c))
- /* (a32 * (b32 >> 16)) >> 16 */
- -#undef silk_SMULWT
- static OPUS_INLINE opus_int32 silk_SMULWT_armv5e(opus_int32 a, opus_int32 b)
- {
- int res;
- @@ -78,10 +99,8 @@ static OPUS_INLINE opus_int32 silk_SMULWT_armv5e(opus_int32 a, opus_int32 b)
- );
- return res;
- }
- -#define silk_SMULWT(a, b) (silk_SMULWT_armv5e(a, b))
- /* a32 + (b32 * (c32 >> 16)) >> 16 */
- -#undef silk_SMLAWT
- static OPUS_INLINE opus_int32 silk_SMLAWT_armv5e(opus_int32 a, opus_int32 b,
- opus_int32 c)
- {
- @@ -94,10 +113,8 @@ static OPUS_INLINE opus_int32 silk_SMLAWT_armv5e(opus_int32 a, opus_int32 b,
- );
- return res;
- }
- -#define silk_SMLAWT(a, b, c) (silk_SMLAWT_armv5e(a, b, c))
- /* (opus_int32)((opus_int16)(a3))) * (opus_int32)((opus_int16)(b32)) output have to be 32bit int */
- -#undef silk_SMULBB
- static OPUS_INLINE opus_int32 silk_SMULBB_armv5e(opus_int32 a, opus_int32 b)
- {
- int res;
- @@ -109,10 +126,8 @@ static OPUS_INLINE opus_int32 silk_SMULBB_armv5e(opus_int32 a, opus_int32 b)
- );
- return res;
- }
- -#define silk_SMULBB(a, b) (silk_SMULBB_armv5e(a, b))
- /* a32 + (opus_int32)((opus_int16)(b32)) * (opus_int32)((opus_int16)(c32)) output have to be 32bit int */
- -#undef silk_SMLABB
- static OPUS_INLINE opus_int32 silk_SMLABB_armv5e(opus_int32 a, opus_int32 b,
- opus_int32 c)
- {
- @@ -125,10 +140,8 @@ static OPUS_INLINE opus_int32 silk_SMLABB_armv5e(opus_int32 a, opus_int32 b,
- );
- return res;
- }
- -#define silk_SMLABB(a, b, c) (silk_SMLABB_armv5e(a, b, c))
- /* (opus_int32)((opus_int16)(a32)) * (b32 >> 16) */
- -#undef silk_SMULBT
- static OPUS_INLINE opus_int32 silk_SMULBT_armv5e(opus_int32 a, opus_int32 b)
- {
- int res;
- @@ -140,10 +153,8 @@ static OPUS_INLINE opus_int32 silk_SMULBT_armv5e(opus_int32 a, opus_int32 b)
- );
- return res;
- }
- -#define silk_SMULBT(a, b) (silk_SMULBT_armv5e(a, b))
- /* a32 + (opus_int32)((opus_int16)(b32)) * (c32 >> 16) */
- -#undef silk_SMLABT
- static OPUS_INLINE opus_int32 silk_SMLABT_armv5e(opus_int32 a, opus_int32 b,
- opus_int32 c)
- {
- @@ -156,10 +167,8 @@ static OPUS_INLINE opus_int32 silk_SMLABT_armv5e(opus_int32 a, opus_int32 b,
- );
- return res;
- }
- -#define silk_SMLABT(a, b, c) (silk_SMLABT_armv5e(a, b, c))
- /* add/subtract with output saturated */
- -#undef silk_ADD_SAT32
- static OPUS_INLINE opus_int32 silk_ADD_SAT32_armv5e(opus_int32 a, opus_int32 b)
- {
- int res;
- @@ -171,9 +180,7 @@ static OPUS_INLINE opus_int32 silk_ADD_SAT32_armv5e(opus_int32 a, opus_int32 b)
- );
- return res;
- }
- -#define silk_ADD_SAT32(a, b) (silk_ADD_SAT32_armv5e(a, b))
- -#undef silk_SUB_SAT32
- static OPUS_INLINE opus_int32 silk_SUB_SAT32_armv5e(opus_int32 a, opus_int32 b)
- {
- int res;
- @@ -185,9 +192,7 @@ static OPUS_INLINE opus_int32 silk_SUB_SAT32_armv5e(opus_int32 a, opus_int32 b)
- );
- return res;
- }
- -#define silk_SUB_SAT32(a, b) (silk_SUB_SAT32_armv5e(a, b))
- -#undef silk_CLZ16
- static OPUS_INLINE opus_int32 silk_CLZ16_armv5(opus_int16 in16)
- {
- int res;
- @@ -199,9 +204,7 @@ static OPUS_INLINE opus_int32 silk_CLZ16_armv5(opus_int16 in16)
- );
- return res;
- }
- -#define silk_CLZ16(in16) (silk_CLZ16_armv5(in16))
- -#undef silk_CLZ32
- static OPUS_INLINE opus_int32 silk_CLZ32_armv5(opus_int32 in32)
- {
- int res;
- @@ -213,6 +216,33 @@ static OPUS_INLINE opus_int32 silk_CLZ32_armv5(opus_int32 in32)
- );
- return res;
- }
- +
- +#endif /* USE_MSVS_ARM_INTRINCICS */
- +
- +#undef silk_SMULWB
- +#define silk_SMULWB(a, b) (silk_SMULWB_armv5e(a, b))
- +#undef silk_SMLAWB
- +#define silk_SMLAWB(a, b, c) (silk_SMLAWB_armv5e(a, b, c))
- +#undef silk_SMULWT
- +#define silk_SMULWT(a, b) (silk_SMULWT_armv5e(a, b))
- +#undef silk_SMLAWT
- +#define silk_SMLAWT(a, b, c) (silk_SMLAWT_armv5e(a, b, c))
- +#undef silk_SMULBB
- +#define silk_SMULBB(a, b) (silk_SMULBB_armv5e(a, b))
- +#undef silk_SMLABB
- +#define silk_SMLABB(a, b, c) (silk_SMLABB_armv5e(a, b, c))
- +#undef silk_SMULBT
- +#define silk_SMULBT(a, b) (silk_SMULBT_armv5e(a, b))
- +#undef silk_SMLABT
- +#define silk_SMLABT(a, b, c) (silk_SMLABT_armv5e(a, b, c))
- +#undef silk_ADD_SAT32
- +#define silk_ADD_SAT32(a, b) (silk_ADD_SAT32_armv5e(a, b))
- +#undef silk_SUB_SAT32
- +#define silk_SUB_SAT32(a, b) (silk_SUB_SAT32_armv5e(a, b))
- +#undef silk_CLZ16
- +#define silk_CLZ16(in16) (silk_CLZ16_armv5(in16))
- +#undef silk_CLZ32
- +
- #define silk_CLZ32(in32) (silk_CLZ32_armv5(in32))
- #undef SAFE_SHL
- diff --git a/opus/src/tests/test_opus_api.c b/opus/src/tests/test_opus_api.c
- index 1d0095058f8..c7256dc034c 100644
- --- a/opus/src/tests/test_opus_api.c
- +++ b/opus/src/tests/test_opus_api.c
- @@ -1874,7 +1874,7 @@ int test_malloc_fail(void)
- #endif
- #endif
- -int main(int _argc, char **_argv)
- +int main(int _argc, char *_argv[])
- {
- opus_int32 total;
- const char * oversion;
- diff --git a/opus/src/tests/test_opus_decode.c b/opus/src/tests/test_opus_decode.c
- index 5197fa1dd2c..62597ea4566 100644
- --- a/opus/src/tests/test_opus_decode.c
- +++ b/opus/src/tests/test_opus_decode.c
- @@ -423,7 +423,7 @@ void test_soft_clip(void)
- }
- #endif
- -int main(int _argc, char **_argv)
- +int main(int _argc, char *_argv[])
- {
- const char * oversion;
- const char * env_seed;
- diff --git a/opus/src/tests/test_opus_encode.c b/opus/src/tests/test_opus_encode.c
- index dae49c3d535..c84a1b95c80 100644
- --- a/opus/src/tests/test_opus_encode.c
- +++ b/opus/src/tests/test_opus_encode.c
- @@ -632,7 +632,7 @@ void print_usage(char* _argv[])
- fprintf(stderr,"Usage: %s [<seed>] [-fuzz <num_encoders> <num_settings_per_encoder>]\n",_argv[0]);
- }
- -int main(int _argc, char **_argv)
- +int main(int _argc, char *_argv[])
- {
- int args=1;
- char * strtol_str=NULL;
- diff --git a/protobuf/src/google/protobuf/compiler/subprocess.cc b/protobuf/src/google/protobuf/compiler/subprocess.cc
- index 2e5a89ac499..8dcac435d5c 100644
- --- a/protobuf/src/google/protobuf/compiler/subprocess.cc
- +++ b/protobuf/src/google/protobuf/compiler/subprocess.cc
- @@ -98,6 +98,7 @@ void Subprocess::Start(const string& program, SearchMode search_mode) {
- GOOGLE_LOG(FATAL) << "CreatePipe: " << Win32ErrorMessage(GetLastError());
- }
- +#ifndef WINUWP
- // Make child side of the pipes inheritable.
- if (!SetHandleInformation(stdin_pipe_read,
- HANDLE_FLAG_INHERIT, HANDLE_FLAG_INHERIT)) {
- @@ -109,6 +110,11 @@ void Subprocess::Start(const string& program, SearchMode search_mode) {
- GOOGLE_LOG(FATAL) << "SetHandleInformation: "
- << Win32ErrorMessage(GetLastError());
- }
- +#else
- +#ifndef STARTF_USESTDHANDLES
- +#define STARTF_USESTDHANDLES 0x00000100
- +#endif //ndef STARTF_USESTDHANDLES
- +#endif //ndef WINUWP
- // Setup STARTUPINFO to redirect handles.
- STARTUPINFOA startup_info;
- diff --git a/protobuf/src/google/protobuf/stubs/platform_macros.h b/protobuf/src/google/protobuf/stubs/platform_macros.h
- index c3a64dd2b38..b20b9e2862d 100644
- --- a/protobuf/src/google/protobuf/stubs/platform_macros.h
- +++ b/protobuf/src/google/protobuf/stubs/platform_macros.h
- @@ -44,6 +44,9 @@
- #elif defined(_M_IX86) || defined(__i386__)
- #define GOOGLE_PROTOBUF_ARCH_IA32 1
- #define GOOGLE_PROTOBUF_ARCH_32_BIT 1
- +#elif defined(_M_ARM)
- +#define GOOGLE_PROTOBUF_ARCH_ARM 1
- +#define GOOGLE_PROTOBUF_ARCH_32_BIT 1
- #elif defined(__QNX__)
- #define GOOGLE_PROTOBUF_ARCH_ARM_QNX 1
- #define GOOGLE_PROTOBUF_ARCH_32_BIT 1
- diff --git a/yasm/BUILD.gn b/yasm/BUILD.gn
- index 6e245fe8e22..7f9031ec730 100644
- --- a/yasm/BUILD.gn
- +++ b/yasm/BUILD.gn
- @@ -230,6 +230,9 @@ if (current_toolchain == host_toolchain) {
- # Default manifest on Windows (a no-op elsewhere).
- "//build/win:default_exe_manifest",
- ]
- + if (current_os == "winuwp") {
- + deps += [ "//third_party/winuwp_compat:force_include_win" ]
- + }
- }
- config("yasm_warnings") {
- @@ -378,10 +381,14 @@ if (current_toolchain == host_toolchain) {
- ":generate_module",
- ":generate_version",
- ":yasm_utils",
- + "//third_party/winuwp_compat:winuwp_compat",
- # Default manifest on Windows (a no-op elsewhere).
- "//build/win:default_exe_manifest",
- ]
- + if (current_os == "winuwp") {
- + deps += [ "//third_party/winuwp_compat:force_include_std" ]
- + }
- }
- compiled_action_foreach("compile_gperf") {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement