comparison vc1data.h @ 3515:20938be7b67b libavcodec

Some B-frames support (parsing and decoding only, no motion compesation is done)
author kostya
date Mon, 24 Jul 2006 04:24:53 +0000
parents 2c4ddf5b9217
children 6d9e8253da2a
comparison
equal deleted inserted replaced
3514:db3335b2b8f1 3515:20938be7b67b
3 * VC-1 tables. 3 * VC-1 tables.
4 */ 4 */
5 5
6 #ifndef VC1DATA_H 6 #ifndef VC1DATA_H
7 #define VC1DATA_H 7 #define VC1DATA_H
8
9 /* Denominator used for vc1_bfraction_lut */
10 #define B_FRACTION_DEN 840
8 11
9 /* bfraction is fractional, we scale to the GCD 3*5*7*8 = 840 */ 12 /* bfraction is fractional, we scale to the GCD 3*5*7*8 = 840 */
10 const int16_t vc1_bfraction_lut[23] = { 13 const int16_t vc1_bfraction_lut[23] = {
11 420 /*1/2*/, 280 /*1/3*/, 560 /*2/3*/, 210 /*1/4*/, 14 420 /*1/2*/, 280 /*1/3*/, 560 /*2/3*/, 210 /*1/4*/,
12 630 /*3/4*/, 168 /*1/5*/, 336 /*2/5*/, 15 630 /*3/4*/, 168 /*1/5*/, 336 /*2/5*/,