摘要:
Digital signal samples X in a floating-point format, each of which is composed of 1 bit of sign, 8 bits of exponent E and 23 bits of mantissa M, are converted through rounding by an integer formatting part 12 into digital signal samples Y in an integer format, the sequence of the digital signal samples Y is losslessly compression-coded by a compressing part 13 into a code sequence Ca, and the code sequence Ca is output. The digital signal samples Y are converted by a floating point formatting part 15 into digital signal samples X' in the floating-point format, a difference signal ”X indicating the difference between the digital signal sample X' and the digital signal sample X is determined by a subtraction part 16, the difference signal ”X is losslessly coded, and the resulting code sequence Cb is output.
摘要:
The average amplitude of the samples in a signal sample sequence X in a floating-point format is determined for each frame. If the average amplitude is greater than a predetermined value, an integer formatting part 12 converts the sequence X into a signal sample sequence Y in a 16-bit integer format by truncation, a compressing part 13 codes the sequence Y to output a code sequence Ca, a difference producing part 14 produces a difference signal Z that corresponds to the difference between the signal sample sequence X and a sequence Y' in the floating-point format converted from the sequence Y, and a compressing part 17 performs entropy coding on the least significant (23-n) bits of a mantissa M of the difference signal Z, which is determined by the number of bits n following the most significant "1" in each sample in the sequence Y, and outputs a code sequence Cb. If the average amplitude is not greater than the predetermined value, the sequence X is directly losslessly coded by a compressing part 121. A code Cd, which indicates which coding is selected, is output.
摘要:
Signal samples X in a floating-point format, each of which is composed of 1 bit of sign S, 8 bits of exponent E and 23 bits of mantissa M, are converted through truncation by an integer formatting part 12 into signal samples Y in a 24-bit integer format, the integer-value signal samples Y are coded by a compressing part 13 into a code sequence Ca, and the code sequence Ca is output. According to the number of digits n following the most significant "1" in the integer-value signal sample Y, a difference producing part 14 extracts the least significant (23-n) bits from the mantissa M of the input signal sample X to form a difference signal Z, and a compressing part 17 performs entropy coding of the difference signal Z to produce a code sequence Cb and outputs the code sequence Cb. Alternatively, the difference signal Z may be output as it is, rather than being compressed.