summaryrefslogtreecommitdiffstats
path: root/third_party/aom/aom_dsp/blend.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/aom/aom_dsp/blend.h')
-rw-r--r--third_party/aom/aom_dsp/blend.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/third_party/aom/aom_dsp/blend.h b/third_party/aom/aom_dsp/blend.h
index e5297ff83..434bb83a1 100644
--- a/third_party/aom/aom_dsp/blend.h
+++ b/third_party/aom/aom_dsp/blend.h
@@ -39,4 +39,7 @@
// Blending by averaging.
#define AOM_BLEND_AVG(v0, v1) ROUND_POWER_OF_TWO((v0) + (v1), 1)
+#define DIFF_FACTOR_LOG2 4
+#define DIFF_FACTOR (1 << DIFF_FACTOR_LOG2)
+
#endif // AOM_DSP_BLEND_H_