KR100988010B1 - Method and Apparatus for Coding and Decoding using Bit-Precision - Google Patents

Method and Apparatus for Coding and Decoding using Bit-Precision Download PDF

Info

Publication number
KR100988010B1
KR100988010B1 KR1020080037856A KR20080037856A KR100988010B1 KR 100988010 B1 KR100988010 B1 KR 100988010B1 KR 1020080037856 A KR1020080037856 A KR 1020080037856A KR 20080037856 A KR20080037856 A KR 20080037856A KR 100988010 B1 KR100988010 B1 KR 100988010B1
Authority
KR
South Korea
Prior art keywords
bit
field
decision
motion vector
bitstream
Prior art date
Application number
KR1020080037856A
Other languages
Korean (ko)
Other versions
KR20090112139A (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
Priority to KR1020080037856A priority Critical patent/KR100988010B1/en
Application filed by (주)휴맥스 filed Critical (주)휴맥스
Priority to US12/669,770 priority patent/US8411745B2/en
Priority to EP10152392A priority patent/EP2187645A3/en
Priority to PCT/KR2008/004232 priority patent/WO2009011558A2/en
Priority to EP10152390A priority patent/EP2187644A3/en
Priority to EP08778887A priority patent/EP2172028A4/en
Priority to EP10152387A priority patent/EP2187643A3/en
Publication of KR20090112139A publication Critical patent/KR20090112139A/en
Priority to US12/694,248 priority patent/US8009067B2/en
Priority to US12/694,242 priority patent/US8009066B2/en
Priority to US12/694,245 priority patent/US8675734B2/en
Application granted granted Critical
Publication of KR100988010B1 publication Critical patent/KR100988010B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/146Data rate or code amount at the encoder output
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/189Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

결정 비트를 이용한 부호화/복호화 방법 및 장치가 개시된다. 본 발명의 일 실시예에 따르면, 심볼 별로 적응 결정 비트 및 적응 비트열을 산출하는 적응 결정 비트 산출부; 소정의 필드 별로 결정 비트를 산출하는 결정 비트 산출부; 및 대상 필드의 종류에 따라 상기 적응 결정 비트 및 상기 결정 비트 중 하나 이상을 이용하여 입력 데이터를 부호화하는 부호화부를 포함하는 부호화 장치가 제공될 수 있다. 이에 따라 다수의 방법으로 산출된 결정 비트를 이용하여 영상 데이터를 부/복호화함으로써, 압축 효율을 개선할 수 있는 효과가 있다.Disclosed are a method and apparatus for encoding / decoding using decision bits. According to an embodiment of the present invention, an adaptive determination bit calculator for calculating an adaptive determination bit and an adaptive bit string for each symbol; A decision bit calculator for calculating decision bits for each predetermined field; And an encoder which encodes input data using at least one of the adaptive determination bit and the determination bit according to a type of a target field. Accordingly, by encoding / decoding the image data using the decision bits calculated by a plurality of methods, the compression efficiency can be improved.

결정 비트, 적응 결정 비트, 매크로 블록, 부호화, 복호화 Decision bits, adaptive decision bits, macroblocks, encoding, decoding

Description

결정 비트를 이용한 부호화/복호화 방법 및 장치{Method and Apparatus for Coding and Decoding using Bit-Precision}Method and apparatus for encoding / decoding using decision bits {Method and Apparatus for Coding and Decoding using Bit-Precision}

본 발명은 영상 데이터의 부호화(Coding) 및 복호화(Decoding)(이하에서는 '부/복호화'로 칭함) 장치에 관한 것으로, 보다 상세하게는 영상 데이터의 압축 효율을 높이기 위한 부/복호화 방법 및 장치에 관한 것이다.The present invention relates to an apparatus for encoding and decoding image data (hereinafter referred to as " decoding / decoding "), and more particularly, to an encoding / decoding method and apparatus for increasing compression efficiency of image data. It is about.

인터넷을 통한 초당 데이터 전송량이 늘어나면서 단순 텍스트 데이터를 전송하던 과거에 비해 동영상, 사진 등 멀티미디어 데이터의 전송량이 증가하고 있으며, 이에 따른 영상 압축 기술에 대한 요구 역시 증가하고 있다.As the amount of data transmission per second over the Internet increases, the amount of multimedia data such as moving pictures and photos is increasing compared to the past when simple text data is being transmitted. Accordingly, the demand for image compression technology is also increasing.

영상을 압축하기 위해서는 데이터에 포함된 심볼(symbol)을 나타내는 비트열을 다른 형태로 변형하는 엔트로피 코딩(entropy coding) 과정을 거쳐야 한다. 엔트로피 코딩 방식으로는 허프만 코딩(Huffman coding), 산술기하 코딩(Arithmetic coding) 등의 방식이 있다. 특히 허프만 코딩 방식은 압축 효율과 복호화 복잡도를 적정 수준으로 보장하기 때문에 많은 영상 압축 코덱에서 사용된다. 산술기하 코딩 은 복호화 복잡도는 높지만 상대적으로 압축 효율이 높기 때문에 높은 압축 효율을 요구하는 분야에서 사용된다.In order to compress an image, an entropy coding process of transforming a bit string representing a symbol included in data into another form is required. Entropy coding methods include Huffman coding and Arithmetic coding. In particular, Huffman coding is used in many video compression codecs because it guarantees an adequate level of compression efficiency and decoding complexity. Arithmetic geometry coding is used in fields requiring high compression efficiency because of its high decoding complexity but relatively high compression efficiency.

최근 들어 제한된 전력을 이용하고 저성능의 하드웨어로 구성된 각종 모바일 미디어 기기의 등장으로 복호화 복잡도가 낮은 엔트로피 코딩 방법이 요구되고 있다. 그러나, 영상의 압축 효율을 높이기 위한 방법에 비해 복호화 복잡도를 낮추는 방법에 대한 연구는 미비하다는 문제점이 있다.Recently, with the advent of various mobile media devices using limited power and composed of low-performance hardware, an entropy coding method with low decoding complexity is required. However, there is a problem in that research on a method of reducing decoding complexity is insufficient compared to a method for increasing the compression efficiency of an image.

한편, 복호화 복잡도를 감소시키기 위한 방안으로서, 최근 결정 비트(Bit Precision)을 이용한 엔트로피 코딩 방식이 제안되었다. 하지만 상기 코딩 방식은 VOP 또는 매크로 블록 당 하나의 결정 비트를 비트스트림에 추가적으로 삽입함으로써, 압축 효율이 낮아지는 문제점이 있다.On the other hand, as a method for reducing decoding complexity, an entropy coding scheme using bit precision has recently been proposed. However, the coding scheme has a problem in that compression efficiency is lowered by additionally inserting one decision bit per VOP or macroblock into the bitstream.

본 발명은 복수개의 방법으로 선정된 결정 비트를 이용하여 영상 데이터를 부/복호화함으로써, 압축 효율을 개선할 수 있는 결정 비트를 이용한 부호화/복호화 방법 및 장치를 제공하는데 그 목적이 있다.An object of the present invention is to provide a method and apparatus for encoding / decoding using decision bits that can improve compression efficiency by encoding / decoding video data using decision bits selected by a plurality of methods.

본 발명은 필드별로 결정 비트를 산출하는 방식을 달리하여 영상 데이터를 부/복호화함으로써, 압축 효율을 개선할 수 있는 결정 비트를 이용한 부호화/복호화 방법 및 장치를 제공하는데 그 목적이 있다.An object of the present invention is to provide a method and apparatus for encoding / decoding using decision bits that can improve compression efficiency by encoding / decoding video data using different methods of calculating decision bits for each field.

본 발명의 일 측면에 따르면, 적응 결정 비트 및 결정 비트 중 하나 이상을 이용하여 입력 데이터를 부호화할 수 있는 장치가 제공된다.According to one aspect of the present invention, there is provided an apparatus capable of encoding input data using one or more of an adaptive decision bit and a decision bit.

본 발명의 일 실시예에 따르면, 심볼 별로 적응 결정 비트 및 적응 비트열을 산출하는 적응 결정 비트 산출부; 소정의 필드 별로 결정 비트를 산출하는 결정 비트 산출부; 및 대상 필드의 종류에 따라 상기 적응 결정 비트 및 상기 결정 비트 중 하나 이상을 이용하여 입력 데이터를 부호화하는 부호화부를 포함하는 부호화 장치가 제공될 수 있다.According to an embodiment of the present invention, an adaptive determination bit calculator for calculating an adaptive determination bit and an adaptive bit string for each symbol; A decision bit calculator for calculating decision bits for each predetermined field; And an encoder which encodes input data using at least one of the adaptive determination bit and the determination bit according to a type of a target field.

본 발명의 다른 측면에 따르면, 적응 결정 비트 및 결정 비트 중 하나 이상을 이용하여 비트스트림을 복호화할 수 있는 장치가 제공된다.According to another aspect of the present invention, there is provided an apparatus capable of decoding a bitstream using one or more of an adaptive decision bit and a decision bit.

본 발명의 일 실시예에 따르면, 심볼 별로 적응 결정 비트 및 적응 비트열을 산출하는 적응 결정 비트 산출부; 소정의 필드 별로 결정 비트를 입력받은 비트스트림으로부터 추출하는 결정 비트 추출부; 및 대상 필드의 종류에 따라 상기 적응 결정 비트 또는 및 상기 결정 비트 중 하나 이상을 이용하여 상기 비트스트림을 복호화하는 복호화부를 포함하는 복호화 장치가 제공될 수 있다.According to an embodiment of the present invention, an adaptive determination bit calculator for calculating an adaptive determination bit and an adaptive bit string for each symbol; A decision bit extraction unit for extracting a decision bit from a received bitstream for each predetermined field; And a decoder which decodes the bitstream using one or more of the adaptive determination bit and the determination bit according to a type of a target field.

본 발명의 또 다른 측면에 따르면, 적응 결정 비트 및 결정 비트 중 하나 이상을 이용하여 입력 데이터를 부호화할 수 있는 방법 및 그 방법을 수행하기 위한 프로그램을 기록한 기록매체가 제공된다.According to another aspect of the present invention, there is provided a method capable of encoding input data using at least one of an adaptive decision bit and a decision bit, and a recording medium having recorded thereon a program for performing the method.

본 발명의 일 실시예에 따르면, 심볼 별로 적응 결정 비트 및 적응 비트열을 산출하는 단계; 소정의 필드 별로 결정 비트를 산출하는 단계; 및 대상 필드의 종류에 따라 상기 결정 비트 및 상기 적응 결정 비트 중 하나 이상을 이용하여 입력 데이터를 부호화하는 단계를 포함하는 부호화 방법이 제공될 수 있다.According to an embodiment of the present invention, the method includes: calculating an adaptive determination bit and an adaptive bit string for each symbol; Calculating a decision bit for each predetermined field; And encoding the input data using at least one of the decision bit and the adaptive decision bit according to the type of the target field.

본 발명의 다른 실시예에 따르면, 입력 데이터를 부호화할 수 있는 방법을 수행하기 위해 디지털 처리 장치에 의해 실행될 수 있는 명령어들의 프로그램이 유형적으로 구현되어 있으며, 상기 디지털 처리 장치에 의해 판독될 수 있는 프로그램을 기록한 기록매체에 있어서, 심볼 별로 적응 결정 비트 및 적응 비트열을 산출하는 단계; 소정의 필드 별로 결정 비트를 산출하는 단계; 및 대상 필드의 종류에 따라 상기 결정 비트 및 상기 적응 결정 비트 중 하나 이상을 이용하여 입력 데이터를 부호화하는 단계를 수행하는 프로그램이 기록된 기록매체가 제공될 수 있다. According to another embodiment of the present invention, a program of instructions, which can be executed by a digital processing apparatus, is tangibly implemented to perform a method capable of encoding input data, and the program can be read by the digital processing apparatus. A recording medium having recorded thereon, the method comprising: calculating an adaptive determination bit and an adaptive bit string for each symbol; Calculating a decision bit for each predetermined field; And a recording medium on which a program for performing input encoding of the input data using at least one of the decision bit and the adaptive decision bit according to a type of a target field is recorded.

본 발명의 또 다른 측면에 따르면, 적응 결정 비트 및 결정 비트 중 하나 이상을 이용하여 비트스트림을 복호화할 수 있는 방법 및 그 방법을 실행하기 위한 프로그램을 기록한 기록매체가 제공된다.According to another aspect of the present invention, there is provided a method capable of decoding a bitstream using at least one of an adaptive decision bit and a decision bit, and a recording medium on which a program for executing the method is recorded.

본 발명의 일 실시예에 따르면, 심볼 별로 적응 결정 비트 및 적응 비트열을 산출하는 단계; 소정의 필드 별로 결정 비트를 비트스트림으로부터 추출하는 단계; 및 대상 필드의 종류에 따라 상기 적응 결정 비트 및 상기 결정 비트 중 하나 이상을 이용하여 상기 비트스트림을 복호화하는 단계를 포함하는 복호화 방법이 제공될 수 있다.According to an embodiment of the present invention, the method includes: calculating an adaptive determination bit and an adaptive bit string for each symbol; Extracting a decision bit from the bitstream for each predetermined field; And decoding the bitstream using at least one of the adaptive determination bit and the determination bit according to a type of a target field.

본 발명의 다른 실시예에 따르면, 비트스트림을 복호화 방법을 수행하기 위해 디지털 처리 장치에 의해 실행될 수 있는 명령어들의 프로그램이 유형적으로 구현되어 있으며, 상기 디지털 처리 장치에 의해 판독될 수 있는 프로그램을 기록한 기록매체에 있어서, 심볼 별로 적응 결정 비트 및 적응 비트열을 산출하는 단계; 소정의 필드 별로 결정 비트를 비트스트림으로부터 추출하는 단계; 및 대상 필드의 종류에 따라 상기 적응 결정 비트 및 상기 결정 비트 중 하나 이상을 이용하여 상기 비트스트림을 복호화하는 단계를 수행하는 프로그램이 기록된 기록매체가 제공될 수 있다.According to another embodiment of the present invention, a program of instructions that can be executed by a digital processing apparatus for performing a method of decoding a bitstream is tangibly embodied, and a record recording a program that can be read by the digital processing apparatus. A medium, comprising: calculating an adaptive decision bit and an adaptive bit string for each symbol; Extracting a decision bit from the bitstream for each predetermined field; And a recording medium on which a program for performing the step of decoding the bitstream using at least one of the adaptive determination bit and the determination bit according to the type of a target field may be provided.

본 발명은 복수의 방법으로 산출된 결정 비트 또는/및 적응 결정 비트를 이용하여 영상 데이터를 부/복호화함으로써, 압축 효율을 개선할 수 있는 효과가 있다.The present invention has an effect of improving compression efficiency by encoding / decoding video data using decision bits or / and adaptive decision bits calculated by a plurality of methods.

본 발명은 필드별로 결정 비트를 산출하는 방식을 달리하여 영상 데이터를 부/복호화함으로써, 압축 효율을 개선할 수 있는 복합적으로 결정 비트를 이용한 부호화/복호화 방법 및 장치를 제공하는데 그 목적이 있다.SUMMARY OF THE INVENTION An object of the present invention is to provide a method and apparatus for encoding / decoding using decision bits, which can improve compression efficiency by encoding / decoding video data using different methods of calculating decision bits for each field.

본 발명은 다양한 변환을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변환, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 본 발명을 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다.As the invention allows for various changes and numerous embodiments, particular embodiments will be illustrated in the drawings and described in detail in the written description. However, this is not intended to limit the present invention to specific embodiments, it should be understood to include all transformations, equivalents, and substitutes included in the spirit and scope of the present invention. In the following description of the present invention, if it is determined that the detailed description of the related known technology may obscure the gist of the present invention, the detailed description thereof will be omitted.

제1, 제2 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. The terms first, second, etc. may be used to describe various components, but the components should not be limited by the terms. The terms are used only for the purpose of distinguishing one component from another.

본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terminology used herein is for the purpose of describing particular example embodiments only and is not intended to be limiting of the present invention. Singular expressions include plural expressions unless the context clearly indicates otherwise. In this application, the terms "comprise" or "have" are intended to indicate that there is a feature, number, step, operation, component, part, or combination thereof described in the specification, and one or more other features. It is to be understood that the present invention does not exclude the possibility of the presence or the addition of numbers, steps, operations, components, components, or a combination thereof.

이하, 본 발명의 실시예를 첨부한 도면들을 참조하여 상세히 설명하기로 한다. Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

본 발명은 결정 비트를 이용하는 부호화 기술에 관한 것으로, 더욱 구체적으 로는 결정 비트 또는 적응 결정 비트를 이용하여 심볼을 부호화하는 기술에 관한 발명이다. 먼저, 이해와 설명의 편의를 도모하기 위해, 본 발명에 따른 결정 비트를 이용하는 부호화 방식에 대한 개념을 설명한 후, 결정 비트 및 적응 결정 비트에 대하여 설명하기로 한다. The present invention relates to an encoding technique using decision bits. More particularly, the present invention relates to a technique for encoding a symbol using decision bits or adaptive decision bits. First, for convenience of understanding and explanation, the concept of an encoding scheme using decision bits according to the present invention will be described, and then the decision bits and the adaptive decision bits will be described.

본 발명에 따른 부호화 방법은 입력 데이터의 심볼들에 대하여 결정 비트를 지정한다. 이 때, 심볼은 입력 데이터를 구성하고 있는 각각의 워드 단위이다. 결정 비트는 심볼들을 이진 코드인 비트를 이용하여 부호화하기 위한 단위 비트열의 길이를 나타내는 값이다. 즉, 결정 비트가 n인 경우, 입력된 심볼들은 n개의 단위 비트열을 이용하여 이진수로 표현되고, 이에 따라 부호화된다. 예를 들어, 입력된 심볼들이 {2, 1, 0, 4, 5, 3}이라고 하고, 결정 비트는 2라고 가정하자. 2개의 비트(즉, 단위 비트열)로 표현할 수 있는 값은 0부터 3까지의 값을 표현할 수 있다. 그런데, 심볼이 3보다 큰 경우에는 2개의 비트로는 표현이 불가능하므로, 추가적으로 2개의 비트를 더 할당하여 3보다 큰 값을 표현하게 된다. 보다 상세하게 설명하면 다음과 같다. 심볼 2는 해당 값을 그대로 이진화하면 '10'으로 표현되고, 심볼 '1'은 이진화하면 '01'로 표현되며, 심볼 '0'은 이진화하면 '00'으로 표현된다. 그런데, 심볼 '4'는 2비트로 표현되는 최대값인 3보다 크기 때문에 단위 비트열 2비트만으로는 표현이 불가능하다. 따라서 처음 2개의 비트값으로 표현 가능한 최대값인 3을 '11'로 표현하고, 부족한 값인 1을 추가단위 비트열 '01'로 표현하여 2개의 결과를 연결하게 된다. 즉, 심볼 '4'는 '1101'로 표현하면 된다. 심볼 5의 경우는 심볼 4의 경우와 유사하게 2비트를 이용한 최대값 3과 잉여값 2를 결합하여 '1110' 으로 표현한다. 심볼 3인 경우에는 2비트로 표현이 가능하지만, 이 경우에 3보다 큰 값을 표현하기 위한 경우와 구별이 불가능한 관계로 역시 추가적인 2비트를 추가하여 잉여값이 0인 경우로 '1100'으로 표현하게 된다.The encoding method according to the present invention specifies a decision bit for symbols of input data. At this time, the symbol is each word unit constituting the input data. The decision bit is a value representing the length of a unit bit string for encoding symbols using bits, which are binary codes. That is, when the decision bit is n, the input symbols are represented in binary using n unit bit strings and are encoded accordingly. For example, assume that the input symbols are {2, 1, 0, 4, 5, 3} and the decision bit is 2. A value that can be represented by two bits (ie, a unit bit string) may represent a value from 0 to 3. However, if the symbol is larger than 3, it is impossible to express it with two bits, and thus additionally allocate two more bits to represent a value larger than three. This will be described in more detail as follows. Symbol 2 is represented by '10' when the value is binarized as it is, symbol '1' is represented by '01' when binarized, and symbol '0' is represented by '00' when binarized. However, since the symbol '4' is larger than 3, which is the maximum value represented by 2 bits, the symbol '4' cannot be represented by only 2 bits of the unit bit string. Therefore, the maximum value that can be represented by the first two bit values is expressed as '11', and the insufficient value 1 is expressed as the additional unit bit string '01' to connect the two results. That is, the symbol '4' may be represented by '1101'. Similarly to symbol 4, symbol 5 is represented by '1110' by combining the maximum value 3 and the surplus value 2 using 2 bits. In the case of symbol 3, it can be represented by 2 bits, but in this case, it is indistinguishable from the case of expressing a value greater than 3, and thus additional 2 bits are added to represent '1100' when the surplus value is 0. do.

상기에서 설명한 결정 비트를 이용하는 부호화 방식을 데이터의 심볼이 0 내지 9인 경우에 적용하면 하기의 표 1과 같이 나타낼 수 있다.If the above-described encoding method using the decision bit is applied to the case where the data symbol is 0 to 9, it can be expressed as shown in Table 1 below.


심볼

symbol
결정 비트
1
Decision bits
One
결정 비트
2
Decision bits
2
결정 비트
3
Decision bits
3
결정 비트
4
Decision bits
4
결정 비트
5
Decision bits
5
00 00 0000 000000 00000000 0000000000 1One 1010 0101 001001 00010001 0000100001 22 100100 1010 010010 00100010 0001000010 33 10001000 11001100 011011 00110011 0001100011 44 1000010000 11011101 100100 01000100 0010000100 55 100000100000 11101110 101101 01010101 0010100101 66 10000001000000 111100111100 110110 01100110 0011000110 77 1000000010000000 111101111101 111000111000 01110111 0011100111 88 100000000100000000 111110111110 111001111001 10001000 0100001000 99 10000000001000000000 1111110011111100 111010111010 10011001 0100101001

표 1에서 나타나듯이 결정 비트에 따라 심볼이 부호화된 비트열은 달라진다. 따라서 여러 종류의 결정 비트들 중 어떤 결정 비트를 이용하여 부호화할 것인지를 부호화 프로세스의 수행 전에 선정하여야 하며, 선정된 결정 비트에 따라 부호화 압축률은 달라 진다.As shown in Table 1, the bit string in which the symbol is encoded varies according to the decision bit. Therefore, it is necessary to select which one of several types of decision bits to encode before performing the encoding process, and the encoding compression rate varies according to the selected decision bits.

본 발명에 따르면 표 1에 예시된 결정 비트 이외에 각 심볼에 대한 별도의 결정 비트(이하 '적응 결정 비트'라 지칭)가 산출된다. 여기서, 적응 결정 비트는 각 심볼을 부호화하기 위한 단위 비트열의 길이를 나타낸다. 이하 적응 결정 비트에 대해서 상세히 설명하도록 한다.According to the present invention, a separate decision bit (hereinafter referred to as an adaptive decision bit) for each symbol is calculated in addition to the decision bits illustrated in Table 1. Here, the adaptation determination bit represents the length of the unit bit string for encoding each symbol. Hereinafter, the adaptive decision bit will be described in detail.

본 발명의 일 실시예에 따르면, 각 심볼은 적응 결정 비트와 적응 결정 비트를 이용하여 부호화된 비트열(이하, '적응 비트열'로 지칭)로 표현되어 비트스트림에 삽입될 수 있다. 이하 표 2에는 각 심볼들에 대한 적응 결정 비트 및 적응 비트열이 예시된다.According to an embodiment of the present invention, each symbol may be represented by a bit string (hereinafter, referred to as an 'adaptive bit string') encoded using the adaptive decision bit and the adaptive decision bit and inserted into the bitstream. Table 2 below illustrates the adaptation decision bit and the adaptation bit string for each symbol.

심볼symbol 적응 결정 비트Adaptive decision bits 적응 비트열 Adaptive bit string 00 00 -- 1One 1One -- 22 22 -- 33 33 0000 44 33 0101 55 33 1010 66 33 1111 77 44 000000 88 44 001001

각 적응 비트열의 길이는 적응 결정 비트에서 1을 뺀 값으로 결정된다. 예를 들어, 적응 결정 비트가 3이면 해당 적응 비트열의 길이는 2(즉, 2비트)로 결정된다. 이 때, 적응 결정 비트가 0 내지 2일 경우에 심볼은 적응 비트열을 이용하지 않고 적응 결정 비트만으로 표현된다. 각 적응 비트열의 길이는 적응 결정 비트에서 1을 뺀 값이기 때문에 각 적응 결정 비트는 2의 n제곱(n은 적응 결정 비트에서 1을 뺀 값)만큼의 심볼을 나타낼 수 있다. 예를 들어, 적응 결정 비트 3은 4개의 심볼을 나타낼 수 있고, 적응 결정 비트 4는 8개의 심볼을 나타낼 수 있다. 적응 결정 비트가 3일 경우, 표 2에 예시된 바와 같이 00, 01, 10, 11은 심볼 3 내지 6에 매칭된다. 적응 결정 비트가 4일 경우에는 000, 001, 010, 011, 100, 101, 110, 111이 심볼 7 내지 14로 각각 매칭된다. 상술한 적응 결정 비트 및 적응 비트열은 비트스트림에 삽입되어 복호화기로 전송된다. 이 때, 적응 결정 비트는 별도의 처리 과정을 거쳐 비트스트림에 삽입될 수 있다. 이에 대해서는 추후 도 2 내지 7을 참조하여 상세히 설명하도록 한다.The length of each adaptation bit string is determined by subtracting 1 from the adaptation decision bits. For example, if the adaptation determination bit is 3, the length of the adaptation bit string is determined to be 2 (ie, 2 bits). At this time, when the adaptation decision bit is 0 to 2, the symbol is represented by only the adaptation decision bit without using the adaptation bit string. Since the length of each adaptation bit string is one obtained by subtracting one from the adaptation determination bits, each adaptation determination bit may represent as many symbols as n squares of two (n is the adaptation determination bit minus one). For example, adaptation decision bit 3 may represent four symbols and adaptation decision bit 4 may represent eight symbols. If the adaptation decision bit is 3, 00, 01, 10, 11 match symbols 3-6, as illustrated in Table 2. If the adaptation decision bit is 4, 000, 001, 010, 011, 100, 101, 110, and 111 are matched with symbols 7 to 14, respectively. The above-described adaptive decision bit and the adaptive bit string are inserted into the bitstream and transmitted to the decoder. In this case, the adaptation determination bit may be inserted into the bitstream through a separate process. This will be described in detail later with reference to FIGS. 2 to 7.

본 발명에 따르면 대상 심볼들(대상 매크로 블록 또는 대상 VOP-Video Object Plane-에 속한 심볼들)의 값을 이용하여 후보 결정 비트들로부터 부호화할 결정 비트를 선정한다.According to the present invention, a decision bit to be encoded is selected from candidate decision bits using values of target symbols (symbols belonging to a target macroblock or a target VOP-Video Object Plane).

본 발명에 따른 결정 비트 산출 방법을 구체적으로 설명하면 다음과 같다. 우선, 소정의 단위(VOP, 매크로 블록 또는 블록 단위)로 부호화할 심볼들을 소정 범위(1 ~ n)의 후보 결정 비트들을 이용하여 부호화한 후, 압축 효율이 가장 좋은 결정 비트를 부호화할 결정 비트로 선정한다. 예를 들어, 1 내지 3의 값을 갖는 결정 비트들을 이용하여 VOP 단위로 부호화한다고 가정하면, 해당 VOP에 포함된 모든 심볼들을 후보 결정 비트인 1 내지 3을 이용하여 부호화한다. 이 때, 후보 결정 비트 1 내지 3를 이용하여 부호화된 VOP의 용량이 각각 3, 2, 1[Mbyte]라면, 결정 비트 3을 최종적으로 해당 VOP의 결정 비트로 선정한다. 전술한 방식에 따라 본 발명에 따르면 압축률이 가장 높은 결정 비트를 선정하여 이용할 수 있게 된다. The method of calculating the decision bit according to the present invention will be described in detail as follows. First, symbols to be encoded in a predetermined unit (VOP, macro block, or block unit) are encoded by using candidate decision bits in a predetermined range (1 to n), and then a decision bit having the best compression efficiency is selected as a decision bit to be encoded. do. For example, assuming that encoding bits having a value of 1 to 3 are encoded in a VOP unit, all symbols included in the corresponding VOP are encoded using 1 to 3 candidate decision bits. At this time, if the capacity of the VOP encoded using the candidate decision bits 1 to 3 is 3, 2, and 1 [Mbyte], respectively, decision bit 3 is finally selected as the decision bit of the corresponding VOP. According to the present invention according to the above-described method it is possible to select and use the decision bit having the highest compression ratio.

도 1는 본 발명의 일 실시예에 따른 결정 비트를 이용하는 부호화 장치의 구성도이다.1 is a block diagram of an encoding apparatus using decision bits according to an embodiment of the present invention.

도 1를 참조하면, 본 발명의 일 실시예에 따른 결정 비트를 이용하는 부호화 장치(100)는 입력부(110), 적응 결정 비트 산출부(120), 결정 비트 산출부(130) 및 부호화부(140)를 포함한다.Referring to FIG. 1, the encoding apparatus 100 using decision bits according to an exemplary embodiment may include an input unit 110, an adaptive determination bit calculator 120, a determination bit calculator 130, and an encoder 140. ).

