摘要:
An operator definition file 102 and the like included in a source program 101 and a compiler 100 that translates the source program 101 into a machine language program 105 are provided. The operator definition file 102 includes definitions of various fixed point type operators by class definitions. The compiler 100 can generate effectively advanced and specific instructions that a processor executes and make improvements through expanding functions and the like without repeating frequently upgrading of the version of the compiler itself. The compiler 100 is made up of an intermediate code generation unit 121 that generates intermediate codes, a machine language instruction substitution unit 122 that substitutes the intermediate codes referring to classes defined by the operator definition file 102 with machine language instructions and an optimization unit 130 that performs optimization targeting the intermediate codes including the substituted machine language instructions.
摘要:
A processor according to the present invention includes a decoding unit, an operation unit and others. When the decoding unit decodes an instruction “vxaddh Rc, Ra, Rb”, an arithmetic and logic/comparison operation unit and others (i) adds the higher 16 bits of a register Ra to the lower 16 bits of the register Rb, stores the result in the higher 16 bits of a register Rc, and in parallel with this, (ii) adds the lower 16 bits of the register Ra to the higher 16 bits of the register Rb, and stores the result in the lower 16 bits of the register Rc.
摘要:
With respect to audio signal coding and decoding apparatuses, there is provided a coding apparatus that enables a decoding apparatus to reproduce an audio signal even through it does not use all of data from the coding apparatus, and a decoding apparatus corresponding to the coding apparatus. A quantization unit constituting a coding apparatus includes a first sub-quantization unit comprising sub-quantization units for low-band, intermediate-band, and high-band; a second sub-quantization unit for quantizing quantization errors from the first sub-quantization unit; and a third sub-quantization unit for quantizing quantization errors which have been processed by the first sub-quantization unit and the second sub-quantization unit.
摘要:
An encoding device includes an encoding section for generating hit streams having a variable frame length from an input audio signal, a maximum frame length of the bit streams being fixed; a storage section for storing the bit streams generated by the encoding section; and a transfer section for transferring the bit streams at a prescribed transfer rate. The storage section includes a buffer having a capacity corresponding to at least a value which is obtained by subtracting an amount of the bit streams transferable in one frame time period at a minimum possible transfer rate from a value of twice the maximum frame length.
摘要:
A decoding circuit, for receiving a bit stream including an encoded audio signal and header information used for-decoding the encoded audio signal, and decoding the encoded audio signal based on the header information, includes a header analysis section for outputting at least one decoding parameter obtained from the header information and decoding parameter change information indicating whether or not the at least one decoding parameter has been changed; a signal processing section for decoding the encoded audio signal, based on the at least one decoding parameter, into a decoded signal and outputting the decoded signal; an automatic mute processing section for executing automatic mute on the decoded signal after the at least one decoding parameter is changed; and an output section for outputting the decoded signal output from the automatic mute processing section.
摘要:
A sound image localization apparatus comprises a signal source for outputting an audio signal; a localization angle input unit for receiving an angle of a sound image to be localized; a coefficient control unit for receiving sound image localization angle information from the localization angle input unit, reading coefficients from a coefficient memory in accordance with the information, and outputting the coefficients; first, second, and third multipliers for multiplying the audio signal output from the signal source by using first, second, and third coefficients output from the coefficient control means, respectively; a first signal processing unit for receiving the output from the second multiplier, and processing it by using a filter having a predetermined first frequency response; a second signal processing unit for receiving the output from the second multiplier, and processing it by using a filter having a predetermined second frequency response; a first adder for adding the output from the first multiplier and the output from the first signal processing unit to output the sum; a second adder for adding the output from the third multiplier and the output from the second signal processing unit to output the sum; a first output unit for outputting the output of the first adder; and a second output unit for outputting the output of the second adder.
摘要:
A device of the present invention is an exponential calculation device for calculating x{circumflex over ( )}(a/b) (where a and b are each an integer constant) for a given input value of x. The device includes: an input control section for outputting a value of x′, wherein x′=x when x≦A (where A is a threshold value within a variable range of x) and x′=x/2{circumflex over ( )}b when x>A; a core section for outputting a value of z′=x′{circumflex over ( )}(a/b); and an output control section for outputting a value of z, wherein z=z′ when x≦A and z=z′*2{circumflex over ( )}a when x>A.
摘要:
A decoding device for decoding a data stream includes a decoding table including a first region and a second region; a first decoder; and a second decoder. The first region defines a relationship between first data having a predetermined number of bits and a result of decoding a portion of the first data having bits smaller than or equal to the predetermined number. The second region defines a relationship between concatenated data obtained by concatenating the first data with second data having additional bits and a result of decoding the concatenated data. The first decoder reads the first data from the data stream; decodes the portion of the first data based on the first region; determines whether the decoding of the portion of the first data is completed or not; and when the decoding of the portion of the first data is completed, outputs a result of the decoding of the portion of the first data. When the decoding of the portion of the first data is not completed, the second decoder reads the second data out of the data stream; concatenates the first data with the second data to generate the concatenated data; decodes the concatenated data based on the second region; and outputs a result of the decoding of the concatenated data.
摘要:
A communication terminal includes a decoder which decodes an input bitstream received from another communication terminal, to generate an output audio signal and outputs the generated output audio signal to a speaker; and an echo canceller which obtains an input audio signal representing sound captured by a microphone placed in a space to which the speaker outputs the sound, and removes, for respective subbands, an echo component included in the obtained input audio signal and corresponding to the output audio signal, to generate an audio signal for transmission. An encoder codes the audio signal for transmission to generate an output bitstream and transmits the generated output bitstream to another communication terminal; and a control unit controls, for the respective subbands, echo cancellation processing according to a reproduction band of at least one of the output audio signal and the audio signal for transmission.
摘要:
A cache memory according to the present invention includes a W flag setting unit that modifies order data indicating an access order per cache entry that holds a data unit of a cache so as to reflect an actual access order and a replace unit that selects a cache entry for replacement based on the modified order data and replaces the cache entry.