This file describes

1. The procedure for testing conformance of Ittiam decoder with 
   respect to the ISO reference decoder.

2. Selecting the files to be decoded.

Testing the decoder:
--------------------

The folder \test\testRef consists of reference file (provided by the ISO committee, generated 
using the ISO decoder) and an exe application to test the RMS value and MAX difference
between two files.

Usage: 

test [-b] [-i n1 [-i n2]] [-v] [-e] [-s] [-c] [-r] file_1 file_2
Find the maximum absolute difference between signed 24-bit words in file_1 and
file_2. Options are:

        -b          byte swap before comparing
        -i n        ignore n words at the start of both file_1 and file_2
        -i n1 -i n2 ignore n1 words at the start of file 1, and n2 words
                    at the start of file2
        -v          lists non-zero differences
        -e          lists every difference
        -s          print signed difference
        -r          print RMS error level
        -c          count samples different and samples compared


Example: test -b -c testOut\compl.pcm testRef\compl_ref.pcm
         
         where, compl.pcm     is the file decoded by Ittiam Decoder and
                compl_ref.pcm is the file decoded by ISO Decoder (24-bit).

Note1: -b is required to take care of the endianness    

Note2: Only the sine sweep (viz. compl.pcm) is required to pass conformance.

Note3: Peak measure of MCPS is observed for the file testInp\hihat.mp3


Selecting files to be decoded:
------------------------------
The files to be decoded are given as .mp3 and .pcm in the file
build\fnames.txt.

The decoding happens till a '#######' sequence is encountered in the file.