입력부(110)는 외부로부터 입력 데이터를 입력 받아 부호화할 심볼들을 추출하여 출력한다. 이 때, 입력부(110)는 추출된 심볼들을 VOP 단위 및 매크로 블록 단위(또는 소정 크기의 블록 단위)로 구분한 구분 정보를 심볼과 함께 출력할 수 있다. 또한, 입력부(110)는 입력 데이터로부터 필드 정보를 추출하여 출력한다. 여기서, 필드 정보는 입력 데이터내의 필드의 종류(또는 유형)을 나타내는 정보이다. 즉 입력부(210)는 필드 정보, 구분 정보 및 심볼을 결정 비트 산출부(230) 및 부호화부(240)로 출력한다. The input unit 110 receives input data from the outside and extracts and outputs symbols to be encoded. In this case, the input unit 110 may output the classification information, which divides the extracted symbols into a VOP unit and a macroblock unit (or a block unit of a predetermined size) together with the symbol. In addition, the input unit 110 extracts and outputs field information from the input data. Here, the field information is information indicating the type (or type) of the field in the input data. That is, the input unit 210 outputs field information, division information, and symbols to the decision bit calculator 230 and the encoder 240.

이 때, 입력 데이터는 mcbpc(Macroblock type & Coded block pattern for chorminance), cbpy(Coded block pattern for luminance), 모션 벡터(mv-x, mv-y) 및 DCT(DCT-luma, DCT-chroma) 필드 중 하나 이상을 포함할 수 있다. Mcbpc, cbpy, 모션 벡터, DCT 필드는 MPEG 표준에 따른 부호화/복호화 과정에서 사용되는 필드이다. 이는 당업자에게 자명한 사항이므로 그 상세한 설명은 생략하기로 한다.At this time, the input data is mcbpc (Macroblock type & Coded block pattern for chorminance), cbpy (Coded block pattern for luminance), motion vector (mv-x, mv-y) and DCT (DCT-luma, DCT-chroma) fields It may include one or more of. Mcbpc, cbpy, motion vector, and DCT fields are fields used in the encoding / decoding process according to the MPEG standard. Since this is obvious to those skilled in the art, a detailed description thereof will be omitted.

적응 결정 비트 산출부(220)는 부호화부(240)의 요청 신호에 따라 특정 심볼에 대한 적응 결정 비트 및 적응 비트열을 산출하여 부호화부(240)로 출력한다. 여기서, 적응 결정 비트 및 적응 비트열을 산출하는 방법에 대해서는 표 2를 이용하여 상술하였으므로 그 상세한 설명은 생략하기로 한다. The adaptation determination bit calculator 220 calculates an adaptation determination bit and an adaptation bit string for a specific symbol according to a request signal of the encoder 240, and outputs the adaptation determination bit to the encoder 240. Here, since the method for calculating the adaptive determination bit and the adaptive bit string has been described above with reference to Table 2, a detailed description thereof will be omitted.

물론, 적응 결정 비트 산출부(220)가 특정 심볼에 대한 적응 결정 비트 및 적응 비트열을 저장하고 있는 경우에는 별도의 산출 과정은 생략될 수도 있음은 당연하다. 예를 들어, 특정 심볼에 대한 적응 결정 비트 및 적응 비트열이 기저장되어 있는 경우, 부호화부(240)로부터 특정 심볼에 상응하는 요청 신호가 입력되면 적응 결정 비트 산출부(220)는 해당 심볼에 상응하여 기저장된 적응 결정 비트 및 적응 비트열을 추출하여 부호화부(240)로 출력할 수도 있다. Of course, when the adaptation determination bit calculator 220 stores the adaptation determination bit and the adaptation bit string for a specific symbol, a separate calculation process may be omitted. For example, when the adaptation determination bit and the adaptation bit string for a specific symbol are stored in advance, when the request signal corresponding to the specific symbol is input from the encoder 240, the adaptation determination bit calculator 220 may apply to the symbol. Correspondingly, the pre-stored adaptive determination bit and the adaptive bit string may be extracted and output to the encoder 240.

또한, 부호화 장치의 구현 방법에 따라, 각 심볼에 상응하는 적응 결정 비트 및 적응 비트열이 미리 산출되어 부호화부(240)에 저장될 수도 있다. 이와 같은 경우, 적응 결정 비트 산출부(220)는 부호화 장치(100)에서 생략될 수도 있음은 당연하다.In addition, according to an implementation method of the encoding apparatus, the adaptive determination bit and the adaptive bit string corresponding to each symbol may be calculated in advance and stored in the encoder 240. In this case, the adaptive decision bit calculator 220 may be omitted in the encoding apparatus 100.

결정 비트 산출부(230)는 입력받은 심볼들을 VOP(또는 매크로 블록) 단위로 구분하여 결정 비트를 산출하여 부호화부(240)로 출력한다. 결정 비트의 구체적인 산출 과정은 전술한 바와 같다. The decision bit calculator 230 divides the received symbols by a VOP (or macro block) unit, calculates a decision bit, and outputs the decision bit to the encoder 240. The detailed calculation process of the decision bit is as described above.

부호화부(240)는 적응 결정 비트 산출부(220) 및/또는 결정 비트 산출부(230)로부터 입력 받은 적응 결정 비트 또는 결정 비트를 이용하여 심볼을 부호화한다. 또한, 부호화부(240)는 입력부(210)를 통해 입력된 필드 정보에 따라 심볼을 각각 상이하게 부호화할 수 도 있다. 즉, 부호화부(240)는 입력된 필드 정보에 따라 복수개의 부호화 과정 중에서 어느 하나를 선택하여 심볼을 부호화할 수 있다. 이에 대해서는 이하 도 2 내지 도 6을 참조하여 상세히 설명하기로 한다. The encoder 240 encodes the symbol by using the adaptive decision bit or the decision bit received from the adaptive decision bit calculator 220 and / or the decision bit calculator 230. Also, the encoder 240 may encode symbols differently according to field information input through the input unit 210. That is, the encoder 240 may encode any symbol by selecting any one of a plurality of encoding processes according to the input field information. This will be described in detail with reference to FIGS. 2 to 6.

도 2는 본 발명의 일 실시예에 따른 필드별로 결정 비트 및 적응 결정 비트를 이용한 부호화 과정을 나타낸 순서도이다. 이하에서 설명되는 각각의 단계는 본 발명의 일 실시예에 따른 부호화 장치의 각각의 구성 요소에서 수행되어지나 이해와 설명의 편의를 도모하기 위해 부호화 장치로 통칭하여 설명하기로 한다. 2 is a flowchart illustrating an encoding process using decision bits and adaptive decision bits for each field according to an embodiment of the present invention. Each step described below is performed in each component of the encoding apparatus according to an embodiment of the present invention, but will be collectively described as an encoding apparatus for the convenience of understanding and explanation.

단계 210에서 부호화 장치(100)는 입력 데이터에서 필드 정보를 추출한다. 전술한 바와 같이, 필드 정보는 입력 데이터내의 필드의 종류(또는 유형)을 나타내는 정보이다. In operation 210, the encoding apparatus 100 extracts field information from input data. As described above, the field information is information indicating the type (or type) of the field in the input data.

단계 215에서 부호화 장치(100)는 추출된 필드 정보를 본 발명에 따른 부호화 방법에 따라 비트스트림에 삽입한다. 예를 들어, 부호화 장치(100)는 비트스트림의 헤더 부분에 필드 정보를 삽입할 수 있다. In step 215, the encoding apparatus 100 inserts the extracted field information into the bitstream according to the encoding method according to the present invention. For example, the encoding apparatus 100 may insert field information into the header portion of the bitstream.

