Method and apparatus of vector searching for VSELP data compression

Abstract: The present invention simplifies a codebook search in the vector quantization according to the VSELP method for coding an audio signal or the like, enhancing the vector search speed. Each of the M basic vectors in a noise code book 260 is multiplied by a factor ±1 in a sign adder 270 and combined in an adder 280 to create 2 M noise signed vectors. Here, the characteristic of the binary Gray code is utilized as follows. A change ΔG u obtained between a noise signed vector based on a signed word i of the binary Gray code and a noise signed vector based on a sign word u adjacent to the sign word i and different from the sign word i only in a predetermined bit position v is used in such a manner that a sign word u' which is next to reverse the bit position v on the Gray code sequence can express a change ΔG u ' from the noise signed vector by utilizing the fact that the sign word u' differs from the sign word u only in one bit position w excluding the bit position V. Thus, calculation is simplified, increasing the vector search speed.

Description: The present invention relates to a vector search method for obtaining an optimal sound source vector in vector quantization in compressing to code an audio signal and an acoustic signal. The invention also relates to an apparatus arranged to perform the method. Various coding methods are known for compressing an audio signal and an acoustic signal by utilizing statistic features in the time region and frequency band as well as the hearing sense characteristics. These coding methods can divided into a time region coding, a frequency region coding, an analysis-synthesis coding, and the like. As the effective coding method for to encode with compression an audio signal and the like, there are known a sine wave analysis coding such as harmonic coding and multiband excitation (MBE) coding as well as sub-band coding (SBC), linear predictive coding (LPC), discrete cosine transform (DCT), modified DCT (MDCT), fast Fourier transform (FFT), and the like. When coding an audio signal, it is possible to predict a present sample value from a past sample value, utilizing that there is a correlation between adjacent sample values. The adaptive predictive coding (APC) utilizes this characteristic and carries out a coding of a difference between a predicted value and an input signal, i.e., a prediction residue. In this adaptive prediction coding, an input signal is fetched in a coding unit in which an audio signal can be regarded as almost stationary, for example, in a frame unit of 20 ms and a linear prediction is carried out according to a prediction coefficient obtained by the linear prediction coding (LPC), so as to obtain a difference between the predicted value and the input signal. This difference is quantized and multiplexed with the prediction coefficient and the quantization step width as auxiliary information, so as to be transmitted in a frame unit. Next, explanation will be given on the code excited linear prediction (CELP) coding as a representative predictive coding method. The CELP coding uses a noise dictionary called a codebook from which an optimal noise is selected to express an input audio signal and its number (index) is transmitted. In the CELP coding, a closed loop using the analysis by synthesis (Abs) is employed for vector quantization of a time axis waveform, thus coding a sound source parameter. Fig. 1 is a block diagram showing a configuration of an essential portion of a coding apparatus for coding an audio signal by using the CELP. Hereinafter, explanation will be given on the CELP coding with reference to the configuration of this coding apparatus. An audio signal supplied from an input terminal 10 is firstly subjected to the LPC (linear predictive coding) analysis in an LPC analyzer 20, and a prediction coefficient obtained is transmitted to a synthesis filter 30. Moreover, the prediction coefficient is also transmitted to a multiplexer 130. In the synthesis filter 30, the prediction coefficient from the LPC analyzer 20 is synthesized with signed vectors supplied from an adaptive code book 40 and a noise codebook 60, which will be detailed later, through amplifiers 50 and 70 and an adder 80. An adder 90 determines a difference between the audio signal supplied from the input terminal 10 and a prediction value from the synthesis filter 30, which is transmitted to a hearing sense weighting block 100. In the hearing sense weighting block 100, the difference obtained in the adder 90 is weighted, considering the characteristics of the hearing sense of a human. An error calculator 110 searches a signed vector to minimize a distortion of the difference weighted by the hearing sense, i.e., a difference between the prediction value from the synthesis filter 30 and the input audio signal, and gains of the amplifier 50 and 70. The result of this search is transmitted as an index to the adaptive codebook 40, the noise codebook 60, and a gain codebook 120 as well as to the multiplexer 130 so as to be transmitted as a transmission path sign from an output terminal 140. Thus, an optimal signed vector to express the input audio signal is selected from the adaptive codebook 40 and the noise codebook 60, and the optimal gain is determined for synthesizing them. It should be noted that the aforementioned processing can be carried out after the hearing-sense weighting the audio signal supplied from the input terminal 10, and signed vectors stored in the codebooks may be hearing-sense wieghted. Next, explanation will be given on the aforementioned adaptive codebook 40, the noise codebook 60, and the gain codebook 120. In the CELP coding, a sound source vector for expressing an input audio signal is formed as a linear sum of a signed vector stored in the adaptive codebook 40 and a signed vector stored in the noise codebook 60. Here, the indexes of the respective codebooks to express the sound source vector minimizing the hearing-sense weighted difference from the input signal vector are determined by calculating the output vector of the synthesis filter 30 for all the signed vectors stored and calculating errors in the error calculator 110. Moreover, the gain of the adaptive codebook in the amplifier 50 and the gain of the noise codebook in the amplifier 70 are also coded by way of the similar search. The noise codebook 60 normally contains a series of vectors of the Gauissian noise with dispersion 1 as the codebook vectors in number 2 powered by the number of bits. And normally, a combination of the codebook vectors is selected so as to minimize the distortion of the sound source vector obtained by adding an appropriate gain to these codebook vectors. The quantization distortion when quantizing the selected codebook vectors can be reduced by increasing the number of dimensions of the codebook. For example, the codebook used is in 40 dimensions and 2 powered by 9 (the number of bits), i.e., 512 terms. By using this CELP coding, it is possible to obtain a comparatively high compression ratio and a preferable sound quality. However, the use of a codebook of a large number of dimensions requires a large calculation amount in the synthesis filter and a large memory amount of the codebook, which makes difficult a real-time processing. If a high sound quality is to be assured, a great delay is caused. Moreover, there is another problem that only one bit error in the code brings about a completely different vector reproduced. That is, such a coding is weak for the sign error. In order to improve the aforementioned problems of the CELP coding, the vector sum excited linear prediction (VSELP) coding is employed. Hereinafter, this VSELP coding will be explained with reference to Figs. 2 and 3. Fig. 2 is a block diagram showing a configuration of a noise codebook used in a coding apparatus for coding an audio signal by way of the VSELP. The VSELP coding employs a noise codebook 260 consisting of a plurality of predetermined basic vectors. Each of the number M of basic vectors stored in the noise codebook 260 is multiplied by a factor +1 or -1 to reverse the value according to the index decoded with a code additional section 270-1 to 270-M by a decoder 210. The M basic vectors multiplied by the factor +1 or -1 are combined with one another in an adder 280 to create 2 M noise signed vectors. As a result, by carrying out a convolution calculation for the M basic vectors and addition and subtraction thereof, it is possible to obtain a convolution calculation result for all the noise signed vectors. Moreover, as only the M basic vectors should be stored in the noise codebook 260, it is possible to reduce the memory amount. Besides, it is possible to enhance the durability for a sign error because the 2 M noise signed vectors created has a redundant configuration which can be expressed by addition and subtraction of the basic vectors. Fig. 3 is a block diagram showing a configuration of an essential portion of a VSELP coding apparatus having the aforementioned noise codebook. In this VSELP coding apparatus, the number of noise codebooks which is normally 512 in the ordinary CELP coding apparatus is reduced to 9, and each of the signed vectors (basic vectors) is added with a sign +1 or -1 by a sign adder 365, so that a linear sum of these is obtained in an adder 370, so as to create 2 9 = 512 noise signed vectors. The main feature of the VSELP coding is as has been described above that a noise signed vector is formed as a linear sum of basic vectors and that the gain of the adaptive codebook and the gain of the noise codebook are vector-quantized at once. The basic configuration of such a VSELP coding is a coding method of analysis by way of synthesis, i.e., carrying out a linear prediction synthesis of a pitch frequency component and a noise component as the excitation sources. That is, a waveform is selected in vector unit from an adaptive codebook 340 which depends on a pitch frequency of an input audio signal and a noise codebook 360 for carrying out a linear prediction synthesis, so as to select a signed vector and a gain which minimize the difference from the waveform of the input audio signal. In the VSELP coding, a signed vector from the adaptive codebook expressing the pitch component of an input audio signal and a signed vector from the noise codebook expressing the noise component of the input audio signal are both vector-quantized, so as to simultaneously obtain two optimal parameters in combination. In this process, as the basic vector has only the freedom of being added by +1 or -1 and the vector of the adaptive codebook is not orthogonal to the basic vector, the coding efficiency is lowered if the CELP procedure is employed to successively determine the vector of the adaptive codebook and the gain of the noise signed vector. To cope with this, in the VSELP, the basic vector sign is determined according to a procedure as follows. Firstly, the pitch frequency of the input audio signal is searched to determine a signed vector of the adaptive codebook. Next, the noise basic vector is projected to a space orthogonal to the signed vector of the adaptive codebook and an inner product with the input vector is calculated, so as to determine the signed vector of the noise codebook. Next, according to the two signed vectors determined, the codebook is searched to determine a combination of a gain β and a gain γ which minimises the difference between the vector synthesized and the input audio signal. For quantization of the two gains, a pair of two parameters equally converted is used. Here, the β corresponds to a long-term prediction gain coefficient and the γ corresponds to a scalar gain of the signed vector. Although the calculation amount for the codebook search in the VSELP coding is reduced relative to the calculation amount in the CELP coding, it is desired to further improve the proceeding speed, further reducing the delay. It would therefore be desirable to simplify the codebook search in the vector quantization when coding an audio signal or the like, enabling to improve the vector search speed. EP-A-0,602,954, on which the two part form of claim 1 is based, discloses a VSELP coding technique using a vector search method of obtaining an optimum synthetic vector for vector quantization of an audio signal by calculating the difference error between an input vector and plurality of synthetic vectors each comprising the sum of each of plurality of basic vectors multiplied by a set of respective factors of +1 or -1, wherein the sets of factors are changed according to a Gray code. In particular, a cross-correlation value G used for determining the closeness of the matching is calculated using a formerly calculated G from a neighbouring synthetised word in the Gray code order, thus reducing the amount of computation. According to the present invention there is provided a vector search method of obtaining an optimum synthetic vector for vector quantization of an audio signal by calculating the difference error between an input vector and plurality of synthetic vectors each comprising the sum of each of plurality of basic vectors multiplied by a set of respective factors of +1 or -1, wherein the sets of factors are changed according to a Gray code, characterised in that an intermediate value Gu obtained by calculation of a synthetic vector created according to a sign word u of the Gray code is expressed by an intermediate value Gi obtained by a calculation of a synthetic vector created according to an adjacent sign word i different from said sign word u only in a predetermined bit position v and a change ΔGu calculated by utilizing the Gray code characteristic, and said cheque ΔGu is used to express a change ΔGu' between an intermediate value Gi' according to another sign word i' in said Gray code and an intermediate value Gu' according to an adjacent sign word u' different from said sign word i' only in a predetermined bit position v. The combination of the basic vectors which makes minimum the difference between the input vector and the prediction vector or makes maximum an inner product between them may be obtained by using a difference between a change of the synthetic vector when a predetermined bit position of the Gray code is changed and a change of the synthetic vector when a different bit position is changed. According to the aforementioned vector search method, by utilizing the characteristic of the Gray code, it is possible to use a calculation result obtained for carrying out the next calculation, thus enabling to increase the vector search speed. According to the present invention, there may also be provided a coding apparatus utilising the vector search method. Embodiments of the present invention will now be described by way of non-limitative example with reference to the accompanying drawings in which: Fig. 1 is a block diagram showing a configuration example of a coding apparatus for explanation of the CELP coding. Fig. 2 is a block diagram showing the configuration of the noise codebook used in the VSELP coding. Fig. 3 is a block diagram showing a configuration example of a coding apparatus for explanation of the VSELP coding. Fig. 4 shows an example of the binary Gray code. Fig. 5 is a flowchart showing a procedure of the vector search method according to the present invention. Fig. 6 shows a calculation amount and a memory write amount in the vector search method according to the present invention in comparison to the conventional vector search. Fig. 7 explains the PSI-CELP. Fig. 8 is a block diagram showing a configuration example of a coding apparatus for explanation of the PSI-CELP coding. Description will now be directed to the vector search method according to preferred embodiments of the present invention. Firstly, explanation will be given on a case of vector quantization carried out in the aforementioned VSELP coding apparatus. In the waveform coding and analysis-synthesis system, instead of quantizing respective sample values of a waveform and spectrum envelope parameters, a plurality of values in combination (vector) are expressed as a whole with a single sign. Such a quantization method is called vector quantization. In the coding by way of waveform vector quantization, a waveform after sampled is cut out for a predetermined time interval as a coding unit and a waveform pattern during the interval is expressed by a single sign. For this, various waveform patterns are stored in memory in advance and a sign is added to them. The correspondence between the sign and the patterns (signed vector) is indicated by a codebook. For an audio signal waveform, a comparison is made with each of the parameters stored in the codebook for the respective time intervals and a sign of the waveform having the highest similarity is used to express the waveform of the interval. Thus, various input sounds are expressed with a limited number of patterns. Consequently, appropriate patterns to minimize the entire distortion should be stored in the codebook, considering the pattern distribution and the like. The vector quantization can be a highly effective coding based on the facts that the patterns to be realized have various specialties such that a correlation can be seen between sample points in a certain interval of an audio waveform and the sample points are smoothly connected. Next, explanation will given on the vector search for searching a signed vector which minimizes the difference between an input vector and a synthesized vector formed from an optimal combination of a plurality of vectors selected from the codebook. Firstly, it is assumed that p (n) is an input audio signal weighted with hearing sense and q' m (n) (1 ≤ m ≤ M) is a basic vector orthogonal to a long-term prediction vector weighted with hearing sense. Expression (1) gives an inner product of the input vector and the synthesized vector formed by a combination of a plurality of vectors selected from the codebook. That is, by obtaining  ij which makes the Expression (1) maximum, the inner product between the synthesized vector and the input vector becomes maximum. It should be noted that the combination  ij is -1 if the bit j of the sign word i is 0, and 1 if the bit j of the sign word i is 1 (0 ≤ i ≤ 2 M -1, 1 ≤ m ≤ M). [Expression 1] The denominator of the Expression (1) can be developed to obtain Expression (2). [Expression 2] Here, a variable R m given by Expression (3) and a variable D mj given by Expression (4) are introduced. [Expression 3] These variables R m and D mj are introduced into Expression (1) to obtain Expression (5). [Expression 4] Here, a variable C i given by Expression (6) and a variable G i given by Expression (7) are further introduced. [Expression 5] By using these variables C i and G i , Expression (1) can be rewritten into Expression (8). That is, by obtaining the variables C i and G i to maximize the Expression (8), it is possible to make maximum the correlation between the synthesized vector and the input vector. C i 2 /G i - Max. By the way, if there is a sign word u which is different from the sign word i only in the bit position v, and if C i and G i are known, then C u and G u can be expressed by Expressions (9) and (10). [Expression 6] C u = C i + uv R v By utilizing this and by converting the sign word i by using the binary Gray code, it is possible to calculate with a high efficiency the optimal combination of a plurality of signed vectors selected from the codebook. Note that the Gray code will be detailed later. The Expression (10) can be rewritten into Expression (11) if ΔG u is assumed to be a change from G i to Gu. [Expression 7] Here, the sign word u' of the binary Gray code differs from the sign word i only in the bit position V. The sign word u' differs from the preceding sign word u only in one bit other than the bit position v. Now, if w is assumed to be the aforementioned bit position, the sign of  uv is reversed and the relationship of Expression (12) can be obtained from the Expression (11). ΔG u , = -ΔG u + 2 uw  uv D wv From this, it is possible to use the Expression (11) to obtain the change ΔG u when the bit position V has changed firstly in the binary Gray code and the Expression (12) to obtain the change at the same bit position V after that, thus enhancing the vector search speed. Fig. 4 shows the binary Gray code when M = 4. As shown here, the Gray code is a kind of cyclic code in which two adjacent sign words differ from each other only in one bit. Here, if an attention is paid on the bit position V = 3, for example, the value is changed when N changes from 3 to 4 as indicated by a reference numeral 425 and when N changes from 11 to 12 as indicated by a reference numeral 426. That is, if the Gray code when N = 4 is compared to the Gray code when N = 12, the only difference in the bit w (W = 4), excluding the bit v (V = 3). Here, if it is assumed that the Gray code when N = 4 is u, and the Gray code when N = 12 is u', then When N = 4:  u1 = -1,  u2 = 1,  u3 = 1,  u4 = -1 When N = 12:  u'1 = -1,  u'2 = 1,  u'3 = -1,  u'4 = 1 From this and the Expression (11), the following can be obtained. When N = 4: ΔG u =  u3 { u1 D 13 +  u2 D 23 +  u4 D 43 } When N = 12: ΔG u' =  u'3 { u'1 D 13 +  u'2 D 23 +  u'4 D 43 } As has been described above, because the bit position V = 1 and 2 are with an identical sign and the bit position V = 3 and 4 are with different signs, the following are satisfied. That is, the Expression (15a) can be simplified into the Expression (15b). Fig. 5 is a flowchart showing the aforementioned procedure of the vector search method according to the present invention. Firstly, in step ST1, the variable R m is calculated from the Expression (3), and the variable D mj , from the Expression (4). In step ST2, the variable C 0 is calculated from the Expression (6), and the variable G 0 , from the Expression (7). In step ST3, C i (1 ≤ i ≤ 2M -1 ) is calculated from the Expression (9). In step ST4, the bit V-1 is calculated. In step ST5, the change amount ΔG u of G u when a certain bit V firstly changes is calculated from the Expression (11). In step ST6, the ΔG u when the remaining bit V changes is calculated from the Expression (12). In step ST7, the bit V is set to V + 1. In step ST8, it is determined whether the V is equal to or less than M. If V is equal to or less than M, control is returned to step ST5 to repeat the aforementioned procedure. On the other hand, if V is greater than M, control is passed to step ST6. In step ST9, G u = G 1 + ΔG u (wherein 1 ≤ u ≤ 2M -1) is calculated, completing the vector search. Fig. 6 shows the G i calculation processing amount obtained by the vector search method according to the present invention in comparison to the processing of the conventional vector search method. Fig. 6A shows the comparison result in the number of calculations for multiplication. Moreover, Fig. 6B shows the comparison results in the number of calculations for the addition and subtraction. From these results, it can be seen the effect that as the M increases, the number of calculations is reduced. Moreover, Fig. 6C shows the comparison result in the number of writing times into memory. This result shows that the number of writing times into memory is increased twice in comparison to the conventional vector search method, regardless of the M value. Next, explanation will be given on the vector search method according to an embodiment of the present invention employed in the vector quantization in the PSI-CELP coding. The PSI-CELP (pitch synchronous innovation CELP) coding is a highly effective audio coding for obtaining an improved sound quality for the sound-existing portion by periodicity processing of signed vectors from the noise codebook with a pitch periodicity (pitch lag) of the adaptive codebook. Fig. 7 schematically shows the periodicity processing of the pitch of a signed vector from the noise codebook. In the aforementioned CELP coding, adaptive codebook is used for effectively expressing an audio signal containing a periodic pitch component. However, when the bit rate is lowered to the order of 4 kbs, the number of bits assigned for the sound source coding is decreased and it becomes impossible to sufficiently express the audio signal containing a periodic pitch component with the adaptive codebook alone. To cope with this, in the PSI-CELP coding system, the pitch of the signed vector from the noise codebook is subjected to periodicity processing. This enables to accurately express the audio signal containing a periodic pitch component which cannot be sufficiently expressed by the adaptive codebook alone. It should be noted that the lag (pitch lag) L represents a pitch cycle expressed in the number of samples. Fig. 8 is a block diagram showing a configuration example of an essential portion of a PSI-CELP coding apparatus. Hereinafter, explanation will be given on this PSI-CELP coding with reference to Fig. 8. The PSI-CELP coding is characterized by carrying out the pitch periodicity processing of the noise codebook. This periodicity processing is to deform an audio signal by taking out only a pitch periodic component which is a basic cycle of the audio signal so as to be repeated. An audio signal supplied from an input terminal 710 is firstly subjected to a linear prediction analysis in a linear prediction analyzer 720 and a prediction coefficient obtained is fed to a linear prediction synthesis filter 730. In the synthesis filter 730 the prediction coefficient from the LPC analyzer 720 is synthesized with signed vectors supplied from an adaptive codebook 640 and noise codebooks 680, 760, and 761 respectively via amplifiers 650 and 770 and an adder 780. The noise signed vector from the noise codebook 660 is a vector selected from 32 basic vectors by a selector 655 and multiplied by a factor +1 or -1 by a sign adder 657. The noise signed vector multiplied by the factor +1 or -1 and the signed vector from the adaptive codebook 640 are selected by a selector 652 and added with a predetermined gain g0 by the amplifier 650 so as to be supplied to the adder 780. On the other hand, the noise signed vectors from the noise codebooks 760 and 761 are selected respectively from 16 basic vectors by selectors 755 and 756 and subjected to pitch periodicity processing by pitch cyclers 750 and 751, after which they are multiplied by a factor +1 or -1 by sign adders 740 and 741 so as to be supplied to an adder 765. After this, they are given a predetermined gain g 1 in the amplifier 770 and supplied to the adder 780. The signed vectors which have been given a gain respectively by the amplifiers 650 and 770 are added in the adder 780 and supplied to the linear prediction synthesis filter 730. In an adder 790, a difference is obtained between the audio signal supplied from the input terminal 710 and the prediction value from the linear prediction synthesis filter 730. In a hearing sense weighting distortion minimizer 800, the difference obtained by the adder 790 is subjected to hearing sense weighting, considering the human hearing sense characteristics. The difference weighted with the hearing sense, i.e., a signed vector and a gain are determined to minimize a difference error between the prediction value from the linear prediction synthesis filter 730 and the input audio signal. The results are transmitted as an index to the adaptive codebook 640, the noise codebooks 660, 760, and 761, and outputted as a transmission path sign. By the way, in the LSP middle band second stage quatization, the Expression (16) gives a Euclid distance between the synthesized vector made from a combination of a plurality of vectors selected from codebooks and the input middle band LSP error vector. That is, this calculation is carried out by obtaining a pair (k, i) which minimizes the Euclid distance D(k) 2 given by the Expression (16), wherein it is assumed that 0 ≤ k ≤ MM - 1 and 0 ≤ i ≤ 7. [Expression 8] This Expression (16) is developed into Expression (17) as follows. [Expression 9] Here, a variable R(k, i) (o < k < MM - i, 0 < 1 < 7) given by Expression (18) and a variable D (i, m) (0 < i, m < 7 ) given by Expression (19) are introduced. [Expression 10] In the Expression (17), the first term of the right side is always constant and accordingly can be ignored. By substituting the aforementioned variables R and D, it is necessary to obtain (k, i) which satisfies the relationship defined by Expression (20) as follows. [Expression 11] Here, a variable C I given by Expression (21) and a variable G I given by Expression (22) are further introduced (wherein 0 ≤ I ≤ 2 8 -1). [Expression 12] The aforementioned variables CI and GI are introduced into the Expression (20) to obtain the following. -2*C I + G I - Min. That is, it is possible to minimize the error by obtaining the variables C I and G I which minimize the Expression (23). In the aforementioned vector search in the PSI-CELP coding system, Expressions (21) and (22) have identical forms as the Expressions (9) and (10) in the aforementioned vector search in the VSELP coding. Consequently, the aforementioned vector search method according to the present invention can also be applied to the PSI-CELP, enhancing the vector search speed. The vector search method according to the present invention, utilizing the Gray code characteristic, uses a result of a calculation which has been complete, for carrying out the next calculation, thus enabling to simplify the calculation of the synthesized vector and increase the vector search speed.

Claims: A vector search method of obtaining an optimum synthetic vector for vector quantization of an audio signal by calculating the difference error between an input vector and plurality of synthetic vectors each comprising the sum of each of plurality of basic vectors multiplied by a set of respective factors of +1 or -1, wherein the sets of factors are changed according to a Gray code, characterised in that an intermediate value Gu obtained by calculation of a synthetic vector created according to a sign word u of the Gray code is expressed by an intermediate value Gi obtained by a calculation of a synthetic vector created according to an adjacent sign word i different from said sign word u only in a predetermined bit position v and a change ΔGu calculated by utilizing the Gray code characteristic, and said cheque ΔGu is used to express a change ΔGu' between an intermediate value Gi' according to another sign word i' in said Gray code and an intermediate value Gu' according to an adjacent sign word u' different from said sign word i' only in a predetermined bit position v. A vector search method as claimed in claim 1, wherein said prediction vector is created through is created through a prediction synthesis filter to synthesizing said synthetic vector and a vector based on a past sound source signal. A vector search method as claimed in claim 1 or 2, wherein said sign word u' in said Gray code differs from said sign word u only in one bit position w other than the predetermined bit position v, and said change ΔGu' is expressed as a sum of said change ΔGu already obtained according to said sign word u of said Gray code and a difference between said change ΔGu and said ΔGu'. A vector search method as claimed in any one of the preceding claims, wherein the calculation to minimize the difference between said prediction vector and said input vector is a calculation to determine such a synthetic vector from synthetic vectors created by synthesizing basic vectors for the sign word i of the Gray code that makes maximum an inner product with said input vector, said inner product being expressed, by using two variables Ci and Gi, as (Ci) 2 /Gi. A vector search method as claimed in any one of the preceding claims, wherein the calculation to minimize the difference between said prediction vector and said input vector is a calculation to determine such synthetic vector from synthetic vectors created by synthesizing basic vectors for the sign word i of the Gray code that makes minimum a Euclid distance from said input vector, said Euclid distance being expressed by a sum of two variables Ci and Gi. A coding apparatus having means for performing the vector search method of any one of the preceding claims.

Inventors: MAEDA SHUICHI, MAEDA YUJI, MAEDA, SHUICHI, MAEDA, YUJI
Applicants: SONY CORP, SONY CORPORATION
Application year: 1998
Main classification: G10L19
IPC codes: H03M7, G10L19