diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2006-07-24 04:24:53 +0000 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2006-07-24 04:24:53 +0000 |
commit | 5df6889364dbe3d10119a77985c84566c065a65a (patch) | |
tree | daeda221365a6a5cfe86face853bd78941007c2e /libavcodec/vc1data.h | |
parent | c39e3c6fbb37d51d5586f1804238dddaf0427442 (diff) | |
download | ffmpeg-5df6889364dbe3d10119a77985c84566c065a65a.tar.gz |
Some B-frames support (parsing and decoding only, no motion compesation is done)
Originally committed as revision 5820 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vc1data.h')
-rw-r--r-- | libavcodec/vc1data.h | 3 |
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*/, |