단계 220에서 부호화 장치(100)는 추출된 필드 정보를 이용하여 현재 부호화를 수행하려는 필드(이하, 이해와 설명의 편의를 도모하기 위해 '대상 필드'라 칭하기로 함)가 DCT 필드인지 판단한다.In operation 220, the encoding apparatus 100 determines whether a field to be currently encoded (hereinafter, referred to as a 'target field' for convenience of understanding and description) is a DCT field using extracted field information.

만일 대상 필드가 DCT 필드가 아니면, 단계 225에서 부호화 장치(100)는 적응 결정 비트 및 결정 비트를 산출하고, 이를 이용하여 대상 필드에 상응하는 필드의 심볼에 대해 부호화를 수행한다. 이에 대해서는 하기에서 도 3을 참조하여 보다 상세히 설명하기로 한다. 본 명세서에서 DCT 필드가 아닌 다른 필드는 예를 들어, mcbpc, cbpy, 모션 벡터 필드일 수 있다.If the target field is not the DCT field, in step 225, the encoding apparatus 100 calculates the adaptive determination bit and the determination bit and uses the same to perform encoding on a symbol of a field corresponding to the target field. This will be described in more detail with reference to FIG. 3 below. In the present specification, a field other than the DCT field may be, for example, an mcbpc, cbpy, or motion vector field.

그러나 만일 대상 필드가 DCT 필드이면, 단계 230에서 부호화 장치(100)는 DCT 필드의 심볼에 상응하여 적응 결정 비트를 산출하고, 이를 이용하여 대상 필드의 심볼에 대해 부호화를 수행한다. 이에 대해서는 하기에서 도 4를 참조하여 보다 상세히 설명하기로 한다.However, if the target field is a DCT field, in step 230, the encoding apparatus 100 calculates an adaptation determination bit corresponding to a symbol of the DCT field, and performs encoding on the symbol of the target field using this. This will be described in more detail with reference to FIG. 4 below.

도 3은 본 발명의 일 실시예에 따른 결정 비트 및 적응 결정 비트를 이용한 부호화 과정을 나타낸 순서도이다. 이하에서는 대상 필드가 DCT 필드가 아닌 경우 적응 결정 비트 및 결정 비트를 이용하여 입력 데이터를 부호화하는 방법에 대해 상세히 설명하기로 한다. 이하의 설명은 도 2의 단계 225의 일 실시예에 대한 상세 설명을 나타낸 순서도이다. 이하에서 설명되는 각각의 단계는 부호화 장치(100)의 각각의 구성 요소에서 수행되어지나 이해와 설명의 편의를 도모하기 위해 부호화 장치로 통칭하여 설명하기로 한다. 또한, 이하의 설명에서 입력 데이터에서 VOP 단위로 데이터를 구분 또는 추출하는 방법은 당업자에게는 자명한 사항이므로 이에 대한 설명은 생략한다. 이하에서 설명되는 부호화 방법은 mcbpc, cbpy 또는 모션 벡터 필드의 심볼들을 부호화하는데 이용될 수 있다. 3 is a flowchart illustrating an encoding process using decision bits and adaptive decision bits according to an embodiment of the present invention. Hereinafter, a method of encoding input data using an adaptive decision bit and a decision bit when the target field is not a DCT field will be described in detail. The following description is a flowchart illustrating a detailed description of one embodiment of step 225 of FIG. Each step described below is performed in each component of the encoding apparatus 100, but will be collectively described as an encoding apparatus for the convenience of understanding and explanation. In the following description, a method of classifying or extracting data in units of VOP from input data is obvious to those skilled in the art, and thus description thereof will be omitted. The encoding method described below may be used to encode symbols of mcbpc, cbpy or motion vector field.

우선, 부호화 장치(100)는 VOP의 결정 비트를 산출한다(305). 이 때, 결정 비트는 각 필드의 허프만 테이블의 인덱스를 대상으로 산출된다. 예를 들어, 부호화 장치(100)는 MPEG 표준의 VLC 테이블의 확률 정보를 이용하여 결정 비트를 산출할 수 있다. 여기서, 허프만 테이블은 허프만 부호화 방식에서 사용되는 테이블로서, 부호화할 심볼들의 빈도수에 따라 부호화될 비트열을 나열해놓은 테이블이다. 허프만 테이블은 당업자에게 자명한 내용인 바, 상세한 설명은 생략하기로 한다. First, the encoding apparatus 100 calculates the determination bit of the VOP (305). At this time, the decision bit is calculated for the index of the Huffman table of each field. For example, the encoding apparatus 100 may calculate decision bits using probability information of the VLC table of the MPEG standard. Here, the Huffman table is a table used in the Huffman coding scheme and lists the bit strings to be encoded according to the frequency of symbols to be encoded. Huffman table is obvious to those skilled in the art, detailed description thereof will be omitted.

단계 310에서 부호화 장치(100)는 산출된 결정 비트를 임시 결정 비트로 설정하고, 비트스트림에 삽입한다. 이하, 본 명세서에서 임시 결정 비트는 적응 결정 비트를 지칭하는 다른 용어이다. 이에 따라 본 발명에 대한 설명에서 임시 결정 비트는 적응 결정 비트로 해석 또는/및 이해되어야함은 당연하다.In step 310, the encoding apparatus 100 sets the calculated decision bit as a temporary decision bit and inserts it into the bitstream. Hereinafter, the temporary decision bit herein is another term for the adaptive decision bit. It is therefore natural in the description of the present invention that the temporary decision bit should be interpreted and / or understood as an adaptive decision bit.

본 명세서에서 임시 결정 비트는 결정 비트를 저장하는 변수로 정의하기로 한다. 임시 결정 비트는 하기의 과정에서 부호화를 위해 이용된다.In this specification, the temporary decision bit is defined as a variable that stores the decision bit. The temporary decision bit is used for encoding in the following process.

단계 315에서, 부호화 장치(100)는 대상 매크로 블록, 상측 매크로 블록 및 좌측 매크로 블록의 심볼에 대한 결정 비트를 각각 산출한다. In operation 315, the encoding apparatus 100 calculates determination bits for symbols of the target macroblock, the upper macroblock, and the left macroblock, respectively.

본 명세서에서 대상 매크로 블록은 현재 부호화 과정이 수행되고 있는 매크로 블록을 지칭하며, 상측 매크로 블록는 대상 매크로 블록의 상측에 위치한 매크로 블록을 지칭하고, 좌측 매크로 블록은 대상 매크로 블록의 좌측에 위치한 매크로 블록을 지칭한다. In the present specification, the target macroblock refers to a macroblock in which an encoding process is currently performed, the upper macroblock refers to a macroblock located above the target macroblock, and the left macroblock refers to a macroblock located to the left of the target macroblock. Refers to.

단계 320에서 부호화 장치(100)는 좌측 매크로 블록의 결정 비트와 상측 매크로 블록의 결정 비트를 비교하여 동일한지 여부를 판단한다. In operation 320, the encoding apparatus 100 compares the decision bits of the left macroblock with the decision bits of the upper macroblock and determines whether they are the same.

이하, 본 명세서에서 매크로 블록의 결정 비트 및 매크로 블록의 심볼의 결정 비트는 동일한 의미로 이해되어야만 한다.Hereinafter, in the present specification, the decision bit of the macro block and the decision bit of the symbol of the macro block should be understood to have the same meaning.

만일 동일한 것으로 결정되면, 단계 325에서 부호화 장치(100)에서 좌측 매크로 블록의 결정비트와 대상 매크로 블록의 결정 비트가 동일한지 여부를 판단한다.If it is determined to be the same, in step 325, the encoding apparatus 100 determines whether the decision bit of the left macroblock and the decision bit of the target macroblock are the same.

만일 동일한 것으로 결정되면, 단계 330에서 부호화 장치(100)는 비트스트림에 제1 비트값(예를 들어, '1')을 삽입한다.If it is determined to be the same, in step 330, the encoding apparatus 100 inserts a first bit value (eg, '1') into the bitstream.

이어서 단계 335에서 부호화 장치(100)는 대상 매크로 블록의 결정 비트를 임시 결정 비트로 설정한다. 그리고, 부호화 장치(100)는 대상 매크로 블록의 결정 비트를 비트스트림에 삽입한다(335).In operation 335, the encoding apparatus 100 sets the decision bit of the target macroblock as a temporary decision bit. The encoding apparatus 100 inserts the decision bits of the target macroblock into the bitstream (335).

단계 325의 판단 결과 동일하지 않은 것으로 결정되면, 단계 340에서 부호화 장치(100)는 비트스트림에 제2 비트값('0')을 삽입한다.If the determination result of step 325 is not the same, in step 340, the encoding apparatus 100 inserts a second bit value '0' in the bitstream.

단계 320의 판단 결과 동일하지 않은 것으로 결정되면, 단계 345에서 부호화 장치(100)는 좌측 매크로 블록의 결정 비트와 대상 매크로 블록의 결정 비트가 동일한지 여부를 판단한다.If the determination result of step 320 is not the same, in step 345, the encoding apparatus 100 determines whether the decision bit of the left macro block and the decision bit of the target macro block is the same.

만일 동일한 것으로 판단되면, 단계 340으로 진행한다.If it is determined to be the same, flow proceeds to step 340.

그러나 만일 동일하지 않은 것으로 판단되면, 단계 350에서 부호화 장치(100)는 상측 매크로 블록의 결정 비트와 대상 매크로 블록의 결정 비트가 동일한지 여부를 판단한다.However, if it is determined that they are not the same, in step 350, the encoding apparatus 100 determines whether the decision bit of the upper macroblock and the decision bit of the target macroblock are the same.

만일 동일하지 않은 것으로 결정되면, 단계 355에서 부호화 장치(100)는 비트스트림에 제3 비트값(예를 들어,'11')을 삽입한다.If it is determined that they are not the same, in step 355, the encoding apparatus 100 inserts a third bit value (eg, '11') into the bitstream.

단계 360에서 부호화 장치(100)는 대상 매크로 블록의 결정 비트를 임시 결정 비트로 설정한다. 그리고, 부호화 장치(100)는 대상 매크로 블록의 결정 비트를 비트스트림에 삽입한다.In operation 360, the encoding apparatus 100 sets the decision bit of the target macroblock as a temporary decision bit. The encoding apparatus 100 inserts the decision bits of the target macroblock into the bitstream.

그러나 각 결정비트가 동일한 것으로 결정되면, 단계 365에서 부호화 장치(100)는 비트스트림에 제4 비트값(예를 들어,'10')을 삽입한다.However, if each decision bit is determined to be the same, in step 365, the encoding apparatus 100 inserts a fourth bit value (eg, '10') into the bitstream.

그리고, 단계 370에서 부호화 장치(100)는 임시 결정 비트의 비트값이 임계치(예를 들어, 3)이상인지 여부를 판단한다.In operation 370, the encoding apparatus 100 determines whether the bit value of the temporary decision bit is greater than or equal to a threshold (eg, 3).

만일 임계치 이상이면, 단계 375에서 부호화 장치(100)는 임시 결정 비트를 이용하여 대상 매크로 블록의 심볼을 부호화한다. If it is greater than or equal to the threshold, in step 375, the encoding apparatus 100 encodes a symbol of the target macroblock using the temporary decision bit.

예를 들어, 부호화 장치(100)는 임시 결정 비트를 적응 결정 비트로 간주하여 임시 결정 비트에 상응하는 적응 비트열을 산출하고, 이를 이용하여 해당 심볼을 부호화할 수 있다.For example, the encoding apparatus 100 may consider the temporary decision bit as an adaptive decision bit, calculate an adaptive bit string corresponding to the temporary decision bit, and encode the corresponding symbol by using the temporary decision bit.

단계 380에서 부호화 장치(100)는 부호화된 비트열(즉, 적응 비트열)을 비트스트림에 삽입한다.In operation 380, the encoding apparatus 100 inserts an encoded bit string (that is, an adaptive bit string) into the bitstream.

단계 370의 판단 결과 임계치 미만이면, 부호화 장치(100)는 대상 매크로 블록의 부호화 과정을 종료한다.If the determination result of step 370 is less than the threshold value, the encoding apparatus 100 ends the encoding process of the target macroblock.

상술한 부호화 과정은 발명의 명확한 설명을 위해 하나의 매크로 블록에 포함된 심볼들을 부호화하는 것으로 설명하였으나, 부호화 장치는 단계 315 내지 단계 380의 과정을 각 프레임 또는 VOP의 모든 심볼이 부호화될 때까지 반복 수행할 수 있음은 당연하다. Although the above-described encoding process has been described as encoding symbols included in one macro block for clarity of the invention, the encoding apparatus repeats the steps 315 to 380 until all the symbols of each frame or VOP are encoded. Of course it can be done.

이하, DCT 필드의 심볼들을 부호화하는 과정을 설명하도록 한다.Hereinafter, a process of encoding the symbols of the DCT field will be described.

도 4는 본 발명의 일 실시예에 따른 DCT 필드의 심볼들을 적응 결정 비트를 이용하여 부호화하는 과정을 나타낸 순서도이다. 이하에서는 도 2의 230의 일 실시예에 대한 상세 순서도이다. 이하에서 설명되는 각각의 단계는 본 발명에 따른 부호화 장치(100)의 각각의 내부 구성 요소에 의해 수행되어지나 이해와 설명의 편의를 도모하기 위해 부호화 장치로 통칭하여 설명하기로 한다.4 is a flowchart illustrating a process of encoding symbols of a DCT field using an adaptive decision bit according to an embodiment of the present invention. Below is a detailed flowchart of one embodiment of 230 of FIG. 2. Each step described below is performed by each internal component of the encoding device 100 according to the present invention, but will be collectively described as an encoding device for the convenience of understanding and explanation.

단계 405에서 부호화 장치(100)는 대상 심볼에 대한 적응 결정 비트를 산출한다. 여기서, 대상 심볼은 DCT 필드의 심볼들 중에서 현재 부호화가 수행되는 심볼을 칭한다.In operation 405, the encoding apparatus 100 calculates an adaptation determination bit for a target symbol. Here, the target symbol refers to a symbol for which current encoding is performed among symbols of the DCT field.

단계 410에서 부호화 장치(100)는 대상 심볼에 상응하여 적응 결정 비트를 비트스트림에 삽입한다.In operation 410, the encoding apparatus 100 inserts an adaptation decision bit into the bitstream corresponding to the target symbol.

단계 415에서 부호화 장치(100)는 적응 결정 비트를 이용하여 대상 심볼을 부호화하여 적응 비트열을 생성한다.In operation 415, the encoding apparatus 100 generates an adaptive bit string by encoding a target symbol by using the adaptive determination bit.

단계 420에서 부호화 장치(100)는 생성된 적응 비트열(즉, 부호화된 대상 심볼)을 비트스트림에 삽입한다.In operation 420, the encoding apparatus 100 inserts the generated adaptive bit stream (that is, the encoded target symbol) into the bitstream.

상술한 부호화 과정은 발명의 명확한 설명을 위해 하나의 심볼을 부호화하는 것으로 설명하였으나, 부호화 장치(100)는 단계 410 내지 단계 420의 과정을 해당 프레임 또는 VOP의 모든 심볼이 부호화될 때까지 반복 수행할 수 있다.Although the above-described encoding process has been described as encoding one symbol for clarity of the invention, the encoding apparatus 100 may repeat the process of steps 410 to 420 until all the symbols of the frame or the VOP are encoded. Can be.

도 5는 본 발명의 다른 실시예에 따른 각 필드별로 결정 비트 및 적응 결정 비트를 이용하여 부호화하는 과정을 나타낸 순서도이다. 이하에서 설명되는 각각의 단계는 부호화 장치(100)의 각각의 내부 구성 요소에 의해 수행되어지나 이해와 설명의 편의를 도모하기 위해 부호화 장치로 통칭하여 설명하기로 한다.FIG. 5 is a flowchart illustrating a process of encoding using a decision bit and an adaptive decision bit for each field according to another embodiment of the present invention. Each step described below is performed by each internal component of the encoding device 100, but will be collectively described as an encoding device for the convenience of understanding and explanation.

단계 510에서 부호화 장치(100)는 필드 정보를 비트스트림에 삽입한다(450).In operation 510, the encoding apparatus 100 inserts field information into a bitstream (450).

예를 들어, 부호화 장치(100)는 입력 데이터에서 필드 정보를 추출한 후 해당 필드 정보를 비트스트림의 헤더 부분에 삽입할 수 있다. 이로 인해, 이후 각 심볼을 복호화하는 과정에서 필드 정보를 추출하여 이용할 수 있다. For example, the encoding apparatus 100 may extract field information from the input data and insert the corresponding field information into the header portion of the bitstream. Therefore, the field information may be extracted and used in the process of decoding each symbol thereafter.

단계 515에서 부호화 장치(100)는 추출된 필드 정보를 이용하여 현재 부호화되는 필드(이하, 이해와 설명의 편의를 도모하기 위해 '대상 필드'라 칭하기로 함)가 DCT 필드, 모션 벡터 필드 및 기타 필드 중 어느 것인지를 판단한다. 전술한 바와 같이, 필드 정보는 해당 필드에 대한 종류(또는 유형)을 나타내는 정보일 수 있다.In operation 515, the encoding apparatus 100 may determine that a field currently encoded using the extracted field information (hereinafter, referred to as a “target field” for convenience of understanding and description) includes a DCT field, a motion vector field, and the like. Determine which of the fields. As described above, the field information may be information indicating the type (or type) of the corresponding field.

본 명세서에서는 모션 벡터 필드 및 DCT 필드를 제외한 나머지 필드를 이해와 설명의 편의를 도모하기 위해 기타 필드로 칭하기로 한다. 예를 들어, 기타 필드는 mcbpc, cbpy 필드일 수 있다.In the present specification, other fields except for the motion vector field and the DCT field will be referred to as other fields for the convenience of understanding and explanation. For example, the other fields may be mcbpc and cbpy fields.

만일 대상 필드가 기타 필드로 판단되면, 단계 530에서 부호화 장치(100)는 대상 필드에 상응하는 적응 결정 비트 및 결정 비트를 각각 산출한다. 그리고, 부호화 장치(100)는 산출된 적응 결정 비트 및 결정 비트를 이용하여 대상 필드의 심볼을 부호화할 수 있다. 적응 결정 비트 및 결정 비트를 이용하여 대상 필드의 심볼을 부호화하는 과정은 도 3의 대상 매크로 블록의 심볼을 부호화하는 과정과 동일하므로 중복되는 설명은 생략하기로 한다.If it is determined that the target field is the other field, in step 530, the encoding apparatus 100 calculates the adaptive determination bit and the determination bit corresponding to the target field, respectively. The encoding apparatus 100 may encode the symbol of the target field by using the calculated adaptive decision bit and the decision bit. Since the encoding of the symbol of the target field by using the adaptive determination bit and the determination bit is the same as the encoding of the symbol of the target macroblock of FIG. 3, a redundant description will be omitted.

그러나 만일 대상 필드가 모션 벡터 필드로 판단되면, 단계 540에서 부호화 장치(100)는 대상 필드의 심볼에 대한 결정 비트를 산출하고, 산출된 결정 비트를 이용하여 대상 필드의 심볼을 부호화한다. 이에 대해서는 하기에서 도 6 내지 도 8을 참조하여 보다 상세히 설명하기로 한다.However, if the target field is determined to be a motion vector field, in step 540, the encoding apparatus 100 calculates a decision bit for a symbol of the target field and encodes the symbol of the target field using the calculated decision bit. This will be described in more detail with reference to FIGS. 6 to 8 below.

그러나 만일 대상 필드가 DCT 필드이면, 단계 550에서 부호화 장치(100)는 대상 필드의 심볼에 대한 적응 결정 비트를 산출한다. 그리고, 부호화 장치(100)는 산출된 적응 결정 비트를 이용하여 대상 필드의 심볼을 부호화한다. 이는 도 4에서 전술한 바와 동일하므로 중복되는 설명은 생략하기로 한다.However, if the target field is a DCT field, in step 550, the encoding apparatus 100 calculates an adaptation determination bit for a symbol of the target field. The encoding apparatus 100 encodes the symbol of the target field by using the calculated adaptive decision bit. Since this is the same as described above in FIG. 4, redundant descriptions will be omitted.

도 6은 본 발명의 일 실시예에 따른 결정 비트를 이용하여 모션 벡터 필드의 심볼을 부호화하는 과정을 나타낸 순서도이다. 이는 도 5의 단계 540의 일 실시예에 대한 상세 순서도이다. 이하에서 설명되는 각각의 단계는 부호화 장치(100)의 각각의 내부 구성 요소에 의해 수행되어지나 이해와 설명의 편의를 도모하기 위해 부호화 장치로 통칭하여 설명하기로 한다.6 is a flowchart illustrating a process of encoding a symbol of a motion vector field using decision bits according to an embodiment of the present invention. This is a detailed flowchart of one embodiment of step 540 of FIG. Each step described below is performed by each internal component of the encoding device 100, but will be collectively described as an encoding device for the convenience of understanding and explanation.

단계 610에서 부호화 장치(100)는 X축 모션 벡터(이하, 이해와 설명의 편의를 도모하기 위해 'MV-X'라 칭함) 또는 Y축 모션 벡터(이하, 이해와 설명의 편의를 도모하기 위해 'MV-Y'라 칭함) 필드의 대상 VOP에 대한 결정 비트를 산출한다. 예를 들어, 부호화 장치(100)는 대상 VOP에 상응하여 당해 대상 VOP에 속하는 심볼(즉, 모션 벡터)를 대상으로 결정 비트를 산출할 수 있다.In operation 610, the encoding apparatus 100 may determine an X-axis motion vector (hereinafter referred to as 'MV-X' for convenience of understanding and explanation) or a Y-axis motion vector (hereinafter for convenience of understanding and explanation). The decision bit for the target VOP in the field 'MV-Y' is calculated. For example, the encoding apparatus 100 may calculate decision bits for a symbol (ie, a motion vector) belonging to the target VOP, corresponding to the target VOP.

단계 615에서 부호화 장치(100)는 산출된 결정 비트를 비트스트림에 삽입한다.In operation 615, the encoding apparatus 100 inserts the calculated decision bits into the bitstream.

단계 620에서 부호화 장치(100)는 산출된 결정 비트를 이용하여 현재 부호화되는 모션 벡터(이하에서는 이해와 설명의 편의를 도모하기 위해 '대상 모션 벡터'라 칭하기로 함)의 절대값을 부호화한다.In operation 620, the encoding apparatus 100 encodes an absolute value of a motion vector that is currently encoded (hereinafter, referred to as a 'target motion vector' for convenience of understanding and description) using the calculated decision bits.

단계 625에서 부호화 장치(100)는 부호화된 절대값을 비트스트림에 삽입한다.In operation 625, the encoding apparatus 100 inserts the encoded absolute value into the bitstream.

단계 630에서 부호화 장치(100)는 대상 모션 벡터가 '0'인지 여부를 판단한다.In operation 630, the encoding apparatus 100 determines whether the target motion vector is '0'.

만일 대상 모션 벡터가 0이면, 부호화 장치(100)는 대상 모션 벡터의 부호화를 종료한다.If the target motion vector is 0, the encoding apparatus 100 ends the encoding of the target motion vector.

그러나 만일 대상 모션 벡터가 '0'가 아닌 경우, 단계 635에서 부호화 장치(100)는 대상 모션 벡터의 사인 비트의 비트값을 비트스트림에 삽입한다.However, if the target motion vector is not '0', in step 635, the encoding apparatus 100 inserts the bit value of the sine bit of the target motion vector into the bitstream.

상술한 부호화 과정은 발명의 명확한 설명을 위해 하나의 매크로 블록에 포함된 심볼들을 부호화하는 것으로 설명하였으나, 부호화 장치는 단계 610 내지 단계 635를 해당 프레임 또는 VOP의 모든 심볼이 부호화될 때까지 반복 수행할 수 있다.Although the above-described encoding process has been described as encoding symbols included in one macro block for clarity, the encoding apparatus may repeat steps 610 to 635 until all symbols of the frame or VOP are encoded. Can be.

도 7은 본 발명의 다른 실시예에 따른 결정 비트를 이용하여 모션 벡터 필드의 심볼을 부호화 과정을 나타낸 순서도이다. 이는 도 5의 단계 540의 다른 실시예에 대한 상세 순서도이다. 이하에서 설명되는 각각의 단계는 부호화 장치(100)의 각각의 내부 구성 요소에 의해 수행되어지나 이해와 설명의 편의를 도모하기 위해 부호화 장치로 통칭하여 설명하기로 한다.7 is a flowchart illustrating a process of encoding a symbol of a motion vector field using decision bits according to another embodiment of the present invention. This is a detailed flowchart of another embodiment of step 540 of FIG. Each step described below is performed by each internal component of the encoding device 100, but will be collectively described as an encoding device for the convenience of understanding and explanation.

단계 710에서 부호화 장치(100)는 모션 벡터(MV-X 또는 MV-Y) 필드의 대상 VOP에 대한 결정 비트를 산출한다. 이 때, 결정 비트는 각 필드의 허프만 테이블의 인덱스 또는 VOP에 속하는 심볼(즉, 모션 벡터)의 부호 및 소수점 이하의 값을 제외한 값을 대상으로 산출된다.In operation 710, the encoding apparatus 100 calculates a decision bit for the target VOP of the motion vector (MV-X or MV-Y) field. At this time, the decision bit is calculated for a value excluding a sign of a symbol (that is, a motion vector) belonging to the index or VOP of the Huffman table of each field and a value less than or equal to the decimal point.

단계 715에서 부호화 장치(100)는 산출된 결정 비트를 비트스트림에 삽입한다.In operation 715, the encoding apparatus 100 inserts the calculated decision bits into the bitstream.

단계 720에서 부호화 장치(100)는 대상 심볼(즉, 대상 모션 벡터)의 소수점 이하의 값을 제거하여 절대값을 산출한다.In operation 720, the encoding apparatus 100 calculates an absolute value by removing a value below the decimal point of the target symbol (that is, the target motion vector).

단계 725에서 부호화 장치(100)는 산출된 결정 비트를 이용하여 산출된 절대값을 부호화한다.In operation 725, the encoding apparatus 100 encodes the calculated absolute value using the calculated determination bits.

단계 730에서 부호화 장치(100)는 부호화된 절대값을 비트스트림에 삽입한다.In operation 730, the encoding apparatus 100 inserts the encoded absolute value into the bitstream.

단계 735에서 부호화 장치(100)는 산출된 절대값이 0인지 여부를 판단한다.In operation 735, the encoding apparatus 100 determines whether the calculated absolute value is zero.

만일 산출된 절대값이 '0'이면, 부호화 장치(100)는 대상 심볼에 상응하여 부호 및 소수점 이하의 값이 존재하지 않음을 의미하므로 대상 심볼에 상응하는 부호화 과정을 종료한다. If the calculated absolute value is '0', the encoding apparatus 100 indicates that there are no values below the sign and the decimal point corresponding to the target symbol, and thus ends the encoding process corresponding to the target symbol.

그러나 만일 산출된 절대값이 '0'가 아니면, 단계 740에서 부호화 장치(100)는 대상 심볼의 사인 비트를 비트스트림에 삽입한다. 여기서, 사인 비트는 대상 심볼의 부호를 나타내는 비트값이다. 예를 들어, 대상 심볼이 음수이면 사인 비트는 '0'이고, 양수이면 사인 비트는 '1'일 수 있다.However, if the calculated absolute value is not '0', in step 740, the encoding apparatus 100 inserts a sine bit of the target symbol into the bitstream. Here, the sine bit is a bit value indicating the sign of the target symbol. For example, the sign bit may be '0' if the target symbol is negative, and the sign bit may be '1' if it is positive.

단계 745에서 부호화 장치(100)는 대상 심볼(즉, 대상 모션 벡터)에 상응하여 제거된 소수점 이하의 값을 비트스트림에 삽입한다.In operation 745, the encoding apparatus 100 inserts a value after the decimal point removed corresponding to the target symbol (that is, the target motion vector) into the bitstream.

상술한 부호화 과정은 발명의 명확한 설명을 위해 하나의 매크로 블록에 포함된 심볼들을 부호화하는 것으로 설명하였으나, 부호화 장치는 단계 710 내지 단계 745는 해당 프레임 또는 VOP의 모든 심볼이 부호화될 때까지 반복 수행할 수 있다.Although the above-described encoding process has been described as encoding symbols included in one macro block for clarity, the encoding apparatus may repeat steps 710 to 745 until all symbols of the corresponding frame or VOP are encoded. Can be.

도 8은 본 발명의 또 다른 실시예에 따른 결정 비트를 이용하여 모션 벡터 필드의 심볼을 부호화하는 과정을 나타낸 순서도이다. 이하에서 설명되는 각 단계는 도 5의 540의 또 다른 실시예에 대한 상세 순서도이다. 이하에서 설명되는 각각의 단계는 부호화 장치(100)의 각각의 내부 구성요소에 의해 수행되어지나 이해와 설명의 편의를 도모하기 위해 부호화 장치(100)로 통칭하여 설명하기로 한다.8 is a flowchart illustrating a process of encoding a symbol of a motion vector field using decision bits according to another embodiment of the present invention. Each step described below is a detailed flowchart of yet another embodiment of 540 of FIG. 5. Each step described below is performed by each internal component of the encoding apparatus 100, but will be collectively described as the encoding apparatus 100 for the convenience of understanding and explanation.

단계 810에서 부호화 장치(100)는 모션 벡터(MV-X 또는 MV-Y) 필드의 대상 VOP에 대한 결정 비트를 산출한다. 이 때, 결정 비트는 각 필드의 허프만 테이블의 인덱스 또는 VOP에 속하는 심볼(즉, 모션 벡터)의 부호 및 소수점 이하의 값을 제외한 값을 대상으로 산출된다.In operation 810, the encoding apparatus 100 calculates a decision bit for the target VOP of the motion vector (MV-X or MV-Y) field. At this time, the decision bit is calculated for a value excluding a sign of a symbol (that is, a motion vector) belonging to the index or VOP of the Huffman table of each field and a value less than or equal to the decimal point.

단계 815에서 부호화 장치(100)는 산출한 결정 비트를 비트스트림에 삽입한다.In operation 815, the encoding apparatus 100 inserts the calculated decision bit into the bitstream.

단계 820에서 부호화 장치(100)는 대상 모션 벡터에 대한 절대값을 산출한 후대상 모션 벡터의 절대값이 임계치(예를 들어, '3') 이하인지 여부를 판단한다.In operation 820, the encoding apparatus 100 calculates an absolute value of the target motion vector, and then determines whether the absolute value of the target motion vector is equal to or less than a threshold (eg, '3').

만일 대상 모션 벡터의 절대값이 임계치 이하이면, 단계 825에서 부호화 장치(100)는 산출된 결정 비트를 이용하여 대상 모션 벡터의 절대값을 부호화한다.If the absolute value of the target motion vector is less than or equal to the threshold, in step 825, the encoding apparatus 100 encodes the absolute value of the target motion vector using the calculated decision bits.

단계 830에서 부호화 장치(100)는 부호화된 비트열(즉, 부호화된 절대값)을 비트스트림에 삽입한다.In operation 830, the encoding apparatus 100 inserts an encoded bit string (that is, an encoded absolute value) into the bitstream.

단계 835에서 부호화 장치(100)는 대상 모션 벡터의 절대값이 '0'인지 여부를 판단한다.In operation 835, the encoding apparatus 100 determines whether the absolute value of the target motion vector is '0'.

만일 대상 모션 벡터의 절대값이 '0' 이면, 부호화 장치(100)는 대상 모션 벡터가 부호 및 소수점 이하의 값을 포함하고 있지 않은 것으로 인식하고 대상 모션 벡터의 부호화 과정을 종료한다.If the absolute value of the target motion vector is '0', the encoding apparatus 100 recognizes that the target motion vector does not include a sign and a value below the decimal point, and ends the encoding process of the target motion vector.

그러나 만일 대상 모션 벡터의 절대값이 '0'이 아니면, 단계 840에서 부호화 장치(100)는 대상 모션 벡터의 사인 비트를 비트스트림에 삽입한다. 이 때, 사인 비트는 모션 벡터의 부호를 나타내는 비트값이다.However, if the absolute value of the target motion vector is not '0', in step 840, the encoding apparatus 100 inserts a sine bit of the target motion vector into the bitstream. At this time, the sine bit is a bit value indicating the sign of the motion vector.

그리고, 단계 820의 판단 결과 대상 모션 벡터의 절대값이 임계치를 초과하면, 단계 845에서 부호화 장치(100)는 대상 모션 벡터의 소수점 이하를 제거한 후 절대값을 산출한다.If the absolute value of the target motion vector exceeds the threshold as a result of the determination in step 820, the encoding apparatus 100 calculates the absolute value after removing the decimal point of the target motion vector in step 845.

단계 850에서 부호화 장치(100)는 산출된 절대값을 결정 비트를 이용하여 부호화한다.In operation 850, the encoding apparatus 100 encodes the calculated absolute value using the decision bit.

단계 855에서 부호화 장치(100)는 부호화된 비트열(즉, 소수점이 제거되어 산출된 절대값)을 비트스트림에 삽입한다.In operation 855, the encoding apparatus 100 inserts an encoded bit string (that is, an absolute value calculated by removing a decimal point) into the bitstream.

단계 860에서 부호화 장치(100)는 대상 모션 벡터에 상응하여 산출된 절대값이 ' 0'인지 여부를 판단한다. In operation 860, the encoding apparatus 100 determines whether an absolute value calculated corresponding to the target motion vector is '0'.

만일 산출된 절대값이 '0'이면, 부호화 장치(100)는 대상 모션 벡터가 부호 및 소수점 이하의 값을 포함하지 않은 것으로 인식하고 대상 모션 벡터의 부호화 과정을 종료한다.If the calculated absolute value is '0', the encoding apparatus 100 recognizes that the target motion vector does not include a sign and a value below the decimal point, and ends the encoding process of the target motion vector.

그러나 만일 산출된 절대값이 '0'이 아니면, 단계 865에서 부호화 장치(100)는 대상 모션 벡터의 사인 비트를 비트스트림에 삽입한다. However, if the calculated absolute value is not '0', in step 865, the encoding apparatus 100 inserts a sine bit of the target motion vector into the bitstream.

단계 870에서 부호화 장치(100)는 대상 모션 벡터의 소수점 이하의 값을 비트스트림에 삽입한다.In operation 870, the encoding apparatus 100 inserts a value below the decimal point of the target motion vector into the bitstream.

상술한 부호화 과정은 발명의 명확한 설명을 위해 하나의 매크로 블록에 포함된 심볼들을 부호화하는 것으로 설명하였으나, 부호화 장치는 단계 810 내지 단계 870의 과정을 해당 프레임 또는 VOP의 모든 심볼이 부호화될 때까지 반복 수행할 수 있다.Although the above-described encoding process has been described as encoding symbols included in one macroblock for clarity, the encoding apparatus repeats the processes of steps 810 to 870 until all the symbols of the frame or the VOP are encoded. Can be done.

도 9는 본 발명의 일 실시예에 따른 결정 비트를 이용한 복호화 장치의 구성도이다.9 is a block diagram of a decoding apparatus using decision bits according to an embodiment of the present invention.

도 9를 참조하면, 본 발명의 일 실시예에 따른 복호화 장치(900)는 입력부(910), 적응 결정 비트 산출부(920), 결정 비트 추출부(930) 및 복호화부(940)를 포함한다.9, a decoding apparatus 900 according to an embodiment of the present invention includes an input unit 910, an adaptive decision bit calculator 920, a decision bit extractor 930, and a decoder 940. .

입력부(810)는 부호화된 비트스트림을 입력받아 미리 정해진 형식에 따라 필드 정보 및 각 필드별 부호화된 데이터를 추출하여 결정 비트 추출부(930) 및 복호화부(940)로 출력한다. The input unit 810 receives the encoded bitstream, extracts field information and encoded data of each field according to a predetermined format, and outputs the extracted bit information to the decision bit extractor 930 and the decoder 940.

적응 결정 비트 산출부(820)는 복호화부(840)의 요청 신호에 따라 특정 필드에 상응하는 적응 결정 비트 및 적응 비트열을 산출한 후 해당 산출된 적응 결정 비트 및 적응 비트열에 상응하는 심볼을 산출하여 복호화부(940)로 출력한다. 여기서, 적응 결정 비트 및 적응 비트열을 산출하는 방법은 표 2를 이용하여 전술하였으므로 중복되는 설명은 생략하기로 한다. 물론, 적응 결정 비트 산출부(820)가 비트스트림에서 적응 결정 비트를 추출할 수도 있음은 당연하다.The adaptive decision bit calculator 820 calculates an adaptive decision bit and an adaptive bit string corresponding to a specific field according to the request signal of the decoder 840, and then calculates a symbol corresponding to the calculated adaptive decision bit and the adaptive bit string. And output to the decoder 940. Here, since the method for calculating the adaptive determination bit and the adaptive bit string has been described above with reference to Table 2, redundant descriptions thereof will be omitted. Of course, the adaptive decision bit calculator 820 may extract the adaptive decision bits from the bitstream.

