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

Bitstream decoding device and method having decoding solution Download PDF

Info

Publication number
KR20080090231A
KR20080090231A KR1020070033495A KR20070033495A KR20080090231A KR 20080090231 A KR20080090231 A KR 20080090231A KR 1020070033495 A KR1020070033495 A KR 1020070033495A KR 20070033495 A KR20070033495 A KR 20070033495A KR 20080090231 A KR20080090231 A KR 20080090231A
Authority
KR
South Korea
Prior art keywords
information
decoding
description
decoder
bitstream
Prior art date
Application number
KR1020070033495A
Other languages
Korean (ko)
Other versions
KR101380825B1 (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 KR1020070033495A priority Critical patent/KR101380825B1/en
Priority to PCT/KR2008/001928 priority patent/WO2008123710A1/en
Publication of KR20080090231A publication Critical patent/KR20080090231A/en
Application granted granted Critical
Publication of KR101380825B1 publication Critical patent/KR101380825B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8543Content authoring using a description language, e.g. Multimedia and Hypermedia information coding Expert Group [MHEG], eXtensible Markup Language [XML]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/235Processing of additional data, e.g. scrambling of additional data or processing content descriptors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8166Monomedia components thereof involving executable data, e.g. software
    • H04N21/8193Monomedia components thereof involving executable data, e.g. software dedicated tools, e.g. video decoder software or IPMP tool

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

A bitstream decoding apparatus having a decoding solution and a bitstream decoding method are provided to manage scheduling of each CODEC and organically process functional units using decoder description and allow components used to decode bitstreams to use analyzed syntax element information. A bitstream decoding apparatus includes a decoder forming unit(420), a tool-box(415), a decoding solution(430), and a description decoder(405). The decoder forming unit generates CSCI(Control Signal/Context Information) control information and connection control information using partial decoder descriptions stored in a description storage unit. The tool-box includes multiple functional units which respectively execute predetermined processes. The decoding solution loads the functional units based on hierarchy using the CSCI control information and the connection control information to decode bitstreams into moving image data. The description decoder decodes encoded decode description inputted thereto to generate decoder description and stores a plurality of partial decoder descriptions separated from the decoder description in the description storage unit.

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

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

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

도 7은 본 발명의 일 실시예에 따른 syntax 파싱을 위한 기능부들의 종류를 예시한 도면.7 is a diagram illustrating types of functional units for syntax parsing according to an embodiment of the present invention.

도 8은 본 발명의 일 실시예에 따른 디코딩 처리를 수행하는 기능부들의 종류를 예시한 도면. 8 illustrates types of functional units for performing decoding processing according to an embodiment of the present invention.

도 9는 본 발명의 일 실시예에 따른 DHT(Decoding Hierarchy Table)에 의해 규정되는 계층 구조를 예시한 도면.FIG. 9 illustrates a hierarchical structure defined by a decoding hierarchy table (DHT) according to an embodiment of the present invention. FIG.

도 10은 본 발명의 일 실시예에 따른 S-RT(Syntax Rule Table)에 의해 규정되는 계층간 호출 구조 및 계층내 연결 구조를 예시한 도면.FIG. 10 illustrates an inter-layer calling structure and an intra-layer connection structure defined by a Syntax Rule Table (S-RT) according to an embodiment of the present invention. FIG.

도 11은 본 발명의 일 실시예에 따른 복수 표준에 적용되는 기능부를 위한 인터페이스 세트를 설명하기 위한 도면. FIG. 11 is a diagram for explaining an interface set for a functional unit applied to a plurality of standards according to an embodiment of the present invention. FIG.

도 12는 본 발명의 일 실시예에 따른 각 계층별 노드들간의 전용 버퍼 공간의 연결 구조를 나타낸 도면.12 is a diagram illustrating a connection structure of dedicated buffer spaces between nodes of each layer according to an embodiment of the present invention.

도 13은 본 발명의 일 실시예에 따른 CSCI 데이터의 저장을 위한 전용 버퍼 공간의 포함 관계를 나타낸 도면.FIG. 13 is a view illustrating a inclusion relationship of a dedicated buffer space for storing CSCI data according to an embodiment of the present invention. FIG.

도 14는 본 발명의 일 실시예에 따른 기능부에 의한 출력 데이터의 저장을 위한 전용 버퍼 공간의 포함 관계를 나타낸 도면.FIG. 14 is a view illustrating a inclusion relationship of a dedicated buffer space for storing output data by a functional unit according to an embodiment of the present invention; FIG.

도 15는 본 발명의 일 실시예에 따른 syntax 파싱 및 데이터 디코딩의 병렬 처리를 개념적으로 나타낸 도면.FIG. 15 conceptually illustrates parallel processing of syntax parsing and data decoding according to an embodiment of the present invention. FIG.

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

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

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

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

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

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

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

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

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

본 발명은 동영상 데이터의 인코딩/디코딩에 관한 것으로서, 보다 상세하게는 디코딩 솔루션을 구비한 비트스트림 디코딩 장치 및 방법에 관한 것이다.The present invention relates to encoding / decoding of video data, and more particularly, to a bitstream decoding apparatus and method 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, semantics indicates 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 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.) It is an object of the present invention to provide a bitstream decoding method and apparatus capable of decoding a bitstream in the same information recognition scheme.

본 발명은 각 표준에 따른 다양한 형식(syntax, semantics)으로 부호화된 비트스트림을 동일한 정보 인식 방식으로 복호화(decoding)할 수 있도록 디코더 디스크립션(Decoder Description)을 부가한 확장 비트스트림을 생성하거나 비트스트림과 디코더 디스크립션을 독립적으로 생성하는 비트스트림 인코딩 방법 및 장치를 제공하기 위한 것이다.According to the present invention, an extended bitstream including a decoder description or a decoder description can be generated to decode a bitstream encoded in various formats (syntax, semantics) according to each standard in the same information recognition method. It is an object of the present invention to provide a bitstream encoding method and apparatus for independently generating a decoder description.

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

본 발명은 코덱이 가진 계층 구조를 syntax 파싱 및 디코딩 과정에 응용함으로써 보다 효율적으로 디코더 디스크립션을 기술할 수 있도록 하는 비트스트림 인코딩 방법 및 장치를 제공하기 위한 것이다.An object of the present invention is to provide a method and apparatus for encoding a bitstream, by which a decoder description can be described more efficiently by applying a hierarchical structure of a codec to a syntax parsing and decoding process.

본 발명은 디코더 디스크립션을 이용하여 각 코덱의 스케쥴링(scheduling) 관리와 각 기능부들의 유기적 처리 구조(예를 들어, 병렬 결합 구조, 직렬 병합 구조, 독립 처리 구조, 개별적 처리 구조 등)를 제시할 수 있는 비트스트림 디코딩 방법 및 장치를 제공하기 위한 것이다.The present invention can propose scheduling management of each codec and organic processing structures (eg, parallel combining structure, serial merging structure, independent processing structure, individual processing structure, etc.) by using the decoder description. To provide a bitstream decoding method and apparatus.

본 발명은 기술된 디코더 디스크립션이나 계층 정보만으로 다양한 시스템 설계 및 구축이 가능한 비트스트림 인코딩 방법 및 장치를 제공하기 위한 것이다.The present invention is to provide a method and apparatus for encoding a bitstream capable of designing and constructing various systems using only the described decoder description or layer information.

본 발명은 다양한 형태의 비트스트림을 복호화하기 위한 syntax 해석 방법을 공통적으로 적용할 수 있는 비트스트림 인코딩/디코딩 방법 및 장치를 제공하기 위한 것이다.The present invention provides a method and apparatus for encoding / decoding a bitstream to which a syntax interpretation method for decoding various types of bitstreams can be commonly applied.

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

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

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

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

본 발명은 여러 표준(코덱)에서 제안하는 다양한 디코딩 과정에 포함된 기능들을 각기 기능부(FU, Functional Unit)대로 분할하여 툴박스(Tool-Box)에 구비하는 비트스트림 디코딩 방법 및 장치를 제공하기 위한 것이다.The present invention divides functions included in various decoding processes proposed by various standards (codecs) into functional units (FUs), and provides a bitstream decoding method and apparatus provided in a tool box. will be.

본 발명은 다양한 형태로 부호화된 비트스트림을 복호화하기 위해 툴박스에서 필요한 기능부들만을 선별적으로 이용하는 비트스트림 디코딩 방법 및 장치를 제공하기 위한 것이다.An object of the present invention is to provide a method and apparatus for decoding a bitstream selectively using only functional units required by a toolbox to decode a bitstream encoded in various forms.

본 발명은 툴박스에 저장된 기능부의 변경이나 추가, 삭제가 용이한 비트스트림 디코딩 방법 및 장치를 제공하기 위한 것이다.The present invention is to provide a method and apparatus for decoding a bitstream that is easy to change, add, or delete a functional part stored in a toolbox.

또한, 본 발명은 비트스트림 복호화를 위한 코덱 통합, 비트스트림이 동일한 정보 분석 방법에 의해 처리되도록 하기 위한 디코더 디스크립션의 생성 및 확장 비트스트림의 구현에 대한 국제 표준화를 달성하기 위한 것이며, 그 외의 다른 본 발명의 목적들은 이하에 서술되는 실시예를 통하여 보다 명확해질 것이다.The present invention also aims to achieve international standardization of codec integration for bitstream decoding, generation of decoder descriptions for allowing bitstreams to be processed by the same information analysis method, and implementation of extended bitstreams. The objects of the invention will become more apparent through the embodiments described below.

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

본 발명의 일 실시예에 따른 복호화 장치는, 디스크립션 저장부에 저장된 부분 디코더 디스크립션들(partial decoder descriptions)을 이용하여 CSCI 제어 정보 및 연결 제어 정보를 생성하여 출력하는 디코더 형성부; 미리 설정된 프로세스를 각각 수행하도록 구현된 복수의 기능부를 포함하는 툴박스(Tool-Box); 및 상기 syntax 파싱 제어 정보 및 상기 연결 제어 정보를 이용하여 상기 툴박스에 구비된 복수의 기능부들을 계층 단위로 로드(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 loads a plurality of functional units included in the toolbox in units of layers by using the syntax parsing 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 syntax of the bitstream and a plurality of decoding functions for decoding the bitstream.

상기 디코더 형성부는, 임의의 부분 디코더 디스크립션에 기술된 복수의 기능부들이 상기 툴박스에 구비되었는지 여부를 판단하는 FU 확인부; 및 상기 부분 디코더 디스크립션들을 이용하여 상기 syntax 파싱 제어 정보 및 연결 제어 정보를 생성하는 정보 가공부를 포함할 수 있다.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 for generating the syntax parsing control information and the connection control information using the partial decoder descriptions.

상기 디코딩 솔루션은, 상기 복수의 기능부 중 하나 이상의 기능부의 프로세스 수행에 의한 상기 비트스트림의 신택스 파싱(syntax parsing)에 의해 생성된 복수의 엘리먼트 정보가 저장되는 CSCI(Control Signal/Context Information) 저장부; 및 상기 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. ; And a connection controller configured to control an operation of each functional unit through selective loading of a plurality of functional units by referring to the syntax parsing control information and the connection control information.

상기 디코딩 솔루션은, 상기 복수의 기능부 중 하나 이상의 기능부의 프로세스 수행에 의한 상기 비트스트림의 신택스 파싱(syntax parsing)에 의해 생성된 복수의 엘리먼트 정보가 저장되는 CSCI(Control Signal/Context Information) 저장부; 상기 syntax 파싱 제어 정보에 따라 상기 비트스트림의 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 for parsing the bitstream according to the syntax parsing 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.

상기 인코딩된 디코더 디스크립션과 상기 비트스트림이 통합된 통합 비트스트림으로 입력되는 경우, 상기 복호화 장치는 상기 인코딩된 디코더 디스크립션과 상기 비트스트림을 분리하여 출력하는 분리부를 더 포함할 수 있다.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 sequentially loads a plurality of functional units performing a process according to a plurality of standards with reference to the connection control information to generate and output the video data. can do.

상기 연결 제어 정보는 기능부들의 계층에 관한 정보를 포함하고, 상기 디코딩 솔루션은 상기 정보를 참조하여 하나 이상의 기능부들에 대한 계층간 호출을 수행할 수 있다.The connection control information includes information about a layer of functional units, and the decoding solution may make an inter-layer call to one or more functional units with reference to the information.

상기 디코딩 솔루션은 최상위 계층에 대한 오브젝트 생성 및 실행을 제어하고, 상기 오브젝트 실행에 의해 최상위 계층에 포함된 기능부들 및 상기 계층 정보에 의해 지정된 계층의 호출을 위한 호출부가 로드될 수 있다.The decoding solution controls object generation and execution for the top layer, and the caller for the function part included in the top layer by the object execution and the call of the layer designated by the layer information can be loaded.

상기 호출부는 상응하도록 지정된 계층에 속하는 하나 이상의 기능부들이 미리 지정된 프로세스 수행을 위해 필요한 처리 데이터가 저장부에 저장되면 상응하 는 계층을 로드할 수 있다.The caller may load the corresponding layer if one or more functional units belonging to the correspondingly designated layer are stored in the storage unit to process data necessary for performing a predetermined process.

로드된 기능부는 지정된 프로세스의 수행을 위한 처리 데이터가 상기 저장부에 저장되면 처리를 개시할 수 있다.The loaded functional unit may start processing when processing data for performing a designated process is stored in the storage unit.

각 기능부들의 프로세스 수행에 의한 결과 데이터는 상기 저장부에 저장될 수 있다.Result data by the process of each functional unit can be stored in the storage unit.

상기 계층에 관한 정보에 의해 인식되는 계층 구조는 시퀀스 층, GOP 층, 픽쳐 층, 슬라이스 층, 매크로블록 층, 블록 층 중 하나 이상의 층들로 구성되며, 하위 계층이 상위 계층에 의해 호출될 수 있다.The hierarchical structure recognized by the information about the layer is composed of one or more layers of a sequence layer, a GOP layer, a picture layer, a slice layer, a macroblock layer, a block layer, and a lower layer may be called by an upper layer.

상기 저장부 내에 디코딩 기능부 각각을 위한 전용 저장 공간이 할당될 수 있다.Dedicated storage space for each of the decoding functions may be allocated in the storage.

상기 저장부는, 상기 파싱 기능부에 의해 생성된 CSCI 정보(Control Signal/Context Information)가 저장되는 CSCI 저장부; 및 상기 파싱 기능부에 의해 생성된 상기 인코딩된 비디오 데이터에 상응하는 데이터, 상기 디코딩 기능부에 처리된 처리 데이터 중 하나 이상인 디코딩 처리를 위한 데이터가 저장되는 데이터 저장부를 포함할 수 있다.The storage unit may include a CSCI storage unit for storing CSCI information (Control Signal / Context Information) generated by the parsing function unit; And a data storage unit for storing data corresponding to the encoded video data generated by the parsing unit and data for decoding processing, which is one or more of processing data processed by the decoding unit.

상기 디스크립션 저장부에 저장되는 부분 디코더 디스크립션들은, 인코딩된 비디오 데이터의 디코딩을 위한 계층 구조와 각 계층별 하위 계층에 관한 정보를 나타내는 DHT(Decoding Hierarchy Table); 비트스트림 신택스(syntax)에 대한 정보 및 상기 비트스트림 신택스에 상응하는 엘리먼트 정보를 생성하기 위한 프로세스를 나타내는 SET(Syntax Element Table); 상기 비트스트림 신택스간의 연결 정보, 각 계층별 호출할 하위 계층에 관한 정보 및 상기 SET의 프로세스 수행에 의해 생성된 결과 데이터가 저장될 CSCI 정보의 명칭을 지정하는 S-RT(Syntax Rule Table); 계층 구조별 CSCI 정보에 대한 상세 정보를 나타내는 CSCIT(Control Signal and Context Information Table); 상기 계층 구조에 기반하여 복수의 디코딩 기능부들간의 호출 또는 활성화 순서를 나타내는 F-RT(FU Rule Table); 상기 디코딩 기능부들의 리스트를 나타내는 FL(FU List); 및 상기 디코딩 기능부가 프로세스 수행을 위해 필요한 CSCI 정보를 나타내는 FU-CSCIT일 수 있다. 엔트로피 코딩(entropy coding)시의 실제 값과 코드값의 관계를 나타내는 DVT(Default Value Table)가 부분 디코더 디스크립션으로 상기 디스크립션 저장부에 더 저장될 수 있다.The partial decoder descriptions stored in the description storage unit may include: a Decoding Hierarchy Table (DHT) indicating a hierarchical structure for decoding encoded video data and information on a lower layer of each layer; A Syntax Element Table (SET) indicating a process for generating information on bitstream syntax and element information corresponding to the bitstream syntax; A Syntax Rule Table (S-RT) that specifies the name of the connection information between the bitstream syntaxes, information on lower layers to be called for each layer, and CSCI information to store result data generated by the process of the SET; Control Signal and Context Information Table (CSCIT) indicating detailed information on CSCI information for each hierarchical structure; An FU Rule Table (F-RT) indicating a call or activation order among a plurality of decoding functions based on the hierarchical structure; FL (FU List) representing the list of decoding functions; And the FU-CSCIT indicating the CSCI information necessary for performing the process by the decoding function unit. A DVT (Default Value Table) indicating a relationship between actual values and code values during entropy coding may be further stored in the description storage unit as a partial decoder description.

상기 SET, 상기 S-RT, 상기 DHT, 상기 CSCIT 및 상기 DVT 중 하나 이상을 참조하여 상기 syntax 파싱 제어 정보가 생성될 수 있다.The syntax parsing control information may be generated with reference to one or more of the SET, the S-RT, the DHT, the CSCIT, and the DVT.

상기 FL, 상기 F-RT, 상기 DHT 및 상기 FU-CSCIT 중 하나 이상을 참조하여 상기 연결 제어 정보가 생성될 수 있다.The connection control information may be generated with reference to one or more of the FL, the F-RT, the DHT, and the FU-CSCIT.

상기 디코더 디스크립션은 하나 이상의 구분 영역으로 구성되고, 각 구분 영역에는 상기 부분 디코더 디스크립션을 구성하기 위한 정보가 삽입될 수 있다.The decoder description may consist of one or more division regions, and information for configuring the partial decoder description may be inserted into each division region.

상기 부분 디코더 디스크립션은 상기 비트스트림을 복호화하기 위한 코덱 번호(Codec No.), 프로파일 및 레벨 번호(Profile and level No.)에 상응하는 지정 정보를 포함하고, 상기 디스크립션 디코더는 상기 디스크립션 저장부에 미리 저장된 복수의 부분 디코더 디스크립션들 중 상기 지정 정보에 상응하는 n개의 테이블들을 추출할 수 있다.The partial decoder description includes designation information 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 extracted.

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

상술한 목적을 달성하기 위하여 본 발명의 다른 측면에 따르면, 다양한 표준에 범용적으로 이용될 수 있는 복호화 방법 및/또는 그 방법의 실행을 위한 프로그램이 기록된 기록매체가 제공된다.According to another aspect of the present invention for achieving the above object, there is provided a decoding 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) refer to the CSCI control information or the connection control information by the connection control unit loaded in a hierarchical unit among a plurality of functional units provided in the tool box (Tool-Box) Can be executed respectively.

상기 단계 (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 in hierarchical units may be recorded in 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.

상기 디스크립션 저장부에 저장되는 부분 디코더 디스크립션들은, 인코딩된 비디오 데이터의 디코딩을 위한 계층 구조와 각 계층별 하위 계층에 관한 정보를 나타내는 DHT(Decoding Hierarchy Table); 비트스트림 신택스(syntax)에 대한 정보 및 상기 비트스트림 신택스에 상응하는 엘리먼트 정보를 생성하기 위한 프로세스를 나타내는 SET(Syntax Element Table); 상기 비트스트림 신택스간의 연결 정보, 각 계층별 호출할 하위 계층에 관한 정보 및 상기 SET의 프로세스 수행에 의해 생성된 결과 데이터가 저장될 CSCI 정보의 명칭을 지정하는 S-RT(Syntax Rule Table); 계층 구조별 CSCI 정보에 대한 상세 정보를 나타내는 CSCIT(Control Signal and Context Information Table); 상기 계층 구조에 기반하여 복수의 디코딩 기능부들간의 호출 또는 활성화 순서를 나타내는 F-RT(FU Rule Table); 상기 디코딩 기능부들의 리스트를 나타내는 FL(FU List); 및 상기 디코딩 기능부가 프로세스 수행을 위해 필요한 CSCI 정보를 나타내는 FU-CSCIT일 수 있다. 엔트로피 코딩(entropy coding)시의 실제 값과 코드값의 관계를 나타내는 DVT(Default Value Table)가 부분 디코더 디스크립션으로 상기 디스크립션 저장부에 더 저장될 수 있다.The partial decoder descriptions stored in the description storage unit may include: a Decoding Hierarchy Table (DHT) indicating a hierarchical structure for decoding encoded video data and information on a lower layer of each layer; A Syntax Element Table (SET) indicating a process for generating information on bitstream syntax and element information corresponding to the bitstream syntax; A Syntax Rule Table (S-RT) that specifies the name of the connection information between the bitstream syntaxes, information on lower layers to be called for each layer, and CSCI information to store result data generated by the process of the SET; Control Signal and Context Information Table (CSCIT) indicating detailed information on CSCI information for each hierarchical structure; An FU Rule Table (F-RT) indicating a call or activation order among a plurality of decoding functions based on the hierarchical structure; FL (FU List) representing the list of decoding functions; And the FU-CSCIT indicating the CSCI information necessary for performing the process by the decoding function unit. A DVT (Default Value Table) indicating a relationship between actual values and code values during entropy coding may be further stored in the description storage unit as a partial decoder description.

본 발명의 다른 실시예에 따르면, 복호화 방법을 수행하기 위해 복호화 장치에서 실행될 수 있는 명령어들의 프로그램이 유형적으로 구현되어 있으며, 상기 복호화 장치에 의해 판독될 수 있는 프로그램이 기록된 기록 매체에 있어서, 입력된 디코더 디스크립션에 상응하는 복수의 부분 디코더 디스크립션을 생성하여 저장하는 단계; 상기 부분 디코더 디스크립션들을 이용하여 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.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발 명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. As the invention allows for various changes and numerous embodiments, particular embodiments will be illustrated in the drawings and described in detail in the written description. However, this is not intended to limit the present invention to specific embodiments, it should be understood to include all modifications, equivalents, and substitutes included in the spirit and scope of the present invention.

제1, 제2 등과 같이 서수를 포함하는 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되지는 않는다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다. "및/또는" 이라는 용어는 복수의 관련된 기재된 항목들의 조합 또는 복수의 관련된 기재된 항목들 중의 어느 항목을 포함한다. Terms including ordinal numbers such as first and second may be used to describe various components, but the components are not limited by the 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 the second component, and similarly, the second component may also be referred to as the first component. The term “and / or” includes any combination of a plurality of related items or any item of a plurality of related 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 a component is said to be "directly connected" or "directly connected" to another component, it should be understood that there is no other component 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 this application, the terms "comprise" or "have" are intended to indicate that there is a feature, number, step, operation, component, part, or combination thereof described in the specification, and one or more other features. It is to be understood that the present invention does not exclude the possibility of the presence or the addition of numbers, steps, operations, components, components, or a combination thereof.

다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥 상 가지는 의미와 일치하는 의미를 가지는 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.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. Terms such as those defined in the commonly used dictionaries should be construed as having meanings consistent with the meanings in the context of the related art and shall not be construed in ideal or excessively formal meanings unless expressly defined in this application. Do not.

이하, 첨부한 도면들을 참조하여 본 발명에 따른 통합 코덱 방법 및 장치의 실시예를 상세히 설명하기로 하며, 첨부 도면을 참조하여 설명함에 있어 도면 부호에 상관없이 동일하거나 대응하는 구성 요소는 동일한 참조번호를 부여하고 이에 대한 중복되는 설명은 생략할 수 있다.Hereinafter, embodiments of an 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 denoted by the same reference numerals. And duplicate description 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). Obviously, the configuration of the decoder 100 may be different according to the applicable 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 pre-stored 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 generates a video object plane (VOP) by obtaining an actual video pixel value by performing an inverse discrete cosine transform.

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

도 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는 본 발명의 일 실시예에 따른 디코딩 처리 유닛의 구성을 개략적으로 나타낸 도면이고, 도 5는 본 발명의 다른 실시예에 따른 디코딩 처리 유닛의 구성을 개략적으로 나타낸 도면이다. 도 6은 본 발명의 일 실시예에 따른 확장 비트스트림(Extended bit-stream)의 구성을 간략히 나타낸 도면이고, 도 7은 본 발명의 일 실시예에 따른 syntax 파싱을 위한 기능부들의 종류를 예시한 도면이며, 도 8은 본 발명의 일 실시예에 따른 디코딩 처리를 수행하는 기능부들의 종류를 예시한 도 면이다. 도 9는 본 발명의 일 실시예에 따른 DHT(Decoding Hierarchy Table)에 의해 규정되는 계층 구조를 예시한 도면이고, 도 10은 본 발명의 일 실시예에 따른 S-RT(Syntax Rule Table)에 의해 규정되는 계층간 호출 구조 및 계층내 연결 구조를 예시한 도면이며, 도 11은 본 발명의 일 실시예에 따른 복수 표준에 적용되는 기능부를 위한 인터페이스 세트를 설명하기 위한 도면이다. 도 12는 본 발명의 일 실시예에 따른 각 계층별 노드들간의 전용 버퍼 공간의 연결 구조를 나타낸 도면이고, 도 13은 본 발명의 일 실시예에 따른 CSCI 데이터의 저장을 위한 전용 버퍼 공간의 포함 관계를 나타낸 도면이며, 도 14는 본 발명의 일 실시예에 따른 기능부에 의한 출력 데이터의 저장을 위한 전용 버퍼 공간의 포함 관계를 나타낸 도면이고, 도 15는 본 발명의 일 실시예에 따른 syntax 파싱 및 데이터 디코딩의 병렬 처리를 개념적으로 나타낸 도면이다.3 is a diagram schematically showing a configuration of a decoder according to an embodiment of the present invention, FIG. 4 is a diagram schematically showing a configuration of a decoding processing unit according to an embodiment of the present invention, and FIG. 5 is a diagram of the present invention. 2 is a diagram schematically illustrating a configuration of a decoding processing unit according to another embodiment. FIG. 6 is a diagram schematically illustrating a configuration of an extended bit-stream according to an embodiment of the present invention, and FIG. 7 illustrates types of functional units for syntax parsing according to an embodiment of the present invention. 8 is a diagram illustrating types of functional units for performing decoding processing according to an embodiment of the present invention. FIG. 9 is a diagram illustrating a hierarchical structure defined by a decoding hierarchy table (DHT) according to an embodiment of the present invention, and FIG. 10 is a syntax rule table (S-RT) according to an embodiment of the present invention. FIG. 11 is a diagram illustrating a defined inter-layer calling structure and an intra-layer connection structure, and FIG. 11 is a view for explaining an interface set for a functional unit applied to a plurality of standards according to an embodiment of the present invention. 12 is a diagram illustrating a connection structure of dedicated buffer spaces between nodes of each layer according to an embodiment of the present invention, and FIG. 13 includes a dedicated buffer space for storing CSCI data according to an embodiment of the present invention. FIG. 14 is a diagram illustrating a relation of inclusion of a dedicated buffer space for storing output data by a functional unit according to an embodiment of the present invention, and FIG. 15 is a syntax according to an embodiment of the present invention. A conceptual diagram illustrating parallel processing of parsing and data decoding.

도 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 separates the input extended bitstream 305 into an encoded decoder description 313 and a general bitstream 316 (hereinafter referred to as a conventional bitstream). 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)의 일 예가 도 6에 예시되어 있다. 도 6을 참조하면, 확장 비트스트림(305)은 디코더 디스크립션(313)과 종래 비트스트림(316)을 포함할 수 있다. 도 6의 확장 비트스트림(305) 및 인코딩된 디코더 디스크립션(313)에 대 한 예시는 단지 설명 및 이해의 편의를 위한 것으로, 본 발명의 확장 비트스트림(305) 및/또는 인코딩된 디코더 디스크립션(313)의 형식이 이에 제한되지 않음은 자명하다. An example of an extended bitstream 305 is illustrated in FIG. 6. Referring to FIG. 6, 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. 6 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 form of) is not limited thereto.

인코딩된 디코더 디스크립션(313)이 디스크립션 디코더(405)에 의해 디코딩 처리된 디코더 디스크립션(314)은 다양한 부호화 방식에 의해 부호화된 비트스트림 및/또는 여러 기능들 중 사용자가 선택한 기능들을 이용하여 부호화된 비트스트림을 공통적 해석 방식에 의해 파싱하기 위하여 종래 비트스트림(316)의 구성 정보, 종래 비트스트림(316)이 부호화된 방식(또는 기능부(FU, Functional Unit)들간의 연결 정보), 특정 기능부에 대한 입출력 데이터 특정 등에 대한 정보이다. 디코더 디스크립션(314)은 textual description이나 binary description 등의 기술 방식으로 기술될 수 있다. 물론, 인코딩된 디코더 디스크립션(313)이 디스크립션 디코더(405)의 처리없이도 디코더 형성부(420)에 의해 인식될 수 있도록 구현된 경우라면 디스크립션 디코더(405)는 생략될 수 있다.The decoder description 314 in which the encoded decoder description 313 is decoded by the description decoder 405 is encoded using a bitstream encoded by various encoding schemes and / or 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. The decoder description 314 may be described in a description manner such as textual description or binary description. Of course, if the encoded decoder description 313 is implemented to be recognized by the decoder forming unit 420 without the processing of the description decoder 405, the description decoder 405 may be omitted.

인코딩된 디코더 디스크립션(313)은 디스크립션 디코더(405)에 의해 디코더 디스크립션(decoder description, 314)으로 디코딩 처리될 수 있다. 디코더 디스크립션은 FL(Functional unit List, 610), F-RT(Functional unit Rule Table, 620), FU-CSCIT(Functional Unit CSCIT, 630), CSCIT(Control Signal and Context Information Table, 640), DHT(Decoding Hierarchy Table, 650), SET(Syntax Element Table, 660), S-RT(Syntax-Rule Table, 670), DVT(Default Value Table, 680) 등의 부분 디코더 디스크립션들(partial decoder descriptions)로 분리될 수 있다. The encoded decoder description 313 may be decoded by the description decoder 405 into a decoder description 314. Decoder descriptions are Functional Unit List (FL), Functional Unit Rule Table (F-RT) 620, Functional Unit CSCIT (630), Control Signal and Context Information Table (640), and Decoding (DHT). It can be separated into partial decoder descriptions such as Hierarchy Table (650), Syntax Element Table (660), Syntax-Rule Table (670), Default Value Table (DVT), etc. have.

상술한 부분 디코더 디스크립션들은 본 발명에 따른 복호화기(300)에 포함된 복수의 기능부들이 인코딩된 비디오 데이터의 계층 구조에 상응하여 활성화되어 각각 미리 지정된 프로세스 수행을 위한 계층 정보로서 이용될 수 있다. 또한, 상술한 부분 디코더 디스크립션들은 각 기능부들이 어떤 입력 데이터를 이용하여 지정된 프로세스를 수행할 것인지, 프로세스 수행 결과로 생성된 결과 데이터를 어떤 명칭의 정보로서 저장할 것인지를 규정하는 동작 제어 정보로 이용될 수도 있다. 물론, 동작 제어 정보가 계층 정보 내에 포함될 수도 있음은 자명하다.The above-described partial decoder descriptions can be activated as a plurality of functional units included in the decoder 300 according to the present invention corresponding to the hierarchical structure of encoded video data, and used as hierarchical information for performing a predetermined process. In addition, the above-described partial decoder descriptions may be used as operation control information for specifying which input data each function unit performs a specified process, and what name information to store the result data generated as a result of the process execution. It may be. Of course, it is obvious that the operation control information may be included in the layer information.

또한 이하에서 설명되는 바와 같이, 계층 정보는 F-RT(620), DHT(645) 및 S-RT(660) 등 중 하나 이상에 의해 구체화될 수 있다.In addition, as described below, the layer information may be embodied by one or more of the F-RT 620, the DHT 645, the S-RT 660, and the like.

만일 인코딩된 비디오 데이터가 "최상위 계층, 차순위 계층, … , 차순위 계층 및 최하위 계층"과 같이 계층별 종속 구조로 이루어졌다고 가정하면, 계층 정보에 의해 먼저 최상위 계층이 활성화(즉, 최상위 계층의 오브젝트가 생성 및 실행)되고, 순차적으로 차순위 계층들이 활성화되며, 최종적으로 최하위 계층이 활성화된다. 각 계층이 순차적으로 활성화될지라도 각 계층내에 포함된 기능부들의 동작이 순차적으로 이루어지는 것에 의해 인코딩된 비디오 데이터의 디코딩이 완료되지 않을 수 있으며, 경우에 따라서는 여러 계층의 기능부들이 교번적으로 동작함으로써 인코딩된 비디오 데이터의 디코딩이 완료될 수도 있다. If the encoded video data is composed of hierarchical subordinate structures such as "top layer, next layer,…, next layer and bottom layer", the top layer is first activated by the layer information (i.e., the object of the top layer is Generated and executed), the next-order layers are activated sequentially, and the lowest layer is finally activated. Even if each layer is activated sequentially, decoding of encoded video data may not be completed by sequentially operating functions included in each layer, and in some cases, functions of several layers alternately operate. Decoding of the encoded video data may thereby be completed.

하나의 계층이 활성화되면, 해당 계층의 오브젝트 내에 포함된 모든 디코딩 기능부들 및 해당 오브젝트에 포함된 차순위 계층에 속하는 하나 이상의 호출부들 이 활성화된다. 활성화된 해당 계층에 속하는 디코딩 기능부들은 미리 지정된 프로세스 수행을 위해 필요한 CSCI 정보(Control Signal/Context Information) 및 디코딩을 위한 데이터가 CSCI 저장부(432)에 저장되면 동작이 개시된다. When one layer is activated, all decoding functions included in the object of the layer and one or more callers belonging to the next-order layer included in the object are activated. The decoding functions belonging to the activated layer are started when the CSCI information (Control Signal / Context Information) necessary for performing a predetermined process and data for decoding are stored in the CSCI storage unit 432.

또한, 활성화된 차순위 계층의 호출부는 동일한 계층의 디코딩 기능부들 중 하나 이상이 프로세스 수행을 위해 필요한 CSCI 정보(Control Signal/Context Information) 및 디코딩을 위한 데이터가 CSCI 저장부(432)에 저장되면 해당 계층의 오브젝트를 생성하여 실행하게 되며, 이에 의해 해당 오브젝트 내에 포함된 모든 디코딩 기능부들 및 해당 오브젝트에 포함된 차순위 계층에 속하는 하나 이상의 호출부들이 활성화된다. 상술한 바와 같이, 한 계층의 오브젝트 수행에 의해 하위 계층이 호출될 수 있다.In addition, if the caller of the activated next layer is one or more of the decoding functions of the same layer is stored in the CSCI storage unit 432 CSCI information (Control Signal / Context Information) and data for decoding necessary for performing the process layer It generates and executes an object of, thereby activating all decoding functions included in the object and one or more callers belonging to the next-order layer included in the object. As described above, the lower layer may be called by performing the object of one layer.

디코더 디스크립션(314)을 구성하기 위한 각 부분 디코더 디스크립션들의 순서는 다양하게 변형될 수 있음은 자명하다.Obviously, the order of the partial decoder descriptions for configuring the decoder description 314 may be variously modified.

여기서, FL(Functional unit List, 610), F-RT(Functional unit Rule Table, 620), FU-CSCIT(Functional Unit CSCIT, 630), CSCIT(Control Signal and Context Information Table, 640), DHT(Decoding Hierarchy Table, 650) 등은 각 기능부(FU)들의 연결 관계(connection)을 설정하기 위해 이용될 수 있다(해당 부분 디코더 디스크립션들은 필요시 '제1 디코더 디스크립션'라 칭할 수 있음). Wherein FL (Functional unit List, 610), F-RT (Functional unit Rule Table, 620), FU-CSCIT (Functional Unit CSCIT, 630), CSCIT (Control Signal and Context Information Table, 640), DHT (Decoding Hierarchy) Table 650 and the like may be used to set the connection of each functional unit (FU) (the corresponding partial decoder descriptions may be referred to as 'first decoder description' if necessary).

이중, DHT(650)는 각 코덱의 계층 구조와 각 계층별 하위 계층에 대한 정보를 기술한 정보일 수 있다(도 9 참조). 각 코덱의 계층 구조는 상위 계층과 하위 계층간의 구조로 표현될 수 있으며, 예를 들어 시퀀스 층, GOP 층, VOP 층, 슬라이 스(slice) 층, 매크로블록(Macro Block, MB) 층, 블록 층 등으로 세분화될 수 있으며, 각 코덱은 하나의 이상의 층들로 구성되고, 각 계층에 하나 이상의 오브젝트를 포함할 수 있다.The DHT 650 may be information describing a hierarchical structure of each codec and information on lower layers of each layer (see FIG. 9). The hierarchical structure of each codec may be expressed as a structure between an upper layer and a lower layer. For example, a sequence layer, a GOP layer, a VOP layer, a slice layer, a macroblock (MB) layer, a block layer Each codec may be composed of one or more layers, and each layer may include one or more objects.

복수의 계층으로 구성된 인코딩된 비디오 데이터의 디코딩 과정에 대해 예를 들어 간략히 설명하면 다음과 같다. 물론, 계층 구조에 부합하여 비트스트림의 복호화하는 방법이 이에 제한되지 않음은 자명하다.For example, the decoding process of encoded video data composed of a plurality of layers will be briefly described as follows. Of course, the method of decoding the bitstream in conformity with the hierarchical structure is not limited thereto.

디코딩 과정 수행 시, 먼저 최상위 계층 (제1층)의 한 오브젝트가 생성되어 실행된 후, 해당 오브젝트 내에 포함된 모든 디코딩 기능부들 및 해당 오브젝트에 포함된 하나 이상의 하위 계층 (제2층) 호출부들이 활성화된다. 여기서 호출부는 연결 제어부(434)의 일 구성 요소이거나 연결 제어부(434)의 제어 동작을 의미하는 것일 수 있다.When performing the decoding process, an object of the highest layer (first layer) is first generated and executed, and then all decoding functions included in the object and one or more lower layer (second layer) callers included in the object are executed. Is activated. Here, the caller may be one component of the connection controller 434 or may mean a control operation of the connection controller 434.

예를 들어, 계층 구조가 순차적으로 제1층, 제2층 및 제3층으로 구성되었다고 가정하면, 제1층(예를 들어, 시퀀스 층)의 오브젝트 실행에 의해 제2층에 속한 하나 이상의 계층 호출부(예를 들어, GOP-1 층, GOP-2 층, GOP-3 층)가 활성화되고, 제2층의 어느 하나의 제2층 오브젝트 실행에 의해 제3층에 속한 하나 이상의 계층 호출부(예를 들어, GOP-1 층의 오브젝트 실행시 픽쳐-1 층, 픽쳐-2 층, GOP-2 층의 오브젝트 실행시 픽쳐-3 층, 픽쳐-4 층 등)가 활성화된다. 물론, 본 발명에서의 계층 구조간 호출에 의한 활성화 과정에서 반드시 상위 계층이 하위 계층만을 호출하도록 제한되지는 않으며, 디코더 디스크립션(또는 부분 디코더 디스크립션)에 기반하여 필요시 하위 계층에 의해 상위 계층이 호출될 수도 있음은 자명하다.For example, assuming that the hierarchical structure consists of the first layer, the second layer, and the third layer, one or more layers belonging to the second layer by executing the object of the first layer (eg, the sequence layer). One or more layer calling units belonging to the third layer by executing a second layer object of any one of the second layers being activated (e.g., GOP-1 layer, GOP-2 layer, GOP-3 layer) (E.g., Picture-1 layer, Picture-2 layer, Picture-3 layer, Picture-4 layer, etc. when the object of the GOP-1 layer is executed) is activated. Of course, in the activation process by the inter-layer call in the present invention, the upper layer is not necessarily limited to calling only the lower layer, and the upper layer is called by the lower layer if necessary based on the decoder description (or partial decoder description). It can be obvious.

활성화된 해당 계층 (제1층)의 디코딩 기능부들은 미리 지정된 프로세스 수행을 위해 필요한 CSCI 정보(Control Signal/Context Information) 및 디코딩을 위한 데이터가 CSCI 저장부(432)에 저장되면 동작이 개시된다.The decoding functions of the activated layer (first layer) are activated when CSCI information (Control Signal / Context Information) necessary for performing a predetermined process and data for decoding are stored in the CSCI storage unit 432.

활성화된 해당 계층 (제1층)의 하위 계층 (제2층) 호출부는 속한 계층의 디코딩 기능부들 중 하나 이상이 프로세스 수행을 위해 필요한 CSCI 정보(Control Signal/Context Information) 및 디코딩을 위한 데이터가 CSCI 저장부(432)에 저장되면 해당 계층 (제2층)의 오브젝트를 생성하여 실행하게 되며, 해당 오브젝트 내에 포함된 모든 디코딩 기능부들 및 해당 오브젝트에 포함된 하나 이상의 하위 계층 (제3층) 호출부들이 활성화된다The lower layer (layer 2) caller of the activated layer (first layer) has CSCI information (Control Signal / Context Information) necessary for performing a process by one or more decoding functions of the layer to which the layer belongs, and the data for decoding is CSCI. When stored in the storage unit 432, an object of the corresponding layer (second layer) is generated and executed, and all decoding functions included in the object and one or more lower layer (third layer) calling units included in the object are executed. Is activated

상술한 바와 같이, 한 계층의 오브젝트 수행에 의해 하위 계층이 호출될 수 있으며, 호출된 계층의 디코딩 기능부들이 미리 지정된 프로세스를 수행하며, 각 계층에 포함된 기능부들 중 디코더 디스크립션에 의해 지정된 기능부들이 1회 이상 기능함으로써 인코딩된 비디오 데이터가 동영상 데이터로 복원되어 출력된다As described above, a lower layer may be called by performing a layer object, the decoding functions of the called layer perform a predetermined process, and the functional units designated by the decoder description among the functions included in each layer. By this function one or more times, encoded video data is reconstructed and output as moving picture data.

FU-CSCIT(630)는 툴박스(415) 내의 각 기능부와 CSCI 저장부(432)에 저장된 엘리먼트 정보간의 매핑(mapping)을 위한 부분 디코더 디스크립션 정보일 수도 있다. 이 경우, 엘리먼트 정보는 툴박스(415) 내의 각 기능부에 대한 제어 변수로서 기능할 수 있다. The FU-CSCIT 630 may be partial decoder description information for mapping between each functional unit in the toolbox 415 and element information stored in the CSCI storage unit 432. In this case, the element information may function as a control variable for each functional unit in the toolbox 415.

또한, CSCIT(Control Signal and Context Information Table, 640), DHT(Decoding Hierarchy Table, 650), SET(Syntax Element Table, 660), S-RT(Syntax-Rule Table, 670), DVT(Default Value Table, 680) 등은 종래 비트스트 림(316)의 syntax 파싱(Parsing)을 위해 이용될 수 있다(해당 부분 디코더 디스크립션들은 필요시 '제2 디코더 디스크립션'라 칭할 수 있음). 각 부분 디코더 디스크립션의 형태 및 기능은 이후 상세히 설명하기로 한다.In addition, CSCIT (Control Signal and Context Information Table, 640), DHT (Decoding Hierarchy Table, 650), SET (Syntax Element Table, 660), S-RT (Syntax-Rule Table, 670), DVT (Default Value Table, 680 and the like may be used for syntax parsing of the conventional bitstream 316 (the corresponding partial decoder descriptions may 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)을 생성한 후, 디코더 형성부(420, 또는 디코딩 솔루션(430))에서 인식할 수 있는 형태의 복수의 부분 디코더 디스크립션들로 분리하여 디스크립션 저장부(410)에 저장한다.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 420 or the decoding solution 430. The partial decoder description may be divided into a plurality of types and may be stored in the description storage unit 410.

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

디스크립션 디코더(405)의 디코더 디스크립션 분석에 의해 디스크립션 저장부(410)에 저장되는 부분 디코더 디스크립션들로는 FL(610), F-RT(620), FU-CSCIT(630), CSCIT(640), DHT(650), SET(660), S-RT(670), DVT(680) 등이 포함될 수 있다. 디스크립션 디코더(405)는 각각 구분되는 부분 디코더 디스크립션 정보별로 TI(Table Identifier)가 삽입되도록 함으로써 각 부분 디코더 디스크립션이 구분되도록 할 수도 있다. The partial decoder descriptions stored in the description storage unit 410 by the decoder description analysis of the description decoder 405 include FL 610, F-RT 620, FU-CSCIT 630, CSCIT 640, and DHT ( 650, SET 660, S-RT 670, DVT 680, and the like. The description decoder 405 may insert a table identifier (TI) for each partial decoder description information to be distinguished.

물론, 디코더 디스크립션 내에는 모든 부분 디코더 디스크립션들이 반드시 포함되어야 하는 것은 아니며, 코덱 번호(Codec #)와 프로파일 및 레벨 번호(Profile and level #)가 포함되거나, 일부 부분 디코더 디스크립션에 대해서만 코덱 번호(Codec #)와 프로파일 및 레벨 번호(Profile and level #)가 포함될 수도 있다. 코덱 번호(Codec #)와 프로파일 및 레벨 번호(Profile and level #)가 포함된 경우, 디스크립션 디코더(405)는 전체 부분 디코더 디스크립션 또는 일부 부분 디코더 디스크립션에 대해 신규로 부분 디코더 디스크립션을 생성하지 않고 디스크립션 저장부(410)에 미리 저장된 부분 디코더 디스크립션들 중 상응하는 부분 디코더 디스크립션이 디코딩시 이용되도록 선택할 수도 있다. 물론, 코덱 번호(Codec #), 프로파일 및 레벨 번호(Profile and level #)와 수정 정보가 포함된 경우, 디스크립션 디코더(405)는 디스크립션 저장부(410)에 미리 저장된 부분 디코더 디스크립션들 중 해당 코덱에 상응하는 부분 디코더 디스크립션을 추출하여 수정 정보를 반영한 새로운 부분 디코더 디스크립션을 생성할 수도 있다. 물론, 코덱 번호(Codec #)와 프로파일 및 레벨 번호(Profile and level #)가 포함되지 않고 부분 디코더 디스크립션 생성을 위한 디코더 디스크립션이 포함된 경우, 디스크립션 디코더(405)는 전체 부분 디코더 디스크립션 또는 일부 부분 디코더 디스크립션에 대해 디코딩시 이용하기 위한 새로운 부분 디코더 디스크립션을 생성할 수도 있다.Of course, not all partial decoder descriptions must be included in the decoder description, but include a codec number (Codec #) and a profile and level #, or only a partial codec description for a partial decoder description. ) And profile and level # may be included. If the codec number (Codec #) and profile and level # are included, the description decoder 405 stores the description without generating a new partial decoder description for the full partial decoder description or the partial decoder description. One of the partial decoder descriptions previously stored in the unit 410 may be selected to be used in decoding. Of course, if the codec number (Codec #), profile and level # (Profile and level #) and the correction information is included, the description decoder 405 to the corresponding codec of the partial decoder descriptions previously stored in the description storage unit 410 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 decoder description for generating the partial decoder description is included, the description decoder 405 may be the full partial decoder description or the partial decoder. A new partial decoder description may be generated for the description for use in decoding.

또한, 디코더 디스크립션은 각 부분 디코더 디스크립션들에 대한 디코더 디스크립션(DD-T) 외에 갱신 정보(Revision Information)를 더 포함할 수도 있다. In addition, the decoder description may further include revision information in addition to the decoder description DD-T for each partial decoder description.

디스크립션 저장부(410)에는 디스크립션 디코더(405)에 의해 분리된 각 부분 디코더 디스크립션들이 저장된다. 물론, 디스크립션 저장부(410)는 확장 비트스트림(305)이 코덱 번호(Codec #)와 프로파일 및 레벨 번호(Profile and level #)가 포함된 경우 상응하는 하나 이상의 부분 디코더 디스크립션들이 디코딩부(340)에 의해 이용될 수 있도록 하기 위해, 하나 이상의 부분 디코더 디스크립션들을 미리 저장할 수도 있다. 부분 디코더 디스크립션들을 추출하기 위한 인코딩된 디코더 디스크립션(313)의 구성은 이후 도 16 내지 도 23을 참조하여 구체적으로 설명하기로 한다.The description storage 410 stores the partial decoder descriptions separated by the description decoder 405. Of course, the description storage unit 410 may include one or more partial decoder descriptions corresponding to the decoding unit 340 when the extended bitstream 305 includes a codec number and a profile and level number. One or more partial decoder descriptions may be stored in advance to be available by. The configuration of the encoded decoder description 313 for extracting the partial decoder descriptions will be described in detail later with reference to FIGS. 16 to 23.

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

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

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

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

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

각 부분 디코더 디스크립션의 기능 및 형식은 이후 관련 도면을 참조하여 구체적으로 설명될 것이므로, 여기서는 가공된 데이터 형태에 대해서만 간략히 설명한다.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.

정보 가공부(424)는 부분 디코더 디스크립션들 각각이 CSCI(Control Signal/Context Information, 제어 정보/문맥 정보)의 생성 또는 저장을 위해 이용되는지, 기능부들의 연결을 위해 이용되는지 등의 역할에 따라 분류한 후 CSCI 제어 정보와 연결 제어 정보를 가공한다. 예를 들어, CSCI 제어 정보를 생성하기 위해 이용되는 부분 디코더 디스크립션들은 SET(660), S-RT(670), CSCIT(640) 및 DVT(680)일 수 있고, 연결 제어 정보를 생성하기 위한 부분 디코더 디스크립션들은 FL(610), F-RT(620), DHT(650), S-RT(660) 및 FU-CSCIT(630)일 수 있다.The information processing unit 424 classifies the partial decoder descriptions according to their roles such as whether they are used for generating or storing CSCI (Control Signal / Context Information) or for connecting 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 660, S-RT 670, CSCIT 640 and DVT 680, and may be part for generating connection control information. Decoder descriptions may be FL 610, F-RT 620, DHT 650, S-RT 660 and FU-CSCIT 630.

정보 가공부(424)에 의해 가공된 CSCI 제어 정보 및 연결 제어 정보는 예를 들어 XML 기반 ADM(Abstract Decoder Model) 표현 방식에 따라 표현될 수 있으며, 이는 아래와 같다. 물론, 가공된 CSCI 제어 정보 및 연결 제어 정보의 표현 방식이 이에 제한되지 않음은 자명하다.The CSCI control information and the connection control information processed by the information processing unit 424 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>

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

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

디코딩 처리 유닛(320)의 제2 실시예가 도시된 도 5를 참조하면, 디코딩 처리 유닛(320)은 디스크립션 디코더(405), 디스크립션 저장부(410), 툴박스(Tool-Box, 415), 디코더 형성부(420) 및 디코딩 솔루션(430)을 포함할 수 있다. 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 405, a description storage unit 410, a tool box 415, and a decoder formation. Unit 420 and decoding solution 430.

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

또한, 도 4와 비교할 때, 파싱 기능부(510)의 처리를 위해 정보 가공부(424)는 syntax 파싱 제어 정보를 더 가공하여 디코딩 솔루션(430)으로 제공한다. 따라서, CSCI 제어 정보, 연결 제어 정보 및 syntax 파싱 제어 정보를 생성하기 위해 이용되는 부분 디코더 디스크립션의 역할이 달라질 수 있다.In addition, as compared with FIG. 4, the information processing unit 424 further processes the syntax parsing control information and provides the decoding solution 430 to the processing of the parsing function unit 510. 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.

즉, 정보 가공부(424)는 부분 디코더 디스크립션들 각각이 CSCI(Control Signal/Context Information, 제어 정보/문맥 정보)의 생성 또는 저장을 위해 이용되는지, syntax 파싱을 위해 이용되는지, 기능부들의 연결을 위해 이용되는지 등의 역할에 따라 분류한 후 CSCI 제어 정보, 연결 제어 정보 및 syntax 파싱 제어 정보 를 가공한다. 예를 들어, CSCI 제어 정보를 생성하기 위해 이용되는 부분 디코더 디스크립션은 CSCIT(640)일 수 있고, 연결 제어 정보를 생성하기 위한 부분 디코더 디스크립션들은 FL(610), F-RT(620), DHT(650) 및 FU-CSCIT(630) 등 중 하나 이상일 수 있으며, Syntax 파싱 제어 정보를 생성하기 위해 이용되는 부분 디코더 디스크립션들은 SET(660), S-RT(670), DHT(650), CSCIT(640) 및 DVT(680) 등 중 하나 이상일 수 있다.That is, the information processing unit 424 determines whether each of the partial decoder descriptions is used for generation or storage of CSCI (Control Signal / Context Information), syntax parsing, and connection of functional units. CSCI control information, connection control information, and syntax parsing control information are processed after classifying them according to their role. For example, the partial decoder description used to generate CSCI control information may be CSCIT 640, and the partial decoder descriptions for generating connection control information may be FL 610, F-RT 620, DHT ( 650), FU-CSCIT 630, and the like, and the partial decoder descriptions used to generate the syntax parsing control information are SET 660, S-RT 670, DHT 650, CSCIT 640. ), DVT 680, and the like.

앞서 설명한 바와 같이, 정보 가공부(424)에 의해 가공된 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 424 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>

정보 전달부(426)는 정보 가공부(424)에 의해 가공된 CSCI 제어 정보, 연결 제어 정보 및 syntax 파싱 제어 정보를 디코딩 솔루션(430)으로 전달한다. 여기서, syntax 파싱 제어 정보는 도 7의 파싱 기능부들의 선택적 로드를 제어하기 위한 정 보, CSCI 제어 정보 등 중 하나 이상을 포함할 수 있다. The information transfer unit 426 transfers the CSCI control information, the connection control information, and the syntax parsing control information processed by the information processing unit 424 to the decoding solution 430. Here, the syntax parsing control information may include one or more of information for controlling selective loading of the parsing functions of FIG. 7, CSCI control information, and the like.

정보 전달부(426)는 CSCI 제어 정보를 CSCI 정보의 실제 저장과 운용을 담당하는 CSCI 저장부로 전달하고, 연결 제어 정보는 기능부간의 연결을 제어하는 연결 제어부(434)로 전달하며, syntax 파싱 제어 정보는 파싱 기능부(510)로 전달할 수 있다. 만일 CSCI 저장부(432)가 단지 CSCI 정보의 저장만을 위해 기능하고, CSCI 정보의 운용이 연결 제어부(434)에 의해 수행되는 경우라면 정보 전달부(424)는 CSCI 제어 정보와 연결 제어 정보를 연결 제어부(434)로 전달할 수도 있음은 자명하다. 또한 만일 파싱 기능부(510)가 연결 제어부(434)의 제어에 의해 비트스트림의 syntax 파싱(parsing)을 수행한다면, 정보 전달부(424)는 syntax 파싱 제어 정보를 연결 제어부(434)로 전달할 수도 있음은 자명하다.The information transmitting unit 426 transmits 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 434 that controls the connection between the functional units, and syntax parsing control. The information may be passed to the parsing function 510. If the CSCI storage unit 432 functions only for the storage of CSCI information, and the operation of the CSCI information is performed by the connection control unit 434, the information transfer unit 424 connects the CSCI control information and the connection control information. Obviously, the control unit 434 may transmit the information to the control unit 434. Also, if the parsing function unit 510 performs syntax parsing of the bitstream under the control of the connection control unit 434, the information transfer unit 424 may transfer the syntax parsing control information to the connection control unit 434. It is self-evident.

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

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

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

상술한 바와 같이, 디코더 형성부(420, 또는 연결 제어부(434))는 입력된 비트스트림을 처리하기 위한 복호화기를 구성하는 기능을 수행하며, 비트스트림의 디코딩은 디코더 형성부(420, 또는 연결 제어부(434))의 제어에 의해 구성된 실제 디코더, 즉 디코딩 솔루션(430)에 의해 수행된다. 이처럼 기능상 인과 관계가 있는 두 처리부를 분리함으로써 하나의 디코더 형성 정보를 이용하여 복수 개의 디코딩 솔루션을 제작할 수 있게 되어, 복호화기가 보다 효율적인 처리를 제공할 수 있다.As described above, the decoder forming unit 420 or the connection control unit 434 performs a function of configuring a decoder for processing the input bitstream, and decoding the bitstream is performed by the decoder forming unit 420 or the connection control unit. By the actual decoder configured by the control of 434), i. 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.

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

툴박스(415)는 미리 지정된 프로세스를 수행하도록 각각 구현된 복수의 기능부들을 포함한다. 해당 기능부들로는 syntax 파싱을 수행하기 위한 기능부들(도 7 참조, 해당 기능부들의 집합을 SYN 파서군(Syntax Parser Group, 700)으로 명칭함)과 인코딩된 비디오 데이터의 디코딩 처리를 위한 기능부들(도 8 참조, 해당 기능부들의 집합을 디코딩 기능군(800)으로 명칭함)을 포함할 수 있다. 예를 들어, SYN 파서군(700)은 하나의 기능부로 구현될 수도 있다. SYN 파서군(700) 및/또는 각각의 기능부들은 각각 프로그램 코드들의 조합 또는 알고리즘으로 구현될 수 있다.The toolbox 415 includes a plurality of functional units, each implemented to perform a predetermined process. The functional units include functional units for performing syntax parsing (see FIG. 7, a set of functional units are referred to as a Syntax Parser Group 700), and functional units for decoding encoded video data. (See FIG. 8, the set of corresponding functional units is referred to as the decoding function group 800). For example, the SYN parser group 700 may be implemented as one functional unit. The SYN parser family 700 and / or the respective functional units may each be implemented in a combination of program codes or algorithms.

즉, 툴 박스(510)는 각각의 기능(즉, 미리 지정된 프로세스)을 수행하도록 구현된 기능부(FU, Functional Unit)들이 포함되는 영역으로, 디코딩 기능군(800)에 포함된 각 기능부들(이하, 디코딩 기능부라 칭함)은 연결 제어부(434)의 제어에 의해 활성화(선택적 로드)되어 종래 비트스트림(105)에 포함된 인코딩된 비디오 데이터를 동영상 데이터로 출력한다. That is, the tool box 510 is an area including functional units (FUs) that are implemented to perform respective functions (that is, a predetermined process). Each of the functional units included in the decoding function group 800 ( Hereinafter, the decoding function unit is activated (selectively loaded) under the control of the connection control unit 434 to output encoded video data included in the conventional bitstream 105 as moving picture data.

연결 제어부(434)는 각 계층 구조 단위로 상응하는 기능부들이 순차적 활성화되도록 제어할 수 있다(예를 들어, 제1 계층, 제2 계층, 제3 계층 등의 순서로 활성화되며, 제2 계층이 활성화된 시점에서 제1 계층은 활성화된 상태로 유지되거나 더 이상의 데이터 처리가 불필요한 경우 비활성화될 수 있음). 그러나, 동일한 계층 구조에 포함된 기능부들로서 동시에 활성화될지라도 타 기능부의 처리에 의한 결과 데이터를 입력 데이터로 이용하는 기능부라면 타 기능부에 의해 결과 데이터가 생성되어 CSCI 저장부(432)에 저장될 때까지 처리는 유보된다. The connection control unit 434 may control the corresponding functional units to be sequentially activated in each hierarchical unit (eg, activated in the order of the first layer, the second layer, the third layer, and the like, and the second layer is At the time of activation, the first layer may remain activated or may be deactivated if no further data processing is required). However, even if activated simultaneously as functional units included in the same hierarchical structure, if the functional unit uses result data by the processing of another functional unit as input data, the result data is generated by the other functional unit and stored in the CSCI storage unit 432. Until the treatment is reserved.

디코딩 기능군(800)에 포함되는 각 기능부들은 코덱의 특성에 따라 하나 이상으로 나누어진 계층에 각각 속할 수 있다. 호출된 SYN 파서군(700)에 포함되는 임의의 기능부(이하, 파싱 기능부라 칭함)는 비트스트림의 신택스 파싱을 수행하고, 디코딩 기능부들은 지정된 프로세스의 수행을 위해 필요한 CSCI 정보 및 디코딩을 위한 데이터가 저장되면 처리를 수행한다. 또한 CSCI 정보 및 데이터의 흐름에 따라 상위 계층은 하위 계층의 디코딩 기능부를 호출(정보 전달부(426)로부터 연결 제어 정보를 제공받은 연결 제어부(434)의 제어에 의해 수행됨)하며, 디코더 디스크립션에 명시된 모든 디코딩 기능부들이 필요에 따라 한번 이상 프로세스를 수행함으로써 비트스트림에 상응하는 동영상 데이터가 출력된다. 따라서, 디코더 디스크립션(또는 부분 디코더 디스크립션)을 이용하여 각 코덱의 스케쥴링 관리와 각 기능부들의 유기적 처리 구조를 제시할 수 있다.Each of the functional units included in the decoding function group 800 may belong to one or more layers divided according to the characteristics of the codec. Any function included in the called SYN parser group 700 (hereinafter referred to as a parsing function) performs syntax parsing of the bitstream, and the decoding functions are provided for CSCI information and decoding necessary for performing a specified process. If data is saved, processing is performed. In addition, according to the flow of CSCI information and data, the upper layer calls the decoding function unit of the lower layer (performed by the control of the connection control unit 434 which has received the connection control information from the information transfer unit 426), and specified in the decoder description. All the decoding functions perform the process more than once as necessary to output the video data corresponding to the bitstream. Accordingly, the decoder description (or partial decoder description) may be used to present scheduling management of each codec and an organic processing structure of each functional unit.

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

연결 제어부(434)의 제어에 의해 로드된 파싱 기능부 또는 디코더 솔루션(430) 내에 구비된 파싱 기능부(이하, 파싱 기능부(510)이라 칭함)는 syntax 파싱 제어 정보를 이용하여 입력된 종래 비트스트림(316)을 해석하여 신택스 파싱(syntax parsing)의 결과물인 엘리먼트 정보(element information)를 CSCI 저장부(432)에 저장한다. CSCI 저장부(432)는 예를 들어 버퍼 메모리일 수 있다. 엘리먼트 정보는 예를 들어 CSCI(Control Signal/Context Information, 제어 정보/문맥 정보)일 수 있다. 파싱 기능부(510)에 의해 파싱되어 CSCI 저장부(532)에 저장된 엘리먼트 정보는 해당 단계의 파싱 결과값임과 동시에 종래 비트스트림(316)의 후 속하는 신택스를 결정하는 입력 값이 될 수도 있다.The parsing function unit (hereinafter referred to as the parsing function unit 510) included in the parsing function unit or the decoder solution 430 loaded by the control of the connection control unit 434 is a conventional bit input using syntax parsing control information. The stream 316 is interpreted to store element information, which is a result of syntax parsing, in the CSCI storage unit 432. The CSCI storage unit 432 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 510 and stored in the CSCI storage unit 532 may be an input value for determining the syntax belonging to the conventional bitstream 316 at the same time as the parsing result of the corresponding step.

또한, 파싱 기능부(510)는 신택스 파싱된 종래 비트스트림(316)의 헤더와 영상 데이터에 대한 엔트로피 디코딩을 수행하여 미리 지정된 매크로블록 사이즈의 동영상 데이터를 연결 제어부(434)의 연결 제어에 따른 후속하는 기능부(FU)로 출력할 수 있다.In addition, the parsing function unit 510 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 434. Can be output to the function unit (FU).

물론, 파싱 기능부(510)는 매크로블록 사이즈의 동영상 데이터를 미리 지정된 버퍼 메모리에 저장하고, 연결 제어부(434)의 로드(즉, 연결 제어)에 따른 후속하는 기능부가 해당 버퍼 메모리에서 매크로블록 사이즈의 동영상 데이터를 독출하여 처리한 후 후속하는 기능부의 처리를 위해 해당 버퍼 메모리에 처리한 동영상 데이터를 저장할 수도 있다. Of course, the parsing function unit 510 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 434 (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.

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

파싱 기능부(510)는 하나의 소프트웨어 프로그램(프로그램 코드들의 조합을 포함함)으로 구현될 수 있다. 복수의 표준(예를 들어, MPEG-1/2/4/AVC 등)에 각각 대응되는 복수의 기능을 수행하도록 파싱 기능부(510)가 구현될지라도 syntax 파싱 제어 정보를 이용하여 상응하는 동작을 수행할 수 있기 때문이다. 물론, 파싱 기능부(510)는 도 7에 도시된 바와 같이 복수의 기능부들로 세분화되어 구현될 수도 있으며, 각 기능부들이 블록화된 프로그램 코드들의 조합으로 구현될 수 있음은 자명하다.The parsing function 510 may be implemented as one software program (including a combination of program codes). Although the parsing function 510 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 functional unit 510 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.

상술한 바와 같이, 디코딩 처리 유닛(320)에 종래 비트스트림(316)이 입력되면, 연결 제어부(434)는 디코더 형성부(420)로부터 입력받은 연결 제어 정보를 이용하여 파싱 기능부를 로드하여 syntax 파싱이 처리되도록 하거나, 디코더 형성부(420)로부터 syntax 파싱 제어 정보를 입력받은 파싱 기능부(510)가 syntax 파싱을 수행할 수 있다. As described above, when the conventional bitstream 316 is input to the decoding processing unit 320, the connection control unit 434 loads a parsing function unit using the connection control information received from the decoder forming unit 420 to parse the syntax. In this case, the parsing function unit 510 that receives syntax parsing control information from the decoder forming unit 420 may perform syntax parsing.

또한, 연결 제어부(434)는 연결 제어 정보(이는 F-RT(620)에 상응하는 정보일 수 있음)를 참조하여 최상위 계층의 기능부들이 로드(load) 또는 활성화되도록 제어한다. 제1 디코더 디스크립션과 제2 디코더 디스크립션 중 일부만이 초기 단계에서 이용될지라도 결과적으로 제1 디코더 디스크립션과 제2 디코더 디스크립션은 각각 상호 참조 등의 형태로 유기적으로 이용되어진다.In addition, the connection controller 434 controls the functional units of the highest layer to be loaded or activated with reference to the connection control information (which may be information corresponding to the F-RT 620). Although only some of the first decoder description and the second decoder description are used in the early stages, the first decoder description and the second decoder description are each used organically in the form of cross-references and the like.

선택적으로 로드된 각각의 기능부들은 처리를 위해 필요로 하는 CSCI 또는/및 데이터가 CSCI 저장부(432)에 저장될때까지 대기할 것이고, 필요로하는 CSCI 또는/및 데이터가 CSCI 저장부(432)에 기록되면 기능부별로 처리를 개시한다. 이를 통해, 본 발명에 따른 디코딩 처리 유닛(320)는 Syntax 파싱 작업과 동영상 출력을 위한 데이터 디코딩을 동시에 수행할 수 있다(도 15 참조). 또한, 디코딩 기능군(800)에 포함된 기능부들이 계층 구조 단위로 활성화 여부가 결정되고, 각 기능 부들이 개별적으로 동작 유보 또는 개시가 결정되므로 각 기능부들의 유기적 동작(예를 들어, 기능부간의 직/병렬 결합 구조를 형성하여 동작 수행)이 자유롭다.Each of the optionally loaded functional units will wait until the CSCI or / and data needed for processing is stored in the CSCI storage 432, and the CSCI or / and data needed is loaded into the CSCI storage 432. If it is recorded at, processing starts for each functional unit. In this way, the decoding processing unit 320 according to the present invention may simultaneously perform a syntax parsing operation and data decoding for video output (see FIG. 15). In addition, it is determined whether the functional units included in the decoding function group 800 are activated on a hierarchical basis, and each functional unit is individually determined to reserve or start an operation, so that organic operations (eg, functional units) of each functional unit are determined. The operation is performed by forming a serial / parallel coupling structure of the liver.

파싱 기능부들 또는 파싱 기능부(510)는 DHT(650), SET(660), S-RT(670), CSCIT(640), DVT(680) 등에 상응하는 syntax 파싱 제어 정보를 참조하여 입력된 종래 비트스트림(316)을 해석하여 신택스 파싱(syntax parsing)의 결과물인 엘리먼트 정보(element information)를 CSCI 저장부(432)에 저장한다. CSCI 저장부(432)는 예를 들어 버퍼 메모리일 수 있다. 엘리먼트 정보는 예를 들어 CSCI(Control Signal/Context Information, 제어 정보/문맥 정보)일 수 있다. 파싱 기능부(510)에 의해 파싱되어 CSCI 저장부(432)에 저장된 엘리먼트 정보는 해당 단계의 파싱 결과값임과 동시에 종래 비트스트림(316)의 후속하는 신택스를 결정하는 입력 값이 될 수도 있다.The parsing functions or parsing function 510 is inputted with reference to syntax parsing control information corresponding to DHT 650, SET 660, S-RT 670, CSCIT 640, DVT 680, and the like. The bitstream 316 is interpreted to store element information, which is a result of syntax parsing, in the CSCI storage unit 432. The CSCI storage unit 432 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 510 and stored in the CSCI storage unit 432 may be an input value for determining a subsequent syntax of the conventional bitstream 316 while being a parsing result of the corresponding step.

또한, 파싱 기능부(510)은 신택스 파싱된 종래 비트스트림(316)의 헤더와 영상 데이터에 대한 엔트로피 디코딩을 수행하여 미리 지정된 사이즈(예를 들어, 1픽셀 단위, 4x4 단위, 8x8 단위 등)의 인코딩된 데이터를 디코딩 기능부들(도 8 참조)이 이용할 수 있도록 CSCI 저장부(432)에 저장할 수 있다. 예를 들어, 파싱 기능부(510)은 syntax 중 DC/AC와 같이 디코딩 과정에 사용될 데이터인 경우 CSCI 저장부(432)에 저장할 수 있다. CSCI 저장부(432)는 버퍼 메모리일 수 있으며, 각 기능부별로 전용 버퍼 공간이 미리 지정될 수 있다(도 12 참조). In addition, the parsing function unit 510 performs entropy decoding on the header of the syntax-parsed conventional bitstream 316 and the image data, and thus has a predetermined size (for example, 1 pixel unit, 4x4 unit, 8x8 unit, etc.). The encoded data may be stored in the CSCI storage 432 for use by decoding functions (see FIG. 8). For example, the parsing function unit 510 may store the data to be used in the decoding process such as DC / AC in syntax in the CSCI storage unit 432. The CSCI storage unit 432 may be a buffer memory, and a dedicated buffer space may be previously designated for each functional unit (see FIG. 12).

또한 각각의 전용 버퍼 공간은 도 13 및 도 14에 예시된 바와 같이 계층별로 포함 관계를 가지도록 설정될 수 있다. 따라서, 작업 메모리에 로드된 기능부는 CSCI 저장부(432)에 입력 데이터가 기록되면 즉시 처리를 개시할 수 있으며, 처리한 결과 데이터가 타 기능부의 입력 데이터로 이용되는 경우 해당 결과 데이터를 CSCI 저장부(432)에 기록할 수도 있다.In addition, each dedicated buffer space may be set to have an inclusion relationship for each layer as illustrated in FIGS. 13 and 14. Therefore, the function unit loaded in the work memory may immediately start processing when the input data is recorded in the CSCI storage unit 432. If the processing result data is used as input data of the other function unit, the corresponding result data is stored in the CSCI storage unit. 432 may be recorded.

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

도 7에 예시된 각 기능부들(이하, 편의상 파싱 기능군(700)이라 칭함)을 구체적으로 설명함으로써 파싱 기능부(510) 또는 툴박스(415) 내의 syntax 파싱을 수행하는 기능부들의 기능을 설명하면 다음과 같다. By explaining the functional units illustrated in FIG. 7 (hereinafter, referred to as the parsing function group 700 for convenience) in detail, the functions of the functional units that perform syntax parsing in the parsing function unit 510 or the toolbox 415 will be described. As follows.

파싱 기능군(700)은 도 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 group 700 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.

물론, 파싱 기능군(700)에는 신택스 파싱을 위한 기능부라면 적용되는 표준에 관계없이 모두 포함될 수 있을 뿐 아니라 기술 발전과정에서 Syntax 파싱 등을 위해 필요한 기능부는 신규로 추가될 수 있고, 기존 기능부의 수정도 가능하며, 불필요한 기능부는 제거될 수 있음은 자명하다. 또한, 파싱 기능군(700) 내에 구비된 각 기능부는 각 표준에 독립적으로 존재하지 않고, 표준에 관계없이 동일한 처리가 가능한 기능부의 경우에는 하나의 기능부로 통합되어 구비될 수도 있음은 자명하다. 각 기능부의 기능은 당업자에게 자명한 사항이므로 간략히 설명하기로 한다.Of course, the parsing function group 700 may include all of the functional units for syntax parsing irrespective of the applied standard, and additionally, necessary functions for syntax parsing may be added in the process of technology development, and existing functions may be added. 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 functional group 700 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) 데이터를 생성하는 기능부이다. 상기 언급한 SYN 파서군(700) 내의 모든 기능부들 및 일부의 기능부들은 시스템 구현 방식에 따라 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 and some of the functional units in the aforementioned SYN parser group 700 may be included in the VLD functional unit 740 according to a system implementation.

상술한 바와 같이, 파싱 기능군(700)은 하나의 소프트웨어 프로그램으로 구현되거나, 복수의 소프트웨어 프로그램으로 구현(예를 들어 VLD 기능부(740) 등을 독립된 소프트웨어 프로그램으로 독립적 구현)될 수 있을 것이다. 파싱 기능군(700)이 제1 디스크립션 정보(즉, DHT(650), SET(660), S-RT(670), DVT(680) 및 CSCIT(640) 중 하나 이상)에 상응하는 syntax 파싱 제어 정보를 이용하여 엘리먼트 정보를 추출 또는 생성하여 CSCI 저장부(432)에 저장할 수 있다.As described above, the parsing function group 700 may be implemented by one software program, or may be implemented by a plurality of software programs (for example, the VLD function unit 740 may be independently implemented by an independent software program). The parsing function group 700 controls syntax parsing corresponding to the first description information (ie, one or more of DHT 650, SET 660, S-RT 670, DVT 680, and CSCIT 640). Element information may be extracted or generated using the information and stored in the CSCI storage unit 432.

도 8에 예시된 각 기능부들(이하, 편의상 디코딩 기능군(800)이라 칭함)을 구체적으로 설명함으로써 디코딩 기능부들의 기능을 설명하면 다음과 같다. 디코딩 기능부들은 툴박스(415) 내에 구비될 수 있다.Hereinafter, the functions of the decoding functions will be described in detail by describing each of the functional units illustrated in FIG. 8 (hereinafter, referred to as a decoding function group 800 for convenience). Decoding functions may be provided in the toolbox 415.

디코딩 기능군(800)는 파싱 기능군(700)의 임의의 기능부가 미리 지정된 프로세스를 수행함으로써 CSCI 저장부(432)에 저장한 인코딩된 데이터를 미리 지정된 처리 단위로 처리하여 미리 지정된 크기의 동영상 데이터로서 출력한다. 인코딩된 데이터의 처리 단위는 각 기능부별로 상이하게 적용되도록 미리 지정되거나 동일한 처리 단위로서 일반화될 수 있다.The decoding function group 800 processes the encoded data stored in the CSCI storage unit 432 in a predetermined processing unit by performing a predetermined process by an arbitrary function unit of the parsing function group 700, thereby moving image data having a predetermined size. Output as. The processing unit of the encoded data may be predefined or generalized as the same processing unit to be applied differently for each functional unit.

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

디코딩 기능군(800)은 도 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 illustrated in FIG. 8, the decoding function group 800 includes a de-blocking filter (DF) function 810, a VR (OPOP Reconstructor) function 815, and a frame field reordering (FFR) function 820. Intra prediction and picture reconstruction (IPR) function 830, inverse transform (IT) function 835, inverse quantization (IQ) function 845, inverse AC prediction function (855), IS An inverse scan function unit 860 and a DC reconstruction (DCR) function unit 865 may be included.

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.

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

디코딩 기능군(800) 내에 구비된 각 기능부는 각 표준에 독립적으로 존재하지 않고, 표준에 관계없이 동일한 처리가 가능한 기능부의 경우에는 하나의 기능부로 통합되어 구비될 수도 있음은 자명하다. 각 기능부의 기능은 당업자에게 자명한 사항이므로 간략히 설명하기로 한다.Each functional unit included in the decoding function group 800 does not exist independently of each standard, and it is obvious that the functional unit capable of the same processing regardless of the standard 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.

상술한 파싱 기능군(700)과 디코딩 기능군(800)은 개별적으로 동작 개시되며, 디코딩 기능군(800) 내의 각 기능부는 연결 제어부(434)의 활성화 제어에 의해 활성화된 후 처리를 위해 필요한 CSCI 및/또는 데이터가 CSCI 저장부(432)에 기록되면 개별적으로 동작을 개시한다.The above-described parsing function group 700 and the decoding function group 800 are started to operate separately, and each functional unit in the decoding function group 800 is activated by the activation control of the connection control unit 434 and then required for processing. And / or start operation separately when data is written to the CSCI storage 432.

CSCI 저장부(432)에는 파싱 기능군(700)에서 제1 디코더 디스크립션(즉, CSCIT(640), DHT(650), SET(660), S-RT(670), DVT(680))에 상응하는 syntax 파싱 제어 정보를 참조한 신택스 파싱에 의한 결과값인 엘리먼트 정보(예를 들어, CSCI)가 저장된다. 엘리먼트 정보는 CSCIT(640)에 상응하도록 저장된다. CSCI 저장부(432)는 예를 들어 버퍼 메모리(buffer memory)일 수 있다. The CSCI storage unit 432 corresponds to the first decoder description (ie, CSCIT 640, DHT 650, SET 660, S-RT 670, DVT 680) in the parsing function group 700. Element information (eg, CSCI), which is a result of syntax parsing referring to syntax parsing control information, is stored. Element information is stored to correspond to CSCIT 640. The CSCI storage unit 432 may be, for example, a buffer memory.

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

또한, CSCI 저장부(432)에 저장된 엘리먼트 정보는 연결 제어 정보(예를 들어, F-RT(620)에 상응하는 정보일 수 있음)를 참조하여 연결 제어부(434)가 계층 구조 단위로 로드한 각 기능부들이 FU-CSCIT(630)에서 지정된 입력 CSCI를 CSCI 저장부(432)에 저장된 엘리먼트 정보들과 매핑하기 위해 이용될 수 있다. 물론, 디코딩 기능군(800) 내의 기능부들에 의해 이용될 수 있는 엘리먼트 정보인 경우 파싱 기능군(700)이 CSCI 저장부(432)에 저장할 수 있음은 앞서 설명한 바와 같다.In addition, the element information stored in the CSCI storage unit 432 is loaded by the connection control unit 434 in a hierarchical structure with reference to the connection control information (for example, information corresponding to the F-RT 620). Each functional unit may be used to map the input CSCI designated in the FU-CSCIT 630 with element information stored in the CSCI storage unit 432. Of course, in the case of the element information that can be used by the functional units in the decoding function group 800, the parsing function group 700 may be stored in the CSCI storage unit 432 as described above.

즉, CSCI 저장부(432)에는 파싱 기능군(700)에 의해 생성된 CSCI(Control Signal/Context Information, 제어 정보/문맥 정보), 디코딩 처리군(800)에 포함된 임의의 기능부에 의해 디코딩 처리될 데이터가 저장될 수 있다. 물론, CSCI 저장부(432)는 저장되는 정보의 유형에 따라 CSCI를 저장하기 위한 CSCI 저장부와 디코딩 처리될 데이터가 저장되는 데이터 저장부로 분리되어 구현될 수도 있다.That is, the CSCI storage unit 432 decodes the CSCI (Control Signal / Context Information, control information / context information) generated by the parsing function group 700, and any functional unit included in the decoding processing group 800. Data to be processed may be stored. Of course, the CSCI storage unit 432 may be implemented by being divided into a CSCI storage unit for storing the CSCI and a data storage unit for storing the data to be decoded according to the type of information to be stored.

연결 제어부(434)는 다양한 표준에 의해 인코딩된 비트스트림을 디코딩하기 위해 파싱 기능군(700) 또는/및 디코딩 기능군(800)에 포함된 각 기능부들이 로드(load) 또는 활성화되도록 제어한다. 파싱 기능군(700)은 파싱 기능부(510)의 형태로 디코딩 솔루션(430) 내에 구비될 수도 있다.The connection controller 434 controls each function unit included in the parsing function group 700 and / or the decoding function group 800 to be loaded or activated in order to decode bitstreams encoded by various standards. The parsing function group 700 may be provided in the decoding solution 430 in the form of the parsing function 510.

즉, 연결 제어부(434)는 연결 제어 정보를 참조하여 디코딩 기능군(800)에 포함된 각 기능부들이 계층 구조 단위로 로드 또는 활성화되도록 제어한다. 이는, 하위 계층 구조에 속하는 기능부들을 위한 입력 데이터가 상위 계층 구조에 속하는 기능부들이 처리한 결과 데이터일 수 있기 때문이다. That is, the connection controller 434 controls to load or activate each functional unit included in the decoding function group 800 in a hierarchical structure with reference to the connection control information. This is because the input data for the functional units belonging to the lower hierarchical structure may be the result data processed by the functional units belonging to the upper hierarchical structure.

상술한 바와 같이, 디코딩 솔루션(430)는 연결 제어부(434)의 제어에 의해 하나 이상의 기능부들이 로드되어 미리 지정된 프로세스가 수행되도록하기 위한 작업 메모리를 포함할 수 있다. As described above, the decoding solution 430 may include a working memory for loading one or more functional units under the control of the connection controller 434 to perform a predetermined process.

연결 제어부(434)가 각 기능부의 활성화 여부 및 각 기능부들이 인코딩된 데이터를 동영상 데이터로 처리하여 출력하기 위해 디코더 형성부(420)로부터 입력된 연결 제어 정보(이는, FL(610), F-RT(620), FU-CSCIT(630), CSCIT(640) 및 DHT(650) 등을 이용하여 생성디ㅗㄹ 수 있음)를 이용할 수 있다. Connection control information input from the decoder forming unit 420 so that the connection control unit 434 activates each function unit and processes and outputs the data encoded by the function units as video data (that is, FL 610 and F−). RT 620, FU-CSCIT 630, CSCIT 640, DHT 650, etc. can be generated using).

도 8에 예시된 복수의 기능부들이 상호 유기적으로 동작함으로써 인코딩된 데이터를 동영상 데이터로 변환하여 출력할 수 있다. 동영상 데이터로 변환하기 위해 어떤 기능부들이 순차적으로 동작되어야 하는지 여부는 각 인코딩 표준에 따라 상이할 수 있으며, 이는 당업자에게 자명한 사항이다. 따라서, 이하에서는 복수의 기능부들의 유기적 동작 제어를 위한 연결 제어 정보의 생성을 위해 이용되는 부분 디코더 디스크립션들간의 유기적 관계를 중심으로 설명한다. Since the plurality of functional units illustrated in FIG. 8 operate organically with each other, the encoded data may be converted into video data and output. Which functional units should be operated sequentially to convert the video data may be different according to each encoding standard, which is obvious to those skilled in the art. Therefore, the following description will focus on an organic relationship between partial decoder descriptions used for generating connection control information for organic operation control of a plurality of functional units.

먼저, DHT(Decoding Hierarchy Table, 650)는 도 9 및 하기 표 1에서 보여지는 바와 같이, 코덱의 계층 구조와 각 계층별 하위 계층에 대한 정보를 기술한 부분 디코더 디스크립션이다.First, as shown in FIG. 9 and Table 1, DHT (Decoding Hierarchy Table) 650 is a partial decoder description describing the information about the hierarchical structure of the codec and the lower layer for each layer.

표 1. DHT(Decoding Hierarchy Table)Table 1. Decoding Hierarchy Table (DHT)

IndexIndex NameName Children HierarchyChildren hierarchy NoteNote H0H0 VSVS H1H1 Video SessionVideo Session H1H1 GOPGOP H2, H3H2, H3 Group of PictureGroup of picture H2H2 VOP-1VOP-1 H5H5 Video Object Plane : Type 1Video Object Plane: Type 1 H3H3 VOP-2VOP-2 H4H4 Video Object Plane : Type 2Video Object Plane: Type 2 H4H4 MB-1MB-1 H6H6 H5H5 MB-2MB-2 H7H7 H6H6 B-1B-1 NoneNone H7H7 B-2B-2 NoneNone H8H8 ...... ...... ...... ...... ......

DHT(650)는 표 1에 예시된 바와 같이, 순차적으로 부여된 계층 번호인 Index, 각 계층의 명칭을 나타내는 name, 해당 계층의 하위 계층을 나타내는 Children Hierarchy 등의 항목을 포함할 수 있다. 계층의 수나 children hierarchy의 개수는 코덱에 따라 달리 표현될 수 있다. 예를 들어, 도 9에 예시된 바와 같이 VOP-3, MB-3 등이 더 존재하는 경우 이에 상응하는 계층 번호 등이 추가될 수 있음은 자명하다.As illustrated in Table 1, the DHT 650 may include items such as Index, which is a sequentially assigned layer number, a name indicating a name of each layer, and a Children Hierarchy indicating a lower layer of the corresponding layer. The number of layers or the number of children hierarchies can be expressed differently depending on the codec. For example, if there are more VOP-3, MB-3, etc. as illustrated in FIG. 9, it is obvious that a corresponding layer number may be added.

본 발명의 DHT(650)가 나타내는 계층 구조는 한 코덱을 기준하여 상이한 다른 코덱을 자유로운 계층 위치에, 자유로운 양식으로 통합할 수 있음을 의미한다. 즉, 통합 코덱을 이용하여 상이한 여러 코덱을 이용하여 하나의 새로운 코덱을 구성하고 이를 이용하여 동영상 압축 및 복원이 가능하다는 것이다. The hierarchical structure represented by the DHT 650 of the present invention means that different codecs based on one codec can be integrated at free layer positions in a free form. In other words, a new codec can be constructed using several different codecs using an integrated codec, and video compression and reconstruction are possible using this codec.

또한, DHT(650)의 주된 기능은 주어진 코덱에 계층구조를 도입함으로써 디코더 디스크립션(decoder Description)을 사용하여 구성할 decoding solution의 다양한 구현(sequential/parallel, single/multiple threads, sw/hw hybrid decoding)을 용이하게 한다.In addition, the main function of the DHT 650 is to introduce a hierarchical structure to a given codec so that various implementations of the decoding solution to be configured using decoder description (sequential / parallel, single / multiple threads, sw / hw hybrid decoding) To facilitate.

표 1에 예시된 DHT(650)를 통하여 기술된 계층구조는 syntax 파싱 및 디코딩 과정에서 공통적으로 적용된다. 물론, syntax 파싱 또는 디코딩 과정에서 독립적으로 이용되기 위한 계층구조가 더 존재할 수도 있음은 자명하다. The hierarchy described through the DHT 650 illustrated in Table 1 is commonly applied in syntax parsing and decoding processes. Of course, it is obvious that there may be more hierarchies to be used independently in the syntax parsing or decoding process.

다음으로, FL(FU List, 610)은 하기 표 2에서 보여지는 바와 같이, 디코딩 기능군(800) 내에 구비된 각 기능부들의 리스트, 해당 기능부들의 입출력 데이터의 수량 등의 정보를 기술한 부분 디코더 디스크립션이다. Next, as shown in Table 2 below, FL (FU List, 610) is a portion that describes the information, such as a list of the respective functional units provided in the decoding function group 800, the quantity of input and output data of the corresponding functional units Decoder description.

표 2. FL(FU List) Table 2. FL (FU List)

FU IDFU ID FU nameFU name input CSCIinput CSCI output CSCIoutput CSCI D0092D0092 FU-AFU-A 22 00 D0098D0098 FU-BFU-B 22 00

FL(610)은 각 기능부에 대한 입력 데이터가 기록된 전용 버퍼 영역의 명칭(또는 해당 데이터의 기록 주소 또는 해당 데이터가 기록된 버퍼 메모리 내의 주소)과 해당 기능부에 의한 출력 데이터가 기록될 전용 버퍼 영역의 명칭(또는 해당 데이터의 기록 주소 또는 해당 데이터가 기록될 버퍼 메모리 내의 주소)을 더 포함할 수 있다. 따라서, 각 기능부는 FL(610)을 이용하여 입력 데이터를 읽고 처리한 출력 데이터를 기록할 수 있다. 그러나, FL(610)에는 엘리먼트 정보를 생성하는 파싱 기능군(700)의 입력 데이터 및 출력 데이터는 기재되어 있지 않으나, 이는 파싱 기능군(700)이 syntax 파싱 제어 정보(이는 SET(660) 등에 상응하는 정보일 수 있음)를 참조하여 엘리먼트 정보를 생성하고 지정된 위치에 생성한 엘리먼트 정보를 기록하기 때문이다.The FL 610 designates the name of the dedicated buffer area (or the write address of the data or the address in the buffer memory in which the data is recorded) in which the input data for each functional unit is recorded, and the output data by the corresponding functional unit is recorded. The buffer region may further include a name (or a write address of the corresponding data or an address in the buffer memory in which the corresponding data is to be written). Accordingly, each functional unit may record output data obtained by reading and processing input data using the FL 610. However, the FL 610 does not describe the input data and the output data of the parsing function group 700 for generating element information, which means that the parsing function group 700 corresponds to syntax parsing control information (which is SET 660 or the like). The element information is generated and the generated element information is recorded in the designated position.

FL(610)은 표 2에 예시된 바와 같이, 툴 박스(510) 내의 기능부(FU, Functional Unit)의 고유 번호인 FU ID, 각 기능부의 명칭인 FU name, 입력 데이터 의 수량을 나타내는 input CSCI, 결과 데이터(출력 데이터)의 수량을 나타내는 output CSCI 등의 항목을 포함할 수 있다. FL(610) 내의 기능부 나열 순서는 FU-CSCIT(630)의 FU 나열순서 또는 Index No.에 대응된다. 각 기능부의 명칭인 FU name 항목에는 앞서 도 8을 참조하여 설명한 각 기능부들의 명칭이 기재될 수 있다.As illustrated in Table 2, the FL 610 includes an FU ID that is a unique number of a functional unit (FU) in the tool box 510, an FU name that is a name of each functional unit, and an input CSCI indicating a quantity of input data. It may include an item such as output CSCI indicating a quantity of result data (output data). The order of listing the functional units in the FL 610 corresponds to the order of listing the FU or the Index No. of the FU-CSCIT 630. In the FU name item which is the name of each functional unit, the names of the respective functional units described above with reference to FIG. 8 may be described.

연결 제어부(434)에 의해 활성화된 계층의 특정 기능부는 FU-CSCIT(630), CSCIT(640) 등에 상응하는 연결 제어 정보를 참조하여 CSCI 저장부(432)로부터 필요한 데이터를 독출하거나, 연결 제어부(434)에 의해 입력된 데이터를 이용하여 미리 설정된 프로세스를 수행하고, 출력 데이터를 생성한다. 생성된 출력 데이터는 CSCI 저장부(432)에 기록될 수 있으며, CSCI 저장부(432)에 기록된 데이터는 후속 처리를 수행하는 기능부의 입력 데이터로 이용될 수 있다. 여기서, 기능부는 디코딩 기능군(800)에 포함되며, 입력 데이터를 미리 지정된 프로세스로 처리하여 출력데이터를 생성하는 일련의 처리 과정(예를 들어, 기능, 알고리즘 또는 함수 등)을 의미한다. The specific function unit of the layer activated by the connection control unit 434 reads necessary data from the CSCI storage unit 432 by referring to connection control information corresponding to the FU-CSCIT 630, the CSCIT 640, or the like. The data input by 434 is used to perform a preset process and generate output data. The generated output data may be recorded in the CSCI storage unit 432, and the data recorded in the CSCI storage unit 432 may be used as input data of a functional unit that performs subsequent processing. Here, the functional unit is included in the decoding function group 800, and refers to a series of processes (for example, a function, an algorithm, or a function) for processing input data in a predetermined process to generate output data.

디코딩 처리 유닛(320)이 종래 비트스트림(316)에 포함된 인코딩된 비디오 데이터의 디코딩을 위해 하나의 표준만을 이용하면 충분한 경우, FL(610)은 해당 표준에서 상응하는 처리를 수행하기 위한 기능부들에 대한 정보만을 포함할 수 있다. 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, then the FL 610 may be equipped with functional units for performing corresponding processing in that standard. It can only contain information about.

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

물론, 비디오 데이터가 복수의 프레임 단위로 인코딩 표준을 달리 적용할지라도, 적용된 인코딩 표준별로 구분되어 복수의 종래 비트스트림(316) 및 확장 비트스트림(305)이 생성되어 제공된다면 각각의 FL(610)은 각각 상응하는 표준에 따른 기능부들의 정보만을 포함하면 될 것이다.Of course, even if the video data is differently applied to the encoding standard in the unit of a plurality of frames, each FL 610 if a plurality of conventional bitstream 316 and the extended bitstream 305 is generated and provided divided by the applied encoding standard Each would only need to contain information on the functional units according to the corresponding standard.

FL(610)은 textual description이나 binary description(비트 변환된 바이너리 코드 형태) 등의 기술 방식으로 기술될 수 있을 뿐 아니라, 상기 부분 디코더 디스크립션 중 필요한 최소한의 데이터가 유사 스크립트 언어로 기술될 수도 있다.The FL 610 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, 620)은 입력된 종래 비트스트림(316)을 복호화하기 위하여 사용될 기능부들의 연결 정보를 제공한다. 즉, F-RT(620)는 아래 표 3에 예시된 바와 같이 DHT(650)에서 명시한 계층 구조를 이용하여 상위 계층이 하위 계층을 호출하는 구조로 구성된다. Next, the F-RT (FU-Rule Table) 620 provides connection information of functional units to be used to decode the input conventional bitstream 316. That is, the F-RT 620 is configured as a structure in which an upper layer calls a lower layer by using the hierarchical structure specified in the DHT 650 as illustrated in Table 3 below.

표 3. F-RT(Table 3. F-RT ( FUFU -  - RuleRule TableTable ))

DecodingDecoding HierarchyHierarchy ChildrenChildren (( FUFU /Of FHFH )) LOOPLOOP LOOPLOOP ConditionCondition InputInput DescriptionDescription FH0  FH0 FU1FU1 NONO -- FH0FH0 FH1FH1 YESYES CH1.C0==1CH1.C0 == 1 FU1FU1 FH1[0..N-1] e.g., FH1[i]는 CH1[i].C0이 1일 때 실행됨.FH1 [0..N-1] e.g., FH1 [i] is executed when CH1 [i] .C0 is 1. FH1FH1 YESYES CH1.C1==1CH1.C1 == 1 FH1[i-1]FH1 [i-1] FH1 FH1 FU2FU2 NoNo -- FH1FH1 FU2FU2 NoNo -- FH1FH1

F-RT(620)는 표 3에서 보여지는 바와 같이, 각 계층 구조를 나타내는 Decoding Hierarchy, 활성화될 기능부 또는 호출할 하위 계층을 나타내는 Children, 루프 동작 여부를 나타내는 Loop, 루프 동작이 필요한 경우의 루프 조건을 나타내는 Loop Condition, 각 기능부 또는 하위 계층의 입력 정보(또는 활성화 순서)로서 Decording Hierarchy 또는 Children을 나타내는 Input 등을 포함한다.As shown in Table 3, the F-RT 620 includes a decoding hierarchy representing each hierarchical structure, a children representing a functional unit to be activated or a lower layer to be called, a loop indicating whether to operate a loop, and a loop when a loop operation is required. Loop Condition indicating a condition, input information (or activation order) of each functional unit or a lower layer, and an input indicating a Decorating Hierarchy or Children.

표 3에 예시된 바와 같이, FH0의 계층이 가장 먼저 활성화될 것이며, FH1 계층은 입력 데이터로서 FU1의 결과 데이터를 이용하므로 후속하여 활성화될 것이다. 또는 FH1 계층도 FH0 계층과 동시에 활성화된 후 FU1의 결과 데이터가 CSCI 저장부(432)에 저장될 때까지 처리 동작을 유보할 수도 있다. As illustrated in Table 3, the layer of FH0 will be activated first, and the FH1 layer will subsequently be activated since it uses the result data of FU1 as input data. Alternatively, after the FH1 layer is also activated at the same time as the FH0 layer, the processing operation may be suspended until the result data of the FU1 is stored in the CSCI storage unit 432.

각 계층은 호출 시 instance/object 개념으로 독립성이 보장되는 객체로 생성된다. 즉, FH1[0], FH1[1], FH1[2], …, FH1[n] 같이 다수의 FH1을 생성하며, 이 구조는 다른 계층(예를 들어, FH0, FH2, FH3 등)에도 동일하게 적용될 수 있다. 또한 각 객체별 전용 버퍼 공간도 할당될 수 있다. 도 12 및 도 13에 예시된 바와 같이, 각 전용 버퍼 공간에는 특정 계층 구조 또는 해당 계층 구조 내의 기능부의 처리를 위한 CSCI 또는 데이터가 저장된다.Each layer is created as an object that ensures independence in the concept of instance / object when called. That is, FH1 [0], FH1 [1], FH1 [2],... It creates multiple FH1s, such as FH1 [n], and this structure can be equally applied to other layers (eg, FH0, FH2, FH3, etc.). In addition, a dedicated buffer space for each object may be allocated. As illustrated in FIGS. 12 and 13, each dedicated buffer space stores CSCI or data for processing a specific hierarchy or a functional unit within the hierarchy.

F-RT(620)는 textual description이나 binary description(비트 변환된 바이너리 코드 형태) 등의 기술 방식으로 기술될 수 있을 뿐 아니라, 상기 부분 디코더 디스크립션 중 필요한 최소한의 데이터가 유사 스크립트 언어로 기술될 수도 있다.The F-RT 620 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. .

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

표 4. Table 4. FUFU -CSCIT(-CSCIT ( FUFU CSCICSCI TableTable ))

IndexIndex NoNo .. CSCICSCI informationinformation CSCICSCI tabletable elementelement TheThe numnum ofof interfaceinterface setset : 1 : One 1 One Quantiser_scaleQuantiser_scale CH2.C6CH2.C6 The number of MBThe number of MB CH2.C1CH2.C1 TheThe numnum ofof interfaceinterface setset : 2 : 2 2  2 CBP_MPEG2CBP_MPEG2 CH3.C1CH3.C1 Ac_pred_flag_MPEG2Ac_pred_flag_MPEG2 CH3.C6CH3.C6 CBP_MPEG4CBP_MPEG4 CH4.C2CH4.C2 Ac_pred_flag_MPEG4Ac_pred_flag_MPEG4 CH4.C5CH4.C5

위의 표 4에 예시된 바와 같이, FU-CSCIT(630)는 FL(610)의 FU ID와 1:1 매핑(mapping)되는 Index No, CSCI에 대한 정보 및 매핑을 위한 CSCIT(640)의 인덱스(CSCI table element)를 포함한다. FL(610)의 기능부 나열 순서와 FU-CSCIT(630)의 Index No.의 나열 순서에 의해 양자는 1:1 매핑된다. 즉, 표 2의 첫번째 기능부인 FU-A는 FU-CSCIT(630)의 첫번째 인덱스인 Index No. 1과 매핑된다. As illustrated in Table 4 above, the FU-CSCIT 630 is Index No, which is 1: 1 mapped with the FU ID of the FL 610, information on CSCI, and an index of the CSCIT 640 for mapping. (CSCI table element) is included. Both are 1: 1 mapped by the order of listing the functional parts of the FL 610 and the order of listing the Index No. of the FU-CSCIT 630. That is, FU-A, which is the first functional part of Table 2, is Index No., which is the first index of FU-CSCIT 630. Mapped to 1.

또한, FU-CSCIT(630)는 각 Index No.별로 인터페이스 세트가 몇 개인지에 관한 정보를 더 포함한다. 인터페이스 세트의 수는 매핑되는 경우의 수를 의미한다. 즉, FL(610)의 D0092는 FU-CSCIT(630)에 의해 인터페이스 세트의 수가 하나로 지정되므로 엘리먼트 정보로서 CH2.C6 및 CH2.C1만을 사용한다. 그러나, D0098는 인터 페이스 세트의 수가 2이므로, 어떤 경우에는 엘리먼트 정보로서 CH3.C1 및 CH3.C6을 사용하고, 또 다른 경우에는 CH4.C2 및 CH4.C5를 사용한다. 각 기능부는 지정된 엘리먼트 정보를 CSCI 저장부(432)로부터 독출하여 미리 지정된 프로세스를 수행한 후 생성된 출력 데이터(결과 데이터)를 CSCI 저장부(432)에 저장한다.In addition, the FU-CSCIT 630 further includes information on how many interfaces are set for each Index No. The number of interface sets means the number of cases mapped. That is, since D0092 of the FL 610 is designated by the number of interface sets by the FU-CSCIT 630, only CH2.C6 and CH2.C1 are used as element information. However, since D0098 has two interface sets, in some cases, CH3.C1 and CH3.C6 are used as element information, and in others, CH4.C2 and CH4.C5 are used. Each function unit reads the designated element information from the CSCI storage unit 432 to perform a predetermined process and stores the generated output data (result data) in the CSCI storage unit 432.

FU-CSCIT(630)에 각 Index No.별 인터페이스 세트의 수를 명시하는 목적은 하나의 기능부가 서로 다른 데이터 플로우(data flow)에 따라 상이한 처리 동작을 수행할 수도 있기 때문이다. 즉, 도 11에 예시된 바와 같이, FU-A가 MPEG-2 및 MPEG-4에서 동시에 이용될 수 있는 기능을 가진 기능부라면, MPEG-2 표준으로 인코딩된 데이터를 처리하는 경우와 MPEG-4 표준으로 인코딩된 데이터를 처리하는 경우 각각 상이한 엘리먼트 정보가 이용될 수 있을 것이다. 따라서, 각 표준에 따른 인코딩된 데이터를 처리할 때의 엘리먼트 정보가 구분될 수 있도록 복수의 인터페이스 세트가 요구된다.The purpose of specifying the number of interface sets for each Index No. in the FU-CSCIT 630 is because one functional unit may perform different processing operations according to different data flows. That is, as illustrated in FIG. 11, if the FU-A is a functional part having a function that can be used simultaneously in MPEG-2 and MPEG-4, the case of processing data encoded in the MPEG-2 standard and MPEG-4 Different element information may be used for each processing standard encoded data. Thus, a plurality of interface sets are required so that element information when processing encoded data according to each standard can be distinguished.

FU-CSCIT(630)는 textual description이나 binary description(비트 변환된 바이너리 코드 형태) 등의 기술 방식으로 기술될 수 있을 뿐 아니라, 상기 부분 디코더 디스크립션 중 필요한 최소한의 데이터가 유사 스크립트 언어로 기술될 수도 있다.The FU-CSCIT 630 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 in the partial decoder description may be described in a similar script language. .

마지막으로, CSCIT(640)는 아래 표 5에서 보여지는 바와 같이, SYN 파서군(700)이 SET(660), S-RT(670) 등을 이용한 프로세스의 결과 정보인 엘리먼트 정보(예를 들어, CSCI)에 대한 상세 정보가 기술된 것이다. 즉, CSCIT(640)는 종래 비트스트림(316)으로부터 처리되어 CSCI 저장부(432)에 저장되고, 디코딩 기능 군(800)에 의해 이용될 모든 의미있는 자료(즉, 엘리먼트 정보)들에 대한 정보를 가진다.Finally, as shown in Table 5 below, the CSCIT 640 may include element information (for example, information about a result of the process of the SYN parser group 700 using the SET 660, the S-RT 670, or the like). Detailed information on CSCI is described. That is, the CSCIT 640 is processed from the conventional bitstream 316 and stored in the CSCI storage 432, and information about all meaningful data (i.e. element information) to be used by the decoding function group 800. Has

표 5. Table 5. CSCITCSCIT

DecodingDecoding HierarchyHierarchy IndexIndex ElementElement NameName TypeType NoteNote CH0  CH0 CH0.C1CH0.C1 Profile and level indicationProfile and level indication IntegerInteger CH0.C2CH0.C2 User dataUser data ArrayArray An array of arbitrary length of user data.An array of arbitrary length of user data. CH0.C3CH0.C3 Visual object VerIDVisual object VerID IntegerInteger CH1  CH1 CH1.C1CH1.C1 IntegerInteger CH1.C2CH1.C2 IntegerInteger CH2 CH2 CH2.C1CH2.C1 Macro-block typeMacro-block type IntegerInteger

위의 표 5에 예시된 바와 같이, CSCIT(640)는 각 엘리먼트 정보의 계층 구분, 해당 엘리먼트 정보의 고유 번호로서 구분자인 인덱스(Index), 해당 엘리먼트 정보의 이름(Element Name), 해당 엘리먼트 정보의 자료 구조적인 특성을 지정하기 위한 속성(예를 들어, 해당 엘리먼트 정보가 정수형(Integer)인지 배열형(Array)인지 여부 등) 등을 포함한다. 계층별로 구성된 CSCI정보는 디코더 구성 시 필요에 따라 여러 개의 배열의 형태로 사용할 수도 있다.As illustrated in Table 5 above, the CSCIT 640 is a hierarchical classification of each element information, an index that is a delimiter as a unique number of the element information, an index, an element name of the element information, and an element of the element information. Attributes for specifying data structural characteristics (for example, whether the element information is an integer or an array) are included. The CSCI information configured for each layer may be used in the form of multiple arrays as needed when configuring the decoder.

CSCIT(640)는 textual description이나 binary description(비트 변환된 바이너리 코드 형태) 등의 기술 방식으로 기술될 수 있을 뿐 아니라, 상기 부분 디코더 디스크립션 중 필요한 최소한의 데이터가 유사 스크립트 언어로 기술될 수도 있다.The CSCIT 640 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.

이어서, 파싱 기능군(700)이 종래 비트스트림(316)으로부터 엘리먼트 정보를 추출 또는 생성하여 CSCI 저장부(432)에 저장하기 위하여 이용하는 syntax 파싱 제 어 정보를 생성하기 위해 이용되는 CSCIT(640), DHT(650), SET(660), S-RT(670) 및 DVT(680)에 관하여 설명하기로 한다. 다만, CSCIT(640) 및 DHT(650)는 앞서 이미 설명하였으므로 이에 대한 설명은 생략한다. 도 7에 예시된 복수의 기능부들이 상호 유기적으로 동작함으로써 엘리먼트 정보를 생성하여 CSCI 저장부(432)에 저장할 수 있다. 엘리먼트 정보의 유형은 각 인코딩 표준에 따라 상이할 수 있으며, 이는 당업자에게 자명한 사항이다. 따라서, 이하에서는 복수의 기능부들 또는 하나의 기능부로 통합된 파싱 기능군(700)이 엘리먼트 정보들을 생성하여 CSCI 저장부(432)에 저장하기 위해 이용되는 확장 비트스트림에 포함된 제2 디코더 디스크립션의 부분 디코더 디스크립션들간의 유기적 관계를 중심으로 설명한다.Subsequently, the CSCIT 640 used to generate syntax parsing control information used by the parsing function group 700 to extract or generate element information from the conventional bitstream 316 and store it in the CSCI storage unit 432; DHT 650, SET 660, S-RT 670, and DVT 680 will be described. However, since the CSCIT 640 and the DHT 650 have been described above, a description thereof will be omitted. As the plurality of functional units illustrated in FIG. 7 operate organically with each other, element information may be generated and stored in the CSCI storage unit 432. The type of element information may be different for each encoding standard, which is obvious to those skilled in the art. Accordingly, hereinafter, the parsing function group 700 integrated into a plurality of functional units or a single functional unit may be used to generate element information and store the element information in the CSCI storage unit 432 of the second decoder description included in the extended bitstream. The organic relationship between the partial decoder descriptions will be described.

먼저, SET(660)는 아래 표 6에서 보여지는 바와 같이, 입력된 종래 비트스트림(316)의 신택스(syntax)들에 대한 정보에 의해 구성된 부분 디코더 디스크립션이다. First, SET 660 is a partial decoder description configured by information on the syntaxes of the input conventional bitstream 316, as shown in Table 6 below.

표 6. SET(Syntax Element Table)Table 6. Syntax Element Table (SET)

IndexIndex Element NameElement Name InputInput Process by SET-PROCProcess by SET-PROC S0S0 Visual object sequence start codeVisual object sequence start code 32 bit32 bit READ 32 B; (IBS==HEX:1B0)>>;READ 32 B; (IBS == HEX: 1B0) >>; S1S1 Profile and level indicationProfile and level indication 8 bit8 bit READ 8>>;READ 8 >>; S2S2 Visual object sequence end codeVisual object sequence end code 32 bit32 bit READ 32 B; ((IBS==HEX:1B1) || (EOF))>>;READ 32 B; ((IBS == HEX: 1B1) || (EOF)) >>;

위의 표 6에 예시된 바와 같이, SET(660)는 각 신택스에 대한 인덱스(index), 엘리먼트 정보의 명칭(Element Name), 입력 데이터(input data) 및 SET-프로세스(process by SET-PROC) 정보를 포함한다. 여기서 인덱스는 S-RT(670)에서 사용되는 각 신택스를 구분하는 구분자(S)이다. As illustrated in Table 6 above, SET 660 includes an index for each syntax, an Element Name of element information, input data, and a process by SET-PROC. Contains information. In this case, the index is a delimiter S for distinguishing each syntax used in the S-RT 670.

엘리먼트 명칭은 신택스의 이름으로, 신택스의 의미나 역할에 따라 명명될 수 있다. 입력 데이터는 종래 비트스트림(316)에서 한 번에 입력되는 명목적 비트 길이이다. SET-프로세스는 각 비트스트림 신택스를 입력 받아 어떤 가공 절차를 거쳐 출력 데이터인 엘리먼트 정보를 생성할 것인지의 과정을 기술한다. 참고로, 인덱스 S0에 상응하는 SET-프로세스 "READ 32 B; (IBS==HEX:1B0)>>;"는 32비트를 독출하여 "(IBS==HEX:1B0)"를 만족하면 해당 정보를 출력(>>)하라는 의미이다. 출력 데이터는 엘리먼트 정보(즉, CSCI 정보(C))로서, S-RT(670)의 Syntax #ID를 참조하여 S-RT(670)에 규정된 CSCI 정보(예를 들어, CH0.C1 등)로 CSCI 저장부(432)에 저장된다. The element name is a name of a syntax and may 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 SET-process describes the process of receiving each bitstream syntax and what processing procedure to generate element information, which is output data. For reference, the SET-process "READ 32 B; (IBS == HEX: 1B0) >>;" corresponding to index S0 reads 32 bits and satisfies the information when "(IBS == HEX: 1B0)" is satisfied. It means to output (>>). The output data is element information (ie, CSCI information (C)), and CSCI information (for example, CH0.C1, etc.) specified in the S-RT 670 with reference to the Syntax #ID of the S-RT 670. It is stored in the CSCI storage unit 432.

SET(660)는 textual description이나 binary description(비트 변환된 바이너리 코드 형태) 등의 기술 방식으로 기술될 수 있을 뿐 아니라, 상기 부분 디코더 디스크립션 중 필요한 최소한의 데이터가 유사 스크립트 언어로 기술될 수도 있다.The SET 660 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(670)는 아래 표 7에서 보여지는 바와 같이, 종래 비트스트림(316) 내의 각 신택스간의 계층 및 연결 정보를 나타낸 것이다. 즉, S-RT(670)는 상위 계층이 하위 계층의 신택스를 호출하고 다음 신택스로 이동하도록 지시하는 정보를 가진다. 파싱 기능군(700)은 syntax 파싱 제어 정보 중 S-RT(670)에 상응하는 정보를 이용하여 종래 비트스트림(316)을 읽어 들이거나 엘리먼트 정보가 CSCI 저장부(432)에 저장 및/또는 갱신되는 순서를 규정한다. 도 10에 예시된 바와 같이, S-RT(670)를 참조하여 파싱 기능군(700)은 여러 개의 쓰레드(thread)로 구성되어 상위의 쓰레드가 하위의 쓰레드를 호출할 수 있으므로, 계층별 Syntax 파싱이 수행될 수 있다.Next, as shown in Table 7 below, the S-RT 670 shows layer and connection information between each syntax in the conventional bitstream 316. That is, the S-RT 670 has information instructing the higher layer to call the syntax of the lower layer and move to the next syntax. The parsing function group 700 reads the conventional bitstream 316 using the syntax parsing control information corresponding to the S-RT 670 or stores and / or updates element information in the CSCI storage unit 432. Define the order in which As illustrated in FIG. 10, the parsing function group 700 is composed of a plurality of threads with reference to the S-RT 670, so that the upper thread can call the lower thread. This can be done.

표 7. S-RT(Syntax Rule Table)Table 7. Syntax Rule Table (S-RT)

Decoding HierarchyDecoding Hierarchy IndexIndex Syntax #IDSyntax #ID CSCICSCI Branch InformationBranch Information NoteNote SH0SH0 SH0.SR1SH0.SR1 S0S0 CH0.C1, CH0.C0CH0.C1, CH0.C0 1: (CH0.C0==1) GO SR2; 2: GO ERR;1: (CH0.C0 == 1) GO SR2; 2: GO ERR; VS Start CodeVS Start Code SH0.SR2SH0.SR2 S1S1 1: GO SR3;1: GO SR3; SH0.SR4SH0.SR4 S5S5 While (conditions) { CALL SH1[CH0.C6]; CH0.C6++; }While (conditions) {CALL SH1 [CH0.C6]; CH0.C6 ++; } SH1SH1 SH1.SR1SH1.SR1 S6S6 1: (CH0.C0==1) GO SR2; 2: GO ERR;1: (CH0.C0 == 1) GO SR2; 2: GO ERR; GOP Start CodeGOP Start Code SH1.SR2SH1.SR2 S7S7 1: ([CH1.C13]==1 && [CH1.C14]==1) SR3; 2: GO SR4;1: ([CH1.C13] == 1 && [CH1.C14] == 1) SR3; 2: GO SR4; SH2SH2

위의 표 7에 예시된 바와 같이, S-RT(670)는 각 신택스의 계층 구분(Decoding Hierarchy), 인덱스(R), 신택스의 아이디(Syntax #ID), 입력 데이터(CSCI), 분기 정보(Branch Information)를 포함한다. As illustrated in Table 7 above, the S-RT 670 includes a decode hierarchy, an index R, a syntax ID (Syntax #ID), input data (CSCI), and branch information of each syntax. Branch Information).

인덱스(R)은 각 연결 정보(Rule)를 구분하도록 한다. 신택스의 인덱스(S)는 각 계층 내에서 특정 연결 인덱스에서 처리할 신택스를 지정하므로, 파싱 기능군(700)은 syntax 파싱 제어 정보 중 SET(660)에 상응하는 정보를 참조하여 해당 신택스에 대해 지정된 프로세스를 수행한다. The index R distinguishes each connection information rule. Since the index S of the syntax specifies a syntax to be processed by a specific connection index within each layer, the parsing function group 700 refers to the syntax parsing control information corresponding to SET 660 and specifies the syntax. Perform the process.

입력 데이터는 해당 연결 인덱스에서의 연결 제어를 위한 조건 판단에 사용될 엘리먼트 정보의 목록을 나타낸다. SET(660)에 의한 프로세스의 결과가 Syntax #ID에 상응하는 입력 데이터의 명칭으로 저장됨은 앞서 설명한 바와 같다.The input data represents a list of element information to be used for determining a condition for connection control in the corresponding connection index. The result of the process by the SET 660 is stored as the name of the input data corresponding to the Syntax #ID as described above.

분기 정보는 다음에 어떤 연결 인덱스를 처리할 것인지를 결정하도록 하는 조건 판단 알고리즘이다. 분기 정보에 의해 어떤 순서에 따라 어떤 내용을 읽어 들일지가 직접적으로 판단될 수 있다. 분기의 수가 1인 경우(예를 들어, Syntax #ID가 S1인 경우)에는 입력 데이터가 존재하지 않을 수 있다. Branch information is a condition determination algorithm that determines which connection index to process next. The branch information can directly determine which contents are read in what order. When the number of branches is 1 (for example, when the Syntax #ID is S1), input data may not exist.

S-RT(670)는 textual description이나 binary description(비트 변환된 바이너리 코드 형태) 등의 기술 방식으로 기술될 수 있을 뿐 아니라, 상기 부분 디코더 디스크립션 중 필요한 최소한의 데이터가 유사 스크립트 언어로 기술될 수도 있다.The S-RT 670 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. .

마지막으로, DVT(680)는 아래 표 8에서 보여지는 바와 같이, 각 부호화기/복호화기에서 사용하는 허프만 테이블(Huffman table) 정보가 기록된 부분 디코더 디스크립션이다. MPEG-1/2/4/AVC에서는 각 부호화 시 엔트로피 코딩(entropy coding)을 수행한다. 이 때 주로 허프만 코딩(Huffman coding) 방법이 이용되며, 이 경우 이용되는 정보가 허프만 테이블(Huffman table)이다. 다양한 표준에 의해 부호화된 비트스트림의 디코딩을 위한 통합 코덱을 구현하기 위해서는 각 복호 시 해당 복호화기에서 사용될 허프만 테이블(Huffman table) 정보가 제공되어야 한다. 따라서, 본 발명에 따른 디코더 디스크립션 내에 신택스 파싱시 각 신택스(syntax)에 해당하는 허프만 테이블(Huffman table) 정보가 포함된다. 물론, 각 표준에 상응하는 허프만 테이블 정보가 이미 디스크립션 저장부(410)에 기록되어 있는 경우 DVT(680)의 전송은 생략되거나, 허프만 테이블 정보의 지정을 위해 코덱 번호(Codec #)와 프로파일 및 레벨 번호(Profile and level #)만이 포함될 수도 있을 것이다.Finally, DVT 680 is a partial decoder description in which Huffman table information used in each encoder / decoder is recorded, as shown in Table 8 below. 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 an integrated codec for decoding a bitstream encoded by various standards, Huffman table information to be used in a corresponding decoder must be provided at each decoding. Therefore, Huffman table information corresponding to each syntax is included in the syntax of the decoder according to the present invention. Of course, if Huffman table information corresponding to each standard is already recorded in the description storage unit 410, transmission of the DVT 680 is omitted, or codec number (Codec #), profile and level for designation of Huffman table information. Only numbers (Profile and level #) may be included.

표 8. DVT(Default Value Table)Table 8. Default Value Table

namename valuevalue codecode MCBPCMCBPC 00 1One MCBPCMCBPC 1One 001001 MCBPCMCBPC 22 010010 MCBPCMCBPC 99 NULLNULL CBPYCBPY 00 00110011 CBPYCBPY 1One 0010100101 CBPYCBPY 1717 000001000001 CBPYCBPY 1818 NULLNULL intraDCyintraDCy 00 011011 intraDCyintraDCy 1One 1111 intraDCyintraDCy 1212 0000000000100000000001 intraDCyintraDCy 1313 NULLNULL intraDCcintraDCc 00 1111 intraDCcintraDCc 1One 1010 intraDCcintraDCc 1313 NULLNULL DCT intraDCT intra 00 1010 DCT intraDCT intra 1One 11111111 DCT intraDCT intra 101101 000001011111000001011111 DCT intraDCT intra 102102 00000110000011 DCT intraDCT intra 103103 NULLNULL

표 8에 예시된 바와 같이, DVT(680)는 각 허프만 테이블에 대한 이름(name), 허프만 코딩에 의해 압축되어 출력되는 실제 값(value) 및 압축된 실제 값이 종래 비트스트림(316)에 저장될 때 사용되는 코드 값(code)을 포함한다. 예를 들어, MCBPC 값을 압축하여 3이란 실제 값(value)을 얻었다면, 허프만 테이블 매핑(Huffman table mapping) 작업(예를 들어, SET(660)의 PROCESS 부분)에 의해 종래 비트스트림(316)에는 코드 값(code) 011이 기록된다. 다른 예로서, SET(660)의 특정 인덱스의 Process 부분에 VLD[1]이라 기록되어 있다면 VLD라는 함수를 호출하여, 해당 함수에 의해 미리 지정된 길이(고정길이 또는 가변 길이)만큼 종래 비트스트림(316)을 읽어 코드 값(code)값을 얻은 후 허프만 테이블 매핑(Huffman table mapping) 작업에 의해 상응하는 실제 값(value)을 얻을 수 있다. 이 때 사용되는 Huffman table은 [1], 즉 1번째 테이블인 CBPY이다.As illustrated in Table 8, the DVT 680 stores a name for each Huffman table, an actual value compressed and output by Huffman coding, and a compressed actual value in the conventional bitstream 316. Contains the code value to be used when 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 SET 660). The code value 011 is recorded. As another example, if VLD [1] is recorded in the Process part of a specific index of SET 660, a conventional function called VLD is called, and the conventional bitstream 316 by a predetermined length (fixed length or variable length) by the function is called. ), You can get the code value and then get the corresponding actual value by Huffman table mapping. The Huffman table used at this time is [1], that is, the first table, CBPY.

DVT(680)는 textual description이나 binary description(비트 변환된 바이너리 코드 형태) 등의 기술 방식으로 기술될 수 있을 뿐 아니라, 상기 테이블 중 필요한 최소한의 데이터가 유사 스크립트 언어로 기술될 수도 있다.The DVT 680 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 table 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), (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(470)는 아래와 같이 binary description될 수 있다.As another example, the DVT 470 may be binary described as follows.

00000011111111111111111111111110111110000110001100100011010000110110010000010011000000100110000010001100000110100100000000100000111110010000110010100101001010010000100100100101000110010001110011000001000100101100101000100011000001100100010100100101000100010000100100000100011000010110011000000000110000 00100000111110001101100010110001010000110100001100100100000100101000010011000000100111000000101000000000010100100000000101010000000000101011000000000010000011111000101100010100001001000110010010000010010100001001100000010…00000011111111111111111111111110111110000110001100100011010000110110010000010011000000100110000010001100000110100100000000100000111110010000110010100101001010010000100100100101000110010001110011000001000100101100101000100011000001100100010100100101000100010000100100000100011000010110011000000000110000 00100000111110001101100010110001010000110100001100100100000100101000010011000000100111000000101000000000010100100000000101010000000000101011000000000010000011111000101100010100001001000110010010000010010100001001100000010 ...

각 부분 디코더 디스크립션들은 binary description됨으로써 저장 공간을 감소시키고, 처리 효율을 증진시키며, 디코더 디스크립션을 포함한 확장 비트스트림(305) 전송 시간을 감소시킬 수 있는 장점이 있다. 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 decoder description by the binary description.

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

먼저, 연결 제어부(434)는 연결 제어 정보 중 F-RT(620)에 상응하는 정보를 참조하여 최상위 계층의 기능부들을 호출한다. 호출된 기능부들은 처리를 위해 필요한 CSCI 정보 및/또는 데이터가 파싱 기능군(700)에 의해 CSCI 저장부(432)에 저장될 때까지 대기한다.First, the connection controller 434 calls the functional units of the highest layer with reference to the information corresponding to the F-RT 620 among the connection control information. The called functions wait until the CSCI information and / or data necessary for processing are stored in the CSCI storage 432 by the parsing function group 700.

파싱 기능군(700)은 syntax 파싱 제어 정보 중 S-RT(670)의 규칙 정보(Rule)들에 상응하는 정보를 참조하여 최상위 계층에 해당하는 Syntax를 읽고, SET(660, 즉 syntax 파싱 제어 정보 중 SET에 상응하는 정보)에 의해 VS Start Code임을 인식하고, 종래 비트스트림(316)에서 상응하는 비트(즉, SET(660)에 입력값으로 설정된 32비트)를 읽어 SET 프로세스 수행에 따른 출력값(즉, 엘리먼트 정보로서, C0)을 S-RT(670)에 규정된 입력 데이터(CSCI)의 명칭으로 CSCI 저장부(432)에 저장한다. CSCI 저장부(432)에 저장된 당해 엘리먼트 정보가 무엇인지 또한 어떤 계층에서 이용되는지는 CSCIT(640)에 기재되어 있다. 이어서, 파싱 기능군(700)은 CSCI 저장부(432)에 저장된 엘리먼트 정보(즉, C0)를 S-RT(670)의 상응하는 분기 정보에 대입하고, 그 결과에 상응하는 인덱스의 처리를 위해 진행한다. 예를 들어, 인덱스 SH0.SH1에 상응하는 분기 정보는 'CH0.C0==1'이므로 이를 만족하면 SH0 계층 내의 인덱스 SR2으로 진행할 것이고, 그렇지 않으면 Error 처리한다. The parsing function group 700 reads the syntax corresponding to the highest layer by referring to the information corresponding to the rule information of the S-RT 670 among the syntax parsing control information, and sets SET 660, that is, syntax parsing control information. Recognizing that it is VS Start Code by the information corresponding to the SET, and reading the corresponding bit (that is, 32 bits set as the input value in the SET 660) in the conventional bitstream 316, the output value ( That is, as element information, C0 is stored in the CSCI storage unit 432 under the name of input data (CSCI) defined in the S-RT 670. The CSCIT 640 describes what element information is stored in the CSCI storage 432 and in which layers it is used. The parsing function group 700 then substitutes the element information (i.e., C0) stored in the CSCI storage 432 into the corresponding branch information of the S-RT 670, and processes the index corresponding to the result. Proceed. For example, since the branch information corresponding to the index SH0.SH1 is 'CH0.C0 == 1', if this is satisfied, the branch information corresponds to the index SR2 in the SH0 layer.

그러나, 파싱 기능군(700)이 SET(660, 즉 syntax 파싱 제어 정보 중 SET에 상응하는 정보)를 이용하여 엘리먼트 정보를 생성하여 CSCI 저장부(432)에 저장하는 과정에서, VLD 함수가 호출되면(예를 들어, SET(660)의 인덱스 S74) DVT(680, 즉 syntax 파싱 제어 정보 중 DVT에 상응하는 정보)를 이용하여 엔트로피 디코딩을 수행한다. 이 과정에서 엘리먼트 정보가 생성되면 CSCI 저장부(432)에 저장한다. However, when the parsing function group 700 generates element information using the SET 660 (that is, information corresponding to the SET in the syntax parsing control information) and stores the element information in the CSCI storage unit 432, when the VLD function is called. (Eg, index S74 of SET 660) entropy decoding is performed using DVT 680 (ie, information corresponding to DVT in syntax parsing control information). When the element information is generated in this process, it is stored in the CSCI storage unit 432.

파싱 기능군(700)에 의해 엘리먼트 정보 또는/및 데이터가 CSCI 저장부(432)에 저장되는 동안 로드된 각각의 디코딩 기능부들은 미리 지정된 프로세스의 수행을 위해 필요한 엘리먼트 정보 또는/및 데이터가 모두 저장되었는지 여부를 확인한다. 해당 기능부는 모두 저장되었는지 여부를 FU-CSCIT(630, 즉 연결 제어 정보 중 FU-CSCIT에 상응하는 정보)를 참조하여 확인할 수 있다. 또한, 해당 엘리먼트 정보들이 무엇인지는 CSCIT(640)와의 매핑(mapping)을 통해 인식할 수 있다. 필요한 엘리먼트 정보들 또는/및 데이터가 모두 저장된 기능부는 미리 지정된 프로세스의 수행을 개시하여, 처리된 결과 데이터를 CSCI 저장부(432)에 저장한다.Each decoding function loaded while the element information or / and data is stored in the CSCI storage 432 by the parsing function group 700 stores all the element information or / and data necessary for performing a predetermined process. Check if it is Whether all of the corresponding functional units are stored may be checked with reference to the FU-CSCIT (ie, information corresponding to the FU-CSCIT in the connection control information). In addition, what the corresponding element information may be recognized through mapping with the CSCIT 640. The function unit, which stores all necessary element information and / or data, starts performing a predetermined process, and stores the processed result data in the CSCI storage unit 432.

앞서 설명한 바와 같이, 기능부들은 계층 구조 단위로 순차적 활성화 또는 호출될 수 있다. 계층 구조 단위의 활성화는 예를 들어 현재 어떤 계층에서 필요한 엘리먼트 정보 또는/및 데이터의 처리가 완료되었는지 여부를 감시하는 연결 제어 부(434)에 의해 제어될 수 있다. 호출된 기능부들은 미리 지정된 프로세스의 수행을 위해 필요한 엘리먼트 정보 또는/및 데이터의 저장이 인식되면 이를 독출하여 처리한다. 이러한 과정을 통해 각 기능부들이 순차적으로 또는 병렬적으로 연결되어 처리를 수행하는 것과 동일한 효과가 발생된다.As described above, the functional units may be sequentially activated or called in hierarchical units. Activation of the hierarchical unit may be controlled by the connection control unit 434 which monitors, for example, whether processing of the element information or / and data necessary in the current layer is completed. The called function units read and process the element information or data stored therein when it is recognized to perform a predetermined process. This process produces the same effect as each functional unit is connected sequentially or in parallel to perform the processing.

동영상 데이터로의 변환을 위해 필요한 모든 기능부들의 계층이 모두 활성화됨으로써 디코딩 처리 유닛(320)는 입력된 종래 비트스트림(316)에 상응하는 동영상 데이터를 출력할 수 있다.Since all the layers of all the functional units necessary for the conversion to the video data are activated, the decoding processing unit 320 may output the video data corresponding to the input conventional bitstream 316.

도 15는 본 발명의 일 실시예에 따른 syntax 파싱 및 데이터 디코딩의 병렬 처리를 개념적으로 나타낸 도면이다. 도 15에 도시된 바와 같이, 상술한 연결 제어 정보 또는/및 syntax 파싱 제어 정보를 이용하면 파싱 기능군(700)에 의한 Syntax 파싱과 디코딩 기능군(800)에 의해 데이터 디코딩이 개별적(독립적)으로 수행될 수 있다. 즉, 데이터 디코딩을 위해 각 기능부에서 필요로하는 엘리먼트 정보 및/또는 데이터가 CSCI 저장부(432)에 저장되기만 하면 해당 기능부는 미리 지정된 프로세스를 수행할 수 있다. 또한, 디코딩 처리를 수행하는 디코딩 기능군(800) 내의 각 기능부간에도 타 기능부의 결과 데이터가 입력 데이터로 이용되는 관계가 아니라면 각 기능부간에도 독립적인 기능 수행이 가능하다.15 is a diagram conceptually illustrating parallel processing of syntax parsing and data decoding according to an embodiment of the present invention. As shown in FIG. 15, when the above-described connection control information and / or syntax parsing control information are used, data decoding is separately (independently) performed by the syntax parsing and decoding function group 800 by the parsing function group 700. Can be performed. That is, as long as element information and / or data required by each functional unit for data decoding are stored in the CSCI storage unit 432, the corresponding functional unit may perform a predetermined process. In addition, an independent function may be performed between each function unit unless the result data of another function unit is used as input data among the respective function units within the decoding function group 800 which performs the decoding process.

따라서, 본 발명에 따른 복호화기(300)는 Syntax 파싱이 모두 완료된 후 디코딩 기능군(800)가 동작 개시되도록 제약되지 않으며, 파싱 기능군(700)과 디코딩 기능군(800)의 개별적인 처리가 가능하며, 또한 디코딩 기능군(800) 내의 기능부들 간에도 개별적인 처리가 가능한 장점이 있다. 이는, 디코딩 솔루션(430) 내에 파싱 기능부(510)을 구비하도록 하거나, 하나 이상의 작업 메모리에 복수의 기능부들이 로드되도록 함으로써 구현될 수 있을 것이다. Therefore, the decoder 300 according to the present invention is not restricted to start the decoding function group 800 after all syntax parsing is completed, and the processing of the parsing function group 700 and the decoding function group 800 is possible separately. In addition, there is an advantage that can be processed separately between the functional units in the decoding function group (800). This may be implemented by having a parsing function 510 in the decoding solution 430 or by having a plurality of functional parts loaded into one or more working memories.

상술한 바와 같이, 본 발명에 따르면 종래의 표준(즉, 코덱)에서 제공하는 기능부들을 사용하여 기존의 프로파일(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, a new decoder may be implemented using a new function unit. That is, various and unlimited decoder implementations are possible.

다만, 새로운 기능부(Functional Unit)를 툴 박스(510)에 추가하는 경우, 해당 기능부에 대한 알고리즘(즉, 기능부에 대한 디스크립션)을 추가하고 해당 정보를 FL(610)에 추가하여야 할 것이다. 이 경우 상기 알고리즘에 대한 컴파일(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 610. . 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 decoder description together.

또한, 본 발명의 다른 장점으로는 비트스트림의 신택스(syntax)가 변경되거나 새롭게 추가 될지라도, S-RT(670)에 해당 정보의 수정 또는 추가 정보의 삽입만으로도 능동적 대응이 가능하도록 할 수 있다. 또한 비트스트림 레벨(bit stream-level), 프레임 레벨(frame-level), 매크로블록 레벨(MB-level) 등의 처리 단위로 사용자가 원하는 기능을 선별하여 F-RT(620)를 구성함으로써 해당 복호화기의 디코딩 기능군(800) 기능부들의 연결 관계를 설정할 수 있는 장점도 있다.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 670 may enable active response only by modifying the corresponding information or inserting additional information. In addition, the F-RT 620 is configured by selecting a function desired by the user in units of processing such as a bit stream level, a frame level, and a macroblock level (MB-level). There is also an advantage in that the connection relationship between the decoding function group 800 functional units can be set.

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

앞서 예시한 각 표들에는 각 부분 디코더 디스크립션들에서 이용되는 명령어들이 예시되어 있다. 예시된 각각의 명령어들을 이용하여 MPEG-2/MPEG-4/MPEG-4 AVC 등과 같은 표준의 syntax를 파싱하기 위한 정보(즉, 부분 디코더 디스크립션)를 구성 할 수 있다. In each of the above-exemplified tables, instructions used in respective partial decoder descriptions are illustrated. Each of the illustrated instructions can be used to construct information (ie, partial decoder description) for parsing a standard syntax such as MPEG-2 / MPEG-4 / MPEG-4 AVC.

각 부분 디코더 디스크립션들을 구성하기 위한 명령어들로는 READ, SEEK, FLUSH, IF, WHILE, UNTIL, DO~WHILE, DO~UNTIL, BREAK, SET, STOP, PUSH 등이 있을 수 있다. 물론, 모든 명령어가 각 부분 디코더 디스크립션 내에 모두 이용되어야 하는 것은 아니며, 각 부분 디코더 디스크립션별로 임의의 명령어가 선택적으로 이용될 수 있음은 자명하다. 이하, 각 명령어의 용도를 간략히 설명하도록 한다.Instructions for configuring each partial decoder description may 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 the WHILE statement to execute a block before determining the 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 SR#;;인 경우 SR#으로 분기하라는 명령이며, GO RT는 호출한 곳으로 복귀(return)하라는 명령이다.Next, GO tells you to branch to the specified location. For example, GO SR # ;; is a command to branch to SR #, 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.

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

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

표 9. Stream IdentifierTable 9. Stream Identifier

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

도 16에 예시된 바와 같이, 확장 비트스트림(305)은 디코더 디스크립션으로서, 테이블 정보를 포함하지 않음을 표시하는 SI(1610, 즉 00), 코덱 번호(Codec #, 1620)과 프로파일 및 레벨 번호(Profile and level #, 1630)을 포함할 수 있다. As illustrated in FIG. 16, the extended bitstream 305 is a decoder description and includes an SI 1610 (that is, 00), a codec number (Codec #, 1620), and a profile and level number (indicative of not including table information). Profile and level #, 1630).

이는 부분 디코더 디스크립션들을 생성하기 위한 정보를 보내지 않고 디스크립션 저장부(410)에 이미 저장된 부분 디코더 디스크립션들을 사용하는 경우이다. 해당 종래 비트스트림(316)이 어떤 코덱과 프로파일 및 레벨을 사용하는지에 대한 기본 정보만 보낼지라도, 디코딩 처리 유닛(320)은 지시된 부분 디코더 디스크립션들을 이용하여 복호화할 수 있다.This is the case when partial decoder descriptions already stored in the description storage unit 410 are used without sending information for generating partial decoder descriptions. 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(660), CSCIT(640), FL(610), FU-CSCIT(630), DVT(680) 등이 적용 표준(즉, 코덱)별로 기술되고, F-RT(420), S-RT(460) 등은 각 적용 표준의 프로파일(profile) 별로 기술 될 수 있다(표 10 및 11 참조). For this purpose, SET 660, CSCIT 640, FL 610, FU-CSCIT 630, DVT 680, 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 each applicable standard (see Tables 10 and 11).

표 10. 코덱별 테이블 구분Table 10. Table breakdown by codec

표준Standard 테이블 구분Table separator 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

표 11. Profile and level별 테이블 구분Table 11.Table Classification by Profile and Level

SISI 테이블 구분Table separator 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)은 이에 해당하는 테이블들을 참조하여 복호화 작업을 수행할 수 있다.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 and transmitted, the decoding processing unit 320 may perform a decoding operation with reference to tables corresponding thereto.

또한, 도 17에 예시된 바와 같이, 확장 비트스트림(305)에는 앞서 설명한 모든 부분 디코더 디스크립션들에 상응하는 인코딩된 디코더 디스크립션(313)이 구비될 수도 있다. 이 경우, SI(810)는 표 9를 참조할 때 01로 설정될 것이다. 각 테이블들은 테이블 식별자(TI, Table Identifier)(1710), 테이블 시작 코드(TS Code, Table Start Code)(1720), 테이블 디스크립션(TD, Table Description)(1730), 테이블 종료 코드(TE Code, Table End Code)(1740)를 포함할 수 있다. 테이블 식별자(1710)와 테이블 시작 코드(1720)의 순서는 변경될 수 있으며, 테이블 디스크립션(1730)은 바이너리 디스크립션 형태로 기술될 수 있다. 물론, 각 테이블들의 순서는 변경될 수 있다. In addition, as illustrated in FIG. 17, the extended bitstream 305 may be provided with an encoded decoder description 313 corresponding to all the partial decoder descriptions described above. In this case, the SI 810 will be set to 01 when referring to Table 9. Each table has a table identifier (TI) 1710, a table start code (TS Code), a table start code (1720), a table description (TD, Table Description) 1730, and a table end code (TE Code, Table). End Code) 1740. The order of the table identifier 1710 and the table start code 1720 may be changed, and the table description 1730 may be described in the form of a binary description. Of course, the order of each table can be changed.

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

또한, 도 19에 예시된 바와 같이, 확장 비트스트림(305)은 부분 디코더 디스크립션에 대한 디코더 디스크립션(DD-T, 1910)과 갱신 정보를 더 포함할 수 있다. 부분 디코더 디스크립션에 대한 디코더 디스크립션(1910)은 앞서 관련 도면을 참조하여 설명한 부분 디코더 디스크립션들 중 어느 하나일 수 있으며, SI(1610)는 상응하는 값으로 설정될 것이다. 갱신 정보는 갱신 시작 코드(RS code, Revision Start code)(1920)와 갱신 내용(Revision, 1930)을 포함할 수 있다.In addition, as illustrated in FIG. 19, the extended bitstream 305 may further include decoder description (DD-T) 1910 and update information for the partial decoder description. The decoder description 1910 for the partial decoder description can be any of the partial decoder descriptions described above with reference to the associated figures, and the SI 1610 will be set to the corresponding value. The update information may include an update start code (RS code) and an update content (Revision 1930).

갱신 내용(1930)은 임의의 부분 디코더 디스크립션의 규칙 정보(Rule)을 추가하거나 삭제하거나 갱신하는 등의 내용일 수 있다. 그 형태는 'insert index into table-name (…);', 'delete index from table-name;', 'update index in table-name(…);' 등일 수 있다. 예를 들어, SET#4에 S100을 추가하고자 하는 경우, 갱신 내용(1230)은 'insert S100 into SET#4 ("READ 1;IF(IBS==1){SET C31;}");'등의 형태로 구성될 수 있다. The update content 1930 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 the like. For example, if you want to add S100 to SET # 4, the update 1230 is 'insert S100 into SET # 4 ("READ 1; IF (IBS == 1) {SET C31;}");' It may be configured in the form of.

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

상술한 바와 같이, 본 발명에 따르면 종래의 표준(즉, 코덱)에서 제공하는 기능부들을 사용하여 기존의 프로파일(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, a new decoder may be implemented using a new function unit. That is, various and unlimited decoder implementations are possible.

다만, 새로운 기능부(Functional Unit)를 툴박스(415)에 추가하는 경우, 해당 기능부에 대한 알고리즘(즉, 기능부에 대한 디스크립션)을 추가하고 해당 정보를 FL(610)에 추가하여야 할 것이다. 이 경우 상기 알고리즘에 대한 컴파일(compile) 과정이 추가적으로 필요할 수도 있다.However, when adding a new functional unit (Functional Unit) to the toolbox 415, the algorithm for the functional unit (that is, description of the functional unit) will have to add the information to the FL (610). 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.

상술한 바와 같이, 본 발명은 디코더 디스크립션이 함께 제공되도록 함으로써 종래 비트스트림(316)이 부호화된 부호화 방식에 관계없이 동일한 정보 해석 방법으로 각 기능부들을 유기적으로 연결하고 제어할 수 있는 장점을 가진다.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 conventional bitstream 316 is provided by providing the decoder description together.

또한, 본 발명의 다른 장점으로는 비트스트림의 신택스(syntax)가 변경되거나 새롭게 추가 될지라도, S-RT(670)에 해당 정보의 수정 또는 추가 정보의 삽입만으로도 능동적 대응이 가능하도록 할 수 있다. 또한 비트스트림 레벨(bit stream-level), 프레임 레벨(frame-level), 매크로블록 레벨(MB-level) 등의 처리 단위로 사용자가 원하는 기능을 선별하여 F-RT(620)를 구성함으로써 해당 복호화기의 디코딩 처리 유닛(320) 기능부들의 연결 관계를 설정할 수 있는 장점도 있다.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 670 may enable active response only by modifying the corresponding information or inserting additional information. In addition, the F-RT 620 is configured by selecting a function desired by the user in units of processing such as a bit stream level, a frame level, and a macroblock level (MB-level). There is also an advantage in that the connection relationship of the decoding processing unit 320 functional units can be set.

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

본 발명에 따른 확장 비트스트림(305)은 인코딩된 디코더 디스크립션(313)과 종래 비트스트림(316)으로 구성된다. 종래 비트스트림(316)이 코딩된 비디오 데이터(또는/및 코딩된 오디오 데이터)로 구성됨은 당업자에게 자명하다.The extended bitstream 305 according to the present invention consists of an encoded decoder description 313 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).

여기서, 인코딩된 디코더 디스크립션(313)은 종래 비트스트림(316)을 디코딩하기 위해 적용될 코덱 특성에 따라 상이한 구조로 형성될 수 있다. 즉, 첫번째, 종래에 표준화된 하나의 코덱을 사용하는 경우 제1 디코더 디스크립션 구조가 적용될 수 있다.Here, the encoded decoder description 313 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.

두번째, 종래에 표준화된 하나의 코덱 중 일부 내용을 수정하여 사용(즉, 상술한 부분 디코더 디스크립션들 중 일부 부분 디코더 디스크립션은 해당 코덱에 상응하는 부분 디코더 디스크립션 내용을 그대로 사용하고 다른 일부 부분 디코더 디스크립션들을 수정하여 사용)하는 경우 제2 디코더 디스크립션 구조가 적용될 수 있다.Secondly, 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 above-described partial decoder descriptions may use the partial decoder description content corresponding to the corresponding codec as it is and other partial decoder descriptions may be used. The second decoder description structure may be applied.

세번째, 종래에 표준화된 복수의 코덱의 테이블 정보를 가공하여 사용(즉, 상술한 부분 디코더 디스크립션들 중 일부 테이블들은 종래의 복수 코덱의 부분 디코더 디스크립션 내용을 선택적으로 사용하고 다른 일부 부분 디코더 디스크립션들은 수정하여 사용)하는 경우 제3 디코더 디스크립션 구조가 적용될 수 있다.Third, process and use table information of a plurality of codecs that have been standardized in the prior art (i.e., some tables of the above-described partial decoder descriptions selectively use the content of partial decoder descriptions of the conventional plurality of codecs and modify other partial decoder descriptions. Third decoder description structure may be applied.

네번째, 종래에 표준화되지 않은 새로운 코덱을 사용(즉, 새로운 내용으로 구성된 상술한 부분 디코더 디스크립션들을 모두 포함하여 전송)하는 경우 제4 디코더 디스크립션 구조가 적용될 수 있다.Fourth, the fourth decoder description structure may be applied when using a new codec that is not conventionally standardized (i.e., transmitting all of the above-described 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".

도 20에 제1 디코더 디스크립션 구조가 예시되어 있다. 제1 디코더 디스크립션 구조에 따를 때, 인코딩된 디코더 디스크립션(313)은 코덱 타입(codec_type)(2010), 코덱 번호(codec_num)(2020) 및 프로파일 및 레벨 번호(profile_level_num)(2030)로 구성될 수 있다. 즉, 제1 디코더 디스크립션 구조에 따르면 디코더 디스크립션 영역에는 적용될 코덱에 관한 정보만을 중심으로 기술된다. 도면에는 각 필드가 8비트인 것으로 예시되어 있으나, 각 필드의 크기는 표현될 정보의 크기에 따라 가감될 수 있음은 자명하다.A first decoder description structure is illustrated in FIG. 20. According to the first decoder description structure, the encoded decoder description 313 may be composed of a codec type (codec_type) 2010, a codec number (codec_num) 2020, and a profile and level number (profile_level_num) 2030. . 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.

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

도 21에 제2 디코더 디스크립션 구조가 예시되어 있다. 제2 디코더 디스크립션 구조에 따를 때, 인코딩된 디코더 디스크립션(313)은 코덱 타입(codec_type)(2010), 코덱 번호(codec_num)(2020), 프로파일 및 레벨 번호(profile_level_num)(2030) 및 테이블 디스크립션(2110)으로 구성될 수 있다. 즉, 제2 디코더 디스크립션 구조에 따르면 인코딩된 디코더 디스크립션(313)은 적용될 코덱에 관한 정보와 부분 디코더 디스크립션들 중 수정되는 내용을 중심으로 기술된다. 여기서, 테이블 디스크립션은 부분 디코더 디스크립션들 각각에 대해 개 별적으로 구비된다. 즉, 인코딩된 디코더 디스크립션(313)에 복수의 부분 디코더 디스크립션들이 존재할 수 있다.A second decoder description structure is illustrated in FIG. 21. According to the second decoder description structure, the encoded decoder description 313 may include a codec type (codec_type) 2010, a codec number (codec_num) 2020, a profile and level number (profile_level_num) 2030, and a table description 2110. It can be composed of). That is, according to the second decoder description structure, the encoded decoder description 313 is described based on the information about the codec to be applied and the contents which are modified among the partial decoder descriptions. Here, the table description is provided separately for each of the partial decoder descriptions. That is, a plurality of partial decoder descriptions may exist in the encoded decoder description 313.

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

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

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

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

도 22에 제3 디코더 디스크립션 구조가 예시되어 있다. 제3 디코더 디스크립션 구조에 따를 때, 인코딩된 디코더 디스크립션(313)은 코덱 타입(codec_type)(2010) 및 테이블 디스크립션(2110)으로 구성될 수 있다. 즉, 제3 디코더 디스크립션 구조에 따르면 인코딩된 디코더 디스크립션(313)은 적용될 코덱에 관한 정보와 부분 디코더 디스크립션들 중 수정되는 내용을 중심으로 구성된다. 여기서, 테이블 디스크립션은 부분 디코더 디스크립션들 각각에 대해 개별적으로 구비된다. 즉, 인코딩된 디코더 디스크립션(313)은 복수의 부분 디코더 디스크립션들에 관한 것일 수 있다.A third decoder description structure is illustrated in FIG. 22. According to the third decoder description structure, the encoded decoder description 313 may consist of a codec type (codec_type) 2010 and a table description 2110. That is, according to the third decoder description structure, the encoded decoder description 313 is configured based on information about a codec to be applied and contents which are modified among partial decoder descriptions. Here, the table description is provided separately for each of the partial decoder descriptions. That is, encoded decoder description 313 may relate to a plurality of partial decoder descriptions.

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

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

그러나, 테이블 타입(2140)의 값이 1이면 기존 부분 디코더 디스크립션(즉, 코덱 타입(codec_type)(2010), 코덱 번호(codec_num)(2020), 프로파일 및 레벨 번호(profile_level_num)(2030)과 테이블 식별자(2130)에 의해 인식된 부분 디코더 디스크립션)을 일부 수정(즉, 수정 내용으로 정의된 내용으로 수정)하여 사용하도록 인식될 수 있다. 이 경우, 내용(2145) 필드 내에 적용될 테이블에 상응하는 코덱 번호(codec_num), 프로파일 및 레벨 번호(profile_level_num)가 기술되고, 수정 내용 필드에는 수정된 내용(예를 들어, update command 등)이 기술될 수 있다.However, if the value of the table type 2140 is 1, the existing partial decoder description (that is, codec type (codec_type) 2010, codec number (codec_num) 2020), profile and level number (profile_level_num) 2030, and table identifier The partial decoder description recognized by 2130 may be recognized to be partially modified (that is, modified to contents defined as the modified contents). In this case, the codec number (codec_num), profile and level number (profile_level_num) corresponding to the table to be applied in the content 2145 field are described, and the modified content (for example, update command, etc.) is described in the modification field. Can be.

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

도 23에 제4 디코더 디스크립션 구조가 예시되어 있다. 제4 디코더 디스크립션 구조에 따를 때, 인코딩된 디코더 디스크립션(313)은 코덱 타입(codec_type)(2010) 및 테이블 디스크립션(2110)을 포함하여 구성될 수 있다. 즉, 제4 디코더 디스크립션 구조에 따르면 부분 디코더 디스크립션 영역에는 부분 디코더 디스크립션들을 중심으로 기술되며, 테이블 디스크립션은 각 부분 디코더 디스크립션에 대해 개별적으로 구비된다. A fourth decoder description structure is illustrated in FIG. According to the fourth decoder description structure, the encoded decoder description 313 may include a codec type (codec_type) 2010 and a table description 2110. That is, according to the fourth decoder description structure, the partial decoder description area is described around the partial decoder descriptions, and the table description is provided for each partial decoder description separately.

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

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

이하, 인코딩된 디코더 디스크립션(313)의 syntax 구조 및 각 필드의 syntax 구조를 각각의 표로서 예시하기로 한다.Hereinafter, the syntax structure of the encoded decoder description 313 and the syntax structure of each field will be illustrated as respective tables.

표 12. 디코더 디스크립션Table 12. 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) }} }}

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

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

표 14. 테이블 디스크립션Table 14. 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 }}

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

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

표 16. 뉴(new) 디스크립션Table 16. 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.

표 17. 디코더 디스크립션Table 17. Decoder 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.

표 18. 코덱 디스크립션Table 18. 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.

표 19. 테이블 디스크립션(테이블 식별자)Table 19. 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.

표 20. 테이블 디스크립션(테이블 타입)Table 20. 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 an existing table with a 4-bit value, update an existing table, or create a new table. 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.

표 21. 업데이트 커맨드(update_command)를 위한 지시 세트Table 21. 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 table, and table # may be a 32-bit string as a table identifier.

표 22. 뉴 커맨드(new_command)를 위한 지시 세트Table 22. 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.

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

본 발명에 따른 부호화기(2400)는 앞서 도 2를 참조하여 설명한 종래의 부호화기(200)에 비해 확장 비트스트림 생성 및 출력부(2410)를 더 포함한다. 확장 비트스트림 생성 및 출력부(2410)는 전단까지의 처리에 의해 생성된 종래 비트스트림(316) 생성 과정에서의 제어 정보(예를 들어, 사용한 기능부들의 목록 및 연결 관계, 해당 기능부들의 입력 데이터, 신택스 정보, 신택스 연결 정보 등)를 이용하여 디코더 디스크립션 을 생성한다. 또한, 생성된 디코더 디스크립션(313) 및 종래 비트스트림(316)를 이용하여 확장 비트스트림(305)을 생성하여 복호화기(300)로 전 송한다. The encoder 2400 according to the present invention further includes an extended bitstream generation and output unit 2410 as compared to the conventional encoder 200 described with reference to FIG. 2. The extended bitstream generation and output unit 2410 may control information (eg, a list and connection relations of the functional units used, input of the corresponding functional units) in the process of generating the conventional bitstream 316 generated by processing 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 313 and the conventional bitstream 316 and transmitted to the decoder 300.

디코더 디스크립션의 생성 방법은 앞서 설명한 사항만으로 당업자가 충분히 이해할 수 있을 것이므로 이에 대한 설명은 생략한다. 또한, 당업자는 앞서 설명한 사항을 참조할 때, 부호화기(2400) 역시 복수의 기능부들을 포함하는 툴 박스를 구비하도록 하고, 툴 박스 내에 포함된 기능부들의 순차적 조합 또는 유기적 조합을 통해 하나 이상의 부호화 표준에 따른 비트스트림 생성이 가능할 것임을 쉽게 이해할 수 있을 것이다.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. In addition, when a person skilled in the art refers to the foregoing description, the encoder 2400 may also include a tool box including a plurality of functional units, and one or more encoding standards may be provided through sequential or organic combinations of the functional units included in the tool box. It will be readily understood that the bitstream generation according to the present invention will be possible.

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

도 24는 디코더 디스크립션 정보 및 종래 비트스트림(316)을 이용하여 생성한 확장 비트스트림(305)이 복호화기로 제공되는 경우를 가정한 도면이다.FIG. 24 is a diagram illustrating 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) 후단에 인코딩된 디코더 디스크립션(313) 생성 및 출력부(도시되지 않음)가 위치하여, 종래의 인코딩부(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, an encoded decoder description 313 generation and an output unit (not shown) are positioned after the variable length encoding unit 235 to decode the encoded decoder description generated independently of the conventional encoding unit 200. Obviously, it may be provided to the device 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 device and method according to the present invention facilitate the interpretation of syntax elements and control of the connection of functional units 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 decoder description is not described only with information about connection relations of functional units for performing decoding by one standard, processing processes required for the corresponding functional unit, and the like. It is obvious that the information may be described.

예를 들어, 확장 비트스트림에 포함된 인코딩된 비디오 데이터의 초기 복수의 프레임은 MPEG-2로 인코딩되고, 후속하는 복수의 프레임은 MPEG-4로 인코딩되며, 나머지 프레임은 MPEG-1으로 인코딩되었다고 가정하자. 이 경우, 인코딩된 비디오 데이터의 디코딩을 위해 디코더 디스크립션에 포함되는 디코더 디스크립션 정보들은 인코딩 방법을 달리하는 각 프레임들이 툴 박스(510)에 포함된 각 표준에 따른 기능부들이 유기적으로 결합되어 동작될 수 있도록 구현될 것임은 자명하다.For example, assume that an initial plurality of frames of encoded video data included in the extended bitstream are encoded in MPEG-2, subsequent frames are encoded in MPEG-4, and the remaining frames are encoded in MPEG-1. lets do it. In this case, the 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.

또한, 본 발명은 각 표준에 따른 다양한 형식(syntax, semantics)으로 부호 화된 비트스트림을 동일한 정보 인식 방식으로 복호화(decoding)하도록 디코더 디스크립션(decoder description)을 부가한 확장 비트스트림을 생성할 수 있는 효과도 있다.In addition, the present invention is an effect that can generate an extended bitstream with a decoder description (decoder description) to decode the bitstream encoded in various formats (syntax, semantics) according to each standard in the same information recognition method There is also.

또한, 본 발명은 코덱이 가진 계층 구조를 syntax 파싱 및 디코딩 과정에 응용함으로써 보다 효율적으로 디코더 디스크립션을 기술할 수 있도록 하는 효과도 있다.In addition, the present invention has an effect of more efficiently describing the decoder description by applying the hierarchical structure of the codec to the syntax parsing and decoding process.

또한, 본 발명은 디코더 디스크립션을 이용하여 각 코덱의 스케쥴링(scheduling) 관리와 각 기능부들의 유기적 처리 구조(예를 들어, 병렬 결합 구조, 직렬 병합 구조, 독립 처리 구조, 개별적 처리 구조 등)를 제시할 수 있는 효과도 있다.In addition, the present invention proposes scheduling management of each codec and an organic processing structure (eg, a parallel combining structure, a serial merging structure, an independent processing structure, an individual processing structure, etc.) of each codec using a decoder description. There is also an effect that can be done.

또한, 본 발명은 기술된 디코더 디스크립션만으로 다양한 시스템 설계 및 구축이 가능한 효과도 있다.In addition, the present invention has the effect that it is possible to design and build a variety of systems only by the decoder description described.

또한, 본 발명은 다양한 부호화 방식으로 압축된 비트스트림을 동일한 정보 분석 방법에 의해 파싱(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 has an effect that allows the components used for bitstream decoding to share the element information (the result of parsing the syntax) of the parsed 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 stored in a toolbox by dividing the functions constituting various decoding methods proposed by various standards (codecs) into functional units (FU).

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

또한, 본 발명은 툴박스에 저장된 기능부의 변경이나 추가, 삭제가 용이한 효과도 있다.In addition, the present invention has an effect that it is easy to change, add, or delete a function unit stored in a toolbox.

상기에서는 본 발명의 실시예를 참조하여 설명하였지만, 해당 기술분야에서 통상의 지식을 가진 자라면 하기의 특허 청구의 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.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 (33)

디스크립션 저장부에 저장된 부분 디코더 디스크립션들(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; And 상기 syntax 파싱 제어 정보 및 상기 연결 제어 정보를 이용하여 상기 툴박스에 구비된 복수의 기능부들을 계층 단위로 로드(load)하여 비트스트림을 동영상 데이터로 디코딩하는 디코딩 솔루션을 포함하는 복호화 장치.And a decoding solution configured to load a plurality of functional units included in the toolbox in units of layers by using the syntax parsing control information and the connection control information to decode the bitstream into video data. 제1항에 있어서,The method of claim 1, 입력된 인코딩된 디코더 디스크립션을 디코딩하여 디코더 디스크립션을 생성하고, 상기 디코더 디스크립션으로부터 분리한 복수의 부분 디코더 디스크립션들을 상기 디스크립션 저장부에 저장하는 디스크립션 디코더를 더 포함하는 복호화 장치.And a description decoder which decodes the 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. 제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, 임의의 부분 디코더 디스크립션에 기술된 복수의 기능부들이 상기 툴박스에 구비되었는지 여부를 판단하는 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 상기 부분 디코더 디스크립션들을 이용하여 상기 syntax 파싱 제어 정보 및 연결 제어 정보를 생성하는 정보 가공부를 포함하는 복호화 장치.And an information processing unit for generating the syntax parsing control information and the 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 상기 syntax 파싱 제어 정보 및 상기 연결 제어 정보를 참조하여 복수의 기능부들에 대한 선택적 로드를 통해 각 기능부의 동작을 제어하는 연결 제어부를 포 함하는 복호화 장치.And a connection controller configured to control an operation of each functional unit through selective loading of a plurality of functional units by referring to the syntax parsing 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; 상기 syntax 파싱 제어 정보에 따라 상기 비트스트림의 syntax 파싱을 수행하는 하나 이상의 파싱 기능부; 및At least one parsing function for parsing the bitstream according to the syntax parsing 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. 제2항에 있어서,The method of claim 2, 상기 인코딩된 디코더 디스크립션과 상기 비트스트림이 통합된 통합 비트스트림으로 입력되는 경우, 상기 인코딩된 디코더 디스크립션과 상기 비트스트림을 분리하여 출력하는 분리부를 더 포함하는 복호화 장치.And a separator for separating and outputting the 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, 상기 인코딩된 비디오 데이터가 복수의 표준에 의해 인코딩된 경우, 상기 디코딩 솔루션은 상기 연결 제어 정보를 참조하여 복수의 표준에 따른 프로세스를 수행하는 복수의 기능부를 순차적으로 로드하여 상기 동영상 데이터를 생성하여 출력하는 것을 특징으로 하는 복호화 장치.When the encoded video data is encoded by a plurality of standards, the decoding solution sequentially loads a plurality of functional units performing a process according to a plurality of standards with reference to the connection control information to generate and output the video data. Decoding apparatus, characterized in that. 제1항에 있어서,The method of claim 1, 상기 연결 제어 정보는 기능부들의 계층에 관한 정보를 포함하고, 상기 디코딩 솔루션은 상기 정보를 참조하여 하나 이상의 기능부들에 대한 계층간 호출을 수행하는 것을 특징으로 하는 복호화 장치.And the connection control information includes information about a layer of functional units, and the decoding solution makes an inter-layer call to one or more functional units with reference to the information. 제10항에 있어서,The method of claim 10, 상기 디코딩 솔루션은 최상위 계층에 대한 오브젝트 생성 및 실행을 제어하고, 상기 오브젝트 실행에 의해 최상위 계층에 포함된 기능부들 및 상기 계층 정보에 의해 지정된 계층의 호출을 위한 호출부가 로드되는 것을 특징으로 하는 복호화 장치.The decoding solution controls the object generation and execution of the highest layer, and the decoding unit characterized in that the function unit included in the highest layer by the object execution and the calling unit for the call of the layer designated by the layer information is loaded. . 제11항에 있어서,The method of claim 11, 상기 호출부는 상응하도록 지정된 계층에 속하는 하나 이상의 기능부들이 미리 지정된 프로세스 수행을 위해 필요한 처리 데이터가 저장부에 저장되면 상응하는 계층을 로드하는 것을 특징으로 하는 복호화 장치.And the caller loads the corresponding layer when one or more functional units belonging to the corresponding layer are stored in the storage unit, wherein the processing data necessary for performing a predetermined process is stored in the storage unit. 제12항에 있어서,The method of claim 12, 로드된 기능부는 지정된 프로세스의 수행을 위한 처리 데이터가 상기 저장부에 저장되면 처리를 개시하는 것을 특징으로 하는 복호화 장치.The loaded functional unit starts processing when the processing data for performing a designated process is stored in the storage unit. 제12항에 있어서,The method of claim 12, 각 기능부들의 프로세스 수행에 의한 결과 데이터는 상기 저장부에 저장되는 것을 특징으로 하는 복호화 장치.Decoding device, characterized in that the result data by the process of each functional unit is stored in the storage unit. 제10항에 있어서,The method of claim 10, 상기 계층에 관한 정보에 의해 인식되는 계층 구조는 시퀀스 층, GOP 층, 픽쳐 층, 슬라이스 층, 매크로블록 층, 블록 층 중 하나 이상의 층들로 구성되며, 하위 계층이 상위 계층에 의해 호출되는 것을 특징으로 하는 복호화 장치.The hierarchical structure recognized by the information about the layer is composed of one or more layers of a sequence layer, a GOP layer, a picture layer, a slice layer, a macroblock layer, a block layer, and a lower layer is called by an upper layer Decoding device. 제12항에 있어서,The method of claim 12, 상기 저장부 내에 디코딩 기능부 각각을 위한 전용 저장 공간이 할당되는 것을 특징으로 하는 복호화 장치.And a dedicated storage space is allocated to each of the decoding functions in the storage. 제12항에 있어서,The method of claim 12, 상기 저장부는,The storage unit, 상기 파싱 기능부에 의해 생성된 CSCI 정보(Control Signal/Context Information)가 저장되는 CSCI 저장부; 및 A CSCI storage unit for storing CSCI information (Control Signal / Context Information) generated by the parsing function; And 상기 파싱 기능부에 의해 생성된 상기 인코딩된 비디오 데이터에 상응하는 데이터, 상기 디코딩 기능부에 처리된 처리 데이터 중 하나 이상인 디코딩 처리를 위한 데이터가 저장되는 데이터 저장부를 포함하는 것을 특징으로 하는 복호화 장치.And a data storage unit for storing data corresponding to the encoded video data generated by the parsing function unit and data for decoding processing which is one or more of processing data processed by the decoding function unit. 제1항에 있어서,The method of claim 1, 상기 디스크립션 저장부에 저장되는 부분 디코더 디스크립션들은,Partial decoder descriptions stored in the description storage unit may include: 인코딩된 비디오 데이터의 디코딩을 위한 계층 구조와 각 계층별 하위 계층에 관한 정보를 나타내는 DHT(Decoding Hierarchy Table);A Decoding Hierarchy Table (DHT) indicating a hierarchical structure for decoding encoded video data and information on lower layers of each layer; 비트스트림 신택스(syntax)에 대한 정보 및 상기 비트스트림 신택스에 상응하는 엘리먼트 정보를 생성하기 위한 프로세스를 나타내는 SET(Syntax Element Table);A Syntax Element Table (SET) indicating a process for generating information on bitstream syntax and element information corresponding to the bitstream syntax; 상기 비트스트림 신택스간의 연결 정보, 각 계층별 호출할 하위 계층에 관한 정보 및 상기 SET의 프로세스 수행에 의해 생성된 결과 데이터가 저장될 CSCI 정보의 명칭을 지정하는 S-RT(Syntax Rule Table);A Syntax Rule Table (S-RT) that specifies the name of the connection information between the bitstream syntaxes, information on lower layers to be called for each layer, and CSCI information to store result data generated by the process of the SET; 계층 구조별 CSCI 정보에 대한 상세 정보를 나타내는 CSCIT(Control Signal and Context Information Table);Control Signal and Context Information Table (CSCIT) indicating detailed information on CSCI information for each hierarchical structure; 상기 계층 구조에 기반하여 복수의 디코딩 기능부들간의 호출 또는 활성화 순서를 나타내는 F-RT(FU Rule Table);An FU Rule Table (F-RT) indicating a call or activation order among a plurality of decoding functions based on the hierarchical structure; 상기 디코딩 기능부들의 리스트를 나타내는 FL(FU List); 및FL (FU List) representing the list of decoding functions; And 상기 디코딩 기능부가 프로세스 수행을 위해 필요한 CSCI 정보를 나타내는 FU-CSCIT인 것을 특징으로 하는 복호화 장치.And the decoding function unit is a FU-CSCIT indicating CSCI information necessary for performing a process. 제18항에 있어서,The method of claim 18, 엔트로피 코딩(entropy coding)시의 실제 값과 코드값의 관계를 나타내는 DVT(Default Value Table)가 부분 디코더 디스크립션으로 상기 디스크립션 저장부에 더 저장되는 것을 특징으로 하는 복호화 장치.And a default value table (DVT) indicating a relationship between an actual value and a code value during entropy coding is further stored in the description storage unit as a partial decoder description. 제19항에 있어서,The method of claim 19, 상기 SET, 상기 S-RT, 상기 DHT, 상기 CSCIT 및 상기 DVT 중 하나 이상을 참조하여 상기 syntax 파싱 제어 정보가 생성되는 것을 특징으로 하는 복호화 장치.The syntax parsing control information is generated by referring to at least one of the SET, the S-RT, the DHT, the CSCIT, and the DVT. 제18항에 있어서,The method of claim 18, 상기 FL, 상기 F-RT, 상기 DHT 및 상기 FU-CSCIT 중 하나 이상을 참조하여 상기 연결 제어 정보가 생성되는 것을 특징으로 하는 복호화 장치.The connection control information is generated by referring to at least one of the FL, the F-RT, the DHT, and the FU-CSCIT. 제2항에 있어서,The method of claim 2, 상기 디코더 디스크립션은 하나 이상의 구분 영역으로 구성되고, 각 구분 영역에는 상기 부분 디코더 디스크립션을 구성하기 위한 정보가 삽입되는 것을 특징으로 하는 복호화 장치.And the decoder description is composed of one or more division regions, and information for configuring the partial decoder description is inserted into each division region. 제22항에 있어서,The method of claim 22, 상기 부분 디코더 디스크립션은 상기 비트스트림을 복호화하기 위한 코덱 번호(Codec No.), 프로파일 및 레벨 번호(Profile and level No.)에 상응하는 지정 정보를 포함하고,The partial decoder description includes designation information corresponding to a codec number (Codec No.), a profile and a level number (Profile and level No.) for decoding the bitstream, 상기 디스크립션 디코더는 상기 디스크립션 저장부에 미리 저장된 복수의 부분 디코더 디스크립션들 중 상기 지정 정보에 상응하는 n개의 테이블들을 추출하는 것을 특징으로 하는 복호화 장치.And the description decoder extracts n tables corresponding to the specified information among a plurality of partial decoder descriptions previously stored in the description storage unit. 제22항에 있어서,The method of claim 22, 상기 각 구분 영역 중 m(임의의 자연수)개의 구분 영역에는 상응하는 부분 디코더 디스크립션에 대한 코덱 번호(Codec No.)와 프로파일 및 레벨 번호(Profile and level No.)에 상응하는 지정 정보가 포함되고, k개의 구분 영역에는 상응하는 부분 디코더 디스크립션을 구성하기 위한 바이너리 코드 정보가 포함되며,M (arbitrary natural numbers) of the division areas include codec numbers (Codec No.) and corresponding information corresponding to profile and level numbers (Profile and level No.) for corresponding partial decoder descriptions, The k partitions contain binary code information for constructing corresponding partial decoder descriptions, 상기 디스크립션 디코더는 상기 디스크립션 저장부에 미리 저장된 복수의 부 분 디코더 디스크립션들 중 상기 지정 정보에 상응하는 m개의 부분 디코더 디스크립션들을 추출하고, 상기 바이너리 코드 정보를 이용하여 k개의 테이블들을 생성하여 상기 디스크립션 저장부에 저장하는 것을 특징으로 하는 복호화 장치.The description decoder extracts m partial decoder descriptions corresponding to the specified information among a plurality of partial decoder descriptions previously stored in the description storage unit, generates k tables using the binary code information, and stores the description. And a decoding apparatus. (a) 입력된 디코더 디스크립션에 상응하는 복수의 부분 디코더 디스크립션을 생성하여 저장하는 단계;(a) generating and storing a plurality of partial decoder descriptions corresponding to the input decoder description; (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 using the connection control information and the element information. 제25항에 있어서,The method of claim 25, 상기 단계 (c) 및 상기 단계 (d)는 상기 CSCI 제어 정보 또는 상기 연결 제어 정보를 참조하여 연결 제어부가 툴박스(Tool-Box)에 구비된 복수의 기능부들 중 계층 단위로 로드한 기능부에 의해 각각 실행되는 것을 특징으로 하는 복호화 방법.The step (c) and the step (d) are performed by a functional unit loaded in a hierarchical unit among a plurality of functional units provided in a tool box by referring to the CSCI control information or the connection control information. Decoding method characterized in that each is executed. 제25항에 있어서,The method of claim 25, 상기 단계 (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. 제27항에 있어서,The method of claim 27, 상기 기능부 각각의 미리 지정된 프로세스는 상기 비트스트림의 디코딩을 위해 복수의 표준들에 의해 제안된 기능들 각각을 독립적으로 수행하도록 구현된 것을 특징으로 하는 복호화 방법.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. 제26항에 있어서,The method of claim 26, 계층 단위로 로드된 복수의 기능부 중 선행하는 기능부의 결과 데이터는 후행하는 기능부에 의해 접근될 수 있는 버퍼 메모리에 기록되는 것을 특징으로 하는 복호화 방법.And the result data of the preceding functional unit among the plurality of functional units loaded in hierarchical units is recorded in a buffer memory accessible by the subsequent functional unit. 제26항에 있어서,The method of claim 26, 상기 연결 제어부는 순차적으로 로드되는 복수의 기능부 중 선행하는 기능부의 결과 데이터를 후행하는 기능부의 입력 데이터로 제공하는 것을 특징으로 하는 복호화 방법.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. 제25항에 있어서,The method of claim 25, 상기 디스크립션 저장부에 저장되는 부분 디코더 디스크립션들은,Partial decoder descriptions stored in the description storage unit may include: 인코딩된 비디오 데이터의 디코딩을 위한 계층 구조와 각 계층별 하위 계층에 관한 정보를 나타내는 DHT(Decoding Hierarchy Table);A Decoding Hierarchy Table (DHT) indicating a hierarchical structure for decoding encoded video data and information on lower layers of each layer; 비트스트림 신택스(syntax)에 대한 정보 및 상기 비트스트림 신택스에 상응하는 엘리먼트 정보를 생성하기 위한 프로세스를 나타내는 SET(Syntax Element Table);A Syntax Element Table (SET) indicating a process for generating information on bitstream syntax and element information corresponding to the bitstream syntax; 상기 비트스트림 신택스간의 연결 정보, 각 계층별 호출할 하위 계층에 관한 정보 및 상기 SET의 프로세스 수행에 의해 생성된 결과 데이터가 저장될 CSCI 정보의 명칭을 지정하는 S-RT(Syntax Rule Table);A Syntax Rule Table (S-RT) that specifies the name of the connection information between the bitstream syntaxes, information on lower layers to be called for each layer, and CSCI information to store result data generated by the process of the SET; 계층 구조별 CSCI 정보에 대한 상세 정보를 나타내는 CSCIT(Control Signal and Context Information Table);Control Signal and Context Information Table (CSCIT) indicating detailed information on CSCI information for each hierarchical structure; 상기 계층 구조에 기반하여 복수의 디코딩 기능부들간의 호출 또는 활성화 순서를 나타내는 F-RT(FU Rule Table);An FU Rule Table (F-RT) indicating a call or activation order among a plurality of decoding functions based on the hierarchical structure; 상기 디코딩 기능부들의 리스트를 나타내는 FL(FU List); 및FL (FU List) representing the list of decoding functions; And 상기 디코딩 기능부가 프로세스 수행을 위해 필요한 CSCI 정보를 나타내는 FU-CSCIT인 것을 특징으로 하는 복호화 방법.And the decoding function unit is a FU-CSCIT indicating CSCI information necessary for performing a process. 제31항에 있어서,The method of claim 31, wherein 엔트로피 코딩(entropy coding)시의 실제 값과 코드값의 관계를 나타내는 DVT(Default Value Table)가 부분 디코더 디스크립션으로 상기 디스크립션 저장부에 더 저장되는 것을 특징으로 하는 복호화 방법.And a default value table (DVT) indicating a relationship between an actual value and a code value during entropy coding is further stored in the description storage unit as a partial decoder description. 복호화 방법을 수행하기 위해 복호화 장치에서 실행될 수 있는 명령어들의 프로그램이 유형적으로 구현되어 있으며, 상기 복호화 장치에 의해 판독될 수 있는 프로그램이 기록된 기록 매체에 있어서,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 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 input decoder description; 상기 부분 디코더 디스크립션들을 이용하여 CSCI 제어 정보 및 연결 제어 정보를 생성하는 단계;Generating CSCI control information and connection control information using the partial decoder descriptions; 상기 CSCI 제어 정보를 이용하여 비트스트림의 신택스 파싱(syntax parsing) 에 의해 생성된 복수의 엘리먼트 정보를 저장부에 저장하는 단계; 및Storing a plurality of element information generated by syntax parsing of a bitstream using the CSCI control information in a storage unit; And 상기 연결 제어 정보 및 상기 엘리먼트 정보를 이용하여 상기 비트스트림의 인코딩된 비디오 데이터를 동영상 데이터로 디코딩하여 출력하는 단계를 실행하는 것을 특징으로 하는 프로그램을 기록한 기록매체.And decoding and outputting encoded video data of the bitstream into moving image data using the connection control information and the element information.
KR1020070033495A 2007-04-04 2007-04-04 Bitstream decoding device and method having decoding solution KR101380825B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020070033495A KR101380825B1 (en) 2007-04-04 2007-04-04 Bitstream decoding device and method having decoding solution
PCT/KR2008/001928 WO2008123710A1 (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
KR1020070033495A KR101380825B1 (en) 2007-04-04 2007-04-04 Bitstream decoding device and method having decoding solution

Publications (2)

Publication Number Publication Date
KR20080090231A true KR20080090231A (en) 2008-10-08
KR101380825B1 KR101380825B1 (en) 2014-04-08

Family

ID=40151598

Family Applications (1)

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

Country Status (1)

Country Link
KR (1) KR101380825B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100983054B1 (en) * 2008-07-19 2010-09-17 전자부품연구원 Decoding apparatus and method, encoding method and computer-readable storage medium
KR101048407B1 (en) * 2010-07-26 2011-07-11 전자부품연구원 decoding apparatus and method and computer-readable storage medium
KR101396560B1 (en) * 2008-01-11 2014-05-21 (주)휴맥스 Device and Method for encoding/decoding Video data

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100604032B1 (en) * 2003-01-08 2006-07-24 엘지전자 주식회사 Apparatus for supporting plural codec and Method thereof
KR100994395B1 (en) * 2006-12-27 2010-11-16 (주)휴맥스 Device and Method for encoding/decoding video data

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101396560B1 (en) * 2008-01-11 2014-05-21 (주)휴맥스 Device and Method for encoding/decoding Video data
KR100983054B1 (en) * 2008-07-19 2010-09-17 전자부품연구원 Decoding apparatus and method, encoding method and computer-readable storage medium
KR101048407B1 (en) * 2010-07-26 2011-07-11 전자부품연구원 decoding apparatus and method and computer-readable storage medium

Also Published As

Publication number Publication date
KR101380825B1 (en) 2014-04-08

Similar Documents

Publication Publication Date Title
KR101305491B1 (en) Bitstream decoding device and method
KR101232780B1 (en) Device and Method for unified codecs
KR100813435B1 (en) Device and method for encoding/decoding bit-stream
US20110044410A1 (en) Device and method for encoding/decoding
KR101380825B1 (en) Bitstream decoding device and method having decoding solution
KR101372418B1 (en) Bitstream decoding device and method
KR101305514B1 (en) Bitstream decoding device and method
US20100208829A1 (en) Bitstream decoding device and method having decoding solution
KR20090002508A (en) Device and method for encoding/decoding video data
KR100841558B1 (en) Device and Method for encoding/decoding bit-stream
KR101305513B1 (en) Device and Method for encoding/decoding Video data
US9031136B2 (en) Device and method for encoding/decoding
KR100970145B1 (en) Device and Method for encoding/decoding
KR20080035421A (en) Device and method for encoding/decoding bit-stream
KR100807100B1 (en) Device and Method for unified codecs
KR20100040625A (en) Device and method for encoding/decoding
KR100767606B1 (en) Device and Method for unified codecs
KR20100115238A (en) Device and method for codec design
KR101305517B1 (en) Bitstream decoding device and method having decoding solution
KR20090002507A (en) Device and method for encoding/decoding video data
US8565320B2 (en) Device and method for encoding/decoding video data
KR20080006430A (en) Device and method for unified codecs
KR20080035420A (en) Device and method for encoding/decoding bit-stream
KR101305516B1 (en) Bitstream decoding device and method having decoding solution
WO2008123710A1 (en) Bitstream decoding device and method having decoding solution

Legal Events

Date Code Title Description
N231 Notification of change of applicant
A201 Request for examination
E902 Notification of reason for refusal
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