摘要:
A method for variable length decoding, the method including: receiving, in a default word length mode, at least one first data word having a default first word length; combining the received at least one first data word as a first portion of data; receiving, after the at least one first data word, a transition word indicative of transitioning to a variable word length mode; receiving, after the transition word, a first word length word indicative of a second word length; receiving, after the first word length word, at least one second data word having the second word length; and combining the received at least one second data word as a second portion of the data.
摘要:
A system including: at least one processor; and at least one memory, having stored thereon computer program code that, when executed by the at least one processor, controls the at least one processor to: receive a first sequence of values; segment the first sequence of values into a first subsequence having a first length and a second subsequence having a second length; modify the first subsequence by inserting one or more values into the first subsequence to create a modified first subsequence of a third length; modify the second subsequence by one or more inserting values into the second subsequence to create a modified second subsequence of the third length; combine the modified first subsequence and the modified second subsequence to create a second sequence of values; and output the second sequence of values.
摘要:
An audio decoder includes an arithmetic decoder for providing a plurality of decoded spectral values on the basis of an arithmetically encoded representation of the spectral values, and a frequency-domain-to-time-domain converter for providing a time-domain audio representation using the decoded spectral values. The arithmetic decoder selects a mapping rule describing a mapping of a code value onto a symbol code in dependence on a context state described by a numeric current context value. The arithmetic decoder determines the numeric current context value in dependence on a plurality of previously decoded spectral values. The arithmetic decoder evaluates a hash table, entries of which define both significant state values and boundaries of intervals of numeric context values, in order to select the mapping rule. A mapping rule index value is individually associated to a numeric context value being a significant state value.
摘要:
A method and apparatus for efficient allocation of temporary storage for performing accurate and correct numeric base conversions on a computer system is provided. Numeric base conversions are common because computers operate in binary whereas the values that are input into computers are based on a decimal system. A common source of error occurs when converted values are rounded. The intermediate arithmetic used to perform the conversion requires greater precision than the target floating point format. It is known that to always insure correctly rounded results, an extremely high precision intermediate arithmetic may be used. However, in many case this is a waste of system memory. To efficiently allocate system memory to this task, the most difficult rounding case is determined. The precision needed to correctly round the most difficult case is then derived. This information is then stored and subsequently used to allocate an efficient amount of storage whenever a numeric base conversion is to take place.
摘要:
Apparatus for converting a number in a first radix to a number in a second radix is disclosed. Conversion of a binary number to a decimal number is accomplished by adding the low order of the decimal value for each position or ordinal in the binary number which contains a one bit or a number descriptor. Carries in the addition are ignored and the sum forms the low order ordinal in the decimal equivalent of the binary number. The sum is subtracted from the binary number and it is divided by the radix of the output number or ten. The series of operations is repeated until the binary number has been completely converted.