From: Yue Chen Date: Mon, 11 Jul 2016 21:23:08 +0000 (-0700) Subject: Cosmetics for vp10/common/vp10_rtcd_defs.pl X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=68e19472c111e0185a0acedd3fa6a1300394cd08;p=libvpx Cosmetics for vp10/common/vp10_rtcd_defs.pl Change-Id: Iaf8c6f0b1e340f0406df2871a3dc2ded19b7009a --- diff --git a/vp10/common/vp10_rtcd_defs.pl b/vp10/common/vp10_rtcd_defs.pl index 369933d55..8b973f942 100644 --- a/vp10/common/vp10_rtcd_defs.pl +++ b/vp10/common/vp10_rtcd_defs.pl @@ -268,16 +268,11 @@ if (vpx_config("CONFIG_VP9_HIGHBITDEPTH") eq "yes") { add_proto qw/void vp10_iht16x16_256_add/, "const tran_low_t *input, uint8_t *output, int pitch, int tx_type"; specialize qw/vp10_iht16x16_256_add sse2 dspr2/; -if (!(vpx_config("CONFIG_VP10") eq "yes" && vpx_config("CONFIG_EXT_TX") eq "yes")) { - add_proto qw/void vp10_iht4x4_16_add/, "const tran_low_t *input, uint8_t *dest, int dest_stride, int tx_type"; - specialize qw/vp10_iht4x4_16_add msa/; - - add_proto qw/void vp10_iht8x8_64_add/, "const tran_low_t *input, uint8_t *dest, int dest_stride, int tx_type"; - specialize qw/vp10_iht8x8_64_add msa/; - - add_proto qw/void vp10_iht16x16_256_add/, "const tran_low_t *input, uint8_t *output, int pitch, int tx_type"; - specialize qw/vp10_iht16x16_256_add msa/; -} + if (vpx_config("CONFIG_EXT_TX") ne "yes") { + specialize qw/vp10_iht4x4_16_add msa/; + specialize qw/vp10_iht8x8_64_add msa/; + specialize qw/vp10_iht16x16_256_add msa/; + } add_proto qw/void vp10_fdct4x4/, "const int16_t *input, tran_low_t *output, int stride"; specialize qw/vp10_fdct4x4 sse2/; @@ -456,16 +451,11 @@ if (vpx_config("CONFIG_VP9_HIGHBITDEPTH") eq "yes") { add_proto qw/void vp10_fht16x16/, "const int16_t *input, tran_low_t *output, int stride, int tx_type"; specialize qw/vp10_fht16x16 sse2/; -if (!(vpx_config("CONFIG_VP10") eq "yes" && vpx_config("CONFIG_EXT_TX") eq "yes")) { - add_proto qw/void vp10_fht4x4/, "const int16_t *input, tran_low_t *output, int stride, int tx_type"; - specialize qw/vp10_fht4x4 msa/; - - add_proto qw/void vp10_fht8x8/, "const int16_t *input, tran_low_t *output, int stride, int tx_type"; - specialize qw/vp10_fht8x8 msa/; - - add_proto qw/void vp10_fht16x16/, "const int16_t *input, tran_low_t *output, int stride, int tx_type"; - specialize qw/vp10_fht16x16 msa/; -} + if (vpx_config("CONFIG_EXT_TX") ne "yes") { + specialize qw/vp10_fht4x4 msa/; + specialize qw/vp10_fht8x8 msa/; + specialize qw/vp10_fht16x16 msa/; + } add_proto qw/void vp10_fht32x32/, "const int16_t *input, tran_low_t *output, int stride, int tx_type"; specialize qw/vp10_fht32x32/;