From: kramm Date: Thu, 10 Apr 2003 21:41:15 +0000 (+0000) Subject: added mvd_params. X-Git-Tag: release-0-4-4~24 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=d1797140f40f85c9d943182d47314ac1eb303e00 added mvd_params. --- diff --git a/lib/h.263/h263tables.c b/lib/h.263/h263tables.c index b7f6a2e..ceebceb 100644 --- a/lib/h.263/h263tables.c +++ b/lib/h.263/h263tables.c @@ -173,6 +173,79 @@ struct huffcode mvd[] = {"0000000000110", 13, 63}, {0,0,0}}; +struct mvd_params +{ + int index; + float v1,v2; /*TODO: should be ints */ +} mvd_params[] = +{ +{0, -16, 16}, +{1, -15.5, 16.5}, +{2, -15, 17}, +{3, -14.5, 17.5}, +{4, -14, 18}, +{5, -13.5, 18.5}, +{6, -13, 19}, +{7, -12.5, 19.5}, +{8, -12, 20}, +{9, -11.5, 20.5}, +{10, -11, 21}, +{11, -10.5, 21.5}, +{12, -10, 22}, +{13, -9.5, 22.5}, +{14, -9, 23}, +{15, -8.5, 23.5}, +{16, -8, 24}, +{17, -7.5, 24.5}, +{18, -7, 25}, +{19, -6.5, 25.5}, +{20, -6, 26}, +{21, -5.5, 26.5}, +{22, -5, 27}, +{23, -4.5, 27.5}, +{24, -4, 28}, +{25, -3.5, 28.5}, +{26, -3, 29}, +{27, -2.5, 29.5}, +{28, -2, 30}, +{29, -1.5, 30.5}, +{30, -1, 31}, +{31, -0.5, 31.5}, +{32, 0, 0}, +{33, 0.5, -31.5}, +{34, 1, -31}, +{35, 1.5, -30.5}, +{36, 2, -30}, +{37, 2.5, -29.5}, +{38, 3, -29}, +{39, 3.5, -28.5}, +{40, 4, -28}, +{41, 4.5, -27.5}, +{42, 5, -27}, +{43, 5.5, -26.5}, +{44, 6, -26}, +{45, 6.5, -25.5}, +{46, 7, -25}, +{47, 7.5, -24.5}, +{48, 8, -24}, +{49, 8.5, -23.5}, +{50, 9, -23}, +{51, 9.5, -22.5}, +{52, 10, -22}, +{53, 10.5, -21.5}, +{54, 11, -21}, +{55, 11.5, -20.5}, +{56, 12, -20}, +{57, 12.5, -19.5}, +{58, 13, -19}, +{59, 13.5, -18.5}, +{60, 14, -18}, +{61, 14.5, -17.5}, +{62, 15, -17}, +{63, 15.5, -16.5} +}; + + struct huffcode rle[] = { {"10", 2, 0},