changeset 413:97ba91ee699e trunk

[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.
author nenolod
date Mon, 09 Jan 2006 15:00:10 -0800
parents 451d2dc68ba8
children 7fa1738514d5
files Plugins/Input/mpg123/layer3.c
diffstat 1 files changed, 4 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- 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];