JP4714075B2 - Multi-channel signal encoding method, apparatus using the method, program, and recording medium - Google Patents

Multi-channel signal encoding method, apparatus using the method, program, and recording medium Download PDF

Info

Publication number
JP4714075B2
JP4714075B2 JP2006132922A JP2006132922A JP4714075B2 JP 4714075 B2 JP4714075 B2 JP 4714075B2 JP 2006132922 A JP2006132922 A JP 2006132922A JP 2006132922 A JP2006132922 A JP 2006132922A JP 4714075 B2 JP4714075 B2 JP 4714075B2
Authority
JP
Japan
Prior art keywords
delay amount
range
determined
encoding
correlation value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2006132922A
Other languages
Japanese (ja)
Other versions
JP2007304346A (en
Inventor
健弘 守谷
登 原田
優 鎌本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2006132922A priority Critical patent/JP4714075B2/en
Publication of JP2007304346A publication Critical patent/JP2007304346A/en
Application granted granted Critical
Publication of JP4714075B2 publication Critical patent/JP4714075B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To securely select a coding method with a small coding amount, while suppressing a processing amount of coding. <P>SOLUTION: In a multichannel signal coding method of the invention, a weighting difference of a frame signal of a channel to be coded, and a plurality of sample value sequences in which a time position of a master channel is different, is coded. In the invention, as an optimum delay amount calculation step, the difference of the time position in which correlation of the sample value sequence of the master channel which gives the difference of the time position and the frame signal of the channel to be coded, is the largest, within a range of difference of a predetermined time position, is calculated as an optimum delay amount. Then, as a coding information determination step, from the optimum delay amount and an optimum delay amount correlation value, weighting which is to be multiplied with a number of the master channel, the difference of the time position of each sample value sequence of the master channel and the frame signal of the channel to be coded, and each sample value sequence of the master channel, is determined. <P>COPYRIGHT: (C)2008,JPO&amp;INPIT

Description

本発明は、音響信号や医療信号などの多チャネルの信号音を記録、伝送するための、多チャネル信号符号化方法、その方法を用いた装置、プログラム、および記録媒体に関するものである。     The present invention relates to a multi-channel signal encoding method, an apparatus using the method, a program, and a recording medium for recording and transmitting multi-channel signal sounds such as acoustic signals and medical signals.

従来の音響信号符号化では、ステレオ信号に関する相関を用いた符号化が多く検討されている。例えば5チャネルのマルチチャネル符号化でも2チャネルごとの対にして、ステレオ信号の符号化に還元する方法が知られている。原音に対して、チャネル間での差分や固定的な重みつき差分信号によってチャネル間の信号の類似性を利用した圧縮符号化もよく使われるが、圧縮効率が小さい場合が多い。
特許文献1では、予測残差に対するチャネル間の重み付差分が開示されているが、時間差は考慮されていない。図1に従来の多チャネル信号符号化装置の機能構成例を示す。Mチャネル(Mは2以上の整数)の入力を有する多チャネル信号符号化装置800は、フレームバッファ810(i=1〜M)、符号化情報決定部820、符号化対象信号生成部830、信号符号化部840(i=1〜M)、合成部850から構成される。また、符号化情報決定部820は、チャネルごとに、独立に符号化(以下、「独立符号化」という。)するのか、他のチャネル(以下、「マスターチャネル」という。)との重み付き差分信号を符号化(以下、「差分符号化」という。)するのかの決定をする独立/差分・マスターチャネル決定部821、および差分符号化の場合に、マスターチャネルの重みを決定する重み決定部826を備えている。符号化対象信号生成部830は、符号化情報決定部820で決定された符号化情報にしたがって、チャネルごとに必要な情報を収集する符号化情報処理部832と差分符号化の場合には重み付き加算(減算)を行う重み付き加算部833とを備える。
In conventional acoustic signal coding, many coding methods using correlation with stereo signals have been studied. For example, there is known a method of reducing a stereo signal encoding by making a pair for every two channels even in multi-channel encoding of 5 channels. For the original sound, compression coding using the similarity of signals between channels by a difference between channels or a fixed weighted difference signal is often used, but the compression efficiency is often small.
In Patent Document 1, a weighted difference between channels with respect to a prediction residual is disclosed, but a time difference is not taken into consideration. FIG. 1 shows a functional configuration example of a conventional multi-channel signal encoding apparatus. A multi-channel signal encoding apparatus 800 having an input of M channels (M is an integer of 2 or more) includes a frame buffer 810 i (i = 1 to M), an encoding information determination unit 820, an encoding target signal generation unit 830, The signal encoding unit 840 i (i = 1 to M) and the synthesis unit 850 are included. In addition, the encoding information determination unit 820 performs encoding for each channel independently (hereinafter referred to as “independent encoding”) or a weighted difference from other channels (hereinafter referred to as “master channel”). An independent / differential / master channel determination unit 821 that determines whether to encode a signal (hereinafter referred to as “differential encoding”), and a weight determination unit 826 that determines the weight of a master channel in the case of differential encoding. It has. The encoding target signal generation unit 830 is an encoding information processing unit 832 i that collects necessary information for each channel according to the encoding information determined by the encoding information determination unit 820, and weights in the case of differential encoding. A weighted addition unit 833 i for performing addition (subtraction).

図2に従来の多チャネル信号符号化装置800の処理フローを示す。フレームバッファ810(i=1〜M)は、入力信号(チャネル信号)を蓄積する。ここで、チャネル信号が単なるサンプル値の列の場合には、複数のサンプル値列(以下、「フレーム」という。)に分割し、チャネル信号が既にフレームごとに分割されている場合には、フレーム単位に蓄積する(S810)。符号化情報決定部820は、各チャネル信号のエネルギーや、各チャネル間の差分エネルギーなどの相関関係に近似する情報を利用して、各チャネルの符号化情報(独立符号化か差分符号化か、マスターチャネル番号、重みなど)を決定する(S820)。符号化対象信号生成部830は、チャネルごとに前記の符号化情報にしたがって符号化対象の信号を生成する(S830)。信号符号化部840(i=1〜M)は、生成された符号化対象信号を符号化する(S840)。合成部850は、各チャネル信号の符号と符号化情報とを合成し、多チャネル符号を出力する(S850)。 FIG. 2 shows a processing flow of a conventional multi-channel signal encoding apparatus 800. The frame buffer 810 i (i = 1 to M) stores an input signal (channel signal). Here, when the channel signal is simply a sequence of sample values, it is divided into a plurality of sample value sequences (hereinafter referred to as “frames”), and when the channel signal is already divided into frames, Accumulate in units (S810). The encoding information determination unit 820 uses information that approximates the correlation such as the energy of each channel signal and the difference energy between the channels, and encodes each channel's encoding information (independent encoding or differential encoding, (Master channel number, weight, etc.) are determined (S820). The encoding target signal generation unit 830 generates a signal to be encoded according to the encoding information for each channel (S830). The signal encoding unit 840 i (i = 1 to M) encodes the generated encoding target signal (S840). The combining unit 850 combines the code of each channel signal and the encoded information, and outputs a multi-channel code (S850).

ステップS830の詳細な処理フローは以下のとおりである。符号化対象信号生成部830の符号化情報処理部832は、符号化情報決定部820で決定された符号化情報を取得する。符号化情報処理部832は、符号化対象チャネルのサンプル値列を取得する。符号化情報処理部832は、差分符号化の場合にはマスターチャネルの参照するサンプル値列の情報を取得する。なお、参照するサンプル値列は、1つの場合と3つの場合がある。詳細については後述する。独立符号化の場合には、重み付き加算部833は、符号化情報処理部832が取得した符号化対象チャネルのサンプル値列をそのまま符号化対象信号のサンプル値列として出力する。差分符号化の場合には、重み付き加算部833は、符号化対象チャネルのサンプル値列にマスターチャネルの参照するサンプル値列に重みを乗じて加算(減算)を行い、符号化対象信号のサンプル値列として出力する。 The detailed processing flow of step S830 is as follows. The encoding information processing unit 832 i of the encoding target signal generation unit 830 acquires the encoding information determined by the encoding information determination unit 820. The encoded information processing unit 832 i acquires a sample value sequence of the encoding target channel. In the case of differential encoding, the encoded information processing unit 832 i acquires information on the sample value sequence referred to by the master channel. Note that there are one case and three cases of sample value sequences to be referred to. Details will be described later. In the case of independent encoding, the weighted addition unit 833 i outputs the sample value sequence of the encoding target channel acquired by the encoded information processing unit 832 i as it is as the sample value sequence of the encoding target signal. In the case of differential encoding, the weighted adder 833 i adds (subtracts) the sample value sequence of the encoding target channel by multiplying the sample value sequence referred to by the master channel by the weight, and performs the subtraction of the encoding target signal. Output as sample value sequence.

図3は、サンプル値列が1つ(1タップ)の場合のステップS830の処理のイメージを示している。また、図4は、サンプル値列が3つ(3タップ)の場合のステップS830の処理のイメージを示している。1つのフレームは、Nサンプルから構成されているので、符号化するチャネルXのサンプル値列(N個のサンプル値の列)が符号化チャネルの信号である。図3の例では、符号化対象信号のサンプル値列Xから、符号化対象チャネルのサンプル値列と同じ時間(τ=0)のマスターチャネルのサンプル値列Yに重みγを乗じて減算(重み−γを乗じて加算)した差分信号X^が符号化対象信号となる。ここで、τは、符号化対象チャネルのフレーム信号(フレームと一致するサンプル値列)とマスターチャネルのサンプル値列の時間差(時間位置の差)を示している。また、サンプル値列Yの添え字は、τの値を示している。たとえば、Yは、τ=iのマスターチャネルYのサンプル値列を示している。図4の例では、符号化対象チャネルのサンプル値列Xから、1サンプル分前にずれた(τ=−1)サンプル値列Y−1、同じ時間(τ=0)のサンプル値列Y、および1サンプル分後ろにずれた(τ=1)サンプル値列Yにそれぞれ重みγ−1、γ、γを乗じて減算(重み−γ−1、−γ、−γを乗じて加算)した差分信号X^が符号化対象信号となる。 FIG. 3 shows an image of the processing in step S830 when there is one sample value string (one tap). FIG. 4 shows an image of the processing in step S830 when there are three sample value strings (3 taps). Since one frame is composed of N samples, the sample value sequence of channel X to be encoded (sequence of N sample values) is the signal of the encoded channel. In the example of FIG. 3, the sample value sequence Y 0 of the master channel at the same time (τ = 0) as the sample value sequence of the encoding target channel is multiplied by the weight γ and subtracted from the sample value sequence X of the encoding target signal ( The difference signal X ^ multiplied by the weight -γ is added as the signal to be encoded. Here, τ represents the time difference (time position difference) between the frame signal of the encoding target channel (sample value sequence matching the frame) and the sample value sequence of the master channel. The subscript of the sample value sequence Y indicates the value of τ. For example, Y i indicates a sample value string of the master channel Y with τ = i. In the example of FIG. 4, the sample value sequence Y 0 from the sample value string X to be encoded channels, which is deviated one sample before (tau = -1) sample value sequence Y -1, same time (τ = 0) And a sample value sequence Y 1 shifted backward by one sample (τ = 1), respectively, and multiplied by weights γ −1 , γ 0 , γ 1 and subtracted (weights −γ −1 , −γ 0 , −γ 1) . The difference signal X ^ multiplied and added) becomes the encoding target signal.

図5は、従来の多チャネル信号復号化装置の機能構成例を示している。Mチャネルの多チャネル信号復号化装置900は、情報取得分離部910、信号復号化部920(i=1〜M)、チャネル信号出力部930から構成される。チャネル信号出力部930は、符号化情報処理部932と重み付き加算部933を備えている。情報取得分離部910は、多チャネル符号を受信し、符号化情報を取得するとともに符号化信号ごとに分離する。信号復号化部920(i=1〜M)は、信号ごとに復号化する。チャネル信号出力部930は、符号化情報処理部932で情報取得分離部910からのチャネルごとの符号化情報を取得し、マスターチャネルのサンプル値列などの情報を収集する。また、重み付き加算部933で、独立符号化の場合には復号化対象の信号のサンプル値列をそのまま出力し、差分符号化の場合には復号化対象の信号のサンプル値列とマスターチャネルのサンプル値列との重み付き加算を行い、出力する。 FIG. 5 shows a functional configuration example of a conventional multi-channel signal decoding apparatus. The M-channel multi-channel signal decoding apparatus 900 includes an information acquisition / separation unit 910, a signal decoding unit 920 i (i = 1 to M), and a channel signal output unit 930. The channel signal output unit 930 includes an encoded information processing unit 932 i and a weighted addition unit 933 i . The information acquisition / separation unit 910 receives a multi-channel code, acquires encoded information, and separates each encoded signal. The signal decoding unit 920 i (i = 1 to M) performs decoding for each signal. The channel signal output unit 930 acquires encoded information for each channel from the information acquisition / separation unit 910 by the encoded information processing unit 932 i , and collects information such as a sample value sequence of the master channel. Also, the weighted adder 933 i outputs the sample value sequence of the signal to be decoded as it is in the case of independent encoding, and the sample value sequence of the signal to be decoded and the master channel in the case of differential encoding. Performs weighted addition with the sample value sequence of and outputs.

また、本発明と関連する発明に、本出願人が出願した未公開の特許出願(特願2005−199163号:出願日2005年7月7日)(以下、「関連発明」という。)がある。関連発明の差分符号化は、マスターチャネルの複数のサンプル値との重み付きの差分符号化であり、かつ、符号化対象のチャネル信号のサンプルと同じ時間、直前、または直後以外の時間のマスターチャネルのサンプル値を含むことがある重み付き差分符号化である。また、関連発明は、あらかじめ定めた時間差の範囲の中で、符号化対象のチャネル信号のサンプル値列X(フレーム信号)との相関が最も大きいマスターチャネルのサンプル値列Ytmp(符号化対象のサンプル値列とマスターチャネルのサンプル値列の時間差(時間位置の差)τがτtmpのマスターチャネルYのサンプル値列)を差分符号化に用いる。 As an invention related to the present invention, there is an unpublished patent application filed by the applicant (Japanese Patent Application No. 2005-199163: application date July 7, 2005) (hereinafter referred to as “related invention”). . The differential coding of the related invention is a weighted differential coding with a plurality of sample values of the master channel, and a master channel at a time other than the same time, immediately before, or just after the sample of the channel signal to be coded Is a weighted differential encoding that may contain In the related invention, the sample value sequence Y tmp of the master channel having the greatest correlation with the sample value sequence X (frame signal) of the channel signal to be encoded within a predetermined time difference range. The time difference between the sample value sequence and the sample value sequence of the master channel (time position difference) τ is the sample value sequence of the master channel Y with τ tmp ) is used for differential encoding.

図6に2つのサンプル値列(2タップ)を用いる場合のイメージを示す。この例では、τtmpが0以外のときはYとYtmpを用い、τtmpが0のときはYのみを用いる。図7に6つのサンプル値列(6タップ)を用いる場合のイメージを示す。この例では、τtmpが0の場合は、Y−1,Y,Yの3つのサンプル値を重み付き差分符号化に用い、τtmpが−1または−2の場合は、Y−4,Y−3,Y−2,Y−1,Y,Yの6つのサンプル値を重み付き差分符号化に用い、τtmpが1または2の場合は、Y−1,Y,Y,Y,Y,Yの6つのサンプル値を重み付き差分符号化に用い、τtmpが上記以外の場合は、Ytmp−1,Ytmp,Ytmp+1,Y−1,Y,Yの6つのサンプル値を重み付き差分符号化に用いる。 FIG. 6 shows an image when two sample value strings (2 taps) are used. In this example, when τ tmp is other than 0 , Y 0 and Y tmp are used, and when τ tmp is 0, only Y 0 is used. FIG. 7 shows an image when six sample value sequences (6 taps) are used. In this example, when τ tmp is 0, three sample values Y −1 , Y 0 , and Y 1 are used for weighted differential encoding, and when τ tmp is −1 or −2, Y −4 , Y −3 , Y −2 , Y −1 , Y 0 , Y 1 are used for weighted differential encoding, and when τ tmp is 1 or 2, Y −1 , Y 0 , Y When six sample values 1 , Y 2 , Y 3 , Y 4 are used for weighted differential encoding and τ tmp is other than the above, Y tmp−1 , Y tmp , Y tmp + 1 , Y −1 , Y 0 , Y 1 are used for weighted differential encoding.

図8に示すようにマイク入力Aとマイク入力Bがあるとき、正面の音声からの音では、マイクAからの入力信号とマイクBからの入力信号間に位相差はない。しかし、ピアノの音では、マイクBからの入力信号はマイクAからの入力信号に対して位相遅れが生じる。このように位置の異なる音源からの音が重なると、マイクAからの入力信号とマイクBからの入力信号との関係は、関連発明のようなチャネル間予測によってはじめて効率的に符号化可能である。
図9に関連発明の多チャネル信号符号化装置の機能構成例を示す。多チャネル信号符号化装置100と図1に示した多チャネル信号符号化装置800との違いは、符号化情報決定部120である。符号化情報決定部120は、独立/差分・マスターチャネル決定部821、マスターチャネルのサンプル値列から相関の大きいサンプル値列を検索する最適遅延量算出部123と、参照するサンプル値列の符号化対象チャネルのフレーム信号(フレームと一致するサンプル値列)との時間差(時間位置の差)τを決定するτ決定部125、重み決定部126とを備えている。
As shown in FIG. 8, when there is a microphone input A and a microphone input B, there is no phase difference between the input signal from the microphone A and the input signal from the microphone B in the sound from the front voice. However, in the piano sound, the input signal from the microphone B is delayed in phase with respect to the input signal from the microphone A. When sounds from different sound sources overlap in this way, the relationship between the input signal from the microphone A and the input signal from the microphone B can be efficiently encoded only by inter-channel prediction as in the related invention. .
FIG. 9 shows a functional configuration example of the multi-channel signal encoding apparatus according to the related invention. The difference between multi-channel signal encoding apparatus 100 and multi-channel signal encoding apparatus 800 shown in FIG. The encoding information determination unit 120 includes an independent / difference / master channel determination unit 821, an optimum delay amount calculation unit 123 that searches for a sample value sequence having a large correlation from the sample value sequence of the master channel, and encoding of the sample value sequence to be referred to A τ determination unit 125 and a weight determination unit 126 that determine a time difference (time position difference) τ with respect to a frame signal of the target channel (a sample value sequence that matches the frame) are provided.

