diff options
author | Boyuan Yang <byang@debian.org> | 2021-11-07 08:50:18 -0500 |
---|---|---|
committer | Boyuan Yang <byang@debian.org> | 2021-11-07 08:50:18 -0500 |
commit | 320ef65362608ee1148c299d8d5d7618af34e470 (patch) | |
tree | c47911c219d1e35b8b0771e9e0176eff0e0d08ec /src/dsp/weight_mask.cc | |
parent | 2381d803c76105f44717d75f089ec37f51e5cfe4 (diff) | |
download | libgav1-320ef65362608ee1148c299d8d5d7618af34e470.tar.gz libgav1-320ef65362608ee1148c299d8d5d7618af34e470.tar.bz2 libgav1-320ef65362608ee1148c299d8d5d7618af34e470.zip |
New upstream version 0.17.0
Diffstat (limited to 'src/dsp/weight_mask.cc')
-rw-r--r-- | src/dsp/weight_mask.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dsp/weight_mask.cc b/src/dsp/weight_mask.cc index 15d6bc6..41f4c70 100644 --- a/src/dsp/weight_mask.cc +++ b/src/dsp/weight_mask.cc @@ -29,8 +29,9 @@ namespace dsp { namespace { template <int width, int height, int bitdepth, bool mask_is_inverse> -void WeightMask_C(const void* prediction_0, const void* prediction_1, - uint8_t* mask, ptrdiff_t mask_stride) { +void WeightMask_C(const void* LIBGAV1_RESTRICT prediction_0, + const void* LIBGAV1_RESTRICT prediction_1, + uint8_t* LIBGAV1_RESTRICT mask, ptrdiff_t mask_stride) { using PredType = typename std::conditional<bitdepth == 8, int16_t, uint16_t>::type; const auto* pred_0 = static_cast<const PredType*>(prediction_0); |