aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2022-01-05 10:25:31 +0200
committerMartin Storsjö <martin@martin.st>2022-01-07 22:33:27 +0200
commit24b93022fee322c7a17e326e2d162a1fbc3698ee (patch)
tree62a0f182df4c2a6130da4c5117d48840269b6163 /libavcodec
parent16fba44b4d0ab5e7414e1d9f9ee4a81d152da0e6 (diff)
downloadffmpeg-24b93022fee322c7a17e326e2d162a1fbc3698ee.tar.gz
aarch64: Disable ff_hevc_sao_band_filter_8x8_8_neon out of precaution
While this function on its own passes all of fate-hevc, there's indications that the function might need to handle widths that aren't a multiple of 8 (noted in commit f63f9be37c799ddc835af358034630d31fb7db02, which later was reverted). Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/aarch64/hevcdsp_init_aarch64.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libavcodec/aarch64/hevcdsp_init_aarch64.c b/libavcodec/aarch64/hevcdsp_init_aarch64.c
index c785e46f79..1e40be740c 100644
--- a/libavcodec/aarch64/hevcdsp_init_aarch64.c
+++ b/libavcodec/aarch64/hevcdsp_init_aarch64.c
@@ -75,7 +75,11 @@ av_cold void ff_hevc_dsp_init_aarch64(HEVCDSPContext *c, const int bit_depth)
c->idct_dc[1] = ff_hevc_idct_8x8_dc_8_neon;
c->idct_dc[2] = ff_hevc_idct_16x16_dc_8_neon;
c->idct_dc[3] = ff_hevc_idct_32x32_dc_8_neon;
- c->sao_band_filter[0] = ff_hevc_sao_band_filter_8x8_8_neon;
+ // This function is disabled, as it doesn't handle widths that aren't
+ // an even multiple of 8 correctly. fate-hevc doesn't exercise that
+ // for the current size, but if enabled for bigger sizes, the cases
+ // of non-multiple of 8 seem to arise.
+// c->sao_band_filter[0] = ff_hevc_sao_band_filter_8x8_8_neon;
}
if (bit_depth == 10) {
c->add_residual[0] = ff_hevc_add_residual_4x4_10_neon;