aboutsummaryrefslogtreecommitdiff
path: root/src/dsp/intrapred_smooth.h
diff options
context:
space:
mode:
authorBoyuan Yang <byang@debian.org>2022-07-14 15:56:57 -0400
committerBoyuan Yang <byang@debian.org>2022-07-14 15:56:57 -0400
commitd4dbf19f6b0181ee78034bfe4caf189d1c016998 (patch)
tree47d5d28d2ab770a10e6c48788725c51dffeb84a9 /src/dsp/intrapred_smooth.h
parent320ef65362608ee1148c299d8d5d7618af34e470 (diff)
downloadlibgav1-d4dbf19f6b0181ee78034bfe4caf189d1c016998.tar.gz
libgav1-d4dbf19f6b0181ee78034bfe4caf189d1c016998.tar.bz2
libgav1-d4dbf19f6b0181ee78034bfe4caf189d1c016998.zip
New upstream version 0.18.0
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();