KR101001746B1 - Scalable audio data arithmetic decoding method and apparatus - Google Patents

Scalable audio data arithmetic decoding method and apparatus Download PDF

Info

Publication number
KR101001746B1
KR101001746B1 KR1020070004420A KR20070004420A KR101001746B1 KR 101001746 B1 KR101001746 B1 KR 101001746B1 KR 1020070004420 A KR1020070004420 A KR 1020070004420A KR 20070004420 A KR20070004420 A KR 20070004420A KR 101001746 B1 KR101001746 B1 KR 101001746B1
Authority
KR
South Korea
Prior art keywords
decoding
symbol
decoded
probability
bitstream
Prior art date
Application number
KR1020070004420A
Other languages
Korean (ko)
Other versions
KR20070021287A (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 KR1020070004420A priority Critical patent/KR101001746B1/en
Publication of KR20070021287A publication Critical patent/KR20070021287A/en
Application granted granted Critical
Publication of KR101001746B1 publication Critical patent/KR101001746B1/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/04Speech 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 predictive techniques
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing

Abstract

스케일러블 오디오 데이터 산술 복호화 방법 및 장치와 스케일러블 오디오 비트스트림 절단 방법이 개시된다. 그 산술복호화 방법은, 스케일러블 산술 부호화된 심볼을 복호화하는 방법에 있어서, (a) 복호화하고자 하는 심볼과 그 심볼이 발생할 확률을 이용하여 산술복호화하는 단계; 및 (b) 심볼의 복호화완료여부를 나타내는 앰비규어티(ambiguity)를 체크하여 복호화계속여부를 결정하는 단계를 포함한다. Disclosed are a scalable audio data arithmetic decoding method and apparatus and a scalable audio bitstream truncation method. The method of arithmetic decoding includes: (a) performing arithmetic decoding using a symbol to be decoded and a probability of generating the symbol; And (b) determining whether to continue decoding by checking an ambiguity indicating whether or not the symbol has been decoded.

본 발명에 의하면, MPEG-4 스케일러블 로슬리스 오디오 코딩(Scalable lossless audio coding)에서 적용된 산술 코딩(arithmetic coding)에 있어서 스케일러빌리티(scalablility)를 적용하였을 때의 효율적으로 복호화할 수 있다. 비트스트림이 절단(truncation)되었을 경우에도 복호화 종료 시점을 알 수 있게 하며, 잘려나간 부분에 대해서도 부가적인 복호화가 가능하다. According to the present invention, it is possible to efficiently decode when scalability is applied to arithmetic coding applied in MPEG-4 scalable lossless audio coding. Even when the bitstream is truncated, the end point of decoding can be known, and additional decoding can be performed on the cut-out part.

Description

스케일러블 오디오 데이터 산술 복호화 방법 및 장치{Scalable audio data arithmetic decoding method and apparatus}Scalable audio data arithmetic decoding method and apparatus

도 1은 일반적인 산술 복호화 방법을 흐름도로 도시한 것이다.1 is a flowchart illustrating a general arithmetic decoding method.

도 2는 일반적인 확장성(scalability)을 위한 비트스트림 절단(bitstream truncation)의 경우를 도시한 것이다.Figure 2 shows the case of bitstream truncation for general scalability.

도 3은 일반적인 이진 산술 복호화를 하기 위한 수도 코드(pseudo code)를 나타낸 것이다. 3 shows pseudo code for general binary arithmetic decoding.

도 4는 비트스트림이 절단(truncation) 되었을 경우의 절단점(truncation point) 부근에서의 버퍼에 입력된 값을 나타낸 것이다.4 illustrates a value input to a buffer near a truncation point when the bitstream is truncated.

도 5는 본 발명에 의한 스케일러블 오디오 데이터의 산술복호화 장치의 구성을 블록도로 도시한 것이다.5 is a block diagram showing the configuration of an apparatus for arithmetic decoding of scalable audio data according to the present invention.

도 6은 ambiguity 체크부(540)의 보다 세부적인 구성을 블록도로 도시한 것이다.6 is a block diagram illustrating a more detailed configuration of the ambiguity check unit 540.

도 7은 본 발명에 의한 스케일러블 오디오 데이터의 산술복호화 방법을 흐름도로 도시한 것이다.7 is a flowchart illustrating a method for arithmetic decoding of scalable audio data according to the present invention.

도 8은 본 발명에 의한 스케일러블 비트스트림의 복원계속여부 판단방법을 적용하여 추가적으로 더 복호화한 예를 보여준다.8 shows an example of further decoding by applying the method of determining whether to continue restoring the scalable bitstream according to the present invention.

도 9는 부호(sign) 비트에서 앰비규어티(ambiguity)가 발생할 경우 이를 처리하는 예를 도시한 것이다. 9 illustrates an example of processing an ambiguity when a sign bit occurs.

도 10은 본 발명에 의한 스케일러블 오디오 데이터의 비트스트림 절단 방법을 흐름도로 도시한 것이다.10 is a flowchart illustrating a method of cutting a bitstream of scalable audio data according to the present invention.

본 발명은 스케일러블 오디오 데이터 복호화에 관한 것으로서, 특히 스케일러블 오디오 산술 복호화 방법 및 장치와 스케일러블 오디오 비트스트림 절단 방법에 관한 것이다. The present invention relates to scalable audio data decoding, and more particularly, to a scalable audio arithmetic decoding method and apparatus and a scalable audio bitstream truncation method.

오디오 무손실 부호화 방식에 대한 기술은 오디오 방송이나 아카이빙(archiving) 용도로 많은 수요가 있다. 무손실 오디오 부호화를 함에 있어서 주요 기술은 시간/주파수 변환 혹은 선형예측을 이용하여 엔트로피(entropy) 부호화기를 적용하는 것이 핵심기술이다.Description of the art of audio lossless coding is in demand for audio broadcasting or archiving. In lossless audio coding, the main technique is to apply an entropy encoder using time / frequency conversion or linear prediction.

비트스트림 리파싱(re-parsing)을 통한 확장성(scalability)을 적용할 경우에는 하나의 프레임(frame)에 해당하는 비트스트림(bitstream)을 서버(server) 단에서 임의의 위치에서 절단(truncate)하여 복호화단에 전송한다. When applying scalability through bitstream re-parsing, the bitstream corresponding to one frame is truncated at an arbitrary position on the server side. To the decoder.

도 1은 일반적인 산술 복호화 방법을 흐름도로 도시한 것이다. 먼저, 초기화를 한 후(100단계), 복호화할 심볼을 찾는다.(110단계) 문맥(context)을 이용하 여 심볼의 확률을 계산하여(120단계) 산술복호화를 수행한다.(130단계) 비트스트림의 끝(end) 인지 체크하여(140단계), 끝이 아니면 다시 복호화할 심볼을 찾아 위의 과정을 반복하고 끝이면 복호화를 종료한다. 그런데 보통 산술 복호화 과정을 거칠 때는 복호화할 전체 심볼을 알거나 특정 종결코드(termination code)를 삽입하여 복호화기에게 복호화가 언제 종료되어야 하는지 알려준다. 그러나 도 2와 같이 비트스트림이 절단(truncation)되었을 경우에는 이러한 정보가 잘려나간 상태이기 때문에 복호화기는 언제 복호화를 종료해야 할지 알 수 없다. 정확한 종료시점을 알지 못하므로 복호화 할 때 원하지 않는 데이터가 복호화 될 수 있다.1 is a flowchart illustrating a general arithmetic decoding method. First, after initializing (step 100), a symbol to be decoded is found (step 110). Arithmetic decoding is performed by calculating a probability of a symbol using a context (step 120). If it is the end of the stream (step 140), if it is not the end, it finds the symbol to be decoded again, repeats the above process and ends the decoding. In general, when an arithmetic decoding process is performed, the entire symbol to be decoded is known or a specific termination code is inserted to inform the decoder when decoding should end. However, when the bitstream is truncated as shown in FIG. 2, since the information is truncated, the decoder cannot know when to end decoding. Since the exact end point is not known, unwanted data may be decrypted when decrypting.

본 발명이 이루고자 하는 기술적 과제는 상술한 문제점을 해결하기 위해 복호화 에러 없이 복호화를 효율적으로 종료하는, 스케일러블 오디오 데이터 산술 복호화 방법 및 장치를 제공하는 것이다.SUMMARY OF THE INVENTION The present invention has been made in an effort to provide a scalable audio data arithmetic decoding method and apparatus for efficiently ending decoding without a decoding error in order to solve the above problems.

본 발명이 이루고자 하는 기술적 과제는 스케일러블 오디오 데이터 비트스트림 절단 방법을 제공하는 것이다.An object of the present invention is to provide a scalable audio data bitstream truncation method.

상기 기술적 과제를 해결하기 위한 본 발명에 의한 스케일러블 오디오 데이터 산술 복호화 방법은, 스케일러블 산술 부호화된 심볼을 복호화하는 방법에 있어서, (a) 복호화하고자 하는 심볼과 그 심볼이 발생할 확률을 이용하여 산술복호화하는 단계; 및 (b) 심볼의 복호화완료여부를 나타내는 앰비규어티(ambiguity)를 체크하여 복호화계속여부를 결정하는 단계를 포함한다. In the scalable audio data arithmetic decoding method according to the present invention for solving the above technical problem, in the method of decoding a scalable arithmetic encoded symbol, (a) arithmetic using a symbol to be decoded and the probability that the symbol occurs Decrypting; And (b) determining whether to continue decoding by checking an ambiguity indicating whether or not the symbol has been decoded.

상기 (b) 단계는 스케일러블 복호화를 위해 절단된(truncated) 후 남은 유효한 비트스트림을 복호화한 후, 스케일러빌리티(scalablility)를 위해 잘려나간 비트스트림을 복호화하기 위한 가상의 데이터(dummy bit)를 이용하여 복호화할 경우, 상기 가상의 데이터(dummy bit)에 무관하게 심볼이 복호화되는 경우에는 복호화를 계속 진행하고, 상기 가상의 데이터에 의존되어 복호화 될 심볼이 복호화되는 경우에는 앰비규어티가 발생했다고 판단하여 복호화를 완료하는 단계를 포함한다.In step (b), after decoding the valid bit stream remaining after truncation for scalable decoding, virtual data (dummy bit) is used to decode the bit stream cut out for scalability. If the symbol is decoded irrespective of the dummy data, the decoding is continued. If the symbol to be decoded depending on the virtual data is decoded, an ambiguity is determined. To complete the decryption.

상기 (b) 단계는 (b1) 수학식 1 및 수학식 2의 우변 값을 K라 할 때, 상기 K를 계산하여 K에 따라 심볼의 복호화 계속 여부를 판단하는 단계;The step (b) may include (b1) determining whether to continue decoding a symbol according to K by calculating K when the right side values of Equations 1 and 2 are K;

[수학식1][Equation 1]

Figure 112007004098653-pat00001
Figure 112007004098653-pat00001

[수학식 2][Equation 2]

Figure 112007004098653-pat00002
Figure 112007004098653-pat00002

(여기서, v1은 스케일러빌리티를 위해 비트스트림을 절단할 경우, 남아있는 유효한 비트스트림의 값, v2는 절단된 후 잘려나간 비트스트림 값, dummy는 v2의 비트수, freq는 심볼의 확률값, high, low는 심볼의 확률값이 존재하는 범위의 상한과 하한을 나타낸다.) (b2) 상기 K가 2dummy-1 이상이면 심볼을 1로 복호화하고, 상기 K가 0 이하이면 심볼을 0 으로 복호화하는 단계; (b3)상기 K가 0 과 2dummy-1 사이에 있으면 앰비규어티가 발생했다고 결정하여 복호화를 중단하는 단계를 포함 한다.(Where v1 is the truncation of the bitstream for scalability, the value of the remaining valid bitstream, v2 is the truncated bitstream value, dummy is the number of bits in v2, freq is the probability value of the symbol, high, low indicates an upper limit and a lower limit of a range in which the probability value of the symbol exists. (b2) decoding the symbol as 1 when the K is 2 dummy −1 or more, and decoding the symbol as 0 when the K is 0 or less; (b3) if K is between 0 and 2 dummy −1, determining that an ambiguity has occurred and stopping decoding.

상기 스케일러블 데이터 산술 복호화 방법은 상기 (a)단계 전에 복호화할 심볼을 찾는 단계; 및 상기 심볼의 확률을 계산하는 단계를 더 구비함이 바람직하다.The scalable data arithmetic decoding method includes: finding a symbol to be decoded before the step (a); And calculating the probability of the symbol.

상기 심볼의 확률을 계산하는 단계는 복호화할 비트스트림의 헤더 정보로부터 디코딩 모드를 찾아내는 단계; 및 상기 디코딩 모드가 문맥기반 산술부호화 모드(cbac)인 경우, 복호화할 심볼의 문맥을 참조하여 심볼의 확률을 얻는 단계를 포함함이 바람직하다.The calculating of the probability of the symbol may include finding a decoding mode from header information of a bitstream to be decoded; And if the decoding mode is a context-based arithmetic coding mode (cbac), obtaining a probability of the symbol by referring to the context of the symbol to be decoded.

상기 (a)단계는 비트플레인 상의 값 중 처음으로 0 이 아닌 샘플이 복호화되면, 그에 해당하는 부호(sign)비트를 산술 복호화하며, 상기 (b3)단계는 상기 K가 0 과 2dummy-1 사이에 있으면 앰비규어티가 발생했다고 결정하여 복호화를 중단하고, 바로 이전에 복호화된 샘플을 0 으로 세팅하여 복호화를 종료함이 바람직하다.Wherein the step (a) if the first non-zero sample among values on the bit-plane decoding, and arithmetic decoding a code (sign) bit corresponding thereto, between the (b3) is a step wherein K is 0 and 2 dummy -1 If it is, it is preferable to stop the decoding by determining that the ambiguity has occurred, and to end the decoding by setting the immediately decoded sample to zero.

상기 심볼의 확률을 계산하는 단계는 복호화할 비트스트림의 헤더 정보로부터 디코딩 모드를 찾아내는 단계; 및 상기 디코딩 모드가 비트플레인 골룸부호화 모드(bpgc)인 경우, 복호화할 데이터가 라플라시안 분포를 하고 있다고 가정하여 복호화할 심볼의 확률을 얻는 단계를 포함함이 바람직하다. 상기 (a)단계는 비트플레인 상의 값 중 처음으로 0 이 아닌 샘플이 복호화되면, 그에 해당하는 부호(sign)비트를 산술 복호화하며, 상기 (b3)단계는 상기 K가 0 과 2dummy-1 사이에 있으면 앰비규어티가 발생했다고 결정하여 복호화를 중단하고, 바로 이전에 복호화된 샘플을 0 으로 세팅하여 복호화를 종료함이 바람직하다. 상기 심볼의 확률을 계 산하는 단계는 복호화할 비트스트림의 헤더 정보로부터 디코딩 모드를 찾아내는 단계; 및 상기 디코딩 모드가 저에너지(low energy) 모드인 경우, 비트스트림 헤더의 확률모델 정보를 이용하여 복호화할 심볼의 확률을 얻는 단계를 포함함이 바람직하다.The calculating of the probability of the symbol may include finding a decoding mode from header information of a bitstream to be decoded; And when the decoding mode is the bitplane gollum coding mode (bpgc), assuming that data to be decoded has a Laplacian distribution, obtaining a probability of a symbol to be decoded. Wherein the step (a) if the first non-zero sample among values on the bit-plane decoding, and arithmetic decoding a code (sign) bit corresponding thereto, between the (b3) is a step wherein K is 0 and 2 dummy -1 If it is, it is preferable to stop the decoding by determining that the ambiguity has occurred, and to end the decoding by setting the immediately decoded sample to zero. The calculating of the probability of the symbol may include finding a decoding mode from header information of a bitstream to be decoded; And when the decoding mode is a low energy mode, obtaining a probability of a symbol to be decoded using probability model information of a bitstream header.

상기 기술적 과제를 해결하기 위한 본 발명에 의한 스케일러블 산술 부호화된 심볼을 복호화하는 장치는 복호화할 심볼과 그 확률을 이용하여 심볼을 산술복호화하는 심볼복호화부; 및 앰비규어티를 체크하여 복호화계속여부를 판단하는 ambiguity 체크부를 포함함을 특징으로 하고, 상기 ambiguity 체크부는 수학식 1 및 수학식 2의 우변 값을 K라 할 때, 상기 K를 계산하여 K에 따라 심볼의 복호화 계속 여부를 판단하는 복호화계속여부판단부; According to an aspect of the present invention, there is provided an apparatus for decoding a scalable arithmetic coded symbol, comprising: a symbol decoding unit configured to perform arithmetic decoding on a symbol using a symbol to be decoded and a probability thereof; And an ambiguity check unit for determining whether to continue decoding by checking an ambiguity, wherein the ambiguity check unit calculates K when the right side value of Equations 1 and 2 is K; Decoding continued determination unit for determining whether to continue decoding the symbol according to;

[수학식1][Equation 1]

Figure 112007004098653-pat00003
Figure 112007004098653-pat00003

[수학식 2][Equation 2]

Figure 112007004098653-pat00004
Figure 112007004098653-pat00004

(여기서, v1은 절단된 후 남아있는 유효한 비트스트림의 값, v2는 절단된 후 잘려나간 비트스트림 값, dummy는 v2의 비트수, freq는 심볼의 확률값, high, low는 심볼의 확률값이 존재하는 범위의 상한과 하한을 나타낸다.) 상기 K가 2dummy-1 이상이면 심볼을 1로 복호화하고, 상기 K가 0 이하이면 심볼을 0 으로 복호화하는 추가복호화부; 및 상기 K가 0 과 2dummy-1 사이에 있으면, 앰비규어티가 발생했다고 결정하여 복호화를 중단하는 복호화중단부를 포함한다.Where v1 is the value of the valid bitstream remaining after truncation, v2 is the bitstream value truncated after truncation, dummy is the number of bits in v2, freq is the probability value of the symbol, and high and low are the probability values of the symbol. An additional decoding unit which decodes the symbol into 1 when the K is 2 dummy −1 or more, and decodes the symbol into 0 when the K is 0 or less; And a decoding stop part that determines that an ambiguity has occurred and stops decoding when K is between 0 and 2 dummy −1.

상기 스케일러블 산술 부호화된 심볼을 복호화하는 장치는 복호화할 심볼을 찾아 상기 심볼의 확률을 계산하는 심볼결정/확률예측부를 더 구비함이 바람직하다.Preferably, the apparatus for decoding the scalable arithmetic coded symbol further includes a symbol determination / probability prediction unit that finds a symbol to be decoded and calculates a probability of the symbol.

상기 다른 기술적 과제를 해결하기 위한 본 발명에 의한 스케일러블 데이터의 비트스트림 절단 방법은, 헤더로부터 비트스트림 길이를 해석하는 단계; 비트스트림을 읽어 타겟 비트율에 해당하는 바이트를 계산하는 단계; 상기 계산된 타겟 바이트와 실제 비트수 중 작은 값으로 비트스트림 길이를 수정하는 단계; 및 타겟 길이 만큼 비트스트림을 저장 및 전송하는 단계를 포함한다.According to another aspect of the present invention, there is provided a method of cutting a bitstream of scalable data, the method comprising: analyzing a bitstream length from a header; Reading a bitstream and calculating a byte corresponding to a target bit rate; Modifying a bitstream length by a smaller value of the calculated target byte and the actual number of bits; And storing and transmitting the bitstream by the target length.

상기 기술적 과제를 해결하기 위한 본 발명에 의한 스케일러블 오디오 산술 복호화방법은, 스케일러블 오디오 산술 부호화된 심볼을 복호화하는 방법에 있어서, (a) 복호화하고자 하는 심볼과 그 심볼이 발생할 확률을 이용하여 산술복호화하는 단계; 및 (b) 심볼의 복호화완료여부를 나타내는 앰비규어티를 체크하여 복호화계속여부를 결정하는 단계를 포함하고, 상기 (b) 단계는 (b1) 수학식 1 및 수학식 2의 우변 값을 K라 할 때, 상기 K를 계산하여 K에 따라 심볼의 복호화 계속 여부를 판단하는 단계;In the scalable audio arithmetic decoding method according to the present invention for solving the above technical problem, in the method of decoding a scalable audio arithmetic encoded symbol, (a) arithmetic using a symbol to be decoded and the probability that the symbol occurs Decrypting; And (b) determining whether to continue decoding by checking an ambiguity indicating whether or not the symbol has been decoded, wherein step (b) includes (b1) a value of the right side of Equation 1 and Equation 2 as K; Calculating the K to determine whether to continue decoding the symbol according to K;

[수학식1][Equation 1]

Figure 112007004098653-pat00005
Figure 112007004098653-pat00005

[수학식 2][Equation 2]

Figure 112007004098653-pat00006
Figure 112007004098653-pat00006

(여기서, v1은 scalability를 위해 비트스트림을 절단할 경우, 남아있는 유효한 비트스트림의 값, v2는 절단된 후 잘려나간 비트스트림 값, dummy는 v2의 비트수, freq는 심볼의 확률값, high, low는 심볼의 확률값이 존재하는 범위의 상한과 하한을 나타낸다.) (b2) 상기 K가 2dummy-1 이상이면 심볼을 1로 복호화하고, 상기 K가 0 이하이면 심볼을 0 으로 복호화하는 단계; (b3)상기 K가 0 과 2dummy-1 사이에 있으면 앰비규어티가 발생했다고 결정하여 복호화를 완료하는 단계를 포함한다.(Where v1 is the truncated bitstream for scalability, the remaining valid bitstream value, v2 is the truncated bitstream value after truncation, dummy is the number of bits in v2, freq is the probability value of the symbol, high, low Represents an upper limit and a lower limit of a range in which a probability value of a symbol exists.) (B2) decoding the symbol as 1 when K is 2 dummy −1 or more, and decoding the symbol as 0 when K is 0 or less; (b3) if the K is between 0 and 2 dummy −1, determining that an ambiguity has occurred and completing decoding.

상기 기술적 과제를 해결하기 위한 본 발명에 의한 스케일러블 오디오 산술 복호화방법은, (a) 복호화하고자 하는 심볼과 그 심볼이 발생할 확률을 이용하여 산술복호화하되, 상기 심볼의 확률계산은 복호화할 비트스트림의 헤더 정보로부터 디코딩 모드를 찾아내어, 상기 디코딩 모드가 문맥기반 산술부호화 모드(cbac)인 경우, 복호화할 심볼의 문맥을 참조하여 심볼의 확률을 얻는 단계; 및 (b) 심볼의 복호화완료여부를 나타내는 앰비규어티를 체크하여 복호화계속여부를 결정하는 단계를 포함하고, 상기 (b) 단계는 (b1) 수학식 1 및 수학식 2의 우변 값을 K라 할 때, 상기 K를 계산하여 K에 따라 심볼의 복호화 계속 여부를 판단하는 단계;In the scalable audio arithmetic decoding method according to the present invention for solving the above technical problem, (a) arithmetic decoding using a symbol to be decoded and the probability that the symbol occurs, the probability calculation of the symbol is Finding a decoding mode from header information, and if the decoding mode is a context-based arithmetic encoding mode (cbac), obtaining a symbol probability by referring to a context of a symbol to be decoded; And (b) determining whether to continue decoding by checking an ambiguity indicating whether or not the symbol has been decoded, wherein step (b) includes (b1) a value of the right side of Equation 1 and Equation 2 as K; Calculating the K to determine whether to continue decoding the symbol according to K;

[수학식1][Equation 1]

Figure 112007004098653-pat00007
Figure 112007004098653-pat00007

[수학식 2][Equation 2]

Figure 112007004098653-pat00008
Figure 112007004098653-pat00008

(여기서, v1은 스케일러빌리티를 위해 비트스트림을 절단할 경우, 남아있는 유효한 비트스트림의 값, v2는 절단된 후 잘려나간 비트스트림 값, dummy는 v2의 비트수, freq는 심볼의 확률값, high, low는 심볼의 확률값이 존재하는 범위의 상한과 하한을 나타낸다.) (b2) 상기 K가 2dummy-1 이상이면 심볼을 1로 복호화하고, 상기 K가 0 이하이면 심볼을 0 으로 복호화하는 단계; (b3)상기 K가 0 과 2dummy-1 사이에 있으면 앰비규어티가 발생했다고 결정하여 복호화를 완료하는 단계를 포함함을 특징으로 한다.(Where v1 is the truncation of the bitstream for scalability, the value of the remaining valid bitstream, v2 is the truncated bitstream value, dummy is the number of bits in v2, freq is the probability value of the symbol, high, low indicates an upper limit and a lower limit of a range in which the probability value of the symbol exists. (b2) decoding the symbol as 1 when the K is 2 dummy −1 or more, and decoding the symbol as 0 when the K is 0 or less; (b3) if K is between 0 and 2 dummy -1, determining that an ambiguity has occurred and completing decoding.

상기 (a)단계는 비트플레인 상의 값 중 처음으로 0 이 아닌 샘플이 복호화되면, 그에 해당하는 부호(sign)비트를 산술 복호화하며, 상기 (b3)단계는 상기 K가 0 과 2dummy-1 사이에 있으면 앰비규어티가 발생했다고 결정하여 복호화를 중단하고, 바로 이전에 복호화된 샘플을 0 으로 세팅하여 복호화를 종료함이 바람직하다.Wherein the step (a) if the first non-zero sample among values on the bit-plane decoding, and arithmetic decoding a code (sign) bit corresponding thereto, between the (b3) is a step wherein K is 0 and 2 dummy -1 If it is, it is preferable to stop the decoding by determining that the ambiguity has occurred, and to end the decoding by setting the immediately decoded sample to zero.

상기 또 다른 기술적 과제를 해결하기 위한 본 발명에 의한 스케일러블 오디오 산술 복호화방법은, (a) 복호화하고자 하는 심볼과 그 심볼이 발생할 확률을 이 용하여 산술복호화하되, 상기 심볼의 확률계산은 복호화할 비트스트림의 헤더 정보로부터 디코딩 모드를 찾아내어, 상기 디코딩 모드가 비트플레인 골룸부호화 모드(bpgc)인 경우, 복호화할 데이터가 라플라시안 분포를 하고 있다고 가정하여 복호화할 심볼의 확률을 얻는 단계; 및 (b) 심볼의 복호화완료여부를 나타내는 앰비규어티를 체크하여 복호화계속여부를 결정하는 단계를 포함하고, 상기 (b) 단계는 (b1) 수학식 1 및 수학식 2의 우변 값을 K라 할 때, 상기 K를 계산하여 K에 따라 심볼의 복호화 계속 여부를 판단하는 단계;In the scalable audio arithmetic decoding method according to the present invention for solving the another technical problem, (a) arithmetic decoding using a symbol to be decoded and the probability that the symbol occurs, but the probability calculation of the symbol is a bit to decode Finding a decoding mode from the header information of the stream, and if the decoding mode is a bitplane gollum coding mode (bpgc), assuming that the data to be decoded has a Laplacian distribution, obtaining a probability of a symbol to be decoded; And (b) determining whether to continue decoding by checking an ambiguity indicating whether or not the symbol has been decoded, wherein step (b) includes (b1) a value of the right side of Equation 1 and Equation 2 as K; Calculating the K to determine whether to continue decoding the symbol according to K;

[수학식1][Equation 1]

Figure 112007004098653-pat00009
Figure 112007004098653-pat00009

[수학식 2][Equation 2]

Figure 112007004098653-pat00010
Figure 112007004098653-pat00010

(여기서, v1은 스케일러빌리티를 위해 비트스트림을 절단할 경우, 남아있는 유효한 비트스트림의 값, v2는 절단된 후 잘려나간 비트스트림 값, dummy는 v2의 비트수, freq는 심볼의 확률값, high, low는 심볼의 확률값이 존재하는 범위의 상한과 하한을 나타낸다.) (b2) 상기 K가 2dummy-1 이상이면 심볼을 1로 복호화하고, 상기 K가 0 이하이면 심볼을 0 으로 복호화하는 단계; (b3)상기 K가 0 과 2dummy-1 사이에 있으면 앰비규어티가 발생했다고 결정하여 복호화를 완료하는 단계를 포함함을 특징으로 한다.(Where v1 is the truncation of the bitstream for scalability, the value of the remaining valid bitstream, v2 is the truncated bitstream value, dummy is the number of bits in v2, freq is the probability value of the symbol, high, low indicates an upper limit and a lower limit of a range in which the probability value of the symbol exists. (b2) decoding the symbol as 1 when the K is 2 dummy −1 or more, and decoding the symbol as 0 when the K is 0 or less; (b3) if K is between 0 and 2 dummy -1, determining that an ambiguity has occurred and completing decoding.

상기 (a)단계는 비트플레인 상의 값 중 처음으로 0 이 아닌 샘플이 복호화되면, 그에 해당하는 부호(sign)비트를 산술 복호화하며, 상기 (b3)단계는 상기 K가 0 과 2dummy-1 사이에 있으면 앰비규어티가 발생했다고 결정하여 복호화를 중단하고, 바로 이전에 복호화된 샘플을 0 으로 세팅하여 복호화를 종료함을 특징으로 한다.Wherein the step (a) if the first non-zero sample among values on the bit-plane decoding, and arithmetic decoding a code (sign) bit corresponding thereto, between the (b3) is a step wherein K is 0 and 2 dummy -1 If it is determined that the ambiguity has occurred, the decoding is stopped, and the decoding is terminated by setting the immediately decoded sample to 0.

상기 또 다른 기술적 과제를 해결하기 위한 본 발명에 의한 스케일러블 오디오 산술 복호화방법은, (a) 복호화하고자 하는 심볼과 그 심볼이 발생할 확률을 이용하여 산술복호화하되, 상기 심볼의 확률계산은 복호화할 비트스트림의 헤더 정보로부터 디코딩 모드를 찾아내어, 상기 디코딩 모드가 저에너지(low energy) 모드인 경우, 비트스트림 헤더의 확률모델 정보를 이용하여 복호화할 심볼의 확률을 얻는 단계; 및 (b) 심볼의 복호화완료여부를 나타내는 앰비규어티를 체크하여 복호화계속여부를 결정하는 단계를 포함하고, 상기 (b) 단계는 (b1) 수학식 1 및 수학식 2의 우변 값을 K라 할 때, 상기 K를 계산하여 K에 따라 심볼의 복호화 계속 여부를 판단하는 단계;In the scalable audio arithmetic decoding method according to the present invention for solving the another technical problem, (a) arithmetic decoding using a symbol to be decoded and the probability that the symbol occurs, but the probability calculation of the symbol is a bit to decode Finding a decoding mode from the header information of the stream, and when the decoding mode is a low energy mode, obtaining a probability of a symbol to be decoded using probability model information of a bitstream header; And (b) determining whether to continue decoding by checking an ambiguity indicating whether or not the symbol has been decoded, wherein step (b) includes (b1) a value of the right side of Equation 1 and Equation 2 as K; Calculating the K to determine whether to continue decoding the symbol according to K;

[수학식1][Equation 1]

Figure 112007004098653-pat00011
Figure 112007004098653-pat00011

[수학식 2][Equation 2]

Figure 112007004098653-pat00012
Figure 112007004098653-pat00012

(여기서, v1은 스케일러빌리티를 위해 비트스트림을 절단할 경우, 남아있는 유효한 비트스트림의 값, v2는 절단된 후 잘려나간 비트스트림 값, dummy는 v2의 비트수, freq는 심볼의 확률값, high, low는 심볼의 확률값이 존재하는 범위의 상한과 하한을 나타낸다.) (b2) 상기 K가 2dummy-1 이상이면 심볼을 1로 복호화하고, 상기 K가 0 이하이면 심볼을 0 으로 복호화하는 단계; (b3)상기 K가 0 과 2dummy-1 사이에 있으면 앰비규어티가 발생했다고 결정하여 복호화를 완료하는 단계를 포함함을 특징으로 한다.(Where v1 is the truncation of the bitstream for scalability, the value of the remaining valid bitstream, v2 is the truncated bitstream value, dummy is the number of bits in v2, freq is the probability value of the symbol, high, low indicates an upper limit and a lower limit of a range in which the probability value of the symbol exists. (b2) decoding the symbol as 1 when the K is 2 dummy −1 or more, and decoding the symbol as 0 when the K is 0 or less; (b3) if K is between 0 and 2 dummy -1, determining that an ambiguity has occurred and completing decoding.

상기 또 다른 기술적 과제를 해결하기 위한 본 발명에 의한 스케일러블 오디오 데이터의 비트스트림 절단 방법은, 헤더로부터 비트스트림 길이를 해석하는 단계; 비트스트림을 읽어 타겟 비트율에 해당하는 바이트를 계산하는 단계; 상기 계산된 타겟 바이트와 실제 비트수 중 작은 값으로 비트스트림 길이를 수정하는 단계; 및 타겟 길이 만큼 비트스트림을 저장 및 전송하는 단계를 포함하고, 상기 타겟 바이트는According to another aspect of the present invention, there is provided a method of cutting a bitstream of scalable audio data, the method comprising: analyzing a bitstream length from a header; Reading a bitstream and calculating a byte corresponding to a target bit rate; Modifying a bitstream length by a smaller value of the calculated target byte and the actual number of bits; And storing and transmitting a bitstream by a target length, wherein the target byte is

[수학식3]&Quot; (3) "

target_bits = target_bitrate/2 * 1024 * osf/sampling_rate+0.5)-16target_bits = target_bitrate / 2 * 1024 * osf / sampling_rate + 0.5) -16

[수학식4]&Quot; (4) "

target_bytes = (target_bits + 7)/8target_bytes = (target_bits + 7) / 8

(수학식 3, 4에서, target_bitrate 는 목표하고자 하는 전송비트율(bit/sec), sampling_rate는 입력신호의 샘플링주파수(Hz), osf는 oversampling factor(1,2,4 중 하나의 값을 가짐)을 나타낸다.) 상기 수학식3, 4에 의해 구해짐 을 특징으로 한다.(Equation 3, 4, target_bitrate is the desired transmission bit rate (bit / sec), sampling_rate is the sampling frequency of the input signal (Hz), osf has one of oversampling factor (1, 2, 4)) It is characterized by the following formula (3, 4).

그리고 상기 기재된 발명을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공한다.A computer readable recording medium having recorded thereon a program for executing the invention described above is provided.

이하, 첨부된 도면들을 참조하여 본 발명에 따른 스케일러블 오디오 데이터 산술 복호화 방법 및 장치와 그 비트스트림 절단 방법에 대해 상세히 설명한다.Hereinafter, a scalable audio data arithmetic decoding method and apparatus and a bitstream truncation method according to the present invention will be described in detail with reference to the accompanying drawings.

도 3은 일반적인 이진 산술 복호화를 하기 위한 수도 코드(pseudo code)를 나타낸 것이다. 이는 MPEG-4 스케일러블 로슬리스 오디오 코딩(Scalable lossless audio coding)의 엔트로피 부호화기(entropy coder)에 사용되는 산술 복호화 알고리즘이다. 3 shows pseudo code for general binary arithmetic decoding. This is an arithmetic decoding algorithm used in the entropy coder of MPEG-4 scalable lossless audio coding.

도 3에 기재된 수도 코드에 따르면 우선 현재의 frequency/low/high/value값에 의해 복호화된 심볼이 결정되며 이후에 low/high/value 값의 리스케일링(rescaling)과 업데이트(update)가 이루어진다.According to the pseudo code shown in FIG. 3, a decoded symbol is first determined by a current frequency / low / high / value value, and then rescaling and updating of a low / high / value value are performed.

도 4는 비트스트림이 절단(truncation) 되었을 경우의 절단점(truncation point) 부근에서의 버퍼에 입력된 값을 나타낸 것이다. 절단된 버퍼 인덱스(truncated buffer index) 이후의 비트스트림에는 더 이상 의미있는 정보가 없으므로 의미가 없는 값이며 여기서는 이 값을 v2라 하고 나머지 버퍼에 있는 값을 v1이라고 한다. 본 예에서는 v1비트(dummy bit)가 3bit이므로 v2의 범위는 0~7의 값을 가지게 된다.4 illustrates a value input to a buffer near a truncation point when the bitstream is truncated. The bitstream after the truncated buffer index no longer has any meaningful information, so it is meaningless. In this case, this value is called v2 and the value in the rest of the buffer is called v1. In this example, since the v1 bit (dummy bit) is 3 bits, the range of v2 has a value of 0-7.

도 5는 본 발명에 의한 스케일러블 오디오 데이터의 산술복호화 장치의 구성을 블록도로 도시한 것으로서, 심볼복호화부(520) 및 ambiguity 체크부(540)를 포 함하여 이루어진다. 상기 산술복호화 장치는 심볼결정/확률예측부(500)를 더 구비함일 바람직하다.FIG. 5 is a block diagram illustrating a structure of an arithmetic decoding apparatus of scalable audio data according to the present invention, and includes a symbol decoding unit 520 and an ambiguity check unit 540. The arithmetic decoding device may further include a symbol determination / probability prediction unit 500.

상기 심볼결정/확률예측부(500)는 비트스트림에서 복호화할 심볼을 결정하여 상기 심볼의 확률을 예측한다.The symbol determination / probability prediction unit 500 determines a symbol to be decoded in the bitstream to predict the probability of the symbol.

상기 심볼의 확률예측은 다음과 같이 수행된다. 먼저, 복호화할 비트스트림의 헤더 정보로부터 디코딩 모드(decoding mode)를 찾아낸다. 만일 상기 디코딩 모드가 문맥기반 산술부호화 모드(cbac)인 경우, 복호화할 심볼의 문맥을 참조하여 심볼의 확률을 얻는다. 그리고 상기 디코딩 모드가 비트플레인 골룸부호화 모드(bpgc)인 경우, 복호화할 데이터가 라플라시안(Laplacian) 분포를 하고 있다고 가정하여 복호화할 심볼의 확률을 얻는다. 또한 상기 디코딩 모드가 저에너지(low energy) 모드인 경우, 비트스트림 헤더의 확률모델 정보를 이용하여 복호화할 심볼의 확률을 얻는다.Probability prediction of the symbol is performed as follows. First, a decoding mode is found from header information of a bitstream to be decoded. If the decoding mode is a context-based arithmetic encoding mode (cbac), the probability of the symbol is obtained by referring to the context of the symbol to be decoded. When the decoding mode is the bitplane gollum coding mode (bpgc), a probability of a symbol to be decoded is obtained assuming that data to be decoded has a Laplacian distribution. In addition, when the decoding mode is a low energy mode, the probability of a symbol to be decoded is obtained using the probability model information of the bitstream header.

상기 심볼복호화부(520)는 상기 예측된 확률을 이용하여 심볼을 산술복호화하여 심볼을 생성한다. 여기서, 비트플레인 상의 부호비트 복호화는 다음과 같이 이루어진다. MPEG-4 스케일러블 로슬리스 비트스트림(Scalable Lossless bitstream)의 복호화에서는 비트플레인(bitplane) 상의 값 중 처음으로 0이 아닌 샘플이 복호화된 후 그에 해당하는 부호(sign)를 복호화 한다. 그런데 만일 부호값에서 앰비규어티 에러가 발생하였다고 바로 복호화를 종료하면 바로 이전에 복호화된 0이 아닌 샘플의 부호를 알 수 없다. 이러한 이유로 부호 값에서 복호화가 종료된 경우 바로 이전에 복호화된 샘플을 0으로 세팅하여 종료한다.The symbol decoding unit 520 generates a symbol by arithmetically decoding the symbol by using the predicted probability. Here, the code bit decoding on the bitplane is performed as follows. In decoding of the MPEG-4 scalable lossless bitstream, a non-zero sample of a value on a bitplane is first decoded and then a corresponding sign is decoded. However, if the decoding is terminated immediately because an ambiguous error has occurred in the code value, the code of the non-zero sample decoded immediately before is not known. For this reason, when decoding is terminated at the sign value, the sample immediately decoded is set to 0 and terminated.

상기 ambiguity 체크부(540)는 수학식 1 및 수학식 2의 우변 값을 K라 할 때, 상기 K를 계산하여 K에 따라 심볼의 복호화 계속 여부를 판단한다.The ambiguity checker 540 calculates K when the right side value of Equations 1 and 2 is K, and determines whether to continue decoding the symbol according to K.

Figure 112007004098653-pat00013
Figure 112007004098653-pat00013

Figure 112007004098653-pat00014
Figure 112007004098653-pat00014

여기서, v1은 절단된 후 남아있는 유효한 비트스트림의 값, v2는 절단된 후 잘려나간 비트스트림 값, dummy는 v2의 비트수, freq는 심볼의 확률값, high, low는 심볼의 확률값이 존재하는 범위의 상한과 하한을 나타낸다. (Study on 14496-3:2001/PDAM 5, Scalable Lossless Coding (SLS), ISO/IEC JTC 1/SC 29/WG 11 N6792](여기서, v1은 절단된 후 남아있는 유효한 비트스트림의 값, v2는 절단된 후 잘려나간 비트스트림 값, dummy는 v2의 비트수, freq는 심볼의 확률값, high, low는 심볼의 확률값이 존재하는 범위의 상한과 하한을 나타낸다.)Where v1 is the value of the valid bitstream remaining after truncation, v2 is the bitstream value truncated after truncation, dummy is the number of bits in v2, freq is the probability value of the symbol, and high and low is the range of the probability value of the symbol. The upper limit and lower limit of. (Study on 14496-3: 2001 / PDAM 5, Scalable Lossless Coding (SLS), ISO / IEC JTC 1 / SC 29 / WG 11 N6792] (where v1 is the value of the valid bitstream remaining after truncation, v2 is Bitstream values truncated after truncation, dummy represents the number of bits in v2, freq represents the probability value of the symbol, and high and low represent the upper and lower limits of the range of the probability value of the symbol.)

수학식 1과 수학식 2를 보다 상세히 설명하면 다음과 같다. 도 3에 도시된 수도 코드의 복호화(decoding) 수식을 v1과 v2로 나누어 전개한다.Equation 1 and Equation 2 will be described in more detail as follows. The decoding equation of the pseudo code shown in FIG. 3 is divided into v1 and v2 to develop.

만일 (v1 + v2 - low + 1)· 214 < (high - low +1)· freq 이면, 심볼(sym)은 1로 생성된다. 이를 v2를 중심으로 정리하면, 수학식 1과 같이 된다.If (v1 + v2-low + 1) · 2 14 <(high-low +1) · freq, a symbol is generated with one. If this is summarized centering on v2, it becomes like Formula (1).

또한 만일 (v1 + v2 - low + 1)· 214 ≥ (high - low +1)· freq 이면, 심 볼(sym)은 0 으로 생성된다. 이를 v2를 중심으로 정리하면, 수학식 2와 같이 된다.Also, if (v1 + v2-low + 1) · 2 14 ≥ (high-low +1) · freq, the symbol is generated with zero. If this is summarized centering on v2, it becomes like Equation 2.

수학식 1의 경우에는 만일 우변의 수식 값이 7보다 큰 경우에는 v2에 관계없이 1로 복호화되며, 수학식 2의 경우에는 우변의 수식값이 0보다 작은 경우에는 v2에 관계없이 0으로 복호화된다. 그 이외의 경우에는 복호화 앰비규어티가 발생하여 복호화를 종료한다.In the case of Equation 1, if the expression value on the right side is larger than 7, it is decoded to 1 regardless of v2. In Equation 2, if the equation value on the right side is smaller than 0, it is decoded to 0 regardless of v2. . In other cases, the decoding ambience occurs and the decoding ends.

*도 6은 상기 ambiguity 체크부(540)의 보다 세부적인 구성을 블록도로 도시한 것으로서, 복호화계속여부판단부(600), 추가복호화부(620) 및 복호화중단부(640)를 구비한다.6 shows a more detailed configuration of the ambiguity checker 540 as a block diagram, and includes a decoding continued determination unit 600, an additional decoding unit 620, and a decoding stop unit 640.

상기 복호화계속여부판단부(600)는 수학식 1 및 수학식 2의 우변 값을 K라 할 때, 상기 K를 계산하여 K에 따라 심볼의 복호화 계속 여부를 판단한다. 상기 추가복호화부(620)는 상기 K가 2dummy-1 이상이면 심볼을 1로 복호화하고, 상기 K가 0 이하이면 심볼을 0 으로 복호화한다. 상기 복호화중단부(640)는 상기 K가 0 과 2dummy-1 사이에 있으면, 앰비규어티가 발생했다고 결정하여 복호화를 중단한다.The decoding continued determination unit 600 calculates K when the right side value of Equations 1 and 2 is K, and determines whether to continue decoding the symbol according to K. The additional decoding unit 620 decodes the symbol as 1 when the K is 2 dummy −1 or more, and decodes the symbol as 0 when the K is 0 or less. If the K stops between 0 and 2 dummy −1, the decoding stop unit 640 determines that an ambiguity has occurred and stops decoding.

도 7은 본 발명에 의한 스케일러블 오디오 데이터의 산술복호화 방법을 흐름도로 도시한 것으로서, 이를 참조하여 본 발명에 의한 스케일러블 비트스트림의 복원계속여부 판단방법을 설명하기로 한다. FIG. 7 is a flowchart illustrating a method of performing arithmetic decoding of scalable audio data according to the present invention. A method of determining whether to continue restoring a scalable bitstream according to the present invention will be described with reference to the flowchart.

먼저, 산술부호화된 스케일러블 비트스트림(truncated bitstream)에서 복호화할 심볼을 결정하고(700단계), 상기 결정된 심볼의 확률을 예측한다.(710단계)First, a symbol to be decoded is determined in an arithmetic coded scalable bitstream (step 700), and a probability of the determined symbol is predicted (step 710).

상기 심볼의 확률예측은 다음과 같이 수행된다. 먼저, 복호화할 비트스트림의 헤더 정보로부터 디코딩 모드(decoding mode)를 찾아낸다. 만일 상기 디코딩 모드가 문맥기반 산술부호화 모드(cbac)인 경우, 복호화할 심볼의 문맥을 참조하여 심볼의 확률을 얻는다. 그리고 상기 디코딩 모드가 비트플레인 골룸부호화 모드(bpgc)인 경우, 복호화할 데이터가 라플라시안 분포를 하고 있다고 가정하여 복호화할 심볼의 확률을 얻는다. 또한 상기 디코딩 모드가 저에너지(low energy) 모드인 경우, 비트스트림 헤더의 확률모델 정보를 이용하여 복호화할 심볼의 확률을 얻는다.Probability prediction of the symbol is performed as follows. First, a decoding mode is found from header information of a bitstream to be decoded. If the decoding mode is a context-based arithmetic encoding mode (cbac), the probability of the symbol is obtained by referring to the context of the symbol to be decoded. When the decoding mode is the bitplane gollum coding mode (bpgc), a probability of a symbol to be decoded is obtained assuming that data to be decoded has a Laplacian distribution. In addition, when the decoding mode is a low energy mode, the probability of a symbol to be decoded is obtained using the probability model information of the bitstream header.

상기 예측된 확률을 이용하여 심볼을 산술복호화하여 심볼을 생성한다.(720단계) The symbol is generated by arithmetic decoding using the predicted probability (step 720).

수학식 1 및 수학식 2의 우변 값을 K라 할 때, 만일 상기 K를 계산하여 K가 0 과 2dummy-1 사이에 있으면(730단계), 앰비규어티가 발생했다고 결정하여 산술 복호화를 중단한다.(740단계)When the right side value of Equations 1 and 2 is K, if the K is calculated and K is between 0 and 2 dummy -1 (step 730), it is determined that an ambiguity has occurred and the arithmetic decoding is stopped. (Step 740)

만일 상기 K가 0 이하이면(750단계), 심볼은 0 으로 복호화하고(760단계), K가 2dummy-1 이상이면 심볼은 1로 복호화한다.(770단계)If K is equal to or less than 0 (step 750), the symbol is decoded to 0 (step 760). If K is equal to or greater than 2 dummy −1, the symbol is decoded to 1 (step 770).

도 8은 본 발명에 의한 스케일러블 비트스트림의 복원계속여부 판단방법을 적용하여 추가적으로 더 복호화한 예를 보여준다. 도 8에서는 5개의 샘플이 추가적으로 복호화 됨을 볼 수 있다.8 shows an example of further decoding by applying the method of determining whether to continue restoring the scalable bitstream according to the present invention. In FIG. 8, five samples are additionally decoded.

MPEG-4 스케일러블 로슬리스 복호화(Scalable Lossless decoding)에서는 비 트플레인(bitplane) 상의 값 중 처음으로 0이 아닌 샘플이 복호화된 후 그에 해당하는 부호(sign)를 복호화 한다. 그런데 만일 부호값에서 앰비규어티가 발생하였다고 결정되어 복호화를 종료하면 바로 이전에 복호화된 0이 아닌 샘플의 부호를 알 수 없다. 이러한 이유로 부호 값에서 복호화가 종료된 경우 바로 이전에 복호화된 샘플을 0으로 세팅하여 종료한다.In MPEG-4 scalable lossless decoding, a first non-zero sample of a value on a bitplane is decoded and then a corresponding sign is decoded. However, if it is determined that the ambiguity has occurred in the code value and the decoding ends, the code of the immediately decoded non-zero sample cannot be known. For this reason, when decoding is terminated at the sign value, the sample immediately decoded is set to 0 and terminated.

도 9는 부호(sign) 비트에서 앰비규어티가 발생할 경우 이를 처리하는 예를 도시한 것이다. FIG. 9 illustrates an example of processing an ambiguity in a sign bit.

한편, 본 발명에 의한 BPGC, CBAC 및 loww energy 모드에 대한 각 산술복호화의 수도 코드는 다음과 같다. ambiguity_check(f)는 산술복호화에 있어서의 ambiguity 검출 함수이다. argument f는 1이 나올 확률을 나타낸다. terminate_decoding( )는 앰비규어티가 발생했을 경우의 LLE 데이터의 복호화를 종료하는 함수이다. smart_decoding_cbac_bpgc( )는 cbac/bpgc 모드에서 입력도는 비트가 없을 경우 부가적인 심볼들을 복호화하는 함수이다. 상기 본 발명에 의한 복호화는 앰비규어티가 존재하지 않는 점까지 계속된다. 이는 ambiguity_check(f) 함수와 terminate_decoding() 함수를 포함한다. smart_decoding_low_energy( )는 low energy 모드에서 입력도는 비트가 없을 경우 부가적인 심볼들을 복호화하는 함수이다. 이것도 ambiguity_check(f) 함수와 terminate_decoding() 함수를 포함한다.On the other hand, the arithmetic code of each arithmetic decoding for BPGC, CBAC and loww energy modes according to the present invention is as follows. ambiguity_check (f) is an ambiguity detection function in arithmetic decoding. argument f represents the probability of 1 terminate_decoding () is a function that terminates decoding of LLE data when an ambiguity occurs. smart_decoding_cbac_bpgc () is a function for decoding additional symbols when there is no input bit in cbac / bpgc mode. The decoding according to the present invention continues up to the point where there is no ambiguity. This includes the ambiguity_check (f) and terminate_decoding () functions. smart_decoding_low_energy () is a function that decodes additional symbols when there is no input bit in low energy mode. This also includes the ambiguity_check (f) and terminate_decoding () functions.

while ((max_bp[g][sfb] cur_bp[g][sfb]<LAZY_BP) && (cur_bp[g][sfb] >= 0)){while ((max_bp [g] [sfb] cur_bp [g] [sfb] <LAZY_BP) && (cur_bp [g] [sfb]> = 0)) {

for (g=0;g<num_windows_group;g++){ for (g = 0; g <num_windows_group; g ++) {

for (sfb = 0;sfb<num_sfb;sfb++){   for (sfb = 0; sfb <num_sfb; sfb ++) {

if ((cur_bp[g][sfb]>=0) && (lazy_bp[g][sfb] > 0)){     if ((cur_bp [g] [sfb]> = 0) && (lazy_bp [g] [sfb]> 0)) {

width = swb_offset[g][sfb+1] swb_offset[g][sfb];width = swb_offset [g] [sfb + 1] swb_offset [g] [sfb];

for (win=0;win<window_group_len[g];win++){for (win = 0; win <window_group_len [g]; win ++) {

for (bin=0;bin<width;bin++){ for (bin = 0; bin <width; bin ++) {

if (!is_lle_ics_eof ()){if (! is_lle_ics_eof ()) {

if (interval[g][win][sfb][bin] > res[g][win][sfb][bin] + (1<<cur_bp[g][sfb]) if (interval [g] [win] [sfb] [bin]> res [g] [win] [sfb] [bin] + (1 << cur_bp [g] [sfb])

{{

freq = determine_frequency();freq = determine_frequency ();

res[g][win][sfb][bin] += decode(freq ) << cur_bp[g][sfb];res [g] [win] [sfb] [bin] + = decode (freq) << cur_bp [g] [sfb];

/* decode bit-plane cur_bp*// * decode bit-plane cur_bp * /

if ((!is_sig[g][win][sfb][bin]) && (res[g][win][sfb][bin] )) {if ((! is_sig [g] [win] [sfb] [bin]) && (res [g] [win] [sfb] [bin])) {

/* decode sign bit of res if necessary *// * decode sign bit of res if necessary * /

res[g][win][sfb][bin] *= (decode(freq_sign))? 1:-1;res [g] [win] [sfb] [bin] * = (decode (freq_sign))? 1: -1;

is_sig[g][win][sfb][bin] = 1;is_sig [g] [win] [sfb] [bin] = 1;

}}

}}

}}

else {else {

smart_decoding_cbac_bpgc();smart_decoding_cbac_bpgc ();

} }

cur_bp[g][sfb]--; /* progress to next bit-plane */ removed??cur_bp [g] [sfb]-; / * progress to next bit-plane * / removed ??

}}

}}

cur_bp[g][sfb]--; /* progress to next bit-plane */cur_bp [g] [sfb]-; / * progress to next bit-plane * /

} }

}}

}}

}}

/* low energy mode decoding *// * low energy mode decoding * /

for (g = 0;g < num_windows_group; g++){for (g = 0; g <num_windows_group; g ++) {

for (sfb = 0; sfb <num_sfb+num_osf_sfb;sfb++){  for (sfb = 0; sfb <num_sfb + num_osf_sfb; sfb ++) {

if ((cur_bp[g][sfb] >= 0) && (lazy_bp[g][sfb] <= 0))    if ((cur_bp [g] [sfb]> = 0) && (lazy_bp [g] [sfb] <= 0))

{      {

width = swb_offset[g][sfb+1] swb_offset[g][sfb];        width = swb_offset [g] [sfb + 1] swb_offset [g] [sfb];

for (win=0;win<window_group_len[g];win++){for (win = 0; win <window_group_len [g]; win ++) {

res[g][sfb][win][bin] = 0;res [g] [sfb] [win] [bin] = 0;

pos = 0;pos = 0;

* for (bin=0;bin<width;bin++){* for (bin = 0; bin <width; bin ++) {

if (!is_lle_ics_eof ()){if (! is_lle_ics_eof ()) {

/* decoding of binary string and reconstructing res *// * decoding of binary string and reconstructing res * /

while (decode(freq_silence[pos])==1) { while (decode (freq_silence [pos]) == 1) {

res[g][sfb][win][bin] ++;res [g] [sfb] [win] [bin] ++;

pos++;pos ++;

if (pos>2) pos = 2;if (pos> 2) pos = 2;

if (res[g][sfb][win][bin]==(1<<(max_bp[g][sfb]+1))-1) break;if (res [g] [sfb] [win] [bin] == (1 << (max_bp [g] [sfb] +1))-1) break;

}}

/* decoding of sign of res *// * decoding of sign of res * /

if (!is_sig[g][win][sfb][bin]) && res[g][sfb][win][bin]){if (! is_sig [g] [win] [sfb] [bin]) && res [g] [sfb] [win] [bin]) {

res[g][sfb][win][bin] *= (decode(freq_sign))? -1:1;res [g] [sfb] [win] [bin] * = (decode (freq_sign))? -1: 1;

is_sig[g][win][sfb][bin] = 1;is_sig [g] [win] [sfb] [bin] = 1;

}}

}}

else smart_decoding_low_energy(); else smart_decoding_low_energy ();

}}

}     }

}   }

} }

}}

본 발명에 의한 절단된 SLS 비트스트림의 산술복호화는 주어진 타겟 비트율에 대응하는 인터미디에이트(intermediate) 계층를 복호화하는 효율적인 방법을 제공한다. 이는 복호화 버퍼에 들어가는 비트가 없다고 하더라도 복호화 버퍼 안에는 여전히 의미있는 정보를 포함하고 있다는 사실에 기초한 것이다. 복호화 과정은 심볼에 앰비규어티가 존재하지 않는 점까지 계속된다. 다음의 수도 코드(pseudo code)는 산술 복호화 모듈에서 앰비규어티를 검출하는 알고리즘을 나타낸다. 변수 num_dummy_bits 는 절단으로 인해 value 버퍼에 들어가 있지 않는 비트수를 나타낸다. Arithmetic decoding of the truncated SLS bitstream according to the present invention provides an efficient method of decoding an intermediate layer corresponding to a given target bit rate. This is based on the fact that even if there are no bits in the decryption buffer, the decryption buffer still contains meaningful information. The decoding process continues up to the point where there is no ambiguity in the symbol. The following pseudo code represents an algorithm for detecting an ambiguity in an arithmetic decoding module. The variable num_dummy_bits represents the number of bits that were not put in the value buffer due to truncation.

int ambiguity_check(int freq)int ambiguity_check (int freq)

{{

/* if there is no ambiguity, returns 1 */ / * if there is no ambiguity, returns 1 * /

/* otherwise, returns 0 *// * otherwise, returns 0 * /

upper = 1<<num_dummy_bits;upper = 1 << num_dummy_bits;

decisionVal = ((high-low)*freq>>PRE_SHT)-value+low-1;decisionVal = ((high-low) * freq >> PRE_SHT) -value + low-1;

if(decisionVal>upper || decisionVal<0) return 0;if (decisionVal> upper || decisionVal <0) return 0;

else return 1;else return 1;

}}

smart_decoding_cbac_bpgc() 또는 smart_decoding_low_energy() 는 num_dummy_bits 가 0 보다 클 때 수행된다. 부호비트 에러를 방지하기 위해, 현재의 스펙트럴 라인의 스펙트럴 값은 부호비트를 복호화하는 동안 앰비규어티가 발생할 때 0으로 설정된다. 본 발명에 의한 산술복호화 과정은 모든 인덱스 변수는 이전의 산술 복호화 과정으로부터 수행된다.smart_decoding_cbac_bpgc () or smart_decoding_low_energy () is performed when num_dummy_bits is greater than zero. To prevent sign bit errors, the spectral value of the current spectral line is set to zero when an ambiguity occurs while decoding the sign bit. In the arithmetic decoding process according to the present invention, all index variables are performed from a previous arithmetic decoding process.

smart_decoding_cbac_bpgc()smart_decoding_cbac_bpgc ()

{{

/* BPGC/CBAC normal decoding with ambiguity detection */  / * BPGC / CBAC normal decoding with ambiguity detection * /

while ((max_bp[g][sfb] - cur_bp[g][sfb]<LAZY_BP) && (cur_bp[g][sfb] >= 0)){  while ((max_bp [g] [sfb]-cur_bp [g] [sfb] <LAZY_BP) && (cur_bp [g] [sfb]> = 0)) {

for (;g<num_windows_group;g++){    for (; g <num_windows_group; g ++) {

for (;sfb<num_sfb;sfb++){      for (; sfb <num_sfb; sfb ++) {

if ((cur_bp[g][sfb]>=0) && (lazy_bp[g][sfb] > 0)){        if ((cur_bp [g] [sfb]> = 0) && (lazy_bp [g] [sfb]> 0)) {

width = swb_offset[g][sfb+1] - swb_offset[g][sfb];           width = swb_offset [g] [sfb + 1]-swb_offset [g] [sfb];

for (;win<window_group_len[g];win++){           for (; win <window_group_len [g]; win ++) {

for (;bin<width;bin++){for (; bin <width; bin ++) {

if (interval[g][win][sfb][bin] > res[g][win][sfb][bin] + (1<<cur_bp[g][sfb]) if (interval [g] [win] [sfb] [bin]> res [g] [win] [sfb] [bin] + (1 << cur_bp [g] [sfb])

{{

freq = determine_frequency();freq = determine_frequency ();

if (ambiguity_check(freq)) {if (ambiguity_check (freq)) {

/* no ambiguity for arithmetic decoding *// * no ambiguity for arithmetic decoding * /

res[g][win][sfb][bin] += decode(freq ) << cur_bp[g][sfb];res [g] [win] [sfb] [bin] + = decode (freq) << cur_bp [g] [sfb];

/* decode bit-plane cur_bp*// * decode bit-plane cur_bp * /

if ((!is_sig[g][win][sfb][bin]) && (res[g][win][sfb][bin] )) {if ((! is_sig [g] [win] [sfb] [bin]) && (res [g] [win] [sfb] [bin])) {

/* decode sign bit of res if necessary *// * decode sign bit of res if necessary * /

if (ambiguity_check(freq)) {if (ambiguity_check (freq)) {

res[g][win][sfb][bin] *= (decode(freq_sign))? 1:-1;res [g] [win] [sfb] [bin] * = (decode (freq_sign))? 1: -1;

is_sig[g][win][sfb][bin] = 1;is_sig [g] [win] [sfb] [bin] = 1;

}}

else {else {

/* discard the decoded symbol prior to sign symbol *// * discard the decoded symbol prior to sign symbol * /

res[g][win][sfb][bin] = 0;res [g] [win] [sfb] [bin] = 0;

terminate_decoding();terminate_decoding ();

}}

}}

}}

else terminate_decoding();else terminate_decoding ();

}}

}}

}}

cur_bp[g][sfb]--; /* progress to next bit-plane */cur_bp [g] [sfb]-; / * progress to next bit-plane * /

}        }

}      }

}    }

}  }

}}

smart_decoding_low_energy()smart_decoding_low_energy ()

{{

/* low energy mode decoding */  / * low energy mode decoding * /

for (;g < num_windows_group; g++){  for (; g <num_windows_group; g ++) {

for (; sfb <num_sfb+num_osf_sfb;sfb++){     for (; sfb <num_sfb + num_osf_sfb; sfb ++) {

if ((cur_bp[g][sfb] >= 0) && (lazy_bp[g][sfb] <= 0))       if ((cur_bp [g] [sfb]> = 0) && (lazy_bp [g] [sfb] <= 0))

{       {

width = swb_offset[g][sfb+1] swb_offset[g][sfb];          width = swb_offset [g] [sfb + 1] swb_offset [g] [sfb];

for (;win<window_group_len[g];win++){          for (; win <window_group_len [g]; win ++) {

res[g][sfb][win][bin] = 0;             res [g] [sfb] [win] [bin] = 0;

pos = 0;               pos = 0;

for (;bin<width;bin++){for (; bin <width; bin ++) {

while (1) {while (1) {

/* if ambiguity check is false, discard the spectrum is set to be 0 *// * if ambiguity check is false, discard the spectrum is set to be 0 * /

if(!ambiguity_check(freq)) res[g][sfb][win][bin] = 0, terminate_decoding();if (! ambiguity_check (freq)) res [g] [sfb] [win] [bin] = 0, terminate_decoding ();

tmp = decode(freq_silence[pos]); tmp = decode (freq_silence [pos]);

if(tmp==0) break;if (tmp == 0) break;

res[g][sfb][win][bin] ++;res [g] [sfb] [win] [bin] ++;

pos++;pos ++;

if (pos>2) pos = 2;if (pos> 2) pos = 2;

if (res[g][sfb][win][bin]==(1<<(max_bp[g][sfb]+1))-1) break;if (res [g] [sfb] [win] [bin] == (1 << (max_bp [g] [sfb] +1))-1) break;

}}

/* decoding of sign of res *// * decoding of sign of res * /

if (!is_sig[g][win][sfb][bin]) && res[g][sfb][win][bin]){if (! is_sig [g] [win] [sfb] [bin]) && res [g] [sfb] [win] [bin]) {

/* if ambiguity check is false, the current spectrum value is set to be 0 *// * if ambiguity check is false, the current spectrum value is set to be 0 * /

if(!ambiguity_check(freq)) res[g][sfb][win][bin] = 0, terminate_decoding();if (! ambiguity_check (freq)) res [g] [sfb] [win] [bin] = 0, terminate_decoding ();

res[g][sfb][win][bin] *= (decode(freq_sign))? -1:1;res [g] [sfb] [win] [bin] * = (decode (freq_sign))? -1: 1;

is_sig[g][win][sfb][bin] = 1;is_sig [g] [win] [sfb] [bin] = 1;

}}

}}

}             }

}          }

}       }

}    }

}}

한편, 리-파싱(Re-parsing)에 의한 절단된 비트스트림 생성방식은 헤더에 비트스트림의 사이즈가 전송될 경우 다음과 같은 과정으로 리-파싱하여 비트스트림 절단을 수행한다.On the other hand, in the truncated bitstream generation method by re-parsing, when the size of the bitstream is transmitted to the header, the truncated bitstream is reparsed as follows to perform bitstream truncation.

도 10은 본 발명에 의한 스케일러블 오디오 데이터의 비트스트림 절단 방법을 흐름도로 도시한 것이다. 도 10을 참조하여 상기 스케일러블 오디오 데이터의 비트스트림 절단 방법을 설명하기로 한다. 10 is a flowchart illustrating a method of cutting a bitstream of scalable audio data according to the present invention. A method of cutting a bitstream of the scalable audio data will be described with reference to FIG. 10.

먼저, 비트스트림 헤더 정보로 부터 비트스트림 길이를 해석한다.(1000단계) 비트스트림을 읽는다.(1010단계) 수학식 3 및 수학식 4를 이용하여 타겟 비트율(target bitrate)에 해당하는 바이트(byte)를 계산한다.(1020단계) 상기 타겟 비트율은 서버 또는 사용자 등 외부에서 주어질 수 있다.First, the bitstream length is interpreted from the bitstream header information. (Step 1000) The bitstream is read. (Step 1010) By using Equation 3 and Equation 4, the byte corresponding to the target bitrate is calculated. (Step 1020) The target bit rate may be given externally such as a server or a user.

target_bits = (int)(target_bitrate/2.*1024.*osf/sampling_rate+0.5)-16target_bits = (int) (target_bitrate / 2. * 1024. * osf / sampling_rate + 0.5) -16

target_bytes = (target_bits+7)/8;target_bytes = (target_bits + 7) / 8;

구해진 target byte로 비트스트림 길이를 수정한다. 즉 비트스트림 길이는 실제 비트수와 target_bytes 중 작은 값을 비트스트림 길이로 한다.(1030단계) 타겟 길이 만큼 비트스트림을 저장 및 전송한다.(1040단계)Modify the bitstream length with the obtained target byte. In other words, the bitstream length is the bitstream length, which is the smaller of the actual number of bits and target_bytes. (Step 1030) The bitstream is stored and transmitted as much as the target length.

*비트스트림을 리-파싱하여 비트스트림을 절단하는 방법을 좀 더 상세히 설명하면 다음과 같다. SLS 비트스트림은 단순한 방법으로 주어진 타겟 비트율에서 절단될 수 있다. lle_ics_length의 값에 대한 수정은 절단점 앞의 비트스트림에는 LLE 복호화 결과에 영향을 주지 않는다. lle_ics_length 는 LLE 복호화 절차로부터 독립적이다. 비트스트림 절단은 다음과 같이 이루어질 수 있다. 비트스트림으로부터 lle_ics_length를 읽는다. LLE 비트스트림을 읽는다. 주어진 타겟 비트율에서 유용한 프레임 길이를 계산한다. 유용한 프레임 길이를 계산하는 가장 단순한 방법은 다음과 같다.A method of truncating the bitstream by re-parsing the bitstream will be described in more detail as follows. The SLS bitstream can be truncated at a given target bit rate in a simple way. Correction to the value of lle_ics_length does not affect the LLE decoding result in the bitstream before the truncation point. lle_ics_length is independent from the LLE decoding procedure. Bitstream truncation may be performed as follows. Read lle_ics_length from the bitstream. Read the LLE bitstream. Compute the useful frame length at a given target bit rate. The simplest way to calculate the useful frame length is as follows.

target_bits = (int)(target_bitrate/2.*1024.*osf/sampling_rate+0.5)-16target_bits = (int) (target_bitrate / 2. * 1024. * osf / sampling_rate + 0.5) -16

target_bytes = (target_bits+7)/8target_bytes = (target_bits + 7) / 8

여기서, 변수 target_bitrate 는 bit/sec 단위를 갖는 타겟 비트율이다. 변수 osf 는 오버 샘플링 팩터를 나타낸다. 변수 sampling_rate 는 입력 오디오 신 호의 Hz단위의 샘플링 주파수를 나타낸다.Here, the variable target_bitrate is a target bit rate having a bit / sec unit. The variable osf represents the oversampling factor. The variable sampling_rate represents the sampling frequency in Hz of the input audio signal.

유용한 프레임 길이와 현재 프레임 길이 중 작은 값을 취하여 lle_ics_length를 갱신한다. Update lle_ics_length by taking the smaller of the useful frame length and the current frame length.

lle_ics_length = min(lle_ics_length, target_bytes)lle_ics_length = min (lle_ics_length, target_bytes)

갱신된 lle_ics_length 를 갖는 절단된 비트스트림을 생성한다.Create a truncated bitstream with the updated lle_ics_length .

본 발명은 컴퓨터로 읽을 수 있는 기록 매체에 컴퓨터(정보 처리 기능을 갖는 장치를 모두 포함한다)가 읽을 수 있는 코드로서 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록 매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록 장치를 포함한다. 컴퓨터가 읽을 수 있는 기록 장치의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피 디스크, 광데이터 저장장치 등이 있다. The present invention can be embodied as code that can be read by a computer (including all devices having an information processing function) in a computer-readable recording medium. The computer-readable recording medium includes all kinds of recording devices in which data that can be read by a computer system is stored. Examples of computer-readable recording devices include ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage, and the like.

본 발명은 도면에 도시된 실시예를 참고로 설명되었으나 이는 예시적인 것에 불과하며, 본 기술 분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호 범위는 첨부된 등록청구범위의 기술적 사상에 의해 정해져야 할 것이다. Although the present invention has been described with reference to the embodiments shown in the drawings, this is merely exemplary, and it will be understood by those skilled in the art that various modifications and equivalent other embodiments are possible. Therefore, the true technical protection scope of the present invention will be defined by the technical spirit of the appended claims.

본 발명에 의한 스케일러블 오디오 데이터 산술 복호화 방법 및 장치에 의하면, MPEG-4 스케일러블 로슬리스 오디오 코딩(Scalable lossless audio coding)에서 적용된 산술 코딩(arithmetic coding)에 있어서 스케일러빌리티(scalablility)를 적용하였을 때의 효율적으로 복호화할 수 있다.According to the scalable audio data arithmetic decoding method and apparatus according to the present invention, scalability is applied in arithmetic coding applied in MPEG-4 scalable lossless audio coding. When decoding efficiently.

비트스트림이 절단(truncation)되었을 경우에도 복호화 종료 시점을 알 수 있게 하며, 잘려나간 부분에 대해서도 부가적인 복호화가 가능하다.Even when the bitstream is truncated, the end point of decoding can be known, and additional decoding can be performed on the cut-out part.

Claims (23)

스케일러블 오디오 산술 부호화된 심볼을 복호화하는 방법에 있어서,A method of decoding scalable audio arithmetic encoded symbols, the method comprising: (a) 복호화하고자 하는 심볼과 그 심볼이 발생할 확률을 이용하여 산술복호화하는 단계; 및(a) performing arithmetic decoding using a symbol to be decoded and a probability of generating the symbol; And (b) 심볼의 복호화완료여부를 나타내는 앰비규어티(ambiguity)를 체크하여 복호화계속여부를 결정하는 단계를 포함하고,(b) checking whether or not to continue decoding by checking an ambiguity indicating whether the symbol has been decoded; 상기 (b) 단계는Step (b) is 스케일러블 복호화를 위해 절단된(truncated) 후 남은 유효한 비트스트림을 복호화한 후, 스케일러빌리티(scalablility)를 위해 잘려나간 비트스트림을 복호화하기 위한 가상의 데이터(dummy bit)를 이용하여 복호화할 경우, 상기 가상의 데이터(dummy bit)에 무관하게 심볼이 복호화되는 경우에는 복호화를 계속 진행하고, 상기 가상의 데이터에 의존되어 복호화 될 심볼이 복호화되는 경우에는 앰비규어티가 발생했다고 판단하여 복호화를 완료하는 단계를 포함하는, 스케일러블 오디오 데이터 산술 복호화 방법.After decoding the valid bit stream remaining after truncation for scalable decoding and decoding using a bit bit for decoding the bit stream cut out for scalability, If the symbol is decoded irrespective of the virtual data, decoding continues, and if the symbol to be decoded depending on the virtual data is decoded, determining that an ambiguity has occurred and completing decoding. A scalable audio data arithmetic decoding method comprising a. 제1항에 있어서, 상기 (b) 단계는 The method of claim 1, wherein step (b) (b1) 수학식 1 및 수학식 2의 우변 값을 K라 할 때, 상기 K를 계산하여 K에 따라 심볼의 복호화 계속 여부를 판단하는 단계; (b1) when the right side values of Equations 1 and 2 are K, determining whether to continue decoding the symbol according to K by calculating K; [수학식1][Equation 1]
Figure 112010038105664-pat00015
Figure 112010038105664-pat00015
[수학식 2][Equation 2]
Figure 112010038105664-pat00016
Figure 112010038105664-pat00016
(여기서, v1은 스케일러빌리티를 위해 비트스트림을 절단할 경우, 남아있는 유효한 비트스트림의 값, v2는 절단된 후 잘려나간 비트스트림 값, dummy는 v2의 비트수, freq는 심볼의 확률값, high, low는 심볼의 확률값이 존재하는 범위의 상한과 하한을 나타낸다.)(Where v1 is the truncation of the bitstream for scalability, the value of the remaining valid bitstream, v2 is the truncated bitstream value, dummy is the number of bits in v2, freq is the probability value of the symbol, high, low indicates the upper and lower limits of the range in which the probability value of the symbol exists.) (b2) 상기 K가 2dummy-1 이상이면 심볼을 1로 복호화하고, 상기 K가 0 이하이면 심볼을 0 으로 복호화하는 단계;(b2) decoding the symbol as 1 when the K is 2 dummy −1 or more, and decoding the symbol as 0 when the K is 0 or less; (b3)상기 K가 0 과 2dummy-1 사이에 있으면 앰비규어티가 발생했다고 결정하여 복호화를 중단하는 단계를 포함하는, 스케일러블 오디오 데이터 산술 복호화 방법. and (b3) determining that an ambiguity has occurred if K is between 0 and 2 dummy −1, and stopping decoding.
제2항에 있어서, 상기 (a)단계 전에 The method of claim 2, wherein before step (a) 복호화할 심볼을 찾는 단계; 및Finding a symbol to decode; And 상기 심볼의 확률을 계산하는 단계를 더 구비함을 특징으로 하는 스케일러블 오디오 데이터 산술 복호화 방법.And calculating a probability of the symbol. 제3항에 있어서, 상기 심볼의 확률을 계산하는 단계는4. The method of claim 3, wherein calculating the probability of the symbol 복호화할 비트스트림의 헤더 정보로부터 디코딩 모드를 찾아내는 단계; 및Finding a decoding mode from header information of a bitstream to be decoded; And 상기 디코딩 모드가 문맥기반 산술부호화 모드(cbac)인 경우, 복호화할 심볼의 문맥을 참조하여 심볼의 확률을 얻는 단계를 포함함을 특징으로 하는 스케일러블 오디오 데이터 산술 복호화 방법.And if the decoding mode is a context-based arithmetic encoding mode (cbac), obtaining a probability of the symbol by referring to the context of the symbol to be decoded. 제4항에 있어서, 상기 (a)단계는The method of claim 4, wherein step (a) 비트플레인 상의 값 중 처음으로 0 이 아닌 샘플이 복호화되면, 그에 해당하는 부호(sign)비트를 산술 복호화하는 것을 특징으로 하는 스케일러블 오디오 데이터 산술 복호화 방법.And a first non-zero sample of a value on the bitplane is decoded, and arithmically decodes a corresponding sign bit. 제3항에 있어서, 상기 심볼의 확률을 계산하는 단계는4. The method of claim 3, wherein calculating the probability of the symbol 복호화할 비트스트림의 헤더 정보로부터 디코딩 모드를 찾아내는 단계; 및 Finding a decoding mode from header information of a bitstream to be decoded; And 상기 디코딩 모드가 비트플레인 골룸부호화 모드(bpgc)인 경우, 복호화할 데이터가 라플라시안 분포를 하고 있다고 가정하여 복호화할 심볼의 확률을 얻는 단계를 포함함을 특징으로 하는 스케일러블 오디오 데이터 산술 복호화 방법.And obtaining a probability of a symbol to be decoded on the assumption that the data to be decoded has a Laplacian distribution when the decoding mode is the bitplane gollum coding mode (bpgc). 제6항에 있어서, 상기 (a)단계는The method of claim 6, wherein step (a) 비트플레인 상의 값 중 처음으로 0 이 아닌 샘플이 복호화되면, 그에 해당하는 부호(sign)비트를 산술 복호화하며,When the first non-zero sample of the value on the bitplane is decoded, the corresponding sign bit is arithmetic decoded. 상기 (b3)단계는Step (b3) is 상기 K가 0 과 2dummy-1 사이에 있으면 앰비규어티가 발생했다고 결정하여 복호화를 중단하고, 바로 이전에 복호화된 샘플을 0 으로 세팅하여 복호화를 종료함을 특징으로 하는 스케일러블 오디오 데이터 산술 복호화 방법.When K is between 0 and 2 dummy -1, it determines that an ambiguity has occurred, stops decoding, and sets the immediately decoded sample to 0 to terminate decoding. Way. 제2항에 있어서, 상기 심볼의 확률을 계산하는 단계는The method of claim 2, wherein calculating the probability of the symbol 복호화할 비트스트림의 헤더 정보로부터 디코딩 모드를 찾아내는 단계; 및 Finding a decoding mode from header information of a bitstream to be decoded; And 상기 디코딩 모드가 저에너지(low energy) 모드인 경우, 비트스트림 헤더의 확률모델 정보를 이용하여 복호화할 심볼의 확률을 얻는 단계를 포함함을 특징으로 하는 스케일러블 오디오 데이터 산술 복호화 방법.And if the decoding mode is a low energy mode, obtaining a probability of a symbol to be decoded using the probability model information of a bitstream header. 스케일러블 오디오 산술 부호화된 심볼을 복호화하는 장치에 있어서,An apparatus for decoding scalable audio arithmetic encoded symbols, the apparatus comprising: 복호화할 심볼과 그 확률을 이용하여 심볼을 산술복호화하는 심볼복호화부; 및A symbol decoding unit for arithmetically decoding a symbol using a symbol to be decoded and a probability thereof; And 앰비규어티를 체크하여 복호화계속여부를 판단하는 ambiguity 체크부를 포함함을 특징으로 하고,It characterized in that it comprises an ambiguity check unit for determining whether to continue decoding by checking the ambiguity, 상기 ambiguity 체크부는The ambiguity check unit 수학식 1 및 수학식 2의 우변 값을 K라 할 때, 상기 K를 계산하여 K에 따라 심볼의 복호화 계속 여부를 판단하는 복호화계속여부판단부;Decoding continuity determining unit for determining whether to continue decoding the symbol according to K by calculating the K when the right side value of the equation (1) and (2) K; [수학식1][Equation 1]
Figure 112010038105664-pat00017
Figure 112010038105664-pat00017
[수학식 2][Equation 2]
Figure 112010038105664-pat00018
Figure 112010038105664-pat00018
(여기서, v1은 절단된 후 남아있는 유효한 비트스트림의 값, v2는 절단된 후 잘려나간 비트스트림 값, dummy는 v2의 비트수, freq는 심볼의 확률값, high, low는 심볼의 확률값이 존재하는 범위의 상한과 하한을 나타낸다.)Where v1 is the value of the valid bitstream remaining after truncation, v2 is the bitstream value truncated after truncation, dummy is the number of bits in v2, freq is the probability value of the symbol, and high and low are the probability values of the symbol. Indicates the upper and lower limits of the range.) 상기 K가 2dummy-1 이상이면 심볼을 1로 복호화하고, 상기 K가 0 이하이면 심볼을 0 으로 복호화하는 추가복호화부; 및An additional decoding unit to decode a symbol to 1 when K is 2 dummy -1 or more, and to decode a symbol to 0 when K is 0 or less; And 상기 K가 0 과 2dummy-1 사이에 있으면, 앰비규어티가 발생했다고 결정하여 복호화를 중단하는 복호화중단부를 포함하는, 스케일러블 오디오 데이터 산술 복호화 장치.And a decoding stop part which determines that an ambiguity has occurred and stops decoding when the K is between 0 and 2 dummy -1.
제9항에 있어서, 10. The method of claim 9, 복호화할 심볼을 찾아 상기 심볼의 확률을 계산하는 심볼결정/확률예측부를 더 구비함을 특징으로 하는 스케일러블 오디오 데이터 산술 복호화 장치.And a symbol determination / probability prediction unit for finding a symbol to be decoded and calculating a probability of the symbol. 삭제delete 스케일러블 오디오 산술 부호화된 심볼을 복호화하는 방법에 있어서,A method of decoding scalable audio arithmetic encoded symbols, the method comprising: (a) 복호화하고자 하는 심볼과 그 심볼이 발생할 확률을 이용하여 산술복호화하는 단계; 및(a) performing arithmetic decoding using a symbol to be decoded and a probability of generating the symbol; And (b) 심볼의 복호화완료여부를 나타내는 앰비규어티를 체크하여 복호화계속여부를 결정하는 단계를 포함하고,(b) checking whether or not to continue decoding by checking an ambiguity indicating whether the symbol has been decoded; 상기 (b) 단계는Step (b) is (b1) 수학식 1 및 수학식 2의 우변 값을 K라 할 때, 상기 K를 계산하여 K에 따라 심볼의 복호화 계속 여부를 판단하는 단계;(b1) when the right side values of Equations 1 and 2 are K, determining whether to continue decoding the symbol according to K by calculating K; [수학식1][Equation 1]
Figure 112007004098653-pat00019
Figure 112007004098653-pat00019
[수학식 2][Equation 2]
Figure 112007004098653-pat00020
Figure 112007004098653-pat00020
(여기서, v1은 스케일러빌리티를 위해 비트스트림을 절단할 경우, 남아있는 유효한 비트스트림의 값, v2는 절단된 후 잘려나간 비트스트림 값, dummy는 v2의 비트수, freq는 심볼의 확률값, high, low는 심볼의 확률값이 존재하는 범위의 상한과 하한을 나타낸다.)(Where v1 is the truncation of the bitstream for scalability, the value of the remaining valid bitstream, v2 is the truncated bitstream value, dummy is the number of bits in v2, freq is the probability value of the symbol, high, low indicates the upper and lower limits of the range in which the probability value of the symbol exists.) (b2) 상기 K가 2dummy-1 이상이면 심볼을 1로 복호화하고, 상기 K가 0 이하이면 심볼을 0 으로 복호화하는 단계;(b2) decoding the symbol as 1 when the K is 2 dummy −1 or more, and decoding the symbol as 0 when the K is 0 or less; (b3)상기 K가 0 과 2dummy-1 사이에 있으면 앰비규어티가 발생했다고 결정하여 복호화를 완료하는 단계를 포함하는, 스케일러블 오디오 데이터 산술 복호화 방법. and (b3) determining that an ambiguity has occurred if K is between 0 and 2 dummy -1, and completing decoding.
(a) 복호화하고자 하는 심볼과 그 심볼이 발생할 확률을 이용하여 산술복호화하되, 상기 심볼의 확률계산은 복호화할 비트스트림의 헤더 정보로부터 디코딩 모드를 찾아내어, 상기 디코딩 모드가 문맥기반 산술부호화 모드(cbac)인 경우, 복호화할 심볼의 문맥을 참조하여 심볼의 확률을 얻는 단계; 및(a) Arithmetic decoding using a symbol to be decoded and the probability of occurrence of the symbol, wherein the probability calculation of the symbol finds a decoding mode from header information of a bitstream to decode, and the decoding mode is a context-based arithmetic encoding mode ( cbac), obtaining a probability of the symbol by referring to the context of the symbol to be decoded; And (b) 심볼의 복호화완료여부를 나타내는 앰비규어티를 체크하여 복호화계속여부를 결정하는 단계를 포함하고,(b) checking whether or not to continue decoding by checking an ambiguity indicating whether the symbol has been decoded; 상기 (b) 단계는Step (b) is (b1) 수학식 1 및 수학식 2의 우변 값을 K라 할 때, 상기 K를 계산하여 K에 따라 심볼의 복호화 계속 여부를 판단하는 단계;(b1) when the right side values of Equations 1 and 2 are K, determining whether to continue decoding the symbol according to K by calculating K; [수학식1][Equation 1]
Figure 112007004098653-pat00021
Figure 112007004098653-pat00021
[수학식 2][Equation 2]
Figure 112007004098653-pat00022
Figure 112007004098653-pat00022
(여기서, v1은 스케일러빌리티를 위해 비트스트림을 절단할 경우, 남아있는 유효한 비트스트림의 값, v2는 절단된 후 잘려나간 비트스트림 값, dummy는 v2의 비트수, freq는 심볼의 확률값, high, low는 심볼의 확률값이 존재하는 범위의 상한과 하한을 나타낸다.)(Where v1 is the truncation of the bitstream for scalability, the value of the remaining valid bitstream, v2 is the truncated bitstream value, dummy is the number of bits in v2, freq is the probability value of the symbol, high, low indicates the upper and lower limits of the range in which the probability value of the symbol exists.) (b2) 상기 K가 2dummy-1 이상이면 심볼을 1로 복호화하고, 상기 K가 0 이하이면 심볼을 0 으로 복호화하는 단계;(b2) decoding the symbol as 1 when the K is 2 dummy −1 or more, and decoding the symbol as 0 when the K is 0 or less; (b3)상기 K가 0 과 2dummy-1 사이에 있으면 앰비규어티가 발생했다고 결정하여 복호화를 완료하는 단계를 포함함을 특징으로 하는 스케일러블 오디오 데이터 산술 복호화 방법.and (b3) determining that an ambiguity has occurred if K is between 0 and 2 dummy −1, and completing decoding.
제13항에 있어서, 상기 (a)단계는The method of claim 13, wherein step (a) 비트플레인 상의 값 중 처음으로 0 이 아닌 샘플이 복호화되면, 그에 해당하는 부호(sign)비트를 산술 복호화하는 것을 특징으로 하는 스케일러블 오디오 데이터 산술 복호화 방법.And a first non-zero sample of a value on the bitplane is decoded, and arithmically decodes a corresponding sign bit. (a) 복호화하고자 하는 심볼과 그 심볼이 발생할 확률을 이용하여 산술복호 화하되, 상기 심볼의 확률계산은 복호화할 비트스트림의 헤더 정보로부터 디코딩 모드를 찾아내어, 상기 디코딩 모드가 비트플레인 골룸부호화 모드(bpgc)인 경우, 복호화할 데이터가 라플라시안 분포를 하고 있다고 가정하여 복호화할 심볼의 확률을 얻는 단계; 및(a) Arithmetic decoding using a symbol to be decoded and a probability of generating the symbol, wherein the probability calculation of the symbol finds a decoding mode from header information of a bitstream to be decoded, and the decoding mode is a bitplane gollum encoding mode. (bpgc), assuming that data to be decoded has a Laplacian distribution, obtaining a probability of a symbol to be decoded; And (b) 심볼의 복호화완료여부를 나타내는 앰비규어티를 체크하여 복호화계속여부를 결정하는 단계를 포함하고,(b) checking whether or not to continue decoding by checking an ambiguity indicating whether the symbol has been decoded; 상기 (b) 단계는Step (b) is (b1) 수학식 1 및 수학식 2의 우변 값을 K라 할 때, 상기 K를 계산하여 K에 따라 심볼의 복호화 계속 여부를 판단하는 단계;(b1) when the right side values of Equations 1 and 2 are K, determining whether to continue decoding the symbol according to K by calculating K; [수학식1][Equation 1]
Figure 112007004098653-pat00023
Figure 112007004098653-pat00023
[수학식 2][Equation 2]
Figure 112007004098653-pat00024
Figure 112007004098653-pat00024
(여기서, v1은 scalability를 위해 비트스트림을 절단할 경우, 남아있는 유효한 비트스트림의 값, v2는 절단된 후 잘려나간 비트스트림 값, dummy는 v2의 비트수, freq는 심볼의 확률값, high, low는 심볼의 확률값이 존재하는 범위의 상한과 하한을 나타낸다.)(Where v1 is the truncated bitstream for scalability, the remaining valid bitstream value, v2 is the truncated bitstream value after truncation, dummy is the number of bits in v2, freq is the probability value of the symbol, high, low Represents the upper and lower limits of the range in which the probability value of the symbol exists.) (b2) 상기 K가 2dummy-1 이상이면 심볼을 1로 복호화하고, 상기 K가 0 이하이 면 심볼을 0 으로 복호화하는 단계;(b2) decoding the symbol as 1 when the K is 2 dummy −1 or more, and decoding the symbol as 0 when the K is 0 or less; (b3)상기 K가 0 과 2dummy-1 사이에 있으면 앰비규어티가 발생했다고 결정하여 복호화를 완료하는 단계를 포함함을 특징으로 하는 스케일러블 오디오 데이터 산술 복호화 방법.and (b3) determining that an ambiguity has occurred if K is between 0 and 2 dummy −1, and completing decoding.
제15항에 있어서, 상기 (a)단계는The method of claim 15, wherein step (a) 비트플레인 상의 값 중 처음으로 0 이 아닌 샘플이 복호화되면, 그에 해당하는 부호(sign)비트를 산술 복호화하는 것을 특징으로 하는 오디오 스케일러블 데이터 산술 복호화 방법.And if the first non-zero sample of the value on the bitplane is decoded, arithmetic decoding of a corresponding sign bit is performed. (a) 복호화하고자 하는 심볼과 그 심볼이 발생할 확률을 이용하여 산술복호화하되, 상기 심볼의 확률계산은 복호화할 비트스트림의 헤더 정보로부터 디코딩 모드를 찾아내어, 상기 디코딩 모드가 저에너지(low energy) 모드인 경우, 비트스트림 헤더의 확률모델 정보를 이용하여 복호화할 심볼의 확률을 얻는 단계; 및(a) Arithmetic decoding using a symbol to be decoded and a probability of generating the symbol, wherein the probability calculation of the symbol finds a decoding mode from header information of a bitstream to be decoded, and the decoding mode is a low energy mode. In the case of, obtaining a probability of a symbol to be decoded using the probability model information of the bitstream header; And (b) 심볼의 복호화완료여부를 나타내는 앰비규어티를 체크하여 복호화계속여부를 결정하는 단계를 포함하고,(b) checking whether or not to continue decoding by checking an ambiguity indicating whether the symbol has been decoded; 상기 (b) 단계는Step (b) is (b1) 수학식 1 및 수학식 2의 우변 값을 K라 할 때, 상기 K를 계산하여 K에 따라 심볼의 복호화 계속 여부를 판단하는 단계;(b1) when the right side values of Equations 1 and 2 are K, determining whether to continue decoding the symbol according to K by calculating K; [수학식1][Equation 1]
Figure 112007004098653-pat00025
Figure 112007004098653-pat00025
[수학식 2][Equation 2]
Figure 112007004098653-pat00026
Figure 112007004098653-pat00026
(여기서, v1은 스케일러빌리티를 위해 비트스트림을 절단할 경우, 남아있는 유효한 비트스트림의 값, v2는 절단된 후 잘려나간 비트스트림 값, dummy는 v2의 비트수, freq는 심볼의 확률값, high, low는 심볼의 확률값이 존재하는 범위의 상한과 하한을 나타낸다.)(Where v1 is the truncation of the bitstream for scalability, the value of the remaining valid bitstream, v2 is the truncated bitstream value, dummy is the number of bits in v2, freq is the probability value of the symbol, high, low indicates the upper and lower limits of the range in which the probability value of the symbol exists.) (b2) 상기 K가 2dummy-1 이상이면 심볼을 1로 복호화하고, 상기 K가 0 이하이면 심볼을 0 으로 복호화하는 단계;(b2) decoding the symbol as 1 when the K is 2 dummy −1 or more, and decoding the symbol as 0 when the K is 0 or less; (b3)상기 K가 0 과 2dummy-1 사이에 있으면 앰비규어티가 발생했다고 결정하여 복호화를 완료하는 단계를 포함함을 특징으로 하는 스케일러블 오디오 데이터 산술 복호화 방법.and (b3) determining that an ambiguity has occurred if K is between 0 and 2 dummy −1, and completing decoding.
삭제delete 제1항 내지 제8항, 제12항 내지 제17항 중 어느 한 항에 기재된 발명을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for executing the invention according to any one of claims 1 to 8 and 12 to 17 on a computer. 제4항에 있어서, 상기 (b3)단계는The method of claim 4, wherein step (b3) 상기 K가 0 과 2dummy-1 사이에 있으면 앰비규어티가 발생했다고 결정하여 복호화를 중단하고, 바로 이전에 복호화된 샘플을 0 으로 세팅하여 복호화를 종료하는 것을 특징으로 하는 스케일러블 오디오 데이터 산술 복호화 방법.When K is between 0 and 2 dummy -1, it is determined that an ambiguity has occurred and the decoding is stopped, and the decoding is terminated by setting the immediately decoded sample to 0 to terminate decoding. Way. 제13항에 있어서, 상기 (b3)단계는The method of claim 13, wherein step (b3) 상기 K가 0 과 2dummy-1 사이에 있으면 앰비규어티가 발생했다고 결정하여 복호화를 중단하고, 바로 이전에 복호화된 샘플을 0 으로 세팅하여 복호화를 종료하는 것을 특징으로 하는 스케일러블 오디오 데이터 산술 복호화 방법.When K is between 0 and 2 dummy -1, it is determined that an ambiguity has occurred and the decoding is stopped, and the decoding is terminated by setting the immediately decoded sample to 0 to terminate decoding. Way. 제15항에 있어서, 상기 (b3)단계는The method of claim 15, wherein step (b3) 상기 K가 0 과 2dummy-1 사이에 있으면 앰비규어티가 발생했다고 결정하여 복호화를 중단하고, 바로 이전에 복호화된 샘플을 0 으로 세팅하여 복호화를 종료하는 것을 특징으로 하는 스케일러블 오디오 데이터 산술 복호화 방법.When K is between 0 and 2 dummy -1, it is determined that an ambiguity has occurred and the decoding is stopped, and the decoding is terminated by setting the immediately decoded sample to 0 to terminate decoding. Way. 제20항 내지 제22항 중 어느 한 항에 기재된 발명을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for executing the invention according to any one of claims 20 to 22.
KR1020070004420A 2005-01-12 2007-01-15 Scalable audio data arithmetic decoding method and apparatus KR101001746B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020070004420A KR101001746B1 (en) 2005-01-12 2007-01-15 Scalable audio data arithmetic decoding method and apparatus

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US60/643,118 2005-01-12
US60/670,643 2005-04-13
US60/673,363 2005-04-21
KR1020070004420A KR101001746B1 (en) 2005-01-12 2007-01-15 Scalable audio data arithmetic decoding method and apparatus

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020050110878A Division KR100829558B1 (en) 2005-01-12 2005-11-18 Scalable audio data arithmetic decoding method and apparatus, and method for truncating audio data bitstream

Related Child Applications (1)

Application Number Title Priority Date Filing Date
KR1020100056186A Division KR101336245B1 (en) 2005-01-12 2010-06-14 Scalable arithmatic decoding method and method for truncating data bitstream

Publications (2)

Publication Number Publication Date
KR20070021287A KR20070021287A (en) 2007-02-22
KR101001746B1 true KR101001746B1 (en) 2010-12-15

Family

ID=43653397

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070004420A KR101001746B1 (en) 2005-01-12 2007-01-15 Scalable audio data arithmetic decoding method and apparatus

Country Status (1)

Country Link
KR (1) KR101001746B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6115689A (en) 1998-05-27 2000-09-05 Microsoft Corporation Scalable audio coder and decoder
KR100335609B1 (en) 1997-11-20 2002-10-04 삼성전자 주식회사 Scalable audio encoding/decoding method and apparatus
JP2005033373A (en) 2003-07-09 2005-02-03 Seiko Epson Corp Apparatus and method for transmitting data and for receiving data, and data telecommunication system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100335609B1 (en) 1997-11-20 2002-10-04 삼성전자 주식회사 Scalable audio encoding/decoding method and apparatus
US6115689A (en) 1998-05-27 2000-09-05 Microsoft Corporation Scalable audio coder and decoder
JP2005033373A (en) 2003-07-09 2005-02-03 Seiko Epson Corp Apparatus and method for transmitting data and for receiving data, and data telecommunication system

Also Published As

Publication number Publication date
KR20070021287A (en) 2007-02-22

Similar Documents

Publication Publication Date Title
KR100946057B1 (en) Determination of the presence of additional coded data in a data frame
KR100969731B1 (en) Apparatus for generating and interpreting a data stream modified in accordance with the importance of the data
TWI449033B (en) Audio encoder and method for encoding segments of coefficients, audio decoder and method for decoding an encoded audio stream, and computer program
KR101029076B1 (en) Apparatus and method for audio encoding/decoding with scalability
EP2439737B1 (en) Compression coding and decoding method, coder, decoder and coding device
KR20120125513A (en) Encoder for audio signal including generic audio and speech frames
BRPI0711190B1 (en) METHOD AND APPARATUS FOR LOSS-FREE CODING OF A SIGN OF ORIGIN USING A LOSS-ENCODED DATA FLOW AND A LOSS-FREE EXTENSION DATA FLOW
US20040002854A1 (en) Audio coding method and apparatus using harmonic extraction
KR101330209B1 (en) Scalable data arithmetic decoding method
KR100852613B1 (en) Editing of audio signals
JP2002041099A (en) Method for expressing masked threshold level, reconstituting method and its system
KR101001746B1 (en) Scalable audio data arithmetic decoding method and apparatus
KR101001745B1 (en) Scalable BSAC(Bit Sliced Arithmetic Coding) audio data arithmetic decoding method and apparatus
KR20070038699A (en) Scalable bsac(bit sliced arithmetic coding) audio data arithmetic decoding method and apparatus
CN100568741C (en) The method and apparatus of arithmetic decoding method and equipment and truncating audio data bitstream
JP2006211243A (en) Device and method for digital signal encoding
KR20080092823A (en) Apparatus and method for encoding and decoding signal
KR20230011416A (en) Methods and apparatus for integrated speech and audio decoding improvements

Legal Events

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

Payment date: 20131128

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20141127

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20151127

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20161129

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20171129

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee