aboutsummaryrefslogtreecommitdiff
path: root/src/dsp/intrapred_smooth.h
diff options
context:
space:
mode:
authorBoyuan Yang <byang@debian.org>2022-07-14 15:56:59 -0400
committerBoyuan Yang <byang@debian.org>2022-07-14 15:56:59 -0400
commit1a2e17bd28a068714658551c8c355171ce15dfa0 (patch)
treedb9e739007016850ee355365874a20b07034ef2c /src/dsp/intrapred_smooth.h
parenta08da9600832caf817125edee2c3206fe24cd5cb (diff)
parentd4dbf19f6b0181ee78034bfe4caf189d1c016998 (diff)
downloadlibgav1-1a2e17bd28a068714658551c8c355171ce15dfa0.tar.gz
libgav1-1a2e17bd28a068714658551c8c355171ce15dfa0.tar.bz2
libgav1-1a2e17bd28a068714658551c8c355171ce15dfa0.zip
Update upstream source from tag 'upstream/0.18.0'
Update to upstream version '0.18.0' with Debian dir a69c1f7f3e7109393a3f9f5f1a2e7a5c3d3eda9f
Diffstat (limited to 'src/dsp/intrapred_smooth.h')
-rw-r--r--src/dsp/intrapred_smooth.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/dsp/intrapred_smooth.h b/src/dsp/intrapred_smooth.h
index 6802003..06454af 100644
--- a/src/dsp/intrapred_smooth.h
+++ b/src/dsp/intrapred_smooth.h
@@ -38,6 +38,12 @@
namespace libgav1 {
namespace dsp {
+enum {
+ // Weights are quadratic from '1' to '1 / block_size', scaled by
+ // 2^kSmoothWeightScale.
+ kSmoothWeightScale = 8,
+};
+
// Initializes Dsp::intra_predictors[][kIntraPredictorSmooth.*].
// This function is not thread-safe.
void IntraPredSmoothInit_C();