summaryrefslogtreecommitdiff
path: root/vpx_dsp
diff options
context:
space:
mode:
authorShiyou Yin <yinshiyou-hf@loongson.cn>2017-11-30 00:53:37 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-11-30 00:53:37 +0000
commit8d70aef05f8601b30773412c68f0d96292ec9fe0 (patch)
tree613e2a387b53ef522b623896b0b2427ef493b0ab /vpx_dsp
parent9116e3d9577f1376ab9608a73eb036c45053b56b (diff)
parenta0ca2a4079b7f8d662fb68b912a5de3757f23b85 (diff)
downloadlibvpx-8d70aef05f8601b30773412c68f0d96292ec9fe0.tar
libvpx-8d70aef05f8601b30773412c68f0d96292ec9fe0.tar.gz
libvpx-8d70aef05f8601b30773412c68f0d96292ec9fe0.tar.bz2
libvpx-8d70aef05f8601b30773412c68f0d96292ec9fe0.zip
Merge "vpx: [loongson] fix bug in var_filter_block2d_bil_16x"
Diffstat (limited to 'vpx_dsp')
-rw-r--r--vpx_dsp/mips/variance_mmi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/vpx_dsp/mips/variance_mmi.c b/vpx_dsp/mips/variance_mmi.c
index e40f50d66..bb35086eb 100644
--- a/vpx_dsp/mips/variance_mmi.c
+++ b/vpx_dsp/mips/variance_mmi.c
@@ -1068,14 +1068,14 @@ static inline void var_filter_block2d_bil_16x(const uint8_t *a, int a_stride,
"1: \n\t"
MMI_ADDU(%[a], %[a], %[a_stride])
- VAR_FILTER_BLOCK2D_BIL_FIRST_PASS_16_A
+ VAR_FILTER_BLOCK2D_BIL_FIRST_PASS_16_B
MMI_ADDIU(%[temp2_ptr], %[temp2_ptr], 0x10)
- VAR_FILTER_BLOCK2D_BIL_SECOND_PASS_16_B
+ VAR_FILTER_BLOCK2D_BIL_SECOND_PASS_16_A
MMI_ADDU(%[a], %[a], %[a_stride])
- VAR_FILTER_BLOCK2D_BIL_FIRST_PASS_16_B
+ VAR_FILTER_BLOCK2D_BIL_FIRST_PASS_16_A
MMI_ADDIU(%[temp2_ptr], %[temp2_ptr], 0x10)
- VAR_FILTER_BLOCK2D_BIL_SECOND_PASS_16_A
+ VAR_FILTER_BLOCK2D_BIL_SECOND_PASS_16_B
"addiu %[counter], %[counter], -0x01 \n\t"
"bnez %[counter], 1b \n\t"
: [ftmp0] "=&f"(ftmp[0]), [ftmp1] "=&f"(ftmp[1]), [ftmp2] "=&f"(ftmp[2]),