多チャネル信号符号化装置100の処理フローは、図2に示した多チャネル信号符号化装置800の処理フローのステップS820を、図10に示すステップS120に変更したものである。図10は、ステップS120の詳細なフローを示す図である。独立/差分・マスターチャネル決定部821は、チャネル信号ごとに独立符号化するか差分符号化するか、差分符号化の場合にはマスターチャネルをどのチャネル信号にするのかを決定する(S8210)。独立/差分・マスターチャネル決定部821は、当該チャネル信号の符号化が独立符号化かを確認する(S1220)。独立符号化の場合は、当該チャネル信号に対するS120の処理を終了し、次のチャネル信号に対するステップS120を行う。差分符号化の場合は、ステップS1231へ進む。最適遅延量算出部123は、iに−T、dminに無限大の値を代入する(S1231)。ただし、無限大とは差ベクトルのエネルギーとして取りうる値よりも大きければ何でも良い。また、相関の大きいマスターチャネルのサンプル値列を探す範囲が−T≦τ≦Tである。最適遅延量算出部123は、符号化対象チャネルのサンプル値列X(x(0),x(1),…,x(N−1))とマスターチャネルのiサンプルずれたサンプル値列Y(y(i),y(i+1),…,y(i+N−1))との差ベクトルX^(x(0)−y(i),x(1)−y(i+1),…,x(N−1)−y(i+N−1))を求める(S1232)。ここで、差ベクトルX^を求める際に、重み係数βを用いて、差ベクトルX^をX−βYとしてもよい。次に、差ベクトルX^のエネルギーd=‖X^‖を求める(S1233)。dmin>dかを確認する(S1234)。ステップS1234が真ではない場合には、ステップS1236へ進む。ステップS1234が真の場合には、dminにdを、τminにiを代入する(S1235)。i<Tを確認する(S1236)。ステップS1236が真の場合には、iにi+1を代入し(S1237)、ステップS1232へ戻る。ステップS1236が真でない場合には、ステップS1250へ進む。このようにして相関の最も大きいサンプル値列との時間位置の差(最適遅延量)τtmpが求められる。τ決定部125は、重み付き差分符号化に使うマスターチャネルのサンプル値列を決める(S1250)。重み決定部126は、サンプル値列ごとに重みを計算する(S1260)。 The processing flow of the multi-channel signal encoding device 100 is obtained by changing step S820 of the processing flow of the multi-channel signal encoding device 800 shown in FIG. 2 to step S120 shown in FIG. FIG. 10 is a diagram showing a detailed flow of step S120. The independent / difference / master channel determination unit 821 determines whether to perform independent encoding or differential encoding for each channel signal, and in the case of differential encoding, which channel signal to use for the master channel (S8210). The independent / difference / master channel determination unit 821 confirms whether the encoding of the channel signal is independent encoding (S1220). In the case of independent coding, the process of S120 for the channel signal is terminated, and step S120 for the next channel signal is performed. In the case of differential encoding, the process proceeds to step S1231. The optimum delay amount calculation unit 123 substitutes -T for i and an infinite value for d min (S1231). However, the infinity may be anything as long as it is larger than the value that can be taken as the energy of the difference vector. Further, a range in which a sample value sequence of a master channel having a large correlation is searched is −T ≦ τ ≦ T. The optimum delay amount calculation unit 123 obtains a sample value sequence Y i shifted from the sample value sequence X (x (0), x (1),..., X (N−1)) of the channel to be encoded by i samples of the master channel. Difference vector X ^ (x (0) -y (i), x (1) -y (i + 1), ..., x) from (y (i), y (i + 1), ..., y (i + N-1)) (N-1) -y (i + N-1)) is obtained (S1232). Here, when obtaining the difference vector X ^, the difference vector X ^ may be set to X-βY by using the weighting coefficient β. Next, determine the energy d = ‖X ^ ‖ 2 of the difference vector X ^ (S1233). It is confirmed whether d min > d (S1234). If step S1234 is not true, the process proceeds to step S1236. Step S1234 is the case of true, the d to d min, substituting i to τ min (S1235). i <T is confirmed (S1236). If step S1236 is true, i + 1 is substituted for i (S1237), and the process returns to step S1232. If step S1236 is not true, the process proceeds to step S1250. In this way, the time position difference (optimum delay amount) τ tmp with the sample value sequence having the largest correlation is obtained. The τ determination unit 125 determines a sample value sequence of the master channel used for weighted differential encoding (S1250). The weight determination unit 126 calculates a weight for each sample value sequence (S1260).

ステップS1250の詳細を図11に示す。τ決定部125は、求められたτtmpが0かを確認する(S1251)。最適遅延量τtmpが0の場合には、符号化対象チャネルのフレーム信号(サンプル値列)と参照するマスターチャネルのサンプル値列との時間差(時間位置の差)τを0のみとする(S1252)。最適遅延量τtmpが0でない場合には、符号化対象チャネルのフレーム信号(サンプル値列)と参照するマスターチャネルのサンプル値列との時間差(時間位置の差)τを0と最適遅延量τtmpの2つとする(S1253)。ステップS1260の詳細を図12に示す。重み決定部126は、τの数を確認する(S1261)。τの数が1個の場合には、重み係数γを、
γ=(Y −1 (1)
により算出する(S1262)。ただし、Xは内積で、Σx(i)y(i)である。τの数が2個の場合には、重み係数γ、γtmpを、
Details of step S1250 are shown in FIG. The τ determination unit 125 confirms whether the obtained τ tmp is 0 (S1251). When the optimum delay amount τ tmp is 0, the time difference (time position difference) τ between the frame signal (sample value sequence) of the channel to be encoded and the sample value sequence of the master channel to be referred to is set to only 0 (S1252). ). When the optimum delay amount τ tmp is not 0, the time difference (time position difference) τ between the frame signal (sample value sequence) of the channel to be encoded and the sample value sequence of the master channel to be referenced is 0 and the optimum delay amount τ. Two tmp are assumed (S1253). Details of step S1260 are shown in FIG. The weight determination unit 126 confirms the number of τ (S1261). When the number of τ is 1, the weight coefficient γ 0 is
γ 0 = (Y 0 T Y 0 ) −1 X T Y 0 (1)
(S1262). However, X T Y 0 is an inner product and is Σx (i) y (i). When the number of τ is two, the weighting factors γ 0 and γ tmp are

Figure 0004714075
Figure 0004714075

により算出する(S1263)。
また、3つまたは6つのマスターチャネルのサンプル値列を用いる場合のステップS1250とS1260は次のようになる。図13にステップS1250’の処理フローを示す。τ決定部125は、まず求められた最適遅延量τtmpの値を確認する(S1251’)。最適遅延量τtmpが0の場合には、符号化対象チャネルのフレーム信号(フレームと一致するサンプル値列)と参照するマスターチャネルのサンプル値列との時間差(時間位置の差)τを−1、0、1とする(S1254)。最適遅延量τtmpが1または2の場合には、符号化対象チャネルのフレーム信号(サンプル値列)と参照するマスターチャネルのサンプル値列との時間差(時間位置の差)τを−1、0、1、2、3、4とする(S1255)。最適遅延量τtmpが−1または−2の場合には、符号化対象チャネルのサンプル値列と参照するマスターチャネルのサンプル値列との時間差(時間位置の差)τを−4、−3、−2、−1、0、1とする(S1256)。最適遅延量τtmpが−2、−1、0、1、2でない場合には、符号化対象チャネルのサンプル値列と参照するマスターチャネルのサンプル値列との時間差(時間位置の差)τを−1、0、1、τtmp−1、τtmp、τtmp+1とする(S1257)。
(S1263).
Steps S1250 and S1260 in the case of using sample values of three or six master channels are as follows. FIG. 13 shows a processing flow of step S1250 ′. The τ determination unit 125 first confirms the value of the obtained optimum delay amount τ tmp (S1251 ′). When the optimum delay amount τ tmp is 0, the time difference (time position difference) τ between the frame signal of the channel to be encoded (sample value sequence that matches the frame) and the sample value sequence of the master channel to be referenced is −1. , 0, 1 (S1254). When the optimum delay amount τ tmp is 1 or 2, the time difference (time position difference) τ between the frame signal (sample value sequence) of the channel to be encoded and the sample value sequence of the master channel to be referenced is set to −1, 0. 1, 2, 3, 4 (S1255). When the optimal delay amount τ tmp is −1 or −2, the time difference (time position difference) τ between the sample value sequence of the encoding target channel and the sample value sequence of the master channel to be referred to is −4, −3, -2, -1, 0, 1 (S1256). When the optimum delay amount τ tmp is not −2, −1, 0, 1, or 2, the time difference (time position difference) τ between the sample value sequence of the encoding target channel and the sample value sequence of the master channel to be referred to is calculated. −1, 0, 1, τ tmp −1, τ tmp , τ tmp +1 are set (S1257).

図14にステップS1260’の処理フローを示す。重み決定部126は、まずτの数を確認する(S1261’)。τの数が3個の場合には、重み係数γ−1、γ、γ

Figure 0004714075
により算出する(S1264)。τの数が6個の場合には、重み係数γ−1、γ、γ、γtmp−1、γtmp、γtmp+1を、 FIG. 14 shows a processing flow of step S1260 ′. The weight determination unit 126 first confirms the number of τ (S1261 ′). When the number of τ is 3, the weight coefficients γ −1 , γ 0 , γ 1 are
Figure 0004714075
(S1264). When the number of τ is 6, weighting factors γ −1 , γ 0 , γ 1 , γ tmp−1 , γ tmp , γ tmp + 1 are set as follows:

Figure 0004714075
ただし、
Figure 0004714075
により算出する(S1265)。
また、MPEG-4 ALSと呼ばれる技術標準(非特許文献1)には、マスターチャネルの複数のサンプル値との重み付きの差分の符号であり、かつ、符号化対象のチャネル信号のサンプルと同じ時間、直前、または直後の3タップ以外の時間のマスターチャネルのサンプル値を含む符号(6タップの符号)を復号する技術が開示されている。この技術では、符号化装置は、3タップまたは6タップを選択して復号装置に送信する。しかし、非特許文献1では、符号化の方法(特に、符号化装置が3タップと6タップのどちらかを選択する方法)については何ら記載されていない。
Figure 0004714075
However,
Figure 0004714075
(S1265).
In addition, a technical standard called MPEG-4 ALS (Non-Patent Document 1) describes a weighted difference code with a plurality of sample values of a master channel and the same time as a sample of a channel signal to be encoded. A technique for decoding a code (six-tap code) including a sample value of a master channel at a time other than the immediately preceding or immediately following 3 taps is disclosed. In this technique, the encoding device selects 3 taps or 6 taps and transmits the selected taps to the decoding device. However, Non-Patent Document 1 does not describe any encoding method (in particular, a method in which the encoding apparatus selects either 3 taps or 6 taps).

公開された方法ではないが、関連発明以外の一般的な方法として、図15に示す方法(S120’)が考えられる。ステップS120’は図2のステップS820の代わりのステップである。この方法では、独立/差分・マスターチャネル決定部821は、チャネル信号ごとに独立符号化するか差分符号化するか、差分符号化の場合にはマスターチャネルをどのチャネル信号にするのかを決定する(S8210)。独立/差分・マスターチャネル決定部821は、当該チャネル信号の符号化が独立符号化かを確認する(S1220)。独立符号化の場合は、当該チャネル信号に対するS120’の処理を終了し、次のチャネル信号に対するステップS120’を行う。差分符号化の場合は、ステップS1230と、ステップS8252へ進む。ステップS1230は、図10に示したステップS1230と同じ処理である。ステップS8251は、ステップS1230で求めた最適遅延量τtmpを用いて重み付き差分符号化に使うマスターチャネルのサンプル値列の時間位置の差を算出する処理である。例えば、上記技術標準の6タップ分の時間位置の差を求める処理である。一方、ステップS8252は、最適遅延量τtmpを用いないで重み付き差分符号化に使うマスターチャネルのサンプル値列の時間位置の差を算出する処理である。例えば、上記技術標準では、符号化対象のチャネル信号のサンプルと同じ時間、直前、または直後の3タップ分の時間位置の差を求める処理である。ステップS8261では、ステップS8251で求めた時間位置の差ごとの重みを求める。ステップS8262では、ステップS8252で求めた時間位置の差ごとの重みを求める。ステップS8271では、符号化対象チャネルのフレーム信号と、マスターチャネル信号と、ステップS8251で求めたマスターチャネルの時間位置の差と、ステップS8261で求めた重みと、から符号化対象信号を生成し、生成した符号化対象信号を符号化する。ステップS8272では、符号化対象チャネルのフレーム信号と、マスターチャネルの信号と、ステップS8252で求めたマスターチャネルの時間位置の差と、ステップS8262で求めた重みと、から符号化対象信号を生成し、生成した符号化対象信号を符号化する。ステップS8280では、2つの方法(最適遅延量τtmpを用いた方法と用いなかった方法)で符号化した符号量を比較し、符号量の少ない方を選択する。ここでは、符号化対象信号を符号化して得た符号列と、時間位置の差と重みとを示す符号化情報と、を合わせた符号列の符号量を、比較対象の符号量とする。ただし、時間位置の差によらず、時間位置の差と重みとを示す符号化情報に固定のビット数が割り当てられている場合は、符号化対象信号を符号化して得た符号列の符号量を比較対象の符号量としてもよい。ステップS8291とステップS8292は、ステップS8280で選ばれた符号化の方法を符号化情報とする。なお、差分符号化の場合には、符号化情報を決定するステップS120(S820の代わりのステップ)の中で、ステップS8271、S8272によって信号の符号化まで行なう(図2のステップS830、S840に相当)。したがって、差分符号化の場合には、2つの方法で符号化された結果を記録しておけば、再度ステップS830とS840とを行う必要はなく、この2つのステップを省くことができる。この方法の考え方を簡単に言えば、2つの方法で符号化を行い符号量の少ない方を選択する方法である。
特開2005−115267号公報 ISO/IEC14496-3:2005/AMD2
Although not a disclosed method, a method (S120 ′) shown in FIG. 15 is considered as a general method other than the related invention. Step S120 ′ is a step instead of step S820 in FIG. In this method, the independent / difference / master channel determination unit 821 determines whether to perform independent encoding or differential encoding for each channel signal, and in the case of differential encoding, which channel signal is to be a master channel ( S8210). The independent / difference / master channel determination unit 821 confirms whether the encoding of the channel signal is independent encoding (S1220). In the case of independent coding, the process of S120 ′ for the channel signal is terminated, and step S120 ′ for the next channel signal is performed. In the case of differential encoding, the process proceeds to step S1230 and step S8252. Step S1230 is the same processing as step S1230 shown in FIG. Step S8251 is a process of calculating the time position difference of the sample value sequence of the master channel used for weighted differential encoding using the optimum delay amount τ tmp obtained in step S1230. For example, it is a process for obtaining a difference in time positions for 6 taps according to the technical standard. On the other hand, step S8252 is a process of calculating the time position difference of the sample value sequence of the master channel used for weighted differential encoding without using the optimum delay amount τ tmp . For example, the above technical standard is a process for obtaining a time position difference for three taps at the same time, immediately before or immediately after the sample of the channel signal to be encoded. In step S8261, the weight for each time position difference obtained in step S8251 is obtained. In step S8262, the weight for each time position difference obtained in step S8252 is obtained. In step S 8271, an encoding target signal is generated from the frame signal of the encoding target channel, the master channel signal, the time position difference of the master channel obtained in step S 8251, and the weight obtained in step S 8261. The encoded target signal is encoded. In step S8272, an encoding target signal is generated from the frame signal of the encoding target channel, the signal of the master channel, the time position difference of the master channel calculated in step S8252, and the weight determined in step S8262. The generated encoding target signal is encoded. In step S8280, the code amounts encoded by the two methods (the method using the optimum delay amount τ tmp and the method not using it) are compared, and the one having the smaller code amount is selected. Here, the code amount of the code sequence that is a combination of the code sequence obtained by encoding the encoding target signal and the encoding information indicating the time position difference and the weight is used as the comparison target code amount. However, if a fixed number of bits is assigned to the encoding information indicating the time position difference and weight regardless of the time position difference, the code amount of the code string obtained by encoding the signal to be encoded May be the code amount to be compared. In steps S 8291 and S 8292, the encoding method selected in step S 8280 is set as encoding information. In the case of differential encoding, signal encoding is performed by steps S8271 and S8272 in step S120 (steps instead of S820) for determining encoding information (corresponding to steps S830 and S840 in FIG. 2). ). Therefore, in the case of differential encoding, if the results encoded by the two methods are recorded, it is not necessary to perform steps S830 and S840 again, and these two steps can be omitted. In short, the idea of this method is a method in which encoding is performed by two methods and the one having the smaller code amount is selected.
JP 2005-115267 A ISO / IEC14496-3: 2005 / AMD2

上述の関連発明以外の一般的な方法は、確実に符号量の少ない方法を選択できる。しかし、差分符号化を行なう際には、符号化対象信号を符号化して符号を得るまでの処理を、2つの方法で行うので、符号化装置の処理量が約2倍になってしまう。関連発明の場合、処理量は多くならないが、最適遅延量の値だけで符号化の方法を決めているので、必ず符号量が少ない方を選んでいるとは限らない。
本発明の目的は、符号化の処理量の増加を抑えながら、符号量の少ない符号化方法を確実に選択することである。
As a general method other than the related invention described above, a method with a small code amount can be selected with certainty. However, when differential encoding is performed, the processing until the encoding target signal is encoded and the code is obtained is performed by two methods, so that the processing amount of the encoding device is approximately doubled. In the case of the related invention, the processing amount does not increase, but since the encoding method is determined only by the value of the optimum delay amount, the one having the smaller code amount is not necessarily selected.
An object of the present invention is to reliably select an encoding method with a small code amount while suppressing an increase in the encoding processing amount.

本発明の多チャネル信号符号化方法は、複数チャネルの入力信号を、チャネルごとの複数のデジタルサンプル値の列(以下、「フレーム」という。)ごとに符号化する。そして、あるチャネル(以下、「符号化対象チャネル」という。)のフレーム信号を、他のチャネル(以下、「マスターチャネル」という。)の時間位置が異なる複数のサンプル値列との重み付け差分を符号化する場合(差分符号化を行う場合)に、以下の手順でマスターチャネルの複数の時間位置を決め、符号列を生成する。まず、最適遅延量計算ステップとして、あらかじめ定めた時間位置の差の範囲内で、時間位置の差を与えたマスターチャネルのサンプル値列と符号化対象チャネルのフレーム信号との相関が最も大きい時間位置の差を最適遅延量として求める。次に、符号化情報決定ステップとして、前記最適遅延量とそのときの相関値(以下、「最適遅延量相関値」という。)から、マスターチャネルの番号と、前記マスターチャネルの各サンプル値列と符号化対象チャネルのフレーム信号との時間位置の差と、前記マスターチャネルの各サンプル値列に乗算する重みを決定する。符号化対象信号生成ステップでは、前記符号化情報決定ステップの結果にしたがって、符号化対象チャネルのフレーム信号と、前記重みを乗算した前記マスターチャネルの複数のサンプル値列との差分を、符号化対象信号として生成する。符号化ステップでは、前記符号化対象信号を符号化して符号化対象信号に基づく符号列を得る。最後に、符号列生成ステップで、前記符号化情報決定ステップで決定したマスターチャネルの番号と時間位置の差と重みが判別できる符号化情報、および前記符号化ステップで得た符号化対象信号に基づく符号列を含む符号列を生成する。   The multi-channel signal encoding method of the present invention encodes an input signal of a plurality of channels for each sequence of a plurality of digital sample values (hereinafter referred to as “frame”) for each channel. A frame signal of a certain channel (hereinafter referred to as “encoding target channel”) is encoded with a weighting difference between a plurality of sample value sequences having different time positions of other channels (hereinafter referred to as “master channels”). In the case of conversion (when differential encoding is performed), a plurality of time positions of the master channel are determined by the following procedure, and a code string is generated. First, as the optimal delay calculation step, the time position where the correlation between the sample value sequence of the master channel giving the time position difference and the frame signal of the channel to be encoded is the largest within the predetermined time position difference range. Is determined as the optimum delay amount. Next, as the encoding information determination step, from the optimum delay amount and the correlation value at that time (hereinafter referred to as “optimum delay amount correlation value”), a master channel number, each sample value sequence of the master channel, and A time position difference from the frame signal of the encoding target channel and a weight to be multiplied to each sample value sequence of the master channel are determined. In the encoding target signal generation step, the difference between the frame signal of the encoding target channel and the plurality of sample value sequences of the master channel multiplied by the weight is calculated according to the result of the encoding information determination step. Generate as a signal. In the encoding step, the encoding target signal is encoded to obtain a code string based on the encoding target signal. Finally, in the code string generation step, based on the coding information that can discriminate the weight and the difference between the master channel number and the time position determined in the coding information determination step, and the coding target signal obtained in the coding step A code string including the code string is generated.

本発明によれば、最適遅延量でのマスターチャネルのサンプル値列と符号化対象チャネルのサンプル値列との相関も考慮して符号化方法を決める。したがって、処理量を大幅に増やすことなく、生成される符号量が少ない方法を選択する可能性を高くできる。   According to the present invention, the encoding method is determined in consideration of the correlation between the sample value sequence of the master channel and the sample value sequence of the channel to be encoded with the optimum delay amount. Therefore, it is possible to increase the possibility of selecting a method that generates a small amount of code without significantly increasing the amount of processing.

以下では、説明の重複を避けるため同じ機能を有する構成部や同じ処理を行う処理ステップには同一の番号を付与し、説明を省略する。
[第1実施形態]
図16に、本発明の多チャネル信号符号化装置の機能構成を示す。多チャネル信号符号化装置800は、フレームバッファ810(i=1〜M)、符号化情報決定部820、符号化対象信号生成部830、信号符号化部840(i=1〜M)、合成部850から構成される。ここで、Mは2以上の整数である。図1および図9との違いは、符号化情報決定部220のみである。また、図17に、多チャネル信号符号化装置200の処理フローを示す。図2との違いは、符号化情報決定のステップ(S220)のみである。
Below, in order to avoid duplication of description, the same number is given to the structural part which has the same function, and the process step which performs the same process, and abbreviate | omits description.
[First Embodiment]
FIG. 16 shows a functional configuration of the multi-channel signal encoding apparatus of the present invention. The multi-channel signal encoding apparatus 800 includes a frame buffer 810 i (i = 1 to M), an encoding information determination unit 820, an encoding target signal generation unit 830, a signal encoding unit 840 i (i = 1 to M), It is comprised from the synthetic | combination part 850. Here, M is an integer of 2 or more. The only difference from FIG. 1 and FIG. 9 is the encoded information determination unit 220. FIG. 17 shows a processing flow of the multi-channel signal encoding apparatus 200. The only difference from FIG. 2 is the encoding information determination step (S220).

図18に、符号化情報決定部220−1の機能構成例を示す。なお、図中の「−1」とあるのは第1実施形態で説明する構成部を示しており、「−1’」とあるのは第1実施形態の変形例で説明する構成部を示している。符号化情報決定部220−1は、独立/差分・マスターチャネル決定部821、マスターチャネルのサンプル値列から相関の大きいサンプル値列を検索する最適遅延量算出部123、最適遅延量と最適遅延量相関値から時間位置の差τを決める方法を判定する判定部224−1、参照するサンプル値列の符号化対象信号のフレーム信号(フレームと一致するサンプル値列)との時間差(時間位置の差)τを決定するτ決定部225、重み決定部126とを備えている。図9の符号化情報決定部120との違いは、判定部224−1とτ決定部225である。   FIG. 18 shows a functional configuration example of the encoded information determination unit 220-1. In the figure, “−1” indicates a component described in the first embodiment, and “−1 ′” indicates a component described in a modification of the first embodiment. ing. The encoding information determination unit 220-1 includes an independent / difference / master channel determination unit 821, an optimal delay amount calculation unit 123 that searches for a sample value sequence having a large correlation from the sample value sequence of the master channel, an optimal delay amount and an optimal delay amount. The determination unit 224-1 for determining a method for determining the time position difference τ from the correlation value, the time difference (time position difference) from the frame signal (sample value sequence matching the frame) of the encoding target signal of the sample value sequence to be referred to ) Τ determining unit 225 for determining τ, and weight determining unit 126. The difference from the encoded information determination unit 120 in FIG. 9 is a determination unit 224-1 and a τ determination unit 225.

図19に、符号化情報決定部220−1の処理フロー(S220−1)を示す。独立/差分・マスターチャネル決定部821は、符号化対象チャネルのサンプル値列を独立符号化するのか、差分符号化するのか、差分符号化する場合はどのチャネルをマスターチャネルとするのかを決定する(S8210)。また、独立/差分・マスターチャネル決定部821は、独立符号化を選択した場合には、独立符号化であることを符号化情報として出力し、処理を終了する(S1220)。差分符号化の場合、最適遅延量算出部123は、例えば図10に示したステップS1230の処理で、最適遅延量と最適遅延量相関値を算出する(S1230)。ここで、図10のステップS1230では、符号化対象チャネルのサンプル値列と、マスターチャネルのiサンプルずれたサンプル値列との差ベクトルのエネルギーが最小となるiを最適遅延量として求めた。この他にも、差ベクトルの絶対値の和が最小になるiを最適遅延量とする方法や、符号化対象チャネルのサンプル値列とマスターチャネルのiサンプルずれたサンプル値列との相互相関が最大となるiを最適遅延量とする方法が考えられる。なお、符号化対象信号のサンプル値列X(x(0),x(1),…,x(N−1))とマスターチャネルのiサンプルずれたサンプル値列Y(y(i),y(i+1),…,y(i+N−1))の相互相関rは、 FIG. 19 shows a processing flow (S220-1) of the encoded information determination unit 220-1. The independent / difference / master channel determination unit 821 determines whether the sample value sequence of the encoding target channel is independently encoded, differentially encoded, or which channel is the master channel in the case of differential encoding ( S8210). If independent coding is selected, the independent / difference / master channel determining unit 821 outputs that the coding is independent coding, and ends the processing (S1220). In the case of differential encoding, the optimum delay amount calculation unit 123 calculates the optimum delay amount and the optimum delay amount correlation value, for example, in the process of step S1230 illustrated in FIG. 10 (S1230). Here, in step S1230 of FIG. 10, i that minimizes the energy of the difference vector between the sample value sequence of the encoding target channel and the sample value sequence shifted by i samples of the master channel is obtained as the optimum delay amount. Other than this, there is a method in which i that minimizes the sum of the absolute values of the difference vectors is set as the optimum delay amount, and there is a cross-correlation between the sample value sequence of the encoding target channel and the sample value sequence shifted by i samples of the master channel. A method can be considered in which the maximum i is the optimum delay amount. Note that the sample value sequence X i (y (i), x (0), x (1),..., X (N−1)) of the encoding target signal is shifted from the sample value i samples of the master channel. y (i + 1),..., y (i + N−1))

Figure 0004714075
Figure 0004714075

によって求めることができる。上述のように、最適遅延量を求める具体的な方法には、いろいろな方法がある。共通する点は、どの方法も2つのサンプル値列がどの程度似ているかを数値化し、最も似ているiを求めていることである。また、どの方法で最も似ているサンプル値列を探すのかは、本発明のポイントではない。したがって、本明細書中での「相関値」とは、式(5)の相互相関関数によって求められる値に限らず、差ベクトルを用いる方法やその他の似ている程度を数値化する方法によって求められる値を示すものとする。 Can be obtained. As described above, there are various specific methods for obtaining the optimum delay amount. The common point is that each method quantifies how similar two sample value sequences are, and obtains the most similar i. Further, it is not the point of the present invention which method is used to find the most similar sample value sequence. Therefore, the “correlation value” in the present specification is not limited to the value obtained by the cross-correlation function of Equation (5), but is obtained by a method using a difference vector or another method of quantifying the degree of similarity. Value to be displayed.

判定部224−1では、あらかじめ相関が小さいことを示す範囲として第1の範囲を定めておく。ステップS1230で差ベクトルを用いる場合には、大きい値が、相関が小さい範囲である。一方、ステップS1230で式(5)を用いる場合には、小さい値が、相関が小さい範囲である。式(5)を用いる場合であれば、例えば0.1以下を第1の範囲とすることが考えられる。第1の範囲は、符号化の対象となる信号の性質などによっても変化するので、信号の性質や環境によって適宜変更すればよい。判定部224−1では、最適遅延量相関値が、第1の範囲かを確認する(S224−1)。ステップS224−1がNoの場合には、τ決定部225は最適遅延量τtmpを含む1つまたは複数のτを算出する(S2251)。この場合のτの求め方は、図11や図13の方法を用いればよい。重み決定部126は、τごとの重みを計算し、符号化情報を出力する(S1261)。この場合の重みの求め方は、図12や図14の方法を用いればよい。ステップS224−1がYesの場合には、τ決定部225は、最適遅延量τtmpを使わないで1つまたは複数のτ(時間位置の差0を含む1つまたは複数のτ)を算出する(S2252)。この場合のτの求め方は、τtmpを0として、図11や図13の方法を用いればよい。なぜならば、最適遅延量相関値が第1の範囲にあると言うことは、最適遅延量τtmpだけサンプル値列をずらしても、相関関係は得られないことを意味している。しがたって、サンプル値列の時間位置をずらしても、符号化対象信号(符号化対象チャネルのフレーム信号と、重みを乗算したマスターチャネルの複数のサンプル値列との差分)が小さくならないため、符号量が少なくなることを期待できないからである。重み決定部126は、τごとの重みを計算し、符号化情報を出力する(S1262)。この場合の重みの求め方は、図12や図14の方法を用いればよい。 In the determination unit 224-1, a first range is determined in advance as a range indicating that the correlation is small. When a difference vector is used in step S1230, a large value is a range where the correlation is small. On the other hand, when Expression (5) is used in step S1230, a small value is a range where the correlation is small. In the case of using the formula (5), for example, it is conceivable that the first range is 0.1 or less. Since the first range also changes depending on the nature of the signal to be encoded, it may be appropriately changed depending on the nature and environment of the signal. The determination unit 224-1 checks whether the optimum delay amount correlation value is in the first range (S224-1). If step S224-1 is No, the τ determination unit 225 calculates one or a plurality of τ including the optimum delay amount τ tmp (S2251). In this case, the method shown in FIGS. 11 and 13 may be used to obtain τ. The weight determination unit 126 calculates a weight for each τ and outputs encoding information (S1261). In this case, the weights can be obtained by using the methods shown in FIGS. If step S224-1 is Yes, the τ determination unit 225 calculates one or a plurality of τ (one or a plurality of τ including a time position difference 0) without using the optimum delay amount τ tmp. (S2252). In this case, τ can be obtained by setting τ tmp to 0 and using the method shown in FIGS. This is because the fact that the optimum delay amount correlation value is in the first range means that no correlation can be obtained even if the sample value sequence is shifted by the optimum delay amount τ tmp . Therefore, even if the time position of the sample value sequence is shifted, the encoding target signal (difference between the frame signal of the encoding target channel and the plurality of sample value sequences of the master channel multiplied by the weight) does not become small. This is because the code amount cannot be expected to decrease. The weight determination unit 126 calculates a weight for each τ and outputs encoding information (S1262). In this case, the weights can be obtained by using the methods shown in FIGS.

本発明によれば、最適遅延量だけマスターチャネルのサンプル値列をずらしたとしても符号量を少なくできない場合には、時間位置の差(τ)を求める時に最適遅延量を用いない。一方、最適遅延量だけマスターチャネルのサンプル値列をずらせば符号量を少なくできる可能性がある場合には、時間位置の差(τ)を求める時に最適遅延量を用いる。したがって、処理量を大幅に増やすことなく、生成される符号量が少ない方法を選択する可能性を高くできる。
[変形例]
第1実施形態では、時間位置の数(タップ数)については特定せず、一般的に説明した。本変形例では、タップ数に3と6の2種類がある場合を説明する。なお、図18の「−1’」が本変形例用の構成部を示している。図20に、符号化情報決定部220−1’の処理フロー(S220−1’)を示す。処理フロー(S220−1’)は、図19の処理フロー(S220−1)と、ステップS224−1’、S2251’、S2252’だけが異なる。ステップS224−1’では、判定部224−1’が、最適遅延量τtmpが0または最適遅延量相関値が第1の範囲かを確認する。ステップS224−1’がNoの場合には、τ決定部225’が、6つの時間位置の差(τ)を求める(S2251’)。この場合のτの求め方は、図13の方法を用いればよい。ステップS224−1’がYesの場合には、τ決定部225’が、3つの時間位置の差(τ)を求める(S2252’)。この場合のτの求め方は、τtmpを0として、図13の方法を用いればよい。
According to the present invention, when the code amount cannot be reduced even if the sample value sequence of the master channel is shifted by the optimum delay amount, the optimum delay amount is not used when obtaining the time position difference (τ). On the other hand, if there is a possibility that the code amount can be reduced by shifting the sample value sequence of the master channel by the optimum delay amount, the optimum delay amount is used when obtaining the time position difference (τ). Therefore, it is possible to increase the possibility of selecting a method that generates a small amount of code without significantly increasing the amount of processing.
[Modification]
In the first embodiment, the number of time positions (the number of taps) is not specified and is generally described. In this modification, a case where there are two types of taps, 3 and 6, will be described. Note that “−1 ′” in FIG. 18 indicates a component for this modification. FIG. 20 shows a processing flow (S220-1 ′) of the encoded information determination unit 220-1 ′. The processing flow (S220-1 ′) differs from the processing flow (S220-1) of FIG. 19 only in steps S224-1 ′, S2251 ′, and S2252 ′. In step S224-1 ′, the determination unit 224-1 ′ checks whether the optimal delay amount τ tmp is 0 or the optimal delay amount correlation value is in the first range. When step S224-1 'is No, (tau) determination part 225' calculates | requires the difference ((tau)) of six time positions (S2251 '). In this case, the method shown in FIG. 13 may be used to obtain τ. When step S224-1 'is Yes, (tau) determination part 225' calculates | requires the difference ((tau)) of three time positions (S2252 '). In this case, τ can be obtained by setting τ tmp to 0 and using the method of FIG.

このように処理することで、タップ数に3と6の2種類がある場合にも、本発明を適用できる。この変形例によれば、処理量を大幅に増やすことなく、生成される符号量が少ない方法を選択する可能性を高くできる。
[第2実施形態]
本実施形態の多チャネル信号符号化装置も、図16の構成である。符号化情報決定部の機能構成を図21に示す。符号化情報決定部220−2と図18の符号化情報決定部との違いは、選択部227が付加された点である。また、本実施形態固有の構成部には、「−2」を付してある。図22に、符号化情報決定部220−2の処理フロー(S220−2)を示す。ステップS8210からS1230までは、図19と同じである。
By processing in this way, the present invention can be applied even when there are two types of taps, 3 and 6. According to this modification, it is possible to increase the possibility of selecting a method that generates a small amount of code without significantly increasing the amount of processing.
[Second Embodiment]
The multi-channel signal encoding apparatus of this embodiment also has the configuration of FIG. FIG. 21 shows a functional configuration of the encoding information determination unit. The difference between the encoded information determination unit 220-2 and the encoded information determination unit in FIG. 18 is that a selection unit 227 is added. In addition, “−2” is given to the components unique to the present embodiment. FIG. 22 shows a processing flow (S220-2) of the encoded information determination unit 220-2. Steps S8210 to S1230 are the same as those in FIG.

判定部224−2では、あらかじめ、相関が小さいことを示す範囲として第1の範囲、相関が中程度であることを示す範囲として第2の範囲、相関が大きいことを示す範囲として第3の範囲を定めておく。ただし、これらの範囲は、互いに重複しない。また3つの範囲を合わせると、すべての範囲となる。言い換えると、第2の範囲は、第1の範囲でも第3の範囲でもない範囲に相当する。各範囲は以下の考え方で、適宜決めればよい。第1の範囲は、最適遅延量を用いても符号量を少なくすることが期待できないほど相関が少ない範囲である。第2の範囲は、最適遅延量を用いた方が、符号量が少ないかどうか分からない範囲である。第3の範囲は、最適遅延量を用いた方が、符号量が少なくなると期待できる範囲である。式(5)で相関値を求める場合は、例えば、第1の範囲を0.1未満、第2の範囲を0.1以上0.5未満、第3の範囲を0.5以上とする方法が考えられる。また、相関値として差ベクトルを用いる場合には、第1の範囲の方が、第3の範囲よりも値が大きくなる。   In the determination unit 224-2, a first range as a range indicating that the correlation is low, a second range as a range indicating that the correlation is medium, and a third range as a range indicating that the correlation is high in advance. Is established. However, these ranges do not overlap each other. When the three ranges are combined, all ranges are obtained. In other words, the second range corresponds to a range that is neither the first range nor the third range. Each range may be appropriately determined based on the following concept. The first range is a range in which the correlation is so small that it is not expected to reduce the code amount even if the optimum delay amount is used. The second range is a range in which it is not known whether the code amount is small when the optimum delay amount is used. The third range is a range in which the code amount can be expected to decrease when the optimum delay amount is used. When calculating the correlation value using Equation (5), for example, the first range is less than 0.1, the second range is 0.1 or more and less than 0.5, and the third range is 0.5 or more. Can be considered. Further, when a difference vector is used as the correlation value, the value in the first range is larger than that in the third range.

ステップS224−2では、判定部224−2は、最適遅延量相関値が、どの範囲かを確認する。ステップS224−2が第3の範囲の場合、τ決定部225は最適遅延量τtmpを含む1つまたは複数のτを算出する(S2251)。重み決定部126は、τごとの重みを計算し、符号化情報を出力する(S1261)。この場合は、選択部227は動作しない。ステップS224−2が第1の範囲の場合には、τ決定部225は、最適遅延量τtmpを使わないで1つまたは複数のτ(時間位置の差0を含む1つまたは複数のτ)を算出する(S2252)。重み決定部126は、τごとの重みを計算し、符号化情報を出力する(S1262)。この場合も、選択部227は動作しない。ステップS224−2が第2の範囲の場合には、τ決定部225は、最適遅延量τtmpを含む1つまたは複数のτからなる組と、最適遅延量τtmpを使わないで1つまたは複数のτからなる組(時間位置の差0を含む1つまたは複数のτからなる組)の両方を求める(S2253)。重み決定部126は、両方のτの組に対して、τごとの重みを計算する(S1263)。選択部227は、両方のτの組を用いて実際に符号化対象信号のサンプル値列を生成して符号化する(S8273)。選択部227は、どちらの符号量が少ないかを確認し(S2271)、符号量の少ない方を選択して、符号化情報を出力する(S2272、S2273)。
このように処理することで、最適遅延量を用いても符号量を少なくできない時には最適遅延量を用いず、最適遅延量を用いれば符号量を少なくできる時には最適遅延量を用い、分からない時には両方の方法で符号化して比較することができる。したがって、本実施形態によれば、必要以上に処理量を大幅に増やすことなく、生成される符号量が少ない方法を確実に選択できる。
In step S224-2, the determination unit 224-2 confirms the range of the optimum delay amount correlation value. When step S224-2 is in the third range, the τ determination unit 225 calculates one or a plurality of τ including the optimum delay amount τ tmp (S2251). The weight determination unit 126 calculates a weight for each τ and outputs encoding information (S1261). In this case, the selection unit 227 does not operate. When step S224-2 is in the first range, the τ determination unit 225 uses one or more τ (one or more τ including a time position difference of 0) without using the optimum delay amount τ tmp. Is calculated (S2252). The weight determination unit 126 calculates a weight for each τ and outputs encoding information (S1262). Also in this case, the selection unit 227 does not operate. When step S224-2 is in the second range, the τ determination unit 225 includes one or a plurality of τ including the optimal delay amount τ tmp and one or more without using the optimal delay amount τ tmp. Both sets composed of a plurality of τ (a group composed of one or a plurality of τ including a time position difference of 0) are obtained (S2253). The weight determination unit 126 calculates a weight for each τ for both sets of τ (S 1263). The selection unit 227 actually generates and encodes the sample value sequence of the encoding target signal using both sets of τ (S8273). The selection unit 227 confirms which code amount is smaller (S2271), selects the one with the smaller code amount, and outputs encoded information (S2272 and S2273).
By processing in this way, the optimum delay amount is not used when the code amount cannot be reduced even if the optimum delay amount is used, but the optimum delay amount is used when the code amount can be reduced if the optimum delay amount is used, and both are used when it is not known. It can be encoded and compared by the method. Therefore, according to this embodiment, it is possible to reliably select a method that generates a small amount of code without significantly increasing the amount of processing more than necessary.

