KR101305517B1 - Bitstream decoding device and method having decoding solution - Google Patents

Bitstream decoding device and method having decoding solution Download PDF

Info

Publication number
KR101305517B1
KR101305517B1 KR1020070033489A KR20070033489A KR101305517B1 KR 101305517 B1 KR101305517 B1 KR 101305517B1 KR 1020070033489 A KR1020070033489 A KR 1020070033489A KR 20070033489 A KR20070033489 A KR 20070033489A KR 101305517 B1 KR101305517 B1 KR 101305517B1
Authority
KR
South Korea
Prior art keywords
information
description
bitstream
decoder
decoding
Prior art date
Application number
KR1020070033489A
Other languages
Korean (ko)
Other versions
KR20080090227A (en
Inventor
장의선
김현규
이충구
Original Assignee
(주)휴맥스
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by (주)휴맥스 filed Critical (주)휴맥스
Priority to KR1020070033489A priority Critical patent/KR101305517B1/en
Priority to CN2008800187595A priority patent/CN101743748B/en
Priority to PCT/KR2008/001927 priority patent/WO2008123709A1/en
Priority to US12/594,551 priority patent/US20100208829A1/en
Publication of KR20080090227A publication Critical patent/KR20080090227A/en
Application granted granted Critical
Publication of KR101305517B1 publication Critical patent/KR101305517B1/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/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards

Abstract

디코딩 솔루션을 구비한 비트스트림 디코딩 장치 및 방법이 개시된다. 복호화 장치는, 디스크립션 저장부에 저장된 부분 디코더 디스크립션들을 이용하여 CSCI 제어 정보 및 연결 제어 정보를 생성하여 출력하는 디코더 형성부; 미리 설정된 프로세스를 각각 수행하도록 구현된 복수의 기능부를 포함하는 툴박스; 및 상기 CSCI 제어 정보 및 상기 연결 제어 정보를 이용하여 상기 툴박스에 구비된 복수의 기능부들을 선택적으로 로드(load)하여 비트스트림을 동영상 데이터로 디코딩하는 디코딩 솔루션을 포함할 수 있다. 본 발명에 따르면, 각 표준(예를 들어, MPEG-1, MPEG-2, MPEG-4, MPEG-4 AVC 등)에 따른 다양한 형식으로 부호화된 비트스트림을 동일한 정보 인식 방식으로 복호화할 수 있다.Disclosed is a bitstream decoding apparatus and method having a decoding solution. The decoding apparatus includes: a decoder forming unit generating and outputting CSCI control information and connection control information using partial decoder descriptions stored in the description storage unit; A tool box including a plurality of functional units, each implemented to perform a preset process; And a decoding solution that selectively loads a plurality of functional units included in the toolbox by using the CSCI control information and the connection control information to decode the bitstream into video data. According to the present invention, a bitstream encoded in various formats according to each standard (eg, MPEG-1, MPEG-2, MPEG-4, MPEG-4 AVC, etc.) can be decoded using the same information recognition scheme.

Video compression, 통합 코덱, VCTR, MPEG, AVC, Toolbox, Functional Unit, Connection, Video compression, integrated codec, VCTR, MPEG, AVC, Toolbox, Functional Unit, Connection,

Description

디코딩 솔루션을 구비한 비트스트림 디코딩 장치 및 방법{Bitstream decoding device and method having decoding solution}Bitstream decoding device and method having decoding solution

도 1은 일반적인 복호화기의 구성을 개략적으로 나타낸 도면.1 is a diagram schematically showing a configuration of a general decoder.

도 2는 일반적인 부호화기의 구성을 개략적으로 나타낸 도면이다.2 is a diagram schematically illustrating a configuration of a general encoder.

도 3은 본 발명의 일 실시예에 따른 복호화기의 구성을 개략적으로 나타낸 도면.3 is a diagram schematically illustrating a configuration of a decoder according to an embodiment of the present invention.

도 4는 본 발명의 일 실시예에 따른 확장 비트스트림(extended bit-stream)의 구성을 간략히 나타낸 도면. 4 is a diagram schematically illustrating a configuration of an extended bit-stream according to an embodiment of the present invention.

도 5는 본 발명의 일 실시예에 따른 디코딩 처리 유닛의 구성을 개략적으로 나타낸 도면.5 is a diagram schematically showing a configuration of a decoding processing unit according to an embodiment of the present invention.

도 6은 본 발명의 다른 실시예에 따른 디코딩 처리 유닛의 구성을 개략적으로 나타낸 도면. 6 is a diagram schematically showing a configuration of a decoding processing unit according to another embodiment of the present invention.

도 7은 본 발명의 일 실시예에 따른 syntax 파싱을 위한 기능부들의 예를 나타낸 도면.7 illustrates an example of functional units for syntax parsing according to an embodiment of the present invention.

도 8은 본 발명의 일 실시예에 따른 디코딩 처리를 위한 기능부들의 예를 나타낸 도면.8 illustrates an example of functional units for decoding processing according to an embodiment of the present invention.

도 9는 본 발명의 제1 실시예에 따른 확장 비트스트림의 구성을 나타낸 도면.9 illustrates a configuration of an extended bitstream according to the first embodiment of the present invention.

도 10은 본 발명의 제2 실시예에 따른 확장 비트스트림의 구성을 나타낸 도면.10 illustrates a configuration of an extended bitstream according to the second embodiment of the present invention.

도 11은 본 발명의 제3 실시예에 따른 확장 비트스트림의 구성을 나타낸 도면.11 illustrates a configuration of an extended bitstream according to the third embodiment of the present invention.

도 12는 본 발명의 제4 실시예에 따른 확장 비트스트림의 구성을 나타낸 도면.12 is a diagram showing the configuration of an extended bitstream according to the fourth embodiment of the present invention.

도 13은 본 발명의 제5 실시예에 따른 확장 비트스트림의 구성을 나타낸 도면.13 is a diagram showing the configuration of an extended bitstream according to the fifth embodiment of the present invention.

도 14는 본 발명의 제6 실시예에 따른 확장 비트스트림의 구성을 나타낸 도면.14 is a diagram showing the configuration of an extended bitstream according to the sixth embodiment of the present invention;

도 15는 본 발명의 제7 실시예에 따른 확장 비트스트림의 구성을 나타낸 도면.15 is a diagram showing the configuration of an extended bitstream according to the seventh embodiment of the present invention;

도 16은 본 발명의 제8 실시예에 따른 확장 비트스트림의 구성을 나타낸 도면.16 is a diagram showing the configuration of an extended bitstream according to an eighth embodiment of the present invention;

도 17은 본 발명의 일 실시예에 따른 부호화기의 블록 구성도.17 is a block diagram of an encoder according to an embodiment of the present invention.

도 18 내지 도 57은 각 부분 디코더 디스크립션들의 구성 예를 나타낸 도면.18 to 57 show examples of configurations of respective partial decoder descriptions.

본 발명은 비트스트림 디코딩 방법 및 장치에 관한 것으로서, 보다 상세하게는 디코딩 솔루션을 구비한 비트스트림 디코딩 방법 및 장치에 관한 것이다.The present invention relates to a bitstream decoding method and apparatus, and more particularly, to a bitstream decoding method and apparatus having a decoding solution.

일반적으로 동영상은 부호화기(encoder, 인코더)에 의해 비트스트림(Bit-stream) 형태로 변환된다. 이때, 비트스트림은 부호화기의 제약 조건을 만족하는 부호화 유형에 따라 저장된다. In general, a video is converted into a bitstream form by an encoder. In this case, the bitstream is stored according to an encoding type satisfying the constraint of the encoder.

MPEG은 비트스트림의 제약 조건으로서 구문(syntax, 이하 'syntax'라 칭함) 및 의미(semantics, 이하 'semantics'라 칭함)를 요구한다. MPEG requires syntax (hereinafter referred to as 'syntax') and semantics (hereinafter referred to as 'semantics') as constraints of the bitstream.

syntax는 데이터의 구조나 형식 및 길이를 나타내며, 데이터가 어떤 순서로 표현되는지를 나타낸다. 즉, syntax는 부호화(encoding)/복호화(decoding) 작업을 위한 문법을 맞추기 위한 것으로, 비트스트림에 포함된 각 요소들(elements)의 순서와 각 요소의 길이, 데이터 형식 등을 정의한다. syntax indicates the structure, format, and length of the data, and in what order the data is represented. That is, syntax is to fit a grammar for encoding / decoding, and defines the order of each element included in the bitstream, the length of each element, and the data format.

Semantics는 데이터를 구성하는 각 비트가 의미하는 뜻을 나타낸다. 즉, semantics는 비트스트림 내의 각 요소들의 의미가 무엇인지를 나타낸다.Semantics means what each bit of data means. That is, the semantics indicate what the meaning of each element in the bitstream is.

따라서, 부호화기의 부호화 조건 또는 적용된 표준(또는 코덱)에 따라 다양한 형태의 비트스트림이 생성될 수 있다. 일반적으로 각 표준(예를 들어 MPEG-1, MPEG-2, MPEG-4, MPEG-4 AVC 등)은 각각 상이한 비트스트림 syntax를 가진다. Therefore, various types of bitstreams may be generated according to encoding conditions of an encoder or an applied standard (or codec). In general, each standard (eg MPEG-1, MPEG-2, MPEG-4, MPEG-4 AVC, etc.) has a different bitstream syntax.

따라서, 각 표준이나 부호화 조건에 따라 부호화된 비트스트림은 각각 다른 형식(즉, syntax 및 semantics)을 가진다고 할 수 있으며, 해당 비트스트림의 복호 화를 위해서는 부호화기에 대응되는 복호화기가 사용되어야 한다. Accordingly, bitstreams encoded according to each standard or encoding condition may have different formats (ie, syntax and semantics), and a decoder corresponding to an encoder should be used to decode the corresponding bitstream.

상술한 바와 같이, 종래의 비트스트림 복호화기는 부호화기의 제약 조건을 만족하여야 하는 제한이 있었으며, 이러한 제한은 복수의 표준에 대응되는 통합 복호화기를 구현하기 어려운 원인이 된다.As described above, the conventional bitstream decoder has a limitation of satisfying the constraints of the encoder, and this limitation causes a difficulty in implementing an integrated decoder corresponding to a plurality of standards.

따라서 본 발명은 상술한 문제점을 해결하기 위한 것으로, 각 표준(예를 들어, MPEG-1, MPEG-2, MPEG-4, MPEG-4 AVC 등)에 따른 다양한 형식(syntax, semantics)으로 부호화된 비트스트림을 동일한 정보 인식 방식으로 복호화(decoding)할 수 있는 디코딩 솔루션을 구비한 비트스트림 디코딩 장치 및 방법을 제공하기 위한 것이다.Accordingly, the present invention is to solve the above-described problem, and is encoded in various formats (syntax, semantics) according to each standard (for example, MPEG-1, MPEG-2, MPEG-4, MPEG-4 AVC, etc.) An object of the present invention is to provide a bitstream decoding apparatus and method having a decoding solution capable of decoding a bitstream in the same information recognition scheme.

본 발명은 다양한 부호화 방식으로 압축된 비트스트림을 동일한 정보 분석 방법에 의해 파싱(parsing)하고, 파싱된 데이터를 이용하여 복호화를 위한 각 기능부(FU, Functional Unit)들을 유기적으로 제어할 수 있는 디코딩 솔루션을 구비한 비트스트림 디코딩 장치 및 방법을 제공하기 위한 것이다.The present invention parses a bitstream compressed by various encoding schemes using the same information analysis method, and decodes organically controlled functional units (FU) for decoding using the parsed data. To provide a bitstream decoding apparatus and method having a solution.

본 발명은 다양한 형태의 비트스트림을 복호화하기 위한 syntax 해석 방법을 공통적으로 적용할 수 있는 디코딩 솔루션을 구비한 비트스트림 디코딩 장치 및 방법을 제공하기 위한 것이다.An object of the present invention is to provide an apparatus and method for decoding a bitstream having a decoding solution that can commonly apply syntax interpretation methods for decoding various types of bitstreams.

본 발명은 다양한 형태의 비트스트림을 공통된 Syntax 해석 방법으로 파싱할 수 있도록 하기 위한 새로운 명령어들의 집합을 적용할 수 있는 디코딩 솔루션을 구비한 비트스트림 디코딩 장치 및 방법을 제공하기 위한 것이다.The present invention provides a bitstream decoding apparatus and method having a decoding solution that can apply a new set of instructions for parsing various types of bitstreams using a common syntax analysis method.

본 발명은 syntax 엘리먼트의 변경이나 추가, 삭제 시에도 복호화기가 용이하게 비트스트림을 복호화할 수 있는 디코딩 솔루션을 구비한 비트스트림 디코딩 장치 및 방법을 제공하기 위한 것이다.The present invention provides a bitstream decoding apparatus and method having a decoding solution that can easily decode a bitstream even when a syntax element is changed, added, or deleted.

본 발명은 해석된 syntax의 엘리먼트 정보(element information, 즉 syntax 파싱에 의한 결과물)를 비트스트림 복호화를 위해 이용되는 구성 요소들이 공유할 수 있도록 하는 디코딩 솔루션을 구비한 비트스트림 디코딩 장치 및 방법을 제공하기 위한 것이다.The present invention provides a bitstream decoding apparatus and method having a decoding solution that allows the components used for bitstream decoding to share element information (ie, the result of syntax parsing) of parsed syntax. It is for.

본 발명은 해석된 syntax의 엘리먼트 정보를 후속하는 비트스트림 syntax 엘리먼트의 해석을 위해 이용할 수 있도록 하는 디코딩 솔루션을 구비한 비트스트림 디코딩 장치 및 방법을 제공하기 위한 것이다.The present invention is directed to a bitstream decoding apparatus and method having a decoding solution that makes it possible to use element information of an interpreted syntax for interpretation of subsequent bitstream syntax elements.

본 발명은 여러 표준(코덱)에서 제안하는 다양한 디코딩 방법을 구성하는 기능들을 각기 기능부(FU, Functional Unit) 단위로 구현하여 툴박스에 구비하는 디코딩 솔루션을 구비한 비트스트림 디코딩 장치 및 방법을 제공하기 위한 것이다.The present invention provides a bitstream decoding apparatus and method having a decoding solution included in a toolbox by implementing functions constituting various decoding methods proposed by various standards (codecs) in units of functional units (FU). It is for.

본 발명은 다양한 형태로 부호화 된 비트스트림을 복호화하기 위해 툴박스에서 필요한 기능부들만을 선별하여 로드(load)함으로써 미리 지정된 프로세스가 수행되도록 하는 디코딩 솔루션을 구비한 비트스트림 디코딩 장치 및 방법을 제공하기 위한 것이다.An object of the present invention is to provide a bitstream decoding apparatus and method having a decoding solution for performing a predetermined process by selecting and loading only functions required by a toolbox to decode a bitstream encoded in various forms. .

본 발명은 툴박스에 구비된 기능부의 변경이나 추가, 삭제가 가능한 디코딩 솔루션을 구비한 비트스트림 디코딩 장치 및 방법을 제공하기 위한 것이다.The present invention provides a bitstream decoding apparatus and method having a decoding solution capable of changing, adding, or deleting a functional unit included in a toolbox.

또한, 본 발명은 비트스트림 복호화를 위한 코덱 통합에 관한 개념 및 구조에 대한 국제 표준화를 달성하기 위한 것이며, 그 외의 다른 본 발명의 목적들은 이하에 서술되는 바람직한 실시예를 통하여 보다 명확해질 것이다.In addition, the present invention is intended to achieve international standardization on the concept and structure of codec integration for bitstream decoding, and other objects of the present invention will become more apparent through the preferred embodiments described below.

상술한 목적을 달성하기 위하여 본 발명의 일 측면에 따르면, 다양한 표준에 범용적으로 이용될 수 있는 부호화기/복호화기 및/또는 통합 코덱 장치가 제공된다.According to an aspect of the present invention to achieve the above object, there is provided an encoder / decoder and / or integrated codec device that can be used universally in various standards.

본 발명의 일 실시예에 따른 복호화 장치는, 디스크립션 저장부에 저장된 부분 디코더 디스크립션들(partial decoder descriptions)을 이용하여 CSCI 제어 정보 및 연결 제어 정보를 생성하여 출력하는 디코더 형성부; 미리 설정된 프로세스를 각각 수행하도록 구현된 복수의 기능부를 포함하는 툴박스(Tool-Box); 및 상기 CSCI 제어 정보 및 상기 연결 제어 정보를 이용하여 상기 툴박스에 구비된 복수의 기능부들을 선택적으로 로드(load)하여 비트스트림을 동영상 데이터로 디코딩하는 디코딩 솔루션을 포함할 수 있다.In accordance with another aspect of the present invention, a decoding apparatus includes: a decoder forming unit configured to generate and output CSCI control information and connection control information using partial decoder descriptions stored in a description storage unit; A tool box including a plurality of functional units implemented to perform a predetermined process, respectively; And a decoding solution that selectively loads a plurality of functional units included in the toolbox by using the CSCI control information and the connection control information to decode the bitstream into video data.

상기 복호화 장치는, 입력된 인코딩된 디코더 디스크립션을 디코딩하여 디코더 디스크립션을 생성하고, 상기 디코더 디스크립션으로부터 분리한 복수의 부분 디코더 디스크립션들을 상기 디스크립션 저장부에 저장하는 디스크립션 디코더를 더 포함할 수 있다.The decoding apparatus may further include a description decoder that decodes an input encoded decoder description to generate a decoder description and stores a plurality of partial decoder descriptions separated from the decoder description in the description storage unit.

상기 툴박스에는 상기 비트스트림의 syntax 파싱을 수행하는 하나 이상의 파 싱 기능부와 상기 비트스트림의 디코딩 처리를 위한 복수의 디코딩 기능부들이 구비될 수 있다.The toolbox may include one or more parsing functions for parsing the bitstream and a plurality of decoding functions for decoding the bitstream.

상기 디코더 형성부는, 임의의 부분 디코더 디스크립션에 기술된 복수의 기능부들이 상기 툴박스에 구비되었는지 여부를 판단하는 FU 확인부; 및 상기 부분 디코더 디스크립션들을 이용하여 상기 CSCI 제어 정보 및 연결 제어 정보를 생성하는 정보 가공부를 포함할 수 있다.The decoder forming unit may include: an FU checking unit that determines whether a plurality of functional units described in an arbitrary partial decoder description are provided in the tool box; And an information processor configured to generate the CSCI control information and connection control information using the partial decoder descriptions.

상기 디코딩 솔루션은, 상기 복수의 기능부 중 하나 이상의 기능부의 프로세스 수행에 의한 상기 비트스트림의 신택스 파싱(syntax parsing)에 의해 생성된 복수의 엘리먼트 정보가 저장되는 CSCI(Control Signal/Context Information) 저장부; 및 상기 CSCI 제어 정보 및 상기 연결 제어 정보를 참조하여 복수의 기능부들에 대한 선택적 로드를 통해 각 기능부의 동작을 제어하는 연결 제어부를 포함할 수 있다.The decoding solution may include a control signal / context information (CSCI) storage unit configured to store a plurality of element information generated by syntax parsing of the bitstream by performing a process of at least one of the plurality of functional units. ; And a connection controller for controlling the operation of each functional unit through selective loading of a plurality of functional units with reference to the CSCI control information and the connection control information.

상기 디코딩 솔루션은, 상기 복수의 기능부 중 하나 이상의 기능부의 프로세스 수행에 의한 상기 비트스트림의 신택스 파싱(syntax parsing)에 의해 생성된 복수의 엘리먼트 정보가 저장되는 CSCI(Control Signal/Context Information) 저장부; 상기 CSCI 제어 정보에 따라 상기 비트스트림의 syntax 파싱을 수행하는 하나 이상의 파싱 기능부; 및 상기 연결 제어 정보를 참조하여 복수의 기능부들에 대한 선택적 로드를 통해 각 기능부의 동작을 제어하는 연결 제어부를 포함할 수 있다. 여기서, 상기 툴박스에는 상기 비트스트림의 디코딩 처리를 위한 복수의 디코딩 기능부들이 구비될 수 있다.The decoding solution may include a control signal / context information (CSCI) storage unit configured to store a plurality of element information generated by syntax parsing of the bitstream by performing a process of at least one of the plurality of functional units. ; At least one parsing function to parse syntax of the bitstream according to the CSCI control information; And a connection controller for controlling the operation of each functional unit through selective loading of a plurality of functional units with reference to the connection control information. Here, the toolbox may be provided with a plurality of decoding functions for decoding the bitstream.

상기 디코딩 솔루션은 하나 이상의 기능부가 로드되어 동작되도록 하기 위한 작업 메모리를 포함할 수 있다.The decoding solution may comprise a working memory for causing one or more functional units to be loaded and operated.

상기 기능부 각각에 대해 미리 지정된 프로세스는 상기 비트스트림의 디코딩을 위해 복수의 표준들에 의해 제안된 기능들 각각을 독립적으로 수행하도록 구현될 수 있다.The predetermined process for each of the functional units may be implemented to independently perform each of the functions proposed by a plurality of standards for decoding the bitstream.

상기 인코딩된 디코더 디스크립션과 상기 비트스트림이 통합된 통합 비트스트림으로 입력되는 경우, 상기 복호화 장치는 상기 인코딩된 디코더 디스크립션과 상기 비트스트림을 분리하여 출력하는 분리부를 더 포함할 수 있다.When the encoded decoder description and the bitstream are input as a unified integrated bitstream, the decoding apparatus may further include a separation unit for separating and outputting the encoded decoder description and the bitstream.

상기 인코딩된 비디오 데이터가 복수의 표준에 의해 인코딩된 경우, 상기 디코딩 솔루션은 상기 연결 제어 정보를 참조하여 복수의 표준에 따른 프로세스를 수행하는 복수의 기능부를 순차적으로 연결하여 상기 동영상 데이터를 생성하여 출력할 수 있다.When the encoded video data is encoded by a plurality of standards, the decoding solution generates and outputs the video data by sequentially connecting a plurality of functional units performing a process according to a plurality of standards with reference to the connection control information. can do.

상기 부분 디코더 디스크립션들은 비트스트림 신택스(syntax)에 대한 정보 및 상기 비트스트림 신택스에 상응하는 엘리먼트 정보를 생성하기 위한 프로세스를 나타내는 SET(Syntax Element Table), 상기 비트스트림 신택스간의 연결 정보를 나타내는 S-RT(Syntax - Rule Table), 상기 엘리먼트 정보에 대한 상세 정보를 나타내는 CSCIT(Control Signal and Context Information Table), 복수의 기능부(FU)들의 순차적 선택을 위한 F-RT(FU-Rule Table), 상기 기능부들의 리스트를 나타내는 FL(FU List), 상기 선택된 기능부에 입력될 엘리먼트 정보를 나타내는 FU-CSCIT일 수 있다. 엔트로피 코딩(entropy coding)시의 실제 값과 코드값의 관계를 나타내는 DVT(Default Value Table)가 상기 부분 디코더 디스크립션으로 더 저장될 수 있다.The partial decoder descriptions are a Syntax Element Table (SET) representing a process for generating information about bitstream syntax and element information corresponding to the bitstream syntax, and an S-RT indicating connection information between the bitstream syntax. (Syntax-Rule Table), CSCIT (Control Signal and Context Information Table) indicating detailed information on the element information, F-RT (Fu-Rule Table) for sequential selection of a plurality of functional units (FU), the function FL (FU List) indicating a list of parts, FU-CSCIT indicating element information to be input to the selected functional unit. A DVT (Default Value Table) indicating the relationship between the actual value and the code value during entropy coding may be further stored as the partial decoder description.

상기 SET(Syntax Element Table), 상기 S-RT(Syntax - Rule Table) 및 상기 F-RT(FU-Rule Table)는 파일 포인터를 이동하여 k(임의의 자연수) 비트를 독출하는 리드(READ) 명령, 파일 포인터 이동없이 k 비트를 독출하는 시크(SEEK) 명령, 파일 포인터에서 k비트 만큼 파일 포인트를 이동하는 플러시(FLUSH) 명령, 인덱스간의 분기를 지시하는 고(GO) 명령, 엘리먼트 정보의 플래그를 설정하는 세트(SET) 명령 중 하나 이상을 포함하여 구성될 수 있다.The SET (Syntax Element Table), the S-RT (Syntax-Rule Table), and the F-RT (FU-Rule Table) read a k (arbitrary natural number) bit by moving a file pointer. Instructions, a seek command that reads k bits without moving the file pointer, a flush command that moves file points by k bits from the file pointer, a GO instruction that indicates a branch between indexes, and element information. It may be configured to include one or more of the set (SET) command to set the flag.

상기 연결 제어부에 의해 로드된 기능부는 미리 지정된 엘리먼트 정보, 직전에 로드된 기능부에 의한 출력 데이터 중 하나 이상을 입력 데이터로 하는 미리 지정된 프로세스를 수행할 수 있다.The function unit loaded by the connection control unit may perform a predetermined process of using one or more of predetermined element information and output data by the function unit loaded immediately before as input data.

상기 파싱 기능부는 상기 CSCI 제어 정보를 이용하여 엘리먼트 정보를 생성할 수 있다.The parsing function unit may generate element information using the CSCI control information.

상기 디코딩 디스크립션은 하나 이상의 부분 디코더 디스크립션 영역들로 구성되고, 각 부분 디코더 디스크립션 영역에는 상응하는 부분 디코더 디스크립션을 생성 또는 인식하기 위한 정보가 삽입될 수 있다.The decoding description is composed of one or more partial decoder description regions, and information for generating or recognizing a corresponding partial decoder description may be inserted into each partial decoder description region.

상기 정보는 상기 비트스트림을 복호화하기 위한 코덱 번호(Codec No.), 프로파일 및 레벨 번호(Profile and level No.)에 상응하는 부분 디코더 디스크립션에 대한 지정 정보이고, 상기 디스크립션 디코더는 디스크립션 저장부에 미리 저장된 복수의 부분 디코더 디스크립션들 중 상기 지정 정보에 상응하는 n개의 테이블들을 선택할 수 있다.The information is designation information for a partial decoder description corresponding to a codec number (Codec No.), a profile and a level number (Profile and level No.) for decoding the bitstream, and the description decoder is previously described in the description storage unit. Among the plurality of stored partial decoder descriptions, n tables corresponding to the predetermined information may be selected.

하나 이상의 부분 디코더 디스크립션 영역들에 개별적으로 삽입되는 상기 정보는 각각의 부분 디코더 디스크립션을 구성하기 위한 바이너리 코드 정보를 포함하고, 상기 디스크립션 디코더는 상기 바이너리 코드 정보를 이용하여 n개의 부분 디코더 디스크립션들을 생성하여 디스크립션 저장부에 저장할 수 있다.The information inserted separately into one or more partial decoder description regions includes binary code information for configuring each partial decoder description, and the description decoder generates n partial decoder descriptions using the binary code information. Can be stored in the description storage.

복수의 부분 디코더 디스크립션 영역들 중 m(임의의 자연수)개의 부분 디코더 디스크립션 영역에는 상응하는 부분 디코더 디스크립션에 대한 코덱 번호(Codec No.)와 프로파일 및 레벨 번호(Profile and level No.)에 상응하는 지정 정보가 포함되고, k(n-m인 임의의 수)개의 부분 디코더 디스크립션 영역에는 상응하는 부분 디코더 디스크립션을 구성하기 위한 바이너리 코드 정보를 포함되며, 상기 디스크립션 디코더는 상기 디스크립션 저장부에 미리 저장된 복수의 부분 디코더 디스크립션들 중 상기 지정 정보에 상응하는 m개의 부분 디코더 디스크립션들을 추출하고, 상기 바이너리 코드 정보를 이용하여 k개의 부분 디코더 디스크립션들을 생성하여 상기 디스크립션 저장부에 저장할 수 있다.M (arbitrary natural number) of the plurality of partial decoder description areas, the codec number (Codec No.) and the profile and level number (Profile and level No.) corresponding to the corresponding partial decoder description area designation. Information, wherein the k (any number being nm) partial decoder description area includes binary code information for constructing a corresponding partial decoder description, wherein the description decoder includes a plurality of partial decoders previously stored in the description storage unit. M partial decoder descriptions corresponding to the specified information among the descriptions may be extracted, and k partial decoder descriptions may be generated using the binary code information and stored in the description storage unit.

상기 SET, 상기 CSCIT, 상기 S-RT 및 상기 DVT를 이용하여 상기 CSCI 제어 정보가 생성되고, 상기 FL, 상기 F-RT, 상기 FU-CSCIT 및 상기 CSCIT를 이용하여 상기 연결 제어 정보가 생성될 수 있다.The CSCI control information may be generated using the SET, the CSCIT, the S-RT, and the DVT, and the connection control information may be generated using the FL, the F-RT, the FU-CSCIT, and the CSCIT. have.

본 발명의 다른 실시예에 따른 부호화 장치는, 입력된 동영상을 복수의 기능부들을 순차적으로 이용하여 미리 지정된 부호화 방식에 따른 비트스트림으로 변환하는 인코딩부; 및 상기 비트스트림의 신택스 정보 및 상기 기능부들의 연결 관계(connection)에 따른 디스크립션 정보를 생성하는 디스크립션 정보 생성부를 포함할 수 있다. 상기 비트스트림 및 상기 디스크립션 정보는 복호화 장치로 제공되될 수 있다.According to another aspect of the present invention, there is provided an encoding apparatus, including: an encoding unit configured to convert an input video into a bitstream according to a predetermined encoding scheme using a plurality of functional units in sequence; And a description information generator for generating description information according to a connection relationship between the syntax information of the bitstream and the functional units. The bitstream and the description information may be provided to a decoding apparatus.

본 발명의 또 다른 실시예에 따른 복호화 장치는, 디스크립션 저장부에 저장된 부분 디코더 디스크립션들(partial decoder descriptions)을 이용하여 CSCI 제어 정보 및 연결 제어 정보를 생성하여 출력하는 디코더 형성부; 및 상기 CSCI 제어 정보 및 상기 연결 제어 정보를 이용하여, 복수의 기능부들을 선택적으로 로드(load)하여 비트스트림을 동영상 데이터로 디코딩하는 디코딩 솔루션을 포함할 수 있다.According to still another aspect of the present invention, a decoding apparatus includes: a decoder forming unit configured to generate and output CSCI control information and connection control information using partial decoder descriptions stored in a description storage unit; And a decoding solution that selectively loads a plurality of functional units by using the CSCI control information and the connection control information to decode the bitstream into video data.

상술한 목적을 달성하기 위하여 본 발명의 다른 측면에 따르면, 다양한 표준에 범용적으로 이용될 수 있는 복호화 방법/부호화 방법 및/또는 그 방법의 실행을 위한 프로그램이 기록된 기록매체가 제공된다.According to another aspect of the present invention for achieving the above object, there is provided a decoding method / encoding method that can be used universally in various standards and / or a recording medium on which a program for executing the method is recorded.

본 발명의 일 실시예에 따른 복호화 방법은, (a) 입력된 디코더 디스크립션에 상응하는 복수의 부분 디코더 디스크립션을 생성하여 저장하는 단계; (b) 상기 부분 디코더 디스크립션들을 이용하여 CSCI 제어 정보 및 연결 제어 정보를 생성하는 단계; (c) 상기 CSCI 제어 정보를 이용하여 비트스트림의 신택스 파싱(syntax parsing)에 의해 생성된 복수의 엘리먼트 정보를 저장부에 저장하는 단계; 및 (d) 상기 연결 제어 정보 및 상기 엘리먼트 정보를 이용하여 상기 비트스트림의 인코딩된 비디오 데이터를 동영상 데이터로 디코딩하여 출력하는 단계를 포함할 수 있다.According to an embodiment of the present invention, a decoding method includes: (a) generating and storing a plurality of partial decoder descriptions corresponding to an input decoder description; (b) generating CSCI control information and connection control information using the partial decoder descriptions; (c) storing a plurality of element information generated by syntax parsing of a bitstream using the CSCI control information in a storage unit; And (d) decoding and outputting encoded video data of the bitstream into moving image data using the connection control information and the element information.

상기 단계 (c) 및 상기 단계 (d)는 상기 CSCI 제어 정보 또는 상기 연결 제 어 정보를 참조하여 연결 제어부가 툴박스(Tool-Box)에 구비된 복수의 기능부들 중 선택적 로드한 기능부에 의해 각각 실행될 수 있다.The step (c) and the step (d) may be performed by the functional control unit selectively loaded among the plurality of functional units provided in the toolbox by the connection controller with reference to the CSCI control information or the connection control information. Can be executed.

상기 단계 (d)는 상기 연결 제어부의 선택적 로드에 의해 동작 개시된 복수의 기능부들의 프로세스 수행에 따른 결과가 상기 동영상 데이터가 될 때까지 반복적으로 수행될 수 있다.Step (d) may be repeatedly performed until a result of the process of the plurality of functional units started by selective loading of the connection controller becomes the video data.

상기 기능부 각각의 미리 지정된 프로세스는 상기 비트스트림의 디코딩을 위해 복수의 표준들에 의해 제안된 기능들 각각을 독립적으로 수행하도록 구현될 수 있다.The predetermined process of each of the functional units may be implemented to independently perform each of the functions proposed by a plurality of standards for decoding the bitstream.

순차적으로 로드되는 복수의 기능부 중 선행하는 기능부의 결과 데이터는 후행하는 기능부에 의해 접근될 수 있는 버퍼 메모리에 기록될 수 있다.The result data of the preceding functional unit among the plurality of functional units loaded sequentially may be written to a buffer memory accessible by the subsequent functional unit.

상기 연결 제어부는 순차적으로 로드되는 복수의 기능부 중 선행하는 기능부의 결과 데이터를 후행하는 기능부의 입력 데이터로 제공할 수 있다.The connection control unit may provide result data of a preceding functional unit among the plurality of sequentially loaded functional units as input data of a subsequent functional unit.

상기 부분 디코더 디스크립션들은 비트스트림 신택스(syntax)에 대한 정보 및 상기 비트스트림 신택스에 상응하는 엘리먼트 정보를 생성하기 위한 프로세스를 나타내는 SET(Syntax Element Table), 상기 비트스트림 신택스간의 연결 정보를 나타내는 S-RT(Syntax - Rule Table), 상기 엘리먼트 정보에 대한 상세 정보를 나타내는 CSCIT(Control Signal and Context Information Table), 상기 기능부들의 리스트를 나타내는 FL(FU List), 상기 기능부들의 순차적 선택을 위한 F-RT(FU-Rule Table), 상기 선택된 기능부에 입력될 엘리먼트 정보를 나타내는 FU-CSCIT일 수 있다. 엔트로피 코딩(entropy coding)시의 실제 값과 코드값의 관계를 나타내는 DVT(Default Value Table)가 더 포함될 수 있다.The partial decoder descriptions are a Syntax Element Table (SET) representing a process for generating information about bitstream syntax and element information corresponding to the bitstream syntax, and an S-RT indicating connection information between the bitstream syntax. (Syntax-Rule Table), CSCIT (Control Signal and Context Information Table) representing detailed information about the element information, FL (FU List) representing the list of the functional units, F-RT for sequential selection of the functional units (FU-Rule Table) may be an FU-CSCIT indicating element information to be input to the selected functional unit. A DVT (Default Value Table) indicating a relationship between an actual value and a code value during entropy coding may be further included.

상기 SET, 상기 CSCIT, 상기 S-RT 및 상기 DVT를 이용하여 상기 CSCI 제어 정보가 생성되고, 상기 FL, 상기 F-RT, 상기 FU-CSCIT 및 상기 CSCIT를 이용하여 상기 연결 제어 정보가 생성될 수 있다.The CSCI control information may be generated using the SET, the CSCIT, the S-RT, and the DVT, and the connection control information may be generated using the FL, the F-RT, the FU-CSCIT, and the CSCIT. have.

상기 디코더 디스크립션은 독립된 데이터 또는 비트스트림 형태로 입력될 수 있다. 상기 디코더 디스크립션은 상기 비트스트림과 통합된 통합 비트스트림의 형태로 입력될 수도 있다.The decoder description may be input in the form of independent data or bitstream. The decoder description may be input in the form of an integrated bitstream integrated with the bitstream.

본 발명의 다른 실시예에 따르면, 복호화 방법을 수행하기 위해 복호화 장치에서 실행될 수 있는 명령어들의 프로그램이 유형적으로 구현되어 있으며, 상기 복호화 장치에 의해 판독될 수 있는 프로그램이 기록된 기록 매체에 있어서, 입력된 디코더 디스크립션에 상응하는 복수의 부분 디코더 디스크립션을 생성하여 저장하는 단계; 상기 부분 디코더 디스크립션들을 이용하여 CSCI 제어 정보 및 연결 제어 정보를 생성하는 단계; 상기 CSCI 제어 정보를 이용하여 비트스트림의 신택스 파싱(syntax parsing)에 의해 생성된 복수의 엘리먼트 정보를 저장부에 저장하는 단계; 및 상기 연결 제어 정보 및 상기 엘리먼트 정보를 이용하여 상기 비트스트림의 인코딩된 비디오 데이터를 동영상 데이터로 디코딩하여 출력하는 단계를 실행하는 것을 특징으로 하는 프로그램을 기록한 기록매체가 제공된다.According to another embodiment of the present invention, a program of instructions that can be executed in a decoding apparatus to perform a decoding method is tangibly implemented, and in a recording medium in which a program that can be read by the decoding apparatus is recorded, Generating and storing a plurality of partial decoder descriptions corresponding to the decoded decoder descriptions; Generating CSCI control information and connection control information using the partial decoder descriptions; Storing a plurality of element information generated by syntax parsing of a bitstream using the CSCI control information in a storage unit; And decoding and outputting encoded video data of the bitstream into moving image data using the connection control information and the element information.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will herein be described in detail. It should be understood, however, that the invention is not intended to be limited to the particular embodiments, but includes all modifications, equivalents, and alternatives falling within the spirit and scope of the invention.

제1, 제2 등과 같이 서수를 포함하는 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되지는 않는다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다. 및/또는 이라는 용어는 복수의 관련된 기재된 항목들의 조합 또는 복수의 관련된 기재된 항목들 중의 어느 항목을 포함한다. Terms including ordinals, such as first, second, etc., may be used to describe various elements, but the elements are not limited to these terms. The terms are used only for the purpose of distinguishing one component from another. For example, without departing from the scope of the present invention, the first component may be referred to as a second component, and similarly, the second component may also be referred to as a first component. And / or < / RTI > includes any combination of a plurality of related listed items or any of a plurality of related listed items.

어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다. When a component is referred to as being "connected" or "connected" to another component, it may be directly connected to or connected to that other component, but it may be understood that other components may be present in between. Should be. On the other hand, when an element is referred to as being "directly connected" or "directly connected" to another element, it should be understood that there are no other elements in between.

본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.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 the present application, the terms "comprises" or "having" and the like are used to specify that there is a feature, a number, a step, an operation, an element, a component or a combination thereof described in the specification, But do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, or combinations thereof.

다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥 상 가지는 의미와 일치하는 의미를 가지는 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.Unless defined otherwise, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. Terms such as those defined in commonly used dictionaries are to be interpreted as having a meaning consistent with the contextual meaning of the related art and are to be interpreted as either ideal or overly formal in the sense of the present application Do not.

이하, 첨부한 도면들을 참조하여 본 발명에 따른 통합 코덱 방법 및 장치의 바람직한 실시예를 상세히 설명하기로 하며, 첨부 도면을 참조하여 설명함에 있어 도면 부호에 상관없이 동일하거나 대응하는 구성 요소는 동일한 참조번호를 부여하고 이에 대한 중복되는 설명은 생략할 수 있다.Hereinafter, preferred embodiments of the integrated codec method and apparatus according to the present invention will be described in detail with reference to the accompanying drawings. In the following description with reference to the accompanying drawings, the same or corresponding components are identified by the same reference numerals. Numbering and overlapping descriptions thereof may be omitted.

도 1은 일반적인 복호화기의 구성을 개략적으로 나타낸 도면이고, 도 2는 일반적인 부호화기의 구성을 개략적으로 나타낸 도면이다.FIG. 1 is a diagram schematically showing a configuration of a general decoder, and FIG. 2 is a diagram schematically showing a configuration of a general encoder.

도 1에 도시된 바와 같이, 일반적으로 MPEG-4 복호화기(100)는 가변장 디코딩부(Variable Length Decoding, 110), 역 스캔부(Inverse Scan, 115), 역 DC/AC 예측부(Inverse DC/AC Prediction, 120), 역 양자화부(Inverse Quantization, 125), 역 DCT부(Inverse Discrete Cosine Transform, 역 이산 여현 변환부, 130), 동영상 복원부(VOP Reconstruction, 135)를 포함한다. 복호화기(100)의 구성은 적용되는 표준에 따라 상이할 수 있음은 자명하며, 또한 일부 구성요소는 타 구성요소로 대체될 수도 있을 것이다.As shown in FIG. 1, the MPEG-4 decoder 100 generally includes a variable length decoding unit 110, an inverse scan unit 115, and an inverse DC / AC prediction unit. / AC Prediction (120), Inverse Quantization (125), Inverse Discrete Cosine Transform (Inverse Discrete Cosine Transformation, 130), and Video Restoration (VOP Reconstruction, 135). It is apparent that the configuration of the decoder 100 may be different according to the applied standard, and some components may be replaced with other components.

전달된 비트스트림(105)이 syntax 파싱(parsing)되어 헤더 정보 및 인코딩된 영상 데이터(encoded video data)가 추출되면, 가변장 디코딩부(110)는 미리 설정된 허프만 테이블(Huffman Table)을 이용하여 양자화된 DCT 계수를 만들고, 역 스캔부(115)는 역 스캔을 수행하여 동영상(140)과 동일한 순서의 데이터를 생성한다. 즉, 역 스캔부(115)는 인코딩시 여러 가지 방법으로 스캔된 순서의 역으로, 값을 출력한다. 인코딩 시 양자화(Quantization)를 수행한 후, 주파수 대역 값의 분포에 따라 스캔 방향이 정의될 수 있다. 일반적으로는 지그-재그(zig-zag) 스캔 방식이 사용되나, 스캔 방식은 코덱별로 다양할 수 있다. When the transmitted bitstream 105 is parsed and parsed to extract header information and encoded video data, the variable length decoding unit 110 quantizes the Huffman table using a preset Huffman Table. The inverse scan unit 115 performs the inverse scan to generate data in the same order as the moving image 140. That is, the inverse scan unit 115 outputs a value in reverse of the order of scanning in various ways during encoding. After quantization is performed during encoding, a scan direction may be defined according to a distribution of frequency band values. In general, a zig-zag scan method is used, but the scan method may vary by codec.

Syntax 파싱은 가변장 디코딩부(110)에서 통합적으로 수행되거나, 가변장 디코딩부(110)에 선행하여 비트스트림(105)을 처리하는 임의의 구성 요소에서 수행될 수 있다. 이 경우, Syntax 파싱은 부호화기와 복호화기간에 적용되는 표준이 동일하므로 해당 표준에 상응하도록 미리 지정된 기준에 의해서만 처리된다.Syntax parsing may be performed integrally in the variable length decoding unit 110 or may be performed in any component that processes the bitstream 105 prior to the variable length decoding unit 110. In this case, since syntax parsing is the same as that of the standard applied to the encoder and the decoding period, the syntax parsing is performed only by a predetermined standard corresponding to the standard.

역 DC/AC 예측부(120)는 주파수 대역에서 DCT 계수의 크기를 이용하여 예측을 위한 참조 블록의 방향성을 결정한다. The inverse DC / AC predictor 120 determines the direction of the reference block for prediction by using the magnitude of the DCT coefficient in the frequency band.

역 양자화부(125)는 역 스캔된 데이터를 역 양자화한다. 즉, 인코딩시 지정된 양자화값(QP, Quantization Parameter)을 이용하여 DC와 AC 계수를 환원한다. The inverse quantizer 125 inverse quantizes the inversely scanned data. That is, the DC and AC coefficients are reduced by using a quantization parameter (QP) specified during encoding.

역 DCT부(130)는 역 이산 여현 변환(Inverse Discrete Cosine Transform)을 수행함으로써 실제의 동영상 픽셀 값을 구하여 VOP(Video Object Plane)를 생성한다. The inverse DCT unit 130 performs an Inverse Discrete Cosine Transform to obtain an actual video pixel value to generate a VOP (Video Object Plane).

동영상 복원부(135)는 역 DCT부(130)에 의해 생성된 VOP를 이용하여 동영상 신호를 복원하여 출력한다. The moving picture restoring unit 135 restores the moving picture signal using the VOP generated by the inverse DCT unit 130 and outputs the restored moving picture signal.

도 2에 도시된 바와 같이, 일반적으로 MPEG-4 부호화기(200)는 DCT부(210), 양자화부(215), DC/AC 예측부(220), 스캔부(230), 가변장 인코딩부(235)를 포함한다. As shown in FIG. 2, the MPEG-4 encoder 200 generally includes a DCT unit 210, a quantizer 215, a DC / AC predictor 220, a scan unit 230, and a variable length encoder ( 235).

부호화기(200)에 포함된 각 구성요소는 각각 대응되는 복호화기(100)의 구성 요소의 역 기능을 수행하며, 이는 당업자에게 자명하다. 간단히 설명하면, 부호화기(200)는 동영상 신호(즉, 디지털 영상 픽셀 값)를 이산 여현 변환(Discrete Cosine Transform), 양자화(Quantization) 등을 통해 주파수 값으로 변환하여 부호화를 수행한 후, 이를 정보의 빈도 수에 따라 비트 길이를 차별화하는 가변장 인코딩을 수행하여 압축된 비트스트림 상태로 출력한다. Each component included in the encoder 200 performs the inverse function of each component of the corresponding decoder 100, which is obvious to those skilled in the art. In brief, the encoder 200 performs encoding by converting a video signal (ie, a digital image pixel value) into a frequency value through a discrete cosine transform, quantization, and the like, and then encoding the information. Variable length encoding that differentiates the bit length according to the frequency is performed and output in the compressed bitstream state.

도 3은 본 발명의 일 실시예에 따른 복호화기의 구성을 개략적으로 나타낸 도면이고, 도 4는 본 발명의 일 실시예에 따른 확장 비트스트림(extended bit-stream)의 구성을 간략히 나타낸 도면이다. 도 5는 본 발명의 일 실시예에 따른 디코딩 처리 유닛의 구성을 개략적으로 나타낸 도면이며, 도 6은 본 발명의 다른 실시예에 따른 디코딩 처리 유닛의 구성을 개략적으로 나타낸 도면이다. 도 7은 본 발명의 일 실시예에 따른 syntax 파싱을 위한 기능부들의 예를 나타낸 도면이며, 도 8은 본 발명의 일 실시예에 따른 디코딩 처리를 위한 기능부들의 예를 나타낸 도면이다.FIG. 3 is a diagram schematically illustrating a configuration of a decoder according to an embodiment of the present invention, and FIG. 4 is a diagram schematically illustrating a configuration of an extended bit-stream according to an embodiment of the present invention. 5 is a diagram schematically showing a configuration of a decoding processing unit according to an embodiment of the present invention, and FIG. 6 is a diagram schematically showing a configuration of a decoding processing unit according to another embodiment of the present invention. FIG. 7 illustrates an example of functional units for syntax parsing according to an embodiment of the present invention, and FIG. 8 illustrates an example of functional units for decoding processing according to an embodiment of the present invention.

도 3에 도시된 바와 같이, 본 발명에 따른 복호화기(300)는 종래의 복호화기(도 1 참조)와 상이한 구성을 가진다.As shown in FIG. 3, the decoder 300 according to the present invention has a configuration different from that of a conventional decoder (see FIG. 1).

즉, 본 발명에 따른 인코딩/디코딩 방법의 수행을 위해, 복호화기(300)로 디코더 디스크립션(decoder description)이 비트스트림과 함께 제공된다. 디코더 디스크립션은 비트스트림과 통합적으로 구현된 확장 비트스트림(305)의 형태로 복호화기(300)에 제공되거나, 독립된 데이터 형태로 복호화기(500)에 제공될 수 있다. 물론, 복호화기(500)의 특정 저장부에 디코더 디스크립션에 상응하는 계층 정보가 미리 저장된 경우라면, 디코더 디스크립션의 제공은 생략될 수도 있다. 다만, 이하에서는 해당 데이터가 확장 비트스트림 내에 포함되어 복호화기(500)로 제공되는 경우를 중심으로 설명하기로 한다.That is, to perform the encoding / decoding method according to the present invention, a decoder description is provided to the decoder 300 together with the bitstream. The decoder description may be provided to the decoder 300 in the form of an extended bitstream 305 integrated with the bitstream, or may be provided to the decoder 500 in the form of independent data. Of course, if hierarchical information corresponding to the decoder description is previously stored in a specific storage unit of the decoder 500, the provision of the decoder description may be omitted. However, hereinafter, the data will be described with reference to a case where the corresponding data is included in the extended bitstream and provided to the decoder 500.

본 발명의 일 실시예에 따른 복호화기(300)는 분리부(310) 및 디코딩 처리 유닛(320)을 포함한다. 도시된 복호화기(300)의 구성 요소(예를 들어, 분리부(310), 디코딩 처리 유닛(320) 자체 또는 디코딩 처리 유닛(320)에 포함된 하나 이상의 구성 요소 등) 중 하나 이상은 하기에서 설명될 기능을 수행하도록 구현된 소프트웨어 프로그램(또는 프로그램 코드들의 조합)으로 구현될 수도 있음은 자명하다.The decoder 300 according to an embodiment of the present invention includes a separator 310 and a decoding processing unit 320. One or more of the components of the decoder 300 shown (eg, the separation unit 310, the decoding processing unit 320 itself, or one or more components included in the decoding processing unit 320, etc.) are described below. It is apparent that the present invention may be implemented as a software program (or a combination of program codes) implemented to perform a function to be described.

분리부(310)는 입력된 확장 비트스트림(Extended Bit-stream, 305)을 인코딩된 디코더 디스크립션(Encoded Decoder Description)(313)과 일반적인 비트스트 림(316, 이하 '종래 비트스트림'이라 칭함)으로 분리하여 디코딩 처리 유닛(320)으로 각각 입력한다. The separation unit 310 converts the input extended bitstream 305 into an encoded decoder description 313 and a general bitstream 316 (hereinafter, referred to as a conventional bitstream). Separately input to the decoding processing unit 320, respectively.

분리부(310)는 인코딩된 디코더 디스크립션(313)을 디스크립션 디코더(505)로 입력하고, 종래 비트스트림(316)은 디코더 형성부(520)로 입력할 수 있다. 상술한 바와 같이, 인코딩된 디코더 디스크립션(313)과 종래 비트스트림(316)이 각각 독립된 데이터로 입력되는 경우 분리부(310)는 생략될 수 있다. 또한, 종래 비트스트림(316)은 앞서 도 1의 비트스트림(105)과 동일 또는 유사한 형식의 데이터일 수 있다.The separation unit 310 may input the encoded decoder description 313 to the description decoder 505, and the conventional bitstream 316 may be input to the decoder forming unit 520. As described above, when the encoded decoder description 313 and the conventional bitstream 316 are input as independent data, the separation unit 310 may be omitted. In addition, the conventional bitstream 316 may be data of the same or similar format as the bitstream 105 of FIG. 1.

확장 비트스트림(305)의 일 예가 도 4에 예시되어 있다. 도 4를 참조하면, 확장 비트스트림(305)은 디코더 디스크립션(313)과 종래 비트스트림(316)을 포함할 수 있다. 도 4의 확장 비트스트림(305) 및 인코딩된 디코더 디스크립션(313)에 대한 예시는 단지 설명 및 이해의 편의를 위한 것으로, 본 발명의 확장 비트스트림(305) 및/또는 인코딩된 디코더 디스크립션(313)의 형식이 이에 제한되지 않음은 자명하다. An example of an extended bitstream 305 is illustrated in FIG. 4. Referring to FIG. 4, the extended bitstream 305 may include a decoder description 313 and a conventional bitstream 316. The examples of the extended bitstream 305 and encoded decoder description 313 of FIG. 4 are for convenience of explanation and understanding only, and the extended bitstream 305 and / or encoded decoder description 313 of the present invention. It is obvious that the format of is not limited thereto.

인코딩된 디코더 디스크립션(313)이 디스크립션 디코더(505)에 의해 디코딩 처리된 디코더 디스크립션(590)은 다양한 부호화 방식에 의해 부호화된 비트스트림 및/또는 여러 기능들 중 사용자가 선택한 기능들을 이용하여 부호화된 비트스트림을 공통적 해석 방식에 의해 파싱하기 위하여 종래 비트스트림(316)의 구성 정보, 종래 비트스트림(316)이 부호화된 방식(또는 기능부(FU, Functional Unit)들간의 연결 정보), 특정 기능부에 대한 입출력 데이터 특정 등에 대한 정보이다. 디코더 디스크립션(590)은 textual description이나 binary description 등의 기술 방식으로 기술될 수 있다. 물론, 인코딩된 디코더 디스크립션(316)이 디스크립션 디코더(505)의 처리없이도 디코더 형성부(520)에 의해 인식될 수 있도록 구현된 경우라면 디스크립션 디코더(505)는 생략될 수 있다.The decoder description 590, in which the encoded decoder description 313 is decoded by the description decoder 505, is a bitstream encoded using various encoding schemes and / or bits encoded using user-selected functions among various functions. In order to parse the stream by a common interpretation method, configuration information of the conventional bitstream 316, a method in which the conventional bitstream 316 is encoded (or connection information between functional units), and a specific functional part Information about the I / O data specification. Decoder description 590 may be described in a description manner such as textual description or binary description. Of course, if the encoded decoder description 316 is implemented to be recognized by the decoder forming unit 520 without the processing of the description decoder 505, the description decoder 505 may be omitted.

디코더 디스크립션(590)은 FL(Functional unit List, 410), F-RT(Functional unit Rule Table, 420), FU-CSCIT(Functional Unit CSCIT, 430), CSCIT(Control Signal and Context Information Table, 440), SET(Syntax Element Table, 450), S-RT(Syntax-Rule Table, 460), DVT(Default Value Table, 470) 등의 부분 디코더 디스크립션들(partial decoder description)로 분리되어 디스크립션 저장부(510)에 저장될 수 있다. 디코더 디스크립션을 구성하기 위한 각 부분 디코더 디스크립션들의 순서는 다양하게 변형될 수 있음은 자명하다.The decoder description 590 may include a functional unit list (FL), a functional unit rule table (F-RT) 420, a functional unit CSCIT (430), a control signal and context information table (CSCIT), It is divided into partial decoder descriptions such as SET (Syntax Element Table, 450), S-RT (Syntax-Rule Table, 460), DVT (Default Value Table, 470), and the like. Can be stored. Obviously, the order of the partial decoder descriptions for constructing the decoder description may be variously modified.

여기서, FL(Functional unit List, 410), F-RT(Functional unit Rule Table, 420), FU-CSCIT(Functional Unit CSCIT, 430), CSCIT(Control Signal and Context Information Table, 440) 등은 각 기능부(FU)들의 연결 관계(connection)을 설정하기 위해 이용될 수 있다(해당 부분 디코더 디스크립션들은 필요시 '제1 디코더 디스크립션'라 칭할 수 있음). Here, the functional unit list (FL), the functional unit rule table (F-RT) 420, the functional unit CSCIT (430), the control signal and context information table (CSCIT), and the like are each functional units. (FU) may be used to establish a connection relationship (the corresponding partial decoder descriptions may be referred to as 'first decoder description' if necessary).

이중, FU-CSCIT(440)는 툴박스(515) 내의 각 기능부(즉, 디코딩 처리를 위한 기능부)와 CSCI 저장부(532)에 저장된 엘리먼트 정보간의 매핑(mapping)을 위한 부분 디코더 디스크립션일 수도 있다. 이 경우, 엘리먼트 정보는 툴박스(515) 내의 각 기능부(즉, 디코딩 처리를 위한 기능부 또는/및 syntax 파싱을 위한 기능부)에 대한 제어 변수로서 기능할 수 있다. Of these, the FU-CSCIT 440 may be a partial decoder description for mapping between respective functional units (ie, functional units for decoding processing) in the toolbox 515 and element information stored in the CSCI storage unit 532. have. In this case, the element information may function as a control variable for each functional unit (ie, a functional unit for decoding processing and / or a syntax parser) in the toolbox 515.

또한, CSCIT(Control Signal and Context Information Table, 440), SET(Syntax Element Table, 450), S-RT(Syntax-Rule Table, 460), DVT(Default Value Table, 470) 등은 종래 비트스트림(316)의 파싱(Parsing)을 위해 이용될 수 있다(해당 부분 디코더 디스크립션들은 필요시 '제2 디코더 디스크립션'라 칭할 수 있음). 각 부분 디코더 디스크립션의 형태 및 기능은 이후 상세히 설명하기로 한다.In addition, the control signal and context information table (CSCIT) 440, the syntax element table 450 (SET), the syntax-rule table 460 (S-RT), the default value table 470 (DVT), and the like are conventional bitstreams 316. Can be used for parsing (partial decoder descriptions can be referred to as 'second decoder description' if necessary). The form and function of each partial decoder description will be described in detail later.

디스크립션 디코더(405)는 분리부(310)로부터 입력된 인코딩된 디코더 디스크립션(313)을 디코딩하여 디코더 디스크립션(314)을 생성한 후, 디코더 형성부(520, 또는 디코딩 솔루션(530))에서 인식할 수 있는 형태의 복수의 부분 디코더 디스크립션들로 분리하여 디스크립션 저장부(510)에 저장한다.The description decoder 405 decodes the encoded decoder description 313 input from the separation unit 310 to generate the decoder description 314, and then recognizes it in the decoder forming unit 520 or the decoding solution 530. A plurality of partial decoder descriptions in a form that can be divided are stored in the description storage unit 510.

디스크립션 저장부(510)에 저장되는 각 부분 디코더 디스크립션은 반드시 일반적인 형태의 테이블일 필요는 없으며, 디코더 형성부(520, 또는 디코딩 솔루션(530))에 의해 인식될 수 있는 정보 형태이면 충분하다. Each partial decoder description stored in the description storage 510 does not necessarily need to be a table in a general form, but is sufficient as a form of information that can be recognized by the decoder forming unit 520 or the decoding solution 530.

디스크립션 디코더(405)의 디코더 디스크립션 분석에 의해 디스크립션 저장부(510)에 저장되는 부분 디코더 디스크립션들로는 FL(410), F-RT(420), FU-CSCIT(440), CSCIT(440), SET(450), S-RT(460), DVT(470) 등이 포함될 수 있다. 디스크립션 디코더(405)는 도 11에 예시된 바와 같이 TI(Table Identifier, 1010)를 참조하여 각 부분 디코더 디스크립션을 구분할 수 있다. The partial decoder descriptions stored in the description storage unit 510 by the decoder description analysis of the description decoder 405 are FL 410, F-RT 420, FU-CSCIT 440, CSCIT 440, and SET ( 450), S-RT 460, DVT 470, and the like. As illustrated in FIG. 11, the description decoder 405 may distinguish each partial decoder description with reference to a table identifier (TI) 1010.

물론, 디코더 디스크립션 내에 모든 부분 디코더 디스크립션들에 상응하는 정보가 반드시 포함되어야 하는 것은 아니며, 도 9에 예시된 바와 같이 코덱 번호(Codec #, 920)와 프로파일 및 레벨 번호(Profile and level #, 930)가 포함되거나, 도 11에 예시된 바와 같이 일부 부분 디코더 디스크립션에 대해서만 코덱 번호(Codec #, 1120)와 프로파일 및 레벨 번호(Profile and level #, 1130)가 포함될 수도 있다. Of course, the information corresponding to all the partial decoder descriptions does not necessarily need to be included in the decoder description, and as illustrated in FIG. 9, the codec number Codec # 920 and the profile and level # 930 may be included. As illustrated in FIG. 11, a codec number Codec # 1120 and a profile and level # 1130 may be included only for some partial decoder descriptions.

코덱 번호(Codec #)와 프로파일 및 레벨 번호(Profile and level #)가 포함된 경우, 디스크립션 디코더(405)는 전체 부분 디코더 디스크립션 또는 일부 부분 디코더 디스크립션에 대해서는 새로운 부분 디코더 디스크립션을 생성하지 않고 디스크립션 저장부(510)에 미리 저장된 부분 디코더 디스크립션들 중 상응하는 부분 디코더 디스크립션이 디코딩시 이용되도록 선택할 수도 있다. 또한, 코덱 번호(Codec #), 프로파일 및 레벨 번호(Profile and level #)와 수정 정보가 포함된 경우, 디스크립션 디코더(405)는 디스크립션 저장부(510)에 미리 저장된 부분 디코더 디스크립션들 중 해당 코덱에 상응하는 부분 디코더 디스크립션을 추출하여 수정 정보를 반영한 새로운 부분 디코더 디스크립션을 생성할 수도 있다. 물론, 코덱 번호(Codec #)와 프로파일 및 레벨 번호(Profile and level #)가 포함되지 않고 부분 디코더 디스크립션 생성을 위한 테이블 디스크립션이 포함된 경우, 디스크립션 디코더(405)는 전체 부분 디코더 디스크립션 또는 일부 부분 디코더 디스크립션에 대해 디코딩시 이용하기 위한 새로운 부분 디코더 디스크립션을 생성할 수도 있다.If a codec number (Codec #) and a profile and level # are included, the description decoder 405 does not generate a new partial decoder description for the full partial decoder description or some partial decoder descriptions, but rather the description store. One of the partial decoder descriptions previously stored at 510 may be selected to be used in decoding. In addition, when the codec number (Codec #), the profile and level # (Profile and level #) and the correction information is included, the description decoder 405 is applied to the corresponding codec among the partial decoder descriptions stored in the description storage unit 510 in advance. A corresponding partial decoder description may be extracted to generate a new partial decoder description reflecting the correction information. Of course, if the codec number (Codec #) and profile and level # are not included and the table description for generating the partial decoder description is included, the description decoder 405 may be a full partial decoder description or a partial partial decoder. A new partial decoder description may be generated for the description for use in decoding.

또한, 디코더 디스크립션은 도 12에 예시된 바와 같이, 각 부분 디코더 디스크립션들에 대한 디코더 디스크립션(DD-T, 1210) 외에 갱신 정보(Revision Information, 1230)를 더 포함할 수도 있다. 각각의 확장 비트스트림의 구성에 대해서는 이후 관련 도면을 참조하여 상세히 설명한다.In addition, as illustrated in FIG. 12, the decoder description may further include update information 1230 in addition to the decoder description DD-T 1210 for each partial decoder description. The configuration of each extended bitstream will be described in detail later with reference to the accompanying drawings.

디스크립션 저장부(510)에는 디스크립션 디코더(405)에 의해 분리된 각 부분 디코더 디스크립션들이 저장된다. 물론, 디스크립션 저장부(510)는 확장 비트스트림(305)이 코덱 번호(Codec #, 920 또는 1120)와 프로파일 및 레벨 번호(Profile and level #, 930 또는 1130)가 포함된 경우 상응하는 하나 이상의 부분 디코더 디스크립션들이 디코더 형성부(520) 또는 디코딩 솔루션(530)에 의해 이용될 수 있도록 하기 위해, 하나 이상의 부분 디코더 디스크립션들을 미리 저장할 수도 있다.In the description storage unit 510, the partial decoder descriptions separated by the description decoder 405 are stored. Of course, the description storage 510 may include one or more portions of the extended bitstream 305 when the extended bitstream 305 includes a codec number (Codec #, 920 or 1120) and a profile and level # (930 or 1130). One or more partial decoder descriptions may be stored in advance in order for the decoder descriptions to be used by the decoder forming unit 520 or the decoding solution 530.

도 5 및 도 6에 디코딩 처리 유닛(320)의 각 실시예가 도시되어 있다.5 and 6 each embodiment of a decoding processing unit 320 is shown.

디코딩 처리 유닛(320)의 제1 실시예가 도시된 도 5를 참조하면, 디코딩 처리 유닛(320)은 디스크립션 디코더(505), 디스크립션 저장부(510), 툴박스(Tool-Box, 515), 디코더 형성부(520) 및 디코딩 솔루션(530)을 포함할 수 있다. Referring to FIG. 5, in which a first embodiment of the decoding processing unit 320 is shown, the decoding processing unit 320 may include a description decoder 505, a description storage unit 510, a tool box 515, and a decoder formation. Unit 520 and decoding solution 530.

디코더 형성부(520)는 FU 확인부(522), 정보 가공부(524) 및 정보 전달부(526)를 포함한다.The decoder forming unit 520 includes a FU confirming unit 522, an information processing unit 524, and an information transmitting unit 526.

FU 확인부(522)는 디스크립션 디코더(505)의 처리에 의해 부분 디코더 디스크립션들이 디스크립션 저장부(510)에 저장되면, 부분 디코더 디스크립션(예를 들어, FL(410) 등)에 기술된 기능부들이 툴박스(515)에 모두 존재하는지 여부를 확인한다. 만일, 부분 디코더 디스크립션에 기술된 기능부들 중 툴박스(515)에 존재하지 않는 기능부가 있는 경우, 에러 메시지가 디스플레이 장치를 통해 디스플레이되도록 하거나, 해당 기능부의 업데이트를 사용자에게 요청할 수 있다. 물론, 해당 기능부의 업데이트를 위한 서버 장치와 통신망을 통해 결합된 경우 FU 확인부(522)는 통신망을 통한 자동 업데이트를 실행할 수도 있다. If the partial decoder descriptions are stored in the description storage unit 510 by the processing of the description decoder 505, the FU checker 522 may include the functional units described in the partial decoder description (for example, the FL 410). Check whether all are present in the toolbox 515. If any of the functional units described in the partial decoder description does not exist in the toolbox 515, an error message may be displayed through the display device or the user may be requested to update the functional unit. Of course, when combined with the server device for the update of the functional unit via a communication network, the FU check unit 522 may execute an automatic update through the communication network.

정보 가공부(524)는 디스크립션 저장부(510)에 저장된 각 부분 디코더 디스크립션들을 역할에 따라 분류하고, 디코딩 솔루션(530)이 용이하게 운용할 수 있는 데이터 형태로 가공한다. 이는, 디스크립션 저장부(510)에 저장된 부분 디코더 디스크립션들의 저장된 형식(예를 들어, 테이블 형식)이 디코딩 솔루션(530)이 이용하기에 적합하지 않거나 또는 디코딩 솔루션(530)이 보다 효율적으로 이용할 정보가 필요할 수 있기 때문이다. The information processing unit 524 classifies each of the partial decoder descriptions stored in the description storage unit 510 according to a role, and processes the partial decoder descriptions into data types that the decoding solution 530 can easily operate. This may indicate that the stored format (eg, table format) of the partial decoder descriptions stored in the description storage 510 is not suitable for use by the decoding solution 530 or that the decoding solution 530 may use information more efficiently. This may be necessary.

각 부분 디코더 디스크립션의 기능 및 형식은 이후 관련 도면을 참조하여 구체적으로 설명될 것이므로, 여기서는 가공된 데이터 형태에 대해서만 간략히 설명한다.Since the function and format of each partial decoder description will be described in detail later with reference to related drawings, only the processed data form will be briefly described here.

정보 가공부(524)는 부분 디코더 디스크립션들 각각이 CSCI(Control Signal/Context Information, 제어 정보/문맥 정보)의 생성 또는 저장을 위해 이용되는지, 기능부들의 연결을 위해 이용되는지 등의 역할에 따라 분류한 후 CSCI 제어 정보와 연결 제어 정보를 가공한다. 예를 들어, CSCI 제어 정보를 생성하기 위해 이용되는 부분 디코더 디스크립션들은 SET(450), S-RT(460), CSCIT(440) 및 DVT(470)일 수 있고, 연결 제어 정보를 생성하기 위한 부분 디코더 디스크립션들은 FL(410), F-RT(420), S-RT(460) 및 FU-CSCIT(440)일 수 있다.The information processing unit 524 classifies each partial decoder description according to a role such as whether it is used for generating or storing CSCI (Control Signal / Context Information), or for connecting the functional units. After that, the CSCI control information and connection control information are processed. For example, the partial decoder descriptions used to generate CSCI control information may be SET 450, S-RT 460, CSCIT 440 and DVT 470, and the part for generating connection control information. Decoder descriptions may be FL 410, F-RT 420, S-RT 460 and FU-CSCIT 440.

정보 가공부(524)에 의해 가공된 CSCI 제어 정보 및 연결 제어 정보는 예를 들어 XML 기반 ADM(Abstract Decoder Model) 표현 방식에 따라 표현될 수 있으며, 이는 아래와 같다. 물론, 가공된 CSCI 제어 정보 및 연결 제어 정보의 표현 방식이 이에 제한되지 않음은 자명하다.The CSCI control information and the connection control information processed by the information processing unit 524 may be expressed according to, for example, an XML-based Abstract Decoder Model (ADM) expression method. Of course, it is obvious that the representation of the processed CSCI control information and the connection control information is not limited thereto.

먼저, CSCI 제어 정보는 아래와 같이 표현될 수 있다.First, CSCI control information may be expressed as follows.

<CSCIs><CSCIs>

<csci_memory id="C0" name="CSCI #0" type="integer" />    <csci_memory id = "C0" name = "CSCI # 0" type = "integer" />

<csci_memory id="C1" name="CSCI #1" type="integer" />    <csci_memory id = "C1" name = "CSCI # 1" type = "integer" />

<csci_memory id="C2" name="CSCI #2" type="array" />    <csci_memory id = "C2" name = "CSCI # 2" type = "array" />

<csci_memory id="C3" name="CSCI #3" type="integer" />    <csci_memory id = "C3" name = "CSCI # 3" type = "integer" />

<csci_memory id="C4" name="CSCI #4" type="integer" />    <csci_memory id = "C4" name = "CSCI # 4" type = "integer" />

<csci_memory id="C5" name="CSCI #5" type="integer" />    <csci_memory id = "C5" name = "CSCI # 5" type = "integer" />

<csci_memory id="C6" name="CSCI #6" type="integer" />    <csci_memory id = "C6" name = "CSCI # 6" type = "integer" />

<csci_memory id="C7" name="CSCI #7" type="integer" />    <csci_memory id = "C7" name = "CSCI # 7" type = "integer" />

<csci_memory id="C8" name="CSCI #8" type="integer" />    <csci_memory id = "C8" name = "CSCI # 8" type = "integer" />

<csci_memory id="C9" name="CSCI #9" type="integer" />    <csci_memory id = "C9" name = "CSCI # 9" type = "integer" />

<csci_memory id="C10" name="CSCI #10" type="integer" />    <csci_memory id = "C10" name = "CSCI # 10" type = "integer" />

<csci_memory id="C11" name="CSCI #11" type="integer" />    <csci_memory id = "C11" name = "CSCI # 11" type = "integer" />

<csci_memory id="C12" name="CSCI #12" type="integer" />    <csci_memory id = "C12" name = "CSCI # 12" type = "integer" />

……      ... ...

</CSCI></ CSCI>

다음으로, 연결 제어 정보는 아래와 같이 표현될 수 있다.Next, the connection control information may be expressed as follows.

<Network name="Decoder"><Network name = "Decoder">

<Package><Package>

<QID><QID>

<ID id="MPEG4 Simple Profile" /><ID id = "MPEG4 Simple Profile" />

</QID></ QID>

</Package></ Package>

<Port kind="Input" name="BITSTREAM" /><Port kind = "Input" name = "BITSTREAM" />

<Port kind="Ouput" name="YUV" /><Port kind = "Ouput" name = "YUV" />

<Instance id="1"><Instance id = "1">

<Class name="Parser"><Class name = "Parser">

<QID><QID>

<ID id="c" /><ID id = "c" />

</QID></ QID>

</Class></ Class>

<Note kind="label" name="Stream Parser" /><Note kind = "label" name = "Stream Parser" />

</Instance></ Instance>

<Instance id="2"><Instance id = "2">

<Class name="VS"><Class name = "VS">

<QID><QID>

<ID id="c" /><ID id = "c" />

</QID></ QID>

<Note kind="label" name="Video Session" /><Note kind = "label" name = "Video Session" />

</Class></ Class>

</Instance></ Instance>

<Connection src="" src-port="BITSTREAM" dst="1" dst-port="BITSTREAM" /><Connection src = "" src-port = "BITSTREAM" dst = "1" dst-port = "BITSTREAM" />

<Connection src="1" src-port="CSCI" dst="2" dst-port="CSCI" /><Connection src = "1" src-port = "CSCI" dst = "2" dst-port = "CSCI" />

<Connection src="1" src-port="DATA" dst="2" dst-port="DATA" /><Connection src = "1" src-port = "DATA" dst = "2" dst-port = "DATA" />

<Connection src="2" src-port="YUV" dst="" dst-port="YUV" /><Connection src = "2" src-port = "YUV" dst = "" dst-port = "YUV" />

</Network></ Network>

정보 전달부(526)는 정보 가공부(524)에 의해 가공된 CSCI 제어 정보와 연결 제어 정보를 디코딩 솔루션(530)으로 전달한다. 정보 전달부(526)는 CSCI 제어 정보를 CSCI 정보의 실제 저장과 운용을 담당하는 CSCI 저장부(532)로 전달하고, 연결 제어 정보는 기능부간의 연결을 제어하는 연결 제어부(534)로 전달할 수 있다. 만일 CSCI 저장부(532)가 단지 CSCI 정보의 저장만을 위해 기능하고, CSCI 정보의 운용이 연결 제어부(534)에 의해 수행되는 경우라면 정보 전달부(524)는 CSCI 제어 정보와 연결 제어 정보를 연결 제어부(534)로 전달할 수도 있음은 자명하다.The information transfer unit 526 transfers the CSCI control information and the connection control information processed by the information processing unit 524 to the decoding solution 530. The information transfer unit 526 may transfer the CSCI control information to the CSCI storage unit 532 in charge of the actual storage and operation of the CSCI information, and the connection control information to the connection control unit 534 that controls the connection between the functional units. have. If the CSCI storage unit 532 functions only for the storage of CSCI information, and the operation of the CSCI information is performed by the connection control unit 534, the information transfer unit 524 connects the CSCI control information and the connection control information. Obviously, the control unit 534 may transfer the information to the control unit 534.

디코딩 솔루션(530)은 CSCI 저장부(532) 및 연결 제어부(534)를 포함한다. 도시되지는 않았으나, 디코더 솔루션(530)은 연결 제어부(534)의 호출에 의해 하나 이상의 기능부들이 로드되어 미리 지정된 프로세스가 수행되도록하기 위한 작업 메모리를 더 포함할 수 있다.The decoding solution 530 includes a CSCI storage 532 and a connection controller 534. Although not shown, the decoder solution 530 may further include a working memory for loading one or more functional units by a call of the connection controller 534 to perform a predetermined process.

디코딩 처리 유닛(320)의 제2 실시예가 도시된 도 5를 참조하면, 디코딩 처리 유닛(320)은 디스크립션 디코더(505), 디스크립션 저장부(510), 툴박스(Tool-Box, 515), 디코더 형성부(520) 및 디코딩 솔루션(530)을 포함할 수 있다. Referring to FIG. 5, where a second embodiment of the decoding processing unit 320 is shown, the decoding processing unit 320 may include a description decoder 505, a description storage unit 510, a tool box 515, and a decoder formation. Unit 520 and decoding solution 530.

도 5와 비교할 때, 도 6의 디코딩 처리 유닛(320)의 디코딩 솔루션(530)은 파싱 기능부(610)를 더 포함할 수 있다. 파싱 기능부(610)는 비트스트림의 syntax 파싱을 수행하는 기능부이다. 파싱 기능부(610)는 독립된 구성 요소로 디코딩 솔루션(530)에 포함될 수도 있으나, 디코딩 솔루션(530)이 2개의 작업 메모리를 구비하도록 하고 연결 제어부(534)가 하나의 작업 메모리는 디코딩 처리를 위한 기능부들만이 전용적으로 로드되도록 제어하고 다른 하나의 작업 메모리는 파싱 기능부(610)만이 전용적으로 로드되도록 제어함으로써 동일한 효과가 도출되도록 구현할 수도 있음은 자명하다. 상술한 두가지 경우 모두에서 비트스트림에 대한 파싱 처리와 디코딩 처리가 순차적 또는/및 병렬적으로 수행될 수 있는 장점을 가진다. Compared with FIG. 5, the decoding solution 530 of the decoding processing unit 320 of FIG. 6 may further include a parsing function 610. The parsing function 610 is a function that performs syntax parsing of a bitstream. The parsing function 610 may be included in the decoding solution 530 as an independent component, but the decoding solution 530 may include two working memories, and the connection controller 534 may use one working memory for decoding processing. It is apparent that only the functional units may be controlled to be loaded exclusively, and another working memory may be implemented such that the same effect is obtained by controlling only the parsing functional unit 610 to be loaded exclusively. In both cases described above, the parsing and decoding processing for the bitstream may be performed sequentially or in parallel.

또한, 도 5와 비교할 때, 파싱 기능부(610)의 처리를 위해 정보 가공부(524)는 syntax 파싱 제어 정보를 더 가공하여 디코딩 솔루션(530)으로 제공한다. 따라서, CSCI 제어 정보, 연결 제어 정보 및 syntax 파싱 제어 정보를 생성하기 위해 이용되는 부분 디코더 디스크립션의 역할이 달라질 수 있다.In addition, in comparison with FIG. 5, the information processing unit 524 further processes the syntax parsing control information and provides the decoding solution 530 to the processing of the parsing function unit 610. Accordingly, the role of the partial decoder description used to generate the CSCI control information, the connection control information, and the syntax parsing control information may vary.

즉, 정보 가공부(524)는 부분 디코더 디스크립션들 각각이 CSCI(Control Signal/Context Information, 제어 정보/문맥 정보)의 생성 또는 저장을 위해 이용되는지, syntax 파싱을 위해 이용되는지, 기능부들의 연결을 위해 이용되는지 등의 역할에 따라 분류한 후 CSCI 제어 정보, 연결 제어 정보 및 syntax 파싱 제어 정보를 가공한다. 예를 들어, CSCI 제어 정보를 생성하기 위해 이용되는 부분 디코더 디스크립션은 CSCIT(440)일 수 있고, 연결 제어 정보를 생성하기 위한 부분 디코더 디스크립션들은 FL(410), F-RT(420) 및 FU-CSCIT(440)일 수 있으며, Syntax 파싱 제어 정보를 생성하기 위해 이용되는 부분 디코더 디스크립션들은 SET(450), S-RT(460), CSCIT(440) 및 DVT(470)일 수 있다.That is, the information processing unit 524 determines whether each of the partial decoder descriptions is used for generation or storage of CSCI (Control Signal / Context Information), syntax parsing, or connection of functional units. The CSCI control information, the connection control information, and the syntax parsing control information are processed after being classified according to the role such as whether the data is used for the purpose. For example, the partial decoder description used to generate CSCI control information may be CSCIT 440, and the partial decoder descriptions for generating connection control information may be FL 410, F-RT 420 and FU-. CSCIT 440, and the partial decoder descriptions used to generate the syntax parsing control information may be SET 450, S-RT 460, CSCIT 440, and DVT 470.

앞서 설명한 바와 같이, 정보 가공부(524)에 의해 가공된 CSCI 제어 정보 및 연결 제어 정보는 예를 들어 XML 기반 ADM(Abstract Decoder Model) 표현 방식에 따라 표현될 수 있으며, Syntax 파싱 제어 정보의 표현 예는 아래와 같다.As described above, the CSCI control information and the connection control information processed by the information processing unit 524 may be expressed according to, for example, an XML-based Abstract Decoder Model (ADM) expression method, and the expression example of the syntax parsing control information. Is shown below.

<syntax><syntax>

<syntax_element id="S0" name="Syntax #0">    <syntax_element id = "S0" name = "Syntax # 0">

<process>      <process>

<cmd type="READ">        <cmd type = "READ">

<parameter index=0>32</parameter>          <parameter index = 0> 32 </ parameter>

<parameter index=1>B</parameter>          <parameter index = 1> B </ parameter>

</cmd>        </ cmd>

<cmd type="EXPRESSION">        <cmd type = "EXPRESSION">

<parameter index=0>(C0=(IBS==HEX:1B0))</parameter>          <parameter index = 0> (C0 = (IBS == HEX: 1B0)) </ parameter>

</cmd>        </ cmd>

</process>      </ process>

</syntax_element>    </ syntax_element>

<syntax_element id="S1" name="Syntax #1">    <syntax_element id = "S1" name = "Syntax # 1">

<process>      <process>

<cmd type="READ">        <cmd type = "READ">

<parameter index=0>8</parameter>          <parameter index = 0> 8 </ parameter>

<output type="CSCI">C1</output>          <output type = "CSCI"> C1 </ output>

</cmd>        </ cmd>

</process>      </ process>

</syntax_element>    </ syntax_element>

(……)    (……)

</syntax></ syntax>

정보 전달부(526)는 정보 가공부(524)에 의해 가공된 CSCI 제어 정보, 연결 제어 정보 및 syntax 파싱 제어 정보를 디코딩 솔루션(530)으로 전달한다. 정보 전달부(526)는 CSCI 제어 정보를 CSCI 정보의 실제 저장과 운용을 담당하는 CSCI 저장부로 전달하고, 연결 제어 정보는 기능부간의 연결을 제어하는 연결 제어부(534)로 전달하며, syntax 파싱 제어 정보는 파싱 기능부(610)로 전달할 수 있다. 만일 CSCI 저장부(532)가 단지 CSCI 정보의 저장만을 위해 기능하고, CSCI 정보의 운용이 연결 제어부(534)에 의해 수행되는 경우라면 정보 전달부(524)는 CSCI 제어 정보와 연결 제어 정보를 연결 제어부(534)로 전달할 수도 있음은 자명하다. 또한 만일 파싱 기능부(610)가 연결 제어부(534)의 제어에 의해 비트스트림의 syntax 파싱(parsing)을 수행한다면, 정보 전달부(524)는 syntax 파싱 제어 정보를 연결 제어부(534)로 전달할 수도 있음은 자명하다.The information transfer unit 526 transfers the CSCI control information, connection control information, and syntax parsing control information processed by the information processing unit 524 to the decoding solution 530. The information transfer unit 526 transfers the CSCI control information to the CSCI storage unit in charge of the actual storage and operation of the CSCI information, the connection control information is transferred to the connection control unit 534 that controls the connection between the functional units, and syntax parsing control. The information may be transferred to the parsing function 610. If the CSCI storage unit 532 functions only for the storage of CSCI information, and the operation of the CSCI information is performed by the connection control unit 534, the information transfer unit 524 connects the CSCI control information and the connection control information. Obviously, the control unit 534 may transfer the information to the control unit 534. In addition, if the parsing function unit 610 performs syntax parsing of the bitstream under the control of the connection controller 534, the information transfer unit 524 may transfer syntax parsing control information to the connection controller 534. It is self-evident.

디코딩 솔루션(530)은 CSCI 저장부(532), 연결 제어부(534) 및 파싱 기능부(610)를 포함한다. 디코더 솔루션(530)은 연결 제어부(534)의 호출에 의해 하나 이상의 기능부들이 로드되어 미리 지정된 프로세스가 수행되도록하기 위한 하나 이상의 작업 메모리를 더 포함할 수 있다.The decoding solution 530 includes a CSCI storage 532, a connection controller 534 and a parsing function 610. The decoder solution 530 may further include one or more working memories for loading one or more functional units by a call of the connection control unit 534 to perform a predetermined process.

파싱 기능부(610)는 비트스트림의 부호화 포맷에 관계없이 모든 비트스트림에 대해 syntax 파싱이 가능한 기능부이거나, 특정 유형의 비트스트림의 syntax 파싱을 위해 특정적으로 생성된 기능부일 수 있다. 즉, 파싱 기능부(610)는 syntax 파싱을 수행하기 위한 하나 이상의 기능부로서 이후 관련 도면을 참조하여 구체적 으로 설명하기로 한다.The parsing function 610 may be a function that enables syntax parsing for all bitstreams regardless of the encoding format of the bitstream, or may be a function that is specifically generated for syntax parsing of a specific type of bitstream. That is, the parsing function 610 is one or more functional units for performing syntax parsing, which will be described in detail later with reference to related drawings.

도 5 및 도 6에 예시된 바와 같이, 본 발명에 따른 복호화기(300)는 툴박스(515) 내에 구비된 기능부들(디코딩 처리를 수행하는 디코딩 기능부 또는/및 syntax 파싱을 수행하는 파싱 기능부(610))을 선택적으로 로드하여 디코딩 처리하도록 함으로써, 입력된 비트스트림이 부호화된 방식에 관계없이 복호화할 수 있도록 다양한 형태로 재조합 또는 생성되는 복호화기(300)의 구현이 가능해진다.As illustrated in FIGS. 5 and 6, the decoder 300 according to the present invention may include the functional units (decoding function for performing decoding processing and / or parsing function for performing syntax parsing) provided in the toolbox 515. By selectively loading (610) and decoding processing, it becomes possible to implement the decoder 300 that is recombined or generated in various forms so that the input bitstream can be decoded regardless of the encoded method.

상술한 바와 같이, 디코더 형성부(520, 또는 연결 제어부(534))는 입력된 비트스트림을 처리하기 위한 복호화기를 구성하는 기능을 수행하며, 비트스트림의 디코딩은 디코더 형성부(520, 또는 연결 제어부(534))의 제어에 의해 구성된 실제 디코더, 즉 디코딩 솔루션(530)에 의해 수행된다. 이처럼 기능상 인과 관계가 있는 두 처리부를 분리함으로써 하나의 디코더 형성 정보를 이용하여 복수 개의 디코딩 솔루션을 제작할 수 있게 되어, 복호화기가 보다 효율적인 처리를 제공할 수 있다.As described above, the decoder forming unit 520 or the connection control unit 534 performs a function of configuring a decoder for processing the input bitstream, and decoding of the bitstream is performed by the decoder forming unit 520 or the connection control unit. By the actual decoder configured by the control of 534). By separating the two processing units that are functionally causal in this way, a plurality of decoding solutions can be manufactured using one decoder formation information, so that the decoder can provide more efficient processing.

이하, 디코딩 처리 유닛(320)의 각 구성 요소들의 기능 및 동작에 대해 관련 도면을 참조하여 설명한다.Hereinafter, functions and operations of the components of the decoding processing unit 320 will be described with reference to the accompanying drawings.

디스크립션 디코더(505)는 앞서 설명한 바와 같이, 입력된 인코딩된 디코더 디스크립션(313)을 디코더 디스크립션(314)으로 디코딩한 후 복수의 부분 디코더 디스크립션들로 디스크립션 저장부(410)에 저장되도록 한다. As described above, the description decoder 505 decodes the input encoded decoder description 313 into the decoder description 314 to be stored in the description storage 410 as a plurality of partial decoder descriptions.

툴 박스(510)는 미리 지정된 프로세스를 수행하도록 각각 구현된 복수의 기능부들을 포함한다. 여기서, 하나의 기능부로 구현되거나 복수의 기능부들의 조합으로 구현되는 파싱 기능부(610)의 경우 툴박스(515) 내에 포함되도록 구현되거나, 디코딩 솔루션(530) 내에 포함되도록 구현될 수 있다. 파싱 기능부 및 각각의 기능부들은 각각 프로그램 코드들의 조합으로 구현될 수도 있다.The tool box 510 includes a plurality of functional units, each implemented to perform a predetermined process. In this case, the parsing function 610 implemented as one function unit or a combination of a plurality of functions may be implemented to be included in the toolbox 515 or may be included in the decoding solution 530. The parsing function and the respective functions may each be implemented in a combination of program codes.

즉, 툴 박스(510)는 각각의 기능(즉, 미리 설정된 프로세스)을 수행하도록 구현된 기능부(FU, Functional Unit)들이 포함되는 영역으로, 각 기능부들은 연결 제어부(534)의 연결 제어에 의해 작업 메모리에 로드(load)되어 순차적인 연결 동작 관계를 형성함으로써 종래 비트스트림(316)에 포함된 인코딩된 비디오 데이터를 동영상 데이터로 출력한다. That is, the tool box 510 is an area including functional units (FUs) implemented to perform respective functions (that is, a predetermined process), and each functional unit is connected to the connection control of the connection controller 534. By loading into the working memory to form a sequential connection operation relationship, the encoded video data included in the conventional bitstream 316 is output as video data.

물론, 도 6을 참조하여 설명한 바와 같이, 파싱 기능부(610)는 디코딩 솔루션(530)에 포함되어 syntax 파싱 제어 정보를 이용함으로써, 연결 제어부(534)의 연결 제어 없이 종래 비트스트림(316)의 해석을 수행하도록 설정될 수도 있다. 이는 후속하는 기능부들이 파싱 기능부(610)가 해석하여 CSCI 저장부(532)에 저장한 엘리먼트 정보(element information) 및/또는 파싱 기능부(610)로부터 출력되는 매크로블록(MB) 사이즈의 동영상 데이터를 이용할 수 있기 때문이다.Of course, as described with reference to FIG. 6, the parsing function 610 is included in the decoding solution 530 to use syntax parsing control information, thereby enabling the conventional bitstream 316 to be controlled without the connection control of the connection controller 534. It may be set to perform an analysis. This is because the following functional units are interpreted by the parsing function 610 and stored in the CSCI storage 532, and the element information (element information) and / or the macroblock (MB) size video output from the parsing function (610) This is because data is available.

파싱 기능부(610)는 syntax 파싱 제어 정보를 이용하여 입력된 종래 비트스트림(316)을 해석하여 신택스 파싱(syntax parsing)의 결과물인 엘리먼트 정보(element information)를 CSCI 저장부(532)에 저장한다. CSCI 저장부(532)는 예를 들어 버퍼 메모리일 수 있다. 엘리먼트 정보는 예를 들어 CSCI(Control Signal/Context Information, 제어 정보/문맥 정보)일 수 있다. 파싱 기능부(610)에 의해 파싱되어 CSCI 저장부(532)에 저장된 엘리먼트 정보는 해당 단계의 파싱 결과값임과 동시에 종래 비트스트림(316)의 후속하는 신택스를 결정하는 입력 값이 될 수도 있다.The parsing function 610 interprets the conventional bitstream 316 input using syntax parsing control information and stores element information, which is a result of syntax parsing, in the CSCI storage 532. . The CSCI storage 532 may be, for example, a buffer memory. The element information may be, for example, Control Signal / Context Information (CSCI). The element information parsed by the parsing function unit 610 and stored in the CSCI storage unit 532 may be an input value for determining subsequent syntax of the conventional bitstream 316 at the same time as the parsing result of the corresponding step.

또한, 파싱 기능부(610)는 신택스 파싱된 종래 비트스트림(316)의 헤더와 영상 데이터에 대한 엔트로피 디코딩을 수행하여 미리 지정된 매크로블록 사이즈의 동영상 데이터를 연결 제어부(534)의 연결 제어에 따른 후속하는 기능부(FU)로 출력할 수 있다.In addition, the parsing function unit 610 performs entropy decoding on the header of the syntax-parsed conventional bitstream 316 and the image data, and subsequently performs video data having a predetermined macroblock size according to the connection control of the connection controller 534. Can be output to the function unit (FU).

물론, 파싱 기능부(610)는 매크로블록 사이즈의 동영상 데이터를 미리 지정된 버퍼 메모리에 저장하고, 연결 제어부(534)의 로드(즉, 연결 제어)에 따른 후속하는 기능부가 해당 버퍼 메모리에서 매크로블록 사이즈의 동영상 데이터를 독출하여 처리한 후 후속하는 기능부의 처리를 위해 해당 버퍼 메모리에 처리한 동영상 데이터를 저장할 수도 있다. Of course, the parsing function unit 610 stores the macroblock size video data in a predetermined buffer memory, and the subsequent function unit according to the load of the connection control unit 534 (that is, the connection control) has the macroblock size in the buffer memory. After processing and reading the moving picture data, the processed moving picture data may be stored in the buffer memory for processing of a subsequent functional unit.

즉, 파싱 기능부(610)는 매크로블록 사이즈의 동영상 데이터를 CSCI 저장부(532) 또는 별도의 버퍼 메모리에 저장한 후, 연결 제어부(534)가 저장된 매크로블록 사이즈의 동영상 데이터를 선택한 기능부로 제공하거나, 선택된 기능부가 CSCI 저장부(532) 또는 별도의 버퍼 메모리로부터 해당 동영상 데이터를 독출할 수도 있음은 자명하다. 다만, 이하에서는 파싱 기능부(610)가 출력하는 매크로블록 사이즈의 동영상 데이터가 연결 제어부(534)의 연결 제어에 따른 기능부로 직접 입력되는 경우를 가정하여 설명한다.That is, the parsing function unit 610 stores the macroblock sized video data in the CSCI storage unit 532 or a separate buffer memory, and then provides the stored macroblock sized video data to the selected function unit. Alternatively, it is apparent that the selected function unit may read out corresponding video data from the CSCI storage unit 532 or a separate buffer memory. However, hereinafter, it is assumed that the macroblock size video data output by the parsing function unit 610 is directly input to the function unit according to the connection control of the connection control unit 534.

파싱 기능부(610)는 하나의 소프트웨어 프로그램(프로그램 코드들의 조합을 포함함)으로 구현될 수 있다. 복수의 표준(예를 들어, MPEG-1/2/4/AVC 등)에 각각 대응되는 복수의 기능을 수행하도록 파싱 기능부(610)가 구현될지라도 syntax 파싱 제어 정보를 이용하여 상응하는 동작을 수행할 수 있기 때문이다. 물론, 파싱 기능부(610)는 도 7에 도시된 바와 같이 복수의 기능부들로 세분화되어 구현될 수도 있으며, 각 기능부들이 블록화된 프로그램 코드들의 조합으로 구현될 수 있음은 자명하다.The parsing function 610 may be implemented as one software program (including a combination of program codes). Although the parsing function 610 is implemented to perform a plurality of functions respectively corresponding to a plurality of standards (for example, MPEG-1 / 2/4 / AVC, etc.), syntax parsing control information is used to perform a corresponding operation. Because it can be done. Of course, the parsing function 610 may be implemented by being divided into a plurality of functional units as shown in FIG. 7, and each of the functional units may be implemented as a combination of blocked program codes.

도 7에 예시된 각 기능부들을 구체적으로 설명함으로써 파싱 기능부(610)의 기능을 설명하면 다음과 같다. The function of the parsing function unit 610 by describing each functional unit illustrated in FIG. 7 in detail is as follows.

파싱 기능부(610)는 도 7에 예시된 바와 같이, NALP(Network Abstraction Layer Parsing) 기능부(FU, 710), SYNP(Syntax Parsing) 기능부(720), CTX(Context determination) 기능부(730), VLD(Variable Length Decoding) 기능부(740), RLD(Run Length Decoding) 기능부(750), MBG(Macro Block Generator) 기능부(760) 등을 포함할 수 있다. As illustrated in FIG. 7, the parsing function unit 610 includes a Network Abstraction Layer Parsing (NALP) function (FU) 710, a Syntax Parsing (SYNP) function 720, and a context determination (CTX) function 730. ), A Variable Length Decoding (VLD) function unit 740, a Run Length Decoding (RLD) function unit 750, a Macro Block Generator (MBG) function unit 760, and the like.

물론, 파싱 기능부(610)에는 신택스 파싱을 위한 기능부라면 적용되는 표준에 관계없이 모두 포함될 수 있을 뿐 아니라 기술 발전과정에서 Syntax 파싱 등을 위해 필요한 기능부는 신규로 추가될 수 있고, 기존 기능부의 수정도 가능하며, 불필요한 기능부는 제거될 수 있음은 자명하다. 또한, 파싱 기능부(610) 내에 구비된 각 기능부는 각 표준에 독립적으로 존재하지 않고, 표준에 관계없이 동일한 처리가 가능한 기능부의 경우에는 하나의 기능부로 통합되어 구비될 수도 있음은 자명하다. 각 기능부의 기능은 당업자에게 자명한 사항이므로 간략히 설명하기로 한다.Of course, the parsing function 610 may include all of the functional parts for syntax parsing regardless of the applied standard, and additionally, necessary functions for syntax parsing may be added in the process of technology development. It is apparent that modifications can be made and unnecessary functions can be removed. In addition, it is apparent that each functional unit provided in the parsing function unit 610 does not exist independently in each standard, and in the case of a functional unit capable of the same processing regardless of the standard, it may be integrated into one functional unit. The function of each functional unit is obvious to those skilled in the art and will be described briefly.

NALP 기능부(710)는 MPEG-4 AVC의 NAL(Network Abstraction Layer)를 파싱(parsing)하는 기능부이고, SYNP 기능부(720)는 비트스트림의 신택스(syntax)를 파싱하는 기능부이다. SYNP 기능부(720)는 VLD 기능부(740)에 포함될 수도 있다. The NALP function unit 710 is a function unit for parsing a Network Abstraction Layer (NAL) of MPEG-4 AVC, and the SYNP function unit 720 is a function unit for parsing syntax of a bitstream. The SYNP function 720 may be included in the VLD function 740.

CTX 기능부(730)는 MPEG-4 AVC의 VLC 테이블을 결정하는 기능부이고, VLD 기능부(740)는 엔트로피(Entropy) 디코딩을 수행하는 기능부이다. The CTX function unit 730 is a function unit that determines a VLC table of MPEG-4 AVC, and the VLD function unit 740 is a function unit that performs entropy decoding.

RLD 기능부(750)는 AC값들을 엔트로피 디코딩하는 기능부이고, MBG 기능부(760)는 DC값 및 AC값들을 결합하여 하나의 MB(Macro Block) 데이터를 생성하는 기능부이다. 상기 언급한 파싱 기능부(610) 내의 모든 기능부들 및 일부의 기능부들은 시스템 구현 방식에 따라 VLD 기능부(740)에 그 기능이 포함될 수 있을 것이다.The RLD function unit 750 is a function unit for entropy decoding AC values, and the MBG function unit 760 is a function unit for generating one MB (Macro Block) data by combining the DC value and the AC values. All of the functional units in the parsing function 610 and some of the functional units mentioned above may be included in the VLD function 740 according to a system implementation.

상술한 바와 같이, 파싱 기능부(610)는 하나의 소프트웨어 프로그램으로 구현되거나, 복수의 소프트웨어 프로그램으로 구현(예를 들어 VLD 기능부(740) 등을 독립된 소프트웨어 프로그램으로 독립적 구현)될 수 있을 것이다. 파싱 기능부(610)가 syntax 파싱 제어 정보를 이용하여 엘리먼트 정보를 추출 또는 생성하여 CSCI 저장부(532)에 저장하는 과정은 이후 연결 제어부(534)의 설명 부분에서 상세히 설명하기로 한다.As described above, the parsing function unit 610 may be implemented as one software program or may be implemented as a plurality of software programs (for example, the VLD function unit 740 may be independently implemented as an independent software program). The process of the parsing function unit 610 extracting or generating element information using the syntax parsing control information and storing the element information in the CSCI storage unit 532 will be described in detail later in the description of the connection controller 534.

툴박스(515) 내에 구비되는 디코딩 기능부들은 연결 제어부(534)의 선택적 로드에 의해 활성화되어 미리 지정된 프로세스를 각각 수행함으로써 파싱 기능부(610)에 의해 출력된(또는 파싱 기능부(610)가 버퍼 메모리에 저장한) 매크로블록 단위의 동영상 데이터들을 디코딩하여 미리 지정된 크기의 동영상 데이터로서 출력한다. The decoding functions included in the toolbox 515 are activated by an optional load of the connection control unit 534 and output by the parsing function 610 (or the parsing function 610 is buffered by performing a predetermined process, respectively). The video data of the macroblock unit stored in the memory is decoded and output as video data having a predetermined size.

툴박스(515) 내에는 각 표준에 상응하여 상술한 기능을 수행하기 위한 기능 부(FU)들이 포함될 수 있다. 각 기능부들은 독립된 처리 블록(예를 들어, 소프트웨어 프로그램, 명령어 코드들의 조합, 함수 등)으로 구현되거나, 하나의 통합된 처리 블록으로 구현될 수도 있을 것이다. 디코딩 기능부들은 하나의 통합된 처리 블록으로 구현될지라도 연결 제어부(534)의 연결 제어에 의해 상응하는 처리가 수행될 수 있음은 자명하다.The tool box 515 may include a function unit (FU) for performing the above-described function in accordance with each standard. Each functional unit may be implemented as a separate processing block (eg, a software program, a combination of instruction codes, a function, etc.) or may be implemented as one integrated processing block. Although the decoding functions are implemented in one integrated processing block, it is obvious that the corresponding processing can be performed by the connection control of the connection control unit 534.

디코딩 기능부들은 도 8에 도시된 바와 같이, DF(De-blocking Filter) 기능부(810), VR(VOP Reconstructor) 기능부(815), FFR(Frame Field Reordering) 기능부(820), IPR(Intra prediction and Picture Reconstruction) 기능부(830), IT(Inverse Transform) 기능부(835), IQ(Inverse Quantization) 기능부(845), IAP(Inverse AC Prediction) 기능부(855), IS(Inverse Scan) 기능부(860), DCR(DC Reconstruction) 기능부(865)를 포함한다. As shown in FIG. 8, the decoding functions include a de-blocking filter (DF) function 810, a VOP reconstructor (VR) function 815, a frame field reordering (FFR) function 820, and an IPR (IPR). Intra prediction and Picture Reconstruction function unit 830, Inverse Transform function unit 835, Inverse Quantization (IQ) function unit 845, Inverse AC Prediction (IAP) function unit 855, Inverse Scan The functional unit 860 includes a DC Reconstruction (DCR) functional unit 865.

IT4x4 기능부(840), IQ4x4 기능부(850) 및 DCR4x4 기능부(870)는 처리하는 블록 사이즈가 4x4인 것을 특징으로 한다. 이는 MPEG-1/2/4의 경우에는 Transform, Quantization, Prediction 시에 8x8 블록 사이즈로 데이터를 처리함에 비해, MPEG-4 AVC는 4x4 블록 사이즈로 데이터를 처리하는 경우가 존재하기 때문이다. The IT4x4 function unit 840, the IQ4x4 function unit 850, and the DCR4x4 function unit 870 are characterized in that the block size to be processed is 4x4. This is because MPEG-4 AVC processes data with 4x4 block size, whereas MPEG-1 / 2/4 processes data with 8x8 block size during Transform, Quantization, and Prediction.

툴박스(515)에는 데이터 디코딩 기능을 수행하기 위한 기능부라면 적용되는 표준에 관계없이 모두 포함될 수 있을 뿐 아니라 기술 발전과정에서 필요한 기능부는 추가될 수 있고, 기존 기능부의 수정도 가능하며, 불필요한 기능부는 제거될 수 있음은 자명하다. 예를 들어, 복호화 처리를 위해 4x4 블록 사이즈로 데이터를 처리하는 IS4x4 기능부 등이 추가로 필요한 경우 해당 기능부들이 툴박스(515)에 추 가될 수 있다. 또한, MPEG-4 AVC에서 인트라 예측(Intra Prediction) 수행을 위한 SPR(Special Prediction) 기능부(도시되지 않음) 등이 더 추가될 수도 있을 것이다.The toolbox 515 may include all of the functional units for performing data decoding regardless of the applicable standard, and may add necessary functions in the course of technology development, modify existing functions, and unnecessary functions. It is obvious that it can be removed. For example, if an IS4x4 functional unit for processing data with a 4x4 block size is additionally required for the decoding process, the corresponding functional units may be added to the toolbox 515. In addition, a special prediction (SPR) function (not shown) for performing intra prediction in MPEG-4 AVC may be further added.

툴박스(515) 내에 구비된 각 기능부는 각 표준에 독립적으로 존재하지 않고, 표준에 관계없이 동일한 처리가 가능한 기능부의 경우에는 하나의 기능부로 통합되어 구비될 수도 있음은 자명하다. 각 기능부의 기능은 당업자에게 자명한 사항이므로 간략히 설명하기로 한다.Each functional unit provided in the toolbox 515 does not exist independently of each standard, and in the case of a functional unit capable of the same processing irrespective of the standard, it is obvious that the functional unit may be integrated into one functional unit. The function of each functional unit is obvious to those skilled in the art and will be described briefly.

DF 기능부(810)는 MPEG-4 AVC의 디-블록킹 필터(de-blocking filter)이고, VR 기능부(815)는 복원된 픽셀값을 저장하는 기능부이다. The DF function 810 is a de-blocking filter of MPEG-4 AVC, and the VR function 815 is a function that stores the reconstructed pixel value.

FFR 기능부(820)는 interlaced 모드를 위한 기능부이고, IPR 기능부(830)는 MPEG-4 AVC의 인트라 예측(Intra prediction)을 한 후 복원된 픽셀값을 저장하는 기능부이다. 상술한 바와 같이, MPEG-4 AVC의 인트라 예측은 SPR 기능부에 의해 수행될 수 있을 것이다. The FFR function unit 820 is a function unit for the interlaced mode, and the IPR function unit 830 is a function unit that stores the reconstructed pixel value after intra prediction of MPEG-4 AVC. As described above, intra prediction of MPEG-4 AVC may be performed by the SPR function.

IT 기능부(835)는 DC값 및 AC값들의 역 변환(inverse transform)을 수행하는 기능부이고, IQ 기능부(845)는 AC 값들을 역 양자화(inverse quantization)하는 기능부이다.The IT function unit 835 is a function unit that performs inverse transform of DC values and AC values, and the IQ function unit 845 is a function unit for inverse quantization of AC values.

IAP 기능부(855)는 AC값들을 역 예측(inverse AC prediction)하는 기능부이고, IS 기능부(860)는 AC값들을 역 스캔(inverse scan)하는 기능부이다. DCR 기능부(865)는 DC값들의 역 예측 및 역 양자화를 수행하는 기능부이다.The IAP function 855 is a function for inverse AC prediction of AC values, and the IS function 860 is a function for inverse scan of AC values. The DCR function unit 865 is a function unit that performs inverse prediction and inverse quantization of DC values.

상술한 파싱 기능부(610)와 디코딩 기능부들간의 처리 동작이 반드시 순차적 으로 진행되어야 하는 것(즉, 파싱 기능부(610)의 동작이 완료된 후 디코딩 기능부의 동작 개시)은 아니며, 연결 제어부(534)의 연결 제어에 의해 둘 이상의 기능부들이 작업 메모리에 로드되도록 함으로써 병렬적인 처리도 가능함은 자명하다. 예를 들어, 특정 디코딩 기능부의 동작을 위해 필요한 최소한의 엘리먼트 정보만이 파싱 기능부(610)에 의해 CSCI 저장부(532)에 저장되면 충분할 수 있기 때문이다.The above-described processing operations between the parsing function unit 610 and the decoding function units must not be sequentially performed (that is, the operation of the decoding function unit after the operation of the parsing function unit 610 is completed), and the connection control unit 534 It is obvious that parallel processing is also possible by allowing two or more functional units to be loaded into the working memory by the control of the connection. For example, it may be sufficient if only the minimum element information necessary for the operation of a particular decoding function is stored in the CSCI storage 532 by the parsing function 610.

또한, 앞서 도 6을 참조하여 설명한 바와 같이, 디코딩 솔루션(530) 내에 파싱 기능부(610)가 구비되거나 둘 이상의 작업 메모리가 구비되는 경우 연결 제어부(534)의 별도 제어가 없더라도 syntax 파싱 및 디코딩 처리의 병렬 처리가 가능해짐은 별도의 설명을 생략할지라도 자명하다.In addition, as described above with reference to FIG. 6, when the parsing function 610 is provided in the decoding solution 530 or two or more working memories are provided, syntax parsing and decoding processing is performed even if there is no separate control of the connection controller 534. The parallel processing of is possible even if the description is omitted.

CSCI 저장부(532)에는 파싱 기능부(610)에서 CSCI 제어 정보(또는 syntax 파싱 제어 정보)를 이용한 신택스 파싱에 의한 결과값인 엘리먼트 정보(예를 들어, CSCI)가 CSCIT(440)에 상응하도록 저장된다. CSCI 저장부(532)는 예를 들어 버퍼 메모리(buffer memory)일 수 있다.In the CSCI storage unit 532, element information (eg, CSCI) that is a result of syntax parsing using CSCI control information (or syntax parsing control information) in the parsing function unit 610 corresponds to the CSCIT 440. Stored. The CSCI storage unit 532 may be, for example, a buffer memory.

CSCI 저장부(532)에 저장된 엘리먼트 정보는 파싱 기능부(610)에 의해 SET(450)의 프로세스 수행을 위한 입력 데이터로 이용되거나, S-RT(460)에서 후속하는 연결 인덱스를 결정하기 위한 제어 변수로 이용될 수 있다. The element information stored in the CSCI storage unit 532 is used as input data for performing the process of the SET 450 by the parsing function unit 610, or a control for determining a subsequent connection index in the S-RT 460. Can be used as a variable.

또한, CSCI 저장부(532)에 저장된 엘리먼트 정보는 연결 제어부(534)에 의해 F-RT(420)에서 후속하는 연결 인덱스를 결정하기 위한 제어 변수로 이용되거나, FU-CSCIT(430)에서 특정 기능부(FU)의 입력 CSCI를 CSCI 저장부(532)에 저장된 엘리먼트 정보들과 매핑하기 위해 이용될 수 있다.In addition, the element information stored in the CSCI storage unit 532 is used by the connection control unit 534 as a control variable for determining a subsequent connection index in the F-RT 420, or a specific function in the FU-CSCIT 430 It may be used to map the input CSCI of the unit FU with element information stored in the CSCI storage unit 532.

즉, CSCI 저장부(532)에 저장된 엘리먼트 정보는 파싱 기능부(610)와 디코딩 기능부들간에 연동하도록 하는 역할을 한다.That is, element information stored in the CSCI storage unit 532 serves to interwork between the parsing function unit 610 and the decoding function units.

연결 제어부(534)는 각 기능부들의 선택적 로드(load)의 제어를 통해 다양한 표준에 의해 인코딩된 비트스트림을 디코딩하기 위해 각 디코딩 기능부들의 연결 관계(connection)를 설정한다. 즉, 연결 제어부(534)는 툴박스(515)에 포함된 각 기능부들 중 적절한 기능부를 선택하여 선택된 기능부들간의 수행 순서를 결정한다. 이를 위하여, 연결 제어부(534)는 연결 제어 정보를 이용하여 해당 기능부들을 연결하고, 각 기능부들이 파싱 기능부(610)에 의해 제공된 엘리먼트 정보들을 이용하여 매크로블록 단위의 동영상 데이터를 복호화하도록 한다. The connection control unit 534 establishes a connection relationship of each decoding function unit to decode bitstreams encoded by various standards through control of selective load of each function unit. That is, the connection controller 534 selects an appropriate functional unit among the functional units included in the toolbox 515 to determine an execution order between the selected functional units. To this end, the connection control unit 534 connects the corresponding functional units using the connection control information, and allows each functional unit to decode the video data in macroblock units using the element information provided by the parsing functional unit 610. .

이하, 도 5에 도시된 디코더 형성부(520)의 정보 가공부(524)의 동작을 중심으로 각 부분 디코더 디스크립션들의 기능 및 용도를 관련 도면을 참조하여 설명하기로 한다. 또한, 연결 제어부(534) 등의 처리 동작이 정보 가공부(524)에 의해 가공된 정보가 이용되지만, 설명 및 이해의 편의를 위해 부분 디코더 디스크립션의 내용을 참조하여 설명하기로 한다.Hereinafter, the functions and uses of the respective decoder descriptions will be described with reference to the accompanying drawings, focusing on the operation of the information processing unit 524 of the decoder forming unit 520 shown in FIG. 5. In addition, although the information processed by the information processing part 524 is used for the processing operation of the connection control part 534 etc., it demonstrates with reference to the content of the partial decoder description for convenience of description and understanding.

정보 가공부(524)가 연결 제어 정보를 생성하기 위해 이용하는 부분 디코더 디스크립션들로는 FL(410), F-RT(420), FU-CSCIT(430) 및 CSCIT(440) 등이 있다. 또한, syntax 파싱을 위한 각 기능부들의 연결 관겨를 설정하기 위해 S-RT(460)가 더 이용될 수 있다.The partial decoder descriptions used by the information processing unit 524 to generate the connection control information include the FL 410, the F-RT 420, the FU-CSCIT 430, and the CSCIT 440. In addition, the S-RT 460 may further be used to establish a connection relationship of respective functional units for syntax parsing.

먼저, FL(FU List, 410)은 도 18에서 보여지는 바와 같이, 툴박스(515) 내에 구비된 각 기능부들의 리스트, 해당 기능부들의 입출력 데이터와 기능부들을 제어 하는 엘리먼트 정보를 담은 부분 디코더 디스크립션이다. First, as shown in FIG. 18, the FL (FU List) 410 is a partial decoder description including a list of respective functional units included in the toolbox 515, input / output data of the corresponding functional units, and element information for controlling the functional units. to be.

FL(410)은 각 기능부에 대한 입력 데이터의 버퍼 메모리 명칭(또는 해당 데이터의 기록 주소 또는 해당 데이터가 기록된 버퍼 메모리 내의 주소)과 해당 기능부에 의한 출력 데이터의 버퍼 메모리 명칭(또는 해당 데이터의 기록 주소 또는 해당 데이터가 기록될 버퍼 메모리 내의 주소)을 더 포함할 수 있다. The FL 410 is a buffer memory name (or a write address of the data or an address in the buffer memory in which the data is recorded) of the input data for each functional unit, and a buffer memory name (or the corresponding data) of the output data by the corresponding functional unit. The write address or address in the buffer memory to which the corresponding data is to be written).

따라서, 각 기능부는 FL(410)을 이용하여 입력 데이터를 읽고 처리한 출력 데이터를 기록할 수 있다. 또한, FL(410)에 기록된 정보를 이용하여 각 기능부간에 입출력 데이터가 전달되도록 하거나, 연결 제어부(534)가 각 기능부에 적절한 입력 데이터를 제공할 수도 있다.Accordingly, each functional unit may record output data read and processed by the input data using the FL 410. In addition, the input / output data may be transferred between the respective functional units using the information recorded in the FL 410, or the connection controller 534 may provide appropriate input data to each functional unit.

그러나, FL(410)에는 엘리먼트 정보를 생성하는 파싱 기능부(610)의 입력 데이터 및 출력 데이터는 기재되어 있지 않으나, 이는 파싱 기능부(610)가 SET(450) 등의 정보를 이용하여 엘리먼트 정보를 생성하고 지정된 위치에 생성한 엘리먼트 정보를 기록하기 때문이다.However, the input data and output data of the parsing function unit 610 for generating the element information are not described in the FL 410, which is determined by the parsing function unit 610 using information such as the SET 450. This is because it creates and records the created element information in the specified location.

FL(410)은 도 18에 예시된 바와 같이, 각 기능부를 구분하기 위한 구분자인 index(F), 각 기능부의 이름(FU Name), 해당 기능부에 필요한 입력제어(CSCI) 변수의 개수, 입력 데이터 및 출력 데이터를 포함할 수 있다. As illustrated in FIG. 18, the FL 410 includes an index (F), which is an identifier for distinguishing each functional unit, a name of each functional unit (FU Name), the number of input control (CSCI) variables required for the corresponding functional unit, and an input. Data and output data.

연결 제어부(534)에 의해 작업 메모리에 로드된 특정 기능부는 연결 제어부(534)로부터 입력 데이터를 제공받고, 미리 설정된 프로세스를 수행하여 출력 데이터를 생성한다. 여기서, 기능부는 툴박스(515)에 포함되며, 입력 데이터를 미리 지정된 프로세스로 처리하여 출력 데이터를 생성하는 일련의 처리 과정(예를 들어, 기능, 알고리즘 또는 함수 등)을 의미한다. 해당 기능부는 출력 데이터를 후속하는 기능부(즉, 후속하여 연결 제어부(534)의 제어에 의해 로드된 기능부)의 처리를 위해 버퍼 메모리에 저장할 수 있다. 도 18에 예시된 기능부(FU) 들에 대해서는 앞서 관련 도면을 참조하여 이미 설명하였으므로, 그 설명은 생략한다. 또한, 도 18에서의 QFS, QFSP, PQF, QF 등은 MPEG 분야 등의 당업자에게 자명한 사항이므로 이에 대한 설명은 생략한다. 일 예로, QFS는 가변장 부호화를 한 출력값을 의미한다. The specific function unit loaded in the working memory by the connection controller 534 receives input data from the connection controller 534 and performs a preset process to generate output data. Here, the functional unit is included in the toolbox 515, and refers to a series of processes (eg, a function, an algorithm, or a function) for processing input data in a predetermined process to generate output data. The function unit may store the output data in a buffer memory for processing of a subsequent function unit (ie, a function unit subsequently loaded by the control of the connection control unit 534). Since the functional units FU illustrated in FIG. 18 have already been described with reference to the related drawings, the description thereof will be omitted. In addition, since QFS, QFSP, PQF, and QF in FIG. 18 are obvious to those skilled in the art of MPEG, the description thereof will be omitted. For example, QFS means an output value obtained by variable length coding.

디코딩 처리 유닛(320)이 종래 비트스트림(316)에 포함된 인코딩된 비디오 데이터의 디코딩을 위해 하나의 표준만을 이용하면 충분한 경우, FL(410)은 해당 표준에서 상응하는 처리를 수행하기 위한 기능부들에 대한 정보만을 포함할 수 있다. If the decoding processing unit 320 is sufficient to use only one standard for decoding the encoded video data included in the conventional bitstream 316, the FL 410 may be equipped with functional units for performing corresponding processing in that standard. It can only contain information about.

그러나, 해당 비디오 데이터가 복수의 표준에 의해 인코딩된 경우(예를 들어, 복수의 프레임 단위로 인코딩 표준을 달리 적용한 경우)에는 해당 인코딩된 비디오 데이터의 디코딩을 위해 복수의 표준에 따른 기능부들의 정보가 필요할 것이다. 따라서, 이 경우 FL(410)은 상응하는 복수의 표준에 따른 모든 기능부들 중 인코딩된 비디오 데이터의 디코딩을 위해 필요한 복수의 표준에 따른 기능부들의 정보를 포함하여야 할 것이다.However, when the video data is encoded by a plurality of standards (for example, when the encoding standard is applied differently in units of a plurality of frames), the information of the functional units according to the plurality of standards for decoding the encoded video data. Will be needed. Accordingly, in this case, the FL 410 should include information of the functional units according to the plurality of standards necessary for decoding of encoded video data among all the functional units according to the corresponding plurality of standards.

물론, 비디오 데이터가 복수의 프레임 단위로 인코딩 표준을 달리 적용할지라도, 적용된 인코딩 표준별로 복수의 종래 비트스트림(316) 및 확장 비트스트림(305)이 생성되어 출력된다면 각각의 FL(410)은 각각 상응하는 표준에 따른 기능부들의 정보만을 포함하면 될 것이다.Of course, even if the video data is differently applied to the encoding standard in units of a plurality of frames, each of the FLs 410 is provided if a plurality of conventional bitstreams 316 and extension bitstreams 305 are generated and output for each applied encoding standard. It may be necessary to include only the information of the functional units according to the corresponding standard.

FL(410)은 textual description이나 binary description(비트 변환된 바이너리 코드 형태) 등의 기술 방식으로 기술될 수 있을 뿐 아니라, 상기 부분 디코더 디스크립션 중 필요한 최소한의 데이터가 유사 스크립트 언어로 기술될 수도 있다.The FL 410 may be described in a description manner such as a textual description or a binary description (in the form of a bit-converted binary code), and the minimum data required during the partial decoder description may be described in a similar script language.

다음으로, F-RT(FU - Rule Table, 420)은 입력된 종래 비트스트림(316)을 복호화하기 위하여 사용될 기능부들의 연결 정보를 제공한다. Next, the F-RT (FU-Rule Table) 420 provides connection information of functional units to be used to decode the input conventional bitstream 316.

F-RT(420)는 도 19에서 보여지는 바와 같이, 각 연결 정보(Rule)를 구분하는 인덱스(Index, R), 해당 연결 인덱스에 상응하는 기능부(FU, F#), 연결 제어를 위해 필요한 엘리먼트 정보(Input CS/CI, C#), 후속하는 기능부와 연결되어질 수 있는 분기의 수(No. of branches), 분기의 수 만큼 필요한 각 분기 정보(branch information) (#1, #2, #3…) 등을 포함한다. As shown in FIG. 19, the F-RT 420 is required for index control (Index, R) for distinguishing each connection information (Rule), function units (FU, F #) corresponding to the corresponding connection index, and connection control. Element information (Input CS / CI, C #), the number of branches that can be connected to subsequent functional units, and each branch information required by the number of branches (# 1, # 2, # 3…) and the like.

필요한 엘리먼트 정보는 분기의 수가 2 이상인 경우에만 존재하며, 이 경우는 필요한 엘리먼트 정보를 이용한 조건문의 판단 결과에 따라 연결 인덱스가 달라질 수 있다. 즉, 분기의 수가 1인 경우는 필요한 엘리먼트 정보가 존재하지 않으며, 분기 정보에서 지시하는 연결 인덱스로 진행한다. 해당 조건문 이후에는 후속하는 연결 인덱스(R)가 제시된다. Necessary element information exists only when the number of branches is 2 or more. In this case, the connection index may vary according to the determination result of the conditional statement using the required element information. That is, when the number of branches is 1, necessary element information does not exist and the process proceeds to the connection index indicated by the branch information. After that conditional statement, the subsequent connection index (R) is presented.

디코딩 처리 유닛(320)이 종래 비트스트림(316)에 포함된 인코딩된 비디오 데이터의 디코딩을 위해 하나의 표준만을 이용하면 충분한 경우, F-RT(420)은 해당 표준만에서 상응하는 처리를 수행하기 위한 기능부들의 연결 관계 등을 지시할 것이다. If the decoding processing unit 320 is sufficient to use only one standard for decoding the encoded video data included in the conventional bitstream 316, the F-RT 420 may perform the corresponding processing only in that standard. Will indicate the connection relationship between the functional units.

그러나, 해당 비디오 데이터가 복수의 표준에 의해 인코딩된 경우(예를 들 어, 복수의 프레임 단위로 인코딩 표준을 달리 적용한 경우)에는 해당 인코딩된 비디오 데이터의 디코딩을 위해 복수의 표준에 따른 기능부들의 연결 관계 등을 지정하기 위한 정보가 포함될 것임은 자명하다. 이는 이하에서 언급되는 각 부분 디코더 디스크립션들도 복수의 표준에서 적용되기 위해 추가적인 정보들 및/또는 복수의 표준에 적용되기 위한 수정 등을 필요로 한다면 해당 정보들을 더 포함할 것임은 자명하다.However, if the video data is encoded by a plurality of standards (for example, if the encoding standard is applied differently in units of a plurality of frames), the functional units according to the plurality of standards may be used to decode the encoded video data. It is obvious that information for specifying a connection relationship will be included. It is obvious that each of the partial decoder descriptions mentioned below will further include corresponding information if it needs additional information and / or modification to be applied to the plurality of standards in order to be applied in the plurality of standards.

F-RT(420)는 textual description이나 binary description(비트 변환된 바이너리 코드 형태) 등의 기술 방식으로 기술될 수 있을 뿐 아니라, 상기 부분 디코더 디스크립션 중 필요한 최소한의 데이터가 유사 스크립트 언어로 기술될 수도 있다.The F-RT 420 may be described in a description manner such as a textual description or a binary description (in the form of a bit-converted binary code), and the minimum data required in the partial decoder description may be described in a similar script language. .

도 19에 예시된 각 연결 정보(Rule)를 구분하는 인덱스(Index, R) 중 R0부터 R5 및 R12를 실시하기 위한 기능부(FU)는 F0이다. F0는 도 18의 FL(410)을 참조하면 파싱 기능부(610)임을 알 수 있다. 따라서, 연결 제어부(534)가 툴박스(515) 내에 구비된 각 기능부들(도 5의 경우, syntax 파싱을 수행하는 기능부를 포함함)의 동작상의 연결 관계를 제어함을 알 수 있다. 또한, 선택된 기능부가 syntax 파싱을 수행하는 기능부인 경우, 해당 기능부가 몇 번째 Syntax를 읽어 처리하여야 하는지에 관한 연결 정보(Rule)가 F-RT(420)에 포함됨을 알 수 있다(예를 들어, F0(R74) 등).The functional unit FU for implementing R0 to R5 and R12 among the indexes (R) that distinguish each connection information (Rule) illustrated in FIG. 19 is F0. Referring to FL 410 of FIG. 18, it may be understood that F0 is a parsing function 610. Accordingly, it can be seen that the connection controller 534 controls the operational connection relationship of each of the functional units (in the case of FIG. 5, including the functional unit that performs syntax parsing) included in the toolbox 515. In addition, when the selected function is a function that performs syntax parsing, it can be seen that the F-RT 420 includes connection information (Rule) regarding how many syntaxes the function should read. F0 (R74), etc.).

또한, 인덱스 R1에는 기능부 항목에 'PROCESS1'이라 정의되어 있다. 예를 들어, 'PROCESS1'은 변수 선언, 메모리 설정, 변수 값 초기화 등과 같이 소프트웨어의 구현시 필요로 하는 기타 작업(즉, 신택스 파싱, 데이터 디코딩 이외의 작업)을 수행하기 위하여 호출되는 함수일 수 있다. 이와 같은 프로세스(PROCESS)는 소프트웨어의 수행을 위해 F-RT(420)의 필요 위치에 삽입되어 신택스 파싱 또는 데이터 디코딩 과정의 중간에 연결 제어부(534)에 의해 호출되어 실행될 수 있을 것이다. 도 19에는 하나의 프로세스만이 삽입되었으나, 각각 수행 동작이 동일하거나 상이한 복수의 프로세스가 F-RT(420)의 복수의 위치에 삽입될 수도 있음은 자명하다. In addition, the index R1 defines 'PROCESS1' as the functional part item. For example, 'PROCESS1' may be a function that is called to perform other tasks (ie, operations other than syntax parsing and data decoding) required for the software implementation, such as variable declaration, memory setting, and variable value initialization. Such a process may be inserted into a required position of the F-RT 420 to be executed by the software, and may be called and executed by the connection controller 534 in the middle of a syntax parsing or data decoding process. Although only one process is inserted in FIG. 19, it is apparent that a plurality of processes having the same or different performing operations may be inserted at a plurality of positions of the F-RT 420.

다음으로, FU-CSCIT(FU CSCI Table, 430)은 CSCI 저장부(532)에 저장된 엘리먼트 정보와 각 기능부가 필요로 하는 엘리먼트 정보(input CSCI)를 연결하기 위한 부분 디코더 디스크립션이다.Next, the FU-CSCIT (FU CSCI Table) 430 is a partial decoder description for connecting the element information stored in the CSCI storage unit 532 and the element information (input CSCI) required for each functional unit.

도 20에 예시된 바와 같이, FU-CSCIT(430)는 FL(410)의 인덱스와 엘리먼트 정보의 쌍으로서 나열되는 인덱스(F-C), 해당 엘리먼트 정보, 매핑을 위하여 CSCIT(440)에서 사용하는 인덱스(C)를 포함한다. 이외에 FU-CSCIT(430)는 엘리먼트 정보의 데이터 타입(data type)을 더 포함할 수 있다. 예를 들어, 데이터 타입은 9-bit integer, 1-bit flag 등의 형태로 기술될 수 있을 것이다.As illustrated in FIG. 20, the FU-CSCIT 430 is an index (FC) listed as a pair of indexes and element information of the FL 410, and an index used by the CSCIT 440 for corresponding element information and mapping ( C). In addition, the FU-CSCIT 430 may further include a data type of element information. For example, the data type may be described in the form of a 9-bit integer, a 1-bit flag, or the like.

FU-CSCIT(430)는 textual description이나 binary description(비트 변환된 바이너리 코드 형태) 등의 기술 방식으로 기술될 수 있을 뿐 아니라, 상기 부분 디코더 디스크립션 중 필요한 최소한의 데이터가 유사 스크립트 언어로 기술될 수도 있다.The FU-CSCIT 430 may not only be described in a description manner such as a textual description or a binary description (in the form of a bit-converted binary code), but the minimum data required among the partial decoder descriptions may be described in a similar script language. .

예를 들어, F-RT(420) 에서 F1이 네 개의 엘리먼트 정보의 입력을 받는다면(도 18 참조), FU-CSCIT(430)에는 기능부별 엘리먼트 정보들이 리스트되어진다. 즉, F1-C1, F1-C2, F1-C3. F1-C4가 리스트되고 CSCIT(440)(도 21 참조)의 인덱 스(C)를 사용하여 C54, C56, C58, C65와 같이 각 엘리먼트 정보가 매핑된다. For example, if F1 receives input of four element information in the F-RT 420 (see FIG. 18), the element information for each functional part is listed in the FU-CSCIT 430. That is, F1-C1, F1-C2, F1-C3. F1-C4 is listed and each element information is mapped, such as C54, C56, C58, C65, using the index C of CSCIT 440 (see FIG. 21).

마찬가지로, F2가 2개의 엘리먼트 정보의 입력을 가진다면, F2-C1, F2-C2로 인덱싱하고 C56, C58 값으로 매핑된다. 여기서, C54, C56 등은 각각 해당하는 엘리먼트 정보가 저장된 주소(예를 들어, 기록 주소, 버퍼 메모리 명칭 또는 버퍼 메모리 내의 기록 주소)로서 인식될 수 있으며, 해당 기능부는 입력 데이터 및 인덱스(C)에 상응하는 엘리먼트 정보를 이용하여 출력 데이터를 생성하여 출력(또는 버퍼 메모리에 기록)할 수 있다. Similarly, if F2 has an input of two element information, it is indexed by F2-C1, F2-C2 and mapped to C56, C58 values. Here, C54, C56, etc. may be recognized as an address (for example, a write address, a buffer memory name, or a write address in the buffer memory) in which the corresponding element information is stored, and the corresponding function unit may correspond to the input data and the index C. Output data may be generated and output (or written to a buffer memory) using corresponding element information.

예를 들어, FL(410)에서 DCR은 QFS라는 입력 데이터를 처리하기 위하여 4개의 엘리먼트 정보를 필요로 하고, 4개의 엘리먼트 정보는 FU-CSCIT(430)에 의해 C54, C56, C58 및 C65인 것으로 인식되며, CSCI 저장부(532)에서 해당 인덱스(C)에 상응하는 엘리먼트 정보를 독출하여 QFSP를 생성할 수 있다.For example, in FL 410, DCR needs 4 element information to process input data called QFS, and the 4 element information is C54, C56, C58 and C65 by FU-CSCIT 430. The QFSP may be generated by reading the element information corresponding to the corresponding index C from the CSCI storage unit 532.

마지막으로, CSCIT(440)는 파싱 기능부(610)가 SET(450) 및 S-RT(460)를 이용한 프로세스의 결과 정보인 엘리먼트 정보(예를 들어, CSCI)에 대한 상세 정보가 기술된 것이다. 즉, CSCIT(440)는 종래 비트스트림(316)으로부터 처리되어 CSCI 저장부(532)에 저장되고, 디코딩 기능부들에 의해 이용될 모든 의미있는 자료(즉, 엘리먼트 정보)들에 대한 정보를 가진다.Finally, the CSCIT 440 describes detailed information about element information (eg, CSCI) that is the result information of the process in which the parsing function 610 uses the SET 450 and the S-RT 460. . That is, the CSCIT 440 is processed from the conventional bitstream 316 and stored in the CSCI storage 532 and has information about all meaningful material (ie element information) to be used by the decoding functions.

도 21에 예시된 바와 같이, CSCIT(440)는 해당 엘리먼트 정보의 고유 번호로서 구분자인 인덱스(C), 플래그(flag), 해당 엘리먼트 정보의 이름(Element Name), 해당 엘리먼트 정보의 자료 구조적인 특성을 지정하기 위한 속성(예를 들어, 해당 엘리먼트 정보의 저장 공간 크기, 해당 엘리먼트 정보가 배열형(Array)인지 여부 등), 해당 엘리먼트 정보가 신택스 파싱 과정에서만 이용되는지 또는 전체적인 디코딩 과정에서 이용되는지를 나타내는 Global/Local 등을 포함한다. As illustrated in FIG. 21, the CSCIT 440 is a unique number of the corresponding element information. The index C, a flag, the element name of the element information, and the data structural characteristics of the element information are delimiters. To specify whether the element information is used only in the syntax parsing process or the overall decoding process, for example, the storage space of the element information, whether the element information is an array, etc. Includes Global / Local, etc.

CSCIT(440)는 textual description이나 binary description(비트 변환된 바이너리 코드 형태) 등의 기술 방식으로 기술될 수 있을 뿐 아니라, 상기 부분 디코더 디스크립션 중 필요한 최소한의 데이터가 유사 스크립트 언어로 기술될 수도 있다.The CSCIT 440 may be described in a description manner such as a textual description or a binary description (in the form of a bit-converted binary code), and the minimum data required in the partial decoder description may be described in a similar script language.

이어서, 파싱 기능부(610)(또는 툴박스(515) 내의 syntax 파싱을 수행하는 기능부들)가 종래 비트스트림(316)으로부터 엘리먼트 정보를 추출 또는 생성하여 CSCI 저장부(532)에 저장하기 위하여 이용하는 CSCI 제어 정보를 생성하기 위한 부분 디코더 디스크립션들인 CSCIT(440), SET(450), S-RT(460) 및 DVT(470)에 관하여 설명하기로 한다. 다만, CSCIT(440)는 앞서 도 21을 참조하여 설명하였으므로 이에 대한 설명은 생략한다.Then, the CSCI used by the parsing function 610 (or functions that perform syntax parsing in the toolbox 515) to extract or generate element information from the conventional bitstream 316 and store it in the CSCI storage 532. The partial decoder descriptions for generating control information, CSCIT 440, SET 450, S-RT 460 and DVT 470, will now be described. However, since the CSCIT 440 has been described above with reference to FIG. 21, description thereof will be omitted.

먼저, SET(450)는 입력된 종래 비트스트림(316)의 신택스(syntax)들에 대한 정보에 의해 구성된 부분 디코더 디스크립션이다. First, the SET 450 is a partial decoder description configured by information on the syntaxes of the input conventional bitstream 316.

도 22 내지 도 25에 예시된 바와 같이, SET(450)는 각 신택스에 대한 인덱스(index), 엘리먼트 명칭(Element Name), 입력 데이터(input data), 출력 데이터(output data) 및 SET-프로세스(process by SET-PROC) 정보를 포함한다. 여기서 인덱스는 S-RT(460)에서 사용되는 각 신택스를 구분하는 구분자(S)이다. 엘리먼트 명칭은 신택스의 이름으로, 신택스의 의미나 역할에 따라 명명될 수 있다. 입력 데이터는 종래 비트스트림(316)에서 한 번에 입력되는 명목적 비트 길이이다. 출력 데이터는 엘리먼트 정보(즉, CSCI 정보(C))로서, 획득한 데이터를 저장할 때 참조하는 CSCIT(440)의 목록을 나타낸다. 여기서, 출력 데이터 필드는 생성된 엘리먼트 정보가 기록될 버퍼 메모리 명칭(또는 해당 데이터의 기록 주소 또는 해당 데이터가 기록된 버퍼 메모리 내의 주소)일 수 있다. 이를 이용하여, 추후 해당 엘리먼트 정보가 입력 데이터로서 필요한 경우 CSCI 정보(C)를 이용하여 해당 엘리먼트 정보를 리드(read)될 수 있다. SET-프로세스는 각 비트스트림 신택스를 입력 받아 어떤 가공 절차를 거쳐 출력 데이터인 엘리먼트 정보를 생성할 것인지의 과정을 기술한다.As illustrated in FIGS. 22 through 25, the SET 450 includes an index, an element name, input data, output data, and a SET-process (for each syntax). process by SET-PROC) information. Here, the index is a delimiter S for distinguishing each syntax used in the S-RT 460. The element name is the name of the syntax, and can be named according to the meaning or role of the syntax. The input data is the nominal bit length input at one time in the conventional bitstream 316. The output data is element information (ie, CSCI information C) and represents a list of CSCITs 440 to which reference is made when storing acquired data. Here, the output data field may be a buffer memory name (or a write address of the corresponding data or an address in the buffer memory where the corresponding data is recorded) in which the generated element information is to be recorded. By using this, if the corresponding element information is needed later as input data, the corresponding element information may be read using the CSCI information (C). The SET-process describes the process of inputting each bitstream syntax and generating the element information of the output data through a certain processing procedure.

SET(450)는 textual description이나 binary description(비트 변환된 바이너리 코드 형태) 등의 기술 방식으로 기술될 수 있을 뿐 아니라, 상기 부분 디코더 디스크립션 중 필요한 최소한의 데이터가 유사 스크립트 언어로 기술될 수도 있다.The SET 450 may be described in a description manner such as a textual description or a binary description (in the form of a bit-converted binary code), and the minimum data required during the partial decoder description may be described in a similar script language.

다음으로, S-RT(460)는 종래 비트스트림(316) 내의 각 신택스간의 연결 정보를 나타낸 것이다. 즉, S-RT(460)는 각 신택스를 호출하고 다음 신택스로 이동하도록 지시하는 정보를 가진다. 파싱 기능부(610)는 S-RT(460)를 이용하여 종래 비트스트림(316)을 읽어 들이거나 엘리먼트 정보가 CSCI 저장부(532)에 저장 및/또는 갱신되는 순서를 규정한다.Next, the S-RT 460 shows connection information between each syntax in the conventional bitstream 316. That is, the S-RT 460 has information instructing to call each syntax and move to the next syntax. The parsing function 610 reads the conventional bitstream 316 using the S-RT 460 or defines the order in which element information is stored and / or updated in the CSCI storage 532.

하기 도 26 내지 도 29에 예시된 바와 같이, S-RT(460)는 인덱스(R), 신택스의 인덱스(S), 입력 데이터(C), 분기의 수(No. of branches), 분기 정보를 포함한다. As illustrated in FIGS. 26 to 29, the S-RT 460 stores the index R, the syntax index S, the input data C, the number of branches, and branch information. Include.