또한, 적응 결정 비트 산출부(920)는 적응 결정 비트, 적응 비트열 및 심볼이 각각 미리 저장되어 있는 경우 복호화부(940)의 요청 신호에 따라 해당 적응 결정 비트, 적응 비트열 및 심볼을 추출하여 복호화부(940)로 출력할 수도 있다. 물론, 구현 방법에 따라, 복호화부(940)에 적응 결정 비트, 적응 비트열 및 심볼이 각각 저장되어 있는 경우에는 적응 결정 비트 산출부(920)는 복호화 장치(900)에서 제외될 수도 있음은 당연하다.In addition, when the adaptive determination bit, the adaptive bit string and the symbol are stored in advance, the adaptive determination bit calculator 920 extracts the corresponding adaptive determination bit, the adaptive bit string and the symbol according to the request signal of the decoder 940. The output may be output to the decoder 940. Of course, according to an implementation method, when the adaptive determination bit, the adaptive bit string, and the symbol are stored in the decoder 940, the adaptive determination bit calculator 920 may be excluded from the decoding apparatus 900. Do.

결정 비트 추출부(930)는 입력받은 부호화된 비트스트림에서 결정 비트를 추출하여 복호화부(940)로 출력한다. 또한, 결정 비트 추출부(930)는 입력받은 부호화 비트스트림을 이용하여 결정 비트를 산출할 수도 있다.The decision bit extractor 930 extracts a decision bit from the received encoded bitstream and outputs the decision bit to the decoder 940. Also, the decision bit extractor 930 may calculate the decision bit using the received encoded bitstream.

예를 들어, 대상 매크로 블록에 상응하는 상측 매크로 블록의 결정 비트 및 좌측 매크로 블록의 결정 비트는 입력받은 부호화된 비트스트림은 부호화된 비트스트림을 통해 산출된다. 여기서, 결정 비트를 산출하는 방법은 표 1을 이용하여 전술한 바와 동일하므로 이에 대한 별도의 설명은 생략하기로 한다.For example, the decision bit of the upper macro block and the decision bit of the left macro block corresponding to the target macro block are calculated through the encoded bitstream. Here, since the method for calculating the determination bit is the same as described above using Table 1, a separate description thereof will be omitted.

복호화부(940)는 입력부(910)로부터 입력된 부호화된 비트스트림을 적응 결정 비트 또는 결정 비트를 이용하여 복호화한다. 복호화부(940)는 입력부(910)로부터 입력 받은 필드 정보에 따라 상이하게 부호화된 비트스트림을 복호화할 수 있다. 이에 대해서는 하기에서 관련 도면을 참조하여 상세히 설명하기로 한다.The decoder 940 decodes the encoded bitstream input from the input unit 910 using the adaptive decision bit or the decision bit. The decoder 940 may decode the bitstream encoded differently according to the field information received from the input unit 910. This will be described in detail with reference to the accompanying drawings below.

도 10은 본 발명의 일 실시예에 따른 필드별로 결정 비트 및 적응 결정 비트를 이용하여 복호화하는 과정을 나타낸 순서도이다. 이하, 도 2에서 설명된 부호화 방법으로 부호화된 비트스트림을 복호화하기 위한 방법을 설명하기로 한다. 이하에서 설명되는 각각의 단계는 복호화 장치(900)의 각각의 내부 구성 요소에 의해 수행되어지나 이해와 설명의 편의를 도모하기 위해 복호화 장치로 통칭하여 설명하기로 한다.10 is a flowchart illustrating a process of decoding using a decision bit and an adaptive decision bit for each field according to an embodiment of the present invention. Hereinafter, a method for decoding a bitstream encoded by the encoding method described with reference to FIG. 2 will be described. Each step described below is performed by each internal component of the decoding apparatus 900, but will be collectively described as a decoding apparatus for the convenience of understanding and explanation.

단계 1010에서 복호화 장치(900)는 입력받은 부호화된 비트스트림에서 필드 정보를 추출한다. In operation 1010, the decoding apparatus 900 extracts field information from the received encoded bitstream.

단계 1015에서 복호화 장치(900)는 추출된 필드 정보를 이용하여 디코딩을 수행하는 필드(이하에서는 이해와 설명의 편의를 도모하기 위해 '대상 필드'라 칭하기로 함)가 DCT 필드인지 여부를 판단한다.In operation 1015, the decoding apparatus 900 determines whether a field for decoding by using the extracted field information (hereinafter referred to as a 'target field' for convenience of understanding and explanation) is a DCT field. .

본 명세서에서는 DCT 필드 이외의 다른 필드들을 기타 필드로 통칭하기로 한다. 기타 필드는 예를 들어, mcbpc, cbpy, 모션 벡터 필드일 수 있다.In the present specification, other fields other than the DCT field will be collectively referred to as other fields. The other fields may be, for example, mcbpc, cbpy, motion vector fields.

만일 대상 필드가 DCT 필드가 아닌 경우, 단계 1020에서 복호화 장치(900)는 적응 결정 비트 및 결정 비트를 이용하여 대상 필드에 상응하여 복호화를 수행한다. 이에 대해서는 하기에서 관련 도면을 참조하여 보다 상세히 설명하기로 한다.If the target field is not the DCT field, in operation 1020, the decoding apparatus 900 performs decoding corresponding to the target field by using the adaptive determination bit and the determination bit. This will be described in more detail with reference to the accompanying drawings below.

그러나 만일 대상 필드가 DCT 필드이면, 단계 1025에서 복호화 장치(900)는 적응 결정 비트를 이용하여 대상 필드에 상응하여 부호화된 비트스트림을 심볼로 복호화한다. 이에 대해서는 하기에서 관련도면을 참조하여 보다 상세히 설명하기로 한다.However, if the target field is a DCT field, in step 1025, the decoding apparatus 900 decodes the bitstream coded corresponding to the target field into symbols by using the adaptive decision bit. This will be described in more detail with reference to the accompanying drawings below.

도 11은 본 발명의 일 실시예에 따른 결정 비트 및 적응 결정 비트를 이용한 복호화 과정을 나타낸 순서도이다. 도 11의 설명은 도 10의 단계 1020의 일 실시예를 상세히 설명한 순서도이다. 그리고, 도 11은 도 3에서 전술된 방법에 의해 부호화된 비트스트림을 복호화하기 위한 방법에 대한 설명이다. 또한, 이하에서 설명되는 각각의 단계는 복호화 장치(900)의 각각의 내부 기능 구성 요소에 의해 수행되어지나 이해와 설명의 편의를 도모하기 위해 복호화 장치로 통칭하여 설명하기로 한다.11 is a flowchart illustrating a decoding process using decision bits and adaptive decision bits according to an embodiment of the present invention. 11 is a flowchart illustrating an embodiment of step 1020 of FIG. 10 in detail. 11 is a description of a method for decoding a bitstream encoded by the method described above with reference to FIG. 3. In addition, each step described below is performed by each internal functional component of the decoding device 900, but will be collectively described as a decoding device for the convenience of understanding and explanation.

단계 1110에서 복호화 장치(900)는 입력받은 부호화된 비트스트림으로부터 VOP에 상응하는 결정 비트를 추출한다.In operation 1110, the decoding apparatus 900 extracts a determination bit corresponding to the VOP from the received encoded bitstream.

단계 1115에서 복호화 장치(900)는 상측 매크로 블록 및 좌측 매크로 블록의결정 비트를 각각 산출한다.In operation 1115, the decoding apparatus 900 calculates determination bits of the upper macro block and the left macro block, respectively.

단계 1120에서 복호화 장치(900)는 산출된 좌측 매크로 블록의 결정 비트와 상측 매크로 블록의 결정 비트가 동일한지 여부를 판단한다.In operation 1120, the decoding apparatus 900 determines whether the calculated decision bit of the left macroblock and the decision bit of the upper macroblock are the same.

만일 좌측 매크로 블록의 결정 비트와 상측 매크로 블록의 결정 비트가 동일하다면, 단계 1125에서 복호화 장치(900)는 부호화된 비트스트림으로부터 한비트(1비트)를 추출한다.If the decision bit of the left macro block and the decision bit of the upper macro block are the same, the decoding apparatus 900 extracts one bit (1 bit) from the encoded bitstream in step 1125.

그리고, 단계 1130에서 복호화 장치(900)는 추출된 1비트의 비트값이 제5 비트값(예를 들어, '1')인지 여부를 판단한다.In operation 1130, the decoding apparatus 900 determines whether the extracted one bit value is a fifth bit value (eg, '1').

만일 제5 비트값이면, 단계 1135에서 복호화 장치(900)는 부호화된 비트스트림으로부터 결정 비트를 추출하고, 추출한 결정 비트를 임시 결정 비트로 설정한다. 전술한 바와 같이 임시 결정 비트는 적응 결정 비트를 지칭하는 다른 표현으로 적응 결정 비트로 이해 및 해석되어야함은 당연하다.If it is the fifth bit value, in step 1135, the decoding apparatus 900 extracts the decision bit from the encoded bitstream, and sets the extracted decision bit as a temporary decision bit. As described above, it is natural that the temporary decision bit should be understood and interpreted as an adaptation decision bit in another representation that refers to the adaptation decision bit.

그러나 만일 제5 비트값이 아니면, 단계 1140에서 복호화 장치(900)는 산출된상측 매크로 블록의 결정 비트를 임시 결정 비트로 설정한다.However, if it is not the fifth bit value, in step 1140, the decoding apparatus 900 sets the calculated decision bit of the upper macroblock as a temporary decision bit.

그리고, 단계 1120의 판단 결과 좌측 매크로 블록의 결정 비트와 상측 매크로 블록의 결정 비트가 상이하면, 단계 1145에서 복호화 장치(900)는 부호화된 비트스트림으로부터 1비트를 추출한다.If the determination bit of the left macroblock is different from the determination bit of the upper macroblock as a result of the determination in step 1120, the decoding apparatus 900 extracts one bit from the encoded bitstream in step 1145.

단계 1150에서 복호화 장치(900)는 추출된 1비트의 비트값이 제6 비트값(예를 들어, '0')인지 여부를 판단한다.In operation 1150, the decoding apparatus 900 determines whether the extracted one bit value is a sixth bit value (eg, '0').

만일 제6 비트값이면, 단계 1155에서 복호화 장치(900)는 좌측 매크로 블록의 결정 비트를 임시 결정 비트로 설정한다.If the sixth bit value, the decoding apparatus 900 in step 1155 sets the decision bit of the left macro block to a temporary decision bit.

그러나 만일 제6 비트값이 아니면, 단계 1160에서 복호화 장치(900)는 부호화된 비트스트림에서 1비트를 추출한다.However, if it is not the sixth bit value, in operation 1160, the decoding apparatus 900 extracts one bit from the encoded bitstream.

이어서, 1165에서 복호화 장치(900)는 추출된 1비트가 제7 비트값(예를 들어, '0')인지 여부를 판단한다.Subsequently, at 1165, the decoding apparatus 900 determines whether the extracted 1 bit is a seventh bit value (eg, '0').

만일 제7 비트값이 아니면, 단계 1170에서 복호화 장치(900)는 부호화된 비트스트림으로부터 결정 비트를 추출하고, 추출된 결정 비트를 임시 결정 비트로 설정한다.If it is not the seventh bit value, in step 1170, the decoding apparatus 900 extracts the decision bit from the encoded bitstream, and sets the extracted decision bit as a temporary decision bit.

그러나 만일 제7 비트값이면, 단계 1175에서 복호화 장치(900)는 상측 매크로 블록의 결정 비트를 임시 결정 비트로 설정한다.However, if it is the seventh bit value, the decoding apparatus 900 sets the decision bit of the upper macroblock as a temporary decision bit in step 1175.

단계 1180에서 복호화 장치(900)는 임시 결정 비트의 비트값이 임계치(예를 들어, '3')이상인지 판단한다.In operation 1180, the decoding apparatus 900 determines whether the bit value of the temporary decision bit is greater than or equal to a threshold (eg, '3').

만일 임시 결정 비트가 임계치 이상이면, 단계 1185에서 복호화 장치(900)는 임시 결정 비트를 이용하여 대상 매크로 블록의 심볼을 복호화한다. If the temporary decision bit is greater than or equal to the threshold, the decoding apparatus 900 decodes the symbol of the target macroblock using the temporary decision bit in step 1185.

예를 들어, 복호화 장치(900)는 임시 결정 비트와 동일한 적응 결정 비트에 상응하는 적응 비트열을 산출할 수 있다. 그리고, 산출된 적응 비트열에 상응하는 심볼로 해당 비트열을 복호화할 수 있다.For example, the decoding apparatus 900 may calculate an adaptive bit string corresponding to the same adaptive decision bit as the temporary decision bit. The corresponding bit string may be decoded with a symbol corresponding to the calculated adaptive bit string.

그러나 만일 임시 결정 비트가 임계치 미만이면, 복호화 장치(900)는 해당 대상 매크로 블록의 심볼을 복호화하는 과정을 종료한다.However, if the temporary decision bit is less than the threshold, the decoding apparatus 900 terminates the process of decoding the symbol of the target macroblock.

상술한 부호화 과정은 발명의 명확한 설명을 위해 하나의 매크로 블록에 포함된 심볼들을 복호화하는 것으로 설명하였으나, 부호화 장치는 단계 1110 내지 단계 1180을 해당 프레임 또는 VOP의 모든 심볼이 복호화될 때까지 반복 수행할 수 있다. 또한, 본 발명의 일 실시예에 따른 복호화 과정은 mcbpc, cbpy, MV-x, MV-y 필드의 심볼들을 부호화하기에 적합한 방식으로 부호화된 비트스트림을 복호화하기 위한 과정이다. 본 발명에 따르면, DCT 필드의 심볼은 별도의 부호화 과정을 통해 압축 효율을 높일 수 있다. 따라서 DCT 필드의 심볼을 복호화하는 별도의 과정이 필요하다. 이하 DCT 필드의 심볼들을 부호화하는 과정을 설명하도록 한다.Although the above-described encoding process has been described as decoding symbols included in one macro block for clarity, the encoding apparatus may repeat steps 1110 to 1180 until all symbols of the frame or VOP are decoded. Can be. In addition, the decoding process according to an embodiment of the present invention is a process for decoding the encoded bitstream in a manner suitable for encoding the symbols of the mcbpc, cbpy, MV-x, and MV-y fields. According to the present invention, the symbol of the DCT field may increase the compression efficiency through a separate encoding process. Therefore, a separate process of decoding the symbols of the DCT field is needed. Hereinafter, a process of encoding the symbols of the DCT field will be described.

도 12는 본 발명의 일 실시예에 따른 적응 결정 비트를 이용하여 DCT 필드의 심볼들을 복호화하는 과정을 나타낸 순서도이다. 도 12는 도 10의 1025의 일 실시예를 상세히 설명한 순서도이다. 또한, 도 12는 도 4의 방법에 의해 부호화된 비트스트림을 복호화하기 위한 방법에 대한 설명이다. 이하에서 설명되는 각각의 단계는 복호화 장치(900)의 각각의 내부 구성 요소에 의해 수행되어지나 이해와 설명의 편의를 도모하기 위해 복호화 장치로 통칭하기로 한다.12 is a flowchart illustrating a process of decoding symbols of a DCT field using an adaptation decision bit according to an embodiment of the present invention. 12 is a flowchart illustrating an embodiment of 1025 of FIG. 10 in detail. 12 is a description of a method for decoding a bitstream encoded by the method of FIG. Each step described below is performed by each internal component of the decoding device 900, but will be collectively referred to as a decoding device for the convenience of understanding and explanation.

단계 1210에서 복호화 장치(900)는 입력받은 부호화된 비트스트림으로부터 적응 결정 비트를 추출한다.In operation 1210, the decoding apparatus 900 extracts an adaptive determination bit from the received encoded bitstream.

단계 1215에서 복호화 장치(900)는 부호화된 비트스트림으로부터 부호화된 비트열(즉, 적응 비트열)을 추출한다.In operation 1215, the decoding apparatus 900 extracts an encoded bit string (that is, an adaptive bit string) from the encoded bit stream.

단계 1220에서 복호화 장치(900)는 적응 결정 비트를 이용하여 적응 비트열을 심볼로 복호화한다(1015).In operation 1220, the decoding apparatus 900 decodes the adaptive bit string into symbols using the adaptive determination bit (1015).

상술한 복호화 과정은 발명의 명확한 설명을 위해 하나의 심볼을 복호화하는 것으로 설명하였으나, 복호화 장치(900)는 단계 1210 내지 단계 1220을 해당 프레임 또는 VOP의 모든 심볼이 복호화될 때까지 반복 수행할 수 있다.Although the above-described decoding process has been described as decoding one symbol for clarity of the invention, the decoding apparatus 900 may repeat steps 1210 to 1220 until all the symbols of the frame or the VOP are decoded. .

도 13은 본 발명의 다른 실시예에 따른 필드별로 결정 비트 및 적응 결정 비트를 이용하여 복호화하는 과정을 나타낸 순서도이다. 이하에서 설명되는 각각의 단계는 복호화 장치(900)의 각각의 내부 구성 요소에 의해 각각 수행되어지나 이해와 설명의 편의를 도모하기 위해 복호화 장치로 통칭하기로 한다.13 is a flowchart illustrating a process of decoding using a decision bit and an adaptive decision bit for each field according to another embodiment of the present invention. Each step described below is performed by each internal component of the decoding device 900, but will be collectively referred to as a decoding device for the convenience of understanding and explanation.

단계1310에서 복호화 장치(900)는 입력받은 부호화된 비트스트림으로부터 필드 정보를 추출한다. 전술한 바와 같이, 필드 정보는 당해 필드의 종류(또는 유형)을 나타내는 정보일 수 있다.In operation 1310, the decoding apparatus 900 extracts field information from the received encoded bitstream. As described above, the field information may be information indicating the type (or type) of the corresponding field.

단계 1315에서 복호화 장치(900)는 추출된 필드 정보를 이용하여 현재 복호화를 수행하는 필드(이하, 이해와 설명의 편의를 도모하기 위해 '대상 필드'라 칭하기로 함)가 DCT 필드, 모션 벡터 필드 및 기타 필드 중 어느 것인지 여부를 판단한다. In operation 1315, the decoding apparatus 900 uses the extracted field information as a field for performing current decoding (hereinafter, referred to as a 'target field' for convenience of understanding and explanation) as a DCT field and a motion vector field. And any other field.

