X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;ds=sidebyside;f=Robust%2Fsrc%2FTests%2FssJava%2Fmp3decoder%2FLayerIIIDecoder.java;h=b7fde809e298ad35f818e511d647e16bf2e15040;hb=49f02b081d717c559f3739344164214fef287fb0;hp=31b71e2b8587abb7449e9e2294bf4d29d7fe5961;hpb=be34eec682d9c5a81206b8172032b3154ad57210;p=IRC.git diff --git a/Robust/src/Tests/ssJava/mp3decoder/LayerIIIDecoder.java b/Robust/src/Tests/ssJava/mp3decoder/LayerIIIDecoder.java index 31b71e2b..b7fde809 100644 --- a/Robust/src/Tests/ssJava/mp3decoder/LayerIIIDecoder.java +++ b/Robust/src/Tests/ssJava/mp3decoder/LayerIIIDecoder.java @@ -108,7 +108,6 @@ final class LayerIIIDecoder implements FrameDecoder { private int part2_start; - /** * Constructor. */ @@ -318,9 +317,7 @@ final class LayerIIIDecoder implements FrameDecoder { // 'ch', 'channels' should be higher than all locs in the below body for (ch = 0; ch < channels; ch++) { - @LOC("THIS,LayerIIIDecoder.BR,BitReserve.BIT") int part2_start = br.hsstell(); // part2_start - // < - // br + part2_start = br.hsstell(); // grab scale factors from the main data. // following the scale factors is the actual compressed data @@ -333,7 +330,7 @@ final class LayerIIIDecoder implements FrameDecoder { // here, decoding the compressed audio data huffman_decode(ch, gr); // no need to care from this side - // System.out.println("CheckSum HuffMan = " + CheckSumHuff); +// System.out.println("CheckSum HuffMan = " + CheckSumHuff); dequantize_sample(/* ro[ch], */ch, gr); // no need to care from this // side } @@ -354,14 +351,20 @@ final class LayerIIIDecoder implements FrameDecoder { reorder(/* lr[ch], */ch, gr); antialias(ch, gr); - // for (int hb = 0;hb<576;hb++) CheckSumOut1d = CheckSumOut1d + - // out_1d[hb]; - // System.out.println("CheckSumOut1d = "+CheckSumOut1d); + +// float CheckSumOut1d=0; +// for (int hb = 0;hb<576;hb++) { +// CheckSumOut1d = CheckSumOut1d + out_1d[hb]; +// } +// System.out.println("CheckSumOut1d = "+CheckSumOut1d); + hybrid(ch, gr); - // for (int hb = 0;hb<576;hb++) CheckSumOut1d = CheckSumOut1d + - // out_1d[hb]; + // float CheckSumOut1d=0; + // for (int hb = 0;hb<576;hb++) { + // CheckSumOut1d = CheckSumOut1d + out_1d[hb]; + // } // System.out.println("CheckSumOut1d = "+CheckSumOut1d); for (sb18 = 18; sb18 < 576; sb18 += 36) { @@ -892,7 +895,7 @@ final class LayerIIIDecoder implements FrameDecoder { is_1d[index++] = y[0]; CheckSumHuff = CheckSumHuff + x[0] + y[0]; - // System.out.println("x = "+x[0]+" y = "+y[0]); +// System.out.println("x = " + x[0] + " y = " + y[0]); } // Read count1 area