Download Minimum Performance Specification for the Enhanced
Transcript
C.S0018-D v1.0 Value in Packet File Rate Data Bits per Frame 3 = 0x0003 1/2 80 1 = 0x0001 1/8 16 0 = 0x0000 Blank 0 Erasure 0 14 = 0x000e 1 4 Unused bits are set to 0. For example, in a Rate 1/8 frame, the packet file will contain the word 0x0100 (byte-swapped 0x0001) followed by one 16-bit word containing the 16 data bits for the frame (in byte-swapped form), followed by ten 16-bit words containing all zero bits. 5 3.3.4 6 11 This section describes the C simulation of the speech codec specified by [1]. The speech codec C simulation is based on finite precision, fixed-point arithmetic operations and is recommended to be used as a reference codec to verify the performance of a bit-exact EVRC-WB implementation of the fixed-point C simulation of a test codec. The bit-exact EVRC-WB codec, along with the appropriate test vectors to verify the bit-exactness performance, are included in the associated Software Distribution. 12 3.3.4.1 13 14 This section describes the C program files which are provided in the associated software distribution for this document. 15 3.3.4.2 16 The source code for the fixed-point codec simulation has been written in C++ and can be compiled using any general purpose compiler such as the GNU G++ compiler and make utility. 2 3 7 8 9 10 17 Fixed-Point Bit-Exact Codec for SO 70 Fixed-Point Codec Program Files Compiling the Fixed-Point Codec Simulation 22 Two GCC compatible makefiles have been included in the /build directory. Typing “make” in the /build directory will compile and link the code and create the executable file called Evrc_wb_fx (Evrc_wb_fx.exe on Win32 systems), which will be placed in the /build directory. The included makefiles may require some user modification for a particular hardware platform and/or operating system. 23 3.3.4.3 24 The EVRC-WB executable files use command line arguments to receive all information regarding input and output files and various parameters used during execution. 18 19 20 21 25 26 27 28 Running the Fixed-Point Codec Simulation Executing Evrc_wb_fx with no command line arguments will display a brief description of the required and optional command line arguments. The options are described below: -i infn (required) Specifies the name of the input speech file, or the name of the input packet file if only decoding is being performed (see the -d option below). -o outf (required) Specifies the name of the output speech file, or the name of the output packet file if only encoding is being performed (see the -e option below). 29 30 31 3-24