인덱스(R)은 각 연결 정보(Rule)를 구분하도록 한다. 신택스의 인덱스(S)는 특정 연결 인덱스에서 처리할 신택스를 지정하므로, 파싱 기능부(또는 syntax 파싱을 수행하는 기능부들)는 SET(450)을 이용하여 해당 신택스에 대해 지정된 프로세스를 수행한다. The index (R) distinguishes each connection information (Rule). Since the index S of the syntax designates a syntax to be processed in a specific connection index, the parsing function (or functional units performing syntax parsing) performs a process specified for the syntax using the SET 450.

입력 데이터는 해당 연결 인덱스에서의 연결 제어를 위한 조건 판단에 사용될 엘리먼트 정보의 목록을 나타낸다. The input data represents a list of element information to be used in condition determination for connection control in the corresponding connection index.

분기의 수는 후속하는 신택스에 연결되어질 수 있는 경우의 수로서, 해당 연결 인덱스에서 가지는 분기 경로의 총 수를 나타낸다. 분기 정보는 분기의 수 만큼 필요한 분기 정보가 존재(#1, #2, #3… 등)하며, 다음에 어떤 연결 인덱스를 처리할 것인지를 결정하도록 하는 조건 판단 알고리즘이다. 분기 정보에 의해 어떤 순서에 따라 어떤 내용을 읽어 들일지가 직접적으로 판단될 수 있다. 도 22 내지 도 25에서 보여지는 바와 같이, 분기의 수가 1인 경우에는 입력 데이터가 존재하지 않으며, 분기 정보에 지정된 연결 인덱스를 처리하기 위해 즉시 진행한다. 그러나, 분기의 수가 2 이상인 경우에는 조건 판단이 수행(조건문 이후에는 다음 번 연결 정보(R)로 구성됨)되고 상응하는 연결 인덱스를 처리하기 위해 진행한다. The number of branches indicates the total number of branch paths in the corresponding connection index, which is the number of cases that can be connected to the following syntax. The branch information is a condition judgment algorithm for determining whether there is branch information necessary for the number of branches (# 1, # 2, # 3, ..., etc.) and which link index to process next. It is possible to directly determine what contents to read in accordance with the branch information. As shown in Figs. 22 to 25, when the number of branches is 1, there is no input data, and the process proceeds immediately to process the connection index specified in the branch information. However, if the number of branches is two or more, the condition determination is performed (composed of the next connection information R after the conditional statement) and proceeds to process the corresponding connection index.

파싱 기능부(610)는 해당 연결 인덱스에서 정의한 신택스를 처리하여 CSCI 저장부(532)를 갱신한 후, 갱신된 CSCI 저장부(532)의 엘리먼트 정보를 참조하여 읽어들인 후 분기 조건 판단에 활용한다. 이는 예를 들어, 인덱스 R0의 분기 정보의 분기 조건인 'C0==1'에서의 C0는 신택스 S0를 처리한 후의 엘리먼트 정보 C0이다. The parsing function unit 610 updates the CSCI storage unit 532 by processing the syntax defined by the corresponding connection index, reads the element information of the updated CSCI storage unit 532, and uses the same to determine branch conditions. . This is, for example, the element information C0 after processing the syntax S0 in the branch condition of the branch information of the index R0, that is, C0 at 'C0 == 1'.

S-RT(460)는 textual description이나 binary description(비트 변환된 바이 너리 코드 형태) 등의 기술 방식으로 기술될 수 있을 뿐 아니라, 상기 부분 디코더 디스크립션 중 필요한 최소한의 데이터가 유사 스크립트 언어로 기술될 수도 있다.Not only can the S-RT 460 be described in a description manner such as a textual description or a binary description (in the form of a bit-converted binary code), but the minimum data required in the partial decoder description may be described in a similar script language. have.

마지막으로, DVT(470)는 각 부호화기/복호화기에서 사용하는 허프만 테이블(Huffman table) 정보가 기록된 부분 디코더 디스크립션이다. MPEG-1/2/4/AVC에서는 각 부호화 시 엔트로피 코딩(entropy coding)을 수행한다. 이 때 주로 허프만 코딩(Huffman coding) 방법이 이용되며, 이 경우 이용되는 정보가 허프만 테이블(Huffman table)이다. 통합 코덱을 구현하기 위해서는 각 복호 시 해당 복호화기에서 사용될 허프만 테이블(Huffman table) 정보가 제공되어야 한다. 따라서, 본 발명에 따른 디코딩 디스크립션 내에 신택스 파싱시 각 신택스(syntax)에 해당하는 허프만 테이블(Huffman table) 정보를 포함한다. 물론, 각 표준에 상응하는 허프만 테이블 정보가 이미 디스크립션 저장부(510)에 기록되어 있는 경우 DVT(470)의 전송은 생략되거나 도 11에 예시된 바와 같이 코덱 번호(Codec #, 1120)와 프로파일 및 레벨 번호(Profile and level #, 1130)만이 포함될 수도 있을 것이다.Finally, DVT 470 is a partial decoder description in which Huffman table information used in each encoder / decoder is recorded. In MPEG-1/2/4 / AVC, entropy coding is performed at each encoding. In this case, a Huffman coding method is mainly used, and the information used in this case is a Huffman table. In order to implement the integrated codec, Huffman table information to be used in the corresponding decoder in each decoding should be provided. Therefore, Huffman table information corresponding to each syntax is included in the syntax description in the decoding description according to the present invention. Of course, if Huffman table information corresponding to each standard is already recorded in the description storage unit 510, the transmission of the DVT 470 is omitted or as shown in FIG. 11, the codec number (Codec #, 1120) and the profile and Only the level number (Profile and level #, 1130) may be included.

도 30 내지 도 31에 예시된 바와 같이, DVT(470)는 각 허프만 테이블에 대한 이름(name), 허프만 코딩에 의해 압축되어 출력되는 실제 값(value) 및 압축된 실제 값이 종래 비트스트림(316)에 저장될 때 사용되는 코드 값(code)을 포함한다. 예를 들어, MCBPC 값을 압축하여 3이란 실제 값(value)을 얻었다면, 허프만 테이블 매핑(Huffman table mapping) 작업(예를 들어, SET(450)의 PROCESS 부분)에 의해 종래 비트스트림(316)에는 코드 값(code) 011이 기록된다. 다른 예로서, 앞서 예시한 SET(450)의 인덱스 S77(도 22 내지 도 25 참조)의 Process 부분에는 VLD[1]이라 기록되어 있어 VLD라는 함수를 호출하게 된다. 이 함수에 의해 미리 지정된 길이(고정길이 또는 가변 길이)만큼 종래 비트스트림(316)을 읽어 코드 값(code)값을 얻은 후 허프만 테이블 매핑(Huffman table mapping) 작업에 의해 상응하는 실제 값(value)을 얻을 수 있다. 이 때 사용되는 Huffman table은 [1], 즉 1번째 테이블인 CBPY이다.As illustrated in FIGS. 30 to 31, the DVT 470 includes a name for each Huffman table, an actual value compressed and output by Huffman coding, and a compressed actual value. ) Contains the code value used when stored in). For example, if the MCBPC value is compressed to obtain an actual value of 3, the conventional bitstream 316 is performed by a Huffman table mapping operation (for example, the PROCESS portion of the SET 450). The code value 011 is recorded. As another example, the VLD [1] is recorded in the Process portion of the index S77 (see FIGS. 22 to 25) of the SET 450 as described above, thereby calling a function called VLD. The conventional bit stream 316 is read by a predetermined length (fixed length or variable length) by this function to obtain a code value and then a corresponding actual value is obtained by a Huffman table mapping operation. Can be obtained. The Huffman table used in this case is [1], that is, the first table, CBPY.

DVT(470)는 textual description이나 binary description(비트 변환된 바이너리 코드 형태) 등의 기술 방식으로 기술될 수 있을 뿐 아니라, 상기 부분 디코더 디스크립션 중 필요한 최소한의 데이터가 유사 스크립트 언어로 기술될 수도 있다.The DVT 470 may be described in a description manner such as a textual description or a binary description (in the form of a bit-converted binary code), and the minimum data required during the partial decoder description may be described in a similar script language.

일 예로, DVT(470)는 아래와 같이 textual description될 수 있다.For example, the DVT 470 may be textual description as follows.

DVT{((0,1), (1,001), (2,010), (3,011), (4,0001), (5,000001), (6,000010), (7,000011), (8,000000001), (9,NULL)) ((0,0011), (1,00101), (2,00100), (3,1001), (4,00011),(5,0111), (6,000010), (7,1011), (8,00010), (9,000011), (10,0101), (11,1010), (12,0100), (13,1000), (14,0110), (15,11), (16,000000), (17,000001), (18,NULL)) ((0,011), (1,11), (2,10), (3,010), (4,001), (5,0001), (6,00001), (7,000001), (8,0000001), (9,00000001), (10,000000001), (11,0000000001), (12,00000000001), (13,NULL)) ((0,11), (1,10), (2,01), (3,001), (4,0001), (5,00001), (6,000001), (7,0000001), (8,00000001), (9,000000001), (10,0000000001), (11,00000000001), (12,000000000001), (13,NULL))...DVT {(0,1), (1,001), (2,010), (3,011), (4,0001), (5,000001), (6,000010), (7,000011), (8,000000001) , (9, NULL)) ((0,0011), (1,00101), (2,00100), (3,1001), (4,00011), (5,0111), (7,1011), (8,00010), (9,000011), (10,0101), (11,1010), (12,0100), (13,1000), (14,0110), , 1,11), (2,00), (2,010), (4,001), (5,000) 000001), (6,00001), (7,000001), (8,0000001), (9,00000001), (10,000000001), (11,0000000001), (12,00000000001), (13, NULL) (0,11), (1,10), (2,01), (3,001), (4,0001), (5,00001), (6,000001), (7,0000001), (8 , 00000001), (9,000000001), (10,0000000001), (11,00000000001), (12,000000000001), (13, NULL)) ...