[変形例1]
第2実施形態では、時間位置の数(タップ数)については特定せず、一般的に説明した。本変形例では、タップ数に3と6の2種類がある場合を説明する。なお、図21の「−2’」が本変形例用の構成部を示している。図23に、符号化情報決定部220−2’の処理フロー(S220−2’)を示す。処理フロー(S220−2’)は、図22の処理フロー(S220−2)と、ステップS224−2’、S2251’、S2252’、S2253’が異なる。ステップS224−2’では、判定部224−2’が、最適遅延量τtmpと最適遅延量相関値がどの範囲かを確認する。ステップS224−2’がτtmp≠0かつ第3の範囲の場合には、τ決定部225’が、6つの時間位置の差(τ)を求める(S2251’)。この場合のτの求め方は、図13の方法を用いればよい。ステップS224−2’がτtmp=0または第1の範囲の場合には、τ決定部225’が、3つの時間位置の差(τ)を求める(S2252’)。この場合のτの求め方は、τtmpを0として、図13の方法を用いればよい。ステップS224−2’がτtmp≠0かつ第2の範囲の場合には、τ決定部225’が、6つの時間位置の差(τ)と3つの時間位置の差(τ)の両方の組を求める(S2253’)。その他の処理は、第2実施形態(図22)と同じである。
このように処理することで、タップ数に3と6の2種類がある場合にも、本発明を適用できる。この変形例によれば、必要以上に処理量を大幅に増やすことなく、生成される符号量が少ない方法を確実に選択できる。
[Modification 1]
In the second embodiment, the number of time positions (the number of taps) is not specified and is generally described. In this modification, a case where there are two types of taps, 3 and 6, will be described. Note that “−2 ′” in FIG. 21 indicates a component for this modification. FIG. 23 shows a processing flow (S220-2 ′) of the encoded information determination unit 220-2 ′. The processing flow (S220-2 ′) is different from the processing flow (S220-2) of FIG. 22 in steps S224-2 ′, S2251 ′, S2252 ′, and S2253 ′. In step S224-2 ′, the determination unit 224-2 ′ checks which range is the optimum delay amount τ tmp and the optimum delay amount correlation value. When step S224-2 ′ is τ tmp ≠ 0 and the third range, the τ determination unit 225 ′ obtains the difference (τ) of the six time positions (S2251 ′). In this case, the method shown in FIG. 13 may be used to obtain τ. When step S224-2 ′ is τ tmp = 0 or the first range, the τ determination unit 225 ′ obtains a difference (τ) between the three time positions (S2252 ′). In this case, τ can be obtained by setting τ tmp to 0 and using the method of FIG. When step S224-2 ′ is τ tmp ≠ 0 and the second range, the τ determination unit 225 ′ sets both the difference between the six time positions (τ) and the difference between the three time positions (τ). Is obtained (S2253 '). Other processes are the same as those in the second embodiment (FIG. 22).
By processing in this way, the present invention can be applied even when there are two types of taps, 3 and 6. According to this modification, it is possible to reliably select a method that generates a small amount of code without significantly increasing the amount of processing more than necessary.

[変形例2]
第2実施形態では、2つの符号化対象信号のサンプル値列を生成して符号化し、実際の符号量の比較を行っているが、サンプル値列からその符号量が推定できる場合は、実際に符号化を行わず、符号量を推定した値である推定符号量による比較・選択を行ってもよい。この場合は、下記の処理構成となる。
[Modification 2]
In the second embodiment, a sample value sequence of two encoding target signals is generated and encoded, and an actual code amount is compared. If the code amount can be estimated from the sample value sequence, The comparison / selection based on the estimated code amount, which is a value obtained by estimating the code amount, may be performed without encoding. In this case, the processing configuration is as follows.

選択部227は、図22のS8273の代わりに、両方のτの組を用いて実際に符号化対象信号のサンプル値列を生成し、選択部277内の推定符号量算出手段(図示せず)で、その推定符号量を、例えば下記の方法により算出する(S8273’)。選択部227内の確定遅延量選択手段(図示せず)は、さらに、どちらの推定符号量が小さいかを確認し(S2271’)、推定符号量が少ない方を選択して、符号化情報を出力する(S2272、S2273)。
選択部277内の推定符号量算出手段(図示せず)では、例えば、符号化対象信号の振幅の絶対値をフレーム内で総計した値、または、符号化対象信号のエネルギーを、フレーム内で総計した値を推定符号量としてもよい。また、推定符号量は、ステップS2271’で符号化対象信号の符号量の多少の比較を行うことのみに用いられる。したがって、実際の符号化対象信号の符号量を推定するものでなくても、符号化対象信号の符号量の多少と関連する値を推定してもよい。
なお、実際の符号量の代わりに推定符号量を用いる本変形例は、第2実施形態のほか、第2実施形態の変形例1や、後述する第4実施形態、および第4実施形態の変形例にも適用することができる。
The selection unit 227 actually generates a sample value sequence of the encoding target signal using both sets of τ instead of S8273 in FIG. 22, and estimates code amount calculation means (not shown) in the selection unit 277 Then, the estimated code amount is calculated by, for example, the following method (S8273 ′). The deterministic delay amount selection means (not shown) in the selection unit 227 further confirms which estimated code amount is smaller (S2271 ′), selects the one with the smaller estimated code amount, and selects the encoded information. It outputs (S2272, S2273).
In the estimated code amount calculation means (not shown) in the selection unit 277, for example, the absolute value of the amplitude of the encoding target signal is totaled in the frame, or the energy of the encoding target signal is totaled in the frame. The obtained value may be used as the estimated code amount. In addition, the estimated code amount is used only for performing some comparison of the code amount of the encoding target signal in step S2271 ′. Therefore, even if the code amount of the actual encoding target signal is not estimated, a value related to the code amount of the encoding target signal may be estimated.
In addition to the second embodiment, this modified example using the estimated code amount instead of the actual code amount is the first modified example of the second embodiment, the fourth embodiment described later, and the modified fourth embodiment. It can also be applied to examples.

[第3実施形態]
本実施形態の多チャネル信号符号化装置も、図16の構成である。符号化情報決定部の機能構成を図18に示す。なお、本実施形態固有の構成部には、「−3」を付してある。図24に、符号化情報決定部220−3の処理フロー(S220−3)を実線で示す。ステップS2241−3、S2242−3以外は、図19と同じである。
[Third Embodiment]
The multi-channel signal encoding apparatus of this embodiment also has the configuration of FIG. FIG. 18 shows a functional configuration of the encoded information determination unit. In addition, "-3" is attached | subjected to the structure part specific to this embodiment. In FIG. 24, the processing flow (S220-3) of the encoding information determination unit 220-3 is indicated by a solid line. Steps other than steps S2241-3 and S2242-3 are the same as those in FIG.

判定部224−3は、あらかじめ基準の相関値よりも相関が小さいことを示す値を定め、その値よりも相関が大きいことを示す範囲として第4の範囲を定めておく。例えば、式(5)の相互相関関数で相関値を得る場合、基準となる相関値がS(Sは0から1の値)の場合に、Sよりも相関が小さいことを示す値として、S−0.1と定め、S−0.1よりも大きい相互相関値である場合を第4の範囲と定める。ステップS2241−3では、判定部224−3が、時間位置の差が0の場合の符号化対象信号チャネルのフレーム信号とマスターチャネルのサンプル値列との相関値(無遅延相関値)を算出する。判定部224−3は、最適遅延量相関値を基準の相関値として無遅延相関値が第4の範囲内か否かを確認する(S2242−3)。ステップS2242−3がNoの場合には、最適遅延量を用いた処理(τ=τtmpを含む1つまたは複数の時間位置の差τを用いた処理)(S2251、S1261)を行う。ステップS2242−3がYesの場合には、最適遅延量を用いない処理(τ=0を含む1つまたは複数の時間位置の差τを用いた処理)(S2252、S1262)を行う。
最適遅延量相関値を基準の相関値として無遅延相関値が第4の範囲内ということは、最適遅延量を用いた処理でも、最適遅延量を用いない処理でも、符号化対象信号を符号化したときの符号量は同等である。そして、最適遅延量を用いない場合は、最適遅延量を示す符号を付加する必要がない分だけ符号量が少なくなると期待できる。したがって、本実施形態によれば、生成される符号量が少ない方法を選択できる可能性が高くなる。
The determination unit 224-3 determines a value indicating that the correlation is smaller than the reference correlation value in advance, and determines a fourth range as a range indicating that the correlation is larger than the value. For example, when the correlation value is obtained by the cross-correlation function of Equation (5), when the reference correlation value is S (S is a value from 0 to 1), the value indicating that the correlation is smaller than S is S The case where the cross-correlation value is larger than S-0.1 is determined as the fourth range. In step S2241-3, the determination unit 224-3 calculates a correlation value (non-delayed correlation value) between the frame signal of the encoding target signal channel and the sample value sequence of the master channel when the time position difference is zero. . The determination unit 224-3 confirms whether the non-delay correlation value is within the fourth range using the optimum delay amount correlation value as a reference correlation value (S2242-3). When step S2242-3 is No, processing using the optimal delay amount (processing using one or a plurality of time position differences τ including τ τ tmp ) (S2251, S1261) is performed. If step S2242-3 is Yes, processing that does not use the optimum delay amount (processing using one or more time position differences τ including τ = 0) (S2252, S1262) is performed.
The non-delay correlation value is within the fourth range with the optimal delay amount correlation value as the reference correlation value. This means that the signal to be encoded is encoded in both the processing using the optimal delay amount and the processing not using the optimal delay amount. The amount of codes is the same. When the optimum delay amount is not used, it can be expected that the code amount is reduced by the amount that does not require the addition of the code indicating the optimum delay amount. Therefore, according to the present embodiment, there is a high possibility that a method that generates a small amount of code can be selected.

[変形例]
第3実施形態では、時間位置の数(タップ数)については特定せず、一般的に説明した。本変形例では、タップ数に3と6の2種類がある場合を説明する。なお、図18の「−3’」が本変形例用の構成部を示している。図25に、符号化情報決定部220−3’の処理フロー(S220−3’)を実線で示す。処理フロー(S220−3’)は、図24の処理フロー(S220−3)と、ステップS2242−3’、S2251’、S2252’が異なる。ステップS2242−3’では、判定部224−3’が、最適遅延量τtmpが0、または、最適遅延量相関値を基準の相関値として無遅延相関値が第4の範囲内かを確認する。ステップS2242−3’がNo場合には、τ決定部225’が、6つの時間位置の差(τ)を求める(S2251’)。この場合のτの求め方は、図13の方法を用いればよい。ステップS2242−3’がYesの場合には、τ決定部225’が、3つの時間位置の差(τ)を求める(S2252’)。この場合のτの求め方は、τtmpを0として、図13の方法を用いればよい。
[Modification]
In the third embodiment, the number of time positions (the number of taps) is not specified and is generally described. In this modification, a case where there are two types of taps, 3 and 6, will be described. Note that “−3 ′” in FIG. 18 indicates a component for this modification. In FIG. 25, the processing flow (S220-3 ′) of the encoded information determination unit 220-3 ′ is indicated by a solid line. The processing flow (S220-3 ′) is different from the processing flow (S220-3) of FIG. 24 in steps S2242-3 ′, S2251 ′, and S2252 ′. In step S2242-3 ′, the determination unit 224-3 ′ confirms whether the optimal delay amount τ tmp is 0 or whether the non-delay correlation value is within the fourth range with the optimal delay amount correlation value as a reference correlation value. . When step S2242-3 ′ is No, the τ determination unit 225 ′ obtains six time position differences (τ) (S2251 ′). In this case, the method shown in FIG. 13 may be used to obtain τ. When step S2242-3 ′ is Yes, the τ determination unit 225 ′ obtains a difference (τ) between the three time positions (S2252 ′). In this case, τ can be obtained by setting τ tmp to 0 and using the method of FIG.

このように処理することで、タップ数に3と6の2種類がある場合にも、本発明を適用できる。最適遅延量相関値を基準の相関値として無遅延相関値が第4の範囲ということは、3タップの場合と6タップの場合とで、符号化対象信号を符号化したときの符号量は同等である。また、3タップの場合は、最適遅延量を示す符号を含まず、重みを示す符号の数も少なくなるので、全体の符号量が少なくなると期待できる。したがって、本実施形態の変形例によれば、生成される符号量が少ない方法を選択できる可能性が高くなる。   By processing in this way, the present invention can be applied even when there are two types of taps, 3 and 6. The non-delay correlation value is the fourth range with the optimum delay amount correlation value as the reference correlation value, and the code amount when the encoding target signal is encoded is the same in the case of 3 taps and 6 taps. It is. In the case of 3 taps, the code indicating the optimum delay amount is not included and the number of codes indicating the weight is reduced, so that it can be expected that the entire code amount is reduced. Therefore, according to the modification of the present embodiment, there is a high possibility that a method that generates a small amount of code can be selected.

[第4実施形態]
本実施形態の多チャネル信号符号化装置も、図16の構成である。符号化情報決定部の機能構成を図21に示す。なお、本実施形態固有の構成部には、「−4」を付してある。図26に、符号化情報決定部220−4の処理フロー(S220−4)を実線で示す。ステップS2241−4、S2242−4以外は、図22と同じである。
[Fourth Embodiment]
The multi-channel signal encoding apparatus of this embodiment also has the configuration of FIG. FIG. 21 shows a functional configuration of the encoding information determination unit. In addition, "-4" is attached | subjected to the structure part specific to this embodiment. In FIG. 26, the processing flow (S220-4) of the encoding information determination unit 220-4 is indicated by a solid line. Steps other than steps S2241-4 and S2242-4 are the same as those in FIG.

判定部224−4は、あらかじめ、基準の相関値よりも相関が小さいことを示す値を定め、その値よりも相関が大きいことを示す範囲として第4の範囲、その値よりも十分に相関が小さいことを示す範囲として第6の範囲、第4の範囲でも第6の範囲でもない範囲として第5の範囲を定めておく。ただし、これらの範囲は、互いに重複しない。また3つの範囲を合わせると、すべての範囲となる。例えば、式(5)の相互相関関数で相関値を得る場合、基準となる相関値がS(Sは0から1の値)の場合に、Sよりも相関が小さいことを示す値として、S−0.1と定め、S−0.1よりも大きい相互相関値である場合を第4の範囲と定める。また、S−0.1よりも十分に相関が小さいことを示す範囲として、S−0.4未満を第6の範囲と定める。そして、第4の範囲でも第6の範囲でもない範囲としてS−0.4以上S−0.1以下を第5の範囲と定める。ステップS2241−4では、判定部224−4が、時間位置の差が0の場合の相関値(無遅延相関値)を算出する。判定部224−4は、最適遅延量相関値を基準の相関値として無遅延相関値がどの範囲かを確認する(S2242−4)。ステップS2242−4の確認の結果が第6の範囲の場合には、最適遅延量を用いた処理(S2251、S1261)を行う。ステップS2242−4の確認の結果が第4の範囲の場合には、最適遅延量を用いない処理(S2252、S1262)を行う。ステップS2242−4の確認の結果が第5の範囲の場合には、最適遅延量を用いた処理と最適遅延量を用いない処理の両方を行い、符号量の少ない方を選択する(S2253〜S2272、S2273)。   The determination unit 224-4 determines in advance a value indicating that the correlation is smaller than the reference correlation value, a fourth range as a range indicating that the correlation is larger than the value, and the correlation is sufficiently higher than the value. A sixth range is defined as a range indicating smallness, and a fifth range is defined as a range that is neither the fourth range nor the sixth range. However, these ranges do not overlap each other. When the three ranges are combined, all ranges are obtained. For example, when the correlation value is obtained by the cross-correlation function of Equation (5), when the reference correlation value is S (S is a value from 0 to 1), the value indicating that the correlation is smaller than S is S The case where the cross-correlation value is larger than S-0.1 is determined as the fourth range. In addition, as a range indicating that the correlation is sufficiently smaller than S-0.1, less than S-0.4 is defined as a sixth range. And S-0.4 or more and S-0.1 or less are defined as a 5th range as a range which is neither the 4th range nor the 6th range. In step S2241-4, the determination unit 224-4 calculates a correlation value (non-delayed correlation value) when the time position difference is zero. The determination unit 224-4 checks the range of the non-delay correlation value using the optimum delay amount correlation value as a reference correlation value (S2242-4). If the result of the confirmation in step S2242-4 is the sixth range, processing using the optimum delay amount (S2251 and S1261) is performed. If the result of the confirmation in step S2242-4 is the fourth range, processing that does not use the optimum delay amount (S2252, S1262) is performed. If the result of the confirmation in step S2242-4 is the fifth range, both the process using the optimum delay amount and the process not using the optimum delay amount are performed, and the one with the smaller code amount is selected (S2253 to S2272). , S2273).

第5の範囲は、第4の範囲と第6の範囲の中間であり、最適遅延量を用いた処理の場合と最適遅延量を用いない処理の場合のどちらの方が、符号化対象信号を符号化した符号量と符号化情報との合計符号量が小さくなるかの推定が難しい範囲である。この範囲では、両方の方法で符号化してみて、符号量が少ない方を選択している。したがって、本実施形態によれば、生成される符号量が少ない方法を選択できる可能性が、第3実施形態よりも高くなる。   The fifth range is intermediate between the fourth range and the sixth range, and either the case of the process using the optimum delay amount or the case of the process not using the optimum delay amount determines the encoding target signal. This is a range in which it is difficult to estimate whether the total code amount of the encoded code amount and the encoded information is small. In this range, encoding with both methods is selected, and the one with the smaller code amount is selected. Therefore, according to this embodiment, the possibility that a method with a small amount of generated codes can be selected is higher than that in the third embodiment.

[変形例]
第4実施形態では、時間位置の数(タップ数)については特定せず、一般的に説明した。本変形例では、タップ数に3と6の2種類がある場合を説明する。なお、図21の「−4’」が本変形例用の構成部を示している。図27に、符号化情報決定部220−4’の処理フロー(S220−4’)を実線で示す。処理フロー(S220−4’)は、図26の処理フロー(S220−4)と、ステップS2242−4’、S2251’、S2252’ 、S2252’が異なる。ステップS2242−3’では、判定部224−3’が、最適遅延量τtmpの値が0か、および最適遅延量相関値を基準の相関値として無遅延相関値がどの範囲かを確認する。ステップS2242−4’がτtmp≠0かつ第6の範囲の場合には、τ決定部225’が、6つの時間位置の差(τ)を求める(S2251’)。この場合のτの求め方は、図13の方法を用いればよい。ステップS2242−3’がτtmp=0または第4の範囲の場合には、τ決定部225’が、3つの時間位置の差(τ)を求める(S2252’)。この場合のτの求め方は、τtmpを0として、図13の方法を用いればよい。τtmp≠0かつ第5の範囲の場合には、τ決定部225’が、6つの時間位置の差(τ)と3つの時間位置の差(τ)の両方の組を求める(S2253’)。その他の処理は、第4実施形態(図26)と同じである。
このように処理することで、タップ数に3と6の2種類がある場合にも、本発明を適用できる。本変形例によれば、生成される符号量が少ない方法を選択できる可能性が第3実施形態の変形例よりも高くなる。
[Modification]
In the fourth embodiment, the number of time positions (the number of taps) is not specified and is generally described. In this modification, a case where there are two types of taps, 3 and 6, will be described. Note that “−4 ′” in FIG. 21 indicates a component for this modification. In FIG. 27, the processing flow (S220-4 ′) of the encoded information determination unit 220-4 ′ is indicated by a solid line. The processing flow (S220-4 ′) is different from the processing flow (S220-4) of FIG. 26 in steps S2242-4 ′, S2251 ′, S2252 ′, and S2252 ′. In step S2242-3 ′, the determination unit 224-3 ′ checks whether the value of the optimum delay amount τ tmp is 0 and the range of the non-delay correlation value with the optimum delay amount correlation value as a reference correlation value. When step S2242-4 ′ is τ tmp ≠ 0 and the sixth range, τ determination unit 225 ′ obtains six time position differences (τ) (S2251 ′). In this case, the method shown in FIG. 13 may be used to obtain τ. When step S2242-3 ′ is τ tmp = 0 or the fourth range, τ determination unit 225 ′ obtains a difference (τ) between the three time positions (S2252 ′). In this case, τ can be obtained by setting τ tmp to 0 and using the method of FIG. In the case of τ tmp ≠ 0 and the fifth range, the τ determination unit 225 ′ obtains a set of both the six time position differences (τ) and the three time position differences (τ) (S2253 ′). . Other processes are the same as those in the fourth embodiment (FIG. 26).
By processing in this way, the present invention can be applied even when there are two types of taps, 3 and 6. According to this modification, the possibility that a method with a small amount of generated codes can be selected is higher than that of the modification of the third embodiment.

