summaryrefslogtreecommitdiff
path: root/libavcodec/vc1data.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/vc1data.h')
-rw-r--r--libavcodec/vc1data.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/vc1data.h b/libavcodec/vc1data.h
index 3813382cee..9f9e21b4a4 100644
--- a/libavcodec/vc1data.h
+++ b/libavcodec/vc1data.h
@@ -6,6 +6,9 @@
#ifndef VC1DATA_H
#define VC1DATA_H
+/* Denominator used for vc1_bfraction_lut */
+#define B_FRACTION_DEN 840
+
/* bfraction is fractional, we scale to the GCD 3*5*7*8 = 840 */
const int16_t vc1_bfraction_lut[23] = {
420 /*1/2*/, 280 /*1/3*/, 560 /*2/3*/, 210 /*1/4*/,