예를 들어, 기타 필드는 DCT 필드 및 모션 벡터 필드를 제외한 나머지 필드를 지칭한다. 예를 들어, 기타 필드는 mcbpc, cbpy 필드일 수 있다.For example, the other field refers to the remaining fields except for the DCT field and the motion vector field. For example, the other fields may be mcbpc and cbpy fields.

만일 대상 필드가 기타 필드이면, 단계 1320에서 복호화 장치(900)는 부호화된 비트스트림에서 적응 결정 비트 및 결정 비트를 추출한 후 해당 적응 결정 비트 및 결정 비트를 이용하여 대상 필드에 상응하는 부호화된 비트열을 추출하여 복호화한다. 복호화 과정에 대해서는 도 11에서 전술한 바와 동일하므로 이에 대한 중복되는 설명은 생략하기로 한다.If the target field is another field, in operation 1320, the decoding apparatus 900 extracts an adaptive decision bit and a decision bit from the encoded bitstream, and then uses the corresponding adaptive decision bit and the decision bit to encode an encoded bit string corresponding to the target field. Extract and decode Since the decoding process is the same as described above with reference to FIG. 11, duplicate description thereof will be omitted.

그러나 만일 대상 필드가 모션 벡터 필드이면, 단계 1325에서 복호화 장치(900)는 대상 필드에 상응하는 결정 비트를 추출하고, 해당 추출된 결정 비트를 이용하여 대상 필드에 상응하는 비트열을 복호화한다.However, if the target field is a motion vector field, in operation 1325, the decoding apparatus 900 extracts a decision bit corresponding to the target field, and decodes a bit string corresponding to the target field using the extracted determination bit.

그러나 만일 대상 필드가 DCT 필드이면, 단계 1330에서 복호화 장치(900)는 대상 필드에 상응하는 적응 결정 비트를 추출하고, 추출된 적응 결정 비트를 이용하여 대상 필드에 상응하는 부호화된 비트열을 복호화한다. 적응 결정 비트를 이용하여 부호화된 데이터를 DCT 필드의 심볼로 복호화하는 과정은 도 12를 참조하여 상술한 복호화 과정과 동일하므로 상세한 설명은 생략하기로 한다.However, if the target field is a DCT field, in operation 1330, the decoding apparatus 900 extracts an adaptive determination bit corresponding to the target field and decodes an encoded bit string corresponding to the target field using the extracted adaptive determination bit. . The decoding of the data encoded using the adaptive decision bit into the symbols of the DCT field is the same as the decoding process described above with reference to FIG. 12, and thus a detailed description thereof will be omitted.

도 14는 본 발명의 일 실시예에 따른 결정 비트를 이용하여 부호화된 데이터를 모션 벡터 필드의 심볼로 복호화하는 과정을 나타낸 순서도이다. 도 14는 도 13의 단계 1325의 일 실시예에 대한 상세 순서도이다. 도 14는 도 6을 참조하여 설명한 결정 비트를 이용하여 부호화된 비트스트림을 복호화하는 방법에 대한 설명이다. 이하에서 설명되는 각각의 단계는 복호화 장치(900)의 각각의 내부 구성 요소에 의해 수행되어지나 이해와 설명의 편의를 도모하기 위해 복호화 장치로 통칭하여 설명하기로 한다.14 is a flowchart illustrating a process of decoding data encoded using decision bits into a symbol of a motion vector field according to an embodiment of the present invention. 14 is a detailed flowchart of one embodiment of step 1325 of FIG. 13. FIG. 14 is a diagram for describing a method of decoding a bitstream encoded using the decision bit described with reference to FIG. 6. Each step described below is performed by each internal component of the decoding apparatus 900, but will be collectively described as a decoding apparatus for the convenience of understanding and explanation.

단계 1410에서 복호화 장치(900)는 입력받은 부호화된 비트스트림으로부터 결정 비트를 추출한다.In operation 1410, the decoding apparatus 900 extracts a decision bit from the received encoded bitstream.

단계 1415에서 복호화 장치(900)는 부호화된 비트스트림으로부터 추출된 결정 비트에 상응하는 부호화된 비트열을 추출한다.In operation 1415, the decoding apparatus 900 extracts an encoded bit string corresponding to the decision bit extracted from the encoded bitstream.

단계 1420에서 복호화 장치(900)는 추출된 결정 비트를 이용하여 추출된 비트열을 복호화한다. 여기서, 복호화된 비트열은 심볼(즉, 모션 벡터의 절대값)일 수 있다.In operation 1420, the decoding apparatus 900 decodes the extracted bit string using the extracted determination bits. Here, the decoded bit string may be a symbol (ie, an absolute value of a motion vector).

단계 1425에서 복호화 장치(900)는 복호화된 비트열이 '0'인지 여부를 판단한다.In operation 1425, the decoding apparatus 900 determines whether the decoded bit string is '0'.

만일 복호화된 비트열이 '0'이면, 복호화 장치(900)는 해당 비트열에 상응하는 복호화 과정을 종료한다.If the decoded bit string is '0', the decoding apparatus 900 ends the decoding process corresponding to the corresponding bit string.

그러나 만일 복호화된 비트열이 '0'가 아니면, 단계 1430에서 복호화 장치(900)는 부호화된 비트스트림으로부터 사인 비트를 추출하고, 복호화된 비트열에 사인 비트를 붙여 최종 심볼(즉, 모션 벡터)를 복호화한다.However, if the decoded bit string is not '0', the decoding apparatus 900 extracts a sine bit from the encoded bitstream in step 1430, and attaches a sine bit to the decoded bit stream to form a final symbol (ie, a motion vector). Decrypt

상술한 부호화 과정은 발명의 명확한 설명을 위해 하나의 매크로 블록에 포함된 심볼들을 복호화하는 것으로 설명하였으나, 복호화 장치(900)는 단계 1410 내지 단계 1430을 해당 프레임 또는 VOP의 모든 심볼이 복호화될 때까지 반복 수행할 수 있다.Although the above-described encoding process has been described as decoding symbols included in one macro block for clarity, the decoding apparatus 900 performs steps 1410 to 1430 until all the symbols of the frame or the VOP are decoded. Can be repeated.

도 15는 본 발명의 다른 실시예에 따른 결정 비트를 이용하여 부호화된 비트스트림을 복호화하는 과정을 나타낸 순서도이다. 도 15는 도 13의 단계 1325의 다른 실시예에 따른 상세한 순서도이다. 또한, 도 15는 도 7을 참조하여 상술한 방법에 의해 부호화된 비트스트림을 복호화하는 방법에 대한 설명이다. 또한, 이하에서 설명되는 각각의 단계는 복호화 장치(900)의 각각의 내부 구성 요소에 의해 수행되어지나 이해와 설명의 편의를 도모하기 위해 복호화 장치로 통칭하여 설명하기로 한다. 이하에서는 하나의 매크로 블록에 포함된 심볼들을 복호화하는 것을 가정하여 설명하기로 한다.15 is a flowchart illustrating a process of decoding a coded bitstream using decision bits according to another embodiment of the present invention. 15 is a detailed flow chart according to another embodiment of step 1325 of FIG. 15 is a description of a method of decoding a bitstream encoded by the method described above with reference to FIG. 7. In addition, each step described below is performed by each internal component of the decoding device 900, but will be collectively described as a decoding device for the convenience of understanding and explanation. In the following description, it is assumed that the symbols included in one macroblock are decoded.

단계 1510에서 복호화 장치(900)는 부호화된 비트스트림으로부터 결정 비트를 추출한다.In operation 1510, the decoding apparatus 900 extracts the decision bit from the encoded bitstream.

단계 1515에서 복호화 장치(900)는 부호화된 비트스트림으로부터 부호화된 비트열을 추출한다. In operation 1515, the decoding apparatus 900 extracts an encoded bit string from the encoded bit stream.

단계 1520에서 복호화 장치(900)는 추출된 결정 비트를 이용하여 추출된 비트열을 복호화한다. 여기서, 복호화된 비트열은 소수점 이하를 제거한 모션 벡터의 절대값일 수 있다.In operation 1520, the decoding apparatus 900 decodes the extracted bit string using the extracted determination bits. Here, the decoded bit string may be an absolute value of a motion vector with a decimal point removed.

단계 1525에서 복호화 장치(900)는 복호화된 비트열의 값이 '0'인지 여부를 판단한다.In operation 1525, the decoding apparatus 900 determines whether the value of the decoded bit string is '0'.

만일 복호화된 비트열의 값이 '0'이면, 복호화 장치(900)는 복호화된 비트열을 심볼(즉, 모션 벡터)로 결정하여 복호화 과정을 종료한다. 예를 들어, 복호화된 비트열의 값이 '0'이면, 복호화 장치(900)는 모션 벡터가 부호 또는 소수점 이하의 값을 포함하지 않는 것으로 인식하며 복호화된 비트열을 심볼(즉, 모션 벡터)로서 출력하고 복호화 과정을 종료할 수 있다.If the value of the decoded bit string is '0', the decoding apparatus 900 determines the decoded bit string as a symbol (ie, a motion vector) and ends the decoding process. For example, if the value of the decoded bit string is '0', the decoding apparatus 900 recognizes that the motion vector does not include a sign or a value below the decimal point and uses the decoded bit string as a symbol (ie, a motion vector). You can output and end the decoding process.

그러나 만일 복호화된 비트열의 값이 '0'가 아니면, 단계 1530에서 복호화 장치(900)는 부호화된 비트스트림으로부터 사인 비트를 추출한다.However, if the value of the decoded bit string is not '0', the decoding apparatus 900 extracts a sine bit from the coded bitstream in step 1530.

그리고, 단계 1535에서 복호화 장치(900)는 부호화된 비트스트림으로부터 소수점 이하 비트열을 추출한다.In operation 1535, the decoding apparatus 900 extracts a bit string below the decimal point from the encoded bitstream.

단계 1540에서 복호화 장치(900)는 복호화된 비트열에 소수점 이하의 비트열을 더하고, 사인 비트에 상응하는 부호를 붙여 심볼(즉, 모션 벡터)를 복원한다.In operation 1540, the decoding apparatus 900 reconstructs a symbol (ie, a motion vector) by adding a bit string having a decimal point or less to the decoded bit string and attaching a sign corresponding to a sine bit.

상술한 복호화 과정은 발명의 명확한 설명을 위해 하나의 매크로 블록에 포함된 심볼들을 복호화하는 것으로 설명하였으나, 복호화 장치(900)는 단계 1510 내지 단계 1540을 해당 프레임 또는 VOP의 모든 심볼이 복호화될 때까지 반복 수행할 수 있다.Although the above-described decoding process has been described as decoding the symbols included in one macro block for clarity, the decoding apparatus 900 performs steps 1510 to 1540 until all the symbols of the frame or the VOP are decoded. Can be repeated.

도 16은 본 발명의 또 다른 실시예에 따른 결정 비트를 부호화된 비트스트림을 심볼로 복호화하는 과정을 나타낸 순서도이다. 도 16은 도 13의 1325의 또 다른 일 실시예에 따른 상세 순서도이다. 이하, 도 16은 도 8을 참조하여 설명한 방법에 의해 부호화된 비트스트림을 복호화는 방법에 대해 상세히 설명하기로 한다. 또한, 이하에서 설명하는 각각의 단계는 복호화 장치(900)의 각각의 내부 구성 요소에 의해 수행되어지나 이해와 설명의 편의를 도모하기 위해 복호화 장치로 통칭하여 설명하기로 한다.16 is a flowchart illustrating a process of decoding a determined bitstream into a symbol according to another embodiment of the present invention. 16 is a detailed flow chart according to another embodiment of 1325 of FIG. 13. Hereinafter, FIG. 16 will be described in detail with respect to a method of decoding a bitstream encoded by the method described with reference to FIG. 8. In addition, each step described below is performed by each internal component of the decoding device 900, but will be collectively described as a decoding device for the convenience of understanding and explanation.

단계 1610에서 복호화 장치(900)는 입력받은 부호화된 비트스트림으로부터 결정 비트를 추출한다.In operation 1610, the decoding apparatus 900 extracts a decision bit from the received encoded bitstream.

단계 1615에서 복호화 장치(900)는 부호화된 비트스트림에서 부호화된 비트열을 추출한다.In operation 1615, the decoding apparatus 900 extracts an encoded bit string from the encoded bitstream.

단계 1620에서 복호화 장치(900)는 추출된 결정 비트를 이용하여 부호화된 비트열을 복호한다. 여기서, 복호된 비트열은 소수점 이하의 값이 제거된 모션 벡터의 절대값일 수 있다.In operation 1620, the decoding apparatus 900 decodes the encoded bit string using the extracted determination bits. Here, the decoded bit string may be an absolute value of a motion vector from which a value below the decimal point is removed.

단계 1625에서 복호화 장치(900)는 복호된 비트열의 값이 '3'이하인지 여부를 판단한다.In operation 1625, the decoding apparatus 900 determines whether the value of the decoded bit string is '3' or less.

만일 복호된 비트열의 값이 '3'이하이면, 단계 1630에서 복호화 장치(900)는 복호된 비트열의 값이 '0'인지 여부를 판단한다.If the value of the decoded bit string is equal to or less than '3', in operation 1630, the decoding apparatus 900 determines whether the value of the decoded bit string is '0'.

만일 복호된 비트열의 값이 '0'이면, 복호화 장치(900)는 복호된 비트열이 부호 및 소수점 이하의 값을 포함하지 않는 모션 벡터인 것으로 판단하여 복호된 비트열을 심볼(즉, 모션 벡터)로서 출력하고 해당 복호된 비트열에 대한 복호화 과정을 종료한다.If the value of the decoded bit string is '0', the decoding apparatus 900 determines that the decoded bit string is a motion vector that does not include a sign and a value less than or equal to the decimal point, and thus decodes the decoded bit string. ) And ends the decoding process for the corresponding decoded bit string.

그러나 만일 복호된 비트열의 값이 '0'이 아니면, 단계 1635에서 복호화 장치(900)는 부호화된 비트스트림에서 사인 비트를 추출한다. 그리고, 복호화 장치(900)는 추출된 사인 비트를 복호된 비트열에 붙여 심볼(즉, 모션 벡터)을 복원한다.However, if the value of the decoded bit string is not '0', the decoding apparatus 900 extracts a sine bit from the coded bitstream in step 1635. The decoding apparatus 900 restores a symbol (ie, a motion vector) by attaching the extracted sine bits to the decoded bit string.

단계 1625의 판단 결과 복호된 비트열의 값이 '3'이하가 아니면, 단계 1640에서 복호화 장치(900)는 복호된 비트열의 값이 '0'인지 여부를 판단한다.If the value of the decoded bit string is not '3' or less as a result of the determination in step 1625, the decoding apparatus 900 determines whether the value of the decoded bit string is '0' in step 1640.

만일 복호된 비트열의 값이 '0'이면, 복호화 장치(900)는 복호된 비트열을 심볼(즉, 모션 벡터)로서 복원하고, 복호된 비트열에 대한 복호화 과정을 종료한다.If the value of the decoded bit string is '0', the decoding apparatus 900 restores the decoded bit string as a symbol (ie, a motion vector), and ends the decoding process on the decoded bit string.

그러나 만일 복호된 비트열의 값이 '0'가 아니면, 단계 1645에서 복호화 장치(900)는 부호화된 비트스트림으로부터 사인 비트를 추출한다.However, if the value of the decoded bit string is not '0', the decoding apparatus 900 extracts a sine bit from the coded bitstream in step 1645.

단계 1650에서 복호화 장치(900)는 부호화된 비트스트림에서 소수점 이하의 값을 나타내는 비트열을 추출한다.In operation 1650, the decoding apparatus 900 extracts a bit string representing a value below the decimal point from the encoded bitstream.

그리고, 단계 1655에서 복호화 장치(900)는 추출된 소수점 이하의 값이 복호된 비트열에 더하고, 추출된 사인 비트에 상응하는 부호를 붙여 심볼(즉, 모션 벡터)를 복원한다.In operation 1655, the decoding apparatus 900 reconstructs a symbol (ie, a motion vector) by adding a value corresponding to the extracted decimal point to the decoded bit string and attaching a sign corresponding to the extracted sine bit.

상술한 복호화 과정은 발명의 명확한 설명을 위해 하나의 매크로 블록에 포함된 심볼들을 복호화하는 것으로 설명하였으나, 복호화 장치(900)는 단계 1610 내지 단계 1655를 해당 프레임 또는 VOP의 모든 심볼이 복호화될 때까지 반복 수행할 수 있다.Although the above-described decoding process has been described as decoding symbols included in one macro block for clarity, the decoding apparatus 900 performs steps 1610 to 1655 until all symbols of the frame or VOP are decoded. Can be repeated.

상기에서는 본 발명의 바람직한 실시예를 참조하여 설명하였지만, 해당 기술 분야에서 통상의 지식을 가진 자라면 하기의 특허 청구의 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit or scope of the invention as defined in the appended claims. It will be understood that the invention may be varied and varied without departing from the scope of the invention.

도 1은 본 발명의 일 실시예에 따른 결정 비트를 이용하는 부호화 장치의 구성도.1 is a block diagram of an encoding apparatus using decision bits according to an embodiment of the present invention.

도 2는 본 발명의 일 실시예에 따른 필드별로 결정 비트 및 적응 결정 비트를 이용한 부호화 과정을 나타낸 순서도.2 is a flowchart illustrating an encoding process using decision bits and adaptive decision bits for each field according to an embodiment of the present invention.

도 3은 본 발명의 일 실시예에 따른 결정 비트 및 적응 결정 비트를 이용한 부호화 과정을 나타낸 순서도.3 is a flowchart illustrating an encoding process using decision bits and adaptive decision bits according to an embodiment of the present invention.

도 4는 본 발명의 일 실시예에 따른 DCT 필드의 심볼들을 적응 결정 비트를 이용하여 부호화하는 과정을 나타낸 순서도.4 is a flowchart illustrating a process of encoding symbols of a DCT field using an adaptive decision bit according to an embodiment of the present invention.

도 5는 본 발명의 다른 실시예에 따른 필드별로 결정 비트 및 적응 결정 비트를 이용한 부호화 과정을 나타낸 순서도.5 is a flowchart illustrating an encoding process using decision bits and adaptive decision bits for each field according to another embodiment of the present invention.

도 6은 본 발명의 일 실시예에 따른 결정 비트를 이용하여 모션 벡터 필드의 심볼을 부호화하는 과정을 나타낸 순서도.6 is a flowchart illustrating a process of encoding a symbol of a motion vector field using decision bits according to an embodiment of the present invention.