다른 예로서, DVT(470)는 아래와 같이 binary description될 수 있다.As another example, the DVT 470 may be binary described as follows.

0000001111111111111111111111111011111000011000110010001101000011011001000001001100000010011000001000110000011010010000000010000011111001000011001010010100101001000010010010010100011001000111001100000100010010110010100010001100000110010001010010010100010001000010010000010001100001011001100000000011000000100000111110001101100010110001010000110100001100100100000100101000010011000000100111000000101000000000010100100000000101010000000000101011000000000010000011111000101100010100001001000110010010000010010100001001100000010… 0000001111111111111111111111111011111000011000110010001101000011011001000001001100000010011000001000110000011010010000000010000011111001000011001010010100101001000010010010010100011001000111001100000100010010110010100010001100000110010001010010010100010001000010010000010001100001011001100000000011000000100000111110001101100010110001010000110100001100100100000100101000010011000000100111000000101000000000010100100000000101010000000000101011000000000010000011111000101100010100001001000110010010000010010100001001100000010 ...

각 부분 디코더 디스크립션들은 binary description됨으로써 저장 공간을 감소시키고, 처리 효율을 증진시키며, 디코딩 디스크립션을 포함한 확장 비트스트림(305) 전송 시간을 감소시킬 수 있는 장점이 있다. 일 예로, MPEG-4 SP(Simple Profile)를 기준한 각 부분 디코더 디스크립션에 대한 textual description과 binary description의 오버헤드 비트(overhead bit)는 아래 표 1과 같다. Each partial decoder description has the advantage of reducing the storage space, improving processing efficiency, and reducing the transmission time of the extended bitstream 305 including the decoding description by being binary description. For example, overhead bits of the textual description and the binary description of each partial decoder description based on the MPEG-4 SP (Simple Profile) are shown in Table 1 below.

표 1. Overhead of Textual/Binary Description (bytes)Table 1.Overhead of Textual / Binary Description (bytes)

Table nameTable name Textual DescriptionTextual Description Binary DescriptionBinary Description SETSET 36533653 1089 1089 S-RTS-RT 42014201 1122 1122 F-RTF-RT 466466 142 142 CSCITCSCIT 808808 24 24 FU-CSCITFU-CSCIT 151151 37 37 FLFL 9898 28 28 DVTDVT 25992599 259 259 TotalTotal 11,97611,976 2,702 2,702

이하, 파싱 기능부(610) 및/또는 연결 제어부(534)에 의해 이용되는 각 부분 디코더 디스크립션간의 연동 과정을 설명한다. Hereinafter, the interworking process between the partial decoder descriptions used by the parsing function unit 610 and / or the connection control unit 534 will be described.

본 발명에 따른 복호화기(300)의 디코딩 처리 유닛(320)이 동작을 개시하는 방법은 다양할 수 있다. 이중 몇 가지 예만을 제시하면 다음과 같다. The method of starting the operation of the decoding processing unit 320 of the decoder 300 according to the present invention may vary. Some examples are as follows.

도 5에 도시된 디코딩 처리 유닛(320)에서 적용될 수 있는 예로서, 연결 제어부(534)가 디코더 형성부(520)로부터 수신된 CSCI 제어 정보와 연결 제어 정보를 이용하여 툴박스(515) 내의 각 기능부들의 처리 관계(예를 들어, 동작 순서, 연결 관계 등)를 제어하는 방법이다. 이는 앞서 예시한 F-RT(420)에서도 보여지는 바와 같이, 툴박스(515) 내의 기능부들 중 파싱 기능부(610)를 먼저 로드하여 종래 비트스트림을 신택스 파싱한 엘리먼트 정보가 CSCI 저장부(532)에 저장되도록 한 후, 제어 권한이 연결 제어부(534)로 리턴(예를 들어, S-RT(460)의 인덱스 R72와 같이 제어 권한이 연결 제어부(534)로 리턴되도록 함)되면 상응하는 기능부(FU)가 후속하는 동작을 처리하도록 로드함으로써 각 기능부들의 연결 관계를 제어한다. As an example that may be applied in the decoding processing unit 320 shown in FIG. 5, the connection control unit 534 may use the CSCI control information and the connection control information received from the decoder forming unit 520 and each function in the toolbox 515. It is a method of controlling the processing relationship of the parts (for example, operation order, connection relationship, etc.). As shown in the above-described F-RT 420, the element information obtained by first parsing the conventional bitstream by first loading the parsing function 610 among the functional parts in the toolbox 515 is stored in the CSCI storage 532. After the control authority is returned to the connection control unit 534 (for example, the control authority is returned to the connection control unit 534, such as index R72 of the S-RT 460). The connection of each of the functional units is controlled by loading (FU) to process subsequent operations.

다음으로, 도 6에 도시된 디코딩 처리 유닛(320)에서 적용될 수 있는 예로서, syntax 파싱 제어 정보를 수신한 파싱 기능부(610)가 독립적으로 동작을 개시하여 종래 비트스트림에 대한 신택스 파싱을 완료하면, 연결 제어 정보를 수신한 연결 제어부(534)가 디코딩 기능부들의 선택적 로드를 통해 연결 관계를 제어하는 방법이다. 이 경우, 연결 제어부(534)는 파싱 기능부(610)가 필요한 일부의/전체의 엘리먼트 정보를 CSCI 저장부(532)에 저장 완료하였는지 여부를 먼저 인식하여야 한다. 이를 위해, 연결 제어부(534)는 CSCI 저장부(532)로의 필요한 엘리먼트 정보가 저장되었는지 여부를 지속적으로 감시하거나, 엘리먼트 정보를 저장한 파싱 기능부(610)가 이를 연결 제어부(534)로 통지(예를 들어, S-RT(460)의 인덱스 R72와 같이 제어 권한이 연결 제어부(534)로 리턴되도록 함)하여야 할 것이다. 물론, 연결 제어부(534, 또는 연결 제어부(534)의 제어에 의해 로드된 임의의 기능부) 및/또는 파싱 기능부(610)는 CSCI 저장부(532)에 필요한 정보가 저장 완료되었는지 감시할 필요없이 동작 개시한 상태에서 해당 저장부에 필요한 정보가 저장될 때까지 대기할 수도 있음은 자명하다. Next, as an example applicable to the decoding processing unit 320 illustrated in FIG. 6, the parsing function unit 610 receiving syntax parsing control information independently starts operation to complete syntax parsing of a conventional bitstream. In this case, the connection control unit 534 receiving the connection control information controls a connection relationship through selective loading of the decoding functions. In this case, the connection control unit 534 must first recognize whether the parsing function unit 610 has finished storing some / all required element information in the CSCI storage unit 532. To this end, the connection control unit 534 continuously monitors whether necessary element information to the CSCI storage unit 532 has been stored, or the parsing function unit 610 that stores the element information is notified to the connection control unit 534 ( For example, the control authority may be returned to the connection controller 534, such as the index R72 of the S-RT 460. Of course, the connection control unit 534 or any functional unit loaded by the control of the connection control unit 534) and / or the parsing function unit 610 need to monitor whether the information necessary for the CSCI storage unit 532 has been stored. Obviously, it is possible to wait until the required information is stored in the storage unit in a state where the operation is started.

도 5 또는/및 도 6에 도시된 디코딩 처리 유닛(320)에서 적용될 수 있는 예로서, 디코더 형성부(520)가 CSCI 제어 정보, 연결 제어 정보 등을 연결 제어부(534) 및/또는 파싱 기능부(610)로 전달함으로써 동작 개시되도록 구현하는 방법이다. As an example that may be applied in the decoding processing unit 320 shown in FIG. 5 and / or 6, the decoder forming unit 520 transmits CSCI control information, connection control information, and the like to the connection control unit 534 and / or the parsing function unit. The method may be implemented to start operation by forwarding to 610.

이하, 상술한 첫 번째 실시예를 중심으로 파싱 기능부(610) 및/또는 연결 제어부(534)에 의해 이용되는 각 부분 디코더 디스크립션간의 연동 과정을 설명한다. Hereinafter, the interworking process between the partial decoder descriptions used by the parsing function unit 610 and / or the connection control unit 534 will be described based on the first embodiment described above.

먼저, 연결 제어부(534)는 디스크립션 저장부(510)에서 F-RT(420)의 첫 번째 규칙 정보(Rule)을 읽어 해당 기능부를 호출한다. 연결 제어부(534)는 F-RT(420)에 보여지는 바와 같이 가장 먼저 F0(R0)을 읽고, 툴박스(515) 내의 파싱 기능부를 로드하여 처리가 개시되도록 한다. 이는, 파싱 기능부(610)에 상응하는 프로그램 코드들의 처리 블록이 활성화되도록 하는 것일 수 있다. FL(410)에 의하면 F0가 파싱 기능부임을 알 수 있으며, 선택한 기능부(FU)가 파싱 기능부인 경우 몇 번째 신택스를 읽어 처리하여야 하는지에 관한 정보가 함께 기재된다(예를 들어, F0(R0), F0(R114) 등).First, the connection control unit 534 reads the first rule information Rule of the F-RT 420 from the description storage unit 510 and calls the corresponding function unit. The connection control unit 534 first reads F0 (R0) as shown in the F-RT 420, loads the parsing function in the toolbox 515 to start the process. This may be to enable a processing block of program codes corresponding to the parsing function 610 to be activated. The FL 410 shows that F0 is a parsing function, and when the selected function FU is a parsing function, information on the number of syntaxes to be read and processed is described together (for example, F0 (R0). ), F0 (R114), etc.).

파싱 기능부는 S-RT(460)의 규칙 정보(Rule)들 중 연결 제어부(534)에 의해 지정된(즉, F-RT(420)에 의해 지정된) 규칙 정보(이는 정보 가공부(524)에 의해 가공된 정보일 수 있음)를 읽어 해당 Syntax를 읽는다. 위에서, F-RT(420)에 의해 지적된 규칙 정보가 F0(R0)였으므로, 파싱 기능부는 인덱스 R0부터 처리를 개시한다. 파싱 기능부는 S-RT(460)에 의해 인덱스 R0에서 처리할 신택스가 S0이고, S0는 SET(450)에 의해 Visual Object Sequence Start Code임을 인식하고, 종래 비트스트림(316)에서 상응하는 비트(즉, SET(450)에 입력값으로 설정된 32비트)를 읽어 상응하는 출력값(즉, 엘리먼트 정보로서, C0)을 생성하여 CSCI 저장부(532)에 저장한다. CSCI 저장부(532)에 저장된 당해 엘리먼트 정보가 무엇인지는 CSCIT(440)에 기재되어 있다. 이어서, 파싱 기능부는 CSCI 저장부(532)에 저장된 엘리먼트 정보(즉, C0)를 S-RT(460)의 상응하는 분기 정보에 대입하고, 그 결과에 상응하는 인덱스의 처리를 위해 진행한다. 예를 들어, 인덱스 R0에 상응하는 분기 정보는 'C0==1'이므로 이를 만족하면 인덱스 R1으로 진행할 것이고, 그렇지 않으면 Error 처리한다. 이러한 과정은 'GO RT'를 만나 제어 권한이 F-RT(420)(즉, 연결 제어부(534))로 이전될 때까지 지속된다(예를 들어, S-RT(460)의 인덱스 R72). The parsing function is the rule information designated by the connection control unit 534 (that is, designated by the F-RT 420) among the rule information (Rules) of the S-RT 460 (which is determined by the information processing unit 524). Read the corresponding syntax). Since the rule information pointed out by the F-RT 420 was F0 (R0), the parsing function unit starts processing from the index R0. The parsing function recognizes that the syntax to be processed at the index R0 by the S-RT 460 is S0, and S0 is the Visual Object Sequence Start Code by the SET 450, and corresponds to the corresponding bit (i.e., the conventional bitstream 316). The 32 bits set as an input value in the SET 450 are read, and a corresponding output value (ie, C0 as element information) is generated and stored in the CSCI storage unit 532. What the corresponding element information stored in the CSCI storage unit 532 is described in the CSCIT 440. The parsing function then assigns the element information (ie, C0) stored in the CSCI storage 532 to the corresponding branch information of the S-RT 460 and proceeds for processing the index corresponding to the result. For example, since the branch information corresponding to the index R0 is 'C0 == 1', if the content is satisfied, the branch information proceeds to the index R1, otherwise, an error is processed. This process continues until it encounters a 'GO RT' and control authority is transferred to the F-RT 420 (ie, connection control unit 534) (eg, index R72 of S-RT 460).

그러나, 파싱 기능부가 SET(450)를 이용하여 엘리먼트 정보를 생성하여 CSCI 저장부(532)에 저장하는 과정에서, VLD 함수가 호출되면(예를 들어, SET(450)의 인덱스 S74) DVT(470)를 이용하여 엔트로피 디코딩을 수행한다. 이 과정에서 엘리먼트 정보가 생성되면 CSCI 저장부(532)에 저장한다. However, when the parsing function generates the element information using the SET 450 and stores the element information in the CSCI storage unit 532, the VLD function is called (for example, the index S74 of the SET 450) and the DVT 470. ) To perform entropy decoding. When the element information is generated in this process, it is stored in the CSCI storage unit 532.

파싱 기능부의 처리 과정에서 'GO RT'를 만나 제어 권한이 F-RT(420)(즉, 연결 제어부(534))로 이전(예를 들어, S-RT(460)의 인덱스 R72)되면, 연결 제어 부(534)는 F-RT(420)의 인덱스 R0의 입력값인 C63(즉, 신택스 파싱 과정에서의 SET(450)의 인덱스 S57에 따른 엘리먼트 정보)를 CSCI 저장부(532)에서 독출하고, 분기 정보(즉, ((C63==1)||(C63==2)) 또는 ((C63==3)||(C63==4)))에 대입하므로써 이후에 처리할 인덱스를 지정한다. 즉, 분기 정보의 만족 여부에 따라 인덱스 R1으로 진행할지, 종료(END)할지 또는 Error 처리할지 여부가 결정된다.If the control authority is transferred to the F-RT 420 (that is, the connection control unit 534) (eg, the index R72 of the S-RT 460) during the processing of the parsing function, it meets the 'GO RT'. The control unit 534 reads C63 (that is, element information according to the index S57 of the SET 450 in the syntax parsing) from the CSCI storage unit 532, which is an input value of the index R0 of the F-RT 420. , Specifying the index to be processed later by assigning it to branch information (that is, ((C63 == 1) || (C63 == 2)) or ((C63 == 3) || (C63 == 4))) do. That is, it is determined whether to proceed to the index R1, end (END), or error processing depending on whether the branch information is satisfied.

인덱스 R1으로 진행하는 경우, 미리 지정된 처리(예를 들어, 변수 선언, 메모리 설정, 변수 값 초기화 등)를 수행한 후 후속하여 처리될 인덱스가 결정된다.When proceeding to the index R1, after performing a predetermined process (eg, variable declaration, memory setting, variable value initialization, etc.), an index to be subsequently processed is determined.

상술한 바와 같이, 파싱 기능부의 처리에 의해 전체/일부의 엘리먼트 정보가 CSCI 저장부(532)에 저장되면, 연결 제어부(534)는 인덱스 R6에서 기능부 F1을 호출한다. F1은 FL(410)에 의해 DCR(DC Reconstruction)임이 인식된다. As described above, when all / part of element information is stored in the CSCI storage unit 532 by the processing of the parsing function unit, the connection control unit 534 calls the function unit F1 at the index R6. It is recognized by the FL 410 that F1 is a DC Reconstruction (DCR).

DCR은 FU-CSCIT(430)를 참조하여 입력값이 4개(즉, C54, C56, C58, C65)임을 인식하고, CSCI 저장부(532)에서 해당 엘리먼트 정보들을 독출한다. 해당 엘리먼트 정보들이 무엇인지는 CSCIT(440)와의 매핑(mapping)을 통해 인식할 수 있다. DCR은 독출한 엘리먼트 정보들을 이용하여 해당 기능부에 대해 미리 지정된 매크로블록 크기의 동영상 데이터 처리를 완료하고, 처리된 동영상 데이터를 버퍼 메모리 또는 CSCI 저장부(532)에 저장한다.The DCR recognizes that there are four input values (ie, C54, C56, C58, and C65) with reference to the FU-CSCIT 430, and reads corresponding element information from the CSCI storage unit 532. What the corresponding element information is may be recognized through mapping with the CSCIT 440. The DCR completes the processing of the video data of the macroblock size predetermined for the corresponding functional unit by using the read element information, and stores the processed video data in the buffer memory or the CSCI storage unit 532.

이러한 과정은 F-RT(420)에 예시된 바와 같이 인덱스 R6부터 R11까지 연속된다. 이에 의해, DCR, IS, IAP, IQ, IT, VR 등이 순차적으로 연결되도록 제어된다. 연결 제어부(534)는 임의의 기능부가 처리를 완료하였는지 여부를 인식할 수 있으며, 선행하는 기능부의 처리가 완료되면 후속하는 기능부의 처리를 지시한다. 또 한, 선행하는 기능부는 후행하는 기능부의 동영상 데이터 처리를 위해 처리한 데이터를 미리 설정된 버퍼 메모리 또는 CSCI 저장부(532)에 저장한다. 연결 제어부(534)는 임의의 기능부가 처리를 완료하였는지 여부를 인식하는 방법은 당업자에게 자명하므로 이에 대한 설명은 생략한다.This process continues from index R6 to R11 as illustrated in F-RT 420. Thereby, the DCR, IS, IAP, IQ, IT, VR and the like are controlled so as to be sequentially connected. The connection control unit 534 can recognize whether any functional unit has completed the processing, and instructs processing of the subsequent functional unit when the processing of the preceding functional unit is completed. In addition, the preceding function unit stores the data processed for moving image data processing in a subsequent function unit in a preset buffer memory or CSCI storage unit 532. Since the connection control unit 534 is apparent to those skilled in the art how to recognize whether any function has completed the processing, a description thereof will be omitted.

연결 제어부(534)가 상술한 과정, 즉 F-RT(420)에 기술된 인덱스 순서 및/또는 분기 조건에 따른 인덱스 순서에 의한 처리가 수행되도록 제어함으로써 디코딩 처리 유닛(320)은 입력된 종래 비트스트림(316)에 상응하는 동영상 데이터를 출력할 수 있다.By controlling the connection control unit 534 to perform the above-described process, that is, processing according to the index order described in the F-RT 420 and / or the index order according to the branch condition, the decoding processing unit 320 inputs the inputted conventional bits. Video data corresponding to the stream 316 may be output.

상술한 설명을 통해 이해되는 바와 같이, 본 발명에 따른 부분 디코더 디스크립션간의 연동 루프(loop)는 크게 둘로 구분할 수 있다. 즉, F-RT 루프는 F-RT(420), FL(410), FU-CSCIT(430), F-RT(420), CSCIT(분기 조건 적용 등), F-RT (다음 번 rule)로 구성되고, S-RT 루프는 S-RT(460), SET(450), CSCIT(440), S-RT(460), CSCIT(분기 조건 적용 등), S-RT(다음 번 rule)로 구성된다.As will be understood from the above description, the interworking loop between the partial decoder descriptions according to the present invention can be largely divided into two. That is, the F-RT loop is divided into F-RT (420), FL (410), FU-CSCIT (430), F-RT (420), CSCIT (branch condition application, etc.), F-RT (next rule). S-RT loop consists of S-RT (460), SET (450), CSCIT (440), S-RT (460), CSCIT (branch condition application, etc.), S-RT (next rule) do.

또한, F-RT 루프는 다음과 같이 둘로 구분할 수 있다. 먼저, 디코딩 기능부의 실행을 지시하는 경우에는 F-RT(420), FL(410), FU-CSCIT(440), F-RT(420), CSCIT(분기 조건 적용 등), F-RT(다음 번 rule)로 구성된다. 다음으로, 파싱 기능부의 실행을 지시하는 경우에는 F-RT(420), FL(410), (S-RT 루프), F-RT(420), CSCIT(분기 조건 적용 등), F-RT(다음 번 rule)로 구성된다.In addition, the F-RT loop can be divided into two as follows. First, when instructing execution of the decoding function unit, the F-RT 420, FL 410, FU-CSCIT 440, F-RT 420, CSCIT (branch condition application, etc.), F-RT (Next Rule). Next, when instructing execution of the parsing function, the F-RT 420, FL 410, (S-RT loop), F-RT 420, CSCIT (branch condition application, etc.), F-RT ( Next rule).

또한, S-RT 루프는 다음과 같이 둘로 구분할 수 있다. 다음 번 규칙 정보(rule)로 분기하는 경우에는 S-RT(460), SET(450), CSCIT(440), S-RT(460), CSCIT(분기 조건 적용), S-RT(다음 번 rule)로 구성되고, F-RT(420)로 리턴(return)하는 경우에는 S-RT(460), SET(450), CSCIT(440), S-RT(460), CSCIT(분기 조건 적용 등), F-RT(호출한 F-RT(420)의 인덱스)로 구성된다.In addition, the S-RT loop can be divided into two as follows. When branching to the next rule information, S-RT (460), SET (450), CSCIT (440), S-RT (460), CSCIT (branch condition apply), S-RT (next rule) ), And when returning to the F-RT 420, S-RT (460), SET (450), CSCIT (440), S-RT (460), CSCIT (branch condition application, etc.) , F-RT (index of the called F-RT 420).

F-RT(420)에 따른 연결 제어부(534)의 연결 제어에 의해 툴 박스(510) 내에 구비된 각 기능부들의 연결 관계는 상이해질 수 있다.By the connection control of the connection control unit 534 according to the F-RT 420, the connection relationship of the respective functional units provided in the tool box 510 may be different.

이하, 각 부분 디코더 디스크립션들을 구성하는 명령어들에 대해 상세히 설명하기로 한다.Hereinafter, the instructions constituting the partial decoder descriptions will be described in detail.

도 32에는 syntax 파싱을 위하여 각 부분 디코더 디스크립션들에서 이용되는 명령어들이 예시되어 있다. 예시된 각각의 명령어들을 이용하여 MPEG-2/MPEG-4/MPEG-4 AVC와 같은 표준의 syntax를 파싱하기 위한 정보(즉, 부분 디코더 디스크립션)를 구성 할 수 있다. 이하에서는 MPEG-2 MP(Main Profile) Intra coding된 syntax를 파싱하기 위한 부분 디코더 디스크립션들의 예와 각 부분 디코더 디스크립션간의 연동 관계를 중심으로 설명하기로 한다.32 illustrates the instructions used in each partial decoder description for syntax parsing. Each of the illustrated instructions can be used to construct information (ie partial decoder description) for parsing standard syntax such as MPEG-2 / MPEG-4 / MPEG-4 AVC. Hereinafter, an example of partial decoder descriptions for parsing MPEG-2 MP (Main Profile) Intra-coded syntax and an interworking relationship between each partial decoder description will be described.

도 32에 예시된 바와 같이, 각 부분 디코더 디스크립션들을 구성하기 위한 명령어들로는 READ, SEEK, FLUSH, IF, WHILE, UNTIL, DO~WHILE, DO~UNTIL, BREAK, SET, STOP, PUSH 등이 있다. 물론, 모든 명령어가 각 부분 디코더 디스크립션 내에 모두 이용되어야 하는 것은 아니며, 각 부분 디코더 디스크립션별로 임의의 명령어가 선택적으로 이용될 수 있음은 자명하다. 이하, 각 명령어의 용도를 간략히 설명하도록 한다.As illustrated in FIG. 32, instructions for configuring each partial decoder description include READ, SEEK, FLUSH, IF, WHILE, UNTIL, DO ~ WHILE, DO ~ UNTIL, BREAK, SET, STOP, PUSH, and the like. Of course, not all instructions need to be used within each partial decoder description, and it is obvious that any instruction can be selectively used for each partial decoder description. Hereinafter, the purpose of each command will be briefly described.

먼저, READ는 비트스트림에서 일정 비트를 읽어들이기 위한 명령어이다. 예 를 들어, "READ bits B > CSCI;"와 같이 표현될 수 있다. 여기서, "bits"는 읽어들일 비트 수를 나타내고, "B"는 Byte-alignment 플래그이고, "> CSCI"는 저장할 CSCI 인덱스를 나타낸다. "B"와 "> CSCI"는 옵션(option)으로 이용되며, "> CSCI"가 지정되지 않으면 변수 IBS에만 저장하도록 설정된다.First, READ is a command for reading a certain bit from the bitstream. For example, it may be expressed as "READ bits B> CSCI;". Here, "bits" represents the number of bits to be read, "B" represents a Byte-alignment flag, and "> CSCI" represents a CSCI index to be stored. "B" and "> CSCI" are used as options. If "> CSCI" is not specified, it is set to store only in the variable IBS.

다음으로, SEEK는 비트스트림에서 일정 비트를 읽어들이되, 파일 포인터를 이동하지 않도록 하는 명령어이다. 파일 포인터란 일정 비트를 읽어들이는 등의 동작시 기준 위치를 의미한다. SEEK 명령어의 파라미터는 앞서 설명한 READ와 동일하게 적용할 수 있다. Next, SEEK reads a bit from the bitstream but does not move the file pointer. The file pointer means a reference position during an operation such as reading a predetermined bit. The parameters of the SEEK command can be applied in the same way as the READ described above.

다음으로, FLUSH는 비트스트림에서 일정 비트 수 만큼 파일 포인트를 이동하는 명령어이다. 파라미터는 READ와 유사하게 적용할 수 있다.Next, FLUSH is a command for moving a file point by a certain number of bits in the bitstream. Parameters can be applied similarly to READ.

다음으로, IF는 "IF (condition) { ~ } ELSE { ~ }"의 형태로 이용될 수 있으며, 주어진 조건에 따른 분기를 제공하는 명령어이다.Next, IF may be used in the form of "IF (condition) {~} ELSE {~}", and is an instruction that provides a branch according to a given condition.

다음으로, WHILE은 "WHILE (condition) { ~ }"의 형태로 이용될 수 있으며, 주어진 조건이 참(True)인 동안 지정된 블록을 반복하여 수행하도록 하는 명령어이다.Next, WHILE can be used in the form of "WHILE (condition) {~}", and is a command to repeatedly execute a designated block while a given condition is true.

다음으로, UNTIL은 "UNTIL (condition) { ~ }"의 형태로 이용될 수 있으며, 주어진 조건이 참이 될 때까지 지정된 블록을 반복하여 수행하도록 하는 명령어이다.Next, UNTIL can be used in the form of "UNTIL (condition) {~}", which is a command to repeatedly execute a designated block until a given condition becomes true.

다음으로, DO~WHILE은 "DO { ~ } WHILE (condition)"의 형태로 이용될 수 있으며, WHILE문을 변형하여 조건 판단에 앞서 블록을 실행하도록 하는 명령어이다.Next, DO ~ WHILE can be used in the form of "DO {~} WHILE (condition)", and it is a command to transform a WHILE statement to execute a block before determining a condition.

다음으로, DO~UNTIL은 "DO { ~ } UNTIL (condition)"의 형태로 이용될 수 있으며, UNTIL문을 변형하여 조건 판단에 앞서 블록을 실행하도록 하는 명령어이다.Next, DO ~ UNTIL can be used in the form of "DO {~} UNTIL (condition)", which is a command to transform a UNTIL statement to execute a block before determining a condition.

다음으로, ( ~ ) (compute)라는 명령어는 예를 들어 "(C11=(V2+3));"의 형태로 이용된다. 즉, SET-PROC의 모든 계산식이 괄호 안에 기록되도록 할 수 있으며, 사칙연산, 대입, 비교, 가산/감산 (++/--), 비트 연산, 논리합/논리곱, CSCI 사용여부 체크 등의 연산자가 이용될 수 있다.Next, the command (~) (compute) is used in the form of "(C11 = (V2 + 3));". In other words, all calculations of SET-PROC can be written in parentheses. Operators such as arithmetic, assignment, comparison, addition / subtraction (++ /-), bitwise operation, logical sum / logical product, and check whether CSCI is used or not Can be used.

다음으로, BREAK는 가장 가까운 루프 구조로부터 이탈하도록 하는 명령어이다.Next, BREAK tells you to break away from the nearest loop structure.

다음으로, SET은 지정된 CSCI들에 대한 사용 여부 플래그를 설정하는 명령어로서, 플래그를 지정할 CSCI들이 나열되며 콤마(,)에 의해 구분(예를 들어, SET C0, C2;)될 수 있다.Next, SET is a command for setting whether to use flags for designated CSCIs, and CSCIs for designating flags are listed and separated by commas (eg, SET C0, C2;).

다음으로, STOP은 현재 수행중인 신택스 엘리먼트(Syntax Element)의 처리를 중단하고 다음으로 넘어가도록 하는 명령어이다.Next, STOP is a command for stopping the processing of the currently executing syntax element and moving on to the next.

다음으로, PUSH는 배열형 CSCI에서, 데이터가 기록된 맨 마지막 지점에서부터 주어진 데이터를 추가하도록 하는 명령어로서, 추가된 값들이 나열되며(예를 들어, PUSH C8 8, 16, 32;) 콤마에 의해 구분된다.Next, PUSH is an instruction to add a given data from the last point in which data was recorded in the array CSCI, and the added values are listed (for example, PUSH C8 8, 16, 32;) by comma. Are distinguished.

다음으로, GO는 지정한 위치로 분기하도록 하는 명령어이다. 예를 들어, GO R#;;인 경우 R#으로 분기하라는 명령이며, GO RT는 호출한 곳으로 복귀(return)하라는 명령이다.Next, GO tells you to branch to the specified location. For example, GO R # ;; is a command to branch to R #, and GO RT is a command to return to where it was called.

다음으로, HEX는 HEX 명령어 뒤에 나오는 값이 16진수임을 나타내는 명령어 이다.Next, HEX is a command that indicates that the value following the HEX command is hexadecimal.

다음으로, RLD는 MPEG-4에서 지원되는 RLD 함수를 위한 인터페이스로서, "RLD index, level, run, islastrun, t#;"의 형태로 이용될 수 있다. 여기서, index, level, run 및 islastrun는 RLD 반환값을 저장하는 CSCI 혹은 내부 변수를 나타내고, t#는 RLD에 사용되는 Huffman Table ID를 나타낸다.Next, RLD is an interface for an RLD function supported in MPEG-4, and may be used in the form of "RLD index, level, run, islastrun, t #;". Here, index, level, run, and islastrun represent CSCI or internal variables storing the RLD return value, and t # represents the Huffman Table ID used for the RLD.

다음으로, VLD2는 MPEG-2용 VLD 함수로서, "VLD2 [t#] in > v1, v2, v3;"의 형태로 이용될 수 있다. 여기서, t#는 VLD에 사용되는 Huffman Table ID이고, in은 입력되는 index값을 나타내며, v1~v3은 출력 결과값을 나타낸다.Next, VLD2 is a VLD function for MPEG-2, and may be used in the form of "VLD2 [t #] in> v1, v2, v3;". Here, t # is a Huffman Table ID used for the VLD, in represents an index value to be input, and v1 to v3 represent an output result value.

마지막으로, VLD4는 MPEG-4용 VLD 함수로서, "VLD4 [T#] > CSCI;"의 형태로 이용될 수 있다. 여기서, t#는 VLD에 사용되는 Huffman Table ID를 나타내고, "> CSCI"는 저장할 CSCI 인덱스를 나타낸다. "> CSCI"는 옵션(option)으로, 지정하지 않으면 변수 IBS에만 저장되도록 한다.Finally, VLD4 is a VLD function for MPEG-4, and may be used in the form of "VLD4 [T #]> CSCI;". Here, t # represents a Huffman Table ID used for the VLD, and "> CSCI " represents a CSCI index to be stored. "> CSCI" is an option. If not specified, it is stored only in the variable IBS.

상술한 명령어들에 의해 구성된 각 부분 디코더 디스크립션들(즉, MPEG-2 MP Intra 코딩용 신택스 처리를 위한 각 부분 디코더 디스크립션)의 상세 예시도가 도 33 내지 도 57에 예시되어 있다. 구체적으로, SET(450)는 도 33 내지 도 39에, S-RT(460)는 도 40 내지 도 44에, CSCIT(440)는 도 45 내지 도 48에, FL(410)는 도 49에, F-RT(420)는 도 50에, FU-CSCIT(430)는 도 51에, DVT(470)는 도 52 내지 도 57에 각각 예시되어 있다.Detailed illustrations of respective partial decoder descriptions configured by the above-described instructions (that is, each partial decoder description for syntax processing for MPEG-2 MP Intra coding) are illustrated in FIGS. 33 to 57. Specifically, SET 450 is shown in FIGS. 33-39, S-RT 460 is shown in FIGS. 40-44, CSCIT 440 is shown in FIGS. 45-48, FL 410 is shown in FIG. 49, The F-RT 420 is illustrated in FIG. 50, the FU-CSCIT 430 is illustrated in FIG. 51, and the DVT 470 is illustrated in FIGS. 52 through 57, respectively.

앞서 각 부분 디코더 디스크립션들간의 연동 관계에 대해 상세히 설명하였으므로, 여기서는 이를 일반화하여 간단히 설명하기로 한다.Since the interworking relationship between the partial decoder descriptions has been described in detail above, the description will be briefly made by generalizing them.

신택스 파싱을 위한 부분 디코더 디스크립션들간의 연동은 먼저 F-RT(420)(도 50 참조)의 인덱스 순으로 진행된다. 즉, F-RT(420)의 인덱스 R0로부터 개시된다.The interworking between the partial decoder descriptions for syntax parsing first proceeds in index order of the F-RT 420 (see FIG. 50). In other words, it starts from the index R0 of the F-RT 420.

F-RT(420)에서 현재 처리될 인덱스 번호(R#)에 상응하는 FU의 인덱스 번호(F#)을 인식한다. 예를 들어, 현재 처리될 인덱스 번호가 R0라면 F0(즉, FL(410)의 파싱 기능부)가 인식될 것이고, 현재 처리될 인덱스 번호가 R9라면 F1(즉, FL(410)의 DCR)이 인식될 것이다.The F-RT 420 recognizes the index number F # of the FU corresponding to the index number R # to be currently processed. For example, if the index number to be currently processed is R0, F0 (i.e., parsing function of FL 410) will be recognized, and if the index number to be currently processed is R9, F1 (i.e., DCR of FL 410) will be recognized. Will be recognized.

먼저, 인식된 인덱스 번호에 의해 해당 FU가 Syntax Parser(즉, FL(410)의 인덱스 번호 F0)인 경우를 설명한다.First, the case where the corresponding FU is a Syntax Parser (that is, index number F0 of FL 410) by the recognized index number will be described.

F-RT(420)의 "FU" 필드에 기록된 "F#(R#)" 정보를 이용하여 R#을 인식하고, S-RT(460)에서 인덱스 번호 R#에 상응하는 인덱스 S#을 인식한다. 예를 들어, F-RT(420)의 인덱스 R0의 "FU" 필드에는 "F0(R0)"가 기록되어 있고, R0는 S-RT(460)의 Syntax 필드의 S0에 대응된다. Recognize R # using "F # (R #)" information recorded in the "FU" field of the F-RT 420, and recognize the index S # corresponding to the index number R # in the S-RT 460. do. For example, "F0 (R0)" is recorded in the "FU" field of the index R0 of the F-RT 420, and R0 corresponds to S0 of the Syntax field of the S-RT 460.

이어서, 인식된 S#에 상응하는 "Process by SET-PROC"를 SET(450)에서 인식한다. 예를 들어, S-RT(460)의 Syntax 필드의 S0에 대응되는 SET의 "Process by SET-PROC"는 "READ 32 B; IF (IBS== HEX:000001B3) C72=1; IF (IBS== HEX:000001B8) C72=2; IF (IBS== HEX:00000100) C72=3; IF (IBS== HEX:000001B7) C72=4;"이다. Subsequently, the SET 450 recognizes "Process by SET-PROC" corresponding to the recognized S #. For example, "Process by SET-PROC" of the SET corresponding to S0 in the Syntax field of the S-RT 460 is "READ 32 B; IF (IBS == HEX: 000001B3) C72 = 1; IF (IBS = = HEX: 000001B8) C72 = 2; IF (IBS == HEX: 00000100) C72 = 3; IF (IBS == HEX: 000001B7) C72 = 4;

SET(450)의 "Process by SET-PROC"의 연산 결과는 해당 인덱스(S#)의 "Output" 필드의 C#에 상응하도록 저장된다. 예를 들어, S-RT(460)의 Syntax 필드 의 S0에 대응되는 SET의 "Process by SET-PROC"는 C72로서 저장된다.The operation result of "Process by SET-PROC" of SET 450 is stored to correspond to the C # of the "Output" field of the corresponding index (S #). For example, "Process by SET-PROC" of the SET corresponding to S0 in the Syntax field of the S-RT 460 is stored as C72.

연산 결과의 저장이 완료되면, 다시 S-RT(460)를 참조하여 저장된 CSCI 정보가 어떤 분기 조건을 만족하는지 판단된다. 만일, S-RT(460)의 인덱스 R0인 경우, CSCI 정보 C72가 분기조건 "1: (C72==1) GO R1; 2: (C72==2) GO R39; 3: (C72==3) GO R47; 4: (C72==4) GO RT;" 중 어느 것을 만족하는지 판단된다. 상술한 4가지 조건 중 1 내지 3중 어느 하나를 만족하는 경우 S-RT(460) 내에서 상응하는 인덱스 R#로 진행하여 상술한 과정을 반복하지만, 4번째 조건(즉, (C72==4) GO RT)을 만족하는 경우에는 F-RT(420)로 복귀(return)한다.When the storage of the calculation result is completed, the S-RT 460 determines whether the stored CSCI information satisfies the branching condition. If the index R0 of the S-RT 460, the CSCI information C72 is the branching condition "1: (C72 == 1) GO R1; 2: (C72 == 2) GO R39; 3: (C72 == 3 ) GO R47; 4: (C72 == 4) GO RT; " It is determined which one is satisfied. If any one of 1 to 3 of the above 4 conditions is satisfied, the above process is repeated by going to the corresponding index R # in the S-RT 460, but the 4th condition (that is, (C72 == 4). GO RT) is returned to the F-RT 420.

다음으로, 인식된 인덱스 번호에 의해 해당 FU가 파싱 기능부(즉, FL(410)의 인덱스 번호 F0)가 아닌 경우를 설명한다.Next, the case where the corresponding FU is not the parsing function unit (that is, the index number F0 of the FL 410) by the recognized index number will be described.

F-RT(420)의 "FU" 필드에 기록된 "F#" 정보 및 FL(410)을 이용하여 해당 F#에 상응하는 입력 CSCI(Input CSCI)의 수를 인식한다. 예를 들어, F-RT(420)의 인덱스 R9의 "FU" 필드에는 "F1"이 기록되어 있고, FL(410)에는 F1이 DCR이고 4개의 입력 CSCI를 요구함이 기록되어 있다.By using the " F # " information recorded in the " FU " field of the F-RT 420 and the FL 410, the number of input CSCIs corresponding to the corresponding F # is recognized. For example, "F1" is recorded in the "FU" field of the index R9 of the F-RT 420, and it is recorded in the FL 410 that F1 is a DCR and requires four input CSCIs.

FL(410)을 참조하여 요구되는 입력 CSCI의 수가 0이 아니라면, FU-CSCIT(440)를 참조하여 "F#(C#)" 필드들에 상응하는 CSCI 값(C#)을 인식하고 CSCI 저장부(532)에서 상응하는 값을 독출한다. If the number of input CSCI required by referring to FL 410 is not 0, the FU-CSCIT 440 recognizes the CSCI value (C #) corresponding to the "F # (C #)" fields and the CSCI storage unit 532. ) Reads the corresponding value.

이어서, 해당 FU는 입력된 데이터(예를 들어, MB 데이터) 및 입력 CSCI값들을 이용하여 출력 데이터를 생성한 후, F-RT(420)로 복귀한다.Subsequently, the FU generates output data using the input data (eg, MB data) and input CSCI values, and then returns to the F-RT 420.

앞서 설명한 바와 같이, 해당 FU가 Syntax Parser(즉, FL(410)의 인덱스 번 호 F0)인 경우에는 "GO RT"를 만족하는 경우에, 해당 FU가 Syntax Parser가 아닌 경우에는 미리 지정된 동작을 완료한 후 F-RT(420)로 복귀한다.As described above, when the corresponding FU satisfies "GO RT" when it is a Syntax Parser (i.e., index number F0 of FL 410), when the corresponding FU is not Syntax Parser, a predetermined operation is completed. After that, the process returns to the F-RT 420.

F-RT(420)는 현재 단계의 C# 값에 따라 분기 조건을 판단하여 상응하는 단계로 진행한다. 만일 만족되는 조건이 END인 경우(예를 들어, (C72==4) GO END;)에는 Syntax 파싱을 종료하고, 만족되는 조건이 R#을 지시하는 경우(예를 들어, GO R1)에는 해당 인덱스로 진행한다.The F-RT 420 determines the branch condition according to the C # value of the current step and proceeds to the corresponding step. If the satisfied condition is END (e.g. (C72 == 4) GO END;), then Syntax parsing ends, and if the satisfied condition indicates R # (e.g. GO R1) Proceed to index.

도 9는 본 발명의 제1 실시예에 따른 확장 비트스트림의 구성을 나타낸 도면이고, 도 10은 본 발명의 제2 실시예에 따른 확장 비트스트림의 구성을 나타낸 도면이며, 도 11은 본 발명의 제3 실시예에 따른 확장 비트스트림의 구성을 나타낸 도면이고, 도 12는 본 발명의 제4 실시예에 따른 확장 비트스트림의 구성을 나타낸 도면이다.9 is a diagram illustrating a configuration of an extended bitstream according to the first embodiment of the present invention, FIG. 10 is a diagram illustrating a configuration of an extended bitstream according to the second embodiment of the present invention, and FIG. FIG. 12 is a diagram illustrating a configuration of an extended bitstream according to a third embodiment, and FIG. 12 is a diagram illustrating a configuration of an extended bitstream according to a fourth embodiment of the present invention.

도 9 내지 도 11에 예시된 바와 같이, 본 발명에 따른 확장 비트스트림(305)에 포함되는 디코딩 디스크립션은 부분 디코더 디스크립션 정보를 포함하지 않고 적용된 표준 정보만을 포함하도록 구성되거나(No table), 부분 디코더 디스크립션 정보를 모두 포함하도록 구성되거나(Full tables), 일부의 부분 디코더 디스크립션 정보만이 포함되도록 구성될 수 있다(Partial tables). 이들 각각을 구분하기 위하여, 디코딩 디스크립션 정보는 SI(Stream Identifier) 정보를 포함할 수 있고, SI 정보는 아래의 표 2와 같이 구분될 수 있다.As illustrated in FIGS. 9 to 11, the decoding description included in the extended bitstream 305 according to the present invention is configured to include only standard information applied without including partial decoder description information (No table), or partial decoder. It may be configured to include all description information (Full tables) or may be configured to include only some partial decoder description information (Partial tables). To distinguish each of them, the decoding description information may include stream identifier information (SI), and the SI information may be divided as shown in Table 2 below.

표 2. Stream IdentifierTable 2. Stream Identifier

SISI Decoding DescriptionDecoding Description 0000 No tableNo table 0101 Full tablesFull tables 1010 Partial tablesPartial tables

도 9에 도시된 바와 같이, 확장 비트스트림(305)은 디코더 디스크립션(인코딩된 디코더 디스크립션(313)으로 디스크립션 디코더(505)에 의해 부분 디코더 디스크립션으로 디코딩 처리됨 - 이하 동일함)으로서, 부분 디코더 디스크립션 정보를 포함하지 않음을 표시하는 SI(910, 즉 00), 코덱 번호(Codec #, 920)과 프로파일 및 레벨 번호(Profile and level #, 930)을 포함할 수 있다. As shown in FIG. 9, the extended bitstream 305 is a decoder description (decoded into a partial decoder description by the description decoder 505 with an encoded decoder description 313-hereinafter the same), and the partial decoder description information. SI (910, ie, 00) indicating that it does not include, and may include a codec (Codec #, 920) and a profile and level (Profile and level #, 930).

이는 부분 디코더 디스크립션 정보를 보내지 않고 디스크립션 저장부(510)에 이미 저장된 부분 디코더 디스크립션 정보들을 사용하는 경우이다. 해당 종래 비트스트림(316)이 어떤 코덱과 프로파일 및 레벨을 사용하는지에 대한 기본 정보만 보낼지라도, 디코딩 처리 유닛(320)은 지시된 부분 디코더 디스크립션들을 이용하여 복호화할 수 있다.This is a case where partial decoder description information already stored in the description storage unit 510 is used without sending partial decoder description information. Although only the basic information about which codec, profile and level is used by the conventional bitstream 316, the decoding processing unit 320 can decode using the indicated partial decoder descriptions.

이를 위해, SET(450), CSCIT(440), FL(410), FU-CSCIT(430), DVT(470) 등이 적용 표준(즉, 코덱)별로 기술되고, F-RT(420), S-RT(460) 등은 각 적용 표준의 프로파일(profile) 별로 기술 될 수 있다(표 3 및 4 참조). For this purpose, SET 450, CSCIT 440, FL 410, FU-CSCIT 430, DVT 470, and the like are described for each application standard (i.e., codec), F-RT 420, S The RT 460 may be described for each profile of the applicable standard (see Tables 3 and 4).

표 3. 코덱별 부분 디코더 디스크립션 구분Table 3. Classification of partial decoder descriptions by codec

표준Standard 부분 디코더 디스크립션 구분Partial Decoder Description Delimiter MPEG-1MPEG-1 SET #1SET # 1 FL #1FL # 1 FU-CSCIT #1FU-CSCIT # 1 CSCIT #1CSCIT # 1 DVT #1DVT # 1 MPEG-2MPEG-2 SET #2SET # 2 FL #2FL # 2 FU-CSCIT #2FU-CSCIT # 2 CSCIT #2CSCIT # 2 DVT #2DVT # 2 MPEG-4MPEG-4 SET #3SET # 3 FL #3FL # 3 FU-CSCIT #3FU-CSCIT # 3 CSCIT #3CSCIT # 3 DVT #3DVT # 3 AVCAVC SET #4SET # 4 FL #4FL # 4 FU-CSCIT #4FU-CSCIT # 4 CSCIT #4CSCIT # 4 DVT #4DVT # 4

표 4. Profile and level별 부분 디코더 디스크립션 구분Table 4. Classification of partial decoder descriptions by profile and level

SISI 부분 디코더 디스크립션 구분Partial Decoder Description Delimiter MPEG-1MPEG-1 F-RT #1-1F-RT # 1-1 S-RT #1-1S-RT # 1-1 MPEG-2 MPMPEG-2 MP F-RT #2-1F-RT # 2-1 S-RT #2-1S-RT # 2-1 MPEG-4 SPMPEG-4 SP F-RT #3-1F-RT # 3-1 S-RT #3-1S-RT # 3-1 MPEG-4 ASPMPEG-4 ASP F-RT #3-2F-RT # 3-2 S-RT #3-2S-RT # 3-2 AVC BPAVC BP F-RT #4-1F-RT # 4-1 S-RT #4-1S-RT # 4-1

MPEG-4 SP의 경우 SET#3, FL#3, CSCIT#3, FU-CSCIT#3, DVT#3, F-RT#3-1, S-RT#3-1을 사용하여 복호화 방법을 설명 할 수 있으며, 코덱 번호를 3으로 프로파일 및 레벨 번호를 2로 지정하여 전송하면 디코딩 처리 유닛(320)은 이에 해당하는 부분 디코더 디스크립션들을 참조(즉, 정보 가공부(524)에 의해 상응하도록 가공된 정보를 이용)하여 복호화 작업을 수행할 수 있다.For MPEG-4 SP, the decoding method is explained using SET # 3, FL # 3, CSCIT # 3, FU-CSCIT # 3, DVT # 3, F-RT # 3-1, and S-RT # 3-1. If the codec number is 3 and the profile and level number are 2, then the decoding processing unit 320 refers to the corresponding partial decoder descriptions (that is, processed by the information processing unit 524 correspondingly). Information can be used to perform the decryption operation.

또한, 도 10에 도시된 바와 같이, 확장 비트스트림(305)은 디코더 디스크립션으로서, 앞서 설명한 모든 부분 디코더 디스크립션 정보들을 포함할 수 있다. 이 경우, SI(910)는 표 2를 참조할 때 01로 설정될 것이다. 각 부분 디코더 디스크립션들은 테이블 식별자(TI, Table Identifier)(1010), 테이블 시작 코드(TS Code, Table Start Code)(1020), 테이블 디스크립션(TD, Table Description)(1030), 테이블 종료 코드(TE Code, Table End Code)(1040)를 포함할 수 있다. 테이블 식별자(1010)와 테이블 시작 코드(1020)의 순서는 변경될 수 있으며, 테이블 디스크립션(1030)은 바이너리 디스크립션 형태로 기술될 수 있다. 물론, 각 부분 디코더 디스크립션들의 순서는 변경될 수 있다. In addition, as illustrated in FIG. 10, the extended bitstream 305 may include all partial decoder description information described above as a decoder description. In this case, the SI 910 will be set to 01 when referring to Table 2. Each partial decoder description may include a table identifier (TI) 1010, a table start code (TS Code) 1020, a table description (TD), a table description (1030), and a table end code (TE Code). And Table End Code) 1040. The order of the table identifier 1010 and the table start code 1020 may be changed, and the table description 1030 may be described in the form of a binary description. Of course, the order of each partial decoder descriptions may be changed.

또한, 도 10에 도시된 바와 같이, 확장 비트스트림(305)은 디코더 디스크립션으로서, 앞서 설명한 일부의 부분 디코더 디스크립션 정보들과 일부의 부분 디코더 디스크립션 정보에 상응하는 코덱 번호 등을 포함할 수 있다. 이 경우, SI(910) 는 표 2를 참조할 때 10으로 설정될 것이다. 다만, 이 경우는 부분 디코더 디스크립션 정보들의 형식이 통일되지 않았으므로, 해당 부분 디코더 디스크립션 정보가 어떤 형식으로 구성된 것인지를 판단할 수 있도록 구성 식별자(1110)을 테이블 식별자(1010) 후단에 더 구비함이 바람직할 것이다. In addition, as illustrated in FIG. 10, the extended bitstream 305 may include a partial decoder description information and a codec number corresponding to some partial decoder description information as described above. In this case, the SI 910 will be set to 10 when referring to Table 2. However, in this case, since the format of the partial decoder description information is not uniform, the configuration identifier 1110 is further provided after the table identifier 1010 so as to determine what format the partial decoder description information is configured. Would be preferred.

또한, 도 12에 도시된 바와 같이, 확장 비트스트림은 부분 디코더 디스크립션 정보에 대한 디코딩 디스크립션(T-DD, 1210)과 갱신 정보를 더 포함할 수 있다. 부분 디코더 디스크립션 정보에 대한 디코딩 디스크립션(1210)은 앞서 도 9 내지 도 11을 참조하여 설명한 디코더 디스크립션들 중 어느 하나일 수 있으며, SI(910)는 상응하는 값으로 설정될 것이다. 갱신 정보는 갱신 시작 코드(RS code, Revision Start code)(1220)과 갱신 내용(Revision, 1230)을 포함할 수 있다.In addition, as shown in FIG. 12, the extended bitstream may further include decoding description (T-DD) 1210 and update information for partial decoder description information. The decoding description 1210 for the partial decoder description information may be any one of the decoder descriptions described above with reference to FIGS. 9 through 11, and the SI 910 may be set to a corresponding value. The update information may include an update start code (RS code, Revision Start code) 1220 and an update content (Revision 1230).

갱신 내용(1230)은 임의의 부분 디코더 디스크립션의 규칙 정보(Rule)을 추가하거나 삭제하거나 갱신하는 등의 내용일 수 있다. 그 형태는 'insert index into table-name (…);', 'delete index from table-name;', 'update index in table-name(…);' 등일 수 있다. The update content 1230 may be content such as adding, deleting, or updating rule information of an arbitrary partial decoder description. Its form is 'insert index into table-name (…);', 'delete index from table-name;', 'update index in table-name (…);' And so on.

예를 들어, SET#4에 S100을 추가하고자 하는 경우, 갱신 내용(1230)은 'insert S100 into SET#4 ("READ 1;IF(IBS==1){SET C31;}");'과 같이 구성될 수 있다. 또한, S-RT#3-1에서 R31을 지우고자 하는 경우, 갱신 내용(1230)은 'delete R31 from S-RT#3-1;'과 같이 구성될 수 있다. 또한, F-RT#2-1에서 R7을 수정하고자 하는 경우, 갱신 내용(1230)은 'update R7 in F-RT#2-1 (F6, 1: (C66<=6) GO R5;2: (C65<=C67) GO R4; 3: GO R12;);'과 같이 구성될 수 있다. For example, if you want to add S100 to SET # 4, the update content 1230 is 'insert S100 into SET # 4 ("READ 1; IF (IBS == 1) {SET C31;}");' It can be configured together. In addition, in the case of deleting R31 in S-RT # 3-1, the update contents 1230 may be configured as 'delete R31 from S-RT # 3-1;'. In addition, in the case where it is desired to modify R7 in F-RT # 2-1, the update contents 1230 are 'update R7 in F-RT # 2-1 (F6, 1: (C66 <= 6) GO R5; 2: (C65 <= C67) GO R4; 3: GO R12;); '.

위와 같은 갱신 내용(1230)을 디스크립션 디코더(405)가 읽어 들여 해당 확장 비트스트림(305)에 대한 디코딩이 수행되는 동안은 디스크립션 저장부(510)에 변경된 내용의 부분 디코더 디스크립션들이 저장되도록 한다. 그러나, 복호화가 완료되면 디스크립션 저장부(510)에 저장된 해당 부분 디코더 디스크립션들을 원상태대로 복원하여야 할 것이다. 복호화의 완료 여부는 디코더 형성부(520) 또는 디코딩 솔루션(530)이 완료 통지를 디스크립션 디코더(405)로 제공하거나, 디스크립션 디코더(405)가 디코딩 처리 유닛(320)의 완료 여부를 감시함으로써 인식할 수 있을 것이다.The description decoder 405 reads the update contents 1230 as described above, so that the partial decoder descriptions of the changed contents are stored in the description storage unit 510 while the decoding of the corresponding extended bitstream 305 is performed. However, when the decoding is completed, the partial decoder descriptions stored in the description storage unit 510 should be restored to their original state. Whether or not decoding is completed may be recognized by the decoder forming unit 520 or the decoding solution 530 by providing a completion notification to the description decoder 405 or by the description decoder 405 monitoring whether the decoding processing unit 320 is completed. Could be.

상술한 바와 같이, 본 발명에 따르면 종래의 표준(즉, 코덱)에서 제공하는 기능부들을 사용하여 기존의 프로파일(profile)을 사용할 수도 있고, 기존의 기능부들을 이용하여 새로운 복호화기를 구성할 수도 있으며, 새로운 기능부를 이용하여 새로운 복호화기를 구현 할 수 도 있다. 즉, 다양한 또한 제한없는 복호화기 구현이 가능하다.As described above, according to the present invention, an existing profile may be used by using functional units provided by a conventional standard (ie, a codec), or a new decoder may be configured by using existing functional units. In addition, new decoders can be used to implement new decoders. That is, various and unlimited decoder implementations are possible.

다만, 새로운 기능부(Functional Unit)를 툴 박스(510)에 추가하는 경우, 해당 기능부에 대한 알고리즘(즉, 기능부에 대한 디스크립션)을 추가하고 해당 정보를 FL(410)에 추가하여야 할 것이다. 이 경우 상기 알고리즘에 대한 컴파일(compile) 과정이 추가적으로 필요할 수도 있다.However, when adding a new functional unit (Functional Unit) to the tool box 510, it is necessary to add the algorithm for the functional unit (that is, description of the functional unit) and add the corresponding information to the FL 410. . In this case, a compilation process for the algorithm may be additionally required.

통합 코덱을 구현하기 위해서는 다양한 부호화 방식에 의해 압축된 비트스트림을 파싱하여 해당 부호화 방식에 대응되는 복호화 방식으로 비트스트림을 디코딩하도록 각 구성 요소를 유기적으로 제어 할 수 있어야 한다. In order to implement the integrated codec, each component must be organically controlled to parse a bitstream compressed by various coding methods and decode the bitstream by a decoding method corresponding to the corresponding coding method.

이 경우, 해당 비트스트림은 여러 가지 표준(코덱)을 혼합한 다양한 모양으로 구성된 비트스트림이거나 하나의 표준 내에서 다양한 부호화 방식에 의해 생성된 다양한 형태의 비트스트림일 수 있다. 또한 다양한 부호화/복호화 방법을 지원하기 위해서는 여러 가지 표준에서 사용되는 다양한 기능들을 별개의 유닛(Unit)으로 구분하고, 사용자가 원하고 필요로 하는 기능만을 선별하여 한 가지의 코덱(encoder and decoder)을 만들 수 있어야 한다.In this case, the corresponding bitstream may be a bitstream composed of various shapes in which various standards (codecs) are mixed or various types of bitstreams generated by various coding schemes within one standard. In addition, in order to support various encoding / decoding methods, various functions used in various standards are divided into separate units, and only one function and a function required by the user are selected to select one codec (encoder and decoder). You should be able to make it.

상술한 바와 같이, 본 발명은 디코딩 디스크립션이 함께 제공되도록 함으로써 비트스트림이 부호화된 부호화 방식에 관계없이 동일한 정보 해석 방법으로 각 기능부들을 유기적으로 연결하고 제어할 수 있는 장점을 가진다.As described above, the present invention has an advantage that the functional description can be organically connected and controlled by the same information interpretation method regardless of the encoding scheme in which the bitstream is encoded by providing the decoding description together.

또한, 본 발명의 다른 장점으로는 비트스트림의 신택스(syntax)가 변경되거나 새롭게 추가 될지라도, S-RT(460)에 해당 정보만의 수정 또는 추가 정보의 삽입 만으로도 능동적 대응이 가능하도록 할 수 있다. 또한 비트스트림 레벨(bit stream-level), 프레임 레벨(frame-level), 매크로블록 레벨(MB-level) 등의 처리 단위로 사용자가 원하는 기능을 선별하여 F-RT(420)를 구성함으로써 해당 복호화기의 디코딩 기능부들의 연결 관계 또는 동작 여부를 제어할 수 있는 장점도 있다.In addition, another advantage of the present invention is that even if the syntax of the bitstream is changed or newly added, the S-RT 460 may enable active response by only modifying the corresponding information or inserting additional information. . In addition, the F-RT 420 is configured by selecting a function desired by the user in units of processing such as a bit stream level, a frame level, a macro block level, and an MB-level to decode the corresponding decoding. There is also an advantage that can control the connection relationship or operation of the decoding functions of the existing.

도 13은 본 발명의 제5 실시예에 따른 확장 비트스트림의 구성을 나타낸 도면이고, 도 14는 본 발명의 제6 실시예에 따른 확장 비트스트림의 구성을 나타낸 도면이며, 도 15는 본 발명의 제7 실시예에 따른 확장 비트스트림의 구성을 나타낸 도면이고, 도 16은 본 발명의 제8 실시예에 따른 확장 비트스트림의 구성을 나타낸 도면이다.13 is a diagram illustrating a configuration of an extended bitstream according to the fifth embodiment of the present invention, FIG. 14 is a diagram illustrating a configuration of an extended bitstream according to the sixth embodiment of the present invention, and FIG. FIG. 16 is a diagram illustrating a configuration of an extended bitstream according to the seventh embodiment, and FIG. 16 is a diagram illustrating a configuration of an extended bitstream according to an eighth embodiment of the present invention.

본 발명에 따른 확장 비트스트림(305)은 디코더 디스크립션(DD, Decoder Description) 영역과 종래 비트스트림(316)으로 구성된다. 종래 비트스트림(316)이 코딩된 비디오 데이터(또는/및 코딩된 오디오 데이터)로 구성됨은 당업자에게 자명하다.The extended bitstream 305 according to the present invention is composed of a decoder description (DD) region and a conventional bitstream 316. It will be apparent to those skilled in the art that the conventional bitstream 316 consists of coded video data (or / and coded audio data).

여기서, 디코더 디스크립션 영역은 종래 비트스트림(316)을 디코딩하기 위해 적용될 코덱 특성에 따라 상이한 구조로 형성할 수 있다. 즉, 첫번째, 종래에 표준화된 하나의 코덱을 사용하는 경우 제1 디코더 디스크립션 구조가 적용될 수 있다.Here, the decoder description region may be formed in a different structure according to the codec characteristic to be applied to decode the conventional bitstream 316. That is, first, when using a single codec standardized in the prior art, the first decoder description structure may be applied.

두번째, 종래에 표준화된 하나의 코덱 중 일부 내용을 수정하여 사용(즉, 상술한 7개의 부분 디코더 디스크립션들 중 일부 부분 디코더 디스크립션은 해당 코덱에 상응하는 부분 디코더 디스크립션 내용을 그대로 사용하고 다른 일부 부분 디코더 디스크립션들을 수정하여 사용)하는 경우 제2 디코더 디스크립션 구조가 적용될 수 있다.Second, some content of one codec that has been standardized in the prior art may be modified (that is, some of the partial decoder descriptions of the seven partial decoder descriptions described above may use the content of the partial decoder description corresponding to the corresponding codec, and some other partial decoder may be used. In the case of modifying descriptions, a second decoder description structure may be applied.

세번째, 종래에 표준화된 복수의 코덱의 부분 디코더 디스크립션 정보를 가공하여 사용(즉, 상술한 7개의 부분 디코더 디스크립션들 중 일부 부분 디코더 디스크립션들은 종래의 복수 코덱의 부분 디코더 디스크립션 내용을 선택적으로 사용하고 다른 일부 부분 디코더 디스크립션들은 수정하여 사용)하는 경우 제3 디코더 디스크립션 구조가 적용될 수 있다.Third, processing and using partial decoder description information of a plurality of codecs conventionally standardized (that is, some of the partial decoder descriptions of the seven partial decoder descriptions described above selectively use partial decoder description contents of the conventional plurality of codecs, and When some partial decoder descriptions are modified and used, a third decoder description structure may be applied.

네번째, 종래에 표준화되지 않은 새로운 코덱을 사용(즉, 새로운 내용으로 구성된 상술한 7개의 부분 디코더 디스크립션들을 모두 포함하여 전송)하는 경우 제4 디코더 디스크립션 구조가 적용될 수 있다.Fourth, the fourth decoder description structure may be applied when using a new codec that is not standardized in the prior art (that is, including all the above-described seven partial decoder descriptions composed of new contents).

상술한 네가지 디코더 디스크립션 구조는 각각 상이한 코덱 타입(codec_type) 정보로서 구분될 수 있다. 예를 들어, 제1 디코더 디스크립션 구조인 경우 "codec_type = 0"으로 설정되고, 제2 디코더 디스크립션 구조인 경우 "codec_type = 1"으로 설정되며, 제3 디코더 디스크립션 구조인 경우 "codec_type = 2"로 설정되고, 제4 디코더 디스크립션 구조인 경우 "codec_type = 3"으로 설정될 수 있다. Each of the four decoder description structures described above may be classified as different codec type information. For example, "codec_type = 0" for the first decoder description structure, "codec_type = 1" for the second decoder description structure, and "codec_type = 2" for the third decoder description structure. In the case of the fourth decoder description structure, it may be set to "codec_type = 3".

도 13에 제1 디코더 디스크립션 구조가 예시되어 있다. A first decoder description structure is illustrated in FIG. 13.

도 13에 예시된 제1 디코더 디스크립션 구조에 따를 때, 디코더 디스크립션 영역은 코덱 타입(codec_type)(1250), 코덱 번호(codec_num)(1252) 및 프로파일 및 레벨 번호(profile_level_num)(1254)로 구성될 수 있다. 즉, 제1 디코더 디스크립션 구조에 따르면 디코더 디스크립션 영역에는 적용될 코덱에 관한 정보만을 중심으로 기술된다. 도면에는 각 필드가 8비트인 것으로 예시되어 있으나, 각 필드의 크기는 표현될 정보의 크기에 따라 가감될 수 있음은 자명하다.According to the first decoder description structure illustrated in FIG. 13, the decoder description area may include a codec type (codec_type) 1250, a codec number (codec_num) 1252, and a profile and level number (profile_level_num) 1254. have. That is, according to the first decoder description structure, only the information about the codec to be applied is described in the decoder description area. Although each field is illustrated as 8 bits in the figure, it is obvious that the size of each field may be added or subtracted according to the size of information to be represented.

코덱 타입(1250)은 0(zero)으로 설정(즉, codec_type=0)될 것이며, 이는 종래 표준화된 다양한 코덱들 중 하나의 코덱을 그대로 이용하는 경우를 의미한다.The codec type 1250 will be set to zero (ie, codec_type = 0), which means that the codec type 1250 uses one of various codecs standardized in the prior art.

도 14에 제2 디코더 디스크립션 구조가 예시되어 있다.A second decoder description structure is illustrated in FIG. 14.

도 14에 예시된 제2 디코더 디스크립션 구조에 따를 때, 디코더 디스크립션 영역은 코덱 타입(codec_type)(1250), 코덱 번호(codec_num)(1252), 프로파일 및 레벨 번호(profile_level_num)(1254) 및 테이블 디스크립션(1256)으로 구성될 수 있다. 즉, 제2 디코더 디스크립션 구조에 따르면 디코더 디스크립션 영역에는 적용 될 코덱에 관한 정보와 7개의 부분 디코더 디스크립션들 중 수정되는 내용을 중심으로 기술된다. 여기서, 테이블 디스크립션은 7개의 부분 디코더 디스크립션 각각에 대해 개별적으로 구비된다. 즉, 디코더 디스크립션 영역에 7개의 테이블 디스크립션이 존재할 수 있다.According to the second decoder description structure illustrated in FIG. 14, the decoder description area includes a codec type (codec_type) 1250, a codec number (codec_num) 1252, a profile and level number (profile_level_num) 1254, and a table description ( 1256). That is, according to the second decoder description structure, the decoder description area is described based on information about a codec to be applied and contents modified among seven partial decoder descriptions. Here, the table description is provided separately for each of the seven partial decoder descriptions. That is, seven table descriptions may exist in the decoder description area.

각 테이블 디스크립션(1256)은 예시된 바와 같이, 테이블 시작 코드(Table_start_code)(1258), 테이블 식별자(Table_identifier)(1260), 테이블 타입(Table_type)(1262), 내용(1263) 및 테이블 종료 코드(Table_end_code)(1264)를 포함할 수 있다. 물론 각 필드의 사이즈는 필요에 따라 증감될 수 있다. 또한 이하에서 설명되는 바와 같이, 내용(1263)은 테이블 타입(1262)의 정보에 따라 생략되거나 포함될 수 있다.Each table description 1256 has a table start code (Table_start_code) 1258, a table identifier (Table_identifier) 1260, a table type (Table_type) 1262, a content 1263, and a table end code (Table_end_code) as illustrated. 1264 may be included. Of course, the size of each field can be increased or decreased as needed. In addition, as described below, the content 1263 may be omitted or included according to the information of the table type 1262.

예를 들어, 테이블 타입(1262)의 값이 0이면 기존 부분 디코더 디스크립션(즉, 코덱 타입(codec_type)(1250), 코덱 번호(codec_num)(1252), 프로파일 및 레벨 번호(profile_level_num)(1254)과 테이블 식별자(1260)에 의해 인식된 부분 디코더 디스크립션)의 수정없이 적용되도록 인식될 수 있다. 이 경우, 내용(1263)은 생략될 수 있다.For example, if the value of the table type 1262 is 0, the existing partial decoder description (that is, the codec type (codec_type) 1250, the codec number (codec_num) 1252), the profile and level number (profile_level_num) 1254 and It may be recognized to be applied without modification of the partial decoder description recognized by the table identifier 1260. In this case, the content 1263 can be omitted.

그러나, 테이블 타입(1262)의 값이 1이면 기존 부분 디코더 디스크립션(즉, 코덱 타입(codec_type)(1250), 코덱 번호(codec_num)(1252), 프로파일 및 레벨 번호(profile_level_num)(1254)과 테이블 식별자(1260)에 의해 인식된 부분 디코더 디스크립션)을 일부 수정(즉, 내용(1263)에 정의된 내용으로 수정)하여 사용하도록 인식될 수 있다. 이 경우, 내용(1263)에는 수정된 내용(예를 들어, update command 등)이 기술될 수 있다. 예를 들어, 수정된 내용(예를 들어, update command 등)은 업데이트(update), 삽입(insert) 또는/및 삭제(delete) 등과 같은 명령어들이 포함되어 해당 부분 디코더 디스크립션의 상응하는 인덱스의 부분 디코더 디스크립션 내용을 수정하도록 하는 정보일 수 있다.However, if the value of the table type 1262 is 1, the existing partial decoder description (that is, the codec type (codec_type) 1250, the codec number (codec_num) 1252), the profile and level number (profile_level_num) 1254, and the table identifier The partial decoder description recognized by 1260 may be recognized for use with some modifications (ie, modifications to the content defined in content 1263). In this case, the modified content (for example, an update command, etc.) may be described in the content 1263. For example, modified content (eg, update command, etc.) may include instructions such as update, insert, and / or delete to include a partial decoder of the corresponding index of the corresponding partial decoder description. It may be information for modifying the description content.

그러나, 테이블 타입(1262)의 값이 2이면 기존 부분 디코더 디스크립션(즉, 코덱 타입(codec_type)(1250), 코덱 번호(codec_num)(1252), 프로파일 및 레벨 번호(profile_level_num)(1254)과 테이블 식별자(1260)에 의해 인식된 부분 디코더 디스크립션)을 완전히 변경(즉, 내용(1263)에 정의된 내용으로 변경)하여 사용하도록 인식될 수 있다. 이 경우, 내용(1263)에는 변경된 내용(예를 들어, new command 등과 같이 해당 부분 디코더 디스크립션을 새로 정의하기 위한 내용)이 기술될 수 있다. However, if the value of the table type 1262 is 2, the existing partial decoder description (ie, codec type (codec_type) 1250, codec number (codec_num) 1252), profile and level number (profile_level_num) 1254, and table identifier The partial decoder description recognized by 1260) may be fully modified (i.e., changed to the content defined in content 1263) to be used. In this case, the contents 1263 may describe the changed contents (for example, contents for newly defining the corresponding partial decoder description, such as a new command).

도 15에 제3 디코더 디스크립션 구조가 예시되어 있다.A third decoder description structure is illustrated in FIG. 15.

도 15에 예시된 제3 디코더 디스크립션 구조에 따를 때, 디코더 디스크립션 영역은 코덱 타입(codec_type)(1250) 및 테이블 디스크립션(1256)으로 구성될 수 있다. 즉, 제3 디코더 디스크립션 구조에 따르면 디코더 디스크립션 영역에는 적용될 코덱에 관한 정보와 7개의 부분 디코더 디스크립션들 중 수정되는 내용을 중심으로 기술된다. 여기서, 테이블 디스크립션은 7개의 부분 디코더 디스크립션 각각에 대해 개별적으로 구비된다. 즉, 디코더 디스크립션 영역에 7개의 테이블 디스크립션이 존재할 수 있다.According to the third decoder description structure illustrated in FIG. 15, the decoder description area may be composed of a codec type 1250 and a table description 1256. That is, according to the third decoder description structure, the decoder description area is described based on information about a codec to be applied and contents which are modified among seven partial decoder descriptions. Here, the table description is provided separately for each of the seven partial decoder descriptions. That is, seven table descriptions may exist in the decoder description area.

각 테이블 디스크립션(1256)은 예시된 바와 같이, 테이블 시작 코 드(Table_start_code)(1258), 테이블 식별자(Table_identifier)(1260), 테이블 타입(Table_type)(1262), 내용(1263) 및 테이블 종료 코드(Table_end_code)(1264)를 포함할 수 있다. 물론 각 필드의 사이즈는 필요에 따라 증감될 수 있다. Each table description 1256 has a table start code (Table_start_code) 1258, a table identifier (Table_identifier) 1260, a table type (Table_type) 1262, a content 1262 and a table end code (as illustrated). Table_end_code) 1264. Of course, the size of each field can be increased or decreased as needed.

예를 들어, 테이블 타입(1262)의 값이 0이면 기존 부분 디코더 디스크립션(즉, 코덱 번호(codec_num)(1252), 프로파일 및 레벨 번호(profile_level_num)(1254)와 테이블 식별자(1260)에 의해 인식된 부분 디코더 디스크립션)의 수정없이 적용되도록 인식될 수 있다. 즉, 내용(1263) 필드 내에 적용될 부분 디코더 디스크립션에 상응하는 코덱 번호(codec_num)(1252), 프로파일 및 레벨 번호(profile_level_num)(1254)가 기술된다.For example, if the value of the table type 1262 is 0, it is recognized by the existing partial decoder description (i.e., codec number (codec_num) 1252), profile and level number (profile_level_num) 1254 and table identifier 1260. Partial decoder description). That is, the codec number (codec_num) 1252, profile and level number (profile_level_num) 1254 corresponding to the partial decoder description to be applied in the content 1262 field are described.

그러나, 테이블 타입(1262)의 값이 1이면 기존 부분 디코더 디스크립션(즉, 코덱 번호(codec_num)(1252), 프로파일 및 레벨 번호(profile_level_num)(1254)와 테이블 식별자(1260)에 의해 인식된 부분 디코더 디스크립션)을 일부 수정(즉, 수정 내용(1266)에 정의된 내용으로 수정)하여 사용하도록 인식될 수 있다. 이 경우, 내용(1263) 필드 내에 적용될 테이블에 상응하는 코덱 번호(codec_num)(1252), 프로파일 및 레벨 번호(profile_level_num)(1254)가 기술되고, 수정 내용(1266) 필드에는 수정된 내용(예를 들어, update command 등)이 기술될 수 있다.However, if the value of the table type 1262 is 1, the partial decoder description recognized by the existing partial decoder description (i.e., codec number (codec_num) 1252, profile and level number (profile_level_num) 1254, and table identifier 1260). Description) may be recognized for use with some modification (ie, modification as defined in modification 1266). In this case, the codec number (codec_num) 1252, profile and level number (profile_level_num) 1254 corresponding to the table to be applied in the content 1262 field are described, and the modified content 1266 field is a modified content (e.g., For example, an update command) may be described.

그러나, 테이블 타입(1262)의 값이 2이면 기존 부분 디코더 디스크립션(즉, 테이블 식별자(1260)에 의해 인식된 부분 디코더 디스크립션)을 완전히 변경(즉, 내용(1263) 필드에 정의된 내용으로 변경)하여 사용하도록 인식될 수 있다. 이 경우, 내용(1263) 필드에는 변경된 내용(예를 들어, new command 등과 같이 해당 부 분 디코더 디스크립션을 새로 정의하기 위한 내용)이 기술될 수 있다. 즉, 상술한 바와 같이 테이블 타입(1262)가 0 또는 1인 경우라면 특정 코덱이 그대로 이용되거나 일부 부분 디코더 디스크립션이 수정되어 이용되므로 코덱에 관한 정보(즉, 코덱 번호(codec_num)(1252), 프로파일 및 레벨 번호(profile_level_num)(1254))가 요구되지만, 테이블 타입(1262)가 2인 경우라면 완전히 새로운 부분 디코더 디스크립션 정보가 정의되므로 별도의 코덱 정보는 불필요하다.However, if the value of the table type 1262 is 2, then the existing partial decoder description (i.e., the partial decoder description recognized by the table identifier 1260) is completely changed (i.e. changed to the content defined in the Content 1262 field). Can be recognized for use. In this case, a changed content (for example, content for newly defining a corresponding decoder description such as a new command) may be described in the content 1263 field. That is, when the table type 1262 is 0 or 1 as described above, since a specific codec is used as it is or some partial decoder description is modified and used, information about the codec (that is, codec number (codec_num) 1252, profile) And level number (profile_level_num) 1254 are required, but if the table type 1262 is 2, completely new partial decoder description information is defined and no separate codec information is necessary.

도 16에 제4 디코더 디스크립션 구조가 예시되어 있다.A fourth decoder description structure is illustrated in FIG.

도 16에 예시된 제4 디코더 디스크립션 구조에 따를 때, 디코더 디스크립션 영역은 코덱 타입(codec_type)(1250) 및 테이블 디스크립션(1256)으로 구성될 수 있다. 즉, 제4 디코더 디스크립션 구조에 따르면 디코더 디스크립션 영역에는 7개의 부분 디코더 디스크립션들을 중심으로 기술되며, 테이블 디스크립션은 7개의 부분 디코더 디스크립션 각각에 대해 개별적으로 구비된다. According to the fourth decoder description structure illustrated in FIG. 16, the decoder description area may be composed of a codec type 1250 and a table description 1256. That is, according to the fourth decoder description structure, the decoder description area is described centering on the seven partial decoder descriptions, and the table description is separately provided for each of the seven partial decoder descriptions.

각 테이블 디스크립션(1256)은 예시된 바와 같이, 테이블 시작 코드(Table_start_code)(1258), 테이블 식별자(Table_identifier)(1260), 테이블 타입(Table_type)(1262), 내용(1263) 및 테이블 종료 코드(Table_end_code)(1264)를 포함할 수 있다. 물론 각 필드의 사이즈는 필요에 따라 증감될 수 있다. Each table description 1256 has a table start code (Table_start_code) 1258, a table identifier (Table_identifier) 1260, a table type (Table_type) 1262, a content 1263, and a table end code (Table_end_code) as illustrated. 1264 may be included. Of course, the size of each field can be increased or decreased as needed.

예를 들어, 테이블 타입(1262)의 값이 미리 지정된 값(예를 들어, 2) 이면 내용(1263) 필드에는 테이블 식별자(1260)에 상응하는 새로운 부분 디코더 디스크립션을 기술하기 위한 정보(예를 들어, new command 등과 같이 해당 부분 디코더 디스크립션을 새로 정의하기 위한 내용)가 표시된다. 상술한 바와 같이, 코덱 타 입(1250)이 3인 경우에는 새로운 부분 디코더 디스크립션들을 이용하여 디코딩을 수행하는 것으로 인식되므로, 테이블 타입(1262)은 하나만으로 지정되거나, 테이블 타입(1262)가 생략될 수 있다.For example, if the value of the table type 1262 is a predetermined value (e.g., 2), then the contents 1262 field may contain information (e.g., to describe a new partial decoder description corresponding to the table identifier 1260). , new command, etc.) to display a new definition of the partial decoder description. As described above, when the codec type 1250 is 3, it is recognized that decoding is performed using new partial decoder descriptions, so that only one table type 1262 is specified or the table type 1262 is omitted. Can be.

이하, 디코더 디스크립션 영역의 syntax 구조 및 각 필드의 syntax 구조를 각각의 표로서 예시하기로 한다.Hereinafter, the syntax structure of the decoder description area and the syntax structure of each field will be exemplified as respective tables.

표 5. 디코더 디스크립션Table 5. Decoder description

Decoder_Description() {Decoder_Description () { No. of bitsNo. of bits codec_type codec_type 88 if ((codec_type==0x00) || (codec_type==0x01)) {if ((codec_type == 0x00) || (codec_type == 0x01)) { Codec_Description()Codec_Description () }} if (codec_type!=0x00) {if (codec_type! = 0x00) { do {do { Table_Description()Table_Description () } while (next_bits()==table_idetifier)} while (next_bits () == table_idetifier) }} }}

표 6. 코덱 디스크립션Table 6. Codec description

Codec_Description() {Codec_Description () { No. of bitsNo. of bits codec_numcodec_num 88 profile_level_numprofile_level_num 88 }}

표 7. 테이블 디스크립션Table 7. Table description

Table_Description() {Table_Description () { No. of bitsNo. of bits table_start_codetable_start_code 2424 table_identifier table_identifier 44 table_typetable_type 44 if ((table_type =='0000') || (table_type =='0001')) {if ((table_type == '0000') || (table_type == '0001')) { if (codec_type==0x02)if (codec_type == 0x02) Codec_Description()Codec_Description () if (table_type =='0001')if (table_type == '0001') Update_Description()Update_Description () }} if (table_type =='0010') {if (table_type == '0010') { New_Description()New_description () }} table_end_codetable_end_code 2424 }}

표 8. 업데이트(update) 디스크립션Table 8. Update description

Update_Description() {Update_Description () { No. of bitsNo. of bits MnemonicMnemonic Update_Command  Update_Command vlclbfvlclbf }}

표 9. 뉴(new) 디스크립션Table 9. New description

New_Description() {New_Description () { No. of bitsNo. of bits MnemonicMnemonic New_CommandNew_command vlclbfvlclbf }}

이하, 디코더 디스크립션의 semantics를 각각의 표로서 설명한다.The semantics of the decoder description are described below as respective tables.

표 10. 디코딩 디스크립션Table 10. Decoding description

codec_typecodec_type MeaningMeaning 0x000x00 A profile@level of an existing MPEG standardA profile @ level of an existing MPEG standard 0x010x01 Some parts of the existing one profile@level changedSome parts of the existing one profile @ level changed 0x020x02 Some parts of the existing multiple profile@level changedSome parts of the existing multiple profile @ level changed 0x030x03 A new decoding solutionA new decoding solution 0x04-0xFF0x04-0xFF RESERVEDRESERVED

여기서, 코덱 타입은 8비트 코드로서, 코덱의 타입을 식별하기 위한 정보일 수 있다.Here, the codec type is an 8-bit code and may be information for identifying the type of the codec.

표 11. 코덱 디스크립션Table 11. Codec description

codec_numcodec_num MPEG standards and othersMPEG standards and others 0101 MPEG-1MPEG-1 0202 MPEG-2MPEG-2 0303 MPEG-4 Part 2MPEG-4 Part 2 0404 MPEG-4 Part 10 (AVC)MPEG-4 Part 10 (AVC) 05-FF05-FF RESERVEDRESERVED

여기서, 코덱 번호(codec_num)는 8비트 코드로서, 사용된 코덱의 코드를 나타내는 정보일 수 있다. 또한, 프로파일 및 레벨 번호(profile_level_num)는 8비트 코드로서, 코덱에 대한 프로파일과 레벨의 번호를 지시하기 위한 정보일 수 있다. 프로파일 및 레벨 번호는 각 MPEG 표준의 프로파일 및 레벨 번호와 일치할 수 있다.Here, the codec number codec_num is an 8-bit code and may be information indicating a code of a used codec. In addition, the profile and level number (profile_level_num) is an 8-bit code and may be information for indicating the number of the profile and the level for the codec. The profile and level numbers may match the profile and level numbers of each MPEG standard.

표 12. 테이블 디스크립션(테이블 식별자)Table 12. Table description (table identifier)

table_identifiertable_identifier table nametable name 00000000 SET (Syntax Element Table)SET (Syntax Element Table) 00010001 S-RT (Syntax Rule Table)Syntax Rule Table (S-RT) 00100010 CSCIT (CSCI Table)CSCIT (CSCI Table) 00110011 DVT (Default Value Table)DVT (Default Value Table) 01000100 FL (FU List)FL (FU List) 01010101 F-RT (FU Rule Table)F-RT (FU Rule Table) 01100110 FU-CSCIT (FU CSCI Table)FU-CSCIT (FU CSCI Table) 0111-11110111-1111 RESERVEDRESERVED

여기서, 테이블 시작 코드(table_start_code)는 16진수의 26비트 문자열 0xFFFFFE일 수 있고, 이는 테이블 디스크립션의 시작을 의미할 수 있다. 테이블 식별자(table_identifier)는 위의 표 12와 같이 각각의 4비트 코드일 수 있다.Here, the table start code (table_start_code) may be a 26-bit string 0xFFFFFE in hexadecimal, which may mean the start of a table description. The table identifier (table_identifier) may be each 4-bit code as shown in Table 12 above.

표 13. 테이블 디스크립션(테이블 타입)Table 13. Table description (table type)

table_typetable_type MeaningMeaning 00000000 conventional tableconventional table 00010001 updated tableupdated table 00100010 new tablenew table 0011-11110011-1111 RESERVEDRESERVED

여기서, 테이블 타입은 4비트 값으로 기존의 부분 디코더 디스크립션을 유지할 것인지, 기존의 부분 디코더 디스크립션을 업데이트할 것인지 아니면 새로운 부분 디코더 디스크립션을 생성할 것인지를 판단하도록 하는 정보이다. 테이블 종료 코드(table_end_code)는 16진수의 26비트 문자열 0xFFFFFF일 수 있고, 이는 테이블 디스크립션의 끝을 의미할 수 있다.Here, the table type is information for determining whether to maintain the existing partial decoder description, update the existing partial decoder description, or generate a new partial decoder description with a 4-bit value. The table end code (table_end_code) may be a 26-bit string 0xFFFFFF in hexadecimal, which may mean the end of the table description.

표 14. 업데이트 커맨드(update_command)를 위한 지시 세트Table 14. Instruction set for update command (update_command)

CodeCode InstructionInstruction UsageUsage 0000 UPDATEUPDATE UPDATE [index#] in [table#] [a record];UPDATE [index #] in [table #] [a record]; 0101 INSERTINSERT INSERT into [table#] [a record];INSERT into [table #] [a record]; 1010 DELETEDELETE DELETE [index#] from [table#];DELETE [index #] from [table #]; 1111 RESERVEDRESERVED

여기서, index#은 임의의 부분 디코더 디스크립션의 인텍스 번호를 지시하는 4비트 문자열일 수 있고, table#은 테이블 식별자로서의 32비트 문자열일 수 있다.Here, index # may be a 4-bit string indicating an index number of an arbitrary partial decoder description, and table # may be a 32-bit string as a table identifier.

표 15. 뉴 커맨드(new_command)를 위한 지시 세트Table 15. Instruction set for new command (new_command)

CodeCode InstructionInstruction UsageUsage 0000000100000001 READREAD READ bits B > CSCI;READ bits B> CSCI; 0000001000000010 SEEKSEEK SEEK bits B > CSCI;SEEK bits B> CSCI; 0000001100000011 FLUSHFLUSH FLUSH bits B;FLUSH bits B; 0000010000000100 IFIF IF (condition) { ~ }
ELSE { ~ }
IF (condition) {~}
ELSE {~}
0000010100000101 WHILEWHILE WHILE (condition) { ~ }WHILE (condition) {~} 0000011000000110 UNTILUNTIL UNTIL (condition) { ~ }UNTIL (condition) {~} 00000111~000000111 ~ 0 DO~WHILEDO-WHILE DO { ~ } WHILE (condition)DO {~} WHILE (condition) 00000111~100000111 ~ 1 DO~UNTILDO ~ UNTIL DO { ~ } UNTIL (condition)DO {~} UNTIL (condition) 0000100000001000 ( ~ ) (compute)(~) (compute) ( ……… )(………) 0000100100001001 BREAKBREAK BREAK;BREAK; 0000101000001010 SETSET SET CSCI, CSCI;SET CSCI, CSCI; 0000101100001011 STOPSTOP STOP;STOP; 0000110000001100 PUSHPUSH PUSH CSCI Value, Value ;PUSH CSCI Value, Value; 0000110100001101 RLDRLD RLD index, level, run, islastrun, t#;RLD index, level, run, islastrun, t #; 0001001000010010 VLD2VLD2 VLD2 [T#] in > v1, v2, v3;VLD2 [T #] in> v1, v2, v3; 0001010000010100 VLD4VLD4 VLD4 [T#] > CSCI;VLD4 [T #]> CSCI;

여기서, 비트(bits)는 요구되는 비트의 수를 나타내는 3 내지 34 비트 중 임의의 값이며, B는 바이트 얼라인먼트(byte alignment)를 나타내는 1비트 문자열이다. ">"는 좌측의 출력을 프린트하기 위한 1비트 문자열이고, VLD2(for MPEG-2)와 VLD4(for MPEG-4)는 엔트로피 코딩을 위한 기능들이다.Here, bits are any of 3 to 34 bits indicating the number of bits required, and B is a 1-bit string indicating byte alignment. ">" Is a 1-bit string for printing the output on the left, and VLD2 (for MPEG-2) and VLD4 (for MPEG-4) are functions for entropy coding.

도 17은 본 발명의 일 실시예에 따른 부호화기의 블록 구성도이다.17 is a block diagram of an encoder according to an embodiment of the present invention.

본 발명에 따른 부호화기(1300)는 앞서 도 2를 참조하여 설명한 종래의 부호화기(200)에 비해 확장 비트스트림 생성 및 출력부(1310)를 더 포함한다. 확장 비트스트림 생성 및 출력부(1310)는 전단까지의 처리에 의해 생성된 종래 비트스트림(316) 생성 과정에서의 제어 정보(예를 들어, 사용한 기능부들의 목록 및 연결 관계, 해당 기능부들의 입력 데이터, 신택스 정보, 신택스 연결 정보 등)를 이용하여 디코더 디스크립션 을 생성한다. 또한, 생성된 디코더 디스크립션 및 종래 비트스트림(316)를 이용하여 확장 비트스트림(305)을 생성하여 복호화기(300)로 전송한 다. 디코더 디스크립션의 생성 방법은 앞서 설명한 사항만으로 당업자가 충분히 이해할 수 있을 것이므로 이에 대한 설명은 생략한다.The encoder 1300 according to the present invention further includes an extension bitstream generation and output unit 1310 as compared to the conventional encoder 200 described with reference to FIG. 2. The extended bitstream generation and output unit 1310 may control information (eg, a list and connection relations of the used functional units and input of the corresponding functional units) in the conventional bitstream 316 generation process generated by the process up to the front end. Data, syntax information, syntax connection information, etc.) to generate a decoder description. In addition, the extended bitstream 305 is generated using the generated decoder description and the conventional bitstream 316 and transmitted to the decoder 300. The method of generating the decoder description will be fully understood by those skilled in the art based only on the above descriptions, and thus description thereof will be omitted.

또한, 본 명세서에서 가변장 인코딩부(230)는 부호화기(1300) 내에서 종래 비트스트림(316)을 생성하기 위하여 최종적으로 부호화를 수행하는 임의의 구성 요소(예를 들어, 부호화부)를 지칭한 것일 뿐 이에 제한되는 것은 아니며, 또한 이로 인해 본 발명의 권리범위가 제한되지는 않는다.In addition, in the present specification, the variable length encoder 230 refers to an arbitrary component (for example, an encoder) that performs encoding in order to generate the conventional bitstream 316 in the encoder 1300. The present invention is not limited thereto, and the scope of the present invention is not limited thereto.

도 17은 디코더 디스크립션 정보 및 종래 비트스트림(316)을 이용하여 생성한 확장 비트스트림(305)이 복호화기로 제공되는 경우를 가정한 도면이다.FIG. 17 illustrates a case in which an extended bitstream 305 generated using decoder description information and a conventional bitstream 316 is provided to a decoder.

그러나, 상술한 바와 같이, 디코더 디스크립션은 별도의 데이터 또는 비트스트림 등의 형태로 복호화기(300)로 전달될 수도 있다. 이 경우는 가변장 인코딩부(235) 후단에 확장 비트스트림 생성 및 출력부(1310)가 위치하지 않고, 종래의 인코딩부(200)와 독립적으로 디코더 디스크립션 생성 및 출력부가 위치하여 독립적으로 생성한 정보를 복호화기(300)로 제공할 수도 있음은 자명하다.However, as described above, the decoder description may be delivered to the decoder 300 in the form of separate data or bitstream. In this case, the extended bitstream generation and output unit 1310 is not positioned after the variable length encoding unit 235, and the decoder description generation and output unit are independently generated by being located independently of the conventional encoding unit 200. It is apparent that may be provided to the decoder 300.

이제까지 본 발명에 따른 통합 코덱 장치 및 방법을 설명함에 있어 복호화기를 중심으로 설명하였으나, 복호화기와 부호화기간의 상호 관계가 당업자에게 자명하며 복호화기에 대한 상세한 설명만으로도 부호화기의 구성이 용이한 점을 고려할 때 본 발명이 복호화기에 제한되지 않음은 자명하다.In the description of the integrated codec apparatus and method according to the present invention, the decoder has been described with reference to the decoder. However, the interrelationship between the decoder and the encoding period is apparent to those skilled in the art. Obviously, the invention is not limited to decoders.

상술한 바와 같이 본 발명에 따른 통합 코덱 장치 및 방법은 하나의 표준(또는 코덱) 내에서 또는 다른 표준(또는 코덱) 간에 syntax 엘리먼트의 해석 및 기능 부들의 연결 제어를 용이하게 한다. 즉, 특정 표준에 따라 생성되는 비트스트림 내의 syntax 엘리먼트들의 순서를 변경하거나, 새로운 syntax 엘리먼트들을 삽입하거나, 기존의 syntax 엘리먼트들을 삭제함에 문제되지 않는다. As described above, the integrated codec apparatus and method according to the present invention facilitates the interpretation of syntax elements and control of the connection of functional parts within one standard (or codec) or between different standards (or codecs). That is, it is not a problem to change the order of syntax elements, insert new syntax elements, or delete existing syntax elements in a bitstream generated according to a specific standard.

또한, 종래기술에 따르면 이와 같은 syntax 엘리먼트의 조작시 복호화기에서는 해당 비트스트림을 정상적으로 디코딩할 수 없는 문제점이 있었다. 예를 들어, 비트스트림 정보가 ABC이던 것을 ACB로 순서를 바꾸어 비트스트림을 구성하여 전송하면, 복호화기는 이를 인식할 수 없어 정상적인 디코딩이 불가능하다. 또한, 신규로 F를 삽입하여 ABFC로 구성하거나, B를 삭제하여 AC로 비트스트림을 구성하는 경우에도 동일하다.In addition, according to the related art, when the syntax element is manipulated, the decoder cannot decode the corresponding bitstream normally. For example, if the bitstream information is ABC and the bitstream is changed to ACB to configure and transmit the bitstream, the decoder cannot recognize the bitstream and thus normal decoding is not possible. The same applies to the case where a new stream is inserted into an ABFC, or a B is deleted to form a bitstream with AC.

그러나, 본 발명에 따른 통합 코덱 장치 및 방법을 이용하면, 확장 비트스트림 내에 포함되거나 또는 독립된 데이터로 디코더 디스크립션 정보가 제공되므로 복호화기(300)의 원활한 복호화 동작이 가능해진다.However, using the integrated codec apparatus and method according to the present invention, since the decoder description information is provided as data included in the extended bitstream or as independent data, the decoder 300 can perform a smooth decoding operation.

이제까지 본 발명에 따른 복호화 장치 및 비트스트림 복호화를 위한 구문 해석 방법을 설명함에 있어 MPEG-4 AVC를 기준으로 설명하였으나, MPEG-1, MPEG-2, MPEG-4 및 이외의 동영상 인코딩/디코딩 표준에 아무런 제한없이 동일하게 적용할 수 있음은 당연하다.So far, the decoding apparatus and the syntax parsing method for decoding the bitstream according to the present invention have been described based on MPEG-4 AVC, but the MPEG-1, MPEG-2, MPEG-4 and other video encoding / decoding standards Naturally, the same can be applied without any limitation.

또한, 각 부분 디코더 디스크립션들에 포함되는 정보 역시 하나의 표준에 의한 디코딩 수행을 위한 기능부들의 연결 관계, 해당 기능부에 요구되는 처리 프로세스 등에 관한 정보만으로 기술되지 않고, 복수의 표준에 의한 디코딩 수행을 위 한 정보로 기술될 수도 있음은 자명하다.In addition, the information included in each of the partial decoder descriptions is not described only with information on connection relations of functional units for performing decoding by one standard, processing processes required for the corresponding functional unit, and decoding by multiple standards. It is obvious that the information may be described.

예를 들어, 확장 비트스트림에 포함된 인코딩된 비디오 데이터의 초기 복수의 프레임은 MPEG-2로 인코딩되고, 후속하는 복수의 프레임은 MPEG-4로 인코딩되며, 나머지 프레임은 MPEG-1으로 인코딩되었다고 가정하자. 이 경우, 인코딩된 비디오 데이터의 디코딩을 위해 디코더 디스크립션에 포함되는 부분 디코더 디스크립션 정보들은 인코딩 방법을 달리하는 각 프레임들이 툴 박스(510)에 포함된 각 표준에 따른 기능부들이 유기적으로 결합되어 동작될 수 있도록 구현될 것임은 자명하다.For example, assume that the initial plurality of frames of the encoded video data contained in the extended bitstream are encoded in MPEG-2, a subsequent plurality of frames are encoded in MPEG-4, and the remaining frames are encoded in MPEG-1 lets do it. In this case, the partial decoder description information included in the decoder description for decoding the encoded video data may be operated by combining the functional units according to each standard included in the tool box 510 for each frame having a different encoding method. It is obvious that it will be implemented.

상술한 바와 같이 본 발명에 따른 통합 코덱 장치 및 방법은 각 표준(예를 들어, MPEG-1, MPEG-2, MPEG-4, MPEG-4 AVC 등)에 따른 다양한 형식(syntax, semantics)으로 부호화된 비트스트림을 동일한 정보 인식 방식으로 복호화(decoding)할 수 있는 효과가 있다.As described above, the integrated codec apparatus and method according to the present invention are encoded in various formats (syntax, semantics) according to each standard (for example, MPEG-1, MPEG-2, MPEG-4, MPEG-4 AVC, etc.). The decoded bitstream can be decoded with the same information recognition scheme.

또한, 본 발명은 다양한 부호화 방식으로 압축된 비트스트림을 동일한 정보 분석 방법에 의해 파싱(parsing)하고, 파싱된 데이터를 이용하여 복호화를 위한 각 기능부(FU, Functional Unit)들을 유기적으로 제어할 수 있는 효과도 있다.In addition, the present invention parses a bitstream compressed by various encoding schemes by the same information analysis method, and can organically control functional units (FU) for decoding using the parsed data. There is also an effect.

또한, 본 발명은 다양한 형태의 비트스트림을 복호화하기 위한 syntax 해석 방법을 공통적으로 적용할 수 있는 효과도 있다.In addition, the present invention has the effect that can be commonly applied to the syntax analysis method for decoding various types of bitstream.

또한, 본 발명은 다양한 형태의 비트스트림을 공통된 Syntax 해석 방법으로 파싱할 수 있도록 하기 위한 새로운 명령어들의 집합을 적용할 수 있는 효과도 있다.In addition, the present invention has the effect of applying a new set of instructions for parsing various types of bitstreams with a common syntax analysis method.

또한, 본 발명은 syntax 엘리먼트의 변경이나 추가시에도 복호화기가 용이하게 비트스트림을 복호화할 수 있는 효과도 있다.In addition, the present invention also has the effect that the decoder can easily decode the bitstream even when the syntax element is changed or added.

또한, 본 발명은 해석된 syntax의 엘리먼트 정보(element information, 즉 syntax 파싱에 의한 결과물)를 비트스트림 복호화를 위해 이용되는 구성 요소들이 공유할 수 있도록 하는 효과도 있다.In addition, the present invention also has an effect of allowing elements used for bitstream decoding to share element information (i.e., the result of syntax parsing) of the analyzed syntax.

또한, 본 발명은 해석된 syntax의 엘리먼트 정보를 후속하는 비트스트림 syntax 엘리먼트의 해석을 위해 이용할 수 있도록 하는 효과도 있다.In addition, the present invention also has the effect that the element information of the parsed syntax can be used for the interpretation of subsequent bitstream syntax elements.

또한, 본 발명은 MPEG-1, MPEG-2, MPEG-4, MPEG-4 AVC 외의 블록 단위의 처리를 하는 동영상, 정지영상 코덱의 통합시에 사용할 수 있는 효과도 있다.In addition, the present invention also has an effect that can be used when integrating a moving picture or still picture codec that processes block units other than MPEG-1, MPEG-2, MPEG-4, and MPEG-4 AVC.

또한, 본 발명은 여러 표준(코덱)에서 제안하는 다양한 디코딩 방법을 구성하는 기능들을 각기 기능부(FU, Functional Unit) 단위로 구현하여 툴박스에 구비할 수 있는 효과도 있다.In addition, the present invention has an effect that can be included in the toolbox by implementing the functions constituting various decoding methods proposed by various standards (codecs) in units of functional units (FU).

또한, 본 발명은 다양한 형태로 부호화 된 비트스트림을 복호화하기 위해 툴박스에서 필요한 기능부들만을 선별적으로 로드(load)하여 디코딩하도록 할 수 있는 효과도 있다.In addition, the present invention has the effect that it is possible to selectively load and decode only the functional units necessary in the toolbox to decode the bitstream encoded in various forms.

또한, 본 발명은 툴박스에 구비된 기능부의 변경이나 추가, 삭제가 용이한 효과도 있다.In addition, the present invention has the effect that it is easy to change, add, or delete the functional unit provided in the tool box.

상기에서는 본 발명의 실시예들을 참조하여 설명하였지만, 해당 기술분야에서 통상의 지식을 가진 자라면 하기의 특허 청구의 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.Although the above has been described with reference to embodiments of the present invention, those skilled in the art may variously modify the present invention without departing from the spirit and scope of the present invention as set forth in the claims below. And can be changed.

Claims (31)

디스크립션 저장부에 저장된 부분 디코더 디스크립션들(partial decoder descriptions)을 이용하여 CSCI 제어 정보 및 연결 제어 정보를 생성하여 출력하는 디코더 형성부; A decoder forming unit for generating and outputting CSCI control information and connection control information using partial decoder descriptions stored in the description storage unit; 미리 설정된 프로세스를 각각 수행하도록 구현된 복수의 기능부를 포함하는 툴박스(Tool-Box);A tool box including a plurality of functional units implemented to perform a predetermined process, respectively; 상기 CSCI 제어 정보 및 상기 연결 제어 정보를 이용하여 상기 툴박스에 구비된 복수의 기능부들을 선택적으로 로드(load)하여 비트스트림을 동영상 데이터로 디코딩하는 디코딩 솔루션; 및A decoding solution that selectively loads a plurality of functional units included in the toolbox by using the CSCI control information and the connection control information to decode a bitstream into video data; And 입력된 디코더 디스크립션을 디코딩하여 디코더 디스크립션을 생성하고, 상기 디코더 디스크립션으로부터 분리한 복수의 부분 디코더 디스크립션들을 상기 디스크립션 저장부에 저장하는 디스크립션 디코더를 포함하되,A description decoder which decodes an input decoder description to generate a decoder description and stores a plurality of partial decoder descriptions separated from the decoder description in the description storage, 상기 디코딩 디스크립션은 하나 이상의 부분 디코더 디스크립션 영역들로 구성되고, 각 부분 디코더 디스크립션 영역에는 상응하는 부분 디코더 디스크립션을 생성 또는 인식하기 위한 정보가 삽입되고,The decoding description is composed of one or more partial decoder description regions, each partial decoder description region is inserted with information for generating or recognizing a corresponding partial decoder description, 상기 정보는 상기 비트스트림을 복호화하기 위한 코덱 번호(Codec No.), 프로파일 및 레벨 번호(Profile and level No.)에 상응하는 부분 디코더 디스크립션에 대한 지정 정보이고, The information is designation information for a partial decoder description corresponding to a codec number (Codec No.), a profile and a level number (Profile and level No.) for decoding the bitstream, 상기 디스크립션 디코더는 디스크립션 저장부에 미리 저장된 복수의 부분 디코더 디스크립션들 중 상기 지정 정보에 상응하는 n개의 테이블들을 선택하고,The description decoder selects n tables corresponding to the specified information among a plurality of partial decoder descriptions previously stored in the description storage unit, 상기 디스크립션 디코더는 상기 디코더 디스크립션이 수정 정보를 포함하는 경우, 상기 수정 정보에 상응하는 부분 디코더 디스크립션을 상기 수정 정보에 따라 수정하는 것을 특징으로 하는 복호화 장치.And when the decoder description includes modification information, the description decoder modifies a partial decoder description corresponding to the modification information according to the modification information. 삭제delete 제1항에 있어서,The method of claim 1, 상기 툴박스에는 상기 비트스트림의 syntax 파싱을 수행하는 하나 이상의 파싱 기능부와 상기 비트스트림의 디코딩 처리를 위한 복수의 디코딩 기능부들이 구비되는 것을 특징으로 하는 복호화 장치.And the toolbox includes at least one parsing function for parsing the syntax of the bitstream and a plurality of decoding functions for decoding the bitstream. 제1항에 있어서,The method of claim 1, 상기 디코더 형성부는,The decoder forming unit includes: 임의의 부분 디코더 디스크립션에 기술된 복수의 기능부들이 상기 툴박스에 구비되었는지 여부를 판단하는 FU 확인부; 및A FU checking unit for determining whether a plurality of functional units described in any partial decoder description are provided in the tool box; And 상기 부분 디코더 디스크립션들을 이용하여 상기 CSCI 제어 정보 및 연결 제어 정보를 생성하는 정보 가공부를 포함하는 복호화 장치.And an information processing unit for generating the CSCI control information and connection control information using the partial decoder descriptions. 제1항에 있어서,The method of claim 1, 상기 디코딩 솔루션은,The decoding solution, 상기 복수의 기능부 중 하나 이상의 기능부의 프로세스 수행에 의한 상기 비트스트림의 신택스 파싱(syntax parsing)에 의해 생성된 복수의 엘리먼트 정보가 저장되는 CSCI(Control Signal/Context Information) 저장부; 및A control signal / context information (CSCI) storage unit configured to store a plurality of element information generated by syntax parsing of the bitstream by performing a process of at least one of the plurality of functional units; And 상기 CSCI 제어 정보 및 상기 연결 제어 정보를 참조하여 복수의 기능부들에 대한 선택적 로드를 통해 각 기능부의 동작을 제어하는 연결 제어부를 포함하는 복 호화 장치.And a connection control unit for controlling the operation of each function unit through selective loading of a plurality of function units with reference to the CSCI control information and the connection control information. 제1항에 있어서,The method of claim 1, 상기 디코딩 솔루션은,The decoding solution, 상기 복수의 기능부 중 하나 이상의 기능부의 프로세스 수행에 의한 상기 비트스트림의 신택스 파싱(syntax parsing)에 의해 생성된 복수의 엘리먼트 정보가 저장되는 CSCI(Control Signal/Context Information) 저장부;A control signal / context information (CSCI) storage unit configured to store a plurality of element information generated by syntax parsing of the bitstream by performing a process of at least one of the plurality of functional units; 상기 CSCI 제어 정보에 따라 상기 비트스트림의 syntax 파싱을 수행하는 하나 이상의 파싱 기능부; 및At least one parsing function to parse syntax of the bitstream according to the CSCI control information; And 상기 연결 제어 정보를 참조하여 복수의 기능부들에 대한 선택적 로드를 통해 각 기능부의 동작을 제어하는 연결 제어부를 포함하되,Including a connection control unit for controlling the operation of each functional unit through the selective loading of a plurality of functional units with reference to the connection control information, 상기 툴박스에는 상기 비트스트림의 디코딩 처리를 위한 복수의 디코딩 기능부들이 구비되는 복호화 장치.The toolbox is provided with a plurality of decoding functions for decoding the bitstream decoding device. 제5항 또는 제6항에 있어서,The method according to claim 5 or 6, 상기 디코딩 솔루션은 하나 이상의 기능부가 로드되어 동작되도록 하기 위한 작업 메모리를 포함하는 것을 특징으로 하는 복호화 장치.And the decoding solution comprises a working memory for causing one or more functional units to be loaded and operated. 제1항에 있어서,The method of claim 1, 인코딩된 디코더 디스크립션과 상기 비트스트림이 통합된 통합 비트스트림으로 입력되는 경우, 인코딩된 디코더 디스크립션과 상기 비트스트림을 분리하여 출력하는 분리부를 더 포함하는 복호화 장치.And a separator for separating and outputting an encoded decoder description and the bitstream when the encoded decoder description and the bitstream are input as a unified integrated bitstream. 제1항에 있어서,The method of claim 1, 상기 부분 디코더 디스크립션들은 비트스트림 신택스(syntax)에 대한 정보 및 상기 비트스트림 신택스에 상응하는 엘리먼트 정보를 생성하기 위한 프로세스를 나타내는 SET(Syntax Element Table), 상기 비트스트림 신택스간의 연결 정보를 나타내는 S-RT(Syntax - Rule Table), 상기 엘리먼트 정보에 대한 상세 정보를 나타내는 CSCIT(Control Signal and Context Information Table), 복수의 기능부(FU)들의 순차적 선택을 위한 F-RT(FU-Rule Table), 상기 기능부들의 리스트를 나타내는 FL(FU List), 상기 선택된 기능부에 입력될 엘리먼트 정보를 나타내는 FU-CSCIT인 것을 특징으로 하는 복호화 장치.The partial decoder descriptions are a Syntax Element Table (SET) representing a process for generating information about bitstream syntax and element information corresponding to the bitstream syntax, and an S-RT indicating connection information between the bitstream syntax. (Syntax-Rule Table), CSCIT (Control Signal and Context Information Table) indicating detailed information on the element information, F-RT (Fu-Rule Table) for sequential selection of a plurality of functional units (FU), the function FL (FU List) indicating a list of parts and FU-CSCIT indicating element information to be input to the selected functional unit. 제9항에 있어서,10. The method of claim 9, 엔트로피 코딩(entropy coding)시의 실제 값과 코드값의 관계를 나타내는 DVT(Default Value Table)가 상기 부분 디코더 디스크립션에 더 포함하는 것을 특징으로 하는 복호화 장치.And a DVT (Default Value Table) indicating a relationship between actual values and code values during entropy coding in the partial decoder description. 제5항 또는 제6항에 있어서,The method according to claim 5 or 6, 상기 연결 제어부에 의해 로드된 기능부는 미리 지정된 엘리먼트 정보, 직전에 로드된 기능부에 의한 출력 데이터 중 하나 이상을 입력 데이터로 하는 미리 지정된 프로세스를 수행하는 것을 특징으로 하는 복호화 장치.And the functional unit loaded by the connection control unit performs a predetermined process using, as input data, at least one of predetermined element information and output data by the immediately loaded functional unit as input data. 제3항에 있어서,The method of claim 3, 상기 파싱 기능부는 상기 CSCI 제어 정보를 이용하여 엘리먼트 정보를 생성하는 것을 특징으로 하는 복호화 장치.And the parsing function unit generates element information using the CSCI control information. 삭제delete 삭제delete 제1항에 있어서,The method of claim 1, 하나 이상의 부분 디코더 디스크립션 영역들에 개별적으로 삽입되는 상기 정보는 각각의 부분 디코더 디스크립션을 구성하기 위한 바이너리 코드 정보를 포함하고,The information inserted separately into one or more partial decoder description regions includes binary code information for constructing each partial decoder description, 상기 디스크립션 디코더는 상기 바이너리 코드 정보를 이용하여 n개의 부분 디코더 디스크립션들을 생성하여 디스크립션 저장부에 저장하는 것을 특징으로 하는 복호화 장치.And the description decoder generates n partial decoder descriptions using the binary code information and stores the n partial decoder descriptions in the description storage unit. 제1항에 있어서,The method of claim 1, 복수의 부분 디코더 디스크립션 영역들 중 m(임의의 자연수)개의 부분 디코더 디스크립션 영역에는 상응하는 부분 디코더 디스크립션에 대한 코덱 번호(Codec No.)와 프로파일 및 레벨 번호(Profile and level No.)에 상응하는 지정 정보가 포함되고, k(n-m인 임의의 수)개의 부분 디코더 디스크립션 영역에는 상응하는 부분 디코더 디스크립션을 구성하기 위한 바이너리 코드 정보를 포함되며,M (arbitrary natural number) of the plurality of partial decoder description areas, the codec number (Codec No.) and the profile and level number (Profile and level No.) corresponding to the corresponding partial decoder description area designation. Information, and the k (any number being nm) partial decoder description region includes binary code information for constructing a corresponding partial decoder description, 상기 디스크립션 디코더는 상기 디스크립션 저장부에 미리 저장된 복수의 부분 디코더 디스크립션들 중 상기 지정 정보에 상응하는 m개의 부분 디코더 디스크립션들을 추출하고, 상기 바이너리 코드 정보를 이용하여 k개의 부분 디코더 디스크립션들을 생성하여 상기 디스크립션 저장부에 저장하는 것을 특징으로 하는 복호화 장치.The description decoder extracts m partial decoder descriptions corresponding to the designated information among a plurality of partial decoder descriptions previously stored in the description storage unit, and generates k partial decoder descriptions using the binary code information to generate the description. The decoding apparatus characterized in that stored in the storage unit. 제10항에 있어서,The method of claim 10, 상기 SET, 상기 CSCIT, 상기 S-RT 및 상기 DVT를 이용하여 상기 CSCI 제어 정보가 생성되고, 상기 FL, 상기 F-RT, 상기 FU-CSCIT 및 상기 CSCIT를 이용하여 상기 연결 제어 정보가 생성되는 것을 특징으로 하는 복호화 장치.The CSCI control information is generated using the SET, the CSCIT, the S-RT, and the DVT, and the connection control information is generated using the FL, the F-RT, the FU-CSCIT, and the CSCIT. Decoding apparatus characterized by. 삭제delete (a) 입력된 디코더 디스크립션에 상응하는 복수의 부분 디코더 디스크립션을 생성하여 저장하는 단계;(a) generating and storing a plurality of partial decoder descriptions corresponding to the input decoder description; 미리 저장된 복수의 부분 디코더 디스크립션들 중 코덱 번호(Codec No.), 프로파일 및 레벨 번호(Profile and level No.)에 상응하는 부분 디코더 디스크립션에 대한 지정 정보에 상응하는 n개의 테이블들을 선택하는 단계; Selecting n tables corresponding to designation information for a partial decoder description corresponding to a codec number, a profile and a level number, from among a plurality of previously stored partial decoder descriptions; 상기 디코더 디스크립션이 수정 정보를 포함하는 경우, 상기 수정 정보에 상응하는 부분 디코더 디스크립션을 상기 수정 정보에 따라 수정하는 단계;If the decoder description includes modification information, modifying the partial decoder description corresponding to the modification information according to the modification information; (b) 상기 부분 디코더 디스크립션들을 이용하여 CSCI 제어 정보 및 연결 제어 정보를 생성하는 단계;(b) generating CSCI control information and connection control information using the partial decoder descriptions; (c) 상기 CSCI 제어 정보를 이용하여 비트스트림의 신택스 파싱(syntax parsing)에 의해 생성된 복수의 엘리먼트 정보를 저장부에 저장하는 단계; 및(c) storing a plurality of element information generated by syntax parsing of a bitstream using the CSCI control information in a storage unit; And (d) 상기 연결 제어 정보 및 상기 엘리먼트 정보를 참조하여 툴박스에 저장된 기능부를 통해 상기 비트스트림의 인코딩된 비디오 데이터를 동영상 데이터로 디코딩하여 출력하는 단계를 포함하되,(d) decoding and outputting encoded video data of the bitstream into video data through a function unit stored in a toolbox by referring to the connection control information and the element information; 상기 디코딩 디스크립션은 하나 이상의 부분 디코더 디스크립션 영역들로 구성되고, 각 부분 디코더 디스크립션 영역에는 상응하는 부분 디코더 디스크립션을 생성 또는 인식하기 위한 상기 지정 정보가 삽입되는 것을 특징으로 하는 복호화 방법.Wherein said decoding description consists of one or more partial decoder description regions, wherein said specific information for generating or recognizing a corresponding partial decoder description is inserted in each partial decoder description region. 제19항에 있어서,20. The method of claim 19, 상기 단계 (c) 및 상기 단계 (d)는 상기 CSCI 제어 정보 또는 상기 연결 제어 정보를 참조하여 툴박스(Tool-Box)에 구비된 복수의 기능부들 중 선택적 로드한 기능부에 의해 각각 실행되는 것을 특징으로 하는 복호화 방법.The step (c) and the step (d) are each performed by a selectively loaded functional unit among a plurality of functional units provided in the toolbox by referring to the CSCI control information or the connection control information. Decryption method. 제20항에 있어서,21. The method of claim 20, 상기 단계 (d)는 상기 연결 제어부의 선택적 로드에 의해 동작 개시된 복수의 기능부들의 프로세스 수행에 따른 결과가 상기 동영상 데이터가 될 때까지 반복적으로 수행되는 것을 특징으로 하는 복호화 방법.The step (d) is repeatedly performed until the result of the process of the plurality of functional units started by the selective load of the connection control unit is the video data. 제21항에 있어서,22. The method of claim 21, 상기 기능부 각각의 미리 지정된 프로세스는 상기 비트스트림의 디코딩을 위해 복수의 표준들에 의해 제안된 기능들 각각을 독립적으로 수행하도록 구현된 것을 특징으로 하는 복호화 방법.A predetermined process of each of the functional units is implemented to independently perform each of the functions proposed by a plurality of standards for decoding the bitstream. 제20항에 있어서,21. The method of claim 20, 순차적으로 로드되는 복수의 기능부 중 선행하는 기능부의 결과 데이터는 후행하는 기능부에 의해 접근될 수 있는 버퍼 메모리에 기록되는 것을 특징으로 하는 복호화 방법.And the result data of the preceding functional unit among the plurality of functional units loaded sequentially is recorded in a buffer memory accessible by the subsequent functional unit. 제20항에 있어서,21. The method of claim 20, 상기 연결 제어부는 순차적으로 로드되는 복수의 기능부 중 선행하는 기능부의 결과 데이터를 후행하는 기능부의 입력 데이터로 제공하는 것을 특징으로 하는 복호화 방법.And the connection control unit provides the result data of the preceding functional unit among the plurality of sequentially loaded functional units as input data of the subsequent functional unit. 제19항에 있어서,20. The method of claim 19, 상기 부분 디코더 디스크립션들은 비트스트림 신택스(syntax)에 대한 정보 및 상기 비트스트림 신택스에 상응하는 엘리먼트 정보를 생성하기 위한 프로세스를 나타내는 SET(Syntax Element Table), 상기 비트스트림 신택스간의 연결 정보를 나타내는 S-RT(Syntax - Rule Table), 상기 엘리먼트 정보에 대한 상세 정보를 나타내는 CSCIT(Control Signal and Context Information Table), 상기 툴박스에 저장된 기능의 리스트를 나타내는 FL(FU List), 상기 툴박스에 저장된 기능부의 순차적 선택을 위한 F-RT(FU-Rule Table), 상기 선택된 기능부에 입력될 엘리먼트 정보를 나타내는 FU-CSCIT인 것을 특징으로 하는 복호화 방법.The partial decoder descriptions are a Syntax Element Table (SET) representing a process for generating information about bitstream syntax and element information corresponding to the bitstream syntax, and an S-RT indicating connection information between the bitstream syntax. (Syntax-Rule Table), CSCIT (Control Signal and Context Information Table) indicating detailed information about the element information, FL (FU List) indicating a list of functions stored in the toolbox, and sequential selection of the functional parts stored in the toolbox. And a FU-CSCIT indicating element information to be input to the selected functional unit. 제25항에 있어서,26. The method of claim 25, 상기 부분 디코더 디스크립션들에는 엔트로피 코딩(entropy coding)시의 실 제 값과 코드값의 관계를 나타내는 DVT(Default Value Table)가 더 포함되는 것을 특징으로 하는 복호화 방법.The partial decoder description further includes a default value table (DVT) indicating a relationship between an actual value and a code value during entropy coding. 제26항에 있어서,27. The method of claim 26, 상기 SET, 상기 CSCIT, 상기 S-RT 및 상기 DVT를 이용하여 상기 CSCI 제어 정보가 생성되고, 상기 FL, 상기 F-RT, 상기 FU-CSCIT 및 상기 CSCIT를 이용하여 상기 연결 제어 정보가 생성되는 것을 특징으로 하는 복호화 방법.The CSCI control information is generated using the SET, the CSCIT, the S-RT, and the DVT, and the connection control information is generated using the FL, the F-RT, the FU-CSCIT, and the CSCIT. A decoding method characterized by the above-mentioned. 제19항에 있어서,20. The method of claim 19, 상기 디코더 디스크립션은 독립된 데이터 또는 비트스트림 형태로 입력되는 것을 특징으로 하는 복호화 방법.And the decoder description is input in the form of independent data or bitstream. 제19항에 있어서,20. The method of claim 19, 상기 디코더 디스크립션은 상기 비트스트림과 통합된 통합 비트스트림의 형태로 입력되는 것을 특징으로 하는 복호화 방법.And the decoder description is input in the form of an integrated bitstream integrated with the bitstream. 복호화 방법을 수행하기 위해 복호화 장치에서 실행될 수 있는 명령어들의 프로그램이 유형적으로 구현되어 있으며, 상기 복호화 장치에 의해 판독될 수 있는 컴퓨터 실행 가능한 프로그램이 기록된 기록 매체에 있어서,In a recording medium in which a program of instructions that can be executed in a decoding apparatus is tangibly implemented to perform a decoding method, and a computer executable program that can be read by the decoding apparatus is recorded. (a) 입력된 디코더 디스크립션에 상응하는 복수의 부분 디코더 디스크립션을 생성하여 저장하는 단계;(a) generating and storing a plurality of partial decoder descriptions corresponding to the input decoder description; 미리 저장된 복수의 부분 디코더 디스크립션들 중 코덱 번호(Codec No.), 프로파일 및 레벨 번호(Profile and level No.)에 상응하는 부분 디코더 디스크립션에 대한 지정 정보에 상응하는 n개의 테이블들을 선택하는 단계; Selecting n tables corresponding to designation information for a partial decoder description corresponding to a codec number, a profile and a level number, from among a plurality of previously stored partial decoder descriptions; 상기 디코더 디스크립션이 수정 정보를 포함하는 경우 상기 수정 정보에 상응하는 부분 디코더 디스크립션을 상기 수정 정보에 따라 수정하는 단계;If the decoder description includes modification information, modifying the partial decoder description corresponding to the modification information according to the modification information; (b) 상기 부분 디코더 디스크립션들을 이용하여 CSCI 제어 정보 및 연결 제어 정보를 생성하는 단계;(b) generating CSCI control information and connection control information using the partial decoder descriptions; (c) 상기 CSCI 제어 정보를 이용하여 비트스트림의 신택스 파싱(syntax parsing)에 의해 생성된 복수의 엘리먼트 정보를 저장부에 저장하는 단계; 및(c) storing a plurality of element information generated by syntax parsing of a bitstream using the CSCI control information in a storage unit; And (d) 상기 연결 제어 정보 및 상기 엘리먼트 정보를 이용하여 툴박스에 저장된 기능부를 통해 상기 비트스트림의 인코딩된 비디오 데이터를 동영상 데이터로 디코딩하여 출력하는 단계를 포함하되,(d) decoding and outputting encoded video data of the bitstream into moving image data through a function unit stored in a toolbox using the connection control information and the element information. 상기 디코딩 디스크립션은 하나 이상의 부분 디코더 디스크립션 영역들로 구성되고, 각 부분 디코더 디스크립션 영역에는 상응하는 부분 디코더 디스크립션을 생성 또는 인식하기 위한 상기 지정 정보가 삽입되는 것을 특징으로 하는 컴퓨터 실행 가능한 프로그램을 기록한 기록매체.The decoding description is composed of one or more partial decoder description areas, and each of the partial decoder description areas contains the specified information for generating or recognizing a corresponding partial decoder description. . 삭제delete
KR1020070033489A 2007-04-04 2007-04-04 Bitstream decoding device and method having decoding solution KR101305517B1 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
KR1020070033489A KR101305517B1 (en) 2007-04-04 2007-04-04 Bitstream decoding device and method having decoding solution
CN2008800187595A CN101743748B (en) 2007-04-04 2008-04-04 Bitstream decoding device and method having decoding solution
PCT/KR2008/001927 WO2008123709A1 (en) 2007-04-04 2008-04-04 Bitstream decoding device and method having decoding solution
US12/594,551 US20100208829A1 (en) 2007-04-04 2008-04-04 Bitstream decoding device and method having decoding solution

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020070033489A KR101305517B1 (en) 2007-04-04 2007-04-04 Bitstream decoding device and method having decoding solution

Publications (2)

Publication Number Publication Date
KR20080090227A KR20080090227A (en) 2008-10-08
KR101305517B1 true KR101305517B1 (en) 2013-09-17

Family

ID=40151596

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070033489A KR101305517B1 (en) 2007-04-04 2007-04-04 Bitstream decoding device and method having decoding solution

Country Status (1)

Country Link
KR (1) KR101305517B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101477218B1 (en) * 2008-10-10 2015-01-02 한양대학교 산학협력단 Device and Method for encoding/decoding

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040063597A (en) * 2003-01-08 2004-07-14 엘지전자 주식회사 Video Decoder Supporting plural video codec and thereof motions Method
KR20070017286A (en) * 2006-12-27 2007-02-09 주식회사 휴맥스 Device and Method for encoding/decoding video data

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040063597A (en) * 2003-01-08 2004-07-14 엘지전자 주식회사 Video Decoder Supporting plural video codec and thereof motions Method
KR20070017286A (en) * 2006-12-27 2007-02-09 주식회사 휴맥스 Device and Method for encoding/decoding video data

Also Published As

Publication number Publication date
KR20080090227A (en) 2008-10-08

Similar Documents

Publication Publication Date Title
KR101305491B1 (en) Bitstream decoding device and method
KR101232780B1 (en) Device and Method for unified codecs
US20090103631A1 (en) Device and method for unified codes
US20110044410A1 (en) Device and method for encoding/decoding
KR101372418B1 (en) Bitstream decoding device and method
KR101305514B1 (en) Bitstream decoding device and method
US20100208829A1 (en) Bitstream decoding device and method having decoding solution
KR100970145B1 (en) Device and Method for encoding/decoding
US9031136B2 (en) Device and method for encoding/decoding
KR101380825B1 (en) Bitstream decoding device and method having decoding solution
KR101305517B1 (en) Bitstream decoding device and method having decoding solution
KR100807100B1 (en) Device and Method for unified codecs
KR100767606B1 (en) Device and Method for unified codecs
KR20100115238A (en) Device and method for codec design
KR20090002508A (en) Device and method for encoding/decoding video data
KR20100040625A (en) Device and method for encoding/decoding
US8565320B2 (en) Device and method for encoding/decoding video data
KR20080006430A (en) Device and method for unified codecs
KR101305516B1 (en) Bitstream decoding device and method having decoding solution
KR101305513B1 (en) Device and Method for encoding/decoding Video data
KR20090002507A (en) Device and method for encoding/decoding video data
KR20070098459A (en) Device and method for unified codecs
KR20070075270A (en) Device and method for unified codecs

Legal Events

Date Code Title Description
N231 Notification of change of applicant
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee