# HG changeset patch # User nenolod # Date 1136847610 28800 # Node ID 97ba91ee699ed48e339f38872b0b32c9d45d77c5 # Parent 451d2dc68ba8c99e3657f8258b2d7934a320a7ce [svn] Change copying of scaling properties from factor 11 -> 12, to factor 12 -> 13 when antialiasing -- results in a higher accuracy decode. It could still be wrong, we may need to do 13 -> 14 or 14 -> 15. We'll see how people like this adjustment first. diff -r 451d2dc68ba8 -r 97ba91ee699e Plugins/Input/mpg123/layer3.c --- a/Plugins/Input/mpg123/layer3.c Mon Jan 09 13:15:02 2006 -0800 +++ b/Plugins/Input/mpg123/layer3.c Mon Jan 09 15:00:10 2006 -0800 @@ -1075,17 +1075,10 @@ } } -#if 1 -/* in the original: copy 10 to 11 , here: copy 11 to 12 -maybe still wrong??? (copy 12 to 13?) */ - is_p = scalefac[11*3+lwin-gr_info->mixed_block_flag]; /* scale: 0-15 */ - sb = bi->shortDiff[12]; - idx = bi->shortIdx[12] + lwin; -#else - is_p = scalefac[10*3+lwin-gr_info->mixed_block_flag]; /* scale: 0-15 */ - sb = bi->shortDiff[11]; - idx = bi->shortIdx[11] + lwin; -#endif + is_p = scalefac[12*3+lwin-gr_info->mixed_block_flag]; /* scale: 0-15 */ + sb = bi->shortDiff[13]; + idx = bi->shortIdx[13] + lwin; + if(is_p != 7) { real t1,t2; t1 = tab1[is_p]; t2 = tab2[is_p];