도 7은 본 발명의 다른 실시예에 따른 결정 비트를 이용하여 모션 벡터 필드의 심볼을 부호화 과정을 나타낸 순서도.7 is a flowchart illustrating a process of encoding a symbol of a motion vector field using decision bits according to another embodiment of the present invention.

도 8은 본 발명의 또 다른 실시예에 따른 결정 비트를 이용하여 모션 벡터 필드의 심볼을 부호화하는 과정을 나타낸 순서도.8 is a flowchart illustrating a process of encoding a symbol of a motion vector field using decision bits according to another embodiment of the present invention.

도 9는 본 발명의 일 실시예에 따른 결정 비트를 이용한 복호화 장치의 구성도.9 is a block diagram of a decoding apparatus using decision bits according to an embodiment of the present invention.

도 10은 본 발명의 일 실시예에 따른 필드별로 결정 비트 및 적응 결정 비트 를 이용하여 복호화하는 과정을 나타낸 순서도.10 is a flowchart illustrating a process of decoding using a decision bit and an adaptive decision bit for each field according to an embodiment of the present invention.

도 11은 본 발명의 일 실시예에 따른 결정 비트 및 적응 결정 비트를 이용한 복호화 과정을 나타낸 순서도.11 is a flowchart illustrating a decoding process using decision bits and adaptive decision bits according to an embodiment of the present invention.

도 12는 본 발명의 일 실시예에 따른 적응 결정 비트를 이용하여 DCT 필드의 심볼들을 복호화하는 과정을 나타낸 순서도.12 is a flowchart illustrating a process of decoding symbols of a DCT field using an adaptive decision bit according to an embodiment of the present invention.

도 13은 본 발명의 다른 실시예에 따른 필드별로 결정 비트 및 적응 결정 비트를 이용하여 복호화하는 과정을 나타낸 순서도.13 is a flowchart illustrating a process of decoding using a decision bit and an adaptive decision bit for each field according to another embodiment of the present invention.

도 14는 본 발명의 일 실시예에 따른 결정 비트를 이용하여 부호화된 데이터를 모션 벡터 필드의 심볼로 복호화하는 과정을 나타낸 순서도.14 is a flowchart illustrating a process of decoding data encoded using decision bits into a symbol of a motion vector field, according to an embodiment of the present invention.

도 15는 본 발명의 다른 실시예에 따른 결정 비트를 이용하여 부호화된 데이터를 모션 벡터 필드의 심볼로 복호화하는 과정을 나타낸 순서도.15 is a flowchart illustrating a process of decoding data encoded using decision bits into a symbol of a motion vector field according to another embodiment of the present invention.

도 16은 본 발명의 또 다른 실시예에 따른 결정 비트를 이용하여 부호화된 데이터를 모션 벡터 필드의 심볼로 복호화하는 과정을 나타낸 순서도16 is a flowchart illustrating a process of decoding data encoded using decision bits into a symbol of a motion vector field according to another embodiment of the present invention.

Claims (38)

심볼 별로 적응 결정 비트 및 적응 비트열을 산출하는 적응 결정 비트 산출부;An adaptive determination bit calculator configured to calculate an adaptive determination bit and an adaptive bit string for each symbol; 소정의 필드 별로 결정 비트를 산출하는 결정 비트 산출부; 및A decision bit calculator for calculating decision bits for each predetermined field; And 대상 필드의 종류에 따라 상기 적응 결정 비트 및 상기 결정 비트 중 하나 이상을 이용하여 입력 데이터를 부호화하는 부호화부를 포함하되,An encoder which encodes input data using at least one of the adaptive determination bit and the determination bit according to a type of a target field, 상기 결정 비트는 상기 입력 데이터를 부호화하기 위한 단위 비트열의 길이를 나타내는 비트이고,The determination bit is a bit representing a length of a unit bit string for encoding the input data, 상기 적응 결정 비트는 상기 단위 비트열의 길이 중에서 상기 심볼에 상응하는 부호화 효율이 최적인 단위 비트열의 길이를 나타내는 비트인 것을 특징으로 하는 부호화 장치.And the adaptive determination bit is a bit indicating a length of a unit bit string having an optimal coding efficiency corresponding to the symbol among the lengths of the unit bit strings. 제1 항에 있어서,According to claim 1, 상기 적응 비트열은 상기 적응 결정 비트를 이용하여 상기 입력 데이터를 부호화한 비트열인 것을 특징으로 하는 부호화 장치.And the adaptive bit string is a bit string obtained by encoding the input data using the adaptive determination bit. 제1 항에 있어서,According to claim 1, 결정 비트 산출부는,The decision bit calculator is 소정의 후보 결정 비트들(1~n) 중 압축 효율이 가장 높은 결정 비트를 결정 비트로 선정하는 것을 특징으로 하는 부호화 장치.The encoding device characterized in that the decision bit having the highest compression efficiency among the predetermined candidate decision bits (1 to n) is selected as the decision bit. 제1 항에 있어서,According to claim 1, 적응 결정 비트 산출부는,The adaptive decision bit calculator is 소정의 후보 결정 비트들(1~n) 중 압축 효율이 가장 높은 결정 비트를 적응 결정 비트로 선정하는 것을 특징으로 하는 부호화 장치.The encoding device characterized in that the decision bit having the highest compression efficiency among the predetermined candidate decision bits (1 to n) is selected as the adaptive decision bit. 제1 항에 있어서,According to claim 1, 상기 부호화부는, The encoder, 상기 대상 필드가 mcbpc 필드 또는 cbpy 필드 인경우, 상기 적응 결정 비트 및 상기 결정 비트를 이용하여 상기 입력 데이터를 부호화하는 것을 특징으로 하는 부호화 장치.And when the target field is an mcbpc field or a cbpy field, encoding the input data using the adaptive decision bit and the decision bit. 제1 항에 있어서,According to claim 1, 상기 부호화부는,The encoder, 상기 대상 필드가 DCT 필드일 경우, 상기 적응 결정 비트를 이용하여 상기 입력 데이터를 부호화하는 것을 특징으로 하는 부호화 장치.And encoding the input data by using the adaptive decision bit when the target field is a DCT field. 제 1 항에 있어서,The method of claim 1, 상기 부호화부는,The encoder, 상기 대상 필드가 모션 벡터 필드일 경우, 상기 입력 데이터 중 모션 벡터 필드 데이터의 절대값을 상기 결정 비트를 이용하여 부호화하고,If the target field is a motion vector field, the absolute value of the motion vector field data among the input data is encoded using the determination bit, 상기 모션 벡터 필드 데이터의 부호를 나타내는 사인 비트를 비트스트림에 삽입하는 것을 특징으로 하는 부호화 장치.And a sign bit representing a sign of the motion vector field data, into a bitstream. 제1 항에 있어서,According to claim 1, 상기 부호화부는,The encoder, 상기 대상 필드가 모션 벡터 필드일 경우, 상기 입력 데이터 중 모션 벡터 필드 데이터의 절대값의 버림값을 상기 결정 비트를 이용하여 부호화하고,When the target field is a motion vector field, a truncation value of an absolute value of motion vector field data among the input data is encoded using the determination bit, 상기 모션 벡터 필드 데이터의 부호를 나타내는 사인 비트 및 소수점 이하의 값을 비트스트림에 삽입하되,Inserting a sine bit and a value below the decimal point indicating a sign of the motion vector field data into a bitstream, 상기 버림값은 상기 절대값의 소수점 이하를 버림한 값인 것을 특징으로 하는 부호화 장치.And the truncation value is a value obtained by truncating a decimal point below the absolute value. 제 1 항에 있어서,The method of claim 1, 상기 부호화부는,The encoder, 상기 대상 필드가 모션 벡터 필드일 경우, 상기 입력 데이터 중 모션 벡터 필드 데이터의 절대값에 따라 상기 절대값 또는 상기 절대값의 버림값을 상기 결정 비트를 이용하여 부호화하고,When the target field is a motion vector field, the absolute value or the truncated value of the absolute value is encoded using the determination bit according to an absolute value of the motion vector field data among the input data. 상기 모션 벡터 필드 데이터의 부호를 나타내는 사인 비트 및 소수점 이하의 값 중 하나 이상을 비트스트림에 삽입하되,At least one of a sine bit representing a sign of the motion vector field data and a value below a decimal point is inserted into a bitstream, 상기 버림값은 상기 절대값의 소수점 이하를 버림한 값인 것을 특징으로 하는 부호화 장치.And the truncation value is a value obtained by truncating a decimal point below the absolute value. 제1 항에 있어서,According to claim 1, 상기 부호화부는,The encoder, 상기 대상 필드가 기타 필드일 경우, 대상 매크로 블록, 상측 매크로 블록 및 좌측 매크로 블록에 상응하는 상기 결정 비트 사이의 동일 여부에 따라 상기 대상 매크로 블록의 결정 비트 또는 VOP의 결정 비트와 동일한 적응 결정 비트를 이용하여 상기 입력 데이터를 부호화하는 것을 특징으로 하는 부호화 장치.If the target field is another field, an adaptive decision bit equal to the decision bit of the target macroblock or the decision bit of the VOP is determined according to whether the decision bit corresponding to the target macroblock, the upper macroblock and the left macroblock is the same. And encoding the input data by using the encoding device. 심볼 별로 적응 결정 비트 및 적응 비트열을 산출하는 단계;Calculating an adaptive determination bit and an adaptive bit string for each symbol; 소정의 필드 별로 결정 비트를 산출하는 단계; 및Calculating a decision bit for each predetermined field; And 대상 필드의 종류에 따라 상기 결정 비트 및 상기 적응 결정 비트 중 하나 이상을 이용하여 입력 데이터를 부호화하는 단계를 포함하되,Encoding input data using at least one of the determination bit and the adaptive determination bit according to a type of a target field; 상기 결정 비트는 상기 입력 데이터를 부호화하기 위한 단위 비트열의 길이를 나타내는 비트이고,The determination bit is a bit representing a length of a unit bit string for encoding the input data, 상기 적응 결정 비트는 상기 단위 비트열의 길이 중에서 상기 심볼에 상응하는 부호화 효율이 최적인 단위 비트열의 길이를 나타내는 비트인 것을 특징으로 하는 부호화 방법.And the adaptation determination bit is a bit indicating a length of a unit bit string having an optimal coding efficiency corresponding to the symbol among the lengths of the unit bit strings. 제11 항에 있어서,12. The method of claim 11, 상기 적응 비트열은 상기 적응 결정 비트를 이용하여 상기 입력 데이터를 부호화한 비트열인 것을 특징으로 하는 부호화 방법.And the adaptive bit string is a bit string obtained by encoding the input data using the adaptive determination bit. 제11 항에 있어서,12. The method of claim 11, 상기 결정 비트를 산출하는 단계는,Computing the decision bit, 소정의 후보 결정 비트들(1~n) 중 압축 효율이 가장 높은 결정 비트를 결정 비트로 선정하는 것을 특징으로 하는 부호화 방법.An encoding method characterized in that the decision bit having the highest compression efficiency among the predetermined candidate decision bits (1 to n) is selected as the decision bit. 제11 항에 있어서,12. The method of claim 11, 상기 적응 결정 비트를 산출하는 단계는,Computing the adaptation decision bit, 소정의 후보 결정 비트들(1~n) 중 압축 효율이 가장 높은 결정 비트를 결정 비트로 선정하는 것을 특징으로 하는 부호화 방법.An encoding method characterized in that the decision bit having the highest compression efficiency among the predetermined candidate decision bits (1 to n) is selected as the decision bit. 제11 항에 있어서,12. The method of claim 11, 입력 데이터를 부호화하는 단계는,Encoding the input data, 상기 대상 필드가 mcbpc 또는 cbpy 필드인 경우, 상기 적응 결정 비트 및 상기 결정 비트를 이용하여 상기 입력 데이터를 부호화하는 단계인 것을 특징으로 하는 부호화 방법.And encoding the input data using the adaptive determination bit and the determination bit when the target field is an mcbpc or cbpy field. 제11 항에 있어서,12. The method of claim 11, 입력 데이터를 부호화하는 단계는,Encoding the input data, 상기 대상 필드가 DCT 필드일 경우, 상기 적응 결정 비트를 이용하여 상기 입력 데이터 중 DCT 필드의 데이터를 부호화하는 단계인 것을 특징으로 하는 부호화 방법If the target field is a DCT field, encoding the data of the DCT field among the input data by using the adaptive determination bit; 제11 항에 있어서,12. The method of claim 11, 입력 데이터를 부호화하는 단계는,Encoding the input data, 상기 대상 필드가 모션 벡터 필드일 경우, 상기 입력 데이터 중 모션 벡터 필드 데이터의 절대값을 상기 결정 비트를 이용하여 부호화하는 단계; 및If the target field is a motion vector field, encoding an absolute value of motion vector field data among the input data by using the determination bit; And 상기 모션 벡터 필드 데이터의 부호를 나타내는 사인 비트를 비트스트림에 삽입하는 단계를 포함하는 것을 특징으로 하는 부호화 방법.And inserting a sine bit representing a sign of the motion vector field data into a bitstream. 제11 항에 있어서,12. The method of claim 11, 입력 데이터를 부호화하는 단계는,Encoding the input data, 상기 대상 필드가 모션 벡터 필드일 경우, 상기 입력 데이터 중 모션 벡터 필드 데이터의 절대값의 버림값을 상기 결정 비트를 이용하여 부호화하는 단계; 및If the target field is a motion vector field, encoding a truncated value of an absolute value of motion vector field data among the input data using the determination bit; And 상기 모션 벡터 필드 데이터의 부호를 나타내는 사인 비트 및 소수점 이하의 값을 비트스트림에 삽입하는 단계를 포함하되,Inserting a sign bit representing a sign of the motion vector field data and a value below a decimal point into a bitstream, 상기 버림값은 상기 절대값을 소수점 이하의 값을 버림한 값인 것을 특징으로 하는 부호화 방법.And the truncation value is a value obtained by truncating the absolute value to a value less than or equal to the decimal point. 제11 항에 있어서,12. The method of claim 11, 입력 데이터를 부호화하는 단계는,Encoding the input data, 상기 대상 필드가 모션 벡터 필드일 경우, 상기 입력 데이터 중 모션 벡터 필드 데이터의 절대값에 따라 상기 절대값 또는 상기 절대값의 버림값을 상기 결정 비트를 이용하여 부호화하는 단계; 및If the target field is a motion vector field, encoding the absolute value or the truncated value of the absolute value using the determination bit according to an absolute value of the motion vector field data among the input data; And 상기 모션 벡터 필드 데이터의 부호를 나타내는 사인 비트 및 소수점 이하의 값 중 하나 이상을 비트스트림에 삽입하는 단계를 포함하되,Inserting at least one of a sine bit representing a sign of the motion vector field data and a value below a decimal point into a bitstream, 상기 버림값은 상기 절대값을 소수점 이하의 값을 버림한 값인 하는 것을 특징으로 하는 부호화 방법.And the truncation value is a value obtained by truncating the absolute value to a value less than or equal to the decimal point. 제11 항에 있어서,12. The method of claim 11, 입력 데이터를 부호화하는 단계는,Encoding the input data, 상기 대상 필드가 mcbpc 필드, cbpy 필드 및 모션 벡터 필드 중 어느 하나일 경우,If the target field is any one of an mcbpc field, a cbpy field, and a motion vector field, 대상 매크로 블록, 상측 매크로 블록 및 좌측 매크로 블록에 상응하는 각 결정 비트 사이의 동일 여부를 판단하는 단계; 및Determining whether the determination bits corresponding to the target macroblock, the upper macroblock, and the left macroblock are the same; And 상기 동일 여부에 따라 대상 매크로 블록의 결정 비트 또는 VOP의 결정 비트를 이용하여 상기 입력 데이터를 부호화하는 단계를 포함하는 것을 특징으로 하는 부호화 방법.And encoding the input data using the decision bit of the target macroblock or the decision bit of the VOP according to the same. 입력 데이터를 부호화할 수 있는 방법을 수행하기 위해 디지털 처리 장치에 의해 실행될 수 있는 명령어들의 프로그램이 유형적으로 구현되어 있으며, 상기 디지털 처리 장치에 의해 판독될 수 있는 프로그램을 기록한 기록매체에 있어서,In the recording medium on which a program of instructions that can be executed by a digital processing apparatus is tangibly implemented to perform a method capable of encoding input data. 심볼 별로 적응 결정 비트 및 적응 비트열을 산출하는 단계;Calculating an adaptive determination bit and an adaptive bit string for each symbol; 소정의 필드 별로 결정 비트를 산출하는 단계; 및Calculating a decision bit for each predetermined field; And 대상 필드의 종류에 따라 상기 결정 비트 및 상기 적응 결정 비트 중 하나 이상을 이용하여 입력 데이터를 부호화하는 단계를 수행하되,Encoding input data using at least one of the determination bit and the adaptive determination bit according to a type of a target field; 상기 결정 비트는 상기 입력 데이터를 부호화하기 위한 단위 비트열의 길이를 나타내는 비트이고,The determination bit is a bit representing a length of a unit bit string for encoding the input data, 상기 적응 결정 비트는 상기 단위 비트열의 길이 중에서 상기 심볼에 상응하는 부호화 효율이 최적인 단위 비트열의 길이를 나타내는 비트인 것을 특징으로 하는 프로그램이 기록된 기록매체.And the adaptation determination bit is a bit indicating a length of a unit bit string having an optimal coding efficiency corresponding to the symbol among the lengths of the unit bit strings. 심볼 별로 적응 결정 비트 및 적응 비트열을 산출하는 적응 결정 비트 산출부;An adaptive determination bit calculator configured to calculate an adaptive determination bit and an adaptive bit string for each symbol; 소정의 필드 별로 결정 비트를 입력받은 비트스트림으로부터 추출하는 결정 비트 추출부; 및A decision bit extraction unit for extracting a decision bit from a received bitstream for each predetermined field; And 대상 필드의 종류에 따라 상기 적응 결정 비트 및 상기 결정 비트 중 하나 이상을 이용하여 상기 비트스트림을 복호화하는 복호화부를 포함하되,A decoder which decodes the bitstream using at least one of the adaptive determination bit and the determination bit according to a type of a target field, 상기 결정 비트는 상기 입력 데이터를 부호화하기 위한 단위 비트열의 길이를 나타내는 비트이고,The determination bit is a bit representing a length of a unit bit string for encoding the input data, 상기 적응 결정 비트는 상기 단위 비트열의 길이 중에서 상기 심볼에 상응하는 부호화 효율이 최적인 단위 비트열의 길이를 나타내는 비트인 것을 특징으로 하는 복호화 장치.And the adaptation determination bit is a bit representing a length of a unit bit string having an optimal coding efficiency corresponding to the symbol among the lengths of the unit bit strings. 제22 항에 있어서,23. The method of claim 22, 상기 적응 비트열은 상기 적응 결정 비트를 이용하여 상기 비트스트림을 복호호하상기 입력 데이터를 부호화한 비트열인 것을 특징으로 하는 복호화 장치.And the adaptive bit string is a bit string obtained by encoding the input data by decoding the bit stream using the adaptive determination bit. 제22 항에 있어서,23. The method of claim 22, 상기 비트스트림으로부터 필드 정보를 추출하는 입력부를 더 포함하되,Further comprising an input unit for extracting field information from the bitstream, 상기 복호화부는 상기 필드 정보에 따라 상이하게 상기 비트스트림을 복호화하며, The decoder decodes the bitstream differently according to the field information. 상기 필드 정보는 상기 비트스트림에 포함된 각 필드의 종류를 나타내는 정보인 것을 특징으로 하는 복호화 장치.And the field information is information indicating a type of each field included in the bitstream. 제22 항에 있어서,23. The method of claim 22, 상기 복호화부는,The decoding unit, 상기 대상 필드가 mcbpc 필드, cbpy 필드 및 모션 벡터 필드 중 어느 하나인 경우,If the target field is any one of an mcbpc field, a cbpy field, and a motion vector field, 상측 매크로 블록과 좌측 매크로 블록에 상응하는 상기 결정 비트의 동일 여부에 따라 VOP에 대한 결정 비트, 상측 매크로 블록의 결정 비트 또는 좌측 매크로 블록의 결정 비트 중 어느 하나와 동일한 적응 결정 비트를 이용하여 비트스트림을 복호화하는 것을 특징으로 하는 복호화 장치.Bitstream using an adaptive decision bit equal to one of a decision bit for a VOP, a decision bit for an upper macroblock, or a decision bit for a left macroblock, depending on whether the decision bit corresponding to an upper macroblock and a left macroblock is the same. Decoding apparatus characterized in that for decoding. 제22 항에 있어서,23. The method of claim 22, 상기 복호화부는The decoding unit 상기 대상 필드가 DCT 필드일 경우, 적응 결정 비트를 이용하여 상기 비트스트림 중 DCT 필드에 대한 비트열을 복호화하는 것을 특징으로 하는 복호화 장치.And if the target field is a DCT field, decoding a bit string of a DCT field in the bitstream using an adaptive determination bit. 제22 항에 있어서,23. The method of claim 22, 상기 복호화부는The decoding unit 상기 대상 필드가 모션 벡터 필드일 경우, 상기 결정 비트를 이용하여 상기 비트스트림 중에서 상기 모션 벡터 필드에 대한 비트열을 모션 벡터의 절대값으로 복호화하고, When the target field is a motion vector field, the bit string for the motion vector field in the bitstream is decoded into an absolute value of the motion vector using the determination bit. 상기 비트스트림에서 사인 비트를 추출하여 상기 추출된 사인 비트에 따른 부호를 상기 모션 벡터의 절대값에 붙여 모션 벡터를 복원하는 것을 특징으로 하는 복호화 장치. And extracting a sine bit from the bitstream and restoring a motion vector by adding a sign corresponding to the extracted sine bit to an absolute value of the motion vector. 제22 항에 있어서,23. The method of claim 22, 상기 복호화부는 The decoding unit 상기 대상 필드가 모션 벡터 필드일 경우, 상기 결정 비트를 이용하여 상기 비트스트림 중에서 상기 모션 벡터 필드에 대한 비트열을 복호화하며, When the target field is a motion vector field, the bit string for the motion vector field in the bitstream is decoded using the decision bit. 소수점 이하의 값을 상기 복호화된 비트열의 값과 더하여 모션 벡터의 절대값을 산출하고, A value below the decimal point is added to the value of the decoded bit string to calculate an absolute value of the motion vector, 사인 비트에 따른 부호를 상기 모션 벡터의 절대값에 붙여서 모션 벡터를 복원하되,Restoring the motion vector by attaching the sign according to the sine bit to the absolute value of the motion vector, 상기 소수점 이하의 값 및 상기 사인 비트는 비트스트림으로부터 추출되는 것을 특징으로 하는 복호화 장치.And a value less than the decimal point and the sign bit are extracted from a bitstream. 제22 항에 있어서,23. The method of claim 22, 상기 복호화부는 The decoding unit 상기 대상 필드가 모션 벡터 필드일 경우, 상기 결정 비트를 이용하여 상기 비트스트림 중에서 상기 모션 벡터 필드에 상응하는 비트열을 복호화하며,When the target field is a motion vector field, decoding a bit string corresponding to the motion vector field in the bitstream using the determination bit; 상기 복호화된 비트열의 분석 결과에 따라 상기 복호화된 비트열 및 소수점 이하의 값 중 하나 이상을 이용하여 모션 벡터의 절대값을 산출하고,Calculating an absolute value of a motion vector using at least one of the decoded bit string and a value below a decimal point according to an analysis result of the decoded bit string, 상기 산출된 모션 벡터의 절대값에 사인 비트에 따른 부호를 붙여 모션 벡터를 산출하되,A motion vector is calculated by attaching a sign corresponding to a sine bit to an absolute value of the calculated motion vector, 상기 소수점 이하의 값 및 상기 사인 비트는 비트스트림으로부터 추출되는 것을 특징으로 하는 복호화 장치.And a value less than the decimal point and the sign bit are extracted from a bitstream. 심볼 별로 적응 결정 비트 및 적응 비트열을 산출하는 단계;Calculating an adaptive determination bit and an adaptive bit string for each symbol; 소정의 필드 별로 결정 비트를 비트스트림으로부터 추출하는 단계; 및Extracting a decision bit from the bitstream for each predetermined field; And 대상 필드의 종류에 따라 상기 적응 결정 비트 및 상기 결정 비트 중 하나 이상을 이용하여 상기 비트스트림을 복호화하는 단계를 포함하되,Decoding the bitstream using at least one of the adaptive determination bit and the determination bit according to a type of a target field; 상기 결정 비트는 상기 입력 데이터를 부호화하기 위한 단위 비트열의 길이를 나타내는 비트이고,The determination bit is a bit representing a length of a unit bit string for encoding the input data, 상기 적응 결정 비트는 상기 단위 비트열의 길이 중에서 상기 심볼에 상응하는 부호화 효율이 최적인 단위 비트열의 길이를 나타내는 비트인 것을 특징으로 하는 복호화 방법.And the adaptation determination bit is a bit indicating a length of a unit bit string having an optimal coding efficiency corresponding to the symbol among the lengths of the unit bit strings. 제30 항에 있어서,The method of claim 30, 상기 적응 비트열은 상기 적응 결정 비트를 이용하여 입력 데이터를 부호화한 비트열인 것을 특징으로 하는 복호화 방법.And the adaptive bit string is a bit string obtained by encoding input data using the adaptive determination bit. 제30 항에 있어서,The method of claim 30, 상기 비트스트림을 복호화하는 단계는, Decoding the bitstream, 상기 비트스트림으로부터 필드 정보를 추출하는 단계;Extracting field information from the bitstream; 상기 필드 정보에 따라 상기 비트스트림을 상이하게 복호화하는 단계를 포함하되,Decoding the bitstream differently according to the field information; 상기 필드 정보는 부호화된 데이터가 속한 필드를 나타내는 것을 특징으로 하는 복호화 방법.And the field information indicates a field to which encoded data belongs. 제30 항에 있어서,The method of claim 30, 상기 비트스트림을 복호화하는 단계는,Decoding the bitstream, 상기 대상 필드가 mcbpc 필드, cbpy 필드 및 모션 벡터 필드 중 어느 하나인 경우,If the target field is any one of an mcbpc field, a cbpy field, and a motion vector field, 상측 매크로 블록과 좌측 매크로 블록에 상응하는 상기 결정 비트의 동일 여부를 산출하는 단계; 및Calculating whether the decision bit corresponding to an upper macro block and a left macro block are the same; And 상기 동일 여부에 따라 VOP에 대한 결정 비트, 상측 매크로 블록의 결정 비트 또는 좌측 매크로 블록의 결정 비트 중 어느 하나를 이용하여 상기 비트스트림을 복호화하는 단계를 포함하는 것을 특징으로 하는 복호화 방법.And decoding the bitstream using any one of a decision bit for a VOP, a decision bit of an upper macroblock, and a decision bit of a left macroblock according to whether the same. 제30 항에 있어서,The method of claim 30, 상기 비트스트림을 복호화하는 단계는,Decoding the bitstream, 상기 대상 필드가 DCT 필드일 경우, 적응 결정 비트를 이용하여 상기 비트스트림 중 DCT 필드에 대한 비트열을 복호화하는 단계를 포함하는 것을 특징으로 하는 복호화 방법.And decoding the bit string for the DCT field in the bitstream using the adaptive decision bit when the target field is the DCT field. 제30 항에 있어서,The method of claim 30, 상기 비트스트림을 복호화하는 단계는,Decoding the bitstream, 상기 대상 필드가 모션 벡터 필드일 경우,If the target field is a motion vector field, 상기 결정 비트를 이용하여 상기 비트스트림 중에서 상기 모션 벡터 필드에 대한 비트열을 모션 벡터의 절대값으로 복호화하는 단계; 및Decoding a bit string for the motion vector field in the bitstream into an absolute value of a motion vector using the decision bit; And 상기 비트스트림에서 사인 비트를 추출하고, 상기 추출된 사인 비트에 따른 부호를 상기 모션 벡터의 절대값에 붙여 모션 벡터를 복원하는 단계를 포함하는 것을 특징으로 하는 복호화 방법.Extracting a sine bit from the bitstream and restoring a motion vector by adding a sign corresponding to the extracted sine bit to an absolute value of the motion vector. 제30 항에 있어서,The method of claim 30, 상기 비트스트림을 복호화하는 단계는,Decoding the bitstream, 상기 대상 필드가 모션 벡터 필드일 경우,If the target field is a motion vector field, 상기 결정 비트를 이용하여 상기 비트스트림 중에서 상기 모션 벡터 필드에 대한 비트열을 복호화하는 단계;Decoding a bit string for the motion vector field in the bitstream using the decision bit; 소수점 이하의 값을 상기 복호화된 비트열의 값의 더하여 모션 벡터의 절대값을 산출하는 단계; 및Calculating an absolute value of a motion vector by adding a value less than a decimal point to the value of the decoded bit string; And 사인 비트에 따른 부호를 상기 모션 벡터의 절대값에 붙여 모션 벡터를 복원하는 단계를 포함하되,Restoring a motion vector by adding a sign according to a sine bit to an absolute value of the motion vector, 상기 소수점 이하의 값 및 상기 사인 비트는 비트스트림으로부터 추출되는 것을 특징으로 하는 복호화 방법.A value below the decimal point and the sign bit are extracted from a bitstream. 제30 항에 있어서,The method of claim 30, 상기 단계 (c)는,Step (c) is, 상기 비트스트림을 복호화하는 단계는,Decoding the bitstream, 상기 대상 필드가 모션 벡터 필드일 경우, 상기 결정 비트를 이용하여 상기 비트스트림 중에서 상기 모션 벡터 필드에 상응하는 비트열을 복호화하는 단계;If the target field is a motion vector field, decoding a bit string corresponding to the motion vector field in the bitstream using the decision bit; 상기 복호화된 비트열의 분석 결과에 따라 상기 복호화된 비트열 및 소수점 이하의 값 중 하나 이상을 이용하여 모션 벡터의 절대값을 산출하는 단계; 및Calculating an absolute value of a motion vector using at least one of the decoded bit string and a value below a decimal point according to an analysis result of the decoded bit string; And 상기 산출된 모션 벡터의 절대값에 사인 비트에 따른 부호를 붙여 모션 벡터 를 산출하는 단계를 포함하되,Calculating a motion vector by attaching a sign corresponding to a sign bit to an absolute value of the calculated motion vector, 상기 소수점 이하의 값 및 상기 사인 비트는 비트스트림으로부터 추출되는 것을 특징으로 하는 복호화 방법.A value below the decimal point and the sign bit are extracted from a bitstream. 비트스트림을 복호화 방법을 수행하기 위해 디지털 처리 장치에 의해 실행될 수 있는 명령어들의 프로그램이 유형적으로 구현되어 있으며, 상기 디지털 처리 장치에 의해 판독될 수 있는 프로그램을 기록한 기록매체에 있어서,In the recording medium in which a program of instructions that can be executed by a digital processing apparatus is tangibly embodied to perform a decoding method of a bitstream, and which records a program that can be read by the digital processing apparatus, 심볼 별로 적응 결정 비트 및 적응 비트열을 산출하는 단계;Calculating an adaptive determination bit and an adaptive bit string for each symbol; 소정의 필드 별로 결정 비트를 비트스트림으로부터 추출하는 단계; 및Extracting a decision bit from the bitstream for each predetermined field; And 대상 필드의 종류에 따라 상기 적응 결정 비트 및 상기 결정 비트 중 하나 이상을 이용하여 상기 비트스트림을 복호화하는 단계를 수행하되,Decoding the bitstream using at least one of the adaptive determination bit and the determination bit according to a type of a target field; 상기 결정 비트는 상기 입력 데이터를 부호화하기 위한 단위 비트열의 길이를 나타내는 비트이고,The determination bit is a bit representing a length of a unit bit string for encoding the input data, 상기 적응 결정 비트는 상기 단위 비트열의 길이 중에서 상기 심볼에 상응하는 부호화 효율이 최적인 단위 비트열의 길이를 나타내는 비트인 것을 특징으로 하는 프로그램이 기록된 기록매체.And the adaptation determination bit is a bit indicating a length of a unit bit string having an optimal coding efficiency corresponding to the symbol among the lengths of the unit bit strings.
KR1020080037856A 2007-07-18 2008-04-23 Method and Apparatus for Coding and Decoding using Bit-Precision KR100988010B1 (en)

