[FFmpeg-cvslog] r15251 - trunk/libavcodec/mace.c

Michael Niedermayer michaelni
Sun Sep 7 19:14:42 CEST 2008


On Sun, Sep 07, 2008 at 04:30:55PM +0200, vitor wrote:
> Author: vitor
> Date: Sun Sep  7 16:30:54 2008
> New Revision: 15251
> 
> Log:
> Convert tables to signed and decimal.
[...]
> +static const int16_t MACEtab2[][8] = {
> +    {    37,    116,    206,    330,   -331,   -207,   -117,    -38},
> +    {    39,    121,    216,    346,   -347,   -217,   -122,    -40},
> +    {    41,    127,    225,    361,   -362,   -226,   -128,    -42},
> +    {    42,    132,    235,    377,   -378,   -236,   -133,    -43},
> +    {    44,    137,    245,    392,   -393,   -246,   -138,    -45},
> +    {    46,    144,    256,    410,   -411,   -257,   -145,    -47},
> +    {    48,    150,    267,    428,   -429,   -268,   -151,    -49},
> +    {    51,    157,    280,    449,   -450,   -281,   -158,    -52},
> +    {    53,    165,    293,    470,   -471,   -294,   -166,    -54},
> +    {    55,    172,    306,    490,   -491,   -307,   -173,    -56},
> +    {    58,    179,    319,    511,   -512,   -320,   -180,    -59},
> +    {    60,    187,    333,    534,   -535,   -334,   -188,    -61},
> +    {    63,    195,    348,    557,   -558,   -349,   -196,    -64},
> +    {    66,    205,    364,    583,   -584,   -365,   -206,    -67},
> +    {    69,    214,    380,    609,   -610,   -381,   -215,    -70},
> +    {    72,    223,    396,    635,   -636,   -397,   -224,    -73},
> +    {    75,    233,    414,    663,   -664,   -415,   -234,    -76},
> +    {    79,    244,    433,    694,   -695,   -434,   -245,    -80},
> +    {    82,    254,    453,    725,   -726,   -454,   -255,    -83},
> +    {    86,    265,    472,    756,   -757,   -473,   -266,    -87},
> +    {    90,    278,    495,    792,   -793,   -496,   -279,    -91},
> +    {    94,    290,    516,    826,   -827,   -517,   -291,    -95},
> +    {    98,    303,    538,    862,   -863,   -539,   -304,    -99},
> +    {   102,    316,    562,    901,   -902,   -563,   -317,   -103},
> +    {   107,    331,    588,    942,   -943,   -589,   -332,   -108},
> +    {   112,    345,    614,    983,   -984,   -615,   -346,   -113},
> +    {   117,    361,    641,   1027,  -1028,   -642,   -362,   -118},
> +    {   122,    377,    670,   1074,  -1075,   -671,   -378,   -123},
> +    {   127,    394,    701,   1123,  -1124,   -702,   -395,   -128},

A, B, C, D, -D-1, -C-1, -B-1, -A-1


[...]
> +static const int16_t MACEtab4[][4] = {
> +    {    64,    216,   -217,    -65}, {    67,    226,   -227,    -68},
> +    {    70,    236,   -237,    -71}, {    74,    246,   -247,    -75},
> +    {    77,    257,   -258,    -78}, {    80,    268,   -269,    -81},
> +    {    84,    280,   -281,    -85}, {    88,    294,   -295,    -89},
> +    {    92,    307,   -308,    -93}, {    96,    321,   -322,    -97},
> +    {   100,    334,   -335,   -101}, {   104,    350,   -351,   -105},
> +    {   109,    365,   -366,   -110}, {   114,    382,   -383,   -115},
> +    {   119,    399,   -400,   -120}, {   124,    416,   -417,   -125},
> +    {   130,    434,   -435,   -131}, {   136,    454,   -455,   -137},
> +    {   142,    475,   -476,   -143}, {   148,    495,   -496,   -149},
> +    {   155,    519,   -520,   -156}, {   162,    541,   -542,   -163},
> +    {   169,    564,   -565,   -170}, {   176,    590,   -591,   -177},
> +    {   185,    617,   -618,   -186}, {   193,    644,   -645,   -194},
> +    {   201,    673,   -674,   -202}, {   210,    703,   -704,   -211},
> +    {   220,    735,   -736,   -221}, {   230,    767,   -768,   -231},
> +    {   240,    801,   -802,   -241}, {   251,    838,   -839,   -252},
> +    {   262,    876,   -877,   -263}, {   274,    914,   -915,   -275},

same ...

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If a bugfix only changes things apparently unrelated to the bug with no
further explanation, that is a good sign that the bugfix is wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20080907/8668c532/attachment.pgp>



More information about the ffmpeg-cvslog mailing list