avcodec/mips: Fix failed case: hevc-conformance-AMP_A_Samsung_* when enable msa
authorgxw <guxiwei-hf@loongson.cn>
Mon, 24 Dec 2018 06:07:44 +0000 (14:07 +0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 21 Mar 2019 09:42:51 +0000 (10:42 +0100)
commit4dbfbcef16703ed44c1c1605827cb27945a3c897
treefef051657519d90e55119090732bf5c542c25db0
parent67bc75d5b1bc48ee29c9bc9ac07a7ecbafdd7a8a
avcodec/mips: Fix failed case: hevc-conformance-AMP_A_Samsung_* when enable msa

The AV_INPUT_BUFFER_PADDING_SIZE has been increased to 64, but the value is still 32
in function ff_hevc_sao_edge_filter_8_msa. So, use AV_INPUT_BUFFER_PADDING_SIZE directly.
Also, use MAX_PB_SIZE directly instead of 64. Fate tests passed.

Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit f652c7a45c60427db0a89fae665e63b546af6ebb)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/mips/hevc_lpf_sao_msa.c