aboutsummaryrefslogtreecommitdiff
path: root/src/dsp/intrapred_cfl_test.cc
diff options
context:
space:
mode:
authorBoyuan Yang <byang@debian.org>2021-11-07 08:50:18 -0500
committerBoyuan Yang <byang@debian.org>2021-11-07 08:50:18 -0500
commit320ef65362608ee1148c299d8d5d7618af34e470 (patch)
treec47911c219d1e35b8b0771e9e0176eff0e0d08ec /src/dsp/intrapred_cfl_test.cc
parent2381d803c76105f44717d75f089ec37f51e5cfe4 (diff)
downloadlibgav1-320ef65362608ee1148c299d8d5d7618af34e470.tar.gz
libgav1-320ef65362608ee1148c299d8d5d7618af34e470.tar.bz2
libgav1-320ef65362608ee1148c299d8d5d7618af34e470.zip
New upstream version 0.17.0
Diffstat (limited to 'src/dsp/intrapred_cfl_test.cc')
-rw-r--r--src/dsp/intrapred_cfl_test.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dsp/intrapred_cfl_test.cc b/src/dsp/intrapred_cfl_test.cc
index e700a5b..82f1d2f 100644
--- a/src/dsp/intrapred_cfl_test.cc
+++ b/src/dsp/intrapred_cfl_test.cc
@@ -28,6 +28,7 @@
#include "src/dsp/constants.h"
#include "src/dsp/dsp.h"
#include "src/utils/common.h"
+#include "src/utils/compiler_attributes.h"
#include "src/utils/constants.h"
#include "src/utils/cpu.h"
#include "src/utils/memory.h"
@@ -352,6 +353,10 @@ void CflSubsamplerTest<bitdepth, Pixel, subsampling_type>::TestSpeed(
const int width = GetLumaWidth(block_width_, subsampling_type);
const int height = GetLumaHeight(block_height_, subsampling_type);
Pixel* src = intra_pred_mem_.ref_src;
+#if LIBGAV1_MSAN
+ // Quiet 10bpp CflSubsampler420_NEON() msan warning.
+ memset(src, 0, sizeof(intra_pred_mem_.ref_src));
+#endif
for (int i = 0; i < height; ++i) {
for (int j = 0; j < width; ++j) {
src[j] = rnd.RandRange(1 << bitdepth);