KR101613979B1 - Method for decoding multichannel signal - Google Patents

Method for decoding multichannel signal Download PDF

Info

Publication number
KR101613979B1
KR101613979B1 KR1020150062653A KR20150062653A KR101613979B1 KR 101613979 B1 KR101613979 B1 KR 101613979B1 KR 1020150062653 A KR1020150062653 A KR 1020150062653A KR 20150062653 A KR20150062653 A KR 20150062653A KR 101613979 B1 KR101613979 B1 KR 101613979B1
Authority
KR
South Korea
Prior art keywords
information
phase parameter
signal
phase
frequency band
Prior art date
Application number
KR1020150062653A
Other languages
Korean (ko)
Other versions
KR20150058120A (en
Inventor
김중회
오은미
김미영
주기현
Original Assignee
삼성전자주식회사
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 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020150062653A priority Critical patent/KR101613979B1/en
Publication of KR20150058120A publication Critical patent/KR20150058120A/en
Application granted granted Critical
Publication of KR101613979B1 publication Critical patent/KR101613979B1/en

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/008Multichannel audio signal coding or decoding using interchannel correlation to reduce redundancy, e.g. joint-stereo, intensity-coding or matrixing
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/02Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis using spectral analysis, e.g. transform vocoders or subband vocoders
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04SSTEREOPHONIC SYSTEMS 
    • H04S3/00Systems employing more than two channels, e.g. quadraphonic
    • H04S3/008Systems employing more than two channels, e.g. quadraphonic in which the audio signals are in digital form, i.e. employing more than two discrete digital channels

Abstract

멀티 채널 신호의 부호화/복호화 장치 및 방법이 개시된다. 멀티 채널 신호의 부호화 장치는 부호화하는 멀티 채널 신호의 비트스트림에 멀티 채널을 구성하는 복수 채널의 위상 정보를 나타내는 위상 파라미터의 부호화 여부에 대한 정보를 삽입하고, 멀티 채널 복호화 장치는 부호화 여부에 대한 정보에 기초하여 위상 파라미터를 이용하여 모노 신호를 업 믹싱할지 여부를 결정한다.An apparatus and method for encoding / decoding multi-channel signals are disclosed. The apparatus for encoding a multi-channel signal inserts information on whether or not to encode a phase parameter indicating phase information of a plurality of channels constituting a multi-channel into a bit stream of a multi-channel signal to be encoded, And determines whether to upmix the mono signal using the phase parameter.

Description

멀티 채널 신호의 복호화방법 {METHOD FOR DECODING MULTICHANNEL SIGNAL}[0001] METHOD FOR DECODING MULTICHANNEL SIGNAL [0002]

본 발명의 실시예들은 멀티 채널 신호의 부호화/복호화 장치 및 방법에 관한 것으로서, 더욱 상세하게는 위상 정보를 이용한 멀티 채널 신호의 부호화/복호화 장치 및 방법과 관련한 것이다. Embodiments of the present invention relate to an apparatus and method for encoding / decoding a multi-channel signal, and more particularly to an apparatus and method for encoding / decoding a multi-channel signal using phase information.

스테레오 신호를 부호화하는데 이용되는 방법으로 파라메트릭 스테레오(PS, Parametric Stereo) 기술이 있다. 파라메트릭 스테레오 기술은 입력되는 스테레오 신호를 다운 믹싱하여 모노 신호를 생성하고, 스테레오 신호에 대한 부가 정보(side information)를 나타내는 스테레오 파라미터를 추출하고, 생성된 모노 신호와 추출된 스테레오 파라미터를 부호화하여 스테레오 신호를 부호화한다. A method used to encode a stereo signal is parametric stereo (PS) technology. The parametric stereo technique generates a mono signal by downmixing an input stereo signal, extracts a stereo parameter indicating side information on the stereo signal, codes the generated mono signal and the extracted stereo parameter, And encodes the signal.

이 경우 이용되는 스테레오 파라미터에는, 스테레오 신호에 포함된 적어도 두 채널 신호의 에너지 레벨에 따른 강도 차를 나타내는 IID(Inter-channel Intensity Difference) 혹은 CLD(channel level differences), 스테레오 신호에 포함된 적어도 두 채널 신호의 파형의 유사성에 따른 두 채널 신호 사이의 상관도를 나타내는 ICC(Inter-channel Coherence 혹은 Inter-channel Correlation), 스테레오 신호에 포함된 적어도 두 채널 신호 사이의 위상 차를 나타내는 IPD(Inter-channel Phase Difference), 스테레오 신호에 포함된 적어도 두 채널 신호 사이의 위상 차가 모노 신호를 기준으로 두 채널 사이에 어떻게 분포하는지를 나타내는 OPD(Overall Phase Difference) 등이 있다.In this case, the stereo parameters used include Inter-channel Intensity Difference (IID) or Channel Level Differences (CLD) indicating intensity differences according to energy levels of at least two channel signals included in the stereo signal, at least two channels (Inter-channel Coherence or Inter-channel Correlation) indicating the correlation between two channel signals according to the similarity of the waveform of the signal, an inter-channel coherence or inter-channel correlation And OPD (Overall Phase Difference) indicating how the phase difference between at least two channel signals included in the stereo signal is distributed between the two channels based on the mono signal.

위상 정보를 이용한 멀티 채널 신호의 부호화/복호화 장치 및 방법을 제공하는데 있다.And an apparatus and method for encoding / decoding multi-channel signals using phase information.

본 발명의 일실시예에 따른 멀티 채널 신호의 부호화 장치는 멀티 채널 신호를 구성하는 복수 채널의 위상 정보를 나타내는 위상 파라미터의 부호화 여부를 결정하여 부호화 정보를 생성하고, 상기 위상 파라미터의 부호화가 결정된 경우 상기 위상 파라미터를 부호화하는 파라미터 부호화부, 상기 멀티 채널 신호를 다운 믹싱한 모노 신호를 부호화하는 모노 신호 부호화부, 및 상기 위상 파라미터의 부호화가 결정된 경우, 상기 부호화된 모노 신호, 상기 부호화된 위상 파라미터, 및 상기 부호화 정보를 이용하여 상기 멀티 채널 신호에 대한 부호화된 비트스트림을 생성하는 비트스트림 생성부를 포함한다. The apparatus for encoding a multi-channel signal according to an embodiment of the present invention generates coding information by determining whether to encode a phase parameter indicating phase information of a plurality of channels constituting a multi-channel signal, and when encoding of the phase parameter is determined A mono signal encoding unit for encoding the mono signal obtained by downmixing the multi-channel signal; and a decoding unit for decoding the encoded mono signal, the encoded phase parameter, And a bitstream generator for generating an encoded bitstream for the multi-channel signal using the encoding information.

이 때, 상기 파라미터 부호화부가 상기 위상 파라미터의 부호화를 결정한 경우, 상기 비트스트림 생성부는 상기 부호화된 모노 신호 및 상기 부호화 정보를 이용하여 상기 멀티 채널 신호에 대한 부호화된 비트스트림을 생성할 수 있다. In this case, when the parameter encoding unit determines encoding of the phase parameter, the bitstream generation unit may generate an encoded bitstream for the multi-channel signal using the encoded mono signal and the encoding information.

또한, 본 발명의 일실시예에 따른 멀티 채널 신호의 복호화 장치는 멀티 채널 신호의 부호화된 비트스트림으로부터 상기 멀티 채널 신호의 다운 믹스 신호인 모노 신호를 복원하는 모노 신호 복호화부, 상기 멀티 채널 신호를 구성하는 복수 채널의 위상 파라미터가 상기 비트스트림에 존재하는지 여부를 확인하고, 상기 위상 파라미터가 상기 비트스트림에 존재하는 경우 상기 위상 파라미터가 적용될 상기 모노 신호의 주파수 대역을 결정하는 주파수 대역 결정부, 상기 비트스트림으로부터 상기 위상 파라미터를 복원하는 파라미터 복호화부, 및 상기 위상 파라미터를 상기 주파수 대역에 적용하여 상기 모노 신호를 업 믹싱하는 업 믹싱부를 포함한다. Also, an apparatus for decoding a multi-channel signal according to an embodiment of the present invention includes a mono signal decoding unit for decoding a mono signal, which is a downmix signal of the multi-channel signal, from a coded bit stream of a multi-channel signal, A frequency band determination unit for determining whether or not a phase parameter of a plurality of channels constituting the channel exists in the bitstream and for determining a frequency band of the mono signal to which the phase parameter is applied when the phase parameter is present in the bitstream; A parameter decoding unit for restoring the phase parameter from the bit stream, and an upmixing unit for upmixing the mono signal by applying the phase parameter to the frequency band.

또한, 본 발명의 일실시예에 따른 멀티 채널 신호의 부호화 방법은 멀티 채널 신호를 구성하는 복수 채널의 위상 정보를 나타내는 위상 파라미터의 부호화 여부를 결정하여 부호화 정보를 생성하는 단계, 상기 위상 파라미터의 부호화가 결정된 경우, 상기 위상 파라미터를 부호화하는 단계, 상기 멀티 채널 신호를 다운 믹싱한 모노 신호를 부호화하는 단계, 및 상기 위상 파라미터의 부호화가 결정된 경우, 상기 부호화된 모노 신호, 상기 부호화된 위상 파라미터 및 상기 부호화 정보를 이용하여 상기 멀티 채널 신호에 대한 부호화된 비트스트림을 생성하는 단계를 포함한다. According to another aspect of the present invention, there is provided a method of encoding a multi-channel signal, the method comprising: generating encoding information by determining whether to encode a phase parameter indicating phase information of a plurality of channels constituting a multi-channel signal; Encoding the mono signal by downmixing the multi-channel signal, and when the encoding of the phase parameter is determined, decoding the encoded mono signal, the encoded phase parameter, and the encoded phase parameter, And generating an encoded bit stream for the multi-channel signal using the encoding information.

또한, 본 발명의 일실시예에 따른 멀티 채널 신호의 복호화 방법은 멀티 채널 신호의 부호화된 비트스트림으로부터 상기 멀티 채널 신호의 다운 믹스 신호인 모노 신호를 복원하는 단계, 상기 멀티 채널 신호를 구성하는 복수 채널의 위상 파라미터가 상기 비트스트림에 존재하는지 여부를 확인하는 단계, 상기 위상 파라미터가 상기 비트스트림에 존재하는 경우 상기 위상 파라미터가 적용될 상기 모노 신호의 주파수 대역을 결정하는 단계, 상기 비트스트림으로부터 상기 위상 파라미터를 복원하는 단계, 및 상기 위상 파라미터를 상기 주파수 대역에 적용하여 상기 모노 신호를 업 믹싱하는 단계를 포함한다. According to another aspect of the present invention, there is provided a method of decoding a multi-channel signal, the method comprising: reconstructing a mono signal, which is a downmix signal of the multi-channel signal, from a coded bit stream of the multi- Determining whether a phase parameter of the channel is present in the bitstream, determining a frequency band of the mono signal to which the phase parameter is to be applied if the phase parameter is present in the bitstream, Restoring the parameter, and applying the phase parameter to the frequency band to upmix the mono signal.

본 발명의 일실시예에 따른 멀티 채널 신호의 부호화/복호화 장치 및 방법은 데이터 전송시 필요한 데이터의 양을 줄일 수 있다.An apparatus and method for encoding / decoding a multi-channel signal according to an embodiment of the present invention can reduce the amount of data required for data transmission.

본 발명의 일실시예에 따른 멀티 채널 신호의 부호화/복호화 장치 및 방법은 음질이 향상된 멀티 채널 오디오 신호를 제공할 수 있다. An apparatus and method for encoding / decoding a multi-channel signal according to an embodiment of the present invention can provide a multi-channel audio signal with improved sound quality.

도 1은 본 발명의 일실시예에 따른 멀티 채널 신호의 부호화 장치의 상세한 구성을 도시한 블록도이다.
도 2는 본 발명의 일실시예에 따른 멀티 채널 신호의 복호화 장치의 상세한 구성을 도시한 블록도이다.
도 3은 본 발명의 일실시예에 따른 멀티 채널 신호의 부호화 장치에 의해 부호화된 멀티 채널 신호의 비트스트림의 구조를 도시한 도면이다.
도 4 내지 도 8은 본 발명의 일실시예에 따른 멀티 채널 신호의 부호화 장치에 의해 생성된 비트스트림과 관련된 신택스를 도시한 도면이다.
도 9는 본 발명의 일실시예에 따른 멀티 채널 신호의 부호화 방법의 흐름도를 도시한 도면이다.
도 10은 본 발명의 일실시예에 따른 멀티 채널 신호의 복호화 방법의 흐름도를 도시한 도면이다.
도 11 내지 도 13은 본 발명의 다른 일실시예에 따른 멀티 채널 신호의 부호화 방법의 흐름도를 도시한 도면이다.
1 is a block diagram showing a detailed configuration of an apparatus for encoding a multi-channel signal according to an embodiment of the present invention.
2 is a block diagram showing a detailed configuration of an apparatus for decoding a multi-channel signal according to an embodiment of the present invention.
3 is a diagram illustrating a structure of a bit stream of a multi-channel signal encoded by an apparatus for encoding a multi-channel signal according to an embodiment of the present invention.
4 to 8 are diagrams showing a syntax related to a bit stream generated by an apparatus for encoding a multi-channel signal according to an embodiment of the present invention.
9 is a flowchart illustrating a method of encoding a multi-channel signal according to an embodiment of the present invention.
FIG. 10 is a flowchart illustrating a method of decoding a multi-channel signal according to an embodiment of the present invention. Referring to FIG.
11 to 13 are flowcharts illustrating a method of encoding a multi-channel signal according to another embodiment of the present invention.

이하, 본 발명에 따른 바람직한 실시예를 첨부된 도면을 참조하여 상세하게 설명한다.Hereinafter, preferred embodiments according to the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 일실시예에 따른 멀티 채널 신호의 부호화 장치의 상세한 구성을 도시한 블록도이다. 1 is a block diagram showing a detailed configuration of an apparatus for encoding a multi-channel signal according to an embodiment of the present invention.

본 발명의 일실시예에 따른 멀티 채널 신호의 부호화 장치(100)는 파라미터 부호화부(110), 모노 신호 부호화부(120), 및 비트스트림 생성부(130)을 포함한다. 이하, 각 구성 요소 별로 그 기능을 상술하기로 한다. 여기서, 멀티 채널 신호는 복수의 채널들의 신호를 의미하며, 본 명세서에서는 멀티 채널 신호에 포함된 복수의 채널들 각각을 채널 신호라고 하기로 한다.The apparatus 100 for encoding a multi-channel signal according to an exemplary embodiment of the present invention includes a parameter encoding unit 110, a mono signal encoding unit 120, and a bitstream generating unit 130. Hereinafter, the function of each component will be described in detail. Here, the multi-channel signal means a signal of a plurality of channels. In the present specification, each of a plurality of channels included in the multi-channel signal is referred to as a channel signal.

이하에서는, 설명의 편의상 멀티 채널 신호의 부호화 장치(100)에 입력되는 멀티 채널 신호는 좌채널 신호(L) 및 우채널 신호(R)를 포함하는 스테레오 신호를 부호화하는 것으로 가정한다. 그러나, 본 발명의 일실시예에 따른 멀티 채널 신호의 부호화 장치(100)가 스테레오 신호에 한정되지 않고 멀티 채널 신호의 부호화도 이용될 수 있음은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 자명하다고 할 수 있다. Hereinafter, for convenience of description, it is assumed that a multi-channel signal input to the multi-channel signal encoding apparatus 100 encodes a stereo signal including a left channel signal L and a right channel signal R. [ However, it is to be understood that the apparatus 100 for encoding a multi-channel signal according to an embodiment of the present invention is not limited to a stereo signal but can also use a multi-channel signal coding. .

파라미터 부호화부(110)는 스테레오 신호 또는 멀티 채널 신호(이하 스테레오 신호라고 한다)를 구성하는 복수 채널의 위상 정보를 나타내는 위상 파라미터의 부호화 여부를 결정하여 부호화 정보를 생성하고, 상기 위상 파라미터의 부호화가 결정된 경우 상기 위상 파라미터를 부호화한다. The parameter encoding unit 110 determines whether to encode a phase parameter indicating phase information of a plurality of channels constituting a stereo signal or a multi-channel signal (hereinafter, referred to as a stereo signal) to generate encoding information, And encodes the phase parameter if it is determined.

상기에서 언급한 바와 같이, 파라메트릭 스테레오 기술을 이용하여 스테레오 신호를 복원하는 경우에 이용되는 스테레오 파라미터에는, CLD, ICC, IPD, OPD 등이 있다. As mentioned above, there are CLD, ICC, IPD, OPD, and the like as the stereo parameters used when restoring the stereo signal using the parametric stereo technique.

일례로서, 파라미터 부호화부(110)는 파라미터 추출부를 포함할 수 있고, 이 경우, 스테레오 파라미터는 파라미터 추출부에 의해 추출된다. As an example, the parameter encoding unit 110 may include a parameter extracting unit. In this case, the stereo parameter is extracted by the parameter extracting unit.

이 때, 파라미터 부호화부(110)는 추출된 스테레오 파라미터 중에서 복수 채널의 위상 정보를 나타내는 위상 파라미터를 부호화 할지 여부를 결정하고, 부호화 정보를 생성한다. 즉, 부호화 정보는 비트스트림 생성부(130)에 의해 생성된 스테레오 신호에 대한 부호화된 비트스트림에 위상 파라미터가 포함되었는지에 대한 정보를 의미한다. 위상 파라미터를 부호화 할지 여부는 전송될 스테레오 신호에서의 위상 정보의 중요성에 기초하여 결정될 수 있다. 또한, 파라미터 부호화부(110)는 CLD 및 ICC를 부호화한다. At this time, the parameter encoding unit 110 determines whether or not to encode phase parameters indicating phase information of a plurality of channels among the extracted stereo parameters, and generates encoding information. That is, the encoding information indicates whether or not the phase parameter is included in the encoded bitstream of the stereo signal generated by the bitstream generator 130. Whether or not to encode the phase parameter can be determined based on the importance of the phase information in the stereo signal to be transmitted. In addition, the parameter coding unit 110 codes CLD and ICC.

본 발명의 일실시예에 따르면, 상기 부호화 정보는 하나의 비트에 의해 표현될 수 있다. 비트스트림에 부호화된 위상 파라미터가 포함된 경우, 상기 비트는 "1"의 값을 가지고, 비트스트림에 부호화된 위상 파라미터가 포함되지 않는 경우, 상기 비트는 "0"의 값을 가질 수 있다. According to an embodiment of the present invention, the encoding information may be represented by one bit. When the bit stream includes a coded phase parameter, the bit may have a value of " 1 "and the bit may have a value of" 0 " if the bit stream does not include a coded phase parameter.

위상 파라미터를 부호화하기로 결정한 경우, 파라미터 부호화부(110)는 위상 파라미터를 부호화하고, "1"값을 갖는 부호화 정보를 생성한다. 반대로, 위상 파라미터를 부호화하지 않기로 결정한 경우, 파라미터 부호화부(110)는 위상 파라미터를 부호화하지 않고, "0"값을 갖는 부호화 정보를 생성한다. When it is decided to encode the phase parameter, the parameter encoding unit 110 encodes the phase parameter and generates encoding information having a value of "1 ". Conversely, when it is decided not to encode the phase parameter, the parameter encoding unit 110 does not encode the phase parameter, but generates the encoding information having the value "0 ".

본 발명의 일실시예에 따르면, 위상 파라미터는 IPD와 OPD를 모두 포함할 수 있고, IPD만을 포함할 수 있다. OPD는 IPD 및 다른 스테레오 파라미터를 이용하여 추정될 수 있으므로, 위상 파라미터는 IPD만을 포함할 수 있다. 이에 대한 자세한 내용은 도 3의 멀티 채널 신호의 복호화 장치를 참고하여 설명하기로 한다. According to one embodiment of the present invention, the phase parameter may include both IPD and OPD, and may include only IPD. Since the OPD can be estimated using IPD and other stereo parameters, the phase parameter can only include the IPD. The multi-channel signal decoding apparatus of FIG. 3 will be described in detail with reference to FIG.

본 발명의 일실시예에 따르면, 파라미터 부호화부(110)는 다운 믹싱부를 포함할 수 있다. 다운 믹싱부는 스테레오 신호를 다운 믹싱하여 모노 신호를 생성한다. According to an embodiment of the present invention, the parameter encoding unit 110 may include a downmixing unit. The downmixing unit downmixes the stereo signal to generate a mono signal.

다운 믹싱(Down-Mixing)은 두 채널 이상의 스테레오 신호로부터 한 채널의 모노 신호를 생성하는 것이며, 다운 믹싱을 통하여 부호화 과정에 할당되는 비트량을 줄일 수 있다. 이 때, 모노 신호는 스테레오 신호를 대표하는 신호일 수 있다. 다시 말해, 부호화단에서 스테레오 신호에 포함된 좌채널 신호 및 우채널 신호 각각을 부호화하지 않고, 대표적으로 모노 신호만을 부호화하여 전송할 수 있다. 예를 들어, 모노 신호의 크기는 좌채널 신호 및 우채널 신호의 크기의 평균 값으로 구할 수 있고, 모노 신호의 위상은 좌채널 신호 및 우채널 신호의 위상의 평균 값으로 구할 수 있다.Down-Mixing generates mono signals of one channel from two or more stereo signals. Down-mixing reduces the amount of bits allocated to the encoding process. At this time, the mono signal may be a signal representative of the stereo signal. In other words, only the mono signal can be encoded and transmitted without encoding each of the left channel signal and the right channel signal included in the stereo signal at the encoding end. For example, the magnitude of the mono signal can be obtained as an average value of the magnitudes of the left channel signal and the right channel signal, and the phase of the mono signal can be obtained as an average value of the phases of the left channel signal and the right channel signal.

모노 신호 부호화부(120)는 스테레오 신호를 다운 믹싱한 모노 신호를 부호화한다. The mono signal encoding unit 120 encodes a mono signal obtained by downmixing a stereo signal.

일례로서, 스테레오 신호가 음성(voice) 신호인 경우, 모노 신호 부호화부(120)는 모노 신호를 CELP(Code Excited Linear Prediction) 방식으로 부호화할 수 있다.As an example, when the stereo signal is a voice signal, the mono signal encoding unit 120 may encode the mono signal in a CELP (Code Excited Linear Prediction) method.

또한, 다른 일례로서, 스테레오 신호가 음악(music) 신호인 경우, 모노 신호 부호화부(110)는 기존의 MPEG-2/4 AAC나 mp3와 유사한 방법을 사용하여 모노 신호를 부호화할 수 있다. As another example, when the stereo signal is a music signal, the mono signal encoding unit 110 may encode a mono signal using a method similar to the conventional MPEG-2/4 AAC or mp3.

비트스트림 생성부(130)은 부호화된 모노 신호를 이용하여 스테레오 신호에 대한 부호화된 비트스트림을 생성한다. The bitstream generator 130 generates an encoded bitstream for a stereo signal using the encoded mono signal.

본 발명의 일실시예에 따르면, 위상 파라미터를 부호화 하는 것으로 결정된 경우, 비트스트림 생성부(130)은 부호화된 모노 신호, 부호화된 위상 파라미터, 및 부호화 정보를 이용하여 스테레오 신호에 대한 부호화된 비트스트림을 생성한다. 일례로서, 비트스트림 생성부(130)은 부호화된 모노 신호, 부호화된 위상 파라미터, 및 부호화 정보를 다중화(Muxing)하여 비트스트림을 생성할 수 있다. According to an exemplary embodiment of the present invention, when it is determined to encode the phase parameter, the bitstream generator 130 generates an encoded bitstream for the stereo signal using the encoded mono signal, the encoded phase parameter, . As an example, the bitstream generator 130 may generate a bitstream by multiplexing the encoded mono signal, the encoded phase parameter, and the encoded information.

본 발명의 다른 실시예에 따르면, 위상 파라미터를 부호화를 하지 않는 것으로 결정된 경우, 비트스트림 생성부(130)은 부호화된 모노 신호, 및 부호화 정보를 이용하여 스테레오 신호에 대한 부호화된 비트스트림을 생성한다. 이 경우에도 비트스트림 생성부(130)는 다중화 방법을 이용하여 비트스트림을 생성할 수 있다. According to another embodiment of the present invention, when it is determined that the phase parameter is not encoded, the bitstream generator 130 generates an encoded bitstream for the stereo signal using the encoded mono signal and the encoded information . Also in this case, the bitstream generator 130 can generate a bitstream using the multiplexing method.

또한, 상기 언급한 바와 같이, 파라미터 부호화부(110)는 CLD, ICC도 부호화하므로, 비트스트림 생성부(130)는 위상 파라미터의 부호화 여부와 관계없이 비트스트림 생성시 부호화된 CLD, ICC를 이용한다. As described above, since the parameter encoding unit 110 also encodes the CLD and ICC, the bitstream generating unit 130 uses the encoded CLD and ICC when generating the bit stream regardless of whether the phase parameter is encoded or not.

이와 같이, 본 발명의 일실시예에 따른 멀티 채널 신호의 부호화 장치(100)는 선택적으로 위상 파라미터를 부호화하고, 이를 비트스트림에 삽입하여 전송할 수 있다. 이에 따라, 본 발명의 일실시예에 따른 멀티 채널 신호의 부호화 장치(100)는 위상 파라미터를 사용하지 않고 스테레오 신호를 부호화/복호화하는 경우와 비교할 때, 보다 향상된 음질의 스테레오 신호를 제공할 수 있고, 위상 파라미터를 항상 사용하여 스테레오 신호를 부호화/복호화하는 경우와 비교할 때, 전송되는 데이터량을 줄일 수 있게 된다. As described above, the apparatus 100 for encoding a multi-channel signal according to an embodiment of the present invention can selectively encode phase parameters and insert them into a bitstream for transmission. Accordingly, the apparatus 100 for encoding a multi-channel signal according to an embodiment of the present invention can provide a stereo signal with improved sound quality compared to a case in which a stereo signal is encoded / decoded without using a phase parameter , It is possible to reduce the amount of data to be transmitted as compared with the case of encoding / decoding the stereo signal by always using the phase parameter.

상기 언급한 바와 같이, 위상 파라미터를 부호화 할지 여부는 전송될 스테레오 신호에서의 위상 정보의 중요성에 기초하여 결정될 수 있는데, 본 발명의 일실시예에 따르면, 파라미터 부호화부(110)는 복수 채널간의 간섭성(coherence)과 복수 채널 간의 상관성(correlation)의 차, 및 스테레오 신호에 포함된 복수의 프레임의 위상 정보의 연속성 중에서 적어도 하나를 고려하여 위상 파라미터의 부호화 여부를 결정할 수 있다. As mentioned above, whether or not to encode the phase parameters can be determined based on the importance of the phase information in the stereo signal to be transmitted. According to an embodiment of the present invention, the parameter encoding unit 110 encodes It is possible to determine whether to encode the phase parameter considering at least one of the correlation between the coherence and the plurality of channels and the continuity of the phase information of a plurality of frames included in the stereo signal.

즉, 복수 채널간의 간섭성과 복수 채널 간의 상관성의 차가 큰 경우, 위상 정보가 지각적으로 중요한 의미를 나타내므로, 이 경우, 파라미터 부호화부(110)는 위상 파라미터의 부호화를 결정한다. 복수 채널간의 간섭성은 위상 정보를 이용한 복수 채널간의 간섭성일 수 있다. That is, when the difference between the coherence between a plurality of channels and the correlation between a plurality of channels is large, the phase information has a perceptually significant meaning. In this case, the parameter coding unit 110 determines the coding of the phase parameters. The coherence between a plurality of channels may be interference between a plurality of channels using phase information.

또한, 스테레오 신호에 포함된 복수의 프레임의 위상값이 연속적으로 변하는 경우, 이는 스테레오 이미지가 위상에 따라 연속적으로 변하는 것을 의미하므로, 이 경우, 파라미터 부호화부(110)는 위상 파라미터의 부호화를 결정한다. 반대로, 위상 값이 랜덤하게 변하는 경우, 파라미터 부호화부(110)는 위상 파라미터의 부호화 하지 않는 것으로 결정한다. When the phase values of a plurality of frames included in the stereo signal continuously change, this means that the stereo image continuously changes in phase. In this case, the parameter coding unit 110 determines the coding of the phase parameters . Conversely, when the phase value changes randomly, the parameter coding unit 110 decides not to encode the phase parameter.

본 발명의 일실시예에 따르면, 비트스트림 생성부(130)에서 생성된 비트스트림은 헤더 및 복수의 프레임을 포함하고, 부호화 정보는 헤더 또는 복수의 프레임 각각에 삽입될 수 있다. According to an embodiment of the present invention, the bitstream generated by the bitstream generator 130 may include a header and a plurality of frames, and the encoding information may be embedded in a header or a plurality of frames, respectively.

복호화 장치에서 위상 파라미터를 이용하여 모노 신호를 업 믹싱하는 경우, 위상 파라미터 뿐만 아니라, 위상 파라미터가 적용될 모노 신호의 주파수 대역에 관한 정보, 즉 어느 주파수 대역까지 위상 파라미터를 이용하여 모노 신호를 업 믹싱할 지에 대한 정보가 필요할 수 있다. When a mono signal is upmixed by using a phase parameter in a decoding apparatus, not only a phase parameter but also information related to a frequency band of a mono signal to which a phase parameter is applied, that is, upmix You may need information about your location.

따라서, 본 발명의 일실시예에 따르면, 위상 파라미터의 부호화가 결정된 경우, 비트스트림 생성부(130)는 모노 신호의 주파수 대역 정보를 더 이용하여 상기 부호화된 비트스트림을 생성할 수 있다. 이 때, 주파수 대역 정보는 모노 신호가 업 믹싱되는 경우 위상 파라미터가 적용될 주파수 대역에 관한 정보를 의미한다. 즉, 주파수 대역 정보는 복호화 장치에서 모노 신호를 업 믹싱하는 경우, 상기 위상 파라미터가 적용될 주파수 대역에 관한 정보를 의미한다. Therefore, according to an embodiment of the present invention, when the phase parameter encoding is determined, the bitstream generation unit 130 can generate the encoded bitstream by further using the frequency band information of the mono signal. In this case, the frequency band information means information about a frequency band to which the phase parameter is applied when the mono signal is upmixed. That is, the frequency band information means information about a frequency band to which the phase parameter is applied when up-mixing a mono signal in a decoding apparatus.

본 발명의 일실시예에 따르면, 주파수 대역 정보는 위상 파라미터가 적용될 주파수 대역의 개수를 포함할 수 있다. 이 경우, 상기 모노 신호의 복수의 주파수 대역 중에서 상기 개수만큼의 저 주파수 대역이 위상 파라미터가 적용될 주파수 대역으로 선택될 수 있다. According to an embodiment of the present invention, the frequency band information may include the number of frequency bands to which the phase parameter is applied. In this case, the low frequency bands of the number of the plurality of frequency bands of the mono signal may be selected as the frequency bands to which the phase parameters are to be applied.

예를 들어, 모노 신호의 주파수가 28 개의 주파수 대역으로 분할되고, 상기 주파수 대역의 개수가 14인 경우, 위상 파라미터가 적용될 주파수 대역은 주파수가 작은 하위 14개의 주파수 대역일 수 있다. 이는 위상 파라미터가 저 주파수 영역에서 더욱 중요한 의미를 지닌다는 사실에 기초한 것이다. For example, when the frequency of the mono signal is divided into 28 frequency bands and the number of the frequency bands is 14, the frequency band to which the phase parameter is applied may be the lower 14 frequency bands. This is based on the fact that phase parameters have more significance in the low frequency domain.

이 때, 모노 신호의 주파수가 7 개의 이하의 주파수 대역으로 분할되는 경우에는 비트스트림의 중요성이 현저히 낮아지므로, 이 경우, 상기 주파수 대역의 개수는 0 개가 될 수 있다. 즉, 모노 신호의 업 믹싱시 위상 파라미터를 이용하지 않는다. In this case, when the frequency of the mono signal is divided into seven or less frequency bands, the importance of the bit stream is significantly reduced. In this case, the number of the frequency bands may be zero. That is, phase parameters are not used in upmixing a mono signal.

본 발명의 일실시예에 따르면, 파라미터 부호화부(110)는 CLD 및 ICC 중에서 적어도 하나를 더 부호화화고, 비트스트림 생성부(130)는 CLD 및 ICC 중에서 적어도 하나를 더 이용하여 상기 비트스트림을 생성하고, 상기 주파수 대역 정보를 표현하는 비트수는 모노 신호가 업 믹싱되는 경우, CLD 및 ICC 중에서 적어도 하나가 적용될 주파수 대역의 개수에 기초하여 결정될 수 있다. According to an embodiment of the present invention, the parameter encoding unit 110 further encodes at least one of CLD and ICC, and the bitstream generation unit 130 generates at least one of CLD and ICC to generate the bitstream And the number of bits representing the frequency band information may be determined based on the number of frequency bands to which at least one of CLD and ICC is applied when the mono signal is upmixed.

즉, 위상 파라미터가 적용될 주파수 대역의 개수는 CLD 또는 ICC가 적용될 파수 대역의 개수에 기초하여 결정될 수 있다. 일례로서, 위상 파라미터가 적용될 주파수 대역의 개수는 CLD 또는 ICC가 적용될 파수 대역의 개수는 동일할 수 있고, 다른 일례로, CLD 또는 ICC가 적용될 파수 대역의 개수는 위상 파라미터가 적용될 주파수 대역의 개수의 2배가 될 수도 있다. That is, the number of frequency bands to which the phase parameter is to be applied can be determined based on the number of frequency bands to which CLD or ICC is applied. As an example, the number of frequency bands to which the phase parameter is applied may be the same as the number of frequency bands to which CLD or ICC is applied, and in another example, the number of frequency bands to which CLD or ICC is applied may be It may be doubled.

본 발명의 일실시예에 따르면, 주파수 대역 정보는 위상 파라미터가 적용될 주파수 대역의 개수의 갱신 여부에 대한 정보를 더 포함할 수 있다. According to an embodiment of the present invention, the frequency band information may further include information on whether the number of frequency bands to which the phase parameter is to be updated is updated.

즉, 상기 갱신 여부에 대한 정보는 부호화하는 현재 프레임에서의 위상 파라미터가 적용될 주파수 대역의 개수와, 이전 프레임에서의 위상 파라미터가 적용될 주파수 대역의 개수가 동일한지 여부를 나타낸다. That is, the update information indicates whether the number of frequency bands to which the phase parameter in the current frame to be encoded is to be applied is equal to the number of frequency bands to which the phase parameter in the previous frame is to be applied.

일례로서, 상기 갱신 여부에 대한 정보는 하나의 비트에 의해 표현될 수 있다. 현재 프레임에서의 위상 파라미터가 적용될 주파수 대역의 개수와 이전 프레임에서의 위상 파라미터가 적용될 주파수 대역의 개수가 동일하지 않은 경우, 상기 비트는 "1"의 값을 가지고, 현재 프레임에서의 위상 파라미터가 적용될 주파수 대역의 개수와 이전 프레임에서의 위상 파라미터가 적용될 주파수 대역의 개수가 동일한 경우 상기 비트는 "0"의 값을 가질 수 있다. As an example, the information on whether or not to update can be represented by one bit. If the number of frequency bands to which the phase parameter in the current frame is to be applied is not equal to the number of frequency bands to which the phase parameter in the previous frame is to be applied, the bit has a value of "1 & The bit may have a value of "0" if the number of frequency bands and the number of frequency bands to which the phase parameter in the previous frame is to be applied are the same.

만약, 상기 갱신 여부에 대한 정보가 "1"의 값을 갖는 경우, 주파수 대역 정보는 위상 파라미터가 적용될 모노 신호의 주파수 대역 개수를 포함한다. 반대로, 상기 갱신 여부에 대한 정보가 "0"의 값을 갖는 경우, 주파수 대역 정보는 위상 파라미터가 적용될 모노 신호의 주파수 대역 개수를 포함하지 않는다. If the information on whether to update is "1", the frequency band information includes the number of frequency bands of the mono signal to which the phase parameter is applied. Conversely, when the information on whether or not to update is "0", the frequency band information does not include the number of frequency bands of the mono signal to which the phase parameter is applied.

이와 같이, 본 발명의 일실시예에 따른 멀티 채널 신호의 부호화 장치(100)는 위상 파라미터가 적용될 주파수 대역의 개수의 갱신 여부에 대한 정보를 사용함으로써, 불필요한 정보를 중복하여 부호화하는 것을 방지하고, 전송되는 데이터량을 줄일 수 있다. As described above, the apparatus 100 for encoding a multi-channel signal according to an embodiment of the present invention uses information on whether the number of frequency bands to which a phase parameter is applied is updated, thereby preventing redundant encoding of unnecessary information, The amount of transmitted data can be reduced.

본 발명의 일실시예에 따르면, 주파수 대역 정보는 헤더 또는 복수의 프레임 각각에 삽입될 수 있다. 일례로서, 부호화 정보가 헤더에 삽입되는 경우, 주파수 대역 정보 역시 헤더에 삽입될 수 있고, 부호화 정보가 복수의 프레임 각각에 삽입되는 경우, 주파수 대역 정보 역시 복수의 프레임 각각에 삽입될 수 있다. According to an embodiment of the present invention, the frequency band information may be inserted into the header or each of the plurality of frames. As an example, when encoding information is inserted into a header, frequency band information may be inserted into the header, and when encoding information is inserted into each of a plurality of frames, frequency band information may be inserted into each of the plurality of frames.

본 발명의 일실시예에 따르면, 파라미터 부호화부(110)는 멀티 채널 신호에 포함된 복수의 프레임의 위상 정보를 비교하여 위상 파라미터의 부호화 여부를 결정할 수 있다. According to an embodiment of the present invention, the parameter encoding unit 110 may determine whether to encode the phase parameters by comparing phase information of a plurality of frames included in the multi-channel signal.

즉, 부호화하는 현재 프레임에서의 위상 정보가 이전 프레임에서의 위상 정보와 동일한 경우, 파라미터 부호화부(110)는 위상 파라미터를 부호화하지 않을 수 있다. 이 경우, 파라미터 부호화부(110)은 위상 파라미터가 갱신되지 않음을 나타내는 위상 파라미터 갱신 정보를 생성할 수 있고, 위상 파라미터 갱신 정보는 비트스트림에 포함되어 전송될 수 있다. 위상 파라미터가 갱신되지 않은 경우, 복호화 장치는 이전 프레임의 위상 파라미터를 이용하여 모노 신호를 업믹싱할 수 있다. That is, when the phase information in the current frame to be encoded is the same as the phase information in the previous frame, the parameter encoding unit 110 may not encode the phase parameter. In this case, the parameter encoding unit 110 can generate the phase parameter update information indicating that the phase parameter is not updated, and the phase parameter update information can be included in the bit stream and transmitted. If the phase parameter is not updated, the decoding apparatus can upmix the mono signal using the phase parameter of the previous frame.

도 2는 본 발명의 일실시예에 따른 멀티 채널 신호의 복호화 장치의 상세한 구성을 도시한 블록도이다. 2 is a block diagram showing a detailed configuration of an apparatus for decoding a multi-channel signal according to an embodiment of the present invention.

본 발명의 일실시예에 따른 멀티 채널 신호의 복호화 장치(200)는 모노 신호 복호화부(210), 주파수 대역 결정부 (220), 파라미터 복호화부(230), 및 업 믹싱부(240)을 포함한다. 이하, 각 구성 요소 별로 그 기능을 상술하기로 한다. An apparatus 200 for decoding a multi-channel signal according to an exemplary embodiment of the present invention includes a mono signal decoding unit 210, a frequency band determining unit 220, a parameter decoding unit 230, and an upmixing unit 240 do. Hereinafter, the function of each component will be described in detail.

이하에서도, 설명의 편의상, 멀티 채널 신호의 복호화 장치(200)에 입력되는 비트스트림은 스테레오 신호의 부호화된 비트스트림인 것으로 가정한다. Hereinafter, for the sake of convenience, it is assumed that the bit stream input to the multi-channel signal decoding apparatus 200 is a coded bit stream of a stereo signal.

또한, 입력되는 비트스트림은 부호화된 모노 신호, 부호화된 스테레오 파라미터, 및 부호화된 주파수 대역 정보로 역다중화 된 것으로 가정한다. It is also assumed that the input bit stream is demultiplexed with the encoded mono signal, the encoded stereo parameter, and the encoded frequency band information.

모노 신호 복호화부(210)는 스테레오 신호 또는 멀티 채널 신호(이하 스테레오 신호라고 한다)의 부호화된 비트스트림으로부터 상기 멀티 채널 신호의 다운 믹스 신호인 모노 신호를 복원한다. 구체적으로, 모노 신호 복호화부(210)는 모노 신호가 시간 도메인에서 부호화된 경우에는 부호화된 모노 신호를 시간 도메인에서 복호화하고, 모노 신호가 주파수 도메인에서 부호화된 경우에는 부호화된 모노 신호를 주파수 도메인에서 복호화할 수 있다.The mono signal decoding unit 210 restores a mono signal, which is a downmix signal of the multi-channel signal, from a coded bit stream of a stereo signal or a multi-channel signal (hereinafter referred to as a stereo signal). Specifically, when the mono signal is coded in the time domain, the mono signal decoding unit 210 decodes the coded mono signal in the time domain, and when the mono signal is coded in the frequency domain, It can be decoded.

다음으로, 주파수 대역 결정부(220)는 멀티 채널 신호를 구성하는 복수 채널의 위상 파라미터가 비트스트림에 존재하는지 여부를 확인하고, 위상 파라미터가 비트스트림에 존재하는 경우 위상 파라미터가 적용될 모노 신호의 주파수 대역을 결정한다. Next, the frequency band determining unit 220 determines whether or not the phase parameters of the plurality of channels constituting the multi-channel signal are present in the bitstream, and when the phase parameter exists in the bitstream, Band.

일례로서, 주파수 대역 결정부(220)는 비트스트림에 포함된 부호화 정보를 확인하여 위상 파라미터가 비트스트림에 존재하는지 여부를 확인할 수 있다. As an example, the frequency band determining unit 220 can check the encoding information included in the bitstream and check whether the phase parameter is present in the bitstream.

파라미터 복호화부(230)는 비트스트림으로부터 상기 멀티 채널 신호를 구성하는 복수 채널의 위상 파라미터를 복원한다. 일례로서, 파라미터 복호화부(230)는 비트스트림에 포함된 부호화 정보를 복원하여, 비트스트림에 위상 파라미터가 포함되었는지 여부를 판단하고, 포함된 경우, 위상 파라미터의 복원을 수행할 수 있다. The parameter decoding unit 230 restores phase parameters of a plurality of channels constituting the multi-channel signal from the bit stream. As an example, the parameter decoding unit 230 may restore the coding information included in the bitstream, determine whether or not the phase parameter is included in the bitstream, and perform restoration of the phase parameter, if included.

또한, 파라미터 복호화부(230)는 위상 파라미터 이외에, CLD, ICC 등과 같이 비트스트림에 포함된 다른 스테레오 파라미터도 복원한다. In addition to the phase parameters, the parameter decoding unit 230 also restores other stereo parameters included in the bit stream such as CLD, ICC, and the like.

상기 언급한 바와 같이, 위상 파라미터는 IPD와 OPD를 모두 포함할 수 있고, IPD만을 포함할 수 있는데, 위상 파라미터가 IPD와 OPD를 모두 포함하는 경우, 파라미터 복호화부(230)은 비트스트림으로부터 IPD와 OPD를 복원할 수 있다. As described above, the phase parameter may include both IPD and OPD, and may include only IPD. If the phase parameter includes both IPD and OPD, the parameter decoding unit 230 extracts the IPD and the OPD from the bitstream. OPD can be restored.

위상 파라미터가 IPD만을 포함하는 경우, OPD는 IPD 및 다른 스테레오 파라미터들로부터 추정될 수 있다. 이하에서, OPD의 추정은 파라미터 복호화부(230)에 포함된 OPD 추정부에 의해 수행되는 것으로 가정하고, OPD 추정부의 동작을 자세히 설명하기로 한다. 여기서, 후술된 수학식들은 본 발명의 일 실시예에 불과하고, 후술된 수학식들은 변형이 가능함은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 자명하다고 할 수 있다. If the phase parameter includes only the IPD, the OPD can be estimated from the IPD and other stereo parameters. Hereinafter, the operation of the OPD estimator will be described in detail, assuming that the estimation of the OPD is performed by the OPD estimator included in the parameter decoder 230. [ Hereinafter, the formulas described below are only examples of the present invention, and it will be apparent to those skilled in the art that the formulas described below can be modified.

먼저, OPD 추정부는 IID를 이용하여 제1 중간 변수 c를 다음 수학식 1에 따라 구할 수 있다.First, the OPD estimator can obtain the first intermediate variable c using the IID according to the following equation (1).

<수학식 1>&Quot; (1) &quot;

Figure 112015043055894-pat00001
Figure 112015043055894-pat00001

여기서, b는 주파수 밴드의 인덱스를 나타낸다. 수학식 1과 같이, 제1 중간 변수 c는 특정 주파수 밴드에서의 IID 값을 20으로 나눈 수를 10의 지수 형태로 표현함으로써 구할 수 있다. 이 때, 제1 중간 변수 c를 이용하여 다음 수학식 5 및 6과 같이 제2 중간 변수 c1 및 제3 중간 변수 c2를 구할 수 있다.Here, b represents an index of a frequency band. As shown in Equation (1), the first intermediate variable c can be obtained by expressing the number obtained by dividing the IID value in the specific frequency band by 20 in an exponential form of 10. At this time, the second intermediate variable c 1 and the third intermediate variable c 2 can be obtained by using the first intermediate variable c as shown in the following equations (5) and (6).

<수학식 2>&Quot; (2) &quot;

Figure 112015043055894-pat00002
Figure 112015043055894-pat00002

<수학식 3>&Quot; (3) &quot;

Figure 112015043055894-pat00003
Figure 112015043055894-pat00003

즉, 제3 중간 변수 c2는 제2 중간 변수 c1의 값에 c(b)를 곱한 값으로 구할 수 있다.That is, the third intermediate variable c2 can be calculated as the product of the c (b) to the value of c 1 a second intermediate variable.

다음으로, OPD 추정부는 복원된 모노 신호 및 수학식 2 및 수학식 3에서 구한 제2 중간 변수 및 제3 중간 변수를 이용하여 제1 우채널 신호와 제1 좌채널 신호를 다음 수학식 4 및 수학식 5과 같이 나타낼 수 있다.Next, the OPD estimator calculates the first right channel signal and the first left channel signal using the restored mono signal and the second intermediate variable and the third intermediate variable obtained by Equations 2 and 3 using Equation 4 and Equation Can be expressed as Equation 5.

<수학식 4>&Quot; (4) &quot;

Figure 112015043055894-pat00004
Figure 112015043055894-pat00004

여기서, n은 시간 슬롯 인덱스이며, k는 파라미터 밴드 인덱스를 나타낸다. 제1 우채널 신호

Figure 112015043055894-pat00005
는 제2 중간 변수 c1과 복원된 모노 신호 M의 곱으로 나타낼 수 있다.Where n is the time slot index and k is the parameter band index. The first right channel signal
Figure 112015043055894-pat00005
Can be expressed as the product of the second intermediate variable c 1 and the restored mono signal M.

<수학식 5>Equation (5)

Figure 112015043055894-pat00006
Figure 112015043055894-pat00006

제1 좌채널 신호

Figure 112015043055894-pat00007
는 제2 중간 변수 c2와 복원된 모노 신호 M의 곱으로 나타낼 수 있다.The first left channel signal
Figure 112015043055894-pat00007
Can be expressed as the product of the second intermediate variable c 2 and the restored mono signal M.

이 때, IPD를

Figure 112015043055894-pat00008
라고 하면, 제1 모노 신호
Figure 112015043055894-pat00009
는 제1 우채널 신호
Figure 112015043055894-pat00010
및 제2 좌채널 신호
Figure 112015043055894-pat00011
를 이용하여 다음 수학식 6와 같이 나타낼 수 있다. At this time,
Figure 112015043055894-pat00008
, The first mono signal
Figure 112015043055894-pat00009
Lt; RTI ID = 0.0 &gt;
Figure 112015043055894-pat00010
And the second left channel signal
Figure 112015043055894-pat00011
Can be expressed by the following Equation (6).

<수학식 6>
&Quot; (6) &quot;

Figure 112015043055894-pat00012
Figure 112015043055894-pat00012

또한, 수학식 3 내지 6을 이용하여, 시간 슬롯과 파라미터 밴드에 따른 제4 중간 변수 p는 다음 수학식 7과 같이 구할 수 있다.Further, using Equations (3) to (6), the fourth intermediate variable p according to the time slot and the parameter band can be obtained by the following Equation (7).

<수학식 7>&Quot; (7) &quot;

Figure 112015043055894-pat00013
Figure 112015043055894-pat00013

여기서, 제4 중간 변수 p는 제1 좌채널 신호, 제1 우채널 신호, 및 제1 모노 신호의 크기의 합을 2로 나눈 값으로 한다. 이 때, OPD의 값을

Figure 112015043055894-pat00014
라 할 때, OPD는 다음 수학식 8과 같이 구할 수 있다.Here, the fourth intermediate variable p is a value obtained by dividing the sum of the sizes of the first left channel signal, the first right channel signal, and the first mono signal by two. At this time, the value of OPD
Figure 112015043055894-pat00014
, The OPD can be obtained by the following equation (8).

<수학식 8>&Quot; (8) &quot;

Figure 112015043055894-pat00015
Figure 112015043055894-pat00015

또한, OPD와 IPD의 차에 해당하는 값을

Figure 112015043055894-pat00016
라 할 때,
Figure 112015043055894-pat00017
은 다음 수학식 9와 같이 구할 수 있다.Also, the value corresponding to the difference between OPD and IPD
Figure 112015043055894-pat00016
In other words,
Figure 112015043055894-pat00017
Can be obtained by the following equation (9).

<수학식 9>&Quot; (9) &quot;

Figure 112015043055894-pat00018
Figure 112015043055894-pat00018

수학식 8에서 구한 OPD의 값인

Figure 112015043055894-pat00019
은 복호화된 모노 신호와 업믹싱될 좌채널 신호 사이의 위상 차이고, 수학식 9에서 구한 값인
Figure 112015043055894-pat00020
는 복호화된 모노 신호와 업믹싱될 우채널 신호 사이의 위상 차를 나타낸다.The value of OPD obtained from equation (8)
Figure 112015043055894-pat00019
Is a phase difference between the decoded mono signal and the left channel signal to be upmixed,
Figure 112015043055894-pat00020
Represents the phase difference between the decoded mono signal and the right channel signal to be upmixed.

이와 같이, OPD 추정부는 스테레오 신호의 채널 간 크기 차를 나타내는 IID를 이용하여 복원된 모노 신호로부터 좌채널 신호 및 우채널 신호에 대한 제1 좌채널 신호 및 제1 우채널 신호를 생성하고, 스테레오 신호의 채널 간 위상 차를 나타내는 IPD를 이용하여 제1 좌채널 신호 및 제1 우채널 신호로부터 제1 모노 신호를 생성하며, 생성된 제1 좌채널 신호, 제1 우채널 신호, 및 제1 모노 신호를 이용하여 복원된 모노 신호와 스테레오 신호의 위상 차를 나타내는 OPD의 값을 추정할 수 있다.In this manner, the OPD estimator generates the first left channel signal and the first right channel signal for the left channel signal and the right channel signal from the restored mono signal using the IID indicating the difference between channels of the stereo signal, The first left channel signal, the first right channel signal, and the first mono signal from the first left channel signal and the first right channel signal using the IPD representing the inter-channel phase difference of the first left channel signal, The value of OPD representing the phase difference between the restored mono signal and the stereo signal can be estimated.

업 믹싱부(240)는 위상 파라미터를 상기 주파수 대역에 적용하여 상기 모노 신호를 업 믹싱하여 스테레오 신호를 복원한다. The upmixer 240 applies a phase parameter to the frequency band to upmix the mono signal to recover the stereo signal.

업 믹싱은 한 채널의 모노 신호로부터 두 채널 이상의 스테레오 신호를 생성하는 것으로 다운 믹싱과 대응된다.Upmixing corresponds to downmixing by generating more than two channels of stereo signals from a mono signal of one channel.

업 믹싱부(240)는 모노 신호 업 믹싱시 CLD, ICC 등의 다른 스테레오 파라미터를 함께 적용하여 모노 신호를 업 믹싱한다. 이하에서는 CLD, ICC, IPD 및 OPD를 이용하여 모노 신호를 업 믹싱하는 업 믹싱부(240)의 구체적인 동작에 대해 설명하기로 한다. The upmixing unit 240 upmixes the mono signal by applying other stereo parameters such as CLD, ICC, and the like together in the mono signal upmixing. Hereinafter, the specific operation of the upmixing unit 240 for upmixing the mono signal using CLD, ICC, IPD, and OPD will be described.

먼저, 업 믹싱부(240)는 IIC의 값이

Figure 112015043055894-pat00021
일 때, 제2 및 제3 중간 변수 c1 및 c2를 이용하여 제1 위상
Figure 112015043055894-pat00022
및 제2 위상
Figure 112015043055894-pat00023
을 다음 수학식 13 및 14와 같이 구할 수 있다.First, the upmixer 240 receives the value of the IIC
Figure 112015043055894-pat00021
, The second and third intermediate variables c 1 and c 2 are used to determine the first phase
Figure 112015043055894-pat00022
And the second phase
Figure 112015043055894-pat00023
Can be obtained by the following equations (13) and (14).

<수학식 10>&Quot; (10) &quot;

Figure 112015043055894-pat00024
Figure 112015043055894-pat00024

<수학식 11>Equation (11)

Figure 112015043055894-pat00025
Figure 112015043055894-pat00025

다음으로, 업 믹싱부(240)는 복원된 모노 신호가 M이고, 디코릴레이션된 신호가 D일 때, 수학식 10 및 수학식 11을 통해 구한 제1 및 제2 위상, 제2 및 제3 중간 변수 c1 및 c2 및 수학식 8에서 구한 OPD의 값인

Figure 112015043055894-pat00026
, 수학식 9에서 구한 값인
Figure 112015043055894-pat00027
을 이용하여 아래의 수학식 12 및 수학식 13과 같이 업 믹싱된 좌채널 신호 및 우채널 신호를 구할 수 있다.When the recovered mono signal is M and the decorrelated signal is D, the upmixing unit 240 generates the first and second phases, the second and third intermediate values obtained through Equations 10 and 11, The variables c 1 and c 2 And the value of OPD obtained from equation (8)
Figure 112015043055894-pat00026
, The value obtained from the equation (9)
Figure 112015043055894-pat00027
The left channel signal and the right channel signal upmixed as shown in Equations (12) and (13) below can be obtained.

<수학식 12>&Quot; (12) &quot;

Figure 112015043055894-pat00028
Figure 112015043055894-pat00028

<수학식 13>&Quot; (13) &quot;

Figure 112015043055894-pat00029
Figure 112015043055894-pat00029

이와 같이, 본 발명의 일 실시예에 따른 멀티 채널 신호의 복호화 장치(200)는멀티 채널 신호의 부호화 장치로부터 OPD 값을 수신하지 않음에도 불구하고, 부호화단으로부터 전송된 다른 파라미터들을 이용하여 OPD 값을 추정함으로써, 업 믹싱에 이용되는 파라미터의 종류가 증가시켜 업 믹싱된 스테레오 신호의 음질을 향상시킬 수 있다. In this way, the apparatus 200 for decoding a multi-channel signal according to an embodiment of the present invention does not receive the OPD value from the apparatus for encoding a multi-channel signal, but uses the OPD value It is possible to increase the kinds of parameters used for the upmixing and to improve the sound quality of the upmixed stereo signal.

본 발명의 일실시예에 따르면, 멀티 채널 신호의 복호화 장치(200)는 주파수 대역에 관한 주파수 대역 정보가 저장된 테이블을 포함하고, 주파수 대역 결정부(220)는 테이블로부터 상기 모노 신호에 상응하는 주파수 대역 정보를 선택하여 상기 주파수 대역을 결정할 수 있다. According to an embodiment of the present invention, a multi-channel signal decoding apparatus 200 includes a table storing frequency band information on a frequency band, and the frequency band determining unit 220 determines a frequency The frequency band can be determined by selecting the band information.

즉, 멀티 채널 신호의 부호화 장치 및 복호화 장치가 주파수 대역 정보가 저장된 테이블을 공유하고 있는 경우, 멀티 채널 신호의 부호화 장치 및 복호화 장치는 테이블을 참고하여 위상 파라미터가 적용될 주파수 대역에 관한 정보를 선택하고, 이에 따라 위상 파라미터가 적용될 주파수 대역을 결정할 수 있다. That is, when a multi-channel signal encoding apparatus and a decoding apparatus share a table in which frequency band information is stored, the multi-channel signal encoding apparatus and the decoding apparatus select information on a frequency band to which a phase parameter is to be applied , So that the frequency band to which the phase parameter is to be applied can be determined.

또한, 본 발명의 일실시예에 따르면, 주파수 대역 결정부(220)는 비트스트림으로부터 주파수 대역에 관한 주파수 대역 정보를 복원하고, 복원된 주파수 대역 정보에 기초하여 주파수 대역을 결정할 수 있다. Also, according to an embodiment of the present invention, the frequency band determining unit 220 may recover the frequency band information regarding the frequency band from the bit stream, and may determine the frequency band based on the recovered frequency band information.

즉, 주파수 대역 결정부(220)는 비트스트림으로부터 직접 주파수 대역 정보를 복원하고, 이를 이용하여 주파수 대역을 결정할 수 있다. That is, the frequency band determining unit 220 can directly recover the frequency band information from the bit stream, and determine the frequency band using the information.

본 발명의 일실시예에 따르면, 주파수 대역 결정부(220)는 비트스트림의 헤더, 또는 복수의 프레임 각각으로부터 주파수 대역 정보를 복원할 수 있다. According to an embodiment of the present invention, the frequency band determining unit 220 may recover the frequency band information from the header of the bit stream or each of the plurality of frames.

즉, 주파수 대역 정보는 입력된 비트스트림의 헤더 또는 복수의 프레임 각각에 삽입될 수 있고, 이 경우, 주파수 대역 결정부(220)는 비트스트림의 헤더 또는 복수의 프레임으로부터 주파수 대역 정보를 복원할 수 있다. That is, the frequency band information may be inserted into the header of the input bitstream or each of a plurality of frames. In this case, the frequency band determining unit 220 may restore the frequency band information from the header of the bitstream or a plurality of frames have.

본 발명의 일실시예에 따르면, 주파수 대역 정보는 위상 파라미터가 적용될 주파수 대역의 개수를 포함할 수 있다. According to an embodiment of the present invention, the frequency band information may include the number of frequency bands to which the phase parameter is applied.

주파수 대역 정보가 위상 파라미터가 적용될 주파수 대역의 개수를 포함하는 경우, 주파수 대역 결정부(220)는 모노 신호의 복수의 주파수 대역 중에서 상기 개수만큼의 저 주파수 대역을 위상 파라미터가 적용될 주파수 대역으로 결정할 수 있다. When the frequency band information includes the number of frequency bands to which the phase parameter is to be applied, the frequency band determining unit 220 may determine the frequency bands to which the phase parameters are to be applied, from among the plurality of frequency bands of the mono signal, have.

예를 들어, 모노 신호의 주파수가 28 개의 주파수 대역으로 분할되고, 상기 주파수 대역의 개수가 14인 경우, 주파수가 작은 하위 14개의 주파수 대역이 위상 파라미터가 적용될 주파수 대역으로 결정될 수 있다. 이 때, 상기 언급한 바와 같이 상기 개수가 0개인 경우, 모노 신호의 업 믹싱시 위상 파라미터를 이용하지 않는다. For example, if the frequency of the mono signal is divided into 28 frequency bands and the number of frequency bands is 14, the lower 14 frequency bands may be determined as the frequency bands to which the phase parameters are to be applied. At this time, when the number is 0 as described above, the phase parameter is not used in the upmixing of the mono signal.

또한, 본 발명의 일실시예에 따르면, 주파수 대역 정보는 위상 파라미터가 적용될 주파수 대역의 개수의 갱신 여부에 대한 정보를 더 포함할 수 있다.Also, according to an embodiment of the present invention, the frequency band information may further include information on whether the number of frequency bands to which the phase parameter is to be updated is updated.

이 경우, 우선, 주파수 대역 결정부(220)는 상기 갱신 여부에 대한 정보를 분석한다. In this case, first, the frequency band determining unit 220 analyzes information about the update.

만약, 위상 파라미터가 적용될 주파수 대역의 개수가 갱신된 경우, 주파수 대역 결정부(220)는 비트스트림으로부터 위상 파라미터가 적용될 주파수 대역의 개수를 추출하고, 상기 갱신된 주파수 대역의 개수에 기초하여 위상 파라미터가 적용될 주파수 대역을 결정할 수 있다.If the number of frequency bands to which the phase parameter is to be applied is updated, the frequency band determining unit 220 extracts the number of frequency bands to which the phase parameter is to be applied from the bit stream, Can be determined.

반대로, 위상 파라미터가 적용될 주파수 대역의 개수가 갱신되지 않은 경우, 주파수 대역 결정부(220)는 이전 프레임의 주파수 대역의 개수에 기초하여 위상 파라미터가 적용될 주파수 대역을 결정할 수 있다.Conversely, when the number of frequency bands to which the phase parameter is to be applied is not updated, the frequency band determining unit 220 can determine the frequency band to which the phase parameter is to be applied based on the number of frequency bands of the previous frame.

도 3은 본 발명의 일실시예에 따른 멀티 채널 신호의 부호화 장치에 의해 부호화된 멀티 채널 신호의 비트스트림의 구조를 도시한 도면이다. 3 is a diagram illustrating a structure of a bit stream of a multi-channel signal encoded by an apparatus for encoding a multi-channel signal according to an embodiment of the present invention.

상기 언급한 바와 같이, 부호화 정보 및 주파수 대역 정보는 비트스트림의 헤더 또는 프레임에 삽입될 수 있다. As mentioned above, the encoding information and the frequency band information can be inserted into the header or frame of the bitstream.

먼저, 도 3의 (a)은 부호화 정보 및 주파수 대역 정보가 비트스트림의 헤더에 삽입된 비트스트림의 구조를 도시하고 있다. 도 3의 (a)에 도시된 비트스트림은 헤더(310)는 부가 정보 필드(311), 부호화 정보 필드(312), 및 주파수 대역 정보 필드(313)을 포함하여 구성된다. 3 (a) shows a structure of a bit stream in which encoding information and frequency band information are inserted in a header of a bit stream. 3A, the header 310 includes an additional information field 311, an encoding information field 312, and a frequency band information field 313. The bitstream shown in FIG.

부가 정보 필드(311)는 멀티 채널 데이터의 부호화/복호화시 사용되는 여러 가지 정보를 포함하고 있다. 일례로서, 부가 정보 필드(311)는 CLD 및 ICC의 주파수 대역의 개수를 나타내는 정보를 포함할 수 있다. The additional information field 311 includes various pieces of information used in coding / decoding multi-channel data. As an example, the additional information field 311 may include information indicating the number of frequency bands of CLD and ICC.

부호화 정보 필드(312)는 비트스트림에 위상 파라미터가 존재하는지 여부에 대한 정보를 포함한다. 상기 언급한 바와 같이, 부호화 정보 필드(312)는 하나의 비트로 표현될 수 있고, 또한, 비트스트림에 위상 파라미터가 포함된 경우, 상기 비트는 "1"의 값을 가지고, 비트스트림에 위상 파라미터가 포함되지 않는 경우, 상기 비트는 "0"의 값을 가질 수 있다. 위상 파라미터는 복수의 프레임(320) 각각의 위상 파라미터 필드(322)에 저장될 수 있다. The encoding information field 312 includes information on whether or not a phase parameter exists in the bitstream. As mentioned above, the encoding information field 312 can be represented by one bit, and when the bit stream includes a phase parameter, the bit has a value of "1 " If not included, the bit may have a value of "0 ". The phase parameter may be stored in the phase parameter field 322 of each of the plurality of frames 320.

주파수 대역 정보 필드(313)는 모노 신호가 업 믹싱되는 경우 위상 파라미터가 적용될 주파수 대역에 관한 정보를 포함한다. 일례로서, 상기 주파수 대역에 관한 정보가 위상 파라미터가 적용될 주파수 대역의 개수를 의미하는 경우, 위상 파라미터가 적용될 주파수 대역은 최대 28개의 주파수 대역으로 표현될 수 있으므로, 주파수 대역 정보 필드는 5비트의 크기를 가질 수 있다. The frequency band information field 313 includes information about the frequency band to which the phase parameter is applied when the mono signal is upmixed. For example, if the information on the frequency band means the number of frequency bands to which the phase parameter is applied, the frequency band to which the phase parameter is to be applied can be represented by a maximum of 28 frequency bands, Lt; / RTI &gt;

위상 파라미터는 복수의 프레임(320) 각각의 위상 파라미터 필드(322)에 저장된다.The phase parameters are stored in the phase parameter field 322 of each of the plurality of frames 320.

도 3의 (b)는 부호화 정보만이 비트스트림의 헤더에 삽입된 비트스트림의 구조를 도시하고 있다. 따라서, 도 3의 (b)에 도시된 비트스트림은 헤더(330)는 부가 정보 필드(331), 부호화 정보 필드(332)만을 포함하고, 주파수 대역 정보 필드는 포함하지 않는다. FIG. 3B shows the structure of the bit stream in which only the encoding information is inserted in the header of the bit stream. Therefore, in the bit stream shown in FIG. 3B, the header 330 includes only the additional information field 331 and the encoded information field 332, but does not include the frequency band information field.

이 경우, 멀티 채널 신호의 부호화 장치 및 복호화 장치는 주파수 대역 정보가 저장된 테이블(table)을 가지고 있다. 이 때, 멀티 채널 신호의 부호화 장치 및 복호화 장치는 테이블을 참고하여 위상 파라미터가 적용될 주파수 대역에 관한 정보를 선택하고, 이에 따라 주파수 대역을 결정할 수 있다. 일례로서, 멀티 채널 신호의 부호화 장치 및 복호화 장치는 헤더의 부가 정보 필드(331)에 존재하는 CLD 및 ICC의 주파수 대역의 개수를 나타내는 정보를 기초로 테이블을 검색하여 주파수 대역 정보를 결정할 수 있다. In this case, the multi-channel signal encoding apparatus and decoding apparatus have a table in which frequency band information is stored. At this time, the multi-channel signal encoding apparatus and decoding apparatus can select the information on the frequency band to which the phase parameter is to be applied by referring to the table, and determine the frequency band accordingly. As an example, the multi-channel signal encoding apparatus and the decoding apparatus can determine the frequency band information by searching the table based on the information indicating the number of frequency bands of CLD and ICC existing in the additional information field 331 of the header.

도 3의 (c)는 부호화 정보 및 주파수 대역 정보가 프레임에 삽입된 비트스트림의 구조를 도시하고 있다. FIG. 3 (c) shows the structure of a bit stream in which encoding information and frequency band information are embedded in a frame.

이 경우, 헤더(350)는 부가 정보 필드만을 포함하고, 프레임(360)은 데이터 필드(361), 부호화 정보 필드(362), 주파수 대역 정보의 갱신 여부 정보 필드(363), 주파수 대역 정보 필드(364), 및 위상 파라미터 필드(365)를 포함한다. In this case, the header 350 includes only the additional information field, and the frame 360 includes the data field 361, the encoding information field 362, the frequency band information update information field 363, 364, and a phase parameter field 365.

부호화 정보 필드(362), 주파수 대역 정보 필드(364), 및 위상 파라미터 필드(365)는 도 3의 (a)의 경우와 동일하므로, 이에 대한 자세한 설명을 생략한다. The encoding information field 362, the frequency band information field 364, and the phase parameter field 365 are the same as those in FIG. 3 (a), and a detailed description thereof will be omitted.

주파수 대역 정보의 갱신 여부 정보 필드(363)는 현재 프레임에서의 위상 파라미터가 적용될 주파수 대역의 주파수 대역 정보와, 이전 프레임에서의 위상 파라미터가 적용될 주파수 대역의 주파수 대역 정보가 동일한지 여부에 대한 정보를 포함한다. The frequency band information update information field 363 stores information on whether the frequency band information of the frequency band to which the phase parameter in the current frame is to be applied and the frequency band information of the frequency band to which the phase parameter in the previous frame is to be applied is the same .

상기 언급한 바와 같이, 상기 갱신 여부에 대한 정보 필드는 하나의 비트에 의해 표현될 수 있다. 현재 프레임에서의 주파수 대역 정보와 이전 프레임에서의 주파수 대역 정보가 동일하지 않은 경우, 상기 비트는 "1"의 값을 가지고, 현재 프레임에서의 주파수 대역 정보와 이전 프레임에서의 주파수 대역 정보가 동일한 경우 상기 비트는 "0"의 값을 가질 수 있다. As mentioned above, the information field of the update status can be represented by one bit. If the frequency band information in the current frame is not the same as the frequency band information in the previous frame, the bit has a value of " 1 ", and if the frequency band information in the current frame and the frequency band information in the previous frame are the same The bit may have a value of "0 ".

만약, 상기 갱신 여부에 대한 정보가 "0"의 값을 갖는 경우, 현재 프레임에서의 주파수 대역 정보와 이전 프레임에서의 주파수 대역 정보가 동일하므로, 주파수 대역 정보 필드(364)는 "0"의 값으로 세팅될 수 있다. 이 경우, 멀티 채널 신호의 복호화 장치는 이전 프레임의 주파수 대역 정보를 이용하여 복호화를 수행하게 된다. If the update information has a value of "0 ", since the frequency band information in the current frame is the same as the frequency band information in the previous frame, the frequency band information field 364 has a value of" 0 " Lt; / RTI &gt; In this case, the multi-channel signal decoding apparatus performs decoding using the frequency band information of the previous frame.

이와 같이, 본 발명의 일실시예에 따른 멀티 채널 신호의 부호화 장치는 위상 파라미터가 적용될 주파수 대역의 개수의 갱신 여부에 대한 정보를 더 사용함으로써, 불필요한 정보를 중복하여 부호화하는 것을 방지하고, 전송되는 데이터량을 줄일 수 있다. As described above, the apparatus for encoding a multi-channel signal according to an embodiment of the present invention further uses information on whether or not the number of frequency bands to which the phase parameters are to be updated, thereby preventing redundant encoding of unnecessary information, The amount of data can be reduced.

도 3의 (d)는 부호화 정보만이 프레임에 삽입된 비트스트림의 구조를 도시하고 있다. 주파수 대역 정보 및 주파수 대역 정보의 갱신 여부에 대한 정보는 비트스트림에 포함되지 않는다. FIG. 3 (d) shows a structure of a bit stream in which only encoding information is embedded in a frame. Information on whether the frequency band information and the frequency band information are updated is not included in the bit stream.

이 경우, 상기 언급한 바와 같이 멀티 채널 신호의 부호화 장치 및 복호화 장치 상호간에 주파수 대역 정보가 저장된 테이블을 가지고 있는 경우, 멀티 채널 신호의 부호화 장치 및 복호화 장치는 테이블을 참고하여 위상 파라미터가 적용될 주파수 대역에 관한 정보를 선택하고, 이에 따라 주파수 대역을 결정한다. In this case, when the multi-channel signal coding apparatus and the decoding apparatus have a table in which frequency band information is stored between the coding apparatus and the decoding apparatus, the coding apparatus and the decoding apparatus of the multi- And determines the frequency band accordingly.

도 4 내지 도 8은 본 발명의 일실시예에 따른 멀티 채널 신호의 부호화 장치에 의해 생성된 비트스트림과 관련된 신택스를 도시한 도면이다. 4 to 8 are diagrams showing a syntax related to a bit stream generated by an apparatus for encoding a multi-channel signal according to an embodiment of the present invention.

이하에서 설명하는 신택스들은 MPEG Surround와 MPEG Unified Speech and audio Coding 기술에서 사용되고 있는 신택스를 기초로 일부 내용을 추가한 것이다. The syntaxes described below are based on the syntaxes used in MPEG Surround and MPEG Unified Speech and Audio Coding technology.

먼저, 도 4 내지 도 6에서는 부호화 정보가 비트스트림의 헤더에 삽입된 경우와 관련된 신택스를 도시하고 있다. 즉, 도 4 내지 도 6에 도시된 신택스는 도 3의 (a) 및 (b)에서 도시한 비트스트림과 관련된 신택스이다. First, Figs. 4 to 6 show a syntax related to a case where encoding information is embedded in a header of a bitstream. That is, the syntax shown in Figs. 4 to 6 is a syntax related to the bit stream shown in Figs. 3 (a) and 3 (b).

도 4는 비트스트림의 헤더와 관련된 신택스이다. 도 4를 통해 알 수 있듯이, bsPhaseMode(410)라는 정보가 더 추가되었다. 4 is a syntax related to the header of the bit stream. As shown in FIG. 4, bsPhaseMode 410 is further added.

bsPhaseMode는 위상 파라미터를 부호화하여 전송할지 여부에 대한 정보 즉 부호화 정보를 의미한다. 상기에서 설명한 것과 같이 bsPhaseMode는 하나의 비트로 표현이 가능하다. bsPhaseMode denotes information on whether or not a phase parameter is encoded and transmitted, that is, encoding information. As described above, bsPhaseMode can be represented by one bit.

만약, 비트스트림의 헤더 부분에 주파수 대역 정보를 삽입하는 경우 즉, 도 3의 (a)에서 도시된 비트스트림을 생성하는 경우, 도 5의 (a)와 같이 OttConfig(420)의 신택스가 변경된다.If the frequency band information is inserted into the header portion of the bitstream, that is, when generating the bit stream shown in FIG. 3A, the syntax of the OttConfig 420 is changed as shown in FIG. 5A .

도 5의 (a)는 OttConfig의 신택스를 도시한 도면이다. 도 5의 (a)를 통해 알 수 있듯이, bsOttBandsPhase[i](510)의 정보가 더 추가되었다. 5 (a) is a diagram showing the syntax of OttConfig. As can be seen from FIG. 5 (a), information of bsOttBandsPhase [i] 510 is further added.

bsOttBandsPhase[i](510)는 위상 파라미터가 적용될 주파수 대역의 개수를 의미한다. bsOttBandsPhase[i](510)는 nBitsBandsPhase의 크기를 갖는 비트로 표현할 수 있다. bsOttBandsPhase [i] 510 means the number of frequency bands to which the phase parameter is applied. bsOttBandsPhase [i] 510 can be represented by bits having the size of nBitsBandsPhase.

Ott(One-To-Two)는 스테레오 업믹스에 사용된다. OttConfig에서는 Ott에서의 위상 파라미터가 적용될 주파수 대역의 개수를 결정한다. 만약 bsPhaseMode가 "1"이 되는 경우(즉 위상 파라미터를 사용하는 경우)에는 어느 주파수 대역까지 위상 파라미터를 이용하여 모노 신호를 업 믹싱하는 지에 대한 정보가 필요한데, 상기 주파수 대역에 대한 정보를 비트스트림에 삽입하는 경우, 이에 대한 정보는 bsOttBandsPhase를 이용하여 표현한다. bsFreqRes는 CLD와 ICC의 주파수 밴드 개수를 나타내는 정보로 헤더에 전송되며 보통 최대 28 밴드(numBands)로 표현이 되므로 일반적인 밴드 표현 방식은 5비트가 필요하다. nBitsBandsPhase를 이용하여 위상 파라미터가 적용될 주파수 대역을 표현할 경우, bsFreqRes에 따라 최대 밴드개수가 결정되므로, 이에 따라 동적으로 비트를 할당할 수 있다. Ott (One-To-Two) is used for stereo upmixing. OttConfig determines the number of frequency bands to which the phase parameter in Ott will be applied. If the bsPhaseMode is set to "1 " (i.e., when the phase parameter is used), information on upmixing a mono signal using a phase parameter up to a certain frequency band is required. If inserted, information on this is expressed using bsOttBandsPhase. bsFreqRes is information indicating the number of frequency bands of CLD and ICC, and is transmitted in the header. Normally, the maximum number of bands is represented by 28 bands (numBands). When the frequency band to which the phase parameter is to be applied is expressed using nBitsBandsPhase, the maximum number of bands is determined according to bsFreqRes, so that bits can be allocated dynamically.

예를 들어 bsFreqRes가 4일 경우에는 최대 CLD 밴드의 개수가 10이므로 도 5의 (b)에 도시된 테이블의 nBitsBandsPhase(full band)에 표시된 바와 같이 4비트로도 주파수 대역의 개수를 표현할 수 있다. For example, when bsFreqRes is 4, since the maximum number of CLD bands is 10, the number of frequency bands can be expressed by 4 bits as indicated by nBitsBandsPhase (full band) of the table shown in FIG. 5B.

또한, 상기 언급한 바와 같이, 위상 파라미터는 저 주파수 대역에만 적용될 수 있는데, 이 경우, 도 5의 (b)에 도시된 테이블의 nBitsBandsPhase(low band)에 표시된 바와 같이 주파수 대역을 결정하고 이에 따라 동적으로 비트를 할당할 수 있다. 이 경우, 모든 주파수 대역에 위상 파라미터를 적용하는 경우와는 달리 5비트를 모두 사용할 필요가 없다. 또한 bsFreqRes이 5이상의 값을 갖는 경우, CLD의 밴드 개수가 7이므로 이럴 경우에는 위상 파라미터를 이용하지 않고 nBitsBandsPhase를 "0"으로 하여 정보를 전송하지 않는다.Also, as mentioned above, the phase parameter can be applied only to the low frequency band. In this case, the frequency band is determined as indicated by nBitsBandsPhase (low band) in the table shown in FIG. 5B, Lt; / RTI &gt; In this case, unlike the case of applying the phase parameter to all frequency bands, it is not necessary to use all 5 bits. When bsFreqRes has a value of 5 or more, since the number of CLD bands is 7, nBitsBandsPhase is set to "0 &quot;

만약, 비트스트림의 헤더에 주파수 대역 정보를 삽입하지 않는 경우, 즉, 도 3의 (b)에서 도시된 비트스트림을 생성하는 경우에는 상기 언급한 바와 같이 멀티 채널 신호의 부호화 장치 및 복호화 장치는 주파수 대역 정보가 저장된 테이블을 가지고 있는데, 도 5의 (c)는 주파수 대역 저장 정보가 저장된 테이블의 일례를 도시하고 있다. When the frequency band information is not inserted in the header of the bit stream, that is, when the bit stream shown in FIG. 3B is generated, as described above, the multi-channel signal encoding apparatus and the multi- FIG. 5 (c) shows an example of a table in which frequency band storage information is stored.

도 6에서는 위상 파라미터가 부호화되어 각 프레임에 삽입되는 경우에 사용되는 OttData에 대한 신택스를 도시하고 있다. 이 경우, bsPhaseMode는 "1"이 된다. EcDataIPD(610)는 위상 파라미터를 무손실 부호화한 결과를 나타낸다. FIG. 6 shows the syntax for the OttData used when the phase parameters are encoded and inserted into each frame. In this case, bsPhaseMode becomes "1 ". The EcData IPD 610 shows the result of lossless coding of the phase parameters.

EcDataIPD에서는 bsIPDdataMode라는 비트를 사용하여 이전 프레임의 값을 그대로 유지할지 아니면 무손실 부호화를 통해 현재 프레임의 정보를 부호화할지를 결정한다. 만일 위상 파라미터가 어느 특정 오디오 구간에서 의미가 없는 경우에는 위상파라미터를 모두 0으로 세팅하여 부호화하고, 이후 프레임부터는 bsIPDDataMode를 "0"으로 세팅하여 전송함으로써, 불필요한 위상 파라미터를 보내지 않을 수 있다. 반대로, bsIPDDataMode가 "1"인 경우, 위상 파라미터를 부호화하여 전송한다. In EcDataIPD, a bit called bsIPDdataMode is used to decide whether to retain the value of the previous frame or to encode information of the current frame through lossless coding. If the phase parameter is not meaningful in a specific audio interval, the phase parameter is set to all zeros and is encoded. After that, bsIPDDataMode is set to "0 ", and unnecessary phase parameters are not transmitted. Conversely, when bsIPDDataMode is "1 ", the phase parameter is encoded and transmitted.

도 7 및 도 8에서는 부호화 정보가 비트스트림의 프레임에 삽입된 경우와 관련된 신택스를 도시하고 있다. 즉, 도 7 및 도 8에 도시된 신택스는 도 3의 (c) 및 (d)에서 도시한 비트스트림과 관련된 신택스이다. Figs. 7 and 8 show a syntax related to a case where encoding information is embedded in a frame of a bit stream. That is, the syntax shown in Figs. 7 and 8 is a syntax related to the bit stream shown in Figs. 3 (c) and 3 (d).

도 7은 비트스트림의 프레임과 관련된 신택스이다. 도 7를 통해 알 수 있듯이, bsPhaseMode(710)라는 정보가 더 추가되었다. 7 is a syntax related to a frame of a bit stream. As shown in FIG. 7, bsPhaseMode (710) is further added.

도 8의 (a)는 도 7의 신택스에 포함된 OttData에 관한 신택스이다. FIG. 8A is a syntax for OttData included in the syntax of FIG.

프레임에 주파수 대역 정보 및 주파수 대역 정보의 갱신 여부 정보를 삽입하는 경우, 도면 부호(810)의 신택스가 부가된다. In the case of inserting frequency band information and frequency band information update information into a frame, a syntax of reference numeral 810 is added.

bsUpdateOttBandsPhase는 현재 프레임에서 위상 파라미터를 적용할 주파수 대역의 개수를 갱신할지 여부를 정보로서, bsUpdateOttBandsPhase가 "1"인 경우, 주파수 대역의 개수를 갱신하여야 하고, 이 경우, 추가적으로 bsOttBandsPhase를 이용하여 주파수 대역의 전송하여 주파수 대역의 개수를 갱신한다. 반대로, bsUpdateOttBandsPhase가 "0"인 경우, 이전 프레임에서 사용되었던 위상 파라미터를 적용할 주파수 대역의 개수를 이용하여 위상 파라미터를 복원한다. bsUpdateOttBandsPhase indicates whether to update the number of frequency bands to which the phase parameter is to be applied in the current frame. If bsUpdateOttBandsPhase is "1 ", the number of frequency bands must be updated. In this case, bsOttBandsPhase And updates the number of frequency bands. Conversely, when bsUpdateOttBandsPhase is "0 ", the phase parameter is restored by using the number of frequency bands to which the phase parameter used in the previous frame is applied.

만약 bsPhaseMode가 "1"이 되는 경우(즉 위상 파라미터를 사용하는 경우)에는 어느 주파수 대역까지 위상 파라미터를 이용하여 모노 신호를 업 믹싱하는 지에 대한 정보가 필요한데, 상기 주파수 대역에 대한 정보를 비트스트림에 삽입하는 경우, 이에 대한 정보는 bsOttBandsPhase를 이용하여 표현한다. bsFreqRes는 CLD와 ICC의 주파수 밴드 개수를 나타내는 정보로 헤더에 전송되며 보통 최대 28 밴드(numBands)로 표현이 되므로 일반적인 밴드 표현 방식은 5비트가 필요하다. nBitsBandsPhase를 이용하여 위상 파라미터가 적용될 주파수 대역을 표현할 경우, bsFreqRes에 따라 최대 밴드개수가 결정되므로, 이에 따라 동적으로 비트를 할당할 수 있다. If the bsPhaseMode is set to "1 " (i.e., when the phase parameter is used), information on upmixing a mono signal using a phase parameter up to a certain frequency band is required. If inserted, information on this is expressed using bsOttBandsPhase. bsFreqRes is information indicating the number of frequency bands of CLD and ICC, and is transmitted in the header. Normally, the maximum number of bands is represented by 28 bands (numBands). When the frequency band to which the phase parameter is to be applied is expressed using nBitsBandsPhase, the maximum number of bands is determined according to bsFreqRes, so that bits can be allocated dynamically.

예를 들어 bsFreqRes가 4일 경우에는 최대 CLD 밴드의 개수가 10이므로 도 8의 (b)에 도시된 테이블의 nBitsBandsPhase(full band)에 표시된 바와 같이 4비트로도 주파수 대역의 개수를 표현할 수 있다. For example, when bsFreqRes is 4, since the maximum number of CLD bands is 10, the number of frequency bands can be expressed by 4 bits as shown in nBitsBandsPhase (full band) of the table shown in FIG. 8B.

또한, 상기 언급한 바와 같이, 위상 파라미터는 저 주파수 대역에만 적용될 수 있는데, 이 경우, 도 8의 (b)에 도시된 테이블의 nBitsBandsPhase(low band)에 표시된 바와 같이 주파수 대역을 결정하고 이에 따라 동적으로 비트를 할당할 수 있다. 이 경우, 모든 주파수 대역에 위상 파라미터를 적용하는 경우와는 달리 5비트를 모두 사용할 필요가 없다. 또한 bsFreqRes이 5이상의 값을 갖는 경우, CLD의 밴드 개수가 7이므로 이럴 경우에는 위상 파라미터를 이용하지 않고 nBitsBandsPhase를 "0"으로 하여 정보를 전송하지 않는다. bsUpdateOttBandsPhase가 "1"로 세팅되어 갱신 되지 전에는 도 8의 (b)에 도시된 테이블의 Initial bsOttBandsPhase 값으로 초기화하여 동작한다.Also, as mentioned above, the phase parameter can be applied only to the low frequency band. In this case, the frequency band is determined as indicated by nBitsBandsPhase (low band) of the table shown in FIG. 8B, Lt; / RTI &gt; In this case, unlike the case of applying the phase parameter to all frequency bands, it is not necessary to use all 5 bits. When bsFreqRes has a value of 5 or more, since the number of CLD bands is 7, nBitsBandsPhase is set to "0 " Before bsUpdateOttBandsPhase is set to "1 &quot; and is updated, the initial bsOttBandsPhase value of the table shown in FIG. 8 (b) is initialized and operated.

EcDataIPD(820)는 위상 파라미터를 무손실 부호화한 결과를 나타낸다.The EcData IPD 820 indicates the result of lossless coding of the phase parameters.

만약, 비트스트림의 프레임에 주파수 대역 정보를 삽입하지 않는 경우, 즉, 도 3의 (d)에서 도시된 비트스트림을 생성하는 경우에는 상기 언급한 바와 같이 멀티 채널 신호의 부호화 장치 및 복호화 장치는 주파수 대역 정보가 저장된 테이블을 가지고 있는데, 이 경우 역시 도 5의 (c)에 도시된 테이블이 사용된다. If the frequency band information is not inserted in the frame of the bit stream, that is, in the case of generating the bit stream shown in FIG. 3 (d), as described above, the multi- The table shown in FIG. 5C is used in this case as well.

도 9는 본 발명의 일실시예에 따른 멀티 채널 신호의 부호화 방법의 흐름도를 도시한 도면이다. 9 is a flowchart illustrating a method of encoding a multi-channel signal according to an embodiment of the present invention.

도 9을 참고하면, 본 발명의 일실시예에 따른 멀티 채널 신호의 부호화 방법은 도 1에 도시된 멀티 채널 신호의 부호화 장치에서 시계열적으로 처리되는 단계들로 구성된다. 따라서, 이하 생략된 내용이라 하더라도 도 1에 도시된 멀티 채널 신호의 부호화 장치에 관하여 이상에서 기술된 내용은 본 발명의 일실시예에 따른 멀티 채널 신호의 부호화 방법에도 적용된다.Referring to FIG. 9, a method of encoding a multi-channel signal according to an exemplary embodiment of the present invention includes steps of time-series processing in the apparatus for encoding a multi-channel signal shown in FIG. Therefore, even if the following description is omitted, the above description regarding the multi-channel signal encoding apparatus shown in FIG. 1 also applies to the multi-channel signal encoding method according to the embodiment of the present invention.

단계(S910)에서는 멀티 채널 신호를 구성하는 복수 채널의 위상 정보를 나타내는 위상 파라미터의 부호화 여부를 결정하여 부호화 정보를 생성한다. In step S910, encoding information is generated by determining whether to encode phase parameters indicating phase information of a plurality of channels constituting the multi-channel signal.

본 발명의 일실시예에 따르면, 위상 파라미터는 IPD와 OPD를 모두 포함할 수 있고, IPD만을 포함할 수 있다.According to one embodiment of the present invention, the phase parameter may include both IPD and OPD, and may include only IPD.

또한, 본 발명의 일실시예에 따르면, 단계(S910)은 복수 채널간의 간섭성과 복수 채널 간의 상관성의 차, 및 스테레오 신호에 포함된 복수의 프레임의 위상 정보의 연속성 중에서 적어도 하나를 고려하여 위상 파라미터의 부호화 여부를 결정할 수 있다.In addition, according to an embodiment of the present invention, step S910 is a step of determining at least one of the difference between the coherence between the plurality of channels and the correlation between the plurality of channels and the continuity of the phase information of the plurality of frames included in the stereo signal, Can be determined.

단계(S920)에서는 멀티 채널 신호를 다운 믹싱한 모노 신호를 부호화한다. In step S920, a mono signal obtained by downmixing the multi-channel signal is encoded.

단계(S930)에서는 위상 파라미터가 부호화되었는지 여부를 판단한다. In step S930, it is determined whether or not the phase parameter is encoded.

단계(S930)에서 위상 파라미터가 부호화 된 것으로 판단된 경우, 단계(S940)에서는 부호화된 모노 신호, 부호화된 위상 파라미터 및 부호화 정보를 이용하여 멀티 채널 신호에 대한 부호화된 비트스트림을 생성한다. If it is determined in step S930 that the phase parameter is encoded, step S940 generates an encoded bit stream for the multi-channel signal using the encoded mono signal, the encoded phase parameter, and the encoding information.

만약, 단계(S930)에서 위상 파라미터가 부호화 되지 않은 것으로 판단된 경우, 단계(S950)에서는 부호화된 모노 신호 및 부호화 정보를 이용하여 멀티 채널 신호에 대한 부호화된 비트스트림을 생성한다. If it is determined in step S930 that the phase parameter is not encoded, step S950 generates an encoded bit stream for the multi-channel signal using the encoded mono signal and the encoded information.

본 발명의 일실시예에 따르면, 단계(S940) 및 단계(S950)에서 생성된 비트스트림은 헤더 및 복수의 프레임을 포함하고, 부호화 정보는 헤더 또는 복수의 프레임 각각에 삽입될 수 있다. According to an embodiment of the present invention, the bitstream generated in steps S940 and S950 may include a header and a plurality of frames, and the encoding information may be embedded in each of a header or a plurality of frames.

또한, 본 발명의 일실시예에 따르면, 단계(S940)에서는 모노 신호의 주파수 대역 정보를 더 이용하여 상기 부호화된 비트스트림을 생성할 수 있다.Also, according to an embodiment of the present invention, in step S940, the encoded bit stream may be generated by further using frequency band information of a mono signal.

또한, 본 발명의 일실시예에 따르면, 주파수 대역 정보는 위상 파라미터가 적용될 주파수 대역의 개수를 포함할 수 있고, 위상 파라미터가 적용될 주파수 대역의 개수의 갱신 여부에 대한 정보를 더 포함할 수 있다.Also, according to an embodiment of the present invention, the frequency band information may include the number of frequency bands to which the phase parameter is applied, and may further include information on whether the number of frequency bands to which the phase parameter is applied is updated.

도 10은 본 발명의 일실시예에 따른 멀티 채널 신호의 복호화 방법의 흐름도를 도시한 도면이다. FIG. 10 is a flowchart illustrating a method of decoding a multi-channel signal according to an embodiment of the present invention. Referring to FIG.

도 10을 참고하면, 본 발명의 일실시예에 따른 멀티 채널 신호의 복호화 방법은 도 2에 도시된 멀티 채널 신호의 복호화 장치에서 시계열적으로 처리되는 단계들로 구성된다. 따라서, 이하 생략된 내용이라 하더라도 도 2에 도시된 멀티 채널 신호의 복호화 장치에 관하여 이상에서 기술된 내용은 본 발명의 일실시예에 따른 멀티 채널 신호의 복호화 방법에도 적용된다.Referring to FIG. 10, a method for decoding a multi-channel signal according to an exemplary embodiment of the present invention includes steps performed in a time-series manner in an apparatus for decoding a multi-channel signal shown in FIG. Therefore, even if omitted below, the description of the multi-channel signal decoding apparatus shown in FIG. 2 is applied to a method of decoding a multi-channel signal according to an embodiment of the present invention.

단계(S1010)에서는 멀티 채널 신호의 부호화된 비트스트림으로부터 멀티 채널 신호의 다운 믹스 신호인 모노 신호를 복원한다.In step S1010, a mono signal, which is a downmix signal of the multi-channel signal, is recovered from the coded bit stream of the multi-channel signal.

단계(S1020)에서는 위상 파라미터가 비트스트림에 존재하는지 여부를 판단한다. In step S1020, it is determined whether or not the phase parameter is present in the bitstream.

만약, 단계(S1020)에서 위상 파라미터가 비트스트림에 존재하는 것으로 판단한 경우, 단계(S1030)에서는 위상 파라미터가 적용될 모노 신호의 주파수 대역을 결정한다.If it is determined in step S1020 that the phase parameter is present in the bitstream, step S1030 determines the frequency band of the mono signal to which the phase parameter is to be applied.

이 후, 단계(1040)에서는 비트스트림으로부터 위상 파라미터를 복원하고, 단계(S1050)에서는 위상 파라미터를 상기 주파수 대역에 적용하여 모노 신호를 업 믹싱한다. Thereafter, in step 1040, a phase parameter is recovered from the bit stream. In step 1050, a phase parameter is applied to the frequency band to up-mix the mono signal.

본 발명의 일실시예에 따르면, 단계(S1040)에서는 주파수 대역에 관한 주파수 대역 정보가 저장된 테이블로부터 상기 모노 신호에 상응하는 주파수 대역 정보를 선택하여 상기 주파수 대역을 결정할 수 있다. According to an embodiment of the present invention, in step S1040, the frequency band corresponding to the mono signal may be selected from the table storing the frequency band information about the frequency band to determine the frequency band.

또한, 본 발명의 일실시예에 따르면, 단계(S1040)는 비트스트림으로부터 주파수 대역에 관한 주파수 대역 정보를 복원할 수 있다. Also, according to an embodiment of the present invention, step S1040 may restore the frequency band information regarding the frequency band from the bitstream.

또한, 본 발명의 일실시예에 따르면, 단계(S1040)은 비트스트림의 헤더, 또는 복수의 프레임 각각으로부터 주파수 대역 정보를 복원할 수 있다. Also, according to an embodiment of the present invention, step S1040 may restore the frequency band information from the header of the bit stream, or from each of a plurality of frames.

이 때, 본 발명의 일실시예에 따르면, 주파수 대역 정보는 위상 파라미터가 적용될 주파수 대역의 개수를 포함할 수 있고, 위상 파라미터가 적용될 주파수 대역의 개수의 갱신 여부에 대한 정보를 더 포함할 수 있다.In this case, according to an embodiment of the present invention, the frequency band information may include the number of frequency bands to which the phase parameter is applied, and may further include information on whether the number of frequency bands to which the phase parameter is applied is updated .

만약, 단계(S1020)에서 위상 파라미터가 비트스트림에 존재하지 않는 것으로 판단한 경우, 다른 스테레오 파라미터만을 이용하여 모노 신호를 업 믹싱한다. If it is determined in step S1020 that the phase parameter does not exist in the bitstream, the mono signal is upmixed using only another stereo parameter.

도 11 내지 도 13은 본 발명의 다른 일실시예에 따른 멀티 채널 신호의 부호화 방법의 흐름도를 도시한 도면이다. 11 to 13 are flowcharts illustrating a method of encoding a multi-channel signal according to another embodiment of the present invention.

도 11은 도 3의 (a) 및 (b)에 도시된 비트스트림을 복호화 하는 방법의 흐름도를 도시한 도면이다. 11 is a flowchart showing a method of decoding the bit stream shown in Figs. 3A and 3B.

단계(S1101)에서는 멀티 채널 신호의 부호화된 비트스트림으로부터 상기 멀티 채널 신호의 다운 믹스 신호인 모노 신호를 복원한다. In step S1101, a mono signal, which is a downmix signal of the multi-channel signal, is restored from the coded bit stream of the multi-channel signal.

단계(S1102)에서는 비트스트림에 헤더 정보가 존재하는지 여부를 판단한다. In step S1102, it is determined whether header information exists in the bitstream.

만약, 단계(S1102)에서 비트스트림에 헤더 정보가 존재하는 것으로 판단한 경우, 이후 설명할 단계(S1108)가 수행된다. If it is determined in step S1102 that header information is present in the bitstream, step S1108 to be described later is performed.

만약, 단계(S1102)에서 비트스트림에 헤더 정보가 존재하는 것으로 판단한 경우, 단계(S1103)에서 헤더 정보가 복원되고, 단계(S1104)에서는 위상 파라미터가 사용되었는지 여부에 대한 정보가 복원된다. If it is determined in step S1102 that header information exists in the bitstream, the header information is restored in step S1103, and information on whether or not the phase parameter is used is restored in step S1104.

이후, 단계(S1105)에서는 복원된 위상 파라미터의 사용 여부에 대한 정보에 기초하여 위상 파라미터가 사용되었는지 여부를 판단한다. Thereafter, in step S1105, it is determined whether or not the phase parameter is used based on the information on whether or not the restored phase parameter is used.

만약, 단계(S1105)에서 위상 파라미터가 사용되지 않은 것으로 판단한 경우, 단계(S1107)에서는 위상 파라미터가 사용될 주파수 대역의 개수 및 위상 파라미터를 각각 "0"으로 초기화 한다. If it is determined in step S1105 that the phase parameter is not used, in step S1107, the number of frequency bands and phase parameters to be used for the phase parameter are initialized to "0"

단계(S1105)에서 위상 파라미터가 사용된 것으로 판단한 경우, 비트스트림이 도 3의 (a)에 도시된 비트스트림의 구조를 가진다면 단계(S1106)에서는 위상 파라미터가 사용될 주파수 대역의 개수를 복원하고, 비트스트림이 도 3의 (b)에 도시된 비트스트림의 구조를 가진다면, 단계(S1106)에서는 주파수 대역에 관한 주파수 대역 정보가 저장된 테이블로부터 상기 모노 신호에 상응하는 주파수 대역 정보를 선택하여 상기 주파수 대역을 결정한다. If it is determined in step S1105 that the phase parameter is used, in step S1106, if the bitstream has the structure of the bit stream shown in part (a) of Fig. 3, the number of frequency bands in which the phase parameter is to be used is restored, If the bit stream has the structure of the bit stream shown in (b) of FIG. 3, in step S1106, frequency band information corresponding to the mono signal is selected from the table storing the frequency band information about the frequency band, Band.

이후, 단계(S1108)에서는 채널간의 에너지 차이를 나타내는 정보(CLD)를 복원하고, 단계(S1109)에서는 채널간의 유사도를 나타내는 정보(ICC)를 복원한다. In step S1108, information CLD indicating the energy difference between channels is restored. In step S1109, information ICC indicating the similarity between channels is restored.

단계(S1111)에서는 위상 파라미터가 사용되었는지 여부를 판단한다. In step S1111, it is determined whether or not the phase parameter is used.

만약, 단계(S1111)에서 위상 파라미터가 사용된 것으로 판단된 경우, 단계(S1111)에서는 위상 파라미터가 사용될 주파수 대역의 개수만큼 위상 파라미터를 복원하고, 단계(S1112)에서는 상기 복원된 위상 파라미터에 기초하여 복원된 모노 신호를 업 믹싱한다. If it is determined in step S1111 that the phase parameter is used, the phase parameter is restored by the number of frequency bands in which the phase parameter is to be used in step S1111, and on the basis of the restored phase parameter in step S1112 And upmixes the restored mono signal.

만약, 단계(S1111)에서 위상 파라미터가 사용되지 않은 것으로 판단된 경우, 단계(S1111)은 수행되지 않고, 단계(S1112)에서는 위상 파라미터를 사용하지 않고 복원된 모노 신호를 업 믹싱한다. If it is determined in step S1111 that the phase parameter is not used, step S1111 is not performed, and in step S1112, the restored mono signal is upmixed without using the phase parameter.

도 12는 도 3의 (d)에 도시된 비트스트림을 복호화 하는 방법의 흐름도를 도시한 도면이다. FIG. 12 is a flowchart showing a method of decoding the bitstream shown in FIG. 3 (d).

단계(S1210) 멀티 채널 신호의 부호화된 비트스트림으로부터 상기 멀티 채널 신호의 다운 믹스 신호인 모노 신호를 복원한다. In operation S1210, a mono signal, which is a downmix signal of the multi-channel signal, is recovered from the coded bit stream of the multi-channel signal.

단계(S1220)에서는 비트스트림에 헤더 정보가 존재하는지 여부를 판단한다. In step S1220, it is determined whether header information exists in the bitstream.

만약, 단계(S1220)에서는 비트스트림에 헤더 정보가 존재하지 않는 것으로 판단된 경우, 이후 설명할 단계(S1250)가 수행된다.If it is determined in step S1220 that header information does not exist in the bitstream, step S1250 to be described later is performed.

만약, 단계(S1220)에서는 비트스트림에 헤더 정보가 존재하는 것으로 판단된 경우, 단계(S1230)에서는 헤더 정보 복원한다. If it is determined in step S1220 that header information exists in the bitstream, header information is restored in step S1230.

이후, 단계(S1240)에서는 위상 파라미터가 사용되었는지 여부에 대한 정보를 복원하고, 단계(S1250)에서는 채널간의 에너지 차이를 나타내는 정보(CLD)를 복원하고, 단계(S1260)에서는 채널간의 유사도를 나타내는 정보(ICC)를 복원한다. In step S1240, information indicating whether the phase parameter is used is restored. In step S1250, information CLD indicating the energy difference between channels is restored. In step S1260, information indicating the degree of similarity between channels (ICC).

단계(S1270)에서는 위상 파라미터가 사용되었는지 여부를 판단한다. In step S1270, it is determined whether or not the phase parameter is used.

만약, 단계(S1270)에서 위상 파라미터가 사용된 것으로 판단된 경우, 단계(S1280)에서는 위상 파라미터가 사용될 주파수 대역의 개수만큼 위상 파라미터를 복원하고, 단계(S1290)에서는 상기 복원된 위상 파라미터에 기초하여 복원된 모노 신호를 업 믹싱한다. If it is determined in step S1270 that the phase parameter is used, in step S1280, the phase parameter is restored by the number of frequency bands in which the phase parameter is to be used, and in step S1290, based on the restored phase parameter And upmixes the restored mono signal.

만약, 단계(S1270)에서는 위상 파라미터가 사용되지 않은 것으로 판단된 경우, 단계(S1280)은 수행되지 않고, 단계(S1290)에서는 위상 파라미터를 사용하지 않고 복원된 모노 신호를 업 믹싱한다. If it is determined in step S1270 that the phase parameter is not used, step S1280 is not performed, and in step S1290, the restored mono signal is upmixed without using the phase parameter.

도 13은 도 3의 (c)에 도시된 비트스트림을 복호화 하는 방법의 흐름도를 도시한 도면으로서, 도 12의 흐름도에서 부가되는 단계만을 도시하고 있다. FIG. 13 is a flowchart showing a method of decoding the bit stream shown in FIG. 3 (c), and shows only steps added in the flowchart of FIG.

단계(S1270)에서 위상 파라미터가 사용된 것으로 판단된 경우, 단계(S1271)에서는 위상 파라미터가 적용될 주파수 대역의 개수의 갱신 여부에 대한 정보를 복원한다. If it is determined in step S1270 that the phase parameter is used, information on whether the number of frequency bands to which the phase parameter is to be updated is restored in step S1271.

이후, 단계(S1272)에서는 위상 파라미터가 적용될 주파수 대역의 개수가 갱신되는지 여부를 판단한다. Thereafter, in step S1272, it is determined whether or not the number of frequency bands to which the phase parameter is to be applied is updated.

만약 단계(S1272)에서 위상 파라미터가 적용될 주파수 대역의 개수가 갱신되는 것으로 판단한 경우, 단계(S1273)에서는 위상 파라미터가 적용될 주파수 대역의 개수를 복원한다. 이 경우, 단계(S1280)에서는 복원된 주파수 대역의 개수를 이용하여 위상 파라미터를 복원한다. If it is determined in step S1272 that the number of frequency bands to which the phase parameter is to be applied is updated, the number of frequency bands to which the phase parameter is applied is restored in step S1273. In this case, in step S1280, the phase parameters are restored using the number of the restored frequency bands.

만약 단계(S1272)에서 위상 파라미터가 적용될 주파수 대역의 개수가 갱신되지 않는 것으로 판단한 경우, 단계(S1273)은 수행되지 않고, 단계(S1280)에서는 이전 프레임에서의 위상 파라미터가 적용될 주파수 대역의 개수를 이용하여 위상 파라미터를 복원한다. If it is determined in step S1272 that the number of frequency bands to which the phase parameter is to be applied is not updated, step S1273 is not performed, and in step S1280, the number of frequency bands to which the phase parameter in the previous frame is applied is used Thereby restoring the phase parameter.

또한, 본 발명에 따른 멀티 채널 신호의 부호화/복호화 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 상기된 하드웨어 장치는 본 발명의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다. Also, the multi-channel signal encoding / decoding method according to the present invention may be implemented in the form of a program command that can be executed through various computer means and recorded in a computer readable medium. The computer-readable medium may include program instructions, data files, data structures, and the like, alone or in combination. The program instructions recorded on the medium may be those specially designed and constructed for the present invention or may be available to those skilled in the art of computer software. Examples of computer-readable media include magnetic media such as hard disks, floppy disks and magnetic tape; optical media such as CD-ROMs and DVDs; magnetic media such as floppy disks; Examples of program instructions, such as magneto-optical and ROM, RAM, flash memory and the like, can be executed by a computer using an interpreter or the like, as well as machine code, Includes a high-level language code. The hardware devices described above may be configured to operate as one or more software modules to perform the operations of the present invention, and vice versa.

이상과 같이 본 발명은 비록 한정된 실시예와 도면에 의해 설명되었으나, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상의 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다. 그러므로, 본 발명의 범위는 설명된 실시예에 국한되어 정해져서는 안되며, 후술하는 특허청구범위뿐 아니라 이 특허청구범위와 균등한 것들에 의해 정해져야 한다. While the invention has been shown and described with reference to certain preferred embodiments thereof, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. This is possible. Therefore, the scope of the present invention should not be limited to the described embodiments, but should be determined by the equivalents of the claims and the claims.

210 ... 모노신호 복호화부 220 ... 주파수 대역 결정부
230 ... 파라미터 복호화부 240 ... 업믹싱부
210 ... Mono signal decoding unit 220 ... Frequency band determining unit
230 ... parameter decoding unit 240 ... upmixing unit

Claims (8)

비트스트림으로부터 모노 다운믹스 신호를 복호화하는 단계;
위상 파라미터를 위한 대역정보를 획득하는 단계;
상기 대역정보를 근거로 하여, 상기 비트스트림으로부터 상기 위상 파라미터를 복호화하는 단계; 및
상기 위상 파라미터를 이용하여 상기 모노 다운믹스 신호를 업믹싱하는 단계를 포함하고,
상기 위상 파라미터를 위한 대역정보가 상기 비트스트림을 통하여 전송되지 않는 경우, 미리 정의된 테이블로부터 얻어지는 대역정보에 근거하여 상기 위상 파라미터를 복호화하는 것을 특징으로 하는 복호화 방법.
Decoding the mono downmix signal from the bitstream;
Obtaining band information for a phase parameter;
Decoding the phase parameter from the bitstream based on the band information; And
Upmixing the mono downmix signal using the phase parameter,
And when the band information for the phase parameter is not transmitted through the bit stream, decodes the phase parameter based on band information obtained from a predefined table.
제1항에 있어서,
상기 위상 파라미터는 채널간의 위상차를 포함하는 것을 특징으로 하는 복호화 방법.
The method according to claim 1,
Wherein the phase parameter includes a phase difference between channels.
삭제delete 제1항에 있어서,
상기 위상 파라미터를 위한 대역정보가 상기 비트스트림을 통하여 전송되는 경우, 전송된 대역정보에 근거하여 상기 위상 파라미터를 복호화하는 복호화 방법.
The method according to claim 1,
And decodes the phase parameter based on the transmitted band information when band information for the phase parameter is transmitted through the bit stream.
제1항에 있어서,
상기 비트스트림은 헤더 및 복수의 프레임을 포함하고,
상기 대역정보 획득 단계는 상기 헤더, 또는 상기 복수의 프레임 각각으로부터 상기 대역정보를 얻는 것을 특징으로 하는 복호화 방법.
The method according to claim 1,
Wherein the bitstream comprises a header and a plurality of frames,
Wherein the band information obtaining step obtains the band information from each of the header or the plurality of frames.
제1항에 있어서,
상기 대역정보는 상기 모노 다운믹스 신호가 업믹싱되는 경우, 상기 위상 파라미터가 적용될 주파수 대역의 개수를 포함하는 것을 특징으로 하는 복호화 방법.
The method according to claim 1,
Wherein the band information includes a number of frequency bands to which the phase parameter is to be applied when the mono downmix signal is upmixed.
제6항에 있어서,
상기 대역 정보는 상기 위상 파라미터가 적용될 주파수 대역의 개수의 갱신 여부에 대한 정보를 더 포함하는 것을 특징으로 하는 복호화 방법.
The method according to claim 6,
Wherein the band information further includes information on whether to update the number of frequency bands to which the phase parameter is to be applied.
제1항, 제2항, 제4항 내지 제7항 중 어느 한 항에 기재된 복호화 방법을 실행할 수 있는 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program capable of executing the decoding method according to any one of claims 1, 2, and 7 to 7.
KR1020150062653A 2015-05-04 2015-05-04 Method for decoding multichannel signal KR101613979B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020150062653A KR101613979B1 (en) 2015-05-04 2015-05-04 Method for decoding multichannel signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020150062653A KR101613979B1 (en) 2015-05-04 2015-05-04 Method for decoding multichannel signal

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020080107240A Division KR101600352B1 (en) 2008-10-30 2008-10-30 / method and apparatus for encoding/decoding multichannel signal

Related Child Applications (1)

Application Number Title Priority Date Filing Date
KR1020160044930A Division KR101709690B1 (en) 2016-04-12 2016-04-12 Method for decoding multichannel signal

Publications (2)

Publication Number Publication Date
KR20150058120A KR20150058120A (en) 2015-05-28
KR101613979B1 true KR101613979B1 (en) 2016-04-20

Family

ID=53392739

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020150062653A KR101613979B1 (en) 2015-05-04 2015-05-04 Method for decoding multichannel signal

Country Status (1)

Country Link
KR (1) KR101613979B1 (en)

Also Published As

Publication number Publication date
KR20150058120A (en) 2015-05-28

Similar Documents

Publication Publication Date Title
KR101600352B1 (en) / method and apparatus for encoding/decoding multichannel signal
KR101747307B1 (en) Apparatus for encoding/decoding multichannel signal and method thereof
US8645126B2 (en) Apparatus and method of encoding and decoding signals
KR100908081B1 (en) Apparatus and method for generating encoded and decoded multichannel signals
KR100936498B1 (en) Stereo compatible multi-channel audio coding
KR100888474B1 (en) Apparatus and method for encoding/decoding multichannel audio signal
KR100946688B1 (en) A multi-channel audio decoder, a multi-channel encoder, a method for processing an audio signal, and a recording medium which records a program for performing the processing method
JP4601669B2 (en) Apparatus and method for generating a multi-channel signal or parameter data set
US9570082B2 (en) Method, medium, and apparatus encoding and/or decoding multichannel audio signals
US20120288099A1 (en) Method, medium, and system encoding/decoding multi-channel signal
US8948891B2 (en) Method and apparatus for encoding/decoding multi-channel audio signal by using semantic information
JP6133422B2 (en) Generalized spatial audio object coding parametric concept decoder and method for downmix / upmix multichannel applications
KR20140123015A (en) Encoder and encoding method for multi-channel signal, and decoder and decoding method for multi-channel signal
JP5949270B2 (en) Audio decoding apparatus, audio decoding method, and audio decoding computer program
KR101709690B1 (en) Method for decoding multichannel signal
KR101613979B1 (en) Method for decoding multichannel signal
JP6179122B2 (en) Audio encoding apparatus, audio encoding method, and audio encoding program
KR101735619B1 (en) Apparatus for encoding/decoding multichannel signal and method thereof
KR20150011783A (en) Decoding method for multi-channel audio signal using reverberation signal and decoder
KR101500972B1 (en) Method and Apparatus of Encoding/Decoding Multi-Channel Signal

Legal Events

Date Code Title Description
A107 Divisional application of patent
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
A107 Divisional application of patent
FPAY Annual fee payment

Payment date: 20190328

Year of fee payment: 4