[第5実施形態]
本実施形態の多チャネル信号符号化装置も、図16の構成である。符号化情報決定部の機能構成を図18に示す。なお、本実施形態固有の構成部には、「−5」を付してある。図24に、符号化情報決定部220−5の処理フロー(S220−5)を実線と点線で示す。ステップS2243−5、S2244−5以外は、第3実施形態と同じである。
[Fifth Embodiment]
The multi-channel signal encoding apparatus of this embodiment also has the configuration of FIG. FIG. 18 shows a functional configuration of the encoded information determination unit. In addition, "-5" is attached | subjected to the structure part specific to this embodiment. In FIG. 24, the processing flow (S220-5) of the encoding information determination unit 220-5 is indicated by a solid line and a dotted line. Steps S2243-5 and S2244-5 are the same as in the third embodiment.

判定部224−5は、あらかじめ相関が小さいことを示す第7の範囲と第8の範囲を定めておく。ステップS2243−5では、判定部224−5が、無遅延相関値が第7の範囲かつ最適遅延量相関値が第8の範囲かを確認する。ステップS2243−5がNoの場合には、ステップS2242−3へ進む。ステップS2243−5がYesの場合には、独立/差分・マスターチャネル決定部821により一旦は差分符号化すると決定されたこのチャネルのサンプル値列の符号化方法を、独立符号化に変更する(S2244−5)。
第7の範囲と第8の範囲は、差分符号化での符号量が独立符号化での符号量と比較しても、少なくならない程度に相関が小さいことを示す範囲としなければならない。どちらの範囲も、適宜範囲を定めればよい。このように処理することで、差分符号化でも独立符号化でも符号量が同等と推測される場合には、差分符号化に要する重み計算等の演算を省略できる。したがって、第3実施形態と同等の符号量を得る符号化処理を、少ない演算処理で実現できる。
The determination unit 224-5 determines in advance a seventh range and an eighth range indicating that the correlation is small. In step S2243-5, the determination unit 224-5 confirms whether the non-delay correlation value is the seventh range and the optimum delay amount correlation value is the eighth range. When step S2243-5 is No, it progresses to step S2242-3. When step S2243-5 is Yes, the encoding method of the sample value sequence of this channel, which has been determined to be differentially encoded once by the independent / difference / master channel determining unit 821, is changed to independent encoding (S2244). -5).
The seventh range and the eighth range must be ranges indicating that the correlation is small enough not to decrease even if the code amount in the differential encoding is compared with the code amount in the independent encoding. Both ranges may be determined as appropriate. By processing in this way, when it is estimated that the amount of code is the same for both differential encoding and independent encoding, operations such as weight calculation required for differential encoding can be omitted. Therefore, an encoding process for obtaining a code amount equivalent to that of the third embodiment can be realized with a small number of arithmetic processes.

[変形例1]
第5実施形態では、時間位置の数(タップ数)については特定せず、一般的に説明した。本変形例では、タップ数に3と6の2種類がある場合を説明する。なお、図18の「−5’」が本変形例用の構成部を示している。図25に、符号化情報決定部220−5’の処理フロー(S220−5’)を実線と点線で示す。ステップS2243−5、S2244−5以外は、第3実施形態の変形例と同じである。
判定部224−5’の処理は、判定部224−5と同じである。
[Modification 1]
In the fifth embodiment, the number of time positions (the number of taps) is not specified and is generally described. In this modification, a case where there are two types of taps, 3 and 6, will be described. Note that “−5 ′” in FIG. 18 indicates a component for this modification. In FIG. 25, the processing flow (S220-5 ′) of the encoded information determination unit 220-5 ′ is indicated by a solid line and a dotted line. Except for steps S2243-5 and S2244-5, this is the same as the modification of the third embodiment.
The process of the determination unit 224-5 ′ is the same as that of the determination unit 224-5.

[変形例2]
符号化情報決定部の機能構成を図21に示す。なお、本実施形態固有の構成部には、「−5”」を付してある。図26に、符号化情報決定部220−5”の処理フロー(S220−5”)を実線と点線で示す。ステップS2243−5、S2244−5以外は、第4実施形態と同じである。
判定部224−5” の処理は、判定部224−5と同じである。
[Modification 2]
FIG. 21 shows a functional configuration of the encoding information determination unit. It should be noted that “−5 ″” is added to the components unique to this embodiment. FIG. 26 shows a processing flow (S220-5 ″) of the encoded information determination unit 220-5 ″ with a solid line and a dotted line. Steps S2243-5 and S2244-5 are the same as in the fourth embodiment.
The process of the determination unit 224-5 "is the same as that of the determination unit 224-5.

[変形例3]
第5実施形態の変形例2では、時間位置の数(タップ数)については特定せず、一般的に説明した。本変形例では、タップ数に3と6の2種類がある場合を説明する。なお、図21の「−5’’’」が本変形例用の構成部を示している。図27に、符号化情報決定部220−5’’’の処理フロー(S220−5’’’)を実線と点線で示す。ステップS2243−5、S2244−5以外は、第4実施形態の変形例と同じである。
判定部224−5’’’ の処理は、判定部224−5と同じである。
[Modification 3]
In the second modification of the fifth embodiment, the number of time positions (number of taps) is not specified and is generally described. In this modification, a case where there are two types of taps, 3 and 6, will be described. Note that “−5 ′ ″” in FIG. 21 indicates a component for this modification. In FIG. 27, the processing flow (S220-5 ′ ″) of the encoded information determination unit 220-5 ′ ″ is indicated by a solid line and a dotted line. Except for steps S2243-5 and S2244-5, this is the same as the modification of the fourth embodiment.
The process of the determination unit 224-5 ′ ″ is the same as that of the determination unit 224-5.

[第6実施形態]
本実施形態の多チャネル信号符号化装置も、図16の構成である。符号化情報決定部の機能構成を図28に示す。無遅延相関値算出部222が付加された点以外は、図18と同じである。図29に、符号化情報決定部220−6の処理フロー(S220−6)を示す。ステップS8210、S1220は、図19、図20、図24および図25と同じである。無遅延相関値算出部222は、あらかじめ相関が大きいことを示す第9の範囲を定めておく。ステップS1220がNoの場合、無遅延相関値算出部222は、無遅延相関値を算出する(S2221)。無遅延相関値算出部222は、無遅延相関値が第9の範囲かを確認する(S2222)。ステップS2222がNoの場合、図19、図20、図24および図25に示したステップS1230からS1261またはS1262までの処理を行う。ステップS2222がYesの場合、判定部224での処理を行わない。そして、τ決定部が、最適遅延量τtmpを使わないで、遅延量0を含む1つまたは複数のτを算出する(S2252)。また、タップ数が3または6の場合は、τを−1、0、1の3つとする。重み決定部126は、求めたτごとに、重みを計算し、符号化情報を出力する(S1260)。
第9の範囲は、マスターチャネルのτ=0でのサンプル値列と符号化対象チャネルのサンプル値列との相関が大きいことを示す範囲である。この範囲に相関値が入るのであれば、マスターチャネルのサンプル値列の時間位置を変更するまでもなく、十分に符号量を少なくできると考えられる。したがって、無遅延の場合の相関が大きい場合には、最適遅延量τtmpを求める処理を省略でき、効率的に符号化できる。
[Sixth Embodiment]
The multi-channel signal encoding apparatus of this embodiment also has the configuration of FIG. FIG. 28 shows a functional configuration of the encoding information determination unit. 18 is the same as FIG. 18 except that a non-delayed correlation value calculation unit 222 is added. FIG. 29 shows a processing flow (S220-6) of the encoded information determination unit 220-6. Steps S8210 and S1220 are the same as those in FIGS. 19, 20, 24, and 25. The non-delayed correlation value calculation unit 222 sets a ninth range indicating that the correlation is large in advance. When step S1220 is No, the non-delay correlation value calculation unit 222 calculates a non-delay correlation value (S2221). The non-delay correlation value calculation unit 222 confirms whether the non-delay correlation value is in the ninth range (S2222). When step S2222 is No, processing from step S1230 to S1261 or S1262 shown in FIGS. 19, 20, 24, and 25 is performed. When step S2222 is Yes, the process in the determination part 224 is not performed. Then, the τ determination unit calculates one or a plurality of τ including the delay amount 0 without using the optimum delay amount τ tmp (S2252). Further, when the number of taps is 3 or 6, τ is set to three of −1, 0, and 1. The weight determination unit 126 calculates a weight for each obtained τ and outputs encoded information (S1260).
The ninth range is a range indicating that the correlation between the sample value sequence of τ = 0 of the master channel and the sample value sequence of the encoding target channel is large. If the correlation value falls within this range, it is considered that the code amount can be sufficiently reduced without changing the time position of the sample value sequence of the master channel. Therefore, when the correlation in the case of no delay is large, the process for obtaining the optimum delay amount τ tmp can be omitted, and encoding can be performed efficiently.

[変形例]
本実施形態の多チャネル信号符号化装置も、図16の構成である。符号化情報決定部の機能構成を図30に示す。無遅延相関値算出部222が付加された点以外は、図21と同じである。図29に、符号化情報決定部220−6’の処理フロー(S220−6’)を示す。ステップS220−6との違いは、ステップS2222がNoの場合、図22、図23、図26および図27に示したステップS1230からS1261、S1262、S2272またはS2273までの処理を行うことだけである。したがって、本変形例でも、無遅延の場合の相関が大きい場合には、最適遅延量τtmpを求める処理を省略でき、効率的に符号化できる。
[Modification]
The multi-channel signal encoding apparatus of this embodiment also has the configuration of FIG. FIG. 30 shows a functional configuration of the encoded information determination unit. It is the same as FIG. 21 except that the non-delayed correlation value calculation unit 222 is added. FIG. 29 shows a processing flow (S220-6 ′) of the encoded information determination unit 220-6 ′. The difference from step S220-6 is that when step S2222 is No, the processing from step S1230 to S1261, S1262, S2272 or S2273 shown in FIGS. 22, 23, 26 and 27 is only performed. Therefore, also in this modification, when the correlation in the case of no delay is large, the process for obtaining the optimum delay amount τ tmp can be omitted, and the encoding can be performed efficiently.

なお、上記の実施形態はコンピュータに、上記方法の各ステップを実行させるプログラムを読み込ませ、実施することもできる。また、コンピュータに読み込ませる方法としては、プログラムをコンピュータ読み取り可能な記録媒体に記録しておき、記録媒体からコンピュータに読み込ませる方法、サーバ等に記録されたプログラムを、電気通信回線等を通じてコンピュータに読み込ませる方法などがある。   In addition, said embodiment can also read and implement the program which makes a computer perform each step of the said method. In addition, as a method of causing the computer to read, the program is recorded on a computer-readable recording medium, and the program recorded on the server or the like is read into the computer through a telecommunication line or the like. There is a method to make it.

従来の多チャネル信号符号化装置の機能構成例を示す図。The figure which shows the function structural example of the conventional multi-channel signal encoding apparatus. 従来の多チャネル信号符号化装置の処理フローを示す図。The figure which shows the processing flow of the conventional multi-channel signal encoding apparatus. サンプル値列が1つ(1タップ)の場合のステップS830の処理のイメージを示す図。The figure which shows the image of the process of step S830 in case a sample value sequence is one (1 tap). サンプル値列が3つ(3タップ)の場合のステップS830の処理のイメージを示す図。The figure which shows the image of the process of step S830 in case a sample value sequence is three (3 taps). 従来の多チャネル信号復号化装置の機能構成例を示す図。The figure which shows the function structural example of the conventional multi-channel signal decoding apparatus. 2つのサンプル値列(2タップ)を用いる場合のイメージを示す図。The figure which shows the image in the case of using two sample value sequences (2 taps). 6つのサンプル値列(6タップ)を用いる場合のイメージを示す図。The figure which shows the image in the case of using six sample value sequences (6 taps). 本発明の効果が現れる具体例を示す図。The figure which shows the specific example in which the effect of this invention appears. 関連発明の多チャネル信号符号化装置の機能構成例を示す図。The figure which shows the function structural example of the multi-channel signal encoding apparatus of related invention. ステップS120の処理フローを示す図。The figure which shows the processing flow of step S120. ステップS1250の処理フローを示す図。The figure which shows the processing flow of step S1250. ステップS1260の処理フローを示す図。The figure which shows the processing flow of step S1260. ステップS1250’の処理フローを示す図。The figure which shows the processing flow of step S1250 '. ステップS1260’の処理フローを示す図。The figure which shows the processing flow of step S1260 '. ステップS120’の処理フローを示す図。The figure which shows the processing flow of step S120 '. 本発明の多チャネル信号符号化装置の機能構成を示す図。The figure which shows the function structure of the multi-channel signal encoding apparatus of this invention. 本発明の多チャネル信号符号化装置の処理フローを示す図。The figure which shows the processing flow of the multi-channel signal encoding apparatus of this invention. 本発明の符号化情報決定部の機能構成例を示す図。The figure which shows the function structural example of the encoding information determination part of this invention. 符号化情報決定部220−1の処理フロー(S220−1)を示す図。The figure which shows the processing flow (S220-1) of the encoding information determination part 220-1. 符号化情報決定部220−1’の処理フロー(S220−1’)を示す図。The figure which shows the processing flow (S220-1 ') of the encoding information determination part 220-1'. 本発明の符号化情報決定部の2つめの機能構成例を示す図。The figure which shows the 2nd function structural example of the encoding information determination part of this invention. 符号化情報決定部220−2の処理フロー(S220−2)を示す図。The figure which shows the processing flow (S220-2) of the encoding information determination part 220-2. 符号化情報決定部220−2’の処理フロー(S220−2’)を示す図。The figure which shows the processing flow (S220-2 ') of the encoding information determination part 220-2'. 符号化情報決定部220−3および200−5の処理フロー(S220−3、S200−5)を示す図。The figure which shows the processing flow (S220-3, S200-5) of the encoding information determination part 220-3 and 200-5. 符号化情報決定部220−3’および200−5’の処理フロー(S220−3’、200−5’)を示す図。The figure which shows the processing flow (S220-3 ', 200-5') of encoding information determination part 220-3 'and 200-5'. 符号化情報決定部220−4および200−5”の処理フロー(S220−4、S200−5”)を示す図。The figure which shows the processing flow (S220-4, S200-5 ") of the encoding information determination part 220-4 and 200-5". 符号化情報決定部220−4’および200−5’’’の処理フロー(S220−4’、S200−5’’’)を示す図。The figure which shows the processing flow (S220-4 ', S200-5 "') of the encoding information determination part 220-4 'and 200-5"'. 本発明の符号化情報決定部の3つめの機能構成例を示す図。The figure which shows the 3rd function structural example of the encoding information determination part of this invention. 符号化情報決定部220−6および200−6’の処理フロー(S220−6、S220−6’)を示す図。The figure which shows the processing flow (S220-6, S220-6 ') of the encoding information determination part 220-6 and 200-6'. 本発明の符号化情報決定部の4つめの機能構成例を示す図。The figure which shows the 4th function structural example of the encoding information determination part of this invention.

Claims (29)

複数チャネルの入力信号を、チャネルごとの複数のデジタルサンプル値の列(以下、「フレーム」という。)ごとに符号化する多チャネル信号符号化方法であって、
あるチャネル(以下、「符号化対象チャネル」という。)のフレーム信号を、他のチャネル(以下、「マスターチャネル」という。)の時間位置が異なる1つ若しくは複数のサンプル値列との重み付け差分を符号化する場合に、
あらかじめ定めた時間位置の差の範囲内で、時間位置の差を与えたマスターチャネルのサンプル値列と符号化対象チャネルのフレーム信号との相関が最も大きい時間位置の差を最適遅延量として求め、そのときの相関値を最適遅延量相関値とする最適遅延量計算ステップと、
マスターチャネルの番号を決定し、前記最適遅延長相関値の大きさに基づいて、最適遅延量を含む1つ若しくは複数、または、0を含む1つ若しくは複数、のいずれかを、前記マスターチャネルの各サンプル値列と符号化対象チャネルのフレーム信号との時間位置の差(以下、「確定遅延量」という。)として決定し、さらに、前記確定遅延量を与えたマスターチャネルの各サンプル値列に乗算する重みを決定する符号化情報決定ステップと、
前記符号化情報決定ステップの結果にしたがって、符号化対象チャネルのフレーム信号と、前記重みを乗算し、前記確定遅延量を与えたマスターチャネルの1つ若しくは複数のサンプル値列との差分を、符号化対象信号として生成する符号化対象信号生成ステップと、
前記符号化対象信号を符号化して符号化対象信号に基づく符号列を得る符号化ステップと、
前記符号化情報決定ステップで決定したマスターチャネルの番号と時間位置の差と重みが判別できる符号化情報、および前記符号化ステップで得た符号化対象信号に基づく符号列を含む符号列を生成する符号列生成ステップと
を有する多チャネル信号符号化方法。
A multi-channel signal encoding method for encoding an input signal of a plurality of channels for each of a plurality of digital sample value columns (hereinafter referred to as “frames”) for each channel,
A frame signal of a certain channel (hereinafter referred to as “encoding target channel”) is weighted with one or a plurality of sample value sequences having different time positions of other channels (hereinafter referred to as “master channels”). When encoding,
Within the predetermined time position difference range, the difference between the time position having the largest correlation between the sample value sequence of the master channel that gave the time position difference and the frame signal of the encoding target channel is obtained as the optimum delay amount, An optimum delay amount calculating step in which the correlation value at that time is the optimum delay amount correlation value;
A master channel number is determined, and based on the magnitude of the optimum delay length correlation value, one or more including the optimal delay amount, or one or more including 0 is determined as the master channel number. It is determined as a time position difference (hereinafter referred to as “determined delay amount”) between each sample value sequence and the frame signal of the encoding target channel, and further, for each sample value sequence of the master channel to which the determined delay amount is given. An encoding information determination step for determining a weight to be multiplied;
According to the result of the encoding information determination step, the difference between the frame signal of the channel to be encoded and one or more sample value sequences of the master channel multiplied by the weight and given the determined delay amount is encoded An encoding target signal generation step for generating as an encoding target signal;
An encoding step of encoding the encoding target signal to obtain a code string based on the encoding target signal;
A coding sequence including a coding sequence capable of determining a difference between a master channel number and a time position determined in the coding information determination step and a weight and a coding sequence based on a signal to be coded obtained in the coding step is generated. A multi-channel signal encoding method comprising: a code string generation step.
請求項1記載の多チャネル信号符号化方法であって、
あらかじめ相関が小さいことを示す範囲として第1の範囲を定めておき、
前記符号化情報決定ステップでの確定遅延量の決定では、
最適遅延量相関値が第1の範囲の場合は、0を含む1つ若しくは複数を確定遅延量とし、
その他の場合は、最適遅延量を含む1つ若しくは複数を確定遅延量とする
ことを特徴とする多チャネル信号符号化方法。
The multi-channel signal encoding method according to claim 1, wherein
The first range is determined in advance as a range indicating that the correlation is small,
In the determination of the determined delay amount in the encoding information determination step,
When the optimum delay amount correlation value is in the first range, one or more including 0 is set as the determined delay amount,
In other cases, the multi-channel signal encoding method is characterized in that one or more including the optimum delay amount is set as the definite delay amount.
請求項1記載の多チャネル信号符号化方法であって、
あらかじめ相関が小さいことを示す範囲として第1の範囲を定めておき、
前記符号化情報決定ステップでの確定遅延量の決定では、
最適遅延量が0または最適遅延量相関値が第1の範囲の場合は、−1、0、1の3個を確定遅延量とし、
その他の場合は、−1、0、1および最適遅延量を含む6個を確定遅延量とする
ことを特徴とする多チャネル信号符号化方法。
The multi-channel signal encoding method according to claim 1, wherein
The first range is determined in advance as a range indicating that the correlation is small,
In the determination of the determined delay amount in the encoding information determination step,
When the optimal delay amount is 0 or the optimal delay amount correlation value is in the first range, three of −1, 0, and 1 are set as the determined delay amount,
In other cases, the multi-channel signal encoding method is characterized in that six, including −1, 0, 1 and the optimum delay amount, are set as the determined delay amount.
請求項1記載の多チャネル信号符号化方法であって、
あらかじめ、相関が小さいことを示す範囲として第1の範囲、相関が大きいことを示す範囲として第3の範囲、第1の範囲でも第3の範囲でもない範囲として第2の範囲、を定めておき、
前記符号化情報決定ステップでの確定遅延量の決定では、
最適遅延量相関値が前記第1の範囲の場合は、0を含む1つ若しくは複数を確定遅延量として決定し、
最適遅延量相関値が前記第2の範囲の場合は、前記最適遅延量を含む1つ若しくは複数を第1の確定遅延量として決定し、0を含む1つ若しくは複数を第2の確定遅延量として決定し、
最適遅延量相関値が前記第3の範囲の場合は、前記最適遅延量を含む1つ若しくは複数を確定遅延量として決定し、
前記第2の範囲の場合には、
前記符号化情報決定ステップでの重みの決定、前記符号化対象信号生成ステップ、前記符号化ステップ、前記符号列生成ステップでは、
第1の確定遅延量と第2の確定遅延量のそれぞれに対する符号化情報と符号化対象信号に基づく符号列とをそれぞれ求め、
第1の確定遅延量と第2の確定遅延量のそれぞれに対する符号化対象信号に基づく符号列の符号量を比較し、または、第1の確定遅延量と第2の確定遅延量のそれぞれに対する符号化情報と符号化対象信号に基づく符号列との合計の符号量を比較し、符号量が少ない方を当該フレームの確定遅延量として選択する確定遅延量選択ステップをさらに有する
ことを特徴とする多チャネル信号符号化方法。
The multi-channel signal encoding method according to claim 1, wherein
In advance, a first range is defined as a range indicating that the correlation is small, a third range is defined as the range indicating that the correlation is large, and a second range is defined as a range that is neither the first range nor the third range. ,
In the determination of the determined delay amount in the encoding information determination step,
When the optimum delay amount correlation value is in the first range, one or more including 0 is determined as the determined delay amount,
When the optimum delay amount correlation value is in the second range, one or more including the optimum delay amount is determined as the first determined delay amount, and one or more including 0 is set as the second determined delay amount. Determined as
When the optimum delay amount correlation value is in the third range, one or more including the optimum delay amount is determined as a confirmed delay amount,
In the case of the second range,
In the determination of the weight in the encoding information determination step, the encoding target signal generation step, the encoding step, and the code string generation step,
Obtaining encoding information and a code string based on a signal to be encoded for each of the first and second determined delay amounts;
The code amount of the code string based on the encoding target signal for each of the first and second deterministic delay amounts is compared, or the code for each of the first and second deterministic delay amounts And a definite delay amount selection step of comparing the total code amount of the encoding information and the code string based on the encoding target signal and selecting the smaller code amount as the deterministic delay amount of the frame. Channel signal encoding method.
請求項1記載の多チャネル信号符号化方法であって、
あらかじめ、相関が小さいことを示す範囲として第1の範囲、相関が大きいことを示す範囲として第3の範囲、第1の範囲でも第3の範囲でもない範囲として第2の範囲、を定めておき、
前記符号化情報決定ステップでの確定遅延量の決定では、
最適遅延量相関値が前記第1の範囲の場合は、0を含む1つ若しくは複数を確定遅延量として決定し、
最適遅延量相関値が前記第2の範囲の場合は、前記最適遅延量を含む1つ若しくは複数を第1の確定遅延量として決定し、0を含む1つ若しくは複数を第2の確定遅延量として決定し、
最適遅延量相関値が前記第3の範囲の場合は、前記最適遅延量を含む1つ若しくは複数を確定遅延量として決定し、
前記第2の範囲の場合には、
前記符号化情報決定ステップでの重みの決定では、第1の確定遅延量と第2の確定遅延量のそれぞれに対する重みを生成し、
前記符号化対象信号生成ステップでは、第1の確定遅延量と第2の確定遅延量のそれぞれに対応する符号化対象信号を生成し、
第1の確定遅延量と第2の確定遅延量のそれぞれに対する符号化対象信号に基づく符号列の推定符号量を求める推定符号量算出ステップと、
第1の確定遅延量と第2の確定遅延量のそれぞれに対する符号化対象信号に基づく符号列の推定符号量を比較し、推定符号量が少ない方を当該フレームの確定遅延量として選択する確定遅延量選択ステップとをさらに有する
ことを特徴とする多チャネル信号符号化方法。
The multi-channel signal encoding method according to claim 1, wherein
In advance, a first range is defined as a range indicating that the correlation is small, a third range is defined as the range indicating that the correlation is large, and a second range is defined as a range that is neither the first range nor the third range. ,
In the determination of the determined delay amount in the encoding information determination step,
When the optimum delay amount correlation value is in the first range, one or more including 0 is determined as the determined delay amount,
When the optimum delay amount correlation value is in the second range, one or more including the optimum delay amount is determined as the first determined delay amount, and one or more including 0 is set as the second determined delay amount. Determined as
When the optimum delay amount correlation value is in the third range, one or more including the optimum delay amount is determined as a confirmed delay amount,
In the case of the second range,
In the determination of the weight in the encoding information determination step, a weight is generated for each of the first determined delay amount and the second determined delay amount,
In the encoding target signal generation step, an encoding target signal corresponding to each of the first determined delay amount and the second determined delay amount is generated,
An estimated code amount calculating step for obtaining an estimated code amount of a code string based on a signal to be encoded with respect to each of the first determined delay amount and the second determined delay amount;
A deterministic delay in which the estimated code amount of the code string based on the encoding target signal for each of the first deterministic delay amount and the second deterministic delay amount is compared, and the smaller estimated code amount is selected as the deterministic delay amount of the frame A multi-channel signal encoding method further comprising: a quantity selection step.
請求項1記載の多チャネル信号符号化方法であって、
あらかじめ、相関が小さいことを示す範囲として第1の範囲、相関が大きいことを示す範囲として第3の範囲、第1の範囲でも第3の範囲でもない範囲として第2の範囲、を定めておき、
前記符号化情報決定ステップでの確定遅延量の決定では、
最適遅延量が0または最適遅延量相関値が前記第1の範囲の場合は、−1、0、1の3個を確定遅延量とし、
最適遅延量が0以外かつ最適遅延量相関値が前記第2の範囲の場合は、−1、0、1の3個を第1の確定遅延量、−1、0、1および前記最適遅延量を含む6個を第2の確定遅延量とし、
最適遅延量が0以外かつ最適遅延量相関値が前記第3の範囲の場合は、−1、0、1および前記最適遅延量を含む6個を確定遅延量とし、
前記第2の範囲の場合には、
前記符号化情報決定ステップでの重みの決定、前記符号化対象信号生成ステップ、前記符号化ステップ、前記符号列生成ステップでは、
第1の確定遅延量と第2の確定遅延量のそれぞれに対応する符号化情報と符号化対象信号に基づく符号列とをそれぞれ求め、
第1の確定遅延量と第2の確定遅延量のそれぞれに対する符号化対象信号に基づく符号列の符号量を比較し、または、第1の確定遅延量と第2の確定遅延量のそれぞれに対する符号化情報と符号化対象信号に基づく符号列との合計の符号量を比較し、符号量が少ない方を当該フレームの確定遅延量として選択する確定遅延量選択ステップをさらに有する
ことを特徴とする多チャネル信号符号化方法。
The multi-channel signal encoding method according to claim 1, wherein
In advance, a first range is set as a range indicating that the correlation is low, a third range is set as a range indicating that the correlation is high, and a second range is set as a range that is neither the first range nor the third range. ,
In the determination of the determined delay amount in the encoding information determination step,
When the optimal delay amount is 0 or the optimal delay amount correlation value is in the first range, three of -1, 0, and 1 are set as the determined delay amount,
When the optimal delay amount is other than 0 and the optimal delay amount correlation value is in the second range, three of −1, 0, and 1 are set as the first fixed delay amount, −1, 0, 1 and the optimal delay amount. 6 including the second is the second fixed delay amount,
When the optimal delay amount is other than 0 and the optimal delay amount correlation value is in the third range, -6, including -1, 0, 1 and the optimal delay amount are set as the determined delay amount,
In the case of the second range,
In the determination of the weight in the encoding information determination step, the encoding target signal generation step, the encoding step, and the code string generation step,
Obtaining encoding information corresponding to each of the first and second determined delay amounts and a code string based on the signal to be encoded;
The code amount of the code string based on the encoding target signal for each of the first and second deterministic delay amounts is compared, or the code for each of the first and second deterministic delay amounts And a definite delay amount selection step of comparing the total code amount of the encoding information and the code string based on the encoding target signal and selecting the smaller code amount as the deterministic delay amount of the frame. Channel signal encoding method.
請求項1記載の多チャネル信号符号化方法であって、
あらかじめ、相関が小さいことを示す範囲として第1の範囲、相関が大きいことを示す範囲として第3の範囲、第1の範囲でも第3の範囲でもない範囲として第2の範囲、を定めておき、
前記符号化情報決定ステップでの確定遅延量の決定では、
最適遅延量が0または最適遅延量相関値が前記第1の範囲の場合は、−1、0、1の3個を確定遅延量とし、
最適遅延量が0以外かつ最適遅延量相関値が前記第2の範囲の場合は、−1、0、1の3個を第1の確定遅延量、−1、0、1および前記最適遅延量を含む6個を第2の確定遅延量とし、
最適遅延量が0以外かつ最適遅延量相関値が前記第3の範囲の場合は、−1、0、1および前記最適遅延量を含む6個を確定遅延量とし、
前記第2の範囲の場合には、
前記符号化情報決定ステップでの重みの決定では、第1の確定遅延量と第2の確定遅延量のそれぞれに対する重みを生成し、
前記符号化対象信号生成ステップでは、第1の確定遅延量と第2の確定遅延量のそれぞれに対応する符号化対象信号を生成し、
第1の確定遅延量と第2の確定遅延量のそれぞれに対する符号化対象信号に基づく符号列の推定符号量を求める推定符号量算出ステップと、
第1の確定遅延量と第2の確定遅延量のそれぞれに対する符号化対象信号に基づく符号列の推定符号量を比較し、推定符号量が少ない方を当該フレームの確定遅延量として選択する確定遅延量選択ステップとをさらに有する
ことを特徴とする多チャネル信号符号化方法。
The multi-channel signal encoding method according to claim 1, wherein
In advance, a first range is set as a range indicating that the correlation is low, a third range is set as a range indicating that the correlation is high, and a second range is set as a range that is neither the first range nor the third range. ,
In the determination of the determined delay amount in the encoding information determination step,
When the optimal delay amount is 0 or the optimal delay amount correlation value is in the first range, three of -1, 0, and 1 are set as the determined delay amount,
When the optimal delay amount is other than 0 and the optimal delay amount correlation value is in the second range, three of −1, 0, and 1 are set as the first fixed delay amount, −1, 0, 1 and the optimal delay amount. 6 including the second is the second fixed delay amount,
When the optimal delay amount is other than 0 and the optimal delay amount correlation value is in the third range, -6, including -1, 0, 1 and the optimal delay amount are set as the determined delay amount,
In the case of the second range,
In the determination of the weight in the encoding information determination step, a weight is generated for each of the first determined delay amount and the second determined delay amount,
In the encoding target signal generation step, an encoding target signal corresponding to each of the first determined delay amount and the second determined delay amount is generated,
An estimated code amount calculating step for obtaining an estimated code amount of a code string based on a signal to be encoded with respect to each of the first determined delay amount and the second determined delay amount;
A deterministic delay in which the estimated code amount of the code string based on the encoding target signal for each of the first deterministic delay amount and the second deterministic delay amount is compared, and the smaller estimated code amount is selected as the deterministic delay amount of the frame A multi-channel signal encoding method further comprising: a quantity selection step.
請求項1記載の多チャネル信号符号化方法であって、
あらかじめ、基準の相関値よりも相関が小さいことを示す値を定め、その値よりも相関が大きいことを示す範囲として第4の範囲を定めておき、
前記符号化情報決定ステップでの確定遅延量の決定では、
前記時間位置の差が0のマスターチャネルのサンプル値列と符号化対象チャネルのフレーム信号との相関(以下、「無遅延相関値」という。)も求め、
最適遅延量相関値を基準の相関値として無遅延相関値が第4の範囲内の場合には、0を含む1つ若しくは複数を確定遅延量とし、
その他の場合は、前記最適遅延量を含む1つ若しくは複数を確定遅延量とする ことを特徴とする多チャネル信号符号化方法。
The multi-channel signal encoding method according to claim 1, wherein
In advance, a value indicating that the correlation is smaller than the reference correlation value is determined, and a fourth range is determined as a range indicating that the correlation is larger than the value,
In the determination of the determined delay amount in the encoding information determination step,
A correlation between the sample value sequence of the master channel whose time position difference is 0 and the frame signal of the encoding target channel (hereinafter referred to as “non-delay correlation value”) is also obtained.
When the optimum delay amount correlation value is a reference correlation value and the non-delay correlation value is within the fourth range, one or more including 0 is set as a definite delay amount,
In other cases, the multi-channel signal encoding method, wherein one or more including the optimum delay amount is set as a definite delay amount.
請求項1記載の多チャネル信号符号化方法であって、
あらかじめ、基準の相関値よりも相関が小さいことを示す値を定め、その値よりも相関が大きいことを示す範囲として第4の範囲を定めておき、
前記符号化情報決定ステップでの確定遅延量の決定では、
前記時間位置の差が0のマスターチャネルのサンプル値列と符号化対象チャネルのフレーム信号との相関(以下、「無遅延相関値」という。)も求め、
最適遅延量が0、または、最適遅延量相関値を基準の相関値として無遅延相関値が第4の範囲内の場合には、−1、0、1の3個を確定遅延量とし、
その他の場合は、−1、0、1および前記最適遅延量を含む6個を確定遅延量とする
ことを特徴とする多チャネル信号符号化方法。
The multi-channel signal encoding method according to claim 1, wherein
In advance, a value indicating that the correlation is smaller than the reference correlation value is determined, and a fourth range is determined as a range indicating that the correlation is larger than the value,
In the determination of the determined delay amount in the encoding information determination step,
A correlation between the sample value sequence of the master channel whose time position difference is 0 and the frame signal of the encoding target channel (hereinafter referred to as “non-delay correlation value”) is also obtained.
When the optimum delay amount is 0, or the optimum delay amount correlation value is the reference correlation value and the non-delay correlation value is within the fourth range, three of −1, 0, and 1 are set as the determined delay amount,
In other cases, the multi-channel signal encoding method is characterized in that -6, including -1, 0, 1 and the optimum delay amount are defined as the determined delay amount.
請求項1記載の多チャネル信号符号化方法であって、
あらかじめ、基準の相関値よりも相関が小さいことを示す値を定め、その値よりも相関が大きいことを示す範囲として第4の範囲、その値よりも十分に相関が小さいことを示す範囲として第6の範囲、第4の範囲でも第6の範囲でもない範囲として第5の範囲、を定めておき、
前記符号化情報決定ステップでの確定遅延量の決定では、
時間位置の差が0のマスターチャネルのサンプル値列と符号化対象チャネルのフレーム信号との相関(以下、「無遅延相関値」という。)も求め、
最適遅延量相関値を基準の相関値として無遅延相関値が第4の範囲の場合は、0を含む1つ若しくは複数を確定遅延量として決定し、
最適遅延量相関値を基準の相関値として無遅延相関値が第5の範囲の場合は、前記最適遅延量を含む1つ若しくは複数を第1の確定遅延量として決定し、0を含む1つ若しくは複数を第2の確定遅延量として決定し、
最適遅延量相関値を基準の相関値として無遅延相関値が第6の範囲の場合は、前記最適遅延量を含む1つ若しくは複数を確定遅延量として決定し、
前記第5の範囲の場合には、
前記符号化情報決定ステップでの重みの決定、前記符号化対象信号生成ステップ、前記符号化ステップ、前記符号列生成ステップでは、
第1の確定遅延量と第2の確定遅延量のそれぞれに対する符号化情報と符号化対象信号に基づく符号列とをそれぞれ求め、
第1の確定遅延量と第2の確定遅延量のそれぞれに対する符号化対象信号に基づく符号列の符号量を比較し、または、第1の確定遅延量と第2の確定遅延量のそれぞれに対する符号化情報と符号化対象信号に基づく符号列との合計の符号量を比較し、符号量が少ない方を当該フレームの確定遅延量として選択する確定遅延量選択ステップをさらに有する
ことを特徴とする多チャネル信号符号化方法。
The multi-channel signal encoding method according to claim 1, wherein
A value indicating that the correlation is smaller than the reference correlation value is determined in advance, the fourth range as a range indicating that the correlation is higher than the value, and a range indicating that the correlation is sufficiently smaller than the value as the range. A fifth range is defined as a range that is neither the fourth range nor the sixth range,
In the determination of the determined delay amount in the encoding information determination step,
A correlation between the sample value sequence of the master channel whose time position difference is 0 and the frame signal of the encoding target channel (hereinafter referred to as “non-delayed correlation value”) is also obtained.
When the optimum delay amount correlation value is the reference correlation value and the non-delay correlation value is in the fourth range, one or more including 0 is determined as the determined delay amount,
When the optimum delay amount correlation value is the reference correlation value and the non-delay correlation value is in the fifth range, one or more including the optimum delay amount is determined as the first definite delay amount, and one including 0 Alternatively, a plurality is determined as the second fixed delay amount,
When the optimum delay amount correlation value is a reference correlation value and the non-delay correlation value is in the sixth range, one or more including the optimum delay amount is determined as a confirmed delay amount,
In the case of the fifth range,
In the determination of the weight in the encoding information determination step, the encoding target signal generation step, the encoding step, and the code string generation step,
Obtaining encoding information and a code string based on a signal to be encoded for each of the first and second determined delay amounts;
The code amount of the code string based on the encoding target signal for each of the first and second deterministic delay amounts is compared, or the code for each of the first and second deterministic delay amounts And a definite delay amount selection step of comparing the total code amount of the encoding information and the code string based on the encoding target signal and selecting the smaller code amount as the deterministic delay amount of the frame. Channel signal encoding method.
請求項1記載の多チャネル信号符号化方法であって、
あらかじめ、基準の相関値よりも相関が小さいことを示す値を定め、その値よりも相関が大きいことを示す範囲として第4の範囲、その値よりも十分に相関が小さいことを示す範囲として第6の範囲、第4の範囲でも第6の範囲でもない範囲として第5の範囲、を定めておき、
前記符号化情報決定ステップでの確定遅延量の決定では、
時間位置の差が0のマスターチャネルのサンプル値列と符号化対象チャネルのフレーム信号との相関(以下、「無遅延相関値」という。)も求め、
最適遅延量相関値を基準の相関値として無遅延相関値が第4の範囲の場合は、0を含む1つ若しくは複数を確定遅延量として決定し、
最適遅延量相関値を基準の相関値として無遅延相関値が第5の範囲の場合は、前記最適遅延量を含む1つ若しくは複数を第1の確定遅延量として決定し、0を含む1つ若しくは複数を第2の確定遅延量として決定し、
最適遅延量相関値を基準の相関値として無遅延相関値が第6の範囲の場合は、前記最適遅延量を含む1つ若しくは複数を確定遅延量として決定し、
前記第5の範囲の場合には、
前記符号化情報決定ステップでの重みの決定では、第1の確定遅延量と第2の確定遅延量のそれぞれに対する重みを生成し、
前記符号化対象信号生成ステップでは、第1の確定遅延量と第2の確定遅延量のそれぞれに対応する符号化対象信号を生成し、
第1の確定遅延量と第2の確定遅延量のそれぞれに対する符号化対象信号に基づく符号列の推定符号量を求める推定符号量算出ステップと、
第1の確定遅延量と第2の確定遅延量のそれぞれに対する符号化対象信号に基づく符号列の推定符号量を比較し、推定符号量が少ない方を当該フレームの確定遅延量として選択する確定遅延量選択ステップとをさらに有する
ことを特徴とする多チャネル信号符号化方法。
The multi-channel signal encoding method according to claim 1, wherein
A value indicating that the correlation is smaller than the reference correlation value is determined in advance, the fourth range as a range indicating that the correlation is higher than the value, and a range indicating that the correlation is sufficiently smaller than the value as the range. A fifth range is defined as a range that is neither the fourth range nor the sixth range,
In the determination of the determined delay amount in the encoding information determination step,
A correlation between the sample value sequence of the master channel whose time position difference is 0 and the frame signal of the encoding target channel (hereinafter referred to as “non-delayed correlation value”) is also obtained.
When the optimum delay amount correlation value is the reference correlation value and the non-delay correlation value is in the fourth range, one or more including 0 is determined as the determined delay amount,
When the optimum delay amount correlation value is the reference correlation value and the non-delay correlation value is in the fifth range, one or more including the optimum delay amount is determined as the first definite delay amount, and one including 0 Alternatively, a plurality is determined as the second fixed delay amount,
When the optimum delay amount correlation value is a reference correlation value and the non-delay correlation value is in the sixth range, one or more including the optimum delay amount is determined as a confirmed delay amount,
In the case of the fifth range,
In the determination of the weight in the encoding information determination step, a weight is generated for each of the first determined delay amount and the second determined delay amount,
In the encoding target signal generation step, an encoding target signal corresponding to each of the first determined delay amount and the second determined delay amount is generated,
An estimated code amount calculating step for obtaining an estimated code amount of a code string based on a signal to be encoded with respect to each of the first determined delay amount and the second determined delay amount;
A deterministic delay in which the estimated code amount of the code string based on the encoding target signal for each of the first deterministic delay amount and the second deterministic delay amount is compared, and the smaller estimated code amount is selected as the deterministic delay amount of the frame A multi-channel signal encoding method further comprising: a quantity selection step.
請求項1記載の多チャネル信号符号化方法であって、
あらかじめ、基準の相関値よりも相関が小さいことを示す値を定め、その値よりも相関が大きいことを示す範囲として第4の範囲、その値よりも十分に相関が小さいことを示す範囲として第6の範囲、第4の範囲でも第6の範囲でもない範囲として第5の範囲、を定めておき、
前記符号化情報決定ステップでの確定遅延量の決定では、
時間位置の差が0のマスターチャネルのサンプル値列と符号化対象チャネルのフレーム信号との相関(以下、「無遅延相関値」という。)も求め、
最適遅延量が0、または、最適遅延量相関値を基準の相関値として無遅延相関値が第4の範囲内の場合には、−1、0、1の3個を確定遅延量とし、
最適遅延量が0以外、かつ、最適遅延量相関値を基準の相関値として無遅延相関値が第5の範囲内の場合には、−1、0、1の3個を第1の確定遅延量、−1、0、1および前記最適遅延量を含む6個を第2の確定遅延量とし、
最適遅延量が0以外、かつ、最適遅延量相関値を基準の相関値として無遅延相関値が第6の範囲内の場合には、−1、0、1および最適遅延量を含む6個を確定遅延量とし、
前記第5の範囲の場合には、
前記符号化情報決定ステップでの重みの決定、前記符号化対象信号生成ステップ、前記符号化ステップ、前記符号列生成ステップでは、
第1の確定遅延量と第2の確定遅延量のそれぞれに対応する符号化情報と符号化対象信号に基づく符号列とをそれぞれ求め、
第1の確定遅延量と第2の確定遅延量のそれぞれに対する符号化対象信号に基づく符号列の符号量を比較し、または、第1の確定遅延量と第2の確定遅延量のそれぞれに対する符号化情報と符号化対象信号に基づく符号列との合計の符号量を比較し、符号量が少ない方を当該フレームの確定遅延量として選択する確定遅延量選択ステップをさらに有する
ことを特徴とする多チャネル信号符号化方法。
The multi-channel signal encoding method according to claim 1, wherein
A value indicating that the correlation is smaller than the reference correlation value is determined in advance, the fourth range as a range indicating that the correlation is higher than the value, and a range indicating that the correlation is sufficiently smaller than the value as the range. A fifth range is defined as a range that is neither the fourth range nor the sixth range,
In the determination of the determined delay amount in the encoding information determination step,
A correlation between the sample value sequence of the master channel whose time position difference is 0 and the frame signal of the encoding target channel (hereinafter referred to as “non-delayed correlation value”) is also obtained.
When the optimum delay amount is 0, or the optimum delay amount correlation value is the reference correlation value and the non-delay correlation value is within the fourth range, three of −1, 0, and 1 are set as the determined delay amount,
If the optimal delay amount is other than 0 and the non-delay correlation value is within the fifth range with the optimal delay amount correlation value as the reference correlation value, three of -1, 0, and 1 are set as the first confirmed delay. 6 including the amount, −1, 0, 1 and the optimum delay amount are set as the second fixed delay amount,
When the optimum delay amount is other than 0, and the optimum delay amount correlation value is the reference correlation value and the non-delay correlation value is within the sixth range, −1, 0, 1 and 6 including the optimum delay amount are obtained. As a fixed delay amount,
In the case of the fifth range,
In the determination of the weight in the encoding information determination step, the encoding target signal generation step, the encoding step, and the code string generation step,
Obtaining encoding information corresponding to each of the first and second determined delay amounts and a code string based on the signal to be encoded;
The code amount of the code string based on the encoding target signal for each of the first and second deterministic delay amounts is compared, or the code for each of the first and second deterministic delay amounts And a definite delay amount selection step of comparing the total code amount of the encoding information and the code string based on the encoding target signal and selecting the smaller code amount as the deterministic delay amount of the frame. Channel signal encoding method.
請求項1記載の多チャネル信号符号化方法であって、
あらかじめ、基準の相関値よりも相関が小さいことを示す値を定め、その値よりも相関が大きいことを示す範囲として第4の範囲、その値よりも十分に相関が小さいことを示す範囲として第6の範囲、第4の範囲でも第6の範囲でもない範囲として第5の範囲、を定めておき、
前記符号化情報決定ステップでの確定遅延量の決定では、
時間位置の差が0のマスターチャネルのサンプル値列と符号化対象チャネルのフレーム信号との相関(以下、「無遅延相関値」という。)も求め、
最適遅延量が0、または、最適遅延量相関値を基準の相関値として無遅延相関値が第4の範囲内の場合には、−1、0、1の3個を確定遅延量とし、
最適遅延量が0以外、かつ、最適遅延量相関値を基準の相関値として無遅延相関値が第5の範囲内の場合には、−1、0、1の3個を第1の確定遅延量、−1、0、1および前記最適遅延量を含む6個を第2の確定遅延量とし、
最適遅延量が0以外、かつ、最適遅延量相関値を基準の相関値として無遅延相関値が第6の範囲内の場合には、−1、0、1および最適遅延量を含む6個を確定遅延量とし、
前記第5の範囲の場合には、
前記符号化情報決定ステップでの重みの決定では、第1の確定遅延量と第2の確定遅延量のそれぞれに対する重みを生成し、
前記符号化対象信号生成ステップでは、第1の確定遅延量と第2の確定遅延量のそれぞれに対応する符号化対象信号を生成し、
第1の確定遅延量と第2の確定遅延量のそれぞれに対する符号化対象信号に基づく符号列の推定符号量を求める推定符号量算出ステップと、
第1の確定遅延量と第2の確定遅延量のそれぞれに対する符号化対象信号に基づく符号列の推定符号量を比較し、推定符号量が少ない方を当該フレームの確定遅延量として選択する確定遅延量選択ステップとをさらに有する
ことを特徴とする多チャネル信号符号化方法。
The multi-channel signal encoding method according to claim 1, wherein
A value indicating that the correlation is smaller than the reference correlation value is determined in advance, the fourth range as a range indicating that the correlation is higher than the value, and a range indicating that the correlation is sufficiently smaller than the value as the range. A fifth range is defined as a range that is neither the fourth range nor the sixth range,
In the determination of the determined delay amount in the encoding information determination step,
A correlation between the sample value sequence of the master channel whose time position difference is 0 and the frame signal of the encoding target channel (hereinafter referred to as “non-delayed correlation value”) is also obtained.
When the optimum delay amount is 0, or the optimum delay amount correlation value is the reference correlation value and the non-delay correlation value is within the fourth range, three of −1, 0, and 1 are set as the determined delay amount,
If the optimal delay amount is other than 0 and the non-delay correlation value is within the fifth range with the optimal delay amount correlation value as the reference correlation value, three of -1, 0, and 1 are set as the first confirmed delay. 6 including the amount, −1, 0, 1 and the optimum delay amount are set as the second fixed delay amount,
When the optimum delay amount is other than 0, and the optimum delay amount correlation value is the reference correlation value and the non-delay correlation value is within the sixth range, −1, 0, 1 and 6 including the optimum delay amount are obtained. As a fixed delay amount,
In the case of the fifth range,
In the determination of the weight in the encoding information determination step, a weight is generated for each of the first determined delay amount and the second determined delay amount,
In the encoding target signal generation step, an encoding target signal corresponding to each of the first determined delay amount and the second determined delay amount is generated,
An estimated code amount calculating step for obtaining an estimated code amount of a code string based on a signal to be encoded with respect to each of the first determined delay amount and the second determined delay amount;
A deterministic delay in which the estimated code amount of the code string based on the encoding target signal for each of the first deterministic delay amount and the second deterministic delay amount is compared, and the smaller estimated code amount is selected as the deterministic delay amount of the frame A multi-channel signal encoding method further comprising: a quantity selection step.
請求項1記載の多チャネル信号符号化方法であって、
あらかじめ相関が小さいことを示す第7の範囲と第8の範囲を定めておき、
前記符号化情報決定ステップでは、
前記時間位置の差が0のマスターチャネルのサンプル値列と符号化対象チャネルのフレーム信号との相関(以下、「無遅延相関値」という。)も求め、
無遅延相関値が前記第7の範囲であり、かつ最適遅延量相関値が前記第8の範囲の場合には、
マスターチャネルのサンプル値列との重み付け差分を符号化する代わりに、符号化対象チャネルのフレーム信号を符号化する
ことを特徴とする多チャネル信号符号化方法。
The multi-channel signal encoding method according to claim 1, wherein
The seventh range and the eighth range indicating that the correlation is small are determined in advance,
In the encoding information determination step,
A correlation between the sample value sequence of the master channel whose time position difference is 0 and the frame signal of the encoding target channel (hereinafter referred to as “non-delay correlation value”) is also obtained.
When the no-delay correlation value is the seventh range and the optimum delay amount correlation value is the eighth range,
A multi-channel signal encoding method characterized by encoding a frame signal of a channel to be encoded instead of encoding a weighted difference with a sample value sequence of a master channel.
請求項8から13のいずれかに記載の多チャネル信号符号化方法であって、
あらかじめ相関が小さいことを示す第7の範囲と第8の範囲を定めておき、
前記符号化情報決定ステップでは、
無遅延相関値が前記第7の範囲であり、かつ最適遅延量相関値が前記第8の範囲の場合には、
マスターチャネルのサンプル値列との重み付け差分を符号化する代わりに、符号化対象チャネルのフレーム信号を符号化する
ことを特徴とする多チャネル信号符号化方法。
A multi-channel signal encoding method according to any of claims 8 to 13, comprising:
The seventh range and the eighth range indicating that the correlation is small are determined in advance,
In the encoding information determination step,
When the no-delay correlation value is the seventh range and the optimum delay amount correlation value is the eighth range,
A multi-channel signal encoding method characterized by encoding a frame signal of a channel to be encoded instead of encoding a weighted difference with a sample value sequence of a master channel.
請求項1、2、4、5、8、10または11のいずれかに記載の多チャネル信号符号化方法であって、
あらかじめ相関が大きいことを示す第9の範囲を定めておき、
前記時間位置の差が0のマスターチャネルのサンプル値列と符号化対象チャネルのフレーム信号との相関(以下、「無遅延相関値」という。)を求め、無遅延相関値が前記第9の範囲の場合には、前記最適遅延量計算ステップを行わない判断をする無遅延相関値計算ステップも有し、
前記符号化情報決定ステップでの確定遅延量の決定では、
無遅延相関値が第9の範囲の場合には、0を含む1つ若しくは複数を確定遅延量として決定する
ことを特徴とする多チャネル信号符号化方法。
A multi-channel signal encoding method according to any one of claims 1, 2, 4, 5, 8, 10 or 11,
A ninth range indicating that the correlation is large is determined in advance,
The correlation between the sample value sequence of the master channel whose time position difference is 0 and the frame signal of the encoding target channel (hereinafter referred to as “non-delay correlation value”) is obtained, and the non-delay correlation value is the ninth range. In this case, it also has a non-delayed correlation value calculating step for determining that the optimum delay amount calculating step is not performed,
In the determination of the determined delay amount in the encoding information determination step,
When the non-delay correlation value is in the ninth range, one or a plurality including 0 is determined as the determined delay amount.
請求項1、3、6、7、9、12または13のいずれかに記載の多チャネル信号符号化方法であって、
あらかじめ相関が大きいことを示す第9の範囲を定めておき、
前記時間位置の差が0のマスターチャネルのサンプル値列と符号化対象チャネルのフレーム信号との相関(以下、「無遅延相関値」という。)を求め、無遅延相関値が前記第9の範囲の場合には、前記最適遅延量計算ステップを行わない判断をする無遅延相関値計算ステップも有し、
前記符号化情報決定ステップでの確定遅延量の決定では、
無遅延相関値が第9の範囲の場合には、−1、0、1の3個を確定遅延量とする
ことを特徴とする多チャネル信号符号化方法。
A multi-channel signal encoding method according to any one of claims 1, 3, 6, 7, 9, 12, or 13.
A ninth range indicating that the correlation is large is determined in advance,
The correlation between the sample value sequence of the master channel whose time position difference is 0 and the frame signal of the encoding target channel (hereinafter referred to as “non-delay correlation value”) is obtained, and the non-delay correlation value is the ninth range. In this case, it also has a non-delayed correlation value calculating step for determining that the optimum delay amount calculating step is not performed,
In the determination of the determined delay amount in the encoding information determination step,
When the non-delay correlation value is in the ninth range, a definite delay amount is set to three of -1, 0, and 1. A multi-channel signal encoding method characterized by:
複数チャネルの入力信号を、チャネルごとの複数のデジタルサンプル値の列(以下、「フレーム」という。)ごとに符号化する多チャネル信号符号化装置であって、
あるチャネル(以下、「符号化対象チャネル」という。)のフレーム信号を、他のチャネル(以下、「マスターチャネル」という。)の時間位置が異なる1つ若しくは複数のサンプル値列との重み付け差分を符号化する場合に、
あらかじめ定めた時間位置の差の範囲内で、時間位置の差を与えたマスターチャネルのサンプル値列と符号化対象チャネルのフレーム信号との相関が最も大きい時間位置の差を最適遅延量として求め、そのときの相関値を最適遅延量相関値とする最適遅延量計算手段と、
マスターチャネルの番号を決定し、前記最適遅延長相関値の大きさに基づいて、最適遅延量を含む1つ若しくは複数、または、0を含む1つ若しくは複数、のいずれかを、前記マスターチャネルの各サンプル値列と符号化対象チャネルのフレーム信号との時間位置の差(以下、「確定遅延量」という。)として決定し、さらに、前記確定遅延量を与えたマスターチャネルの各サンプル値列に乗算する重みを決定する符号化情報決定手段と、
前記符号化情報決定手段の結果にしたがって、符号化対象チャネルのフレーム信号と、前記重みを乗算し、前記確定遅延量を与えたマスターチャネルの1つ若しくは複数のサンプル値列との差分を、符号化対象信号として生成する符号化対象信号生成手段と、
前記符号化対象信号を符号化して符号化対象信号に基づく符号列を得る符号化手段と、
前記符号化情報決定手段で決定したマスターチャネルの番号と時間位置の差と重みが判別できる符号化情報、および前記符号化手段で得た符号化対象信号に基づく符号列を含む符号列を生成する符号列生成手段と
を有する多チャネル信号符号化装置。
A multi-channel signal encoding apparatus that encodes a multi-channel input signal for each of a plurality of digital sample value columns (hereinafter referred to as “frames”) for each channel,
A frame signal of a certain channel (hereinafter referred to as “encoding target channel”) is weighted with one or a plurality of sample value sequences having different time positions of other channels (hereinafter referred to as “master channels”). When encoding,
Within the predetermined time position difference range, the difference between the time position having the largest correlation between the sample value sequence of the master channel that gave the time position difference and the frame signal of the encoding target channel is obtained as the optimum delay amount, Optimum delay amount calculation means using the correlation value at that time as the optimum delay amount correlation value;
A master channel number is determined, and based on the magnitude of the optimum delay length correlation value, one or more including the optimal delay amount, or one or more including 0 is determined as the master channel number. It is determined as a time position difference (hereinafter referred to as “determined delay amount”) between each sample value sequence and the frame signal of the encoding target channel, and further, for each sample value sequence of the master channel to which the determined delay amount is given. Encoding information determining means for determining a weight to be multiplied;
According to the result of the encoding information determination means, the difference between the frame signal of the encoding target channel and one or more sample value sequences of the master channel multiplied by the weight and given the deterministic delay amount is encoded Encoding target signal generating means for generating the encoding target signal;
Encoding means for encoding the encoding target signal to obtain a code string based on the encoding target signal;
Generates a code string including coding information that can discriminate the difference and weight of the master channel number and time position determined by the coding information determining means, and a code string based on the signal to be coded obtained by the coding means A multi-channel signal encoding apparatus comprising: a code string generation unit.
請求項18記載の多チャネル信号符号化装置であって、
あらかじめ相関が小さいことを示す範囲として第1の範囲を定めておき、
前記符号化情報決定手段での確定遅延量の決定では、
最適遅延量相関値が第1の範囲の場合は、0を含む1つ若しくは複数を確定遅延量とし、
その他の場合は、最適遅延量を含む1つ若しくは複数を確定遅延量とする
ことを特徴とする多チャネル信号符号化装置。
The multi-channel signal encoding apparatus according to claim 18, wherein
The first range is determined in advance as a range indicating that the correlation is small,
In the determination of the deterministic delay amount in the encoding information determination means,
When the optimum delay amount correlation value is in the first range, one or more including 0 is set as the determined delay amount,
In other cases, the multi-channel signal encoding apparatus is characterized in that one or more including the optimum delay amount is set as the definite delay amount.
請求項18記載の多チャネル信号符号化装置であって、
あらかじめ、相関が小さいことを示す範囲として第1の範囲、相関が大きいことを示す範囲として第3の範囲、第1の範囲でも第3の範囲でもない範囲として第2の範囲、を定めておき、
前記符号化情報決定手段での確定遅延量の決定では、
最適遅延量相関値が前記第1の範囲の場合は、0を含む1つ若しくは複数を確定遅延量として決定し、
最適遅延量相関値が前記第2の範囲の場合は、前記最適遅延量を含む1つ若しくは複数を第1の確定遅延量として決定し、0を含む1つ若しくは複数を第2の確定遅延量として決定し、
最適遅延量相関値が前記第3の範囲の場合は、前記最適遅延量を含む1つ若しくは複数を確定遅延量として決定し、
前記第2の範囲の場合には、
前記符号化情報決定手段での重みの決定、前記符号化対象信号生成手段、前記符号化手段、前記符号列生成手段では、
第1の確定遅延量と第2の確定遅延量のそれぞれに対する符号化情報と符号化対象信号に基づく符号列とをそれぞれ求め、
第1の確定遅延量と第2の確定遅延量のそれぞれに対する符号化対象信号に基づく符号列の符号量を比較し、または、第1の確定遅延量と第2の確定遅延量のそれぞれに対する符号化情報と符号化対象信号に基づく符号列との合計の符号量を比較し、符号量が少ない方を当該フレームの確定遅延量として選択する確定遅延量選択手段をさらに有する
ことを特徴とする多チャネル信号符号化装置。
The multi-channel signal encoding apparatus according to claim 18, wherein
In advance, a first range is defined as a range indicating that the correlation is small, a third range is defined as the range indicating that the correlation is large, and a second range is defined as a range that is neither the first range nor the third range. ,
In the determination of the deterministic delay amount in the encoding information determination means,
When the optimum delay amount correlation value is in the first range, one or more including 0 is determined as the determined delay amount,
When the optimum delay amount correlation value is in the second range, one or more including the optimum delay amount is determined as the first determined delay amount, and one or more including 0 is set as the second determined delay amount. Determined as
When the optimum delay amount correlation value is in the third range, one or more including the optimum delay amount is determined as a confirmed delay amount,
In the case of the second range,
In the determination of the weight in the encoding information determination unit, the encoding target signal generation unit, the encoding unit, and the code string generation unit,
Obtaining encoding information and a code string based on a signal to be encoded for each of the first and second determined delay amounts;
The code amount of the code string based on the encoding target signal for each of the first and second deterministic delay amounts is compared, or the code for each of the first and second deterministic delay amounts And a deterministic delay amount selecting means for comparing the total code amount of the encoding information and the code string based on the encoding target signal and selecting the smaller code amount as the deterministic delay amount of the frame. Channel signal encoding device.
請求項18記載の多チャネル信号符号化装置であって、
あらかじめ、相関が小さいことを示す範囲として第1の範囲、相関が大きいことを示す範囲として第3の範囲、第1の範囲でも第3の範囲でもない範囲として第2の範囲、を定めておき、
前記符号化情報決定手段での確定遅延量の決定では、
最適遅延量相関値が前記第1の範囲の場合は、0を含む1つ若しくは複数を確定遅延量として決定し、
最適遅延量相関値が前記第2の範囲の場合は、前記最適遅延量を含む1つ若しくは複数を第1の確定遅延量として決定し、0を含む1つ若しくは複数を第2の確定遅延量として決定し、
最適遅延量相関値が前記第3の範囲の場合は、前記最適遅延量を含む1つ若しくは複数を確定遅延量として決定し、
前記第2の範囲の場合には、
前記符号化情報決定手段での重みの決定では、第1の確定遅延量と第2の確定遅延量のそれぞれに対する重みを生成し、
前記符号化対象信号生成手段では、第1の確定遅延量と第2の確定遅延量のそれぞれに対応する符号化対象信号を生成し、
第1の確定遅延量と第2の確定遅延量のそれぞれに対する符号化対象信号に基づく符号列の推定符号量を求める推定符号量算出手段と、
第1の確定遅延量と第2の確定遅延量のそれぞれに対する符号化対象信号に基づく符号列の推定符号量を比較し、推定符号量が少ない方を当該フレームの確定遅延量として選択する確定遅延量選択手段とをさらに有する
ことを特徴とする多チャネル信号符号化装置。
The multi-channel signal encoding apparatus according to claim 18, wherein
In advance, a first range is defined as a range indicating that the correlation is small, a third range is defined as the range indicating that the correlation is large, and a second range is defined as a range that is neither the first range nor the third range. ,
In the determination of the deterministic delay amount in the encoding information determination means,
When the optimum delay amount correlation value is in the first range, one or more including 0 is determined as the determined delay amount,
When the optimum delay amount correlation value is in the second range, one or more including the optimum delay amount is determined as the first determined delay amount, and one or more including 0 is set as the second determined delay amount. Determined as
When the optimum delay amount correlation value is in the third range, one or more including the optimum delay amount is determined as a confirmed delay amount,
In the case of the second range,
In the determination of the weight in the encoding information determination means, a weight is generated for each of the first determined delay amount and the second determined delay amount,
The encoding target signal generating means generates encoding target signals corresponding to each of the first deterministic delay amount and the second deterministic delay amount,
Estimated code amount calculating means for obtaining an estimated code amount of a code string based on a signal to be encoded with respect to each of the first determined delay amount and the second determined delay amount;
A deterministic delay in which the estimated code amount of the code string based on the encoding target signal for each of the first deterministic delay amount and the second deterministic delay amount is compared, and the smaller estimated code amount is selected as the deterministic delay amount of the frame A multi-channel signal encoding apparatus, further comprising: a quantity selection unit.
請求項18記載の多チャネル信号符号化装置であって、
あらかじめ、基準の相関値よりも相関が小さいことを示す値を定め、その値よりも相関が大きいことを示す範囲として第4の範囲を定めておき、
前記符号化情報決定手段での確定遅延量の決定では、
前記時間位置の差が0のマスターチャネルのサンプル値列と符号化対象チャネルのフレーム信号との相関(以下、「無遅延相関値」という。)も求め、
最適遅延量相関値を基準の相関値として無遅延相関値が第4の範囲内の場合には、0を含む1つ若しくは複数を確定遅延量とし、
その他の場合は、前記最適遅延量を含む1つ若しくは複数を確定遅延量とする
ことを特徴とする多チャネル信号符号化装置。
The multi-channel signal encoding apparatus according to claim 18, wherein
In advance, a value indicating that the correlation is smaller than the reference correlation value is determined, and a fourth range is determined as a range indicating that the correlation is larger than the value,
In the determination of the deterministic delay amount in the encoding information determination means,
A correlation between the sample value sequence of the master channel whose time position difference is 0 and the frame signal of the encoding target channel (hereinafter referred to as “non-delay correlation value”) is also obtained.
When the optimum delay amount correlation value is a reference correlation value and the non-delay correlation value is within the fourth range, one or more including 0 is set as a definite delay amount,
In other cases, the multi-channel signal encoding apparatus is characterized in that one or more including the optimum delay amount is set as the definite delay amount.
請求項18記載の多チャネル信号符号化装置であって、
あらかじめ、基準の相関値よりも相関が小さいことを示す値を定め、その値よりも相関が大きいことを示す範囲として第4の範囲、その値よりも十分に相関が小さいことを示す範囲として第6の範囲、第4の範囲でも第6の範囲でもない範囲として第5の範囲、を定めておき、
前記符号化情報決定手段での確定遅延量の決定では、
時間位置の差が0のマスターチャネルのサンプル値列と符号化対象チャネルのフレーム信号との相関(以下、「無遅延相関値」という。)も求め、
最適遅延量相関値を基準の相関値として無遅延相関値が第4の範囲の場合は、0を含む1つ若しくは複数を確定遅延量として決定し、
最適遅延量相関値を基準の相関値として無遅延相関値が第5の範囲の場合は、前記最適遅延量を含む1つ若しくは複数を第1の確定遅延量として決定し、0を含む1つ若しくは複数を第2の確定遅延量として決定し、
最適遅延量相関値を基準の相関値として無遅延相関値が第6の範囲の場合は、前記最適遅延量を含む1つ若しくは複数を確定遅延量として決定し、
前記第5の範囲の場合には、
第1の確定遅延量と第2の確定遅延量のそれぞれに対する符号化対象信号に基づく符号列の符号量を比較し、または、第1の確定遅延量と第2の確定遅延量のそれぞれに対する符号化情報と符号化対象信号に基づく符号列との合計の符号量を比較し、符号量が少ない方を当該フレームの確定遅延量として選択する確定遅延量選択手段をさらに有する
ことを特徴とする多チャネル信号符号化装置。
The multi-channel signal encoding apparatus according to claim 18, wherein
A value indicating that the correlation is smaller than the reference correlation value is determined in advance, the fourth range as a range indicating that the correlation is higher than the value, and a range indicating that the correlation is sufficiently smaller than the value as the range. A fifth range is defined as a range that is neither the fourth range nor the sixth range,
In the determination of the deterministic delay amount in the encoding information determination means,
A correlation between the sample value sequence of the master channel whose time position difference is 0 and the frame signal of the encoding target channel (hereinafter referred to as “non-delayed correlation value”) is also obtained.
When the optimum delay amount correlation value is the reference correlation value and the non-delay correlation value is in the fourth range, one or more including 0 is determined as the determined delay amount,
When the optimum delay amount correlation value is the reference correlation value and the non-delay correlation value is in the fifth range, one or more including the optimum delay amount is determined as the first definite delay amount, and one including 0 Alternatively, a plurality is determined as the second fixed delay amount,
When the optimum delay amount correlation value is a reference correlation value and the non-delay correlation value is in the sixth range, one or more including the optimum delay amount is determined as a confirmed delay amount,
In the case of the fifth range,
The code amount of the code string based on the encoding target signal for each of the first and second deterministic delay amounts is compared, or the code for each of the first and second deterministic delay amounts And a deterministic delay amount selecting means for comparing the total code amount of the encoding information and the code string based on the encoding target signal and selecting the smaller code amount as the deterministic delay amount of the frame. Channel signal encoding device.
請求項18記載の多チャネル信号符号化装置であって、
あらかじめ、基準の相関値よりも相関が小さいことを示す値を定め、その値よりも相関が大きいことを示す範囲として第4の範囲、その値よりも十分に相関が小さいことを示す範囲として第6の範囲、第4の範囲でも第6の範囲でもない範囲として第5の範囲、を定めておき、
前記符号化情報決定手段での確定遅延量の決定では、
時間位置の差が0のマスターチャネルのサンプル値列と符号化対象チャネルのフレーム信号との相関(以下、「無遅延相関値」という。)も求め、
最適遅延量相関値を基準の相関値として無遅延相関値が第4の範囲の場合は、0を含む1つ若しくは複数を確定遅延量として決定し、
最適遅延量相関値を基準の相関値として無遅延相関値が第5の範囲の場合は、前記最適遅延量を含む1つ若しくは複数を第1の確定遅延量として決定し、0を含む1つ若しくは複数を第2の確定遅延量として決定し、
最適遅延量相関値を基準の相関値として無遅延相関値が第6の範囲の場合は、前記最適遅延量を含む1つ若しくは複数を確定遅延量として決定し、
前記第5の範囲の場合には、
前記符号化情報決定手段での重みの決定では、第1の確定遅延量と第2の確定遅延量のそれぞれに対する重みを生成し、
前記符号化対象信号生成手段では、第1の確定遅延量と第2の確定遅延量のそれぞれに対応する符号化対象信号を生成し、
第1の確定遅延量と第2の確定遅延量のそれぞれに対する符号化対象信号に基づく符号列の推定符号量を求める推定符号量算出手段と、
第1の確定遅延量と第2の確定遅延量のそれぞれに対する符号化対象信号に基づく符号列の推定符号量を比較し、推定符号量が少ない方を当該フレームの確定遅延量として選択する確定遅延量選択手段とをさらに有する
ことを特徴とする多チャネル信号符号化装置。
The multi-channel signal encoding apparatus according to claim 18, wherein
A value indicating that the correlation is smaller than the reference correlation value is determined in advance, the fourth range as a range indicating that the correlation is higher than the value, and a range indicating that the correlation is sufficiently smaller than the value as the range. A fifth range is defined as a range that is neither the fourth range nor the sixth range,
In the determination of the deterministic delay amount in the encoding information determination means,
A correlation between the sample value sequence of the master channel whose time position difference is 0 and the frame signal of the encoding target channel (hereinafter referred to as “non-delayed correlation value”) is also obtained.
When the optimum delay amount correlation value is the reference correlation value and the non-delay correlation value is in the fourth range, one or more including 0 is determined as the determined delay amount,
When the optimum delay amount correlation value is the reference correlation value and the non-delay correlation value is in the fifth range, one or more including the optimum delay amount is determined as the first definite delay amount, and one including 0 Alternatively, a plurality is determined as the second fixed delay amount,
When the optimum delay amount correlation value is a reference correlation value and the non-delay correlation value is in the sixth range, one or more including the optimum delay amount is determined as a confirmed delay amount,
In the case of the fifth range,
In the determination of the weight in the encoding information determination means, a weight is generated for each of the first determined delay amount and the second determined delay amount,
The encoding target signal generating means generates encoding target signals corresponding to each of the first deterministic delay amount and the second deterministic delay amount,
Estimated code amount calculating means for obtaining an estimated code amount of a code string based on a signal to be encoded with respect to each of the first determined delay amount and the second determined delay amount;
A deterministic delay in which the estimated code amount of the code string based on the encoding target signal for each of the first deterministic delay amount and the second deterministic delay amount is compared, and the smaller estimated code amount is selected as the deterministic delay amount of the frame A multi-channel signal encoding apparatus, further comprising: a quantity selection unit.
請求項18記載の多チャネル信号符号化装置であって、
あらかじめ相関が小さいことを示す第7の範囲と第8の範囲を定めておき、
前記符号化情報決定手段では、
前記時間位置の差が0のマスターチャネルのサンプル値列と符号化対象チャネルのフレーム信号との相関(以下、「無遅延相関値」という。)も求め、
無遅延相関値が前記第7の範囲であり、かつ最適遅延量相関値が前記第8の範囲の場合には、
マスターチャネルのサンプル値列との重み付け差分を符号化する代わりに、符号化対象チャネルのフレーム信号を符号化する
ことを特徴とする多チャネル信号符号化装置。
The multi-channel signal encoding apparatus according to claim 18, wherein
The seventh range and the eighth range indicating that the correlation is small are determined in advance,
In the encoded information determining means,
A correlation between the sample value sequence of the master channel whose time position difference is 0 and the frame signal of the encoding target channel (hereinafter referred to as “non-delay correlation value”) is also obtained.
When the no-delay correlation value is the seventh range and the optimum delay amount correlation value is the eighth range,
A multi-channel signal encoding apparatus that encodes a frame signal of a channel to be encoded instead of encoding a weighted difference with a sample value sequence of a master channel.
請求項23、24、または25のいずれかに記載の多チャネル信号符号化装置であって、
あらかじめ相関が小さいことを示す第7の範囲と第8の範囲を定めておき、
前記符号化情報決定手段では、
無遅延相関値が前記第7の範囲であり、かつ最適遅延量相関値が前記第8の範囲の場合には、
マスターチャネルのサンプル値列との重み付け差分を符号化する代わりに、符号化対象チャネルのフレーム信号を符号化する
ことを特徴とする多チャネル信号符号化装置。
A multi-channel signal encoding device according to any of claims 23, 24 or 25,
The seventh range and the eighth range indicating that the correlation is small are determined in advance,
In the encoded information determining means,
When the no-delay correlation value is the seventh range and the optimum delay amount correlation value is the eighth range,
A multi-channel signal encoding apparatus that encodes a frame signal of a channel to be encoded instead of encoding a weighted difference with a sample value sequence of a master channel.
請求項18から25のいずれかに記載の多チャネル信号符号化装置であって、
あらかじめ相関が大きいことを示す第9の範囲を定めておき、
前記時間位置の差が0のマスターチャネルのサンプル値列と符号化対象チャネルのフレーム信号との相関(以下、「無遅延相関値」という。)を求め、無遅延相関値が前記第9の範囲の場合には、前記最適遅延量計算手段を行わない判断をする無遅延相関値計算手段も有し、
前記符号化情報決定手段での確定遅延量の決定では、
無遅延相関値が第9の範囲の場合には、0を含む1つ若しくは複数を確定遅延量として決定する
ことを特徴とする多チャネル信号符号化装置。
The multi-channel signal encoding device according to any one of claims 18 to 25, comprising:
A ninth range indicating that the correlation is large is determined in advance,
The correlation between the sample value sequence of the master channel whose time position difference is 0 and the frame signal of the encoding target channel (hereinafter referred to as “non-delay correlation value”) is obtained, and the non-delay correlation value is the ninth range. In this case, it also has a non-delay correlation value calculation means for determining not to perform the optimum delay amount calculation means,
In the determination of the deterministic delay amount in the encoding information determination means,
When the non-delay correlation value is in the ninth range, one or a plurality including 0 is determined as the determined delay amount.
請求項1から17のいずれかに記載の方法の各ステップをコンピュータにより実行するプログラム。   The program which performs each step of the method in any one of Claim 1 to 17 with a computer. 請求項28記載のプログラムを記録したコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium on which the program according to claim 28 is recorded.
JP2006132922A 2006-05-11 2006-05-11 Multi-channel signal encoding method, apparatus using the method, program, and recording medium Active JP4714075B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006132922A JP4714075B2 (en) 2006-05-11 2006-05-11 Multi-channel signal encoding method, apparatus using the method, program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006132922A JP4714075B2 (en) 2006-05-11 2006-05-11 Multi-channel signal encoding method, apparatus using the method, program, and recording medium

Publications (2)

Publication Number Publication Date
JP2007304346A JP2007304346A (en) 2007-11-22
JP4714075B2 true JP4714075B2 (en) 2011-06-29

Family

ID=38838320

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006132922A Active JP4714075B2 (en) 2006-05-11 2006-05-11 Multi-channel signal encoding method, apparatus using the method, program, and recording medium

Country Status (1)

Country Link
JP (1) JP4714075B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ES2399562T3 (en) * 2006-10-13 2013-04-02 Auro Technologies Method and encoder for combining digital data sets, method for decoding and decoder for such combined digital data sets and recording medium for storing such combined digital data sets
US20100290629A1 (en) * 2007-12-21 2010-11-18 Panasonic Corporation Stereo signal converter, stereo signal inverter, and method therefor
JP2012252036A (en) * 2011-05-31 2012-12-20 Sony Corp Signal processing apparatus, signal processing method, and program
JP6267860B2 (en) * 2011-11-28 2018-01-24 三星電子株式会社Samsung Electronics Co.,Ltd. Audio signal transmitting apparatus, audio signal receiving apparatus and method thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3886482B2 (en) * 2003-10-10 2007-02-28 日本電信電話株式会社 Multi-channel encoding method, decoding method, apparatus, program and recording medium thereof
WO2006003993A1 (en) * 2004-07-02 2006-01-12 Nippon Telegraph And Telephone Corporation Multi-channel signal encoding method, decoding method, device thereof, program, and recording medium thereof
JP4348322B2 (en) * 2005-07-07 2009-10-21 日本電信電話株式会社 Multi-channel signal encoding method, multi-channel signal decoding method, apparatus using the methods, program, and recording medium

Also Published As

Publication number Publication date
JP2007304346A (en) 2007-11-22

Similar Documents

Publication Publication Date Title
JP6929868B2 (en) Audio signal decoding
JP5449624B2 (en) Apparatus and method for resolving ambiguity from direction of arrival estimates
JP5123516B2 (en) Decoding device, encoding device, decoding method, and encoding method
JP2011027825A (en) Device, and method for processing sound, and program
JP4714075B2 (en) Multi-channel signal encoding method, apparatus using the method, program, and recording medium
JP2024023484A (en) Sound signal downmixing method, sound signal downmixing device and program
JP2010136420A (en) Long-term prediction encoding method, long-term prediction decoding method, device thereof, program thereof
US20130066639A1 (en) Signal processing method, encoding apparatus thereof, and decoding apparatus thereof
JP3886482B2 (en) Multi-channel encoding method, decoding method, apparatus, program and recording medium thereof
JP2007187749A (en) New device for supporting head-related transfer function in multi-channel coding
JP4348322B2 (en) Multi-channel signal encoding method, multi-channel signal decoding method, apparatus using the methods, program, and recording medium
JP2016538578A (en) Concept for generating a downmix signal
JP2008203315A (en) Audio encoding/decoding device and method, and software
WO2021181746A1 (en) Sound signal downmixing method, sound signal coding method, sound signal downmixing device, sound signal coding device, program, and recording medium
WO2000063878A1 (en) Speech coder, speech processor, and speech processing method
JP5574498B2 (en) Encoding device, decoding device, and methods thereof
JP7380838B2 (en) Sound signal encoding method, sound signal decoding method, sound signal encoding device, sound signal decoding device, program and recording medium
Yang et al. Cascaded trellis-based rate-distortion control algorithm for MPEG-4 advanced audio coding
JP4816115B2 (en) Speech coding apparatus and speech coding method
WO2021181472A1 (en) Sound signal encoding method, sound signal decoding method, sound signal encoding device, sound signal decoding device, program, and recording medium
JP2009020427A (en) Noise suppression device
JP4738260B2 (en) Prediction delay search method, apparatus using the method, program, and recording medium
WO2023032065A1 (en) Sound signal downmixing method, sound signal encoding method, sound signal downmixing device, sound signal encoding device, and program
JP2004520757A (en) Inverse filtering method, synthesis filtering method, inverse filter device, synthesis filter device, and device having such a filter device
JP2018040917A (en) Decoder, decoding method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080804

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110217

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110315

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110325

R150 Certificate of patent or registration of utility model

Ref document number: 4714075

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350