Priority Applications (10)

Application Number Priority Date Filing Date Title
KR1020080037856A KR100988010B1 (en) 2008-04-23 2008-04-23 Method and Apparatus for Coding and Decoding using Bit-Precision
EP10152392A EP2187645A3 (en) 2007-07-18 2008-07-18 Adaptive bit-precision entropy coding
PCT/KR2008/004232 WO2009011558A2 (en) 2007-07-18 2008-07-18 Method and apparatus for coding and decoding using bit-precision
EP10152390A EP2187644A3 (en) 2007-07-18 2008-07-18 Adaptive bit-precision entropy coding
US12/669,770 US8411745B2 (en) 2007-07-18 2008-07-18 Method and apparatus for coding and decoding using bit-precision
EP08778887A EP2172028A4 (en) 2007-07-18 2008-07-18 Method and apparatus for coding and decoding using bit-precision
EP10152387A EP2187643A3 (en) 2007-07-18 2008-07-18 Adaptive bit-precision entropy coding
US12/694,248 US8009067B2 (en) 2007-07-18 2010-01-26 Method and apparatus for coding and decoding using bit-precision
US12/694,242 US8009066B2 (en) 2007-07-18 2010-01-26 Method and apparatus for coding and decoding using bit-precision
US12/694,245 US8675734B2 (en) 2007-07-18 2010-01-26 Method and apparatus for coding and decoding using bit-precision

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020080037856A KR100988010B1 (en) 2008-04-23 2008-04-23 Method and Apparatus for Coding and Decoding using Bit-Precision

Publications (2)

Publication Number Publication Date
KR20090112139A KR20090112139A (en) 2009-10-28
KR100988010B1 true KR100988010B1 (en) 2010-10-18

Family

ID=41553356

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020080037856A KR100988010B1 (en) 2007-07-18 2008-04-23 Method and Apparatus for Coding and Decoding using Bit-Precision

Country Status (1)

Country Link
KR (1) KR100988010B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040053865A (en) * 2002-12-16 2004-06-25 삼성전자주식회사 Method and apparatus for encoding/decoding audio data with scalability
KR20080010980A (en) * 2006-07-28 2008-01-31 엘지전자 주식회사 Method and apparatus for encoding/decoding

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040053865A (en) * 2002-12-16 2004-06-25 삼성전자주식회사 Method and apparatus for encoding/decoding audio data with scalability
KR20080010980A (en) * 2006-07-28 2008-01-31 엘지전자 주식회사 Method and apparatus for encoding/decoding

Also Published As

Publication number Publication date
KR20090112139A (en) 2009-10-28

Similar Documents

Publication Publication Date Title
US9743080B2 (en) Encoding or decoding method and apparatus
CN106170921B (en) It is related to the source code and decoding method and device of the data of sign compression
RU2417518C2 (en) Efficient coding and decoding conversion units
Yang et al. Fractal curves to improve the reversible data embedding for VQ-indexes based on locally adaptive coding
KR20110050456A (en) Cabac/avc compliant watermarking of syntax elements in compressed video
JP2011511592A (en) Video coding system with reference frame compression
TW201415418A (en) Method and apparatus for data compression using error plane coding
CN101657973B (en) Recorded medium having program for coding and decoding using bit-precision, and apparatus thereof
CN102638680B (en) Hardware-based CABAC (Context-Based Adaptive Binary Arithmetic Coding) coding method and system
CN108024114B (en) High-capacity lossless HEVC information hiding method based on flag bit parameter modification
US8009067B2 (en) Method and apparatus for coding and decoding using bit-precision
KR100636370B1 (en) Apparatus and method for coding using bit-precision, and apparatus and method for decoding according to the same
KR100988010B1 (en) Method and Apparatus for Coding and Decoding using Bit-Precision
KR100944542B1 (en) Method and Apparatus for Coding and Decoding using Predictive Bit-Precision
KR100960008B1 (en) Method and Apparatus for Coding and Decoding Using Adaptive Bit Precision
US20070031054A1 (en) Encoding DCT coordinates
CN111669590A (en) Subblock-based entropy coding for embedded image codecs
CN109462763B (en) Video watermark processing method and system
US20160323603A1 (en) Method and apparatus for performing an arithmetic coding for data symbols
KR100686354B1 (en) Huffman decoding method and device for using variable length tree
Lin et al. CAVLC codewords substitution for H. 264/AVC video data hiding
JP4743884B2 (en) Image coding apparatus and control method thereof
JP6509916B2 (en) Method and apparatus for performing arithmetic coding based on concatenated ROM-RAM table
Woo et al. Improving JPEG-LS Performance Using Location Information
CN108391134B (en) Entropy encoder, entropy decoder, and corresponding entropy encoding method and entropy decoding method

Legal Events

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

Payment date: 20131002

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20141006

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee