diff options
author | Boyuan Yang <byang@debian.org> | 2021-11-07 08:50:20 -0500 |
---|---|---|
committer | Boyuan Yang <byang@debian.org> | 2021-11-07 08:50:20 -0500 |
commit | 513fcf1cd0dca1a6cbef9ff6e38e22237e75ba44 (patch) | |
tree | 249280ac94eb2b871de89cd1b166fff4ee00ab09 /src/dsp/intrapred_cfl.cc | |
parent | 3c21ceac2f6a5adfab07d3d458880561543d0a31 (diff) | |
parent | 320ef65362608ee1148c299d8d5d7618af34e470 (diff) | |
download | libgav1-513fcf1cd0dca1a6cbef9ff6e38e22237e75ba44.tar.gz libgav1-513fcf1cd0dca1a6cbef9ff6e38e22237e75ba44.tar.bz2 libgav1-513fcf1cd0dca1a6cbef9ff6e38e22237e75ba44.zip |
Update upstream source from tag 'upstream/0.17.0'
Update to upstream version '0.17.0'
with Debian dir 5b612b6a2d67788b0c85bac59e50edc1545bfd7e
Diffstat (limited to 'src/dsp/intrapred_cfl.cc')
-rw-r--r-- | src/dsp/intrapred_cfl.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dsp/intrapred_cfl.cc b/src/dsp/intrapred_cfl.cc index 948c0c0..0f7f4f2 100644 --- a/src/dsp/intrapred_cfl.cc +++ b/src/dsp/intrapred_cfl.cc @@ -41,7 +41,7 @@ constexpr TransformSize kTransformSizesLargerThan32x32[] = { // |alpha| can be -16 to 16 (inclusive). template <int block_width, int block_height, int bitdepth, typename Pixel> void CflIntraPredictor_C( - void* const dest, ptrdiff_t stride, + void* LIBGAV1_RESTRICT const dest, ptrdiff_t stride, const int16_t luma[kCflLumaBufferStride][kCflLumaBufferStride], const int alpha) { auto* dst = static_cast<Pixel*>(dest); @@ -66,7 +66,8 @@ template <int block_width, int block_height, int bitdepth, typename Pixel, int subsampling_x, int subsampling_y> void CflSubsampler_C(int16_t luma[kCflLumaBufferStride][kCflLumaBufferStride], const int max_luma_width, const int max_luma_height, - const void* const source, ptrdiff_t stride) { + const void* LIBGAV1_RESTRICT const source, + ptrdiff_t stride) { assert(max_luma_width >= 4); assert(max_luma_height >= 4); const auto* src = static_cast<const Pixel*>(source); |