KR20090002508A - Device and method for encoding/decoding video data - Google Patents

Device and method for encoding/decoding video data Download PDF

Info

Publication number
KR20090002508A
KR20090002508A KR1020070065880A KR20070065880A KR20090002508A KR 20090002508 A KR20090002508 A KR 20090002508A KR 1020070065880 A KR1020070065880 A KR 1020070065880A KR 20070065880 A KR20070065880 A KR 20070065880A KR 20090002508 A KR20090002508 A KR 20090002508A
Authority
KR
South Korea
Prior art keywords
information
decoding
decoder
data
bitstream
Prior art date
Application number
KR1020070065880A
Other languages
Korean (ko)
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 KR1020070065880A priority Critical patent/KR20090002508A/en
Priority to PCT/KR2008/003302 priority patent/WO2009005225A1/en
Publication of KR20090002508A publication Critical patent/KR20090002508A/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/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/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/654Transmission by server directed to the client
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/12Selection from among a plurality of transforms or standards, e.g. selection between discrete cosine transform [DCT] and sub-band transform or selection between H.263 and H.264
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/46Embedding additional information in the video signal during the compression process
    • H04N19/467Embedding additional information in the video signal during the compression process characterised by the embedded information being invisible, e.g. watermarking
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/2662Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities
    • 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/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4621Controlling the complexity of the content stream or additional data, e.g. lowering the resolution or bit-rate of the video stream for a mobile client with a small screen
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/633Control signals issued by server directed to the network components or client
    • H04N21/6332Control signals issued by server directed to the network components or client directed to client
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/633Control signals issued by server directed to the network components or client
    • H04N21/6332Control signals issued by server directed to the network components or client directed to client
    • H04N21/6336Control signals issued by server directed to the network components or client directed to client directed to decoder
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64784Data processing by the network
    • H04N21/64792Controlling the complexity of the content stream, e.g. by dropping packets

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • Discrete Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

A device and a method for encoding/decoding moving picture data are provided to decode an encoded bit stream in various types by the same information recognizing method. A tool box(415) comprises a plurality of functional units for decoding a bit stream. The functional units individually perform each process standardized in one or more decoding standards. A description storage unit(410) stores a partial decoder description for controlling a part and the whole operation among the functional units. A decoder forming unit(420) refers to one or more partial decoder descriptions. The decoder forming unit comprises the storage unit and a connection controller.

Description

동영상 데이터의 인코딩/디코딩 방법 및 장치{Device and Method for encoding/decoding Video data}Device and method for encoding / decoding video data

도 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 preferred embodiment of the present invention.

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

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

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

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

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

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

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

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

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

도 26는 본 발명의 일 실시예에 따른 디코딩 유닛에서 비트스트림 처리 과정을 구체적으로 나타낸 도면.FIG. 26 is a diagram specifically illustrating a bitstream processing in a decoding unit according to an embodiment of the present invention. FIG.

도 27는 본 발명의 바람직한 다른 실시예에 따른 디코더 디스크립션 입력 과정을 나타낸 도면.27 illustrates a decoder description input process according to another embodiment of the present invention.

도 28은 본 발명의 또 바람직한 다른 실시예에 따른 디코더 디스크립션 입력 과정을 나타낸 도면.28 illustrates a decoder description input procedure according to another preferred embodiment of the present invention.

도 29은 본 발명의 또 다른 실시예에 따른 디코딩 유닛의 구성을 나타낸 도면.29 is a diagram showing the configuration of a decoding unit according to another embodiment of the present invention.

도 30은 본 발명의 또 다른 실시예에 따른 BSDL 파서의 구성을 나타낸 도면.30 is a diagram showing the configuration of a BSDL parser according to another embodiment of the present invention.

도 31 내지 37은 본 발명의 실시예에 따른 ADM의 requirement를 지원하는 parser FU 생성을 위한 CDDL 구조의 변화에 대해 설명하기 위한 도면.31 to 37 are diagrams for explaining a change in CDDL structure for generating parser FU supporting the requirement of ADM according to an embodiment of the present invention.

본 발명은 동영상 데이터의 인코딩/디코딩에 관한 것으로서, 보다 상세하게는 기능부들(Funtional Units)의 유기적 결합 또는 선택적 활성화를 통해 동영상 데이터를 인코딩/디코딩하는 방법 및 장치에 관한 것이다.The present invention relates to encoding / decoding of video data, and more particularly, to a method and apparatus for encoding / decoding video data through organic coupling or selective activation of functional units.

일반적으로 동영상은 부호화기(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 is to provide 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 preferred 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)이 저장된 디스크립션 저장부; 및 하나 이상의 부분 디코더 디스크립션들을 참조하여 상기 기능부들 중 일부 또는 전체를 선택적으로 로드(load)하여 인코딩된 비디오 데이터가 동영상 데이터로 디코딩 처리되도록 제어하는 디코더 형성부를 포함할 수 있다.According to an embodiment of the present invention, a decoding apparatus includes: a tool box including a plurality of functional units implemented to individually perform each process defined in at least one decoding standard for decoding a bitstream; A description storage unit for storing partial decoder descriptions for controlling the operation of some or all of the functional units; And a decoder forming unit configured to selectively load some or all of the functional units with reference to one or more partial decoder descriptions to decode the encoded video data into moving image data.

상기 디코더 형성부의 제어에 의해 로드된 임의의 기능부의 프로세스 수행을 위한 작업 메모리는 상기 디코더 형성부에 포함되거나 상기 디코더 형성부에 결합되어 구비될 수 있다.A working memory for performing a process of any functional unit loaded by the control of the decoder forming unit may be included in the decoder forming unit or coupled to the decoder forming unit.

상기 디코더 형성부는, 하나 이상의 기능부의 프로세스 수행에 의해 생성된 CSCI(Control Signal/Context Information) 정보, 디코딩 처리를 위한 데이터 중 하나 이상을 저장하는 저장부; 및 상기 기능부들의 선택적 로드를 제어하는 연결 제어부를 포함할 수 있다.The decoder forming unit may include a storage unit which stores one or more of CSCI (Control Signal / Context Information) information generated by a process of one or more functional units and data for decoding processing; And a connection controller for controlling the selective load of the functional units.

상기 툴박스는 상기 비트스트림의 신택스 파싱(syntax parsing)을 위한 하나 이상의 파싱 기능부, 상기 인코딩된 비디오 데이터의 디코딩 처리를 위한 복수의 디코딩 기능부를 포함할 수 있다.The toolbox may include one or more parsing functions for syntax parsing of the bitstream, and a plurality of decoding functions for decoding processing of the encoded video data.

상기 디스크립션 저장부에 저장되는 임의의 부분 디코더 디스크립션은 기능부들의 계층에 관한 정보를 포함하고, 상기 디코더 형성부는 상기 정보를 참조하여 하나 이상의 기능부들에 대한 계층간 호출을 수행할 수 있다.Any partial decoder description stored in the description storage may include information about a hierarchy of functional units, and the decoder forming unit may perform inter-layer calls to one or more functional units with reference to the information.

상기 디코더 형성부는 최상위 계층에 대한 오브젝트 생성 및 실행을 제어하고, 상기 오브젝트 실행에 의해 최상위 계층에 포함된 기능부들 및 상기 계층 정보에 의해 지정된 계층의 호출을 위한 호출부가 로드될 수 있다.The decoder forming unit may control object generation and execution of a top layer, and a calling unit may be loaded for calling functional layers included in the top layer by the object execution and a layer designated by the layer information.

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

로드된 기능부는 지정된 프로세스의 수행을 위한 처리 데이터가 상기 저장부에 저장되면 처리를 개시할 수 있다.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.

상기 부분 디코더 디스크립션을 구성하기 위한 디코더 디스크립션에 상응하는 인코딩된 디코더 디스크립션은 상기 비트스트림과 독립적으로 제공되는 데이터 이거나, 상기 비트스트림과 통합된 확장 비트스트림의 일 구성요소로 제공될 수 있다.The encoded decoder description corresponding to the decoder description for constructing the partial decoder description may be data provided independently of the bitstream, or may be provided as one component of an extension bitstream integrated with the bitstream.

상기 확장 비트스트림으로부터 상기 인코딩된 디코더 디스크립션과 상기 비트스트림을 분리하기 위한 분리부를 더 포함할 수 있다.The apparatus may further include a separator configured to separate the encoded decoder description and the bitstream from the extended bitstream.

상기 인코딩된 디코더 디스크립션을 상기 디코더 디스크립션으로 변환하는 디스크립션 디코더를 더 포함할 수 있다.The apparatus may further include a description decoder for converting the encoded decoder description into the decoder description.

상기 저장부 내에 디코딩 기능부 각각을 위한 전용 저장 공간이 할당될 수 있다.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일 수 있다.The partial decoder descriptions stored in the description storage unit may include: a Decoding Hierarchy Table (DHT) indicating a hierarchical structure for decoding the 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.

엔트로피 코딩(entropy coding)시의 실제 값과 코드값의 관계를 나타내는 DVT(Default Value Table)가 부분 디코더 디스크립션으로 상기 디스크립션 저장부에 더 저장될 수 있다.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.

상기 연결 제어부는, 상기 F-RT를 이용하여 최상위 계층에 해당하는 하나 이상의 기능부가 로드되도록 제어할 수 있다.The connection controller may control one or more functional units corresponding to the highest layer to be loaded by using the F-RT.

상기 파싱 기능부는 적어도 상기 SET, 상기 S-RT, 및 상기 CSCIT 중 하나 이상을 참조하여 상기 CSCI 정보와 디코딩될 데이터 중 하나 이상을 생성할 수 있다.The parsing function may generate at least one of the CSCI information and the data to be decoded with reference to at least one of the SET, the S-RT, and the CSCIT.

상기 디코딩 기능부는 적어도 상기 FL, 상기 F-RT, 상기 FU-CSCIT 및 상기 CSCIT 중 하나 이상을 참조하여 미리 지정된 프로세스를 수행할 수 있다.The decoding function unit may perform a predetermined process by referring to at least one of the FL, the F-RT, the FU-CSCIT, and the 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.

본 발명의 다른 실시예에 따른 복호화 장치는, 비트스트림의 해석을 위한 스키마 정보를 입력받아 상기 비트스트림을 의미있는 데이터들로 변환하여 출력하는 파서(parser); 및 상기 데이터들을 이용한 비트스트림 디코딩을 수행하여 동영상 데이터를 출력하는 디코딩 솔루션을 포함할 수 있다.According to another embodiment of the present invention, a decoding apparatus includes: a parser that receives schema information for interpreting a bitstream and converts the bitstream into meaningful data; And a decoding solution for outputting video data by performing bitstream decoding using the data.

상기 복호화 장치는, 미리 지정된 프로세스를 각각 수행하도록 구현된 하나 이상의 기능부들을 포함하는 툴박스; 및 상기 비트스트림에 상응하는 연결 제어 정보를 입력받아 상기 툴박스에 포함된 하나 이상의 기능부들의 연결 관계를 설정하여 상기 디코딩 솔루션에 로드되도록 제어하는 디코더 형성부를 더 포함할 수 있다.The decryption apparatus includes a toolbox including one or more functional units, each implemented to perform a predetermined process; And a decoder forming unit configured to receive connection control information corresponding to the bitstream, set a connection relationship between one or more functional units included in the toolbox, and control the data to be loaded into the decoding solution.

상기 디코더 형성부가 상기 데이터를 상기 파서로부터 제공받아 상기 디코딩 솔루션으로 제공할 수 있다.The decoder forming unit may receive the data from the parser and provide the data to the decoding solution.

상기 복호화 장치는, 디코더 디스크립션을 입력받아 상기 스키마 정보 및 상기 연결 제어 정보로 분리하여 각각 출력하는 분리부를 더 포함할 수 있다.The decoding apparatus may further include a separation unit which receives a decoder description and separates the schema description into the schema control information and the connection control information.

상기 디코딩 솔루션은 상기 데이터를 입력받아 상응하는 기능부로 제공하거나 상응하는 기능부가 상기 데이터를 독출하도록 하는 데이터 인터페이스를 구비할 수 있다.The decoding solution may include a data interface for receiving the data and providing the data to a corresponding functional unit or allowing the corresponding functional unit to read the data.

상기 스키마 정보는 상기 비트스트림에 포함된 구문 정보들의 내역에 관한 정보로서, 구문 정보의 길이, 구문 정보의 의미, 구문 정보의 출현 조건 및 반복 출현 횟수 중 하나 이상이 포함될 수 있다.The schema information is information on the syntax information included in the bitstream, and may include one or more of the length of the syntax information, the meaning of the syntax information, the condition of the appearance of the syntax information, and the number of repetition occurrences.

상기 스키마 정보는 XML 문법으로 기술될 수 있다.The schema information may be described in an XML grammar.

상기 연결 제어 정보는 CALML(CAL Markup Language)로 기술될 수 있다.The connection control information may be described in CALML (CAL Markup Language).

상기 툴박스는 적용되는 표준에 따라 구분된 기능부들의 집합인 서브 툴박스들로 구성될 수 있다.The toolbox may be composed of sub toolboxes, which are sets of functional units classified according to applicable standards.

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

상기 툴박스는 상기 디코더 형성부의 일 구성요소일 수 있다.The toolbox may be a component of the decoder forming unit.

상기 디코딩 솔루션에 로드된 기능부는 상기 데이터, 이전에 프로세스 수행한 기능부에 의한 출력 데이터 중 하나 이상을 입력 데이터로 하는 미리 지정된 프로세스를 수행할 수 있다.The function unit loaded in the decoding solution may perform a predetermined process using as input data one or more of the data and output data by the function unit previously performed by the process.

상술한 목적을 달성하기 위하여 본 발명의 다른 측면에 따르면, 다양한 표준 에 범용적으로 이용될 수 있는 복호화 방법 및/또는 그 방법의 실행을 위한 프로그램이 기록된 기록매체가 제공된다.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) 하나 이상의 부분 디코더 디스크립션을 참조하여 파싱 기능부 및 최상위 계층에 속하는 하나 이상의 디코딩 기능부를 로드(load)하는 단계를 포함할 수 있다. 여기서, 상기 파싱 기능부는 상기 비트스트림의 신택스 파싱(syntax parsing)을 수행하고, 상기 최상위 계층의 디코딩 기능부는 미리 지정된 프로세스의 수행을 위해 필요한 CSCI 정보(Control Signal/Context Information) 및 디코딩을 위한 데이터가 상기 파싱 기능부에 의해 저장부에 저장되면 처리를 수행하고, 계층 구조에 부합하여 제1 계층의 수행을 위해 필요한 CSCI 정보 및 디코딩을 위한 데이터가 저장부에 저장되면 활성화된 상태인 제2 계층에 의해 상기 제1 계층이 로드될 수 있다.According to a preferred embodiment of the present invention, a decoding method includes: (a) generating and storing a decoder description corresponding to input encoded decoder description information, wherein the decoder description is composed of a plurality of partial decoder descriptions; And (b) loading the parsing function and the one or more decoding functions belonging to the highest layer with reference to the one or more partial decoder descriptions. Herein, the parsing function performs syntax parsing of the bitstream, and the decoding function of the uppermost layer includes CSCI information (Control Signal / Context Information) and data for decoding necessary to perform a predetermined process. If the parsing function is stored in the storage unit, the processing is performed. CSCI information necessary for performing the first layer and data for decoding are stored in the storage unit in the activated second layer according to the hierarchical structure. The first layer may be loaded by this.

상기 디코딩 기능부들은 상기 인코딩된 비디오 데이터의 계층 구조에 부합되어 활성화 또는 호출 여부가 결정되고, 상기 디코더 디스크립션에 명시된 각각의 디코딩 기능부들의 한번 이상의 프로세스 수행에 의해 상기 비트스트림에 상응하는 동영상 데이터가 출력될 수 있다.The decoding functions are activated or called according to the hierarchical structure of the encoded video data, and the video data corresponding to the bitstream is generated by performing one or more processes of each decoding function specified in the decoder description. Can be output.

상기 파싱 기능부 및 디코딩 기능부들 각각은 상기 비트스트림의 디코딩을 위해 각각의 복호화 표준들에 의해 제안된 각각의 기능을 독립적으로 수행되도록 구현될 수 있다.Each of the parsing function and the decoding function may be implemented to independently perform each function proposed by respective decoding standards for decoding the bitstream.

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

상기 디코딩 기능부 각각은 미리 지정된 프로세스의 수행을 위해 필요한 CSCI 정보 및 디코딩 처리를 위한 데이터가 상기 저장부에 저장됨으로써 동작 개시될 수 있다.Each of the decoding functions may be started by storing CSCI information necessary for performing a predetermined process and data for decoding processing in the storage.

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

상기 디코더 디스크립션은, 상기 비트스트림에 포함된 인코딩된 비디오 데이터의 디코딩을 위한 계층 구조와 각 계층별 하위 계층에 관한 정보를 나타내는 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인 부분 디코더 디스크립션들을 포함할 수 있다.The decoder description may include a decoding hierarchy table (DHT) indicating a hierarchical structure for decoding encoded video data included in the bitstream and information about lower layers 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 partial decoder descriptions of the FU-CSCIT indicating the CSCI information necessary for performing the process by the decoding function unit.

상기 디코더 디스크립션은 엔트로피 코딩(entropy coding)시의 실제 값과 코드값의 관계를 나타내는 DVT(Default Value Table)인 부분 디코더 디스크립션을 더 포함할 수 있다.The decoder description may further include a partial decoder description which is a default value table (DVT) indicating a relationship between an actual value and a code value during entropy coding.

상기 F-RT를 이용하여 최상위 계층에 해당하는 하나 이상의 디코딩 기능부의 활성화 또는 호출이 제어될 수 있다.Using the F-RT, activation or invocation of one or more decoding functions corresponding to the highest layer may be controlled.

적어도 상기 SET, 상기 S-RT, 및 상기 CSCIT를 이용하여 상기 CSCI 정보와 디코딩될 데이터 중 하나 이상이 생성될 수 있다.At least one of the CSCI information and data to be decoded may be generated using at least the SET, the S-RT, and the CSCIT.

본 발명의 다른 실시예에 따르면, 복호화 방법을 수행하기 위해 복호화 장치에서 실행될 수 있는 명령어들의 프로그램이 유형적으로 구현되어 있으며, 상기 복호화 장치에 의해 판독될 수 있는 프로그램이 기록된 기록 매체에 있어서, (a) 입력된 인코딩된 디코더 디스크립션 정보에 상응하는 디코더 디스크립션을 생성하여 저장하는 단계-여기서, 디코더 디스크립션은 복수의 부분 디코더 디스크립션들로 구성됨-; 및 (b) 하나 이상의 부분 디코더 디스크립션을 참조하여 파싱 기능부 및 최상위 계층에 속하는 하나 이상의 디코딩 기능부를 로드(load)하는 단계를 포함하되, 상기 파싱 기능부는 상기 비트스트림의 신택스 파싱(syntax parsing)을 수행하고, 상기 최상위 계층의 디코딩 기능부는 미리 지정된 프로세스의 수행을 위해 필요한 CSCI 정보(Control Signal/Context Information) 및 디코딩을 위한 데이터가 상기 파싱 기능부에 의해 저장부에 저장되면 처리를 수행하고, 계층 구조에 부합하여 제1 계층의 수행을 위해 필요한 CSCI 정보 및 디코딩을 위한 데이터가 저장부에 저장되면 활성화된 상태인 제2 계층에 의해 상기 제1 계층이 로드되는 것을 특징으로 하는 프로그램이 기록된 기록매체가 제공된다.According to another embodiment of the present invention, a program of instructions that can be executed in a decoding apparatus for performing a decoding method is tangibly implemented, and in a recording medium on which a program that can be read by the decoding apparatus is recorded, ( a) generating and storing a decoder description corresponding to the input encoded decoder description information, wherein the decoder description consists of a plurality of partial decoder descriptions; And (b) loading a parsing function and one or more decoding functions belonging to a top layer with reference to one or more partial decoder descriptions, wherein the parsing function performs syntax parsing of the bitstream. The decoding function of the uppermost layer performs processing when CSCI information (Control Signal / Context Information) necessary for performing a predetermined process and data for decoding are stored in the storage unit by the parsing function. The program recorded according to the structure characterized in that the first layer is loaded by the second layer is in an active state if the data for decoding and CSCI information necessary for the execution of the first layer in accordance with the structure is stored in the storage unit A medium is provided.

본 발명의 다른 실시예에 따른 복호화 방법은, (a) 입력된 스키마 정보를 이용하여 비트스트림을 의미있는 데이터들로 변환하여 출력하는 단계; (b) 입력된 연결 제어 정보를 이용하여 기능부들의 순차적 동작 순서를 설정하는 단계; 및 (c) 상기 기능부들에 의해 상기 데이터를 이용한 비트스트림 디코딩이 수행되는 단계를 포함할 수 있다.According to another embodiment of the present invention, a decoding method includes: (a) converting a bitstream into meaningful data using the input schema information and outputting the meaningful data; (b) setting a sequential operation order of the functional units using the input connection control information; And (c) performing bitstream decoding using the data by the functional units.

상기 단계 (b)는 디코더 형성부가 상기 연결 제어 정보를 이용하여 툴박스에 포함된 복수의 기능부들 중 하나 이상의 기능부들의 프로세스 수행 순서를 설정하는 것일 수 있다.In the step (b), the decoder forming unit may set a process execution order of one or more functional units among a plurality of functional units included in the toolbox by using the connection control information.

상기 스키마 정보 및 상기 연결 제어 정보가 통합된 디코더 디스크립션이 입력되는 경우, 각각의 정보로 분리하여 출력하는 단계가 상기 단계 (a)에 선행할 수 있다.When the decoder description in which the schema information and the connection control information are integrated is input, the step of separating and outputting each piece of information may precede step (a).

상기 스키마 정보는 상기 비트스트림에 포함된 구문 정보들의 내역에 관한 정보로서, 구문 정보의 길이, 구문 정보의 의미, 구문 정보의 출현 조건 및 반복 출현 횟수 중 하나 이상이 포함될 수 있다.The schema information is information on the syntax information included in the bitstream, and may include one or more of the length of the syntax information, the meaning of the syntax information, the condition of the appearance of the syntax information, and the number of repetition occurrences.

상기 스키마 정보는 XML 문법으로 기술될 수 있다. The schema information may be described in an XML grammar.

상기 연결 제어 정보는 CALML(CAL Markup Language)로 기술될 수 있다.The connection control information may be described in CALML (CAL Markup Language).

상기 기능부는 상기 데이터, 이전에 프로세스 수행한 기능부에 의한 출력 데이터 중 하나 이상을 입력 데이터로 하는 미리 지정된 프로세스를 수행할 수 있다.The function unit may perform a predetermined process using as input data one or more of the data and output data by the function unit that has been previously processed.

본 발명의 다른 실시예에 따르면, 복호화 방법을 수행하기 위해 복호화 장치에서 실행될 수 있는 명령어들의 프로그램이 유형적으로 구현되어 있으며, 상기 복호화 장치에 의해 판독될 수 있는 프로그램이 기록된 기록 매체에 있어서, 입력된 스키마 정보를 이용하여 비트스트림을 의미있는 데이터들로 변환하여 출력하는 단계; 입력된 연결 제어 정보를 이용하여 기능부들의 순차적 동작 순서를 설정하는 단계; 및 상기 기능부들에 의해 상기 데이터를 이용한 비트스트림 디코딩이 수행되는 단계를 실행하는 것을 특징으로 하는 프로그램을 기록한 기록매체가 제공된다.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, Converting the bitstream into meaningful data using the extracted schema information and outputting the meaningful data; Setting a sequential operation order of the functional units by using the input connection control information; And performing a step in which the bitstream decoding using the data is performed by the function units.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 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, preferred embodiments of the integrated codec method and apparatus according to the present invention will be described in detail with reference to the accompanying drawings. In the following description with reference to the accompanying drawings, the same or corresponding components are identified by the same reference numerals. The numbering and duplicate description thereof will be omitted.

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

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

전달된 비트스트림(105)이 syntax 파싱(parsing)되어 헤더 정보 및 인코딩된 비디오 데이터(encoded video data)가 추출되면, 가변장 디코딩부(110)는 미리 저장된 허프만 테이블(Huffman Table)을 이용하여 양자화된 DCT 계수를 만들고, 역 스캔부(115)는 역 스캔을 수행하여 동영상(140)과 동일한 순서의 데이터를 생성한다. 즉, 역 스캔부(115)는 인코딩시 여러 가지 방법으로 스캔된 순서의 역으로, 값을 출력한다. 인코딩 시 양자화(Quantization)를 수행한 후, 주파수 대역 값의 분포에 따라 스캔 방향이 정의될 수 있다. 일반적으로는 지그-재그(zig-zag) 스캔 방 식이 사용되나, 스캔 방식은 코덱별로 다양할 수 있다. When the transmitted bitstream 105 is parsed and parsed to extract header information and encoded video data, the variable length decoding unit 110 quantizes the Huffman table using a 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 performs an Inverse Discrete Cosine Transform to obtain an actual video pixel value to generate a VOP (Video Object Plane).

동영상 복원부(135)는 역 DCT부(130)에 의해 생성된 VOP를 이용하여 동영상 신호를 복원하여 출력한다. The 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을 참조하면, 본 발명의 계층 구조에 따른 인코딩/디코딩 방법의 수행을 위해, 계층 정보로 추출되어 이용되거나 계층 정보를 생성할 수 있도록 하기 위한 데이터가 복호화기(500)로 제공된다. 계층 정보에 상응하는 데이터는 비트스트림과 함께 확장 비트스트림을 구성하여 복호화기(500)로 제공되거나, 비트스트림과 독립된 데이터 형태로 복호화기(500)에 제공될 수 있다. 물론, 복호화기(500)의 특정 저장부에 해당 데이터에 상응하는 계층 정보가 미리 저장된 경우라면 해당 데이터의 제공은 생략될 수도 있음은 자명하다. 다만, 이하에서는 해당 데이터가 확장 비트스트림 내에 포함되어 복호화기(500)로 제공되는 경우를 중심으로 설명하기로 한다.Referring to FIG. 3, for performing the encoding / decoding method according to the hierarchical structure of the present invention, data is provided to the decoder 500 to be extracted and used as hierarchical information or to generate hierarchical information. Data corresponding to the hierarchical information may be provided to the decoder 500 by forming an extension bitstream together with the bitstream, or may be provided to the decoder 500 in a data form independent of the bitstream. Of course, if hierarchical information corresponding to the data is pre-stored in a specific storage unit of the decoder 500, the provision of the data 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.

즉, 비트스트림의 디코딩을 수행하는 디코딩 처리 유닛(320)을 포함하는 복호화기(300)는 종래의 복호화기(도 1 참조)와 상이한 구성을 가진다.That is, the decoder 300 including the decoding processing unit 320 for decoding the bitstream has a configuration different from that of the conventional decoder (see FIG. 1).

본 발명의 일 실시예에 따른 복호화기(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)으로 각각 입력한다. 계층 정보를 제공하기 위한 인코딩된 디코더 디스크립션(313)은 디스크립션 디코더(405)로 입력되고, 종래 비트스트림(316)은 디코더 형성부(420)로 입력될 수 있다. 상술한 바와 같이, 인코딩된 디코더 디스크립션(313)과 종래 비트스트림(316)이 각각 독립된 데이터로 입력되는 경우 분리부(310)는 생략될 수 있다. 또한, 종래 비트스트림(316)은 앞서 도 1의 비트스트림(105)과 동일한 형식의 데이터일 수 있다.The separator 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. The encoded decoder description 313 for providing hierarchical information may be input to the description decoder 405, and the conventional bitstream 316 may be input to the decoder forming unit 420. 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 having the same format as the bitstream 105 of FIG. 1.

확장 비트스트림(305)의 일 예가 도 6에 예시되어 있다. 도 6의 확장 비트스트림(305) 및 인코딩된 디코더 디스크립션(313)에 대한 예시는 단지 설명 및 이해의 편의를 위한 것으로, 본 발명의 계층 정보 또는/및 확장 비트스트림(305)의 형식이 이에 제한되지 않음은 자명하다. 예를 들어, 계층 정보는 종래 비트스트림(316)에 포함된 인코딩된 비디오 데이터의 디코딩을 위한 계층 구조, 각 계층에서 호출할 계층에 대한 지정, 및 상기 계층 구조에 기반하여 기능부들(FUs)간의 호출 또는 활성화 순서를 나타내는 정보인 것으로 충분하며, 그 구성은 다양할 수 있다. 다만, 이하에서는 계층 정보가 다수의 세분화된 정보들의 형태(이하, "디코더 디스크립션(decoder description)"이라 칭함)로 구현된 경우를 가정하여 설명한다.An example of an extended bitstream 305 is illustrated in FIG. 6. 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 format of the layer information or / and extension bitstream 305 of the present invention is limited thereto. It is self-evident. For example, the hierarchical information may include a hierarchical structure for decoding the encoded video data included in the conventional bitstream 316, a designation of a layer to be called in each layer, and an inter-functional unit (FUs) based on the hierarchical structure. It is sufficient that the information is indicative of the calling or activation order, and the configuration may vary. However, hereinafter, it is assumed that the hierarchical information is implemented in the form of a plurality of granular information (hereinafter, referred to as a "decoder description").

인코딩된 디코더 디스크립션(313)은 다양한 부호화 방식(또는 부호화 표준)에 의해 부호화된 비트스트림 및/또는 여러 기능들 중 사용자가 선택한 기능들에 의해 부호화된 종래 비트스트림(316)을 공통적 해석 방식에 의해 파싱하기 위하여 종래 비트스트림(105)의 구성 정보와 종래 비트스트림(316)이 부호화된 방식(또는 기능부(FU, Functional Unit)들간의 연결 정보) 등에 대한 정보이다. 인코딩된 디코더 디스크립션(313)은 확장 비트스트림(305)에 포함되어 복호화기(300)로 제공(도 3 참조)될 수 있다. 물론, 인코딩된 디코더 디스크립션(313)은 독립된 비트스트림 또는 데이터의 형태로 복호화기(300)로 제공될 수 있음은 당연하다. 인코딩된 디코더 디스크립션(313)은 디스크립션 디코더(405)에 의해 인식 또는/및 해석될 수 있는 기술 방식이면 어떠한 기술 방식으로 기술되어도 무방하며, 예를 들어 textual description이나 binary description 등의 기술 방식이 적용될 수 있다. 물론, 해당 계층 정보가 디스크립션 디코더(405)의 처리없이도 디코더 형성부(420)에 의해 인식될 수 있도록 구현된 경우라면 디스크립션 디코더(405)는 생략될 수 있다.The encoded decoder description 313 uses a common interpretation scheme on a bitstream encoded by various encoding schemes (or encoding standards) and / or a conventional bitstream 316 encoded by user-selected functions among various functions. Information about the configuration of the conventional bitstream 105 and the manner in which the conventional bitstream 316 is encoded (or connection information between functional units) for parsing is provided. The encoded decoder description 313 may be included in the extension bitstream 305 and provided to the decoder 300 (see FIG. 3). Of course, the encoded decoder description 313 may be provided to the decoder 300 in the form of a separate bitstream or data. The encoded decoder description 313 may be described in any technical manner as long as it is a technical manner that can be recognized and / or interpreted by the description decoder 405. For example, a technical manner such as a textual description or a binary description may be applied. have. Of course, if the corresponding layer information is implemented to be recognized by the decoder forming unit 420 without the process 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(445) 및 S-RT(460) 등 중 하나 이상에 의해 구체화될 수 있다.In addition, as described below, the layer information may be embodied by one or more of the F-RT 620, the DHT 445, the S-RT 460, 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 저장부(430)에 저장되면 동작이 개시된다. 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 corresponding layer are started when the CSCI information (Control Signal / Context Information) necessary for performing a predetermined process and the data for decoding are stored in the CSCI storage unit 430.

또한, 활성화된 차순위 계층의 호출부는 동일한 계층의 디코딩 기능부들 중 하나 이상이 프로세스 수행을 위해 필요한 CSCI 정보(Control Signal/Context Information) 및 디코딩을 위한 데이터가 CSCI 저장부(430)에 저장되면 해당 계층의 오브젝트를 생성하여 실행하게 되며, 이에 의해 해당 오브젝트 내에 포함된 모든 디코딩 기능부들 및 해당 오브젝트에 포함된 차순위 계층에 속하는 하나 이상의 호출부들이 활성화된다. 상술한 바와 같이, 한 계층의 오브젝트 수행에 의해 하위 계층이 호출될 수 있다.In addition, if one or more of the decoding functions of the same layer are activated, the CSCI information (Control Signal / Context Information) and the data for decoding are stored in the CSCI storage unit 430. 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.

디코더 디스크립션을 구성하기 위한 각 부분 디코더 디스크립션들의 순서는 다양하게 변형될 수 있음은 자명하다.Obviously, the order of the partial decoder descriptions for constructing the decoder description 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(445)는 각 코덱의 계층 구조와 각 계층별 하위 계층에 대한 정보를 기술한 정보일 수 있다(도 9 참조). 각 코덱의 계층 구조는 상위 계층과 하위 계층간의 구조로 표현될 수 있으며, 예를 들어 시퀀스 층, GOP 층, VOP 층, 슬라이스(slice) 층, 매크로블록(Macro Block, MB) 층, 블록 층 등으로 세분화될 수 있으며, 각 코덱은 하나의 이상의 층들로 구성되고, 각 계층에 하나 이상의 오브젝트를 포함할 수 있다.The DHT 445 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 macro block (MB) layer, a block layer, and the like. Each codec may be configured of one or more layers, and may include one or more objects in each layer.

복수의 계층으로 구성된 인코딩된 비디오 데이터의 디코딩 과정에 대해 예를 들어 간략히 설명하면 다음과 같다. 물론, 계층 구조에 부합하여 비트스트림의 복호화하는 방법이 이에 제한되지 않음은 자명하다.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층) 호출부들이 활성화된다. 여기서 호출부는 연결 제어부(425)의 일 구성 요소이거나 연결 제어부(425)의 제어 동작을 의미하는 것일 수 있다.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. The caller may be a component of the connection controller 425 or may mean a control operation of the connection controller 425.

예를 들어, 계층 구조가 순차적으로 제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 저장부(430)에 저장되면 동작이 개시된다.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 430. .

활성화된 해당 계층 (제1층)의 하위 계층 (제2층) 호출부는 속한 계층의 디코딩 기능부들 중 하나 이상이 프로세스 수행을 위해 필요한 CSCI 정보(Control Signal/Context Information) 및 디코딩을 위한 데이터가 CSCI 저장부(430)에 저장되면 해당 계층 (제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 430, 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 저장부(430)에 저장된 엘리먼트 정보간의 매핑(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 430. 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 later in detail.

디스크립션 디코더(405)는 분리부(310)로부터 입력된 인코딩된 디코더 디스크립션(313)을 디코딩하여 디코더 디스크립션(314)을 생성한 후, 디코더 형성부(420)에서 인식할 수 있는 형태의 복수의 부분 디코더 디스크립션들로 분리하여 디스크립션 저장부(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 the plurality of parts having a form that can be recognized by the decoder forming unit 420. The decoder descriptions are divided into the decoder descriptions and stored in the description storage unit 410.

디스크립션 저장부(410)에 저장되는 각 부분 디코더 디스크립션은 반드시 일반적인 형태의 테이블일 필요는 없으며, 디코더 형성부(420)에 의해 인식될 수 있는 정보 형태이면 충분하다. 즉, 디스크립션 디코더(405)는 확장 비트스트림(305) 내에 바이너리 데이터 형태 등으로 포함된 데이터를 임의의 기능부(예를 들어, Syntax 파싱을 수행하는 기능부 등) 및/또는 연결 제어부(425)가 해석할 수 있는 정보들로 변환하여 디스크립션 저장부(410)에 저장한다. Each partial decoder description stored in the description storage unit 410 is not necessarily a table in a general form, but an information type that can be recognized by the decoder forming unit 420 is sufficient. That is, the description decoder 405 may include any functional unit (eg, a function unit for performing syntax parsing) and / or the connection controller 425 for data included in the extended bitstream 305 in the form of binary data. The information is converted into information that can be interpreted and stored in the description storage unit 410.

디스크립션 디코더(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에 디코딩 처리 유닛(320)의 제1 실시예가 도시되어 있다. 도 4에 예시된 바와 같이, 디코딩 처리 유닛(320)는 디스크립션 디코더(405), 디스크립션 저장부(410), 툴박스(Tool-Box, 415) 및 디코더 형성부(420)를 포함할 수 있다. 디코더 형성부(420)는 연결 제어부(425) 및 CSCI 저장부(430)를 포함한다. 도시되지는 않았으나, 디코더 형성부(420)는 연결 제어부(425)의 호출에 의해 하나 이상의 기능부들이 로드되어 미리 지정된 프로세스가 수행되도록하기 위한 작업 메모리를 더 포함할 수 있다.4 shows a first embodiment of a decoding processing unit 320. As illustrated in FIG. 4, the decoding processing unit 320 may include a description decoder 405, a description storage unit 410, a tool box 415, and a decoder forming unit 420. The decoder forming unit 420 includes a connection controller 425 and a CSCI storage unit 430. Although not shown, the decoder forming unit 420 may further include a working memory for loading one or more functional units by a call of the connection controller 425 to perform a predetermined process.

또한, 도 5에 디코딩 처리 유닛(320)의 제2 실시예가 도시되어 있다. 도 4의 디코딩 처리 유닛(320)과 비교할 때, 도 5에 예시된 디코딩 처리 유닛(320)는 디코딩 솔루션(510)을 더 포함한다. 디코딩 솔루션(510)은 연결 제어부(425)의 호출에 의해 로드된 하나 이상의 기능부들이 적재되어 미리 지정된 프로세스를 수행하기 위한 작업 메모리일 수 있다.Also shown in FIG. 5 is a second embodiment of decoding processing unit 320. Compared with the decoding processing unit 320 of FIG. 4, the decoding processing unit 320 illustrated in FIG. 5 further includes a decoding solution 510. The decoding solution 510 may be a working memory for loading one or more functional units loaded by a call of the connection controller 425 to perform a predetermined process.

도 4 및 도 5에 예시된 바와 같이, 본 발명에 따른 복호화기(300)는 툴박스(415) 내에 구비된 기능부들을 선택적으로 로드하여 디코딩 처리하도록 함으로써, 입력된 비트스트림이 부호화된 방식에 관계없이 복호화할 수 있도록 다양한 형태로 재조합 또는 생성되는 복호화기(300)의 구현이 가능해진다.As illustrated in FIGS. 4 and 5, the decoder 300 according to the present invention selectively loads and decodes functional units included in the toolbox 415 to relate to the manner in which the input bitstream is encoded. It is possible to implement a decoder 300 that is recombined or generated in various forms to be able to decode without.

상술한 바와 같이, 본 발명에 따른 복호화기(300)에서 툴박스(415)가 다른 구성 요소들과 분리되어 구현됨으로서, 다른 구성 요소들의 디코더 설계 구조의 변경없이 서로 상이한 종류의 툴박스를 보다 용이하게 적용할 수 있는 장점이 있다. 예를 들어, MPEG 표준에 따른 처리를 위한 툴박스가 이용되도록 제작된 복호화기(디코더)라 할지라도, 해당 툴박스를 동일한 인터페이스를 가진 비 MPEG 표준 툴박스, 또는 임의적/사적으로 제작된 툴박스로 대체하는 것이 보다 용이해진다.As described above, since the toolbox 415 is implemented separately from other components in the decoder 300 according to the present invention, it is easier to apply different kinds of toolboxes without changing the decoder design structure of the other components. There is an advantage to this. For example, even if the decoder (decoder) is designed to use a toolbox for processing according to the MPEG standard, it may be necessary to replace the toolbox with a non-MPEG standard toolbox with the same interface, or an arbitrary / private toolbox. It becomes easier.

이하, 디코딩 처리 유닛(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)에 포함된 각 기능부 들(이하, 디코딩 기능부라 칭함)은 연결 제어부(425)의 제어에 의해 활성화되어 종래 비트스트림(105)에 포함된 인코딩된 비디오 데이터를 동영상 데이터로 출력한다. That is, the tool box 510 is an area including functional units (FUs) implemented to perform respective functions, and each functional unit included in the decoding function group 800 (hereinafter, referred to as a decoding function unit). ) Is activated by the control of the connection controller 425 to output encoded video data included in the conventional bitstream 105 as moving image data.

연결 제어부(425)는 각 계층 구조 단위로 상응하는 기능부들이 순차적 활성화되도록 제어할 수 있다(예를 들어, 제1 계층, 제2 계층, 제3 계층 등의 순서로 활성화되며, 제2 계층이 활성화된 시점에서 제1 계층은 활성화된 상태로 유지되거나 더 이상의 데이터 처리가 불필요한 경우 비활성화될 수 있음). 그러나, 동일한 계층 구조에 포함된 기능부들로서 동시에 활성화될지라도 타 기능부의 처리에 의한 결과 데이터를 입력 데이터로 이용하는 기능부라면 타 기능부에 의해 결과 데이터가 생성되어 CSCI 저장부(430)에 저장될 때까지 처리는 유보된다. The connection control unit 425 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, etc., 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 the 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 430. Until the treatment is reserved.

디코딩 기능군(800)에 포함되는 각 기능부들은 코덱의 특성에 따라 하나 이상으로 나누어진 계층에 각각 속할 수 있다. 호출된 SYN 파서군(700) 내의 임의의 기능부(이하, 파싱 기능부라 칭함)는 비트스트림의 신택스 파싱을 수행하고, 디코딩 기능부들은 지정된 프로세스의 수행을 위해 필요한 CSCI 정보 및 디코딩을 위한 데이터가 저장되면 처리를 수행한다. 또한 CSCI 정보 및 데이터의 흐름에 따라 상위 계층은 하위 계층의 디코딩 기능부를 호출(연결 제어부(425)의 제어에 의해 수행됨)하며, 디코더 디스크립션에 명시된 모든 디코딩 기능부들이 필요에 따라 한번 이상 프로세스를 수행함으로써 비트스트림에 상응하는 동영상 데이터가 출력된다. 따라서, 디코더 디스크립션(또는 부분 디코더 디스크립션)을 이용하여 각 코덱의 스케쥴링 관리와 각 기능부들의 유기적 처리 구조를 제시할 수 있다.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 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 with CSCI information and data for decoding necessary for performing a specified process. Once saved, the process is performed. Also, according to the flow of CSCI information and data, the upper layer calls the decoding function of the lower layer (performed by the control of the connection control unit 425), and all decoding functions specified in the decoder description perform the process more than once as necessary. As a result, video data corresponding to the bitstream is output. 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.

즉, 디코딩 처리 유닛(320)에 종래 비트스트림(316)이 입력되면, 연결 제어부(425)는 SYN 파서군(700)을 활성화하여 S-RT(670)를 이용한 Syntax 파싱이 개시되도록 하고, 또한 F-RT(620)를 참조하여 최상위 계층의 기능부들이 로드(load) 또는, 활성화되도록 제어한다. 제1 디코더 디스크립션과 제2 디코더 디스크립션 중 일부만이 초기 단계에서 이용될지라도 결과적으로 제1 디코더 디스크립션과 제2 디코더 디스크립션은 각각 상호 참조 등의 형태로 유기적으로 이용되어진다.That is, when the conventional bitstream 316 is input to the decoding processing unit 320, the connection control unit 425 activates the SYN parser group 700 to start syntax parsing using the S-RT 670. The F-RT 620 controls the functional units of the highest layer to be loaded or activated. 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 저장부(430)에 저장될때까지 대기할 것이고, 필요로하는 CSCI 또는/및 데이터가 CSCI 저장부(430)에 기록되면 기능부별로 처리를 개시한다. 이를 통해, 본 발명에 따른 디코딩 처리 유닛(320)는 Syntax 파싱 작업과 동영상 출력을 위한 데이터 디코딩을 동시에 수행할 수 있다(도 15 참조). 또한, 디코딩 기능군(800)에 포함된 기능부들이 계층 구조 단위로 활성화 여부가 결정되고, 각 기능부들이 개별적으로 동작 유보 또는 개시가 결정되므로 각 기능부들의 유기적 동작(예를 들어, 기능부간의 직/병렬 결합 구조를 형성하여 동작 수행)이 자유롭다.Each of the activated functional units will wait until the CSCI or / and data needed for processing is stored in the CSCI storage 430, and the CSCI or / and data needed are written to the CSCI storage 430. If so, 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)에 포함된 SYN 파서군(700)은 연결 제어부(425)의 연결 제어 없이 종래 비트스트림이 입력되면 즉시 종래 비트스트림(105)의 해석을 수행하도록 설정될 수도 있다. 이는 후속 처리를 수행하기 위한 디코딩 기능부들이 파싱 기능부들이 해석하여 CSCI 저장부(522)에 저장한 엘리먼트 정보(element information) 및/또는 파싱 기능부들이 CSCI 저장부(522)에 저장한 데이터(이하, '인코딩된 데이터(encoded data)'라 칭함)를 이용할 수 있기 때문이다.However, the SYN parser group 700 included in the tool box 510 may be set to immediately perform interpretation of the conventional bitstream 105 when the conventional bitstream is input without the connection control of the connection controller 425. This means that the element information stored in the CSCI storage unit 522 and parsed by the decoding functions for performing subsequent processing are stored in the CSCI storage unit 522. This is because 'encoded data' may be used hereinafter.

파싱 기능부들은 DHT(650), SET(660), S-RT(670), CSCIT(640), DVT(680) 등을 이용하여 입력된 종래 비트스트림(316)을 해석하여 신택스 파싱(syntax parsing)의 결과물인 엘리먼트 정보(element information)를 CSCI 저장부(522)에 저장한다. CSCI 저장부(522)는 예를 들어 버퍼 메모리일 수 있다. 엘리먼트 정보는 예를 들어 CSCI(Control Signal/Context Information, 제어 정보/문맥 정보)일 수 있다. SYN 파서군(700)에 의해 파싱되어 CSCI 저장부(522)에 저장된 엘리먼트 정보는 해당 단계의 파싱 결과값임과 동시에 종래 비트스트림(316)의 후속하는 신택스를 결정하는 입력 값이 될 수도 있다.Parsing functions parse syntax by inputting the conventional bitstream 316 using DHT 650, SET 660, S-RT 670, CSCIT 640, DVT 680 and the like. The element information, which is a result of), is stored in the CSCI storage unit 522. The CSCI storage unit 522 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 SYN parser group 700 and stored in the CSCI storage unit 522 may be an input value for determining subsequent syntax of the conventional bitstream 316 at the same time as the parsing result of the corresponding step.

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

또한 각각의 전용 버퍼 공간은 도 13 및 도 14에 예시된 바와 같이 계층별로 포함 관계를 가지도록 설정될 수 있다. 따라서, 활성화된 기능부는 CSCI 저장부(522)에 입력 데이터가 기록되면 즉시 처리를 개시할 수 있으며, 처리한 결과 데이터가 타 기능부의 입력 데이터로 이용되는 경우 해당 결과 데이터를 CSCI 저장부(522)에 기록할 수도 있다.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 activated function unit may immediately start processing when the input data is recorded in the CSCI storage unit 522. If the processed result data is used as the input data of the other function unit, the result data is used as the CSCI storage unit 522. You can also write to

SYN 파서군(700)은 하나의 소프트웨어 프로그램(프로그램 코드들의 조합을 포함함)으로 구현될 수 있다. 복수의 표준(예를 들어, MPEG-1/2/4/AVC 등)에 각각 대응되는 복수의 기능을 수행하도록 SYN 파서군(700)이 구현될지라도 DHT(650), SET(660), S-RT(670), CSCIT(640), DVT(680) 등을 이용하여 상응하는 동작을 수행할 수 있기 때문이다. 물론, SYN 파서군(700)은 도 7에 예시된 바와 같이 복수의 기능부들로 세분화되어 구현될 수도 있으며, 각 기능부들이 블록화된 프로그램 코드들의 조합으로 구현될 수 있음은 자명하다. The SYN parser family 700 may be implemented as one software program (including a combination of program codes). Although the SYN parser group 700 is implemented to perform a plurality of functions respectively corresponding to a plurality of standards (e.g., MPEG-1 / 2/4 / AVC, etc.), the DHT 650, SET 660, S This is because the corresponding operation may be performed using the RT 670, the CSCIT 640, the DVT 680, or the like. Of course, the SYN parser group 700 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에 예시된 각 기능부들을 구체적으로 설명함으로써 SYN 파서군(700)의 기능을 설명하면 다음과 같다. The function of the SYN parser group 700 by describing each functional unit illustrated in FIG. 7 in detail is as follows.

SYN 파서군(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 SYN parser 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.

물론, SYN 파서군(700)에는 신택스 파싱을 위한 기능부라면 적용되는 표준에 관계없이 모두 포함될 수 있을 뿐 아니라 기술 발전과정에서 Syntax 파싱 등을 위해 필요한 기능부는 신규로 추가될 수 있고, 기존 기능부의 수정도 가능하며, 불필요한 기능부는 제거될 수 있음은 자명하다. 또한, SYN 파서군(700) 내에 구비된 각 기능부는 각 표준에 독립적으로 존재하지 않고, 표준에 관계없이 동일한 처리가 가능한 기능부의 경우에는 하나의 기능부로 통합되어 구비될 수도 있음은 자명하다. 각 기능부의 기능은 당업자에게 자명한 사항이므로 간략히 설명하기로 한다.Of course, the SYN parser group 700 may include all of the functional units for syntax parsing irrespective of the applied standard, as well as the necessary functions for syntax parsing in the process of technology development. It is apparent that modifications can be made and unnecessary functions can be removed. In addition, it is apparent that each functional unit included in the SYN parser 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.

상술한 바와 같이, SYN 파서군(700)은 하나의 소프트웨어 프로그램으로 구현되거나, 복수의 소프트웨어 프로그램으로 구현(예를 들어 VLD 기능부(740) 등을 독립된 소프트웨어 프로그램으로 독립적 구현)될 수 있을 것이다. SYN 파서군(700)이 제1 디스크립션 정보(즉, DHT(650), SET(660), S-RT(670), DVT(680) 및 CSCIT(640) 중 하나 이상)를 이용하여 엘리먼트 정보를 추출 또는 생성하여 CSCI 저장부(522)에 저장하는 과정은 이후 연결 제어부(425)의 설명 부분에서 상세히 설명하기로 한다.As described above, the SYN parser group 700 may be implemented as one software program or may be implemented as a plurality of software programs (for example, the VLD function unit 740 may be independently implemented as an independent software program). The SYN parser group 700 uses element description information (ie, one or more of DHT 650, SET 660, S-RT 670, DVT 680, and CSCIT 640) to obtain element information. Extracting or generating and storing the CSCI storage unit 522 will be described later in detail in the description of the connection controller 425.

디코딩 기능군(800)는 SYN 파서군(700)이 CSCI 저장부(522)에 저장한 인코딩된 데이터를 미리 지정된 처리 단위로 처리하여 미리 지정된 크기의 동영상 데이터로서 출력한다. 인코딩된 데이터의 처리 단위는 각 기능부별로 상이하게 적용되도 록 미리 지정되거나 동일한 처리 단위로서 일반화될 수 있다.The decoding function group 800 processes encoded data stored in the CSCI storage unit 522 by the SYN parser group 700 in a predetermined processing unit and outputs the video data having a predetermined size. 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)은 하나의 통합된 처리 블록으로 구현될지라도 연결 제어부(425)의 연결 제어에 의해 상응하는 처리가 수행될 수 있음은 자명하다.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 controller 425.

디코딩 기능군(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 unit 855 is a function unit for inverse AC prediction of AC values, and the IS function unit 860 is a function unit 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.

상술한 SYN 파서군(700)과 디코딩 기능군(800)은 개별적으로 동작 개시되며, 디코딩 기능군(800) 내의 각 기능부는 연결 제어부(425)의 활성화 제어에 의해 활성화된 후 처리를 위해 필요한 CSCI 및/또는 데이터가 CSCI 저장부(430)에 기록되면 개별적으로 동작을 개시한다.The above-described SYN parser 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 425 and then CSCI required for processing. And / or start operation separately when data is written to CSCI storage 430.

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

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

또한, CSCI 저장부(430)에 저장된 엘리먼트 정보는 F-RT(620)를 참조하여 연결 제어부(425)가 계층 구조 단위로 활성화한 각 기능부들이 FU-CSCIT(630)에서 지정된 입력 CSCI를 CSCI 저장부(430)에 저장된 엘리먼트 정보들과 매핑하기 위해 이용될 수 있다. 물론, 디코딩 기능군(800) 내의 기능부들에 의해 이용될 수 있는 엘리먼트 정보인 경우 SYN 파서군(700)이 CSCI 저장부(430)에 저장할 수 있음은 앞서 설명한 바와 같다.In addition, the element information stored in the CSCI storage unit 430 may refer to the F-RT 620 for each function unit activated by the connection control unit 425 in the hierarchical structure unit to input the CSCI designated by the FU-CSCIT 630. It may be used to map with element information stored in the storage unit 430. Of course, when the element information that can be used by the functional units in the decoding function group 800, the SYN parser group 700 may be stored in the CSCI storage unit 430 as described above.

즉, CSCI 저장부(430)에는 SYN 파서군(700)에 의해 생성된 CSCI(Control Signal/Context Information, 제어 정보/문맥 정보), 디코딩 처리군(800)에 포함된 임의의 기능부에 의해 디코딩 처리될 데이터가 저장될 수 있다. 물론, CSCI 저장부(430)는 저장되는 정보의 유형에 따라 CSCI를 저장하기 위한 CSCI 저장부와 디코딩 처리될 데이터가 저장되는 데이터 저장부로 분리되어 구현될 수도 있다.That is, the CSCI storage unit 430 decodes the CSCI (Control Signal / Context Information, control information / context information) generated by the SYN parser 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 430 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.

연결 제어부(425)는 다양한 표준에 의해 인코딩된 비트스트림을 디코딩하기 위해 SYN 파서군(700) 또는/및 디코딩 기능군(800)에 포함된 각 기능부들이 로드(load) 또는 활성화되도록 제어한다. 즉, 연결 제어부(425)는 F-RT(620)를 참조하여 디코딩 기능군(800)에 포함된 각 기능부들이 계층 구조 단위로 로드 또는 활성화되도록 제어한다. 이는, 하위 계층 구조에 속하는 기능부들을 위한 입력 데이터가 상위 계층 구조에 속하는 기능부들이 처리한 결과 데이터일 수 있기 때문이다.  The connection controller 425 controls each function unit included in the SYN parser group 700 and / or the decoding function group 800 to be loaded or activated to decode bitstreams encoded by various standards. That is, the connection controller 425 controls the respective functional units included in the decoding function group 800 to be loaded or activated in units of hierarchical structure with reference to the F-RT 620. 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.

상술한 바와 같이, 디코더 형성부(420)는 연결 제어부(425)의 호출에 의해 하나 이상의 기능부들이 로드되어 미리 지정된 프로세스가 수행되도록하기 위한 작업 메모리를 포함할 수 있다. As described above, the decoder forming unit 420 may include a working memory for loading one or more functional units by a call of the connection controller 425 to perform a predetermined process.

연결 제어부(425)가 각 기능부의 활성화 여부 및 각 기능부들이 인코딩된 데이터를 동영상 데이터로 처리하여 출력하기 위해 이용하는 부분 디코더 디스크립션들로는 FL(610), F-RT(620), FU-CSCIT(630), CSCIT(640) 및 DHT(650)가 있다. The partial decoder descriptions used by the connection control unit 425 to activate each function unit and output the encoded data as the video data are FL 610, F-RT 620, and FU-CSCIT 630. ), CSCIT 640 and DHT 650.

도 8에 예시된 복수의 기능부들이 상호 유기적으로 동작함으로써 인코딩된 데이터를 동영상 데이터로 변환하여 출력할 수 있다. 동영상 데이터로 변환하기 위 해 어떤 기능부들이 순차적으로 동작되어야 하는지 여부는 각 인코딩 표준에 따라 상이할 수 있으며, 이는 당업자에게 자명한 사항이다. 따라서, 이하에서는 복수의 기능부들의 유기적 동작 제어를 위한 기초 정보로서 이용되는 확장 비트스트림에 포함된 제1 디코더 디스크립션의 부분 디코더 디스크립션들간의 유기적 관계를 중심으로 설명한다. 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 sequentially operated in order to convert to 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 the organic relationship between partial decoder descriptions of the first decoder description included in the extended bitstream used as basic information for organic operation control of the 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(Table 1. DHT ( DecodingDecoding HierarchyHierarchy TableTable ))

IndexIndex NameName ChildrenChildren HierarchyHierarchy 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. Table 2. FLFL (( FUFU ListList ) )

FUFU IDID FUFU namename inputinput CSCICSCI outputoutput CSCICSCI D0092D0092 FU-AFU-A 22 00 D0098D0098 FU-BFU-B 22 00

FL(610)은 각 기능부에 대한 입력 데이터가 기록된 전용 버퍼 영역의 명칭(또는 해당 데이터의 기록 주소 또는 해당 데이터가 기록된 버퍼 메모리 내의 주 소)과 해당 기능부에 의한 출력 데이터가 기록될 전용 버퍼 영역의 명칭(또는 해당 데이터의 기록 주소 또는 해당 데이터가 기록될 버퍼 메모리 내의 주소)을 더 포함할 수 있다. 따라서, 각 기능부는 FL(610)을 이용하여 입력 데이터를 읽고 처리한 출력 데이터를 기록할 수 있다. 그러나, FL(610)에는 엘리먼트 정보를 생성하는 SYN 파서군(700)의 입력 데이터 및 출력 데이터는 기재되어 있지 않으나, 이는 SYN 파서군(700)이 SET(660) 등의 정보를 이용하여 엘리먼트 정보를 생성하고 지정된 위치에 생성한 엘리먼트 정보를 기록하기 때문이다.The FL 610 stores 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. The dedicated buffer area may further include a name (or a write address of the data or an address in the buffer memory in which the 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, although the input data and the output data of the SYN parser group 700 for generating element information are not described in the FL 610, this means that the SYN parser group 700 uses element information such as SET 660 and the like. This is because it creates and records the created element information in the specified location.

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.

연결 제어부(425)에 의해 활성화된 계층의 특정 기능부는 FU-CSCIT(630), CSCIT(640) 등을 이용하여 CSCI 저장부(430)로부터 필요한 데이터를 독출하여 미리 설정된 프로세스를 수행하고, 출력 데이터를 생성한다. 생성된 출력 데이터는 CSCI 저장부(430)에 기록될 수 있으며, CSCI 저장부(430)에 기록된 데이터는 후속 처리를 수행하는 기능부의 입력 데이터로 이용될 수 있다. 여기서, 기능부는 디코딩 기능군(800)에 포함되며, 입력 데이터를 미리 지정된 프로세스로 처리하여 출력데이 터를 생성하는 일련의 처리 과정(예를 들어, 기능, 알고리즘 또는 함수 등)을 의미한다. The specific function unit of the layer activated by the connection control unit 425 reads out necessary data from the CSCI storage unit 430 using the FU-CSCIT 630, CSCIT 640, etc., and performs a preset process, and outputs data. Create The generated output data may be recorded in the CSCI storage unit 430, and the data recorded in the CSCI storage unit 430 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 generating input data by processing input data in a predetermined process.

디코딩 처리 유닛(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, when the video data is encoded by a plurality of standards (for example, when the encoding standard is applied differently in units of a plurality of frames), the information of the functional units according to the plurality of standards for decoding the encoded video data. Will be needed. Accordingly, in this case, the FL 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 recode 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 FH1 FH1 YES YES CH1.C0==1 CH1.C0 == 1 FU1 FU1 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 FH2FH2 NONO -- FU2FU2

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 저장부(430)에 저장될 때까지 처리 동작을 유보할 수도 있다. 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 430.

각 계층은 호출 시 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 저장부(430)에 저장된 엘리먼트 정보와 각 기능부가 필요로 하는 엘리먼트 정보(input CSCI)를 연결하기 위한 부분 디코더 디스크립션이다.Next, the FU-CSCIT (FU CSCI Table) 630 is a partial decoder description for connecting the element information stored in the CSCI storage unit 430 and the element information (input CSCI) required by each functional 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 저장부(430)로부터 독출하여 미리 지정된 프로세스를 수행한 후 생성된 출력 데이터(결과 데이터)를 CSCI 저장부(430)에 저장한다.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 a number of 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 430, performs a predetermined process, and stores the generated output data (result data) in the CSCI storage unit 430.

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 저장부(430)에 저장되고, 디코딩 기능군(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 unit 430, and information on all meaningful data (ie, 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 CH1.C2CH1.C2 IntegerInteger CH1.C2CH1.C2 Time code (Minutes)Time code (Minutes) 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. .

이어서, SYN 파서군(700)이 종래 비트스트림(316)으로부터 엘리먼트 정보를 추출 또는 생성하여 CSCI 저장부(430)에 저장하기 위하여 이용하는 CSCIT(640), DHT(650), SET(660), S-RT(670) 및 DVT(680)에 관하여 설명하기로 한다. 다만, CSCIT(640) 및 DHT(650)는 앞서 이미 설명하였으므로 이에 대한 설명은 생략한다. 도 7에 예시된 복수의 기능부들이 상호 유기적으로 동작함으로써 엘리먼트 정보를 생성하여 CSCI 저장부(430)에 저장할 수 있다. 엘리먼트 정보의 유형은 각 인코딩 표준에 따라 상이할 수 있으며, 이는 당업자에게 자명한 사항이다. 따라서, 이하에서는 복수의 기능부들 또는 하나의 기능부로 통합된 SYN 파서군(700)이 엘리먼트 정보들을 생성하여 CSCI 저장부(430)에 저장하기 위해 이용되는 확장 비트스트림에 포함된 제2 디코더 디스크립션의 부분 디코더 디스크립션들간의 유기적 관계를 중심으로 설명한다.Subsequently, the CSCIT 640, the DHT 650, the SET 660, and the SYN parser 700 are used to extract or generate element information from the conventional bitstream 316 and store them in the CSCI storage unit 430. The RT 670 and the 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 430. The type of element information may be different for each encoding standard, which is obvious to those skilled in the art. Therefore, hereinafter, the SYN parser group 700 integrated into a plurality of functional units or one functional unit may be used to generate element information and store the element information in the CSCI storage unit 430. 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(Table 6. SET ( SyntaxSyntax ElementElement TableTable ))

IndexIndex ElementElement NameName InputInput ProcessProcess byby SETSET -- PROCPROC 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 저장부(430)에 저장된다. 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 430.

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)는 상위 계층이 하위 계층의 신택스를 호출하고 다음 신택스로 이동하도록 지시하는 정보를 가진다. SYN 파서군(700)은 S-RT(670)를 이용하여 종래 비트스트림(316)을 읽어 들이거나 엘리먼트 정보가 CSCI 저장부(430)에 저장 및/또는 갱신되는 순서를 규정한다. 도 10에 예시된 바와 같이, S-RT(670)를 참조하여 SYN 파서군(700)은 여러 개의 쓰레드(thread)로 구성되어 상위의 쓰레드가 하위의 쓰레드를 호출할 수 있으므로, 계층별 Syntax 파싱이 수행될 수 있다.Next, as shown in Table 7 below, the S-RT 670 shows the layer and connection information between the syntaxes 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 SYN parser group 700 defines the order in which the conventional bitstream 316 is read or the element information is stored and / or updated in the CSCI storage unit 430 using the S-RT 670. As illustrated in FIG. 10, with reference to the S-RT 670, the SYN parser group 700 is composed of a plurality of threads, so that the upper thread can call the lower thread. This can be done.

표 7. S-RT(Table 7. S-RT ( SyntaxSyntax RuleRule TableTable ))

Decoding Hierarchy Decoding Hierarchy IndexIndex SyntaxSyntax # # IDID CSCICSCI BranchBranch InformationInformation 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)는 각 계층 내에서 특정 연결 인덱스에서 처리할 신택스를 지정하므로, SYN 파서 군(700)은 SET(660)을 이용하여 해당 신택스에 대해 지정된 프로세스를 수행한다. The index R distinguishes each connection information rule. Since the index S of the syntax specifies a syntax to be processed at a specific connection index within each layer, the SYN parser group 700 performs a designated process for the syntax using the SET 660.

입력 데이터는 해당 연결 인덱스에서의 연결 제어를 위한 조건 판단에 사용될 엘리먼트 정보의 목록을 나타낸다. 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. To implement the integrated codec, Huffman table information to be used in the corresponding decoder must be provided for 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 #) and profile and Only the level number (Profile and level #) may be included.

표 8. DVT(Table 8. DVT ( DefaultDefault ValueValue TableTable ))

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.

0000001111111111111111111111111011111000011000110010001101000011011001000001001100000010011000001000110000011010010000000010000011111001000011001010010100101001000010010010010100011001000111001100000100010010110010100010001100000110010001010010010100010001000010010000010001100001011001100000000011000000100000111110001101100010110001010000110100001100100100000100101000010011000000100111000000101000000000010100100000000101010000000000101011000000000010000011111000101100010100001001000110010010000010010100001001100000010…0000001111111111111111111111111011111000011000110010001101000011011001000001001100000010011000001000110000011010010000000010000011111001000011001010010100101001000010010010010100011001000111001100000100010010110010100010001100000110010001010010010100010001000010010000010001100001011001100000000011000000100000111110001101100010110001010000110100001100100100000100101000010011000000100111000000101000000000010100100000000101010000000000101011000000000010000011111000101100010100001001000110010010000010010100001001100000010 ...

각 부분 디코더 디스크립션들은 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.

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

먼저, 연결 제어부(425)는 디스크립션 저장부(410)에서 F-RT(620)에 규정된 최상위 계층의 기능부들을 호출한다. 호출된 기능부들은 처리를 위해 필요한 CSCI 정보 및/또는 데이터가 SYN 파서군(700)에 의해 CSCI 저장부(430)에 저장될 때까지 대기한다.First, the connection control unit 425 calls the functional units of the highest layer defined in the F-RT 620 in the description storage unit 410. The called functions wait until the CSCI information and / or data necessary for processing are stored in the CSCI storage 430 by the SYN parser group 700.

SYN 파서군(700)은 S-RT(670)의 규칙 정보(Rule)들 중 최상위 계층에 해당하는 Syntax를 읽고, SET(660)에 의해 VS Start Code임을 인식하고, 종래 비트스트림(316)에서 상응하는 비트(즉, SET(660)에 입력값으로 설정된 32비트)를 읽어 SET 프로세스 수행에 따른 출력값(즉, 엘리먼트 정보로서, C0)을 S-RT(670)에 규정된 입력 데이터(CSCI)의 명칭으로 CSCI 저장부(430)에 저장한다. CSCI 저장부(430)에 저장된 당해 엘리먼트 정보가 무엇인지 또한 어떤 계층에서 이용되는지는 CSCIT(640)에 기재되어 있다. 이어서, SYN 파서군(700)은 CSCI 저장부(430)에 저장된 엘리먼트 정보(즉, C0)를 S-RT(670)의 상응하는 분기 정보에 대입하고, 그 결과에 상응하는 인덱스의 처리를 위해 진행한다. 예를 들어, 인덱스 SH0.SH1에 상응하는 분기 정보는 'CH0.C0==1'이므로 이를 만족하면 SH0 계층 내의 인덱스 SR2으로 진행할 것이고, 그렇지 않으면 Error 처리한다. The SYN parser group 700 reads the syntax corresponding to the highest layer among the rule information of the S-RT 670, recognizes that it is a VS Start Code by the SET 660, and in the conventional bitstream 316 Input data (CSCI) specified in the S-RT 670 by reading the corresponding bit (i.e., 32 bits set as an input value in the SET 660) and reading the output value (i.e., C0 as element information) according to the SET process execution. The name is stored in the CSCI storage unit 430. The CSCIT 640 describes what element information is stored in the CSCI storage unit 430 and in which layer. Subsequently, the SYN parser group 700 substitutes element information (ie, C0) stored in the CSCI storage unit 430 into 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.

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

SYN 파서군(700)에 의해 엘리먼트 정보 또는/및 데이터가 CSCI 저장부(430)에 저장되는 동안 디코딩 기능군(800) 내의 활성화된 각각의 기능부는 미리 지정된 프로세스의 수행을 위해 필요한 엘리먼트 정보 또는/및 데이터가 모두 저장되었는지 여부를 확인한다. 해당 기능부는 모두 저장되었는지 여부를 FU-CSCIT(630)를 참조하여 확인할 수 있다. 또한, 해당 엘리먼트 정보들이 무엇인지는 CSCIT(640)와의 매핑(mapping)을 통해 인식할 수 있다. 필요한 엘리먼트 정보들 또는/및 데이터가 모두 저장된 기능부는 미리 지정된 프로세스의 수행을 개시하여, 처리된 결과 데이터를 CSCI 저장부(430)에 저장한다.While the element information or / and data is stored in the CSCI storage unit 430 by the SYN parser group 700, each functional unit activated in the decoding function group 800 is element information required for the performance of a predetermined process or / And whether all the data are stored. Whether all the corresponding functional units are stored may be checked with reference to the FU-CSCIT 630. 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 the execution of a predetermined process, and stores the processed result data in the CSCI storage unit 430.

앞서 설명한 바와 같이, 기능부들은 계층 구조 단위로 순차적 활성화 또는 호출될 수 있다. 계층 구조 단위의 활성화는 예를 들어 현재 어떤 계층에서 필요한 엘리먼트 정보 또는/및 데이터의 처리가 완료되었는지 여부를 감시하는 연결 제어부(425)에 의해 제어될 수 있다. 호출된 기능부들은 미리 지정된 프로세스의 수행을 위해 필요한 엘리먼트 정보 또는/및 데이터의 저장이 인식되면 이를 독출하여 처리한다. 이러한 과정을 통해 각 기능부들이 순차적으로 또는 병렬적으로 연결되어 처리를 수행하는 것과 동일한 효과가 발생된다.As described above, the functional units may be sequentially activated or called in hierarchical units. Activation of the hierarchical unit may be controlled, for example, by the connection control unit 425 which monitors whether the 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에 도시된 바와 같이, 상술한 디코더 디스크립션 정보를 이용하면 SYN 파서군(700)에 의한 Syntax 파싱과 디코딩 기능군(800)에 의해 데이터 디코딩이 개별적(독립적)으로 수행될 수 있다. 즉, 데이터 디코딩을 위해 각 기능부에서 필요로하는 엘리먼트 정보 및/또는 데이터가 CSCI 저장부(430)에 저장되기만 하면 해당 기능부는 미리 지정된 프로세스를 수행할 수 있다. 또한, 디코딩 처리를 수행하는 디코딩 기능군(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, data decoding may be performed separately (independently) by the syntax parsing and decoding function group 800 by the SYN parser group 700 using the above-described decoder description information. 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 430, 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)가 동작 개시되도록 제약되지 않으며, SYN 파서군(700)과 디코딩 기능군(800)의 개별적인 처리가 가능하며, 또한 디코딩 기능군(800) 내의 기능부들 간에도 개별적인 처리가 가능한 장점이 있다.Accordingly, 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 SYN parser group 700 and the decoding function group 800 can be processed separately. In addition, there is an advantage that can be processed separately between the functional units in the decoding function group (800).

상술한 바와 같이, 본 발명에 따르면 종래의 표준(즉, 코덱)에서 제공하는 기능부들을 사용하여 기존의 프로파일(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 실시예에 따른 확장 비트스트림의 구성을 나타낸 도면이다.FIG. 16 is a diagram showing the configuration of an extended bitstream according to the first preferred embodiment of the present invention, FIG. 17 is a diagram showing the configuration of an extended bitstream according to the second preferred embodiment of the present invention, and FIG. FIG. 19 is a diagram illustrating a configuration of an extended bitstream according to a third preferred embodiment of the present invention, and FIG. 19 is a diagram illustrating a configuration of an extended bitstream according to a fourth preferred 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 them, the decoding description information may include stream identifier information (SI), and the SI information may be divided as shown in Table 2 below.

표 9. Table 9. StreamStream IdentifierIdentifier

SISI DecodingDecoding DescriptionDescription 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 decoding description, and includes an SI 1610 (ie, 00), a codec number (Codec #, 1620), a profile and a level number (i.e., indicating that it does not include 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. Table 11. ProfileProfile andand levellevel 별 테이블 구분Separate table

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 preferred embodiment of the present invention, FIG. 21 is a diagram showing the configuration of an extended bitstream according to the sixth preferred embodiment of the present invention, and FIG. FIG. 23 is a diagram illustrating a configuration of an extended bitstream according to the seventh preferred embodiment of the present invention, and FIG. 23 is a diagram illustrating a configuration of an extended bitstream according to an eighth preferred 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 () { NoNo . . ofof bitsbits codeccodec __ typetype 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. Codecs 디스크립션description

Codec_Description() {Codec_Description () { NoNo . . ofof bitsbits codeccodec __ numnum 88 profileprofile __ levellevel __ numnum 88 }}

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

Table_Description() {Table_Description () { NoNo . . ofof bitsbits tabletable __ startstart __ codecode 2424 tabletable __ identifieridentifier 44 tabletable __ typetype 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. Table 15. 업데이트update (( updateupdate ) ) 디스크립션description

Update_Description() {Update_Description () { NoNo . . ofof bitsbits MnemonicMnemonic Update_Command  Update_Command vlclbfvlclbf }}

표 16. 뉴(Table 16. New ( newnew ) ) 디스크립션description

New_Description() {New_Description () { NoNo . . ofof bitsbits MnemonicMnemonic New_CommandNew_command vlclbfvlclbf }}

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

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

codeccodec __ typetype 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. Codecs 디스크립션description

codeccodec __ numnum MPEGMPEG standardsstandards andand othersothers 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)

tabletable __ identifieridentifier tabletable namename 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)

tabletable __ typetype 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. Table 21. 업데이트update 커맨드(update_command)를Command (update_command) 위한 지시 세트 Instruction set for

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

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. 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.

도 25은 본 발명의 일 실시예에 따른 복호화기의 구성을 개략적으로 나타낸 도면이고, 도 26는 본 발명의 일 실시예에 따른 디코딩 유닛에서 비트스트림 처리 과정을 구체적으로 나타낸 도면이다.25 is a diagram schematically illustrating a configuration of a decoder according to an embodiment of the present invention, and FIG. 26 is a diagram illustrating a bitstream processing process in a decoding unit according to an embodiment of the present invention.

도 25에 예시된 디코더 디스크립션 및 영상 비트스트림은 예를 들어 부호화기에 의해 생성되어 제공되는 정보일 수 있다. The decoder description and the image bitstream illustrated in FIG. 25 may be, for example, information generated and provided by an encoder.

도 25을 참조하면, 복호화기(2500)는 디코딩 유닛(2505) 및 분리부(2510)을 포함한다. 디코딩 유닛(2505)은 BSDL 파서(2520), 디코더 형성부(2530), 툴박스(2535) 및 디코딩 솔루션(2540)을 포함한다.Referring to FIG. 25, the decoder 2500 includes a decoding unit 2505 and a separator 2510. The decoding unit 2505 includes a BSDL parser 2520, a decoder forming unit 2530, a toolbox 2535, and a decoding solution 2540.

BSDL 파서(2520)는 분리부(2510)로부터 입력된 BSDL 스키마(schema)를 이용하여 외부로부터 입력된 영상 비트스트림의 구문정보를 해석한다. BSDL 파서(2520)로 입력되는 영상 비트스트림은 임의의 부호화 방식(예를 들어, MPEG-4, AVS 등)에 의해 부호화된 데이터이다. 본 명세서를 통해 BSDL 파서(2520)가 자체적으로 BSDL Schema를 해석할 수 있거나, 또는 외부 알고리즘에 의해 구성될 수 있음을 당업자는 쉽게 이해할 수 있을 것이다.The BSDL parser 2520 interprets syntax information of an image bitstream input from the outside using a BSDL schema input from the separator 2510. The video bitstream input to the BSDL parser 2520 is data encoded by an arbitrary coding scheme (eg, MPEG-4, AVS, etc.). It will be readily understood by those skilled in the art that the BSDL parser 2520 may interpret the BSDL Schema on its own or may be configured by an external algorithm through this specification.

BSDL 파서(2520)는 XML 문법으로 기술된 BSDL 스키마를 읽어들여 BSDL 파서(2520)의 구조를 재정의하기 위한 내부 처리부인 BSDL 해석 처리부(2525)를 포함한다. The BSDL parser 2520 includes a BSDL parser 2525, which is an internal processor for reading the BSDL schema described in XML grammar and redefining the structure of the BSDL parser 2520.

BSDL 스키마를 이용해 재정의하는 규칙은 제작자가 적용하는 방법에 따라 다양할 수 있으므로, 그 기본적인 목적만을 제시하면 다음과 같다. 첫째, BSDL 스키마 상에 기록되어 있는 비트스트림의 길이 및 의미에 대한 정보를 인식할 수 있도록 하기 위한 것이다. 둘째, BSDL 스키마 상에 정의된 반복 구조 및 조건적 실행 구조를 읽어 들여 같은 반복 또는 조건문에 의해 실제 동작하는 프로그램적인 루틴 을 구현하기 위한 것이다. 따라서, 재정의되기 이전의 BSDL 파서(2520)는 위와 같은 목적을 달성하기 위한 기능들만이 구현된 상태라고 정의할 수도 있을 것이며, 상술한 파싱 기능을 활용해 실제로 구동하는 BSDL 파서(2520)를 구현하는 과정을 재정의 과정이라 할 수 있다.The rules to redefine using the BSDL schema can vary depending on the method applied by the producer. Therefore, the basic purpose is as follows. First, it is to be able to recognize the information about the length and meaning of the bitstream recorded on the BSDL schema. Second, to read the repetition structure and conditional execution structure defined in BSDL schema, and to implement the programmatic routine that is actually operated by the same repetition or conditional statement. Accordingly, the BSDL parser 2520 before the redefinition may be defined as a state in which only functions for achieving the above object are implemented, and the BSDL parser 2520 that implements the actual driving using the aforementioned parsing function may be implemented. The process can be called a redefinition process.

BSDL 파서(2520)는 BSDL 해석 처리부(2525)의 제어에 의해 유동적인 데이터 흐름을 구성할 수 있는 프로그램으로 구현되며, 예를 들어, CAL(Caltrop Actor Language), C, C++, Java 등 프로그램 언어를 이용하여 구현될 수 있다.The BSDL parser 2520 is implemented as a program capable of composing a flexible data flow under the control of the BSDL parser 2525. For example, the BSDL parser 2520 may be a programming language such as CAL (Caltrop Actor Language), C, C ++, or Java. It can be implemented using.

BSDL 내부 처리부(2525) 및 BSDL 파서(2520)는 디코더 설계자의 설계 기준에 따라 제한없이 구현될 수 있다. 물론, BSDL 레퍼런스 소프트웨어와 같이 기존에 제시되어 있는 BSDL 운용 프로그램을 응용할 수도 있을 것이다. BSDL 레퍼런스 소프트웨어는 MPEG 표준화 단체에 의해 표준화된 BSDL의 원활한 운용을 위하여 제작된 공식 소프트웨어로서, BSDL 스키마를 입력받는 BSDL 파서(2520) 역시 이러한 소프트웨어 자원을 이용하여 보다 용이하게 구현될 수 있음은 자명하다.BSDL internal processor 2525 and BSDL parser 2520 may be implemented without limitation according to the design criteria of the decoder designer. Of course, existing BSDL management programs such as BSDL reference software may be applied. BSDL reference software is official software designed for smooth operation of BSDL standardized by MPEG standardization organization. It is obvious that BSDL parser 2520 receiving BSDL schema can be more easily implemented using such software resources. .

본 명세서에서 언급되는 바와 같이, BSDL 파서(2520)의 기본적인 구조는 디코더 설계자가 선택한 다양한 방법에 의해 설계될 수 있다. 즉, 디코더 설계자는 BSDL 파서(2520)의 지정된 기능을 수행하도록 하기 위한 상세한 알고리즘의 적용 및 설계를 자율적으로 선택할 수 있다. 다만, BSDL 파서(2520)는 BSDL 스키마를 읽어들인 결과에 의해 재정의될 수 있으며, 재정의된 결과물이 디코딩 유닛(2505)의 다른 구성 요소들과 협업(예를 들어, 통신 등)될 수 있어야 한다. As mentioned herein, the basic structure of BSDL parser 2520 can be designed by a variety of methods chosen by the decoder designer. That is, the decoder designer may autonomously select the application and design of a detailed algorithm for performing the designated function of the BSDL parser 2520. However, the BSDL parser 2520 may be redefined by the result of reading the BSDL schema, and the redefined result should be able to collaborate with (eg, communicate with) other components of the decoding unit 2505.

BSDL 파서(2520)가 입력받는 BSDL 스키마에는 비트스트림에 포함된 구문 정 보들에 대한 상세한 내역이 기술되며, 이 내역에는 예를 들어 구문 정보의 길이, 구문 정보의 의미, 구문 정보의 출현 조건 및 반복 출현 횟수 등이 포함될 수 있다. 여기서, 정보의 길이는 비트스트림 상에서 특정 정보가 차지하는 비트 길이를 의미하며, 구문 정보의 의미는 해당 정보가 어떤 의미를 가지는 정보인지를 나타낸다. 예를 들어, 임의의 기능부에서 A라는 정보를 요청하고 있을 경우 어느 것이 정보 A인지를 구별하는 데 필요할 수 있기 때문이다. 또한, 출현 조건이나 반복 출현 횟수의 경우, 하나의 BSDL 스키마를 이용해 동일한 규격의 동영상 비트스트림을 처리할 경우에도 비트스트림의 속성에 따라 일부 구문 정보의 출현 여부나 반복 횟수 등이 달라질 수 있으므로 이러한 경우를 정의하기 위해 BSDL 스키마에 첨부될 수 있는 정보이다. 예를 들어, 출현 조건은 인트라 프레임을 처리할 때는 모션 벡터 정보를 읽어들이지 않도록 하는 데에 필요할 수 있고, 반복 출현 횟수는 해당 매크로블록이 동일한 구조의 블록을 6개 지닌다고 할 경우 해당 블록을 반복시키는 데 사용될 수 있다.The BSDL schema input by the BSDL parser 2520 describes the details of the syntax information included in the bitstream. For example, the length of the syntax information, the meaning of the syntax information, the condition of the occurrence of the syntax information, and the repetition are described. The number of occurrences may be included. Herein, the length of information means a bit length occupied by specific information on a bitstream, and the meaning of syntax information indicates what information the information has. For example, if a functional unit is requesting information A, it may be necessary to distinguish which information A. In addition, in the case of the appearance condition or the number of recurrences, even when processing the video bitstream of the same standard using one BSDL schema, whether or not the appearance of some syntax information or the number of repetitions may vary depending on the attributes of the bitstream. Information that can be attached to the BSDL schema to define this. For example, an appearance condition may be necessary to avoid reading motion vector information when processing an intra frame, and the number of repetitions may be repeated if the macroblock has six blocks of the same structure. Can be used.

도 26에 예시된 바와 같이, BSDL 해석 처리부(2525)는 상세한 내역에 관하여 해독한 결과 정보를 BSDL 파서(2520)에 전달하여 BSDL 파서(2520)가 BSDL 스키마에 지정된 순서에 따라 비트스트림에 포함된 정보를 읽어들이도록 지원한다.As illustrated in FIG. 26, the BSDL interpretation processing unit 2525 transfers the decrypted result information about the details to the BSDL parser 2520 so that the BSDL parser 2520 is included in the bitstream in the order specified in the BSDL schema. Support read information.

BSDL 파서(2520)는 BSDL 해석 처리부(2525)로부터 제공된 결과 정보를 참조하여 입력된 비트스트림의 내용을 의미 있는 데이터로 바꾸어 디코더 형성부(2530) 및/또는 디코딩 솔루션(2540)에 제공한다. 또한, BSDL 파서(2520)가 디코더 형성부 또는/및 디코딩 솔루션(2540)으로 제공하는 의미있는 데이터들로는 예를 들어, 미 리 지정된 매크로블록 사이즈의 인코딩된 영상 데이터, 인트라 코딩된 매크로블록들에 대한 AC 예측 플래그(ACpred_flag), MCBPC(MB type & coded block pattern for chrominance), CBPY (coded block pattern for luminance) 등이 포함될 수 있다. 이러한 데이터 제공 과정은 디코더 형성부(2530)나 디코딩 솔루션(2540)의 구동 여부와 무관하게 진행될 수도 있다.The BSDL parser 2520 converts the contents of the input bitstream into meaningful data by referring to the result information provided from the BSDL interpretation processor 2525 and provides the decoder to the decoder forming unit 2530 and / or the decoding solution 2540. In addition, the meaningful data provided by the BSDL parser 2520 to the decoder forming unit and / or decoding solution 2540 include, for example, encoded image data of a predetermined macroblock size, for intra coded macroblocks. AC prediction flag (ACpred_flag), MCBPC (MB type & coded block pattern for chrominance), CBPY (coded block pattern for luminance) and the like may be included. The data providing process may be performed regardless of whether the decoder forming unit 2530 or the decoding solution 2540 is driven.

본 명세서에 제시되는 바와 같이, 본 발명은 디코더(복호화기)가 디코더 디스크립션을 이용하여 비트스트림을 디코딩하되, 디코더 디스크립션이 BSDL 언어 체계 및 이와 연동 가능한 XML 기반 서식을 사용하는 구조로 구현되도록 하기 위한 것이다. 본 명세서를 통해 디코더 디스크립션이 BSDL, CALML 등의 XML 서식을 가질 수 있고, BSDL 스키마는 Syntax Parsing 과정에, CALML은 기능부간의 연결 제어를 위해 사용되도록 그 역할이 구분될 수 있음을 당업자는 쉽게 이해할 수 있을 것이다.As presented herein, the present invention provides a decoder (decoder) to decode a bitstream using a decoder description, so that the decoder description is implemented in a structure using a BSDL language scheme and XML-based format compatible with it. will be. A person skilled in the art can easily understand that the decoder description may have an XML format such as BSDL, CALML, BSDL schema in Syntax Parsing process, and CALML may be used to control connection between functions. Could be.

BSDL 언어는 비트스트림의 구조와 구성 방식에 대한 정보를 포함한 XML 문서 또는 XML 스키마 형태로 기술된다. 이 언어는 각각이 하나 이상의 영상 비트스트림 구조를 표현할 수 있도록 제작된다. BSDL 언어를 사용함으로서, 디코더는 종래의 MPEG 표준에서 검증되어 사용되고 있는 비트스트림 기술 방식을 그대로 적용할지라도, 타 기술들과 높은 호환성을 획득할 수 있게 된다. BSDL에 관련된 언어 서식 및 문법은 MPEG-B Part 5에 기술되어 있으므로 이에 대한 상세한 설명은 생략한다. The BSDL language is described in the form of an XML document or XML schema that contains information about the structure and organization of the bitstream. The language is designed so that each can represent one or more video bitstream structures. By using the BSDL language, the decoder can obtain a high compatibility with other technologies even if the decoder applies the bitstream technology method that has been verified and used in the conventional MPEG standard. Since the language format and grammar related to BSDL are described in MPEG-B Part 5, the detailed description thereof will be omitted.

BSDL과 XML을 이용한 BSDL 스키마와 연결 제어 정보의 구성예를 나타내면 아래와 같다. 물론, BSDL 스키마와 연결 제어 정보의 구성 형식이 이에 제한되지 않 음은 자명하다.An example configuration of BSDL schema and connection control information using BSDL and XML is as follows. Of course, the configuration format of the BSDL schema and connection control information is not limited thereto.

BSDLBSDL 스키마 Schema

<xsd:element name="VideoObject"><xsd: element name = "VideoObject">

<xsd:complexType><xsd: complexType>

<xsd:sequence>    <xsd: sequence>

<xsd:element name="VOStartCode"       <xsd: element name = "VOStartCode"

type="m4v:StartCodeType"/>type = "m4v: StartCodeType" />

<xsd:element name="VOL">      <xsd: element name = "VOL">

<xsd:complexType>           <xsd: complexType>

<xsd:sequence>              <xsd: sequence>

<xsd:element name="header" type="VOLHeaderType"               <xsd: element name = "header" type = "VOLHeaderType"

bs2:ifNext="&volSC;" rvc:port="0"/>bs2: ifNext = "&volSC;" rvc: port = "0" />

<xsd:element name="VOP"               <xsd: element name = "VOP"

type="VideoObjectPlaneType" type = "VideoObjectPlaneType"

maxOccurs="unbounded" maxOccurs = "unbounded"

bs2:ifNext="&vopSC;" rvc:port="1"/>bs2: ifNext = "&vopSC;" rvc: port = "1" />

</xsd:sequence>                 </ xsd: sequence>

</xsd:complexType>             </ xsd: complexType>

</xsd:element>        </ xsd: element>

</xsd:sequence>    </ xsd: sequence>

</xsd:complexType>  </ xsd: complexType>

</xsd:element></ xsd: element>

연결 제어 정보Connection control information

<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>

본 명세서에서는 디코더 디스크립션(2560), 인코딩된 비디오 데이터(2580) 등의 정보가 외부로부터 입력되는 경우를 가정하여 설명하나, 그중 하나 이상의 정보가 디코딩 유닛(2505)의 임의의 구성 요소 내에 이미 내장되어 구현될 수도 있음은 자명하다.In the present specification, a description will be given on the assumption that information such as a decoder description 2560 and encoded video data 2580 is input from the outside, but one or more of the information is already embedded in an arbitrary component of the decoding unit 2505. It is obvious that it may be implemented.

다시 도 25을 참조하면, 디코더 형성부(2530)는 분리부(2510)로부터 입력받 은 연결 제어 정보 또는/및 BSDL 파서(2520)로부터 입력받은 비트스트림 데이터의 일부(예를 들어, 미리 지정된 매크로블록 사이즈의 인코딩된 영상 데이터, 인트라 코딩된 매크로블록들에 대한 AC 예측 플래그(ACpred_flag), MCBPC(MB type & coded block pattern for chrominance), CBPY (coded block pattern for luminance) 등 중 하나 이상)을 이용하여 디코딩 솔루션(2540)이 구현되도록 제어한다. Referring back to FIG. 25, the decoder forming unit 2530 may include a portion of the bitstream data received from the connection control information received from the separation unit 2510 and / or the BSDL parser 2520 (eg, a predetermined macro). One or more of block size encoded image data, AC prediction flag (ACpred_flag) for intra coded macroblocks, MB type & coded block pattern for chrominance (MCBPC), coded block pattern for luminance (CBPY), and the like. To control the decoding solution 2540 to be implemented.

즉, 디코더 형성부(2530)는 연결 제어 정보 등을 이용하여 툴박스(2535)에 구비된 기능부들 중 일부 또는 전체가 유기적인 연결 관계로서 디코딩 솔루션(2540) 내에 로드되어 정렬되도록 제어한다. 여기서, 연결 제어 정보는 CALML(CAL Markup Language)로 작성될 수 있다. CALML이란 MPEG 표준화 단체에서 현재 논의중인 CAL언어(Caltrop Markup Language) 방식의 디코더 구성을 기술할 수 있는 XML 포맷이다. CAL언어는 프로그램 객체인 Actor와 각 Actor간의 연결 관계로 구성되는데, 이러한 CAL언어의 구조를 XML 서식에 의해 표현한 것이다. 이에 대한 표현 예는 앞서 BSDL 스키마와 연결 제어 정보의 표현 예로서 이미 제시하였다.That is, the decoder forming unit 2530 controls such that some or all of the functional units included in the toolbox 2535 are loaded and aligned in the decoding solution 2540 in an organic connection relationship using connection control information or the like. Here, the connection control information may be written in CALML (CAL Markup Language). CALML is an XML format that can describe the decoder configuration of the CAL language (Caltrop Markup Language) method currently being discussed by the MPEG standardization organization. The CAL language consists of a connection between Actor, which is a program object, and each Actor. The structure of the CAL language is expressed in XML format. An example of this has already been presented as an example of representation of BSDL schema and connection control information.

구체적으로, 디코더 형성부(2530)는 여러 기능부의 집합으로 구성된 툴박스(2535)에 접근할 권한을 가지며, 툴박스(2535)에 구비된 기능부들간에 입, 출력 연결을 설정하여 그 결과물에 해당하는 디코딩 솔루션(2540)을 구성한다. 이 때 기능부들간 입/출력 연결 구조 및 실행 순서는 연결 제어 정보를 참고하여 설정된다. 또한, 입력된 비트스트림의 종류를 구별하기 위한 일부 정보를 BSDL 파서(2520)로부터는 전달받아, 기능부 연결 과정에서 참조할 수 있다. 기능부들간의 연결 구조가 모두 확정되면, 그 연결 구조는 외부로부터의 지속적인 데이터 입력이 전제될 경우 해당 디코더 디스크립션 제작자가 의도한 모든 종류의 영상 비트스트림을 해석, 디코딩 할 수 있는 독립적인 디코더로 간주할 수 있다. 이 때 이 완결된 기능부 연결 구조를 디코딩 솔루션(2540)이라 명명할 수 있다.In detail, the decoder forming unit 2530 has a right to access the toolbox 2535 composed of a set of various functional units, and sets input and output connections between the functional units included in the toolbox 2535 to decode the result. Configure solution 2540. At this time, the input / output connection structure and execution order between the functional units are set with reference to the connection control information. In addition, some information for distinguishing the type of the input bitstream may be received from the BSDL parser 2520 and may be referred to in the functional unit connection process. Once the connection structure between the functional units has been established, the connection structure can be regarded as an independent decoder capable of interpreting and decoding all kinds of video bitstreams intended by the decoder description maker, provided that continuous data input from the outside is assumed. Can be. In this case, this completed functional connection structure may be referred to as a decoding solution 2540.

툴박스(2535)는 미리 지정된 프로세스를 수행하도록 각각 구현된 복수의 기능부들을 포함한다. 각각의 기능부들은 각각 프로그램 코드들의 조합으로 구현될 수도 있다. The toolbox 2535 includes a plurality of functional units, each implemented to perform a predetermined process. Each of the functional units may each be implemented in a combination of program codes.

툴박스(2535)에 포함되는 각 기능부들은 적용되는 용도별 집합으로 구분된 복수의 세부 툴박스로 세분화될 수도 있다. 예를 들어, MPEG용 기능부들이 포함되는 제1 툴박스, MPEG용 기능부들 이외의 기능부들이 포함되는 제2 툴박스 등으로 세분화될 수 있다. 또는 MPEG-2용 기능부들의 집합인 제1 툴박스, MPEG-4용 기능부들의 집합인 제2 툴박스, 중국의 디지털 TV 압축 표준인 AVS용 기능부들의 집합인 제3 툴박스 등으로 세분화될 수 있다.Each functional unit included in the toolbox 2535 may be subdivided into a plurality of detailed toolboxes divided into sets for each application to which they are applied. For example, it may be subdivided into a first toolbox including MPEG functional units, a second toolbox including functional units other than the MPEG functional units, and the like. Or the first toolbox, which is a set of MPEG-2 functional units, the second toolbox, which is a set of MPEG-4 functional units, and the third toolbox, which is a set of AVS functional units, which is a digital TV compression standard of China. .

물론, 툴박스(2535) 자체가 복수로 구현되어 디코더 형성부(2530) 및 디코딩 솔루션(2540)과 독립된 연결 관계를 가질 수도 있다. 이 경우, 도시되지는 않았으나 상술한 제1 툴박스, 제2 툴박스 등이 독립된 형식의 툴박스로 구현될 수 있을 것이다.Of course, the toolbox 2535 itself may be implemented in plural to have an independent connection relationship with the decoder forming unit 2530 and the decoding solution 2540. In this case, although not shown, the above-described first toolbox, second toolbox, etc. may be implemented as a toolbox of an independent type.

다만, 이하에서는 설명의 편의를 위해 하나의 툴박스(2535) 내에 복수의 세부 툴박스들이 포함되거나 모든 기능부들이 집합체 구성없이 산재되어 포함되는 경우를 중심으로 설명하기로 한다. However, hereinafter, for convenience of description, a plurality of detailed toolboxes are included in one toolbox 2535 or all functional units will be described with reference to a case where they are interspersed without an aggregate configuration.

툴박스(2535)는 각각의 기능(즉, 미리 설정된 프로세스)을 수행하도록 구현 된 기능부(FU, Functional Unit)들이 포함되는 영역으로, 각 기능부들은 디코더 형성부(2530)의 연결 제어에 의해 디코딩 솔루션(2540)에 로드(load)되어 순차적인 연결 동작 관계를 형성함으로써 영상 비트스트림(2580)에 포함된 인코딩된 영상 데이터를 디코딩된 영상 데이터로 출력한다. The toolbox 2535 is an area including functional units (FUs) implemented to perform respective functions (that is, a preset process), and each functional unit is decoded by the connection control of the decoder forming unit 2530. The encoded image data included in the image bitstream 2580 is output as decoded image data by being loaded into the solution 2540 to form a sequential connection operation relationship.

툴박스(2535) 내에는 예를 들어, DF(De-blocking Filter) 기능부, VR(VOP Reconstructor) 기능부, FFR(Frame Field Reordering) 기능부, IPR(Intra prediction and Picture Reconstruction) 기능부, IT(Inverse Transform) 기능부, IQ(Inverse Quantization) 기능부, IAP(Inverse AC Prediction) 기능부, IS(Inverse Scan) 기능부, DCR(DC Reconstruction) 기능부 등의 기능부가 포함될 수 있다.The toolbox 2535 includes, for example, a de-blocking filter (DF) function, a VOP reconstructor (VR) function, a frame field reordering (FFR) function, an intra prediction and picture reconstruction (IPR) function, and an IT ( Functional units such as an Inverse Transform (IQ) function, an Inverse Quantization (IQ) function, an Inverse AC Prediction (IAP) function, an Inverse Scan (IS) function, and a DC Reconstruction (DCR) function may be included.

IT4x4 기능부, IQ4x4 기능부) 및 DCR4x4 기능부는 처리하는 블록 사이즈가 4x4인 것을 특징으로 한다. 이는 MPEG-1/2/4의 경우에는 Transform, Quantization, Prediction 시에 8x8 블록 사이즈로 데이터를 처리함에 비해, MPEG-4 AVC는 4x4 블록 사이즈로 데이터를 처리하는 경우가 존재하기 때문이다. IT4x4 function unit, IQ4x4 function unit) and DCR4x4 function unit is 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.

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

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

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

FFR 기능부는 interlaced 모드를 위한 기능부이고, IPR 기능부는 MPEG-4 AVC의 인트라 예측(Intra prediction)을 한 후 복원된 픽셀값을 저장하는 기능부이다. 상술한 바와 같이, MPEG-4 AVC의 인트라 예측은 SPR 기능부에 의해 수행될 수 있을 것이다. The FFR function is a function for interlaced mode, and the IPR function is a function for storing 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 기능부는 DC값 및 AC값들의 역 변환(inverse transform)을 수행하는 기능부이고, IQ 기능부는 AC 값들을 역 양자화(inverse quantization)하는 기능부이다.The IT function unit is a function unit that performs inverse transform of DC values and AC values, and the IQ function unit is a function unit that inverse quantizes AC values.

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

디코딩 솔루션(2540)은 디코더 형성부(2530)에 의해 생성된 결과물로, BSDL 파서(2520)에서 구문 정보 단위로 분리된 비트스트림 데이터(또는 미리 지정된 매크로블록 크기의 인코딩된 비디오 데이터)를 입력 받는다.The decoding solution 2540 is a result generated by the decoder forming unit 2530 and receives bitstream data (or encoded video data having a predetermined macroblock size) separated by syntax information units from the BSDL parser 2520. .

도 26에 예시된 바와 같이, 입력된 비트스트림 데이터는 데이터를 입/출력하 기 위한 유, 무형의 데이터 인터페이스를 통해 입력될 수 있다. 데이터 인터페이스는 소프트웨어의 경우 특정 메모리 버퍼이거나, 자료의 흐름을 정의하는 가상 포트(Port)이거나, 프로그램 상의 파라미터일 수 있고. 하드웨어의 경우에는 회로 상의 연결선일 수 있으며, 이외에도 다양하게 구현될 수 있다.As illustrated in FIG. 26, the input bitstream data may be input through a tangible or intangible data interface for inputting / outputting data. The data interface can be a specific memory buffer for software, a virtual port defining the flow of data, or a parameter on a program. The hardware may be a connection line on a circuit, and may be variously implemented.

데이터의 입력은 해당 인터페이스를 통해 지속적으로, 그리고 특정 기능부의 프로세스 수행과 무관하게 지속적으로 입력(예를 들어, 병렬 처리가 가능하도록 입력)될 수 있다. 디코딩 솔루션(2540)은 입력되는 데이터를 처리하여 디코딩된 영상 데이터로 출력한다. 도 26에 도시된 바와 같이, 데이터는 데이터 인터페이스로부터 시작해 각 기능부로 전달될 수 있으며, 기능부는 해당 데이터를 가공하여 후속하는 기능부로 전달할 수 있다. 이러한 데이터의 흐름은 모두 디코더 형성부(2530)에 의해 사전 정의된 바에 의하여 처리된다.Data can be input continuously through the interface and continuously (for example, parallel processing) without regard to the performance of a particular function. The decoding solution 2540 processes the input data and outputs the decoded image data. As shown in FIG. 26, data may be delivered to each functional unit starting from a data interface, and the functional unit may process the data and deliver the data to subsequent functional units. All of this data flow is processed by the decoder forming unit 2530 as predefined.

디코딩 솔루션(2540)내에는 BSDL 파서(2520)로부터 제공받은 데이터(예를 들어, 비트스트림의 syntax 파싱에 의해 추출된 정보 등), 각 기능부의 처리 결과 데이터를 저장하기 위한 저장부가 포함될 수 있다. 디코더 형성부(2530)의 제어에 의해 로드된 각 기능부는 BSDL 파서(2520)로부터 제공된 데이터 및 선행하여 동작된 기능부의 결과 데이터 중 하나 이상을 이용하여 지정된 프로세스를 수행할 수 있다. 이 경우, 후속하여 프로세스를 수행할 기능부는 선행하는 기능부의 동작이 완료되었음을 인식하여야 한다. 이를 위해, 디코더 형성부(2530)는 각 기능부의 동작 완료 여부를 지속적으로 모니터링하여 후속하는 기능부의 동작 개시 여부를 제어할 수 있다. 또한, 저장부 내에 각 기능부별로 독립된 영역이 구비되도록 하고, 선행 하는 기능부의 처리 결과 데이터를 디코더 형성부(2530)의 제어에 의해 후속하는 기능부를 위한 저장 영역에 저장되도록 하면, 후속하는 기능부는 자신의 저장 영역에 프로세스 수행을 위해 필요한 데이터가 저장되는 즉시 프로세스를 수행할 수도 있을 것이다. 이외에도, 기능부간의 처리 개시 시점을 제어하기 위한 다양한 방법이 추가적으로 고려될 수 있음은 자명하다.The decoding solution 2540 may include a storage unit for storing data (eg, information extracted by syntax parsing of the bitstream) provided from the BSDL parser 2520 and processing result data of each functional unit. Each functional unit loaded by the control of the decoder forming unit 2530 may perform a designated process using one or more of data provided from the BSDL parser 2520 and result data of a previously operated functional unit. In this case, the functional unit that will subsequently perform the process should recognize that the operation of the preceding functional unit is completed. To this end, the decoder forming unit 2530 may continuously monitor whether the operation of each functional unit is completed and control whether to start the operation of a subsequent functional unit. In addition, if an independent area is provided for each functional unit in the storage unit, and the processing result data of the preceding functional unit is stored in the storage area for the subsequent functional unit under the control of the decoder forming unit 2530, the subsequent functional unit is You might be able to run a process as soon as the data you need to run it is stored in your storage area. In addition, it is obvious that various methods for controlling the start time of processing between the functional units may be additionally considered.

물론, 해당 저장부는 디코더 형성부(2530) 내에 구비될 수도 있으며, 디코더 형성부(2530)는 현재 프로세스를 수행할 기능부로 BSDL 파서(2520)로부터 제공받은 데이터(예를 들어, 비트스트림의 syntax 파싱에 의해 추출된 정보 등), 각 기능부의 처리 결과 데이터를 해당 기능부로 제공할 수도 있다.Of course, the storage unit may be provided in the decoder forming unit 2530, and the decoder forming unit 2530 is a function unit to perform a current process (eg, parsing a syntax of a bitstream, provided by the BSDL parser 2520). Information extracted by the above), and the processing result data of each functional unit may be provided to the corresponding functional unit.

이하, 도 26를 참조하여 디코딩 유닛(2505)의 동작 과정을 간략히 설명하면 다음과 같다. Hereinafter, an operation process of the decoding unit 2505 will be briefly described with reference to FIG. 26.

외부로부터 입력 영상 비트스트림과 BSDL 스키마가 입력되면(비트스트림의 임의 지점에 정보 A 와 정보 B가 존재하는 것으로 가정함), BSDL 파서(2520)은 BSDL 스키마를 읽어 들여 정보 A에 해당하는 지점에 5bit의 MB type 데이터가 존재하고, 정보 B에 해당하는 지점에는 2bit의 CBPY 데이터가 존재함을 인식한다.When the input video bitstream and BSDL schema are input from the outside (assuming that information A and B exist at any point in the bitstream), the BSDL parser 2520 reads the BSDL schema to the point corresponding to the information A. It is recognized that 5 bits of MB type data exists, and 2 bits of CBPY data exist at a point corresponding to information B.

이어서, BSDL 파서(2520)는 파서는 인식한 정보를 이용해 각 지점에서 지정된 수 만큼의 비트를 읽어 들이고, 읽어들인 정보를 부여된 의미에 따라 디코딩 솔루션(2540)에 전달한다.Subsequently, the BSDL parser 2520 reads the specified number of bits at each point using the recognized information, and delivers the read information to the decoding solution 2540 according to the assigned meaning.

디코딩 솔루션(2540)은 BSDL 파서(2520)로부터 MB Type과 CBPY로 명명된 데이터를 제공받아 처리하게 된다. 디코딩 솔루션(2540)은 디코더 형성부(2530)의 연 결 제어에 의해 각 기능부들이 로딩되어 구현됨은 앞서 설명한 바와 같다.The decoding solution 2540 receives and processes data named MB Type and CBPY from the BSDL parser 2520. As described above, the decoding solution 2540 is loaded with each functional unit by the connection control of the decoder forming unit 2530.

디코딩 솔루션(2540)에 존재하는 데이터 인터페이스는 외부로부터 전달된 데이터를 받아들여, 연결 제어 정보에 의해 사전에 구성된 기능부들의 연결 관계를 참조하여, 해당 데이터를 요구하는 기능부들에 전달한다.The data interface present in the decoding solution 2540 receives data transmitted from the outside, refers to the connection relationship of the functional units configured in advance by the connection control information, and transfers the data to the functional units requesting the corresponding data.

각 기능부는 역시 미리 지정된 연결 관계(즉, 데이터 처리를 위한 연결 관계)에 따라 디코딩 과정을 수행한다. 모든 데이터 흐름과 기능부 간의 연결 관계는 디코더 형성부(2530)가 사전에 구성한 내역에 의한다. 각 기능부들의 순차적 처리에 의해 출력 영상 프레임이 외부로 출력된다.Each functional unit also performs a decoding process according to a predetermined connection relationship (ie, a connection relationship for data processing). The connection relationship between all the data flows and the functional units is based on the details previously configured by the decoder forming unit 2530. The output image frame is output to the outside by sequential processing of the respective functional units.

상술한 바와 같이, 디코더 형성부(2530) 또는/및 디코딩 솔루션(2540) 내에는 저장부가 구비될 수 있다. BSDL 파서(2520)로부터 데이터를 제공받음에 있어, 그 전달 과정에 끊김이 없고 또한 디코딩 과정과는 병렬적으로 데이터 제공이 수행될 수 있기 때문이다. 또한, 각 기능부는 필요한 데이터를 저장부로부터 독출하여 사용할 수도 있을 것이다. As described above, a storage unit may be provided in the decoder forming unit 2530 and / or the decoding solution 2540. This is because, in receiving data from the BSDL parser 2520, the delivery process is seamless and the data provision can be performed in parallel with the decoding process. In addition, each functional unit may read and use necessary data from the storage unit.

또한, BSDL 파서(2520)는 인코딩된 영상 데이터의 디코딩 처리를 위해 상응하는 데이터를 디코더 형성부(2530)로 제공하여 디코더 형성부(2530)가 디코딩 솔루션(2540)으로 제공하도록 하거나, BSDL 파서(2520)가 직접 해당 데이터를 디코딩 솔루션(2540)으로 제공할 수도 있을 것이다. In addition, the BSDL parser 2520 may provide corresponding data to the decoder forming unit 2530 for decoding processing of the encoded image data so that the decoder forming unit 2530 may provide the decoding solution 2540 to the BSDL parser ( 2520 may directly provide the data to decoding solution 2540.

다시 도 25을 참조하면, 분리부(2510)는 입력된 디코더 디스크립션(2560)을 각각의 정보로 분리하여 디코딩 유닛(2505)으로 입력한다. 분리부(2510)에 입력된 디코더 디스크립션(2560)은 비트스트림의 구조를 기술하기 위한 BSDL 스키마(2565) 와 비트스트림의 디코딩 과정을 기술하기 위한 CALML 데이터(2570)를 포함할 수 있다. 상술한 두 가지 종류의 데이터는 각각 독립적으로 XML 문법에 의해 기술될 수도 있으며, 효율적인 디코더의 운용을 위하여 두 종류의 데이터가 통합되어 전송될 수 있다. Referring again to FIG. 25, the separation unit 2510 separates the input decoder description 2560 into respective information and inputs the same to the decoding unit 2505. The decoder description 2560 input to the separator 2510 may include a BSDL schema 2565 for describing the structure of the bitstream and CALML data 2570 for describing the decoding process of the bitstream. The two types of data described above may be independently described by an XML grammar, and two types of data may be integrated and transmitted for efficient decoder operation.

도 27는 본 발명의 바람직한 다른 실시예에 따른 디코더 디스크립션 입력 과정을 나타낸 도면이다.27 is a diagram illustrating a decoder description input process according to another embodiment of the present invention.

도 27에 예시된 바와 같이, 복호화기(2500)는 디스크립션 디코더(510)를 더 포함할 수 있다. 디스크립션 디코더(510)는 입력된 인코딩된 디코더 디스크립션(520)을 디코딩 처리하여 디코더 디스크립션(2560)을 생성하여 분리부(2510)로 제공할 수 있다.As illustrated in FIG. 27, the decoder 2500 may further include a description decoder 510. The description decoder 510 may decode the input encoded decoder description 520, generate a decoder description 2560, and provide the decoder description 2560 to the separation unit 2510.

디코더 디스크립션(2560)을 인코딩하여 송수신함으로써 송수신되는 데이터량을 절감할 수 있는 효과가 있다.By encoding and transmitting the decoder description 2560, the amount of data transmitted and received can be reduced.

도 28은 본 발명의 또 바람직한 다른 실시예에 따른 디코더 디스크립션 입력 과정을 나타낸 도면이다.28 is a diagram illustrating a decoder description input process according to another preferred embodiment of the present invention.

앞서 도 25을 참조하여 디코더 디스크립션(2560)과 영상 비트스트림이 디코딩 유닛(2505)으로 입력되는 경우와, 도 27를 참조하여 인코딩된 디코더 디스크립션(520)과 영상 비트스트림(2580)이 디코딩 유닛(2505)으로 입력되는 경우를 설명하였다.25, the decoder description 2560 and the image bitstream are input to the decoding unit 2505, and the decoder description 520 and the image bitstream 2580 encoded with reference to FIG. 2505) has been described.

그러나, 도 28에 예시된 바와 같이, 디코더 디스크립션(2560)의 구성 정보들이 원시적으로 분리되어 디코딩 유닛(2505)으로 입력될 수도 있음은 자명하다. 이 경우, 앞서 설명한 분리부(2510), 디코더 디스크립션(2560) 등이 생략될 수 있음은 자명하다.도 7 31은 본 발명의 또 다른 실시예에 따른 디코딩 유닛의 구성을 나타낸 도면이다.However, as illustrated in FIG. 28, it is apparent that configuration information of the decoder description 2560 may be input to the decoding unit 2505 by being separated natively. In this case, it is apparent that the above-described separation unit 2510, decoder description 2560, and the like may be omitted. FIG. 7 31 illustrates a structure of a decoding unit according to another embodiment of the present invention.

앞서 도 25 내지 도 28을 참조하여 툴박스(2535) 및 디코더 형성부(2530)가 분리되어 구현된 디코딩 유닛(2505)에 대하여 설명하였다.The decoding unit 2505 in which the toolbox 2535 and the decoder forming unit 2530 are separated from each other has been described above with reference to FIGS. 25 to 28.

그러나 도 29 에 예시된 바와 같이, 툴박스(2535)가 디코더 형성부(2530)의 일 구성 요소로 포함되어 구현될 수도 있음은 자명하다.However, as illustrated in FIG. 29, it is obvious that the toolbox 2535 may be implemented as one component of the decoder forming unit 2530.

이 경우, 디코더 형성부(2530)는 기능부간의 연결 구조 제어 기능 뿐 아니라 사용될 기능부의 선별 기능까지도 포함할 수 있으며, 이를 통해 구현 가능한 디코딩 솔루션(2540)의 유형도 다양해질 수 있을 것이다.In this case, the decoder forming unit 2530 may include not only a function of controlling the connection structure between the functional units but also a selection function of the functional units to be used, and thus the types of decoding solutions 2540 that can be implemented may vary.

도 30은 본 발명의 또 다른 실시예에 따른 BSDL 파서의 구성을 나타낸 도면이다.30 is a diagram showing the configuration of a BSDL parser according to another embodiment of the present invention.

앞서 도 25을 참조하여, BSDL 해석 처리부(2525)를 포함하는 BSDL 파서(2520)에 대하여 설명하였다.The BSDL parser 2520 including the BSDL analysis processor 2525 has been described above with reference to FIG. 25.

그러나, 본 발명에 따른 BSDL 파서(2520)는 비트스트림의 디코딩을 개시하기 이전에 복호화기(2500) 외부로부터 사전 정의되어 제공될 수도 있다. 따라서, 앞서 설명한 BSDL 해석 처리부(2525)가 생략될 수 있다. 이때, BSDL 파서 제작기(2610) 는 BSDL 레퍼런스 소프트웨어와 같은 기존의 응용 프로그램을 활용하여 구성될 수 있을 것이다.However, the BSDL parser 2520 according to the present invention may be predefined and provided from outside the decoder 2500 prior to initiating the decoding of the bitstream. Therefore, the BSDL analysis processor 2525 described above may be omitted. In this case, the BSDL parser maker 2610 may be configured by using an existing application program such as BSDL reference software.

이제까지, BSDL 파서가 독립된 구성 요소로서 지정된 동작을 처리하는 경우를 중심으로 설명하였다. 다만, BSDL 파서는 툴박스 내에 포함되는 하나의 기능부로서 구현되거나, 디코딩 솔루션 내에 독립된 구성 요소로서 미리 포함되도록 구현될 수도 있을 것이다. 만일, BSDL 파서가 툴박스 내에 구비되는 경우 디코더 형성부는 연결 제어 정보를 이용하여 BSDL 파서가 비트스트림 디코딩을 위해 동작하는 기능부들의 동작 이전에 프로세스를 수행하도록 로드 및 제어하여야 할 것이다. 마찬가지로, BSDL 파서가 디코딩 솔루션 내에 미리 포함되는 경우, 디코더 형성부는 로드한 각 기능부들의 프로세스 수행 개시 이전에 BSDL 파서가 먼저 프로세스 수행하도록 제어하여야 할 것이다. 각각의 경우에도 BSDL 파서의 동작 및 기능은 앞서 관련 도면을 참조하여 설명한 바와 동일하므로 상세한 설명은 생략하기로 한다. 다만, BSDL 스키마 또는/및 비트스트림을 초기에 입력받는 주체가 디코더 형성부 또는/및 디코딩 솔루션으로 변경될 필요가 있을 수 있다.So far, the description has been focused on the case where the BSDL parser processes the designated operation as an independent component. However, the BSDL parser may be implemented as one functional unit included in the toolbox, or may be implemented to be included in advance as an independent component in the decoding solution. If the BSDL parser is provided in the toolbox, the decoder forming unit should load and control the BSDL parser to perform a process before the operation of the functional units operating for the bitstream decoding using the connection control information. Similarly, if the BSDL parser is previously included in the decoding solution, the decoder forming unit should control the BSDL parser to perform the process first before starting the process execution of each loaded functional unit. In each case, since the operation and function of the BSDL parser are the same as described above with reference to the related drawings, a detailed description thereof will be omitted. However, the subject initially receiving the BSDL schema or / and bitstream may need to be changed to a decoder forming unit and / or a decoding solution.

상술한 바와 같이 본 발명에 따른 디코딩 장치 및 방법은 하나의 표준(또는 코덱) 내에서 또는 다른 표준(또는 코덱) 간에 syntax 엘리먼트의 해석 및 기능부들의 연결 제어를 용이하게 한다. 즉, 특정 표준에 따라 생성되는 비트스트림 내의 syntax 엘리먼트들의 순서를 변경하거나, 새로운 syntax 엘리먼트들을 삽입하거나, 기존의 syntax 엘리먼트들을 삭제함에 문제되지 않는다. As described above, the decoding apparatus 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.

그러나, 본 발명에 따른 디코딩 장치 및 방법을 이용하면, 확장 비트스트림 내에 포함되거나 또는 독립된 데이터로 디코더 디스크립션 정보가 제공되므로 복호화기(2500)의 원활한 복호화 동작이 가능해진다.However, using the decoding apparatus and the 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 2500 can perform a smooth decoding operation.

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

또한, 연결 제어 정보에 포함되는 정보 역시 하나의 표준에 의한 디코딩 수행을 위한 기능부들의 연결 관계, 해당 기능부에 요구되는 처리 프로세스 등에 관한 정보만으로 기술되지 않고, 복수의 표준에 의한 디코딩 수행을 위한 정보로 기술될 수도 있음은 자명하다.In addition, the information included in the connection control information is not described only with information about the connection relationship between the functional units for performing decoding by one standard, the processing process required for the corresponding functional unit, and the like. It is obvious that information may be described.

예를 들어, 영상 비트스트림의 초기 복수의 프레임은 MPEG-2로 인코딩되고, 후속하는 복수의 프레임은 MPEG-4로 인코딩되며, 나머지 프레임은 MPEG-1으로 인코딩되었다고 가정하자. 이 경우, 인코딩된 영상 데이터의 디코딩을 위해 연결 제어 정보는 인코딩 방법을 달리하는 각 프레임들이 툴박스(2535)에 포함된 각 표준에 따른 기능부들이 유기적으로 결합되어 동작될 수 있도록 정의될 것임은 자명하다.For example, suppose that an initial plurality of frames of an image bitstream are encoded in MPEG-2, subsequent frames are encoded in MPEG-4, and the remaining frames are encoded in MPEG-1. In this case, for the decoding of the encoded image data, the connection control information will be defined such that each frame having a different encoding method may be functionally combined and operated according to each standard included in the toolbox 2535. Do.

이제까지 DD(디코딩 디스크립션)로부터 ADM을 생성하고 이로부터 Decoding Solution을 구현해 내는 방법을 중심으로 설명하였다. 이하 CDDL 기반의 DD로부터 ADM 을 구성하고 ADM의 requirement를 지원하는 parser FU를 생성하기 위해 CDDL 구조의 변화에 대해 설명한다. So far, we have focused on how to generate ADM from DD (Decoding Description) and implement Decoding Solution from it. The following describes the change of the CDDL structure to configure ADM from CDDL-based DD and to generate a parser FU that supports the requirements of ADM.

이를 위해, 도 31에 예시된 바와 같이 ADM을 구성하기 이전에 model instantiation 단계를 두어 parser FU 구성을 수행하도록 하고, CDDL 기반의 DD를 가지고 ADM을 구성하는 일련의 과정에 대해 다루고자 한다.To this end, as illustrated in FIG. 31, a parser FU configuration is performed by setting a model instantiation step before configuring ADM, and a series of processes of configuring ADM with a CDDL-based DD will be described.

CDDL 기반 DD로부터 ADM을 매끄럽게 구성하기 위해 앞서 설명한 CDDL 구조가 수정될 필요가 있다. 즉, 7개의 테이블(SET, SRT, DVT, CSCIT, FLT, FRT, FU-CSCIT)로 구성되어 있던 CDDL 기반 DD에 새로 구성 및 수정된 FT(앞서 FLT로 설명한 디스크립션 정보를 이하에서는 FT로 수정하여 설명함), FLT(Functional Unit Link Table), FU-CSCIT, PT(Parameter Table)를 포함하고 기존의 FRT를 제거하여 총 8개의 table로 구성한다. 이 8개의 table 정보를 가지고 Model instantiation 단계에서는 두 가지 처리 과정을 거친다. 하나는 FU의 연결 구조 형성 과정(ADM 생성 과정), Parser FU의 형성 과정으로 나누어진다. In order to seamlessly configure ADM from CDDL based DD, the above-described CDDL structure needs to be modified. In other words, the newly configured and modified FT (Description information described with FLT in the following) is modified to FT in the CDDL-based DD composed of seven tables (SET, SRT, DVT, CSCIT, FLT, FRT, and FU-CSCIT). Description), FLT (Functional Unit Link Table), FU-CSCIT, PT (Parameter Table) are included and the existing FRT is removed to form a total of eight tables. With these eight tables, the model instantiation step goes through two processes. One is divided into the process of forming the linkage structure of the FU (ADM generation process) and the process of forming the Parser FU.

먼저, FU의 연결 구조 형성 과정(ADM 생성 과정)을 설명한다. First, a process of forming a connection structure of FU (ADM generation process) will be described.

FU의 연결 구조 형성 과정을 위해서 총 5개의 테이블(FT, FLT, FU-CSCIT, PT, CSCIT)의 정보를 필요로 하고 Parser FU의 형성 과정을 위해서는 총 4개의 테이블(SET, SRT, CSCIT, DVT)을 필요로 한다. 이 중 FU의 연결 구조 형성 과정은 크게 4가지 형성 과정으로 나눌 수 있다. 4가지 형성 과정들은 다음과 같다. A total of five tables (FT, FLT, FU-CSCIT, PT, CSCIT) are required for the formation of the connection structure of the FU, and a total of four tables (SET, SRT, CSCIT, DVT) for the formation of the Parser FU. )need. Among them, the process of forming the linkage structure of FU can be largely divided into four processes. The four formation processes are as follows.

순서order 처리 과정Process 참조 테이블Reference table 1One 계층 구조 정보에 따라 선택된 FU들의 위치 선정Positioning of selected FUs according to hierarchy information FTFT 22 FU간의 연결 구조 생성Create connection structure between FUs FT, FLTFT, FLT 33 연결된 FU간에 input/output port 생성Create input / output port between connected FUs FLT, FU-CSCITFLT, FU-CSCIT 44 파라메터 기술Parameter technology FT, PTFT, PT

다음으로, 도 32를 참조하여, 계층 구조 정보에 따라 선택된 FU들의 위치 선정을 설명한다.Next, referring to FIG. 32, location selection of selected FUs according to hierarchical structure information will be described.

FT에서는 ADM에서 사용될 FU들에 대해 정의하고 있다. 이 테이블에서는 FU의 ID 및 ADM script(ADM 정보를 xml형식으로 표현한 text script)을 구성하기 위해 필요로 하는 정보(FU name(class name), FU id, FU type, 상위 network of fu) 정보를 포함하고 있다. FT defines FUs to be used in ADM. This table contains information needed to construct FU ID and ADM script (text script expressing ADM information in xml format) (FU name (class name), FU id, FU type, upper network of fu). Doing.

FU id는 ADM을 구성하기 위한 요소는 아니고 Decoding Solution을 실제 구현하기 위해 ADM에 기술되고 있는 FU와 Toolbox에 저장되어 있는 FU간의 연결을 나타내기 위한 것이다. The FU id is not an element for configuring ADM, but represents a connection between the FU described in the ADM and the FU stored in the Toolbox in order to actually implement a decoding solution.

다음으로, 도 33을 참조하여, FU간의 연결 구조 생성을 설명한다. Next, referring to FIG. 33, generation of a connection structure between FUs will be described.

FLT 에서는 FU간의 연결 구조에 관한 정보가 포함되어 있다. 실제 ADM을 구성하는 script의 connection을 구성하는 부분을 FLT, FT로 생성할 수 있음을 보여주고 있다.In the FLT, information on the connection structure between FUs is included. It shows that FLT and FT can be used to create a part of the script's connection.

다음으로, 도 34를 참조하여, 연결된 FU간에 input/output port 생성을 설명한다.Next, the input / output port generation between the connected FUs will be described with reference to FIG. 34.

ADM에 기술되어 있는 network of fu의 input/output port에 필요한 정보는 input, output 종류 및 input/output port name을 필요로 한다. ADM에서는 하나의 data port(input/output port)를 통해 한 개 이상의 Token들을 전송할 수 있다. FU-CSCIT은 하나의 input/output port에 대해 한 개 이상의 Token(CSCI data)들을 전송할 지에 대한 정보를 포함한다. FLT에서는 DATA의 연결 구조만을 기술하고 있다면 FU-CSCIT는 이 연결 구조에서 몇 개의 input/output port가 존재하는지, 각각의 port에 어떤 data가 연결되는지에 대해 기술하고 있다. 아래 그림은 FU-CSCIT와 FLT 정보를 가지고 실제로 ADM에서 port를 구성하고 있는 script를 생성할 수 있음을 보여주고 있다.The information required for the input / output port of the network of fu described in ADM requires input, output type, and input / output port name. In ADM, one or more tokens can be transmitted through one data port (input / output port). The FU-CSCIT includes information on whether to transmit more than one Token (CSCI data) for one input / output port. If the FLT describes only the connection structure of DATA, FU-CSCIT describes how many input / output ports exist in this connection structure and what data is connected to each port. The figure below shows that with the FU-CSCIT and FLT information, you can create a script that actually configures a port in ADM.

다음으로, 도 35를 참조하여,Description of parameters를 설명한다. Next, a description of parameters will be described with reference to FIG. 35.

Parameter table은 ADM에서 기술하고 있는 parameter script를 지원하기 위해 구성된 정보이다. 이 table에서는 하나의 Network of FU에서 사용되는 parameter가 상위 Network of FU에서 선언되어 상속된 변수인지 혹은 직접 선언된 변수인지에 대한 정보, Parameter name, Parameter type, 초기값 등을 기술하고 있다. 다만, Type과 Kind 등의 예시사항은 다양하게 변경될 수 있을 뿐 아니라, 연동을 위한 필드가 불필요한 경우라면 생략될 수도 있음은 자명하다.Parameter table is information configured to support parameter script described in ADM. This table describes information on whether a parameter used in one Network of FU is an inherited or directly declared variable from a higher Network of FU, Parameter name, Parameter type, initial value, and so on. However, examples of Type and Kind may be changed in various ways, and may be omitted if a field for interworking is unnecessary.

다음으로, 도 36을 참조하여, Parser FU의 형성 과정을 설명한다. Next, the formation process of the Parser FU will be described with reference to FIG. 36.

Parser FU는 DD에 소속된 6개의 테이블 (부분 디코더 디스크립션) 과 그것을 운용하기 위한 일반적인 (Generic) Parser FU를 이용하여 실제 구동 가능한 Parser FU로 생성되게 된다.The Parser FU is created as a Parser FU that can actually be run using six tables (partial decoder descriptions) belonging to the DD and a generic Parser FU to operate them.

일반적 Parser FU에 내장된 유한상태기계 (Finite State Machine, FSM)는 DD로부터 SET, SRT, CSCIT, DVT 등 4개 테이블을 참조하여 각 신택스의 처리 방법 (SET, DVT에 기술됨) 과 다음 신택스로의 처리 과정 이행 (SRT에 기술됨) 을 수행한다. 이러한 과정은 일반적으로 말해지고 있는 FSM에서의 State Transition 과정으로써 이루어진다. FSM은 각 신택스를 처리함에 따라 각 신택스로부터 얻어낸 정보를 CSCI(제어신호/내용정보)로서 저장한다. 이러한 CSCI 데이터는 FU와 FU 사이를 연결하는 데이터 전송 포트(port) 를 통하여 FU에 전달된다. 포트를 통해 CSCI 데이터를 전달하기 위해 이 데이터를 포트 전송용 포맷인 토큰(Token) 형태로 가공하는 과정이 필요하다. 토큰 형태로 가공된 CSCI 데이터를 특정 출력 포트로 연결해 다른 FU로 전송하는 과정을 포트 매핑 (Port Mapping) 과정이라 부르며, 이 과정에서는 테이블 중 FU-CSCIT를 참조하게 된다.The finite state machine (FSM) built into the Parser FU generally refers to four tables, DD, SET, SRT, CSCIT, and DVT, to process each syntax (described in SET, DVT) and to the following syntax: Carry out a process implementation (described in the SRT). This process is performed as a state transition process in the FSM, which is generally referred to. As the FSM processes each syntax, the FSM stores information obtained from each syntax as CSCI (control signal / content information). The CSCI data is delivered to the FU through a data transmission port connecting the FU and the FU. In order to deliver CSCI data through the port, the data needs to be processed into a token, a format for port transmission. The process of connecting CSCI data processed in token form to a specific output port and sending it to another FU is called Port Mapping process. In this process, FU-CSCIT is referred to in the table.

상술한 과정을 거쳐 실제로 구현되는 MPEG-4 Visual용 ADM이 도 37에 예시되어 있다.37 illustrates an ADM for MPEG-4 Visual which is actually implemented through the above-described process.

상술한 발명들은 사이즈 측면에서 최적화된 BDD 디자인, 비 MPEG 용 코덱을 위한 BDD 설계 및 실시간 환경을 위한 BDD 디코딩 기술 등에 적용되거나 활용될 수 있다.The above-described inventions can be applied or utilized to BDD design optimized in terms of size, BDD design for non-MPEG codec, and BDD decoding technology for real-time environment.

이하, 도 31 내지 도 37을 참조하여 설명한 발명에 적용될 수 있는 각 테이블을 예시한다.Hereinafter, each table applicable to the present invention described with reference to FIGS. 31 to 37 is illustrated.

먼저 FT는 아래와 같이 구성될 수 있다.First, the FT may be configured as follows.

IndexIndex FU IDFU ID FU NameFU Name FU TypeFU Type Parent NetworkParent network 1One -- DecoderDecoder Network of FUNetwork of FU -- 22 1010 ParserParser FUFU DecoderDecoder 33 -- INTRA_16X16_YINTRA_16X16_Y Network of FUNetwork of FU DecoderDecoder 44 -- INTRA_8X8_UINTRA_8X8_U Network of FUNetwork of FU DecoderDecoder 55 -- INTRA_8X8_VINTRA_8X8_V Network of FUNetwork of FU DecoderDecoder 66 -- Motion_16X16_YMotion_16X16_Y Network of FUNetwork of FU DeocderDeocder 77 -- Motion_8x8_UMotion_8x8_U Network of FUNetwork of FU DecoderDecoder 88 -- Motion_8x8_VMotion_8x8_V Network of FUNetwork of FU DecoderDecoder 99 1111 Address_16X16_YAddress_16X16_Y FUFU Motion_16X16_YMotion_16X16_Y 1010 00001A00001A FramebufFramebuf FUFU Motion_16X16_YMotion_16X16_Y 1111 00001B00001B interpolateinterpolate FUFU Motion_16X16YMotion_16X16Y 1212 00001C00001C AddAdd FUFU Motion_16X16_YMotion_16X16_Y 1313 00001D00001D Address_8X8_UAddress_8X8_U FUFU Motion_8X8_UMotion_8X8_U 1414 00001A00001A FramebufFramebuf FUFU Motion_8x8_UMotion_8x8_U 1515 00001B00001B interpolateinterpolate FUFU Motion_8X8_UMotion_8X8_U 1616 00001C00001C AddAdd FUFU Motion_8X8_UMotion_8X8_U 1717 00001E00001E Address_8X8_VAddress_8X8_V FUFU Motion_8x8_VMotion_8x8_V 1818 00001A00001A FramebufFramebuf FUFU Motion_8X8_VMotion_8X8_V 1919 00001B00001B interpolateinterpolate FUFU Motion_8X8_UMotion_8X8_U 2020 00001C00001C AddAdd FUFU Motion_8X8_UMotion_8X8_U 2121 2020 DCSpliteDCSplite FUFU INTRA_16X16_YINTRA_16X16_Y 2222 -- DCR_16X16_LDCR_16X16_L Network of FUNetwork of FU INTRA_16X16_YINTRA_16X16_Y 2323 2121 IS_8X8IS_8X8 FUFU INTRA_16X16_YINTRA_16X16_Y 2424 2222 IAP_16X16IAP_16X16 FUFU INTRA_16X16_YINTRA_16X16_Y 2525 2323 IQ_8X8IQ_8X8 FUFU INTRA_16X16_YINTRA_16X16_Y 2626 2424 IT_8X8IT_8X8 FUFU INTRA_16X16_YINTRA_16X16_Y 27 27 2020 DCSpliteDCSplite FUFU INTRA_16X16_YINTRA_16X16_Y 2828 -- DCR_8X8_CDCR_8X8_C Network of FUNetwork of FU INTRA_16X16_UINTRA_16X16_U 2929 2121 IS_8X8IS_8X8 FUFU INTRA_16X16_UINTRA_16X16_U 3030 2525 IAP_8X8IAP_8X8 FUFU INTRA_16X16_UINTRA_16X16_U 3131 2323 IQ_8X8IQ_8X8 FUFU INTRA_16X16_UINTRA_16X16_U 3232 2424 IT_8X8IT_8X8 FUFU INTRA_16X16_UINTRA_16X16_U 3333 2020 DCSpliteDCSplite FUFU INTRA_16X16_YINTRA_16X16_Y 3434 -- DCR_8X8_CDCR_8X8_C Network of FUNetwork of FU INTRA_16X16_VINTRA_16X16_V 3535 2121 IS_8X8IS_8X8 FUFU INTRA_16X16_VINTRA_16X16_V 3636 2525 IAP_8X8IAP_8X8 FUFU INTRA_16X16_VINTRA_16X16_V 3737 2323 IQ_8X8IQ_8X8 FUFU INTRA_16X16_VINTRA_16X16_V 3838 2424 IT_8X8IT_8X8 FUFU INTRA_16X16_VINTRA_16X16_V 3939 2626 DCR_addressingDCR_addressing FUFU DCR_16X16_LDCR_16X16_L 4040 2727 DCR_invpredDCR_invpred FUFU DCR_16X16_LDCR_16X16_L 4141 2626 DCR_addressingDCR_addressing FUFU DCR_8X8_CDCR_8X8_C 4242 2727 DCR_invpredDCR_invpred FUFU DCR_8X8_CDCR_8X8_C 4343 2626 DCR_addressingDCR_addressing FUFU DCR_8X8_CDCR_8X8_C 4444 2727 DCR_invpredDCR_invpred FUFU DCR_8X8_CDCR_8X8_C

다음으로, FLT를 예시하면 다음과 같다.Next, an example of FLT is as follows.

IndexIndex FT IndexFT Index FU NameFU Name FT IndexFT Index FU NameFU Name (Source)(Source) (Source)(Source) (Destination)(Destination) (Destination)(Destination) 1One 1One DecoderDecoder 22 ParserParser 22 22 ParserParser 33 INTRA_16X16_YINTRA_16X16_Y 33 22 ParserParser 44 INTRA_8X8_UINTRA_8X8_U 44 22 ParserParser 55 INTRA_8X8_VINTRA_8X8_V 55 22 ParserParser 66 Motion_16X16_YMotion_16X16_Y 66 22 ParserParser 77 Motion_8X8_UMotion_8X8_U 77 22 ParserParser 88 Motion_8X8_VMotion_8X8_V 88 33 INTRA_16X16_YINTRA_16X16_Y 66 Motion_16X16_YMotion_16X16_Y 99 44 INTRA_8X8_UINTRA_8X8_U 77 Motion_8X8_UMotion_8X8_U 1010 55 INTRA_8X8_VINTRA_8X8_V 88 Motion_8X8_VMotion_8X8_V 1111 66 Motion_16X16_YMotion_16X16_Y 1One DecoderDecoder 1212 77 Motion_8X8_UMotion_8X8_U 1One DecoderDecoder 1313 88 Motion_8X8_VMotion_8X8_V 1One DecoderDecoder 1414 66 Motion_16X16_YMotion_16X16_Y 99 Address_16X16_YAddress_16X16_Y 1515 66 Motion_16X16_YMotion_16X16_Y 1212 AddAdd 1616 99 Address_16X16_YAddress_16X16_Y 1010 FramebufFramebuf 1717 99 Address_16X16_YAddress_16X16_Y 1111 interpolateinterpolate 1818 1010 FramebufFramebuf 1111 interpolateinterpolate 1919 1111 interpolateinterpolate 1212 AddAdd 2020 1212 AddAdd 1010 FramebufFramebuf 2121 1212 AddAdd 66 Motion_16X16_YMotion_16X16_Y 2222 77 Motion_8X8_UMotion_8X8_U 1313 Address_8x8_UAddress_8x8_U 2323 77 Motion_8X8_UMotion_8X8_U 1616 AddAdd 2424 1313 Address_8x8_UAddress_8x8_U 1414 FramebufFramebuf 2525 1313 Address_8x8_UAddress_8x8_U 1515 interpolateinterpolate 2626 1414 FramebufFramebuf 1515 interpolateinterpolate 2727 1515 interpolateinterpolate 1616 AddAdd 2828 1616 AddAdd 1414 FramebufFramebuf 2929 1616 AddAdd 77 Motion_8X8_UMotion_8X8_U 3030 88 Motion_8X8_VMotion_8X8_V 1717 Address_8x8_UAddress_8x8_U 3131 88 Motion_8X8_VMotion_8X8_V 2020 AddAdd 3232 1717 Address_8x8_VAddress_8x8_V 1818 FramebufFramebuf 3333 1717 Address_8x8_VAddress_8x8_V 1919 interpolateinterpolate 3434 1818 FramebufFramebuf 1919 interpolateinterpolate 3535 1919 interpolateinterpolate 2020 AddAdd 3636 2020 AddAdd 1818 FramebufFramebuf 3737 2020 AddAdd 88 Motion_8X8_VMotion_8X8_V 3838 33 INTRA_16X16_YINTRA_16X16_Y 2121 DCSpliteDCSplite 3939 33 INTRA_16X16_YINTRA_16X16_Y 2222 DCR_16X16_LDCR_16X16_L 4040 2121 DCSpliteDCSplite 2222 DCR_16X16_LDCR_16X16_L 4141 2121 DCSpliteDCSplite 2323 IS_8X8IS_8X8 4242 2222 DCR_16X16_LDCR_16X16_L 2323 IS_8X8IS_8X8 4343 2222 DCR_16X16_LDCR_16X16_L 2424 IAP_16X16IAP_16X16 4444 2222 DCR_16X16_LDCR_16X16_L 2525 IQ_8X8IQ_8X8 4545 2222 DCR_16X16_LDCR_16X16_L 2626 IT_8X8IT_8X8 4646 2323 IS_8X8IS_8X8 2424 IAP_16X16IAP_16X16 4747 2424 IAP_16X16IAP_16X16 2525 IQ_8X8IQ_8X8 4848 2525 IQ_8X8IQ_8X8 2626 IT_8X8IT_8X8 4949 2626 IT_8X8IT_8X8 33 INTRA_16X16_YINTRA_16X16_Y 50 50 44 INTRA_8X8_UINTRA_8X8_U 2727 DCSpliteDCSplite 5151 44 INTRA_8X8_UINTRA_8X8_U 2828 DCR_8X8_CDCR_8X8_C 5252 2727 DCSpliteDCSplite 2828 DCR_8X8_CDCR_8X8_C 5353 2727 DCSpliteDCSplite 2929 IS_8X8IS_8X8 5454 2828 DCR_8X8_CDCR_8X8_C 2929 IS_8X8IS_8X8 5555 2828 DCR_8X8_CDCR_8X8_C 3030 IAP_8X8IAP_8X8 5656 2828 DCR_8X8_CDCR_8X8_C 3131 IQ_8X8IQ_8X8 5757 2828 DCR_8X8_CDCR_8X8_C 3232 IT_8X8IT_8X8 5858 2929 IS_8X8IS_8X8 3030 IAP_8X8IAP_8X8 5959 3030 IAP_8X8IAP_8X8 3131 IQ_8X8IQ_8X8 6060 3131 IQ_8X8IQ_8X8 3232 IT_8X8IT_8X8 6161 3232 IT_8X8IT_8X8 44 INTRA_8X8_UINTRA_8X8_U 6262 55 INTRA_8X8_VINTRA_8X8_V 3333 DCSpliteDCSplite 6363 55 INTRA_8X8_VINTRA_8X8_V 3434 DCR_8X8_CDCR_8X8_C 6464 3333 DCSpliteDCSplite 3434 DCR_8X8_CDCR_8X8_C 6565 3333 DCSpliteDCSplite 3535 IS_8X8IS_8X8 6666 3434 DCR_8X8_CDCR_8X8_C 3535 IS_8X8IS_8X8 6767 3434 DCR_8X8_CDCR_8X8_C 3636 IAP_8X8IAP_8X8 6868 3434 DCR_8X8_CDCR_8X8_C 3737 IQ_8X8IQ_8X8 6969 3434 DCR_8X8_CDCR_8X8_C 3838 IT_8X8IT_8X8 7070 3535 IS_8X8IS_8X8 3636 IAP_8X8IAP_8X8 7171 3636 IAP_8X8IAP_8X8 3737 IQ_8X8IQ_8X8 7272 3737 IQ_8X8IQ_8X8 3838 IT_8X8IT_8X8 7373 3838 IT_8X8IT_8X8 55 INTRA_8X8_VINTRA_8X8_V 7474 2222 DCR_16X16_LDCR_16X16_L 3939 DCR_addressingDCR_addressing 7575 2222 DCR_16X16_LDCR_16X16_L 4040 DCR_invpredDCR_invpred 7676 3939 DCR_addressingDCR_addressing 4040 DCR_invpredDCR_invpred 7777 4040 DCR_invpredDCR_invpred 2222 DCR_16X16_LDCR_16X16_L 7878 2828 DCR_8x8_CDCR_8x8_C 4141 DCR_addressingDCR_addressing 7979 2828 DCR_8x8_CDCR_8x8_C 4242 DCR_invpredDCR_invpred 8080 4141 DCR_addressingDCR_addressing 4242 DCR_invpredDCR_invpred 8181 4242 DCR_invpredDCR_invpred 2828 DCR_8x8_CDCR_8x8_C 8282 3333 DCR_8x8_CDCR_8x8_C 4343 DCR_addressingDCR_addressing 8383 3333 DCR_8x8_CDCR_8x8_C 4444 DCR_invpredDCR_invpred 8484 4343 DCR_addressingDCR_addressing 4444 DCR_invpredDCR_invpred 8585 4444 DCR_invpredDCR_invpred 3333 DCR_8x8_CDCR_8x8_C

다음으로, FU-CSCIT를 예시하면 다음과 같다.Next, FU-CSCIT is illustrated as follows.

IndexIndex FLT-IndexFLT-Index Srt PortSrt port Dst PortDst port Output TokensOutput tokens Input TokensInput tokens 1One 22 BTYPE_YBTYPE_Y BTYPEBTYPE C2,C3,C4,C7C2, C3, C4, C7 C2,C3,C4,C7C2, C3, C4, C7 22 22 B_YB_Y QPSQPS C8C8 C8C8 33 33 BTYPE_UBTYPE_U BTYPEBTYPE C2,C5,C6,C7C2, C5, C6, C7 C2,C5,C6,C7C2, C5, C6, C7 44 33 B_UB_U QPSQPS C11C11 C11C11 55 44 BTYPE_VBTYPE_V BTYPEBTYPE C2,C5,C6,C7C2, C5, C6, C7 C2,C5,C6,C7C2, C5, C6, C7 66 44 B_VB_V QPSQPS C12C12 C12C12 77 55 MV_YMV_Y MVMV C1C1 C1C1 88 55 BTYPE_YBTYPE_Y BTYPEBTYPE C2,C3,C4,C7C2, C3, C4, C7 C2,C3,C4,C7C2, C3, C4, C7 99 66 MV_UMV_U MVMV C9C9 C9C9 1010 66 BTYPE_UBTYPE_U BTYPEBTYPE C2,C5,C6,C7C2, C5, C6, C7 C2,C5,C6,C7C2, C5, C6, C7 1111 77 MV_VMV_V MVMV C10C10 C10C10 1212 77 BTYPE_VBTYPE_V BTYPEBTYPE C2,C5,C6,C7C2, C5, C6, C7 C2,C5,C6,C7C2, C5, C6, C7 1313 88 ff TEXTEX C8C8 C8C8 1414 99 ff TEXTEX C11C11 C11C11 1515 1010 ff TEXTEX C12C12 C12C12 1616 1111 VIDVID -- C13C13 -- 1717 1212 VIDVID -- C14C14 -- 1818 1313 VIDVID -- C15C15 -- 1919 1414 MVMV MVMV C1C1 C1C1 2020 1414 BTYPEBTYPE BTYPEBTYPE C2,C3,C4,C7C2, C3, C4, C7 C2,C3,C4,C7C2, C3, C4, C7 2121 1515 BTYPEBTYPE BTYPEBTYPE C2,C3,C4,C7C2, C3, C4, C7 C2,C3,C4,C7C2, C3, C4, C7 2222 1515 TEXTEX TEXTEX C8C8 C8C8 2323 1616 WAWA WAWA C16C16 C16C16 2424 1616 RARA RARA C17C17 C17C17 2525 1717 halfpelhalfpel halfpelhalfpel C18C18 C18C18 2626 1818 RDRD RDRD C19C19 C19C19 2727 1919 MOTMOT MOTMOT C20C20 C20C20 2828 2020 VIDVID WDWD C13C13 C13C13 2929 2121 VIDVID VIDVID C13C13 C13C13 3030 2222 MVMV MVMV C1C1 C1C1 3131 2222 BTYPEBTYPE BTYPEBTYPE C2,C5,C6,C7C2, C5, C6, C7 C2,C5,C6,C7C2, C5, C6, C7 3232 2323 BTYPEBTYPE BTYPEBTYPE C2,C5,C6,C7C2, C5, C6, C7 C2,C5,C6,C7C2, C5, C6, C7 3333 2323 TEXTEX TEXTEX C11C11 C11C11 3434 2424 WAWA WAWA C16C16 C16C16 3535 2424 RARA RARA C17C17 C17C17 3636 2525 halfpelhalfpel halfpelhalfpel C18C18 C18C18 3737 2626 RDRD RDRD C19C19 C19C19 3838 2727 MOTMOT MOTMOT C20C20 C20C20 3939 2828 VIDVID WDWD C14C14 C14C14 4040 2929 VIDVID VIDVID C14C14 C14C14 4141 3030 MVMV MVMV C1C1 C1C1 4242 3030 BTYPEBTYPE BTYPEBTYPE C2,C5,C6,C7C2, C5, C6, C7 C2,C5,C6,C7C2, C5, C6, C7 4343 3131 BTYPEBTYPE BTYPEBTYPE C2,C5,C6,C7C2, C5, C6, C7 C2,C5,C6,C7C2, C5, C6, C7 4444 3131 TEXTEX TEXTEX C12C12 C12C12 4545 3232 WAWA WAWA C16C16 C16C16 4646 3232 RARA RARA C17C17 C17C17 4747 3333 halfpelhalfpel halfpelhalfpel C18C18 C18C18 4848 3434 RDRD RDRD C19C19 C19C19 4949 3535 MOTMOT MOTMOT C20C20 C20C20 5050 3636 VIDVID WDWD C14C14 C14C14 5151 3737 VIDVID VIDVID C15C15 C15C15 5252 3838 QFSQFS ININ C8C8 C8C8 5353 3939 BTYPEBTYPE BTYPEBTYPE C2,C3,C4,C7C2, C3, C4, C7 C2,C3,C4,C7C2, C3, C4, C7 54 54 4040 DCDC QFS_DCQFS_DC C21C21 C21C21 5555 4141 ADAD QFS_ACQFS_AC C22C22 C22C22 5656 4242 AC_PRED_DIRAC_PRED_DIR AC_PRED_DIRAC_PRED_DIR C23C23 C23C23 5757 4343 PTRPTR PTRPTR C27C27 C27C27 5858 4343 AC_PRED_DIRAC_PRED_DIR AC_PRED_DIRAC_PRED_DIR C23C23 C23C23 5959 4444 QF_DCQF_DC DCDC C29C29 C29C29 6060 4444 QUANTQUANT QPQP C28C28 C28C28 6161 4545 signedsigned signedsigned C30C30 C30C30 6262 4646 PQF_ACPQF_AC PQF_ACPQF_AC C24C24 C24C24 6363 4747 QF_ACQF_AC QF_ACQF_AC C25C25 C25C25 6464 4848 OUTOUT ININ C26C26 C26C26 6565 4949 outout ff C8C8 C8C8 6666 5050 QFSQFS ININ C8C8 C8C8 6767 5151 BTYPEBTYPE BTYPEBTYPE C2,C5,C6,C7C2, C5, C6, C7 C2,C5,C6,C7C2, C5, C6, C7 6868 5252 DCDC QFS_DCQFS_DC C21C21 C21C21 6969 5353 ADAD QFS_ACQFS_AC C22C22 C22C22 7070 5454 AC_PRED_DIRAC_PRED_DIR AC_PRED_DIRAC_PRED_DIR C23C23 C23C23 7171 5555 PTRPTR PTRPTR C27C27 C27C27 7272 5555 AC_PRED_DIRAC_PRED_DIR AC_PRED_DIRAC_PRED_DIR C23C23 C23C23 7373 5656 QF_DCQF_DC DCDC C29C29 C29C29 7474 5656 QUANTQUANT QPQP C28C28 C28C28 7575 5757 signedsigned signedsigned C30C30 C30C30 7676 5858 PQF_ACPQF_AC PQF_ACPQF_AC C24C24 C24C24 7777 5959 QF_ACQF_AC QF_ACQF_AC C25C25 C25C25 7878 6060 OUTOUT ININ C26C26 C26C26 7979 6161 outout ff C11C11 C11C11 8080 6262 QFSQFS ININ C8C8 C8C8 8181 6363 BTYPEBTYPE BTYPEBTYPE C2,C5,C6,C7C2, C5, C6, C7 C2,C5,C6,C7C2, C5, C6, C7 8282 6464 DCDC QFS_DCQFS_DC C21C21 C21C21 8383 6565 ADAD QFS_ACQFS_AC C22C22 C22C22 8484 6666 AC_PRED_DIRAC_PRED_DIR AC_PRED_DIRAC_PRED_DIR C23C23 C23C23 8585 6767 PTRPTR PTRPTR C27C27 C27C27 8686 6767 AC_PRED_DIRAC_PRED_DIR AC_PRED_DIRAC_PRED_DIR C23C23 C23C23 8787 6868 QF_DCQF_DC DCDC C29C29 C29C29 8888 6868 QUANTQUANT QPQP C28C28 C28C28 8989 6969 signedsigned signedsigned C30C30 C30C30 9090 7070 PQF_ACPQF_AC PQF_ACPQF_AC C24C24 C24C24 9191 7171 QF_ACQF_AC QF_ACQF_AC C25C25 C25C25 9292 7272 OUTOUT ININ C26C26 C26C26 9393 7373 outout ff C12C12 C12C12 9494 7474 BTYPEBTYPE BTYPEBTYPE C2,C3,C4,C7C2, C3, C4, C7 C2,C3,C4,C7C2, C3, C4, C7 9595 7575 BTYPEBTYPE BTYPEBTYPE C2,C3,C4,C7C2, C3, C4, C7 C2,C3,C4,C7C2, C3, C4, C7 9696 7575 QFS_DCQFS_DC QFS_DCQFS_DC C29C29 C29C29 9797 7676 AA AA C32C32 C32C32 9898 7676 BB BB C33C33 C33C33 9999 7676 CC CC C34C34 C34C34 100100 7777 PTRPTR PTRPTR C27C27 C27C27 101 101 7777 AC_PRED_DIRAC_PRED_DIR AC_PRED_DIRAC_PRED_DIR C23C23 C23C23 102102 7777 signedsigned signedsigned C30C30 C30C30 103103 7777 QF_DCQF_DC QF_DCQF_DC C29C29 C29C29 104104 7777 QUANTQUANT QUANTQUANT C28C28 C28C28 105105 7878 BTYPEBTYPE BTYPEBTYPE C2,C3,C4,C7C2, C3, C4, C7 C2,C3,C4,C7C2, C3, C4, C7 106106 7979 BTYPEBTYPE BTYPEBTYPE C2,C3,C4,C7C2, C3, C4, C7 C2,C3,C4,C7C2, C3, C4, C7 107107 7979 QFS_DCQFS_DC QFS_DCQFS_DC C29C29 C29C29 108108 8080 AA AA C32C32 C32C32 109109 8080 BB BB C33C33 C33C33 110110 8080 CC CC C34C34 C34C34 111111 8181 PTRPTR PTRPTR C27C27 C27C27 112112 8181 AC_PRED_DIRAC_PRED_DIR AC_PRED_DIRAC_PRED_DIR C23C23 C23C23 113113 8181 signedsigned signedsigned C30C30 C30C30 114114 8181 QF_DCQF_DC QF_DCQF_DC C29C29 C29C29 115115 8181 QUANTQUANT QUANTQUANT C28C28 C28C28 116116 8282 BTYPEBTYPE BTYPEBTYPE C2,C3,C4,C7C2, C3, C4, C7 C2,C3,C4,C7C2, C3, C4, C7 117117 8383 BTYPEBTYPE BTYPEBTYPE C2,C3,C4,C7C2, C3, C4, C7 C2,C3,C4,C7C2, C3, C4, C7 118118 8383 QFS_DCQFS_DC QFS_DCQFS_DC C29C29 C29C29 119119 8484 AA AA C32C32 C32C32 120120 8484 BB BB C33C33 C33C33 121121 8484 CC CC C34C34 C34C34 122122 8585 PTRPTR PTRPTR C27C27 C27C27 123123 8585 AC_PRED_DIRAC_PRED_DIR AC_PRED_DIRAC_PRED_DIR C23C23 C23C23 124124 8585 signedsigned signedsigned C30C30 C30C30 125125 8585 QF_DCQF_DC QF_DCQF_DC C29C29 C29C29 126126 8585 QUANTQUANT QUANTQUANT C28C28 C28C28

다음으로, PT를 예시한다.Next, PT is illustrated.

INDEXINDEX FT-IndexFT-Index Src NameSrc name Param NameParam name TypeType KindKind Initial ValueInitial Value 1One 1One -- MAXW_IN_MBMAXW_IN_MB VarVar Literal:IntegerLiteral: Integer 1212 22 1One -- MAXH_IN_MBMAXH_IN_MB VarVar Literal:IntegerLiteral: Integer 1010 33 1One -- ADDR_SZADDR_SZ VarVar Literal:IntegerLiteral: Integer 2020 44 1One -- PIX_SZPIX_SZ VarVar Literal:IntegerLiteral: Integer 99 55 1One -- MV_SZMV_SZ VarVar Literal:IntegerLiteral: Integer 99 66 1One -- SAMPLE_COUNT_SZSAMPLE_COUNT_SZ VarVar Literal:IntegerLiteral: Integer 88 77 1One -- SAMPLE_SZSAMPLE_SZ VarVar Literal:IntegerLiteral: Integer 1313 88 1One -- MB_COORD_SZMB_COORD_SZ VarVar Literal:IntegerLiteral: Integer 88 99 1One -- BTYPE_SZBTYPE_SZ VarVar Literal:IntegerLiteral: Integer 1212 1010 1One -- NEWVOPNEWVOP VarVar Literal:IntegerLiteral: Integer 20482048 1111 1One -- INTRAINTRA VarVar Literal:IntegerLiteral: Integer 10241024 1212 1One -- INTERINTER VarVar Literal:IntegerLiteral: Integer 512512 1313 1One -- QUANT_MASKQUANT_MASK VarVar Literal:IntegerLiteral: Integer 3131 1414 1One -- ROUND_TYPEROUND_TYPE VarVar Literal:IntegerLiteral: Integer 3232 1515 1One -- FCODE_MASKFCODE_MASK VarVar Literal:IntegerLiteral: Integer 448448 1616 1One -- FCODE_SHIFTFCODE_SHIFT VarVar Literal:IntegerLiteral: Integer 66 1717 1One -- ACPREDACPRED VarVar Literal:IntegerLiteral: Integer 1One 1818 1One -- ACCODEDACCODED VarVar Literal:IntegerLiteral: Integer 22 1919 1One -- FOURMVFOURMV VarVar Literal:IntegerLiteral: Integer 44 2020 1One -- MOTIONMOTION VarVar Literal:IntegerLiteral: Integer 88 2121 1One -- QUANT_SzQUANT_Sz VarVar Literal:IntegerLiteral: Integer 66 2222 1One -- SEARCHWIN_IN_MBSEARCHWIN_IN_MB VarVar Literal:IntegerLiteral: Integer 33 2323 1One -- MB_COORD_SZMB_COORD_SZ VarVar Literal:IntegerLiteral: Integer -- 2424 1One -- DCVALDCVAL VarVar Literal:IntegerLiteral: Integer 10241024 2525 33 MAXW_IN_MBMAXW_IN_MB MAXW_IN_MBMAXW_IN_MB VarVar -- -- 2626 33 BTYPE_SZBTYPE_SZ BTYPE_SZBTYPE_SZ VarVar -- -- 2727 33 SAMPLE_SZSAMPLE_SZ SAMPLE_SZSAMPLE_SZ VarVar -- -- 28 28 33 NEWVOPNEWVOP NEWVOPNEWVOP VarVar -- -- 2929 33 INTRAINTRA INTRAINTRA VarVar -- -- 3030 33 INTERINTER INTERINTER VarVar -- -- 3131 33 QUANT_MASKQUANT_MASK QUANT_MASKQUANT_MASK VarVar -- -- 3232 33 ACPREDACPRED ACPREDACPRED VarVar -- -- 3333 33 ACCODEDACCODED ACCODEDACCODED VarVar -- -- 3434 33 QUANT_SZQUANT_SZ QUANT_SZQUANT_SZ VarVar -- -- 3535 33 MB_COORD_SZMB_COORD_SZ MB_COORD_SZMB_COORD_SZ VarVar -- -- 3636 44 MAXW_IN_MBMAXW_IN_MB MAXW_IN_MBMAXW_IN_MB VarVar -- -- 3737 44 BTYPE_SZBTYPE_SZ BTYPE_SZBTYPE_SZ VarVar -- -- 3838 44 SAMPLE_SZSAMPLE_SZ SAMPLE_SZSAMPLE_SZ VarVar -- -- 3939 44 NEWVOPNEWVOP NEWVOPNEWVOP VarVar -- -- 4040 44 INTRAINTRA INTRAINTRA VarVar -- -- 4141 44 INTERINTER INTERINTER VarVar -- -- 4242 44 QUANT_MASKQUANT_MASK QUANT_MASKQUANT_MASK VarVar -- -- 4343 44 ACPREDACPRED ACPREDACPRED VarVar -- -- 4444 44 ACCODEDACCODED ACCODEDACCODED VarVar -- -- 4545 44 QUANT_SZQUANT_SZ QUANT_SZQUANT_SZ VarVar -- -- 4646 44 MB_COORD_SZMB_COORD_SZ MB_COORD_SZMB_COORD_SZ VarVar -- -- 4747 55 MAXW_IN_MBMAXW_IN_MB MAXW_IN_MBMAXW_IN_MB VarVar -- -- 4848 55 BTYPE_SZBTYPE_SZ BTYPE_SZBTYPE_SZ VarVar -- -- 4949 55 SAMPLE_SZSAMPLE_SZ SAMPLE_SZSAMPLE_SZ VarVar -- -- 5050 55 NEWVOPNEWVOP NEWVOPNEWVOP VarVar -- -- 5151 55 INTRAINTRA INTRAINTRA VarVar -- -- 5252 55 INTERINTER INTERINTER VarVar -- -- 5353 55 QUANT_MASKQUANT_MASK QUANT_MASKQUANT_MASK VarVar -- -- 5454 55 ACPREDACPRED ACPREDACPRED VarVar -- -- 5555 55 ACCODEDACCODED ACCODEDACCODED VarVar -- -- 5656 55 QUANT_SZQUANT_SZ QUANT_SZQUANT_SZ VarVar -- -- 5757 55 MB_COORD_SZMB_COORD_SZ MB_COORD_SZMB_COORD_SZ VarVar -- -- 5858 66 SEARCHWIN_IN_MBSEARCHWIN_IN_MB SEARCHWIN_IN_MBSEARCHWIN_IN_MB VarVar -- -- 5959 66 MAXW_IN_MBMAXW_IN_MB MAXW_IN_MBMAXW_IN_MB VarVar -- -- 6060 66 MAXH_IN_MBMAXH_IN_MB MAXH_IN_MBMAXH_IN_MB VarVar -- -- 6161 66 MV_SZMV_SZ MV_SZMV_SZ VarVar -- -- 6262 66 ADDR_SZADDR_SZ ADDR_SZADDR_SZ VarVar -- -- 6363 66 PIX_SZPIX_SZ PIX_SZPIX_SZ VarVar -- -- 6464 66 MB_COORD_SZMB_COORD_SZ MB_COORD_SZMB_COORD_SZ VarVar -- -- 6565 66 BTYPE_SZBTYPE_SZ BTYPE_SZBTYPE_SZ VarVar -- -- 6666 66 NEWVOPNEWVOP NEWVOPNEWVOP VarVar -- -- 6767 66 INTRAINTRA INTRAINTRA VarVar -- -- 6868 66 ACCODEDACCODED ACCODEDACCODED VarVar -- -- 6969 66 ROUND_TYPEROUND_TYPE ROUND_TYPEROUND_TYPE VarVar -- -- 7070 66 MOTIONMOTION MOTIONMOTION VarVar -- -- 7171 66 -- BUF_SZBUF_SZ VarVar Literal:IntegerLiteral: Integer -- 7272 66 -- FLAG_SZFLAG_SZ VarVar Literal:IntegerLiteral: Integer 44 7373 77 SEARCHWIN_IN_MBSEARCHWIN_IN_MB SEARCHWIN_IN_MBSEARCHWIN_IN_MB VarVar -- -- 74 74 77 MAXW_IN_MBMAXW_IN_MB MAXW_IN_MBMAXW_IN_MB VarVar -- -- 7575 77 MAXH_IN_MBMAXH_IN_MB MAXH_IN_MBMAXH_IN_MB VarVar -- -- 7676 77 MV_SZMV_SZ MV_SZMV_SZ VarVar -- -- 7777 77 ADDR_SZADDR_SZ ADDR_SZADDR_SZ VarVar -- -- 7878 77 PIX_SZPIX_SZ PIX_SZPIX_SZ VarVar -- -- 7979 77 MB_COORD_SZMB_COORD_SZ MB_COORD_SZMB_COORD_SZ VarVar -- -- 8080 77 BTYPE_SZBTYPE_SZ BTYPE_SZBTYPE_SZ VarVar -- -- 8181 77 NEWVOPNEWVOP NEWVOPNEWVOP VarVar -- -- 8282 77 INTRAINTRA INTRAINTRA VarVar -- -- 8383 77 ACCODEDACCODED ACCODEDACCODED VarVar -- -- 8484 77 ROUND_TYPEROUND_TYPE ROUND_TYPEROUND_TYPE VarVar -- -- 8585 77 MOTIONMOTION MOTIONMOTION VarVar -- -- 8686 77 -- BUF_SZBUF_SZ VarVar Literal:IntegerLiteral: Integer -- 8787 77 -- FLAG_SZFLAG_SZ VarVar Literal:IntegerLiteral: Integer 44 8888 88 SEARCHWIN_IN_MBSEARCHWIN_IN_MB SEARCHWIN_IN_MBSEARCHWIN_IN_MB VarVar -- -- 8989 88 MAXW_IN_MBMAXW_IN_MB MAXW_IN_MBMAXW_IN_MB VarVar -- -- 9090 88 MAXH_IN_MBMAXH_IN_MB MAXH_IN_MBMAXH_IN_MB VarVar -- -- 9191 88 MV_SZMV_SZ MV_SZMV_SZ VarVar -- -- 9292 88 ADDR_SZADDR_SZ ADDR_SZADDR_SZ VarVar -- -- 9393 88 PIX_SZPIX_SZ PIX_SZPIX_SZ VarVar -- -- 9494 88 MB_COORD_SZMB_COORD_SZ MB_COORD_SZMB_COORD_SZ VarVar -- -- 9595 88 BTYPE_SZBTYPE_SZ BTYPE_SZBTYPE_SZ VarVar -- -- 9696 88 NEWVOPNEWVOP NEWVOPNEWVOP VarVar -- -- 9797 88 INTRAINTRA INTRAINTRA VarVar -- -- 9898 88 ACCODEDACCODED ACCODEDACCODED VarVar -- -- 9999 88 ROUND_TYPEROUND_TYPE ROUND_TYPEROUND_TYPE VarVar -- -- 100100 88 MOTIONMOTION MOTIONMOTION VarVar -- -- 101101 88 -- BUF_SZBUF_SZ VarVar Literal:IntegerLiteral: Integer -- 102102 88 -- FLAG_SZFLAG_SZ VarVar Literal:IntegerLiteral: Integer 44 103103 99 SEARCHWIN_IN_MBSEARCHWIN_IN_MB SEARCHWIN_IN_MBSEARCHWIN_IN_MB VarVar -- -- 104104 99 MAXW_IN_MBMAXW_IN_MB MAXW_IN_MBMAXW_IN_MB VarVar -- -- 105105 99 MAXH_IN_MBMAXH_IN_MB MAXH_IN_MBMAXH_IN_MB VarVar -- -- 106106 99 ADDR_SZADDR_SZ ADDR_SZADDR_SZ VarVar -- -- 107107 99 FLAG_SZFLAG_SZ FLAG_SZFLAG_SZ VarVar -- -- 108108 99 MV_SZMV_SZ MV_SZMV_SZ VarVar -- -- 109109 99 MB_COORD_SZMB_COORD_SZ MB_COORD_SZMB_COORD_SZ VarVar -- -- 110110 99 BTYPE_SZBTYPE_SZ BTYPE_SZBTYPE_SZ VarVar -- -- 111111 99 INTRAINTRA INTRAINTRA VarVar -- -- 112112 99 NEWVOPNEWVOP NEWVOPNEWVOP VarVar -- -- 113113 99 ROUND_TYPEROUND_TYPE ROUND_TYPEROUND_TYPE VarVar -- -- 114114 99 MOTIONMOTION MOTIONMOTION VarVar -- -- 115115 1010 BUF_SZBUF_SZ BUF_SZBUF_SZ VarVar -- -- 116116 1010 PIX_SZPIX_SZ PIX_SZPIX_SZ VarVar -- -- 117117 1010 ADDR_SZADDR_SZ ADDR_SZADDR_SZ VarVar -- -- 118118 1111 PIX_SZPIX_SZ PIX_SZPIX_SZ VarVar -- -- 119 119 1111 FLAG_SZFLAG_SZ FLAG_SZFLAG_SZ VarVar -- -- 120120 1212 PIX_SZPIX_SZ PIX_SZPIX_SZ VarVar -- -- 121121 1212 MB_COORD_SZMB_COORD_SZ MB_COORD_SZMB_COORD_SZ VarVar -- -- 122122 1212 BTYPE_SZBTYPE_SZ BTYPE_SZBTYPE_SZ VarVar -- -- 123123 1212 NEWVOPNEWVOP NEWVOPNEWVOP VarVar -- -- 124124 1212 INTRAINTRA INTRAINTRA VarVar -- -- 125125 1212 ACCODEDACCODED ACCODEDACCODED VarVar -- -- 126126 1313 SEARCHWIN_IN_MBSEARCHWIN_IN_MB SEARCHWIN_IN_MBSEARCHWIN_IN_MB VarVar -- -- 127127 1313 MAXW_IN_MBMAXW_IN_MB MAXW_IN_MBMAXW_IN_MB VarVar -- -- 128128 1313 MAXH_IN_MBMAXH_IN_MB MAXH_IN_MBMAXH_IN_MB VarVar -- -- 129129 1313 ADDR_SZADDR_SZ ADDR_SZADDR_SZ VarVar -- -- 130130 1313 FLAG_SZFLAG_SZ FLAG_SZFLAG_SZ VarVar -- -- 131131 1313 MV_SZMV_SZ MV_SZMV_SZ VarVar -- -- 132132 1313 MB_COORD_SZMB_COORD_SZ MB_COORD_SZMB_COORD_SZ VarVar -- -- 133133 1313 BTYPE_SZBTYPE_SZ BTYPE_SZBTYPE_SZ VarVar -- -- 134134 1313 INTRAINTRA INTRAINTRA VarVar -- -- 135135 1313 NEWVOPNEWVOP NEWVOPNEWVOP VarVar -- -- 136136 1313 ROUND_TYPEROUND_TYPE ROUND_TYPEROUND_TYPE VarVar -- -- 137137 1313 MOTIONMOTION MOTIONMOTION VarVar -- -- 138138 1414 BUF_SZBUF_SZ BUF_SZBUF_SZ VarVar -- -- 139139 1414 PIX_SZPIX_SZ PIX_SZPIX_SZ VarVar -- -- 140140 1414 ADDR_SZADDR_SZ ADDR_SZADDR_SZ VarVar -- -- 141141 1515 PIX_SZPIX_SZ PIX_SZPIX_SZ VarVar -- -- 142142 1515 FLAG_SZFLAG_SZ FLAG_SZFLAG_SZ VarVar -- -- 143143 1616 PIX_SZPIX_SZ PIX_SZPIX_SZ VarVar -- -- 144144 1616 MB_COORD_SZMB_COORD_SZ MB_COORD_SZMB_COORD_SZ VarVar -- -- 145145 1616 BTYPE_SZBTYPE_SZ BTYPE_SZBTYPE_SZ VarVar -- -- 146146 1616 NEWVOPNEWVOP NEWVOPNEWVOP VarVar -- -- 147147 1616 INTRAINTRA INTRAINTRA VarVar -- -- 148148 1616 ACCODEDACCODED ACCODEDACCODED VarVar -- -- 149149 1717 SEARCHWIN_IN_MBSEARCHWIN_IN_MB SEARCHWIN_IN_MBSEARCHWIN_IN_MB VarVar -- -- 150150 1717 MAXW_IN_MBMAXW_IN_MB MAXW_IN_MBMAXW_IN_MB VarVar -- -- 151151 1717 MAXH_IN_MBMAXH_IN_MB MAXH_IN_MBMAXH_IN_MB VarVar -- -- 152152 1717 ADDR_SZADDR_SZ ADDR_SZADDR_SZ VarVar -- -- 153153 1717 FLAG_SZFLAG_SZ FLAG_SZFLAG_SZ VarVar -- -- 154154 1717 MV_SZMV_SZ MV_SZMV_SZ VarVar -- -- 155155 1717 MB_COORD_SZMB_COORD_SZ MB_COORD_SZMB_COORD_SZ VarVar -- -- 156156 1717 BTYPE_SZBTYPE_SZ BTYPE_SZBTYPE_SZ VarVar -- -- 157157 1717 INTRAINTRA INTRAINTRA VarVar -- -- 158158 1717 NEWVOPNEWVOP NEWVOPNEWVOP VarVar -- -- 159159 1717 ROUND_TYPEROUND_TYPE ROUND_TYPEROUND_TYPE VarVar -- -- 160160 1717 MOTIONMOTION MOTIONMOTION VarVar -- -- 161161 1818 BUF_SZBUF_SZ BUF_SZBUF_SZ VarVar -- -- 162162 1818 PIX_SZPIX_SZ PIX_SZPIX_SZ VarVar -- -- 163163 1818 ADDR_SZADDR_SZ ADDR_SZADDR_SZ VarVar -- -- 164164 1919 PIX_SZPIX_SZ PIX_SZPIX_SZ VarVar -- -- 165165 1919 FLAG_SZFLAG_SZ FLAG_SZFLAG_SZ VarVar -- -- 166166 2020 PIX_SZPIX_SZ PIX_SZPIX_SZ VarVar -- -- 167 167 2020 MB_COORD_SZMB_COORD_SZ MB_COORD_SZMB_COORD_SZ VarVar -- -- 168168 2020 BTYPE_SZBTYPE_SZ BTYPE_SZBTYPE_SZ VarVar -- -- 169169 2020 NEWVOPNEWVOP NEWVOPNEWVOP VarVar -- -- 170170 2020 INTRAINTRA INTRAINTRA VarVar -- -- 171171 2020 ACCODEDACCODED ACCODEDACCODED VarVar -- -- 172172 2121 SAMPLE_SZSAMPLE_SZ SAMPLE_SZSAMPLE_SZ VarVar -- -- 173173 2222 DCVALDCVAL DCVALDCVAL VarVar -- -- 174174 2222 MAXW_IN_MBMAXW_IN_MB MAXW_IN_MBMAXW_IN_MB VarVar -- -- 175175 2222 MB_COORD_SZMB_COORD_SZ MB_COORD_SZMB_COORD_SZ VarVar -- -- 176176 2222 BTYPE_SZBTYPE_SZ BTYPE_SZBTYPE_SZ VarVar -- -- 177177 2222 SAMPLE_SZSAMPLE_SZ SAMPLE_SZSAMPLE_SZ VarVar -- -- 178178 2222 NEWVOPNEWVOP NEWVOPNEWVOP VarVar -- -- 179179 2222 INTRAINTRA INTRAINTRA VarVar -- -- 180180 2222 INTERINTER INTERINTER VarVar -- -- 181181 2222 QUANT_MASKQUANT_MASK QUANT_MASKQUANT_MASK VarVar -- -- 182182 2222 ACCODEDACCODED ACCODEDACCODED VarVar -- -- 183183 2222 QUANT_SZQUANT_SZ QUANT_SZQUANT_SZ VarVar -- -- 184184 2323 SAMPLE_SZSAMPLE_SZ SAMPLE_SZSAMPLE_SZ VarVar -- -- 185185 2424 MAXW_IN_MBMAXW_IN_MB MAXW_IN_MBMAXW_IN_MB VarVar -- -- 186186 2424 MB_COORD_SZMB_COORD_SZ MB_COORD_SZMB_COORD_SZ VarVar -- -- 187187 2424 SAMPLE_SZSAMPLE_SZ SAMPLE_SZSAMPLE_SZ VarVar -- -- 188188 2525 SAMPLE_SZSAMPLE_SZ SAMPLE_SZSAMPLE_SZ VarVar -- -- 189189 2525 QUANT_SZQUANT_SZ QUANT_SZQUANT_SZ VarVar -- -- 190190 2727 SAMPLE_SZSAMPLE_SZ SAMPLE_SZSAMPLE_SZ VarVar -- -- 191191 2828 DCVALDCVAL DCVALDCVAL VarVar -- -- 192192 2828 MAXW_IN_MBMAXW_IN_MB MAXW_IN_MBMAXW_IN_MB VarVar -- -- 193193 2828 MB_COORD_SZMB_COORD_SZ MB_COORD_SZMB_COORD_SZ VarVar -- -- 194194 2828 BTYPE_SZBTYPE_SZ BTYPE_SZBTYPE_SZ VarVar -- -- 195195 2828 SAMPLE_SZSAMPLE_SZ SAMPLE_SZSAMPLE_SZ VarVar -- -- 196196 2828 NEWVOPNEWVOP NEWVOPNEWVOP VarVar -- -- 197197 2828 INTRAINTRA INTRAINTRA VarVar -- -- 198198 2828 INTERINTER INTERINTER VarVar -- -- 199199 2828 QUANT_MASKQUANT_MASK QUANT_MASKQUANT_MASK VarVar -- -- 200200 2828 ACCODEDACCODED ACCODEDACCODED VarVar -- -- 201201 2828 QUANT_SZQUANT_SZ QUANT_SZQUANT_SZ VarVar -- -- 202202 2929 SAMPLE_SZSAMPLE_SZ SAMPLE_SZSAMPLE_SZ VarVar -- -- 203203 3030 MAXW_IN_MBMAXW_IN_MB MAXW_IN_MBMAXW_IN_MB VarVar -- -- 204204 3030 MB_COORD_SZMB_COORD_SZ MB_COORD_SZMB_COORD_SZ VarVar -- -- 205205 3030 SAMPLE_SZSAMPLE_SZ SAMPLE_SZSAMPLE_SZ VarVar -- -- 206206 3131 SAMPLE_SZSAMPLE_SZ SAMPLE_SZSAMPLE_SZ VarVar -- -- 207207 3131 QUANT_SZQUANT_SZ QUANT_SZQUANT_SZ VarVar -- -- 208208 3333 SAMPLE_SZSAMPLE_SZ SAMPLE_SZSAMPLE_SZ VarVar -- -- 209209 3434 DCVALDCVAL DCVALDCVAL VarVar -- -- 210210 3434 MAXW_IN_MBMAXW_IN_MB MAXW_IN_MBMAXW_IN_MB VarVar -- -- 211211 3434 MB_COORD_SZMB_COORD_SZ MB_COORD_SZMB_COORD_SZ VarVar -- -- 212212 3434 BTYPE_SZBTYPE_SZ BTYPE_SZBTYPE_SZ VarVar -- -- 213213 3434 SAMPLE_SZSAMPLE_SZ SAMPLE_SZSAMPLE_SZ VarVar -- -- 214214 3434 NEWVOPNEWVOP NEWVOPNEWVOP VarVar -- -- 215 215 3434 INTRAINTRA INTRAINTRA VarVar -- -- 216216 3434 INTERINTER INTERINTER VarVar -- -- 217217 3434 QUANT_MASKQUANT_MASK QUANT_MASKQUANT_MASK VarVar -- -- 218218 3434 ACCODEDACCODED ACCODEDACCODED VarVar -- -- 219219 3434 QUANT_SZQUANT_SZ QUANT_SZQUANT_SZ VarVar -- -- 220220 3535 SAMPLE_SZSAMPLE_SZ SAMPLE_SZSAMPLE_SZ VarVar -- -- 221221 3636 MAXW_IN_MBMAXW_IN_MB MAXW_IN_MBMAXW_IN_MB VarVar -- -- 222222 3636 MB_COORD_SZMB_COORD_SZ MB_COORD_SZMB_COORD_SZ VarVar -- -- 223223 3636 SAMPLE_SZSAMPLE_SZ SAMPLE_SZSAMPLE_SZ VarVar -- -- 224224 3737 SAMPLE_SZSAMPLE_SZ SAMPLE_SZSAMPLE_SZ VarVar -- -- 225225 3737 QUANT_SZQUANT_SZ QUANT_SZQUANT_SZ VarVar -- -- 226226 3939 MAXW_IN_MBMAXW_IN_MB MAXW_IN_MBMAXW_IN_MB VarVar -- -- 227227 3939 MB_COORD_SZMB_COORD_SZ MB_COORD_SZMB_COORD_SZ VarVar -- -- 228228 3939 BTYPE_SZBTYPE_SZ BTYPE_SZBTYPE_SZ VarVar -- -- 229229 3939 NEWVOPNEWVOP NEWVOPNEWVOP VarVar -- -- 230230 3939 INTRAINTRA INTRAINTRA VarVar -- -- 231231 4040 DCVALDCVAL DCVALDCVAL VarVar -- -- 232232 4040 MAXW_IN_MBMAXW_IN_MB MAXW_IN_MBMAXW_IN_MB VarVar -- -- 233233 4040 MB_COORD_SZMB_COORD_SZ MB_COORD_SZMB_COORD_SZ VarVar -- -- 234234 4040 BTYPE_SZBTYPE_SZ BTYPE_SZBTYPE_SZ VarVar -- -- 235235 4040 SAMPLE_SZSAMPLE_SZ SAMPLE_SZSAMPLE_SZ VarVar -- -- 236236 4040 NEWVOPNEWVOP NEWVOPNEWVOP VarVar -- -- 237237 4040 INTRAINTRA INTRAINTRA VarVar -- -- 238238 4040 INTERINTER INTERINTER VarVar -- -- 239239 4040 QUANT_MASKQUANT_MASK QUANT_MASKQUANT_MASK VarVar -- -- 240240 4040 ACCODEDACCODED ACCODEDACCODED VarVar -- -- 241241 4040 QUANT_SZQUANT_SZ QUANT_SZQUANT_SZ VarVar -- -- 242242 4141 MAXW_IN_MBMAXW_IN_MB MAXW_IN_MBMAXW_IN_MB VarVar -- -- 243243 4141 MB_COORD_SZMB_COORD_SZ MB_COORD_SZMB_COORD_SZ VarVar -- -- 244244 4141 BTYPE_SZBTYPE_SZ BTYPE_SZBTYPE_SZ VarVar -- -- 245245 4141 NEWVOPNEWVOP NEWVOPNEWVOP VarVar -- -- 246246 4141 INTRAINTRA INTRAINTRA VarVar -- -- 247247 4141 DCVALDCVAL DCVALDCVAL VarVar -- -- 248248 4242 MAXW_IN_MBMAXW_IN_MB MAXW_IN_MBMAXW_IN_MB VarVar -- -- 249249 4242 MB_COORD_SZMB_COORD_SZ MB_COORD_SZMB_COORD_SZ VarVar -- -- 250250 4242 BTYPE_SZBTYPE_SZ BTYPE_SZBTYPE_SZ VarVar -- -- 251251 4242 SAMPLE_SZSAMPLE_SZ SAMPLE_SZSAMPLE_SZ VarVar -- -- 252252 4242 NEWVOPNEWVOP NEWVOPNEWVOP VarVar -- -- 253253 4242 INTRAINTRA INTRAINTRA VarVar -- -- 254254 4242 INTERINTER INTERINTER VarVar -- -- 255255 4242 QUANT_MASKQUANT_MASK QUANT_MASKQUANT_MASK VarVar -- -- 256256 4242 ACCODEDACCODED ACCODEDACCODED VarVar -- -- 257257 4242 QUANT_SZQUANT_SZ QUANT_SZQUANT_SZ VarVar -- -- 258258 4343 MAXW_IN_MBMAXW_IN_MB MAXW_IN_MBMAXW_IN_MB VarVar -- -- 259259 4343 MB_COORD_SZMB_COORD_SZ MB_COORD_SZMB_COORD_SZ VarVar -- -- 260260 4343 BTYPE_SZBTYPE_SZ BTYPE_SZBTYPE_SZ VarVar -- -- 261261 4343 NEWVOPNEWVOP NEWVOPNEWVOP VarVar -- -- 262262 4343 INTRAINTRA INTRAINTRA VarVar -- -- 263 263 4444 DCVALDCVAL DCVALDCVAL VarVar -- -- 264264 4444 MAXW_IN_MBMAXW_IN_MB MAXW_IN_MBMAXW_IN_MB VarVar -- -- 265265 4444 MB_COORD_SZMB_COORD_SZ MB_COORD_SZMB_COORD_SZ VarVar -- -- 266266 4444 BTYPE_SZBTYPE_SZ BTYPE_SZBTYPE_SZ VarVar -- -- 267267 4444 SAMPLE_SZSAMPLE_SZ SAMPLE_SZSAMPLE_SZ VarVar -- -- 268268 4444 NEWVOPNEWVOP NEWVOPNEWVOP VarVar -- -- 269269 4444 INTRAINTRA INTRAINTRA VarVar -- -- 270270 4444 INTERINTER INTERINTER VarVar -- -- 271271 4444 QUANT_MASKQUANT_MASK QUANT_MASKQUANT_MASK VarVar -- -- 272272 4444 ACCODEDACCODED ACCODEDACCODED VarVar -- -- 273273 4444 QUANT_SZQUANT_SZ QUANT_SZQUANT_SZ VarVar -- --

이제까지 본 발명에 따른 복호화 장치 및 비트스트림 복호화를 위한 구문 해석 방법을 설명함에 있어 MPEG-4 AVC를 중심으로 설명하였으나, MPEG-1, MPEG-2, MPEG-4 및 이외의 동영상 인코딩/디코딩 표준에 아무런 제한없이 동일하게 적용할 수 있음은 당연하다.Although the decoding apparatus and the syntax parsing method for bitstream decoding according to the present invention have been described with reference to MPEG-4 AVC, video encoding / decoding standards other than MPEG-1, MPEG-2, MPEG-4 and others have been described. 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 capable of generating 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 a preferred embodiment of the present invention, those skilled in the art to which the present invention pertains without departing from the spirit and scope of the invention as set forth in the claims below It will be appreciated that modifications and variations can be made.

Claims (54)

비트스트림의 디코딩을 위해 하나 이상의 복호화 표준에서 규정된 각각의 프로세스를 개별적으로 수행하도록 구현된 복수의 기능부들로 구성되는 툴 박스;A tool box comprised of a plurality of functional units implemented to individually perform each process defined in one or more decoding standards for decoding of the bitstream; 상기 기능부들 중 일부 또는 전체의 동작 제어를 위한 부분 디코더 디스크립션들(partial decoder descriptions)이 저장된 디스크립션 저장부; 및A description storage unit for storing partial decoder descriptions for controlling the operation of some or all of the functional units; And 하나 이상의 부분 디코더 디스크립션들을 참조하여 상기 기능부들 중 일부 또는 전체를 선택적으로 로드(load)하여 인코딩된 비디오 데이터가 동영상 데이터로 디코딩 처리되도록 제어하는 디코더 형성부를 포함하는 복호화 장치.And a decoder forming unit configured to selectively load some or all of the functional units with reference to one or more partial decoder descriptions so that encoded video data is decoded into moving image data. 제1항에 있어서,The method of claim 1, 상기 디코더 형성부의 제어에 의해 로드된 임의의 기능부의 프로세스 수행을 위한 작업 메모리는 상기 디코더 형성부에 포함되거나 상기 디코더 형성부에 결합되어 구비되는 것을 특징으로 하는 복호화 장치.And a working memory for performing a process of any functional unit loaded by the control of the decoder forming unit is included in or coupled to the decoder forming unit. 제2항에 있어서,The method of claim 2, 상기 디코더 형성부는,The decoder forming unit, 하나 이상의 기능부의 프로세스 수행에 의해 생성된 CSCI(Control Signal/Context Information) 정보, 디코딩 처리를 위한 데이터 중 하나 이상을 저장하는 저장부; 및A storage unit for storing one or more of control signal / context information (CSCI) information generated by process of one or more functional units and data for decoding processing; And 상기 기능부들의 선택적 로드를 제어하는 연결 제어부를 포함하는 것을 특징으로 하는 복호화 장치.And a connection controller for controlling the selective load of the functional units. 제3항에 있어서,The method of claim 3, 상기 툴박스는 상기 비트스트림의 신택스 파싱(syntax parsing)을 위한 하나 이상의 파싱 기능부, 상기 인코딩된 비디오 데이터의 디코딩 처리를 위한 복수의 디코딩 기능부를 포함하는 것을 특징으로 하는 복호화 장치.And the toolbox includes at least one parsing function for syntax parsing of the bitstream, and a plurality of decoding functions for decoding processing of the encoded video data. 제1항에 있어서,The method of claim 1, 상기 디스크립션 저장부에 저장되는 임의의 부분 디코더 디스크립션은 기능부들의 계층에 관한 정보를 포함하고, 상기 디코더 형성부는 상기 정보를 참조하여 하나 이상의 기능부들에 대한 계층간 호출을 수행하는 것을 특징으로 하는 복호화 장치.The arbitrary decoder description stored in the description storage unit includes information regarding a hierarchy of functional units, and the decoder forming unit performs inter-layer calls to one or more functional units with reference to the information. Device. 제5항에 있어서,The method of claim 5, 상기 디코더 형성부는 최상위 계층에 대한 오브젝트 생성 및 실행을 제어하고, 상기 오브젝트 실행에 의해 최상위 계층에 포함된 기능부들 및 상기 계층 정보에 의해 지정된 계층의 호출을 위한 호출부가 로드되는 것을 특징으로 하는 복호화 장치.The decoder forming unit controls object generation and execution of an uppermost layer, and the decoding unit is loaded with a function unit included in the uppermost layer and a caller for calling a layer designated by the layer information by executing the object. . 제6항에 있어서,The method of claim 6, 상기 호출부는 상응하도록 지정된 계층에 속하는 하나 이상의 기능부들이 미리 지정된 프로세스 수행을 위해 필요한 처리 데이터가 저장부에 저장되면 상응하는 계층을 로드하는 것을 특징으로 하는 복호화 장치.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. 제7항에 있어서,The method of claim 7, wherein 로드된 기능부는 지정된 프로세스의 수행을 위한 처리 데이터가 상기 저장부에 저장되면 처리를 개시하는 것을 특징으로 하는 복호화 장치.The loaded functional unit starts processing when the processing data for performing a designated process is stored in the storage unit. 제7항에 있어서,The method of claim 7, wherein 각 기능부들의 프로세스 수행에 의한 결과 데이터는 상기 저장부에 저장되는 것을 특징으로 하는 복호화 장치.Decoding device, characterized in that the result data by the process of each functional unit is stored in the storage unit. 제5항에 있어서,The method of claim 5, 상기 계층에 관한 정보에 의해 인식되는 계층 구조는 시퀀스 층, 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. 제1항에 있어서,The method of claim 1, 상기 부분 디코더 디스크립션을 구성하기 위한 디코더 디스크립션에 상응하는 인코딩된 디코더 디스크립션은 상기 비트스트림과 독립적으로 제공되는 데이터이거나, 상기 비트스트림과 통합된 확장 비트스트림의 일 구성요소로 제공되는 것을 특징으로 하는 복호화 장치.The encoded decoder description corresponding to the decoder description for constructing the partial decoder description is data provided independently of the bitstream or provided as one component of an extension bitstream integrated with the bitstream. Device. 제11항에 있어서,The method of claim 11, 상기 확장 비트스트림으로부터 상기 인코딩된 디코더 디스크립션과 상기 비트스트림을 분리하기 위한 분리부를 더 포함하는 것을 특징으로 하는 복호화 장치.And a separator for separating the encoded decoder description and the bitstream from the extended bitstream. 제11항 또는 제12항에 있어서,The method according to claim 11 or 12, wherein 상기 인코딩된 디코더 디스크립션을 상기 디코더 디스크립션으로 변환하는 디스크립션 디코더를 더 포함하는 것을 특징으로 하는 복호화 장치.And a description decoder for converting the encoded decoder description into the decoder description. 제4항에 있어서,The method of claim 4, wherein 상기 저장부 내에 디코딩 기능부 각각을 위한 전용 저장 공간이 할당되는 것을 특징으로 하는 복호화 장치.And a dedicated storage space is allocated to each of the decoding functions in the storage. 제4항에 있어서,The method of claim 4, wherein 상기 저장부는,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. 제4항에 있어서,The method of claim 4, wherein 상기 디스크립션 저장부에 저장되는 부분 디코더 디스크립션들은,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 the 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. 제16항에 있어서,The method of claim 16, 엔트로피 코딩(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. 제16항에 있어서,The method of claim 16, 상기 연결 제어부는, 상기 F-RT를 이용하여 최상위 계층에 해당하는 하나 이상의 기능부가 로드되도록 제어하는 것을 특징으로 하는 복호화 장치.And the connection controller controls to load one or more functional units corresponding to the highest layer by using the F-RT. 제16항에 있어서,The method of claim 16, 상기 파싱 기능부는 적어도 상기 SET, 상기 S-RT, 및 상기 CSCIT 중 하나 이상을 참조하여 상기 CSCI 정보와 디코딩될 데이터 중 하나 이상을 생성하는 것을 특징으로 하는 복호화 장치.And the parsing function unit generates at least one of the CSCI information and data to be decoded with reference to at least one of the SET, the S-RT, and the CSCIT. 제16항에 있어서,The method of claim 16, 상기 디코딩 기능부는 적어도 상기 FL, 상기 F-RT, 상기 FU-CSCIT 및 상기 CSCIT 중 하나 이상을 참조하여 미리 지정된 프로세스를 수행하는 것을 특징으로 하는 복호화 장치.And the decoding function unit performs a predetermined process by referring to at least one of the FL, the F-RT, the FU-CSCIT, and the CSCIT. 제13항에 있어서,The method of claim 13, 상기 디코더 디스크립션은 하나 이상의 구분 영역으로 구성되고, 각 구분 영역에는 상기 부분 디코더 디스크립션을 구성하기 위한 정보가 삽입되는 것을 특징으로 하는 복호화 장치.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. 제21항에 있어서,The method of claim 21, 상기 부분 디코더 디스크립션은 상기 비트스트림을 복호화하기 위한 코덱 번호(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. 제21항에 있어서,The method of claim 21, 상기 각 구분 영역 중 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 designated information among a plurality of partial decoder descriptions previously stored in the description storage unit, and generates k tables by using the binary code information to generate the description storage unit. And a decoding apparatus. (a) 입력된 인코딩된 디코더 디스크립션 정보에 상응하는 디코더 디스크립션을 생성하여 저장하는 단계-여기서, 디코더 디스크립션은 복수의 부분 디코더 디스크립션들로 구성됨-; 및(a) generating and storing a decoder description corresponding to the input encoded decoder description information, wherein the decoder description consists of a plurality of partial decoder descriptions; And (b) 하나 이상의 부분 디코더 디스크립션을 참조하여 파싱 기능부 및 최상위 계층에 속하는 하나 이상의 디코딩 기능부를 로드(load)하는 단계를 포함하되,(b) loading the parsing function and the one or more decoding functions belonging to the highest layer with reference to the one or more partial decoder descriptions, 상기 파싱 기능부는 상기 비트스트림의 신택스 파싱(syntax parsing)을 수행하고, 상기 최상위 계층의 디코딩 기능부는 미리 지정된 프로세스의 수행을 위해 필요한 CSCI 정보(Control Signal/Context Information) 및 디코딩을 위한 데이터가 상기 파싱 기능부에 의해 저장부에 저장되면 처리를 수행하고, The parsing function performs syntax parsing of the bitstream, and the decoding function of the uppermost layer parses CSCI information (Control Signal / Context Information) necessary for performing a predetermined process and data for decoding. If stored in the storage by the functional unit, perform the processing, 계층 구조에 부합하여 제1 계층의 수행을 위해 필요한 CSCI 정보 및 디코딩을 위한 데이터가 저장부에 저장되면 활성화된 상태인 제2 계층에 의해 상기 제1 계층이 로드되는 것을 특징으로 하는 복호화 방법.And the first layer is loaded by the second layer which is in an activated state when CSCI information necessary for performing the first layer and data for decoding are stored in the storage unit according to the hierarchical structure. 제24항에 있어서,The method of claim 24, 상기 디코딩 기능부들은 상기 인코딩된 비디오 데이터의 계층 구조에 부합되어 활성화 또는 호출 여부가 결정되고,The decoding functions are determined to be activated or called in accordance with the hierarchical structure of the encoded video data, 상기 디코더 디스크립션에 명시된 각각의 디코딩 기능부들의 한번 이상의 프로세스 수행에 의해 상기 비트스트림에 상응하는 동영상 데이터가 출력되는 것을 특징으로 하는 복호화 방법.And at least one process of each decoding function specified in the decoder description outputs video data corresponding to the bitstream. 제24항에 있어서,The method of claim 24, 상기 파싱 기능부 및 디코딩 기능부들 각각은 상기 비트스트림의 디코딩을 위해 각각의 복호화 표준들에 의해 제안된 각각의 기능을 독립적으로 수행되도록 구현된 것을 특징으로 하는 복호화 방법.Each of the parsing function and the decoding function is implemented to independently perform each function proposed by respective decoding standards for decoding the bitstream. 제24항에 있어서,The method of claim 24, 상기 저장부는,The storage unit, 상기 파싱 기능부에 의해 생성된 CSCI 정보가 저장되는 CSCI 저장부; 및 A CSCI storage unit for storing CSCI information generated by the parsing function unit; And 상기 파싱 기능부에 의해 생성된 상기 인코딩된 비디오 데이터에 상응하는 데이터, 임의의 디코딩 기능부에 처리된 처리 데이터 중 하나 이상인 디코딩 처리를 위한 데이터가 저장되는 데이터 저장부를 포함하는 것을 특징으로 하는 복호화 방법.And a data storage unit for storing data corresponding to the encoded video data generated by the parsing function and data for decoding processing, which is one or more of processing data processed by an arbitrary decoding function unit. . 제27항에 있어서,The method of claim 27, 상기 디코딩 기능부 각각은 미리 지정된 프로세스의 수행을 위해 필요한 CSCI 정보 및 디코딩 처리를 위한 데이터가 상기 저장부에 저장됨으로써 동작 개시되는 것을 특징으로 하는 복호화 방법.And each of the decoding functions is started by storing CSCI information necessary for performing a predetermined process and data for decoding processing in the storage. 제28항에 있어서,The method of claim 28, 상기 저장부 내에 상기 디코딩 기능부 각각을 위한 전용 저장 공간이 할당되는 것을 특징으로 하는 복호화 방법.And a dedicated storage space is allocated to each of the decoding function units in the storage unit. 제24항에 있어서,The method of claim 24, 상기 디코더 디스크립션은,The decoder description is, 상기 비트스트림에 포함된 인코딩된 비디오 데이터의 디코딩을 위한 계층 구조와 각 계층별 하위 계층에 관한 정보를 나타내는 DHT(Decoding Hierarchy Table);A Decoding Hierarchy Table (DHT) indicating a hierarchical structure for decoding encoded video data included in the bitstream 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 decoder function includes partial decoder descriptions which are FU-CSCIT representing CSCI information necessary for performing a process. 제30항에 있어서,The method of claim 30, 상기 디코더 디스크립션은 엔트로피 코딩(entropy coding)시의 실제 값과 코드값의 관계를 나타내는 DVT(Default Value Table)인 부분 디코더 디스크립션을 더 포함하는 것을 특징으로 하는 복호화 방법.And the decoder description further comprises a partial decoder description which is a default value table (DVT) indicating a relationship between an actual value and a code value during entropy coding. 제30항에 있어서,The method of claim 30, 상기 F-RT를 이용하여 최상위 계층에 해당하는 하나 이상의 디코딩 기능부의 활성화 또는 호출이 제어되는 것을 특징으로 하는 복호화 방법.Activation or call of one or more decoding functions corresponding to the highest layer is controlled using the F-RT. 제30항에 있어서,The method of claim 30, 적어도 상기 SET, 상기 S-RT, 및 상기 CSCIT를 이용하여 상기 CSCI 정보와 디코딩될 데이터 중 하나 이상이 생성되는 것을 특징으로 하는 복호화 방법.At least one of the CSCI information and data to be decoded using at least the SET, the S-RT, and the CSCIT. 복호화 방법을 수행하기 위해 복호화 장치에서 실행될 수 있는 명령어들의 프로그램이 유형적으로 구현되어 있으며, 상기 복호화 장치에 의해 판독될 수 있는 프로그램이 기록된 기록 매체에 있어서,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, (a) 입력된 인코딩된 디코더 디스크립션 정보에 상응하는 디코더 디스크립션을 생성하여 저장하는 단계-여기서, 디코더 디스크립션은 복수의 부분 디코더 디스크립션들로 구성됨-; 및(a) generating and storing a decoder description corresponding to the input encoded decoder description information, wherein the decoder description consists of a plurality of partial decoder descriptions; And (b) 하나 이상의 부분 디코더 디스크립션을 참조하여 파싱 기능부 및 최상위 계층에 속하는 하나 이상의 디코딩 기능부를 로드(load)하는 단계를 포함하되,(b) loading the parsing function and the one or more decoding functions belonging to the highest layer with reference to the one or more partial decoder descriptions, 상기 파싱 기능부는 상기 비트스트림의 신택스 파싱(syntax parsing)을 수행하고, 상기 최상위 계층의 디코딩 기능부는 미리 지정된 프로세스의 수행을 위해 필요한 CSCI 정보(Control Signal/Context Information) 및 디코딩을 위한 데이터가 상기 파싱 기능부에 의해 저장부에 저장되면 처리를 수행하고, The parsing function performs syntax parsing of the bitstream, and the decoding function of the uppermost layer parses CSCI information (Control Signal / Context Information) necessary for performing a predetermined process and data for decoding. If stored in the storage by the functional unit, perform the processing, 계층 구조에 부합하여 제1 계층의 수행을 위해 필요한 CSCI 정보 및 디코딩을 위한 데이터가 저장부에 저장되면 활성화된 상태인 제2 계층에 의해 상기 제1 계층이 로드되는 것을 특징으로 하는 프로그램이 기록된 기록매체.When the CSCI information necessary for the execution of the first layer and the data for decoding are stored in the storage unit in accordance with the hierarchical structure, the first layer is loaded by the second layer which is in an activated state. Record carrier. 비트스트림의 해석을 위한 스키마 정보를 입력받아 상기 비트스트림을 의미있는 데이터들로 변환하여 출력하는 파서(parser); 및A parser that receives schema information for interpreting a bitstream and converts the bitstream into meaningful data; And 상기 데이터들을 이용한 비트스트림 디코딩을 수행하여 동영상 데이터를 출력하는 디코딩 솔루션을 포함하는 복호화 장치.And a decoding solution configured to output video data by performing bitstream decoding using the data. 제35항에 있어서,36. The method of claim 35 wherein 미리 지정된 프로세스를 각각 수행하도록 구현된 하나 이상의 기능부들을 포함하는 툴박스; 및A toolbox including one or more functional units, each implemented to perform a predetermined process; And 상기 비트스트림에 상응하는 연결 제어 정보를 입력받아 상기 툴박스에 포함 된 하나 이상의 기능부들의 연결 관계를 설정하여 상기 디코딩 솔루션에 로드되도록 제어하는 디코더 형성부를 더 포함하는 복호화 장치. And a decoder forming unit configured to receive connection control information corresponding to the bitstream and to establish a connection relationship between one or more functional units included in the toolbox so as to be loaded into the decoding solution. 제36항에 있어서,The method of claim 36, 상기 디코더 형성부가 상기 데이터를 상기 파서로부터 제공받아 상기 디코딩 솔루션으로 제공하는 것을 특징으로 하는 복호화 장치.And the decoder forming unit receives the data from the parser and provides the data to the decoding solution. 제36항에 있어서,The method of claim 36, 디코더 디스크립션을 입력받아 상기 스키마 정보 및 상기 연결 제어 정보로 분리하여 각각 출력하는 분리부를 더 포함하는 복호화 장치.And a separator for receiving a decoder description and separating the schema description into the schema information and the connection control information. 제36항에 있어서,The method of claim 36, 상기 디코딩 솔루션은 상기 데이터를 입력받아 상응하는 기능부로 제공하거나 상응하는 기능부가 상기 데이터를 독출하도록 하는 데이터 인터페이스를 구비하는 것을 특징으로 하는 복호화 장치.And the decoding solution comprises a data interface for receiving the data and providing the data to a corresponding functional unit or for causing the corresponding functional unit to read the data. 제35항에 있어서,36. The method of claim 35 wherein 상기 스키마 정보는 상기 비트스트림에 포함된 구문 정보들의 내역에 관한 정보로서, 구문 정보의 길이, 구문 정보의 의미, 구문 정보의 출현 조건 및 반복 출현 횟수 중 하나 이상이 포함되는 것을 특징으로 하는 복호화 장치.The schema information is information on syntax information included in the bitstream, and includes at least one of a length of syntax information, a meaning of syntax information, a condition of appearance of syntax information, and a number of repetition occurrences. . 제35항에 있어서,36. The method of claim 35 wherein 상기 스키마 정보는 XML 문법으로 기술되는 것을 특징으로 하는 복호화 장치.And the schema information is described in XML grammar. 제36항에 있어서,The method of claim 36, 상기 연결 제어 정보는 CALML(CAL Markup Language)로 기술되는 것을 특징으로 하는 복호화 장치. And the connection control information is described in CALML (CAL Markup Language). 제36항에 있어서,The method of claim 36, 상기 툴박스는 적용되는 표준에 따라 구분된 기능부들의 집합인 서브 툴박스들로 구성되는 것을 특징으로 하는 복호화 장치.The toolbox is a decoding apparatus, characterized in that consisting of sub-toolboxes that are a set of functional units divided according to the applied standard. 제36항에 있어서,The method of claim 36, 상기 디코딩 솔루션은 하나 이상의 기능부가 로드되어 동작되도록 하기 위한 작업 메모리를 포함하는 것을 특징으로 하는 복호화 장치.And the decoding solution comprises a working memory for causing one or more functional units to be loaded and operated. 제36항에 있어서,The method of claim 36, 상기 툴박스는 상기 디코더 형성부의 일 구성요소인 것을 특징으로 하는 복호화 장치.And the toolbox is a component of the decoder forming unit. 제36항에 있어서,The method of claim 36, 상기 디코딩 솔루션에 로드된 기능부는 상기 데이터, 이전에 프로세스 수행한 기능부에 의한 출력 데이터 중 하나 이상을 입력 데이터로 하는 미리 지정된 프로세스를 수행하는 것을 특징으로 하는 복호화 장치.And a function unit loaded in the decoding solution performs a predetermined process using at least one of the data and output data by the function unit which has been previously processed as input data. (a) 입력된 스키마 정보를 이용하여 비트스트림을 의미있는 데이터들로 변환하여 출력하는 단계;(a) converting the bitstream into meaningful data using the input schema information and outputting the meaningful data; (b) 입력된 연결 제어 정보를 이용하여 기능부들의 순차적 동작 순서를 설정 하는 단계; 및(b) setting a sequential operation order of the functional units using the input connection control information; And (c) 상기 기능부들에 의해 상기 데이터를 이용한 비트스트림 디코딩이 수행되는 단계를 포함하는 복호화 방법.(c) a bitstream decoding using the data is performed by the functional units. 제47항에 있어서,The method of claim 47, 상기 단계 (b)는 디코더 형성부가 상기 연결 제어 정보를 이용하여 툴박스에 포함된 복수의 기능부들 중 하나 이상의 기능부들의 프로세스 수행 순서를 설정하는 것을 특징으로 하는 복호화 방법.In the step (b), the decoder forming unit sets a process execution order of one or more functional units among a plurality of functional units included in the toolbox by using the connection control information. 제47항에 있어서,The method of claim 47, 상기 스키마 정보 및 상기 연결 제어 정보가 통합된 디코더 디스크립션이 입력되는 경우, 각각의 정보로 분리하여 출력하는 단계가 상기 단계 (a)에 선행하는 것을 특징으로 하는 복호화 방법.And when the decoder description in which the schema information and the connection control information are integrated is input, separating and outputting the information into respective pieces of information precedes the step (a). 제47항에 있어서,The method of claim 47, 상기 스키마 정보는 상기 비트스트림에 포함된 구문 정보들의 내역에 관한 정보로서, 구문 정보의 길이, 구문 정보의 의미, 구문 정보의 출현 조건 및 반복 출현 횟수 중 하나 이상이 포함되는 것을 특징으로 하는 복호화 방법.The schema information is information on syntax information included in the bitstream, and includes at least one of a length of syntax information, a meaning of syntax information, a condition of appearance of syntax information, and a number of repetition occurrences. . 제47항에 있어서,The method of claim 47, 상기 스키마 정보는 XML 문법으로 기술되는 것을 특징으로 하는 복호화 방법.And the schema information is described in XML grammar. 제47항에 있어서,The method of claim 47, 상기 연결 제어 정보는 CALML(CAL Markup Language)로 기술되는 것을 특징으로 하는 복호화 방법. And the connection control information is described in CALML (CAL Markup Language). 제48항에 있어서,The method of claim 48, 상기 기능부는 상기 데이터, 이전에 프로세스 수행한 기능부에 의한 출력 데이터 중 하나 이상을 입력 데이터로 하는 미리 지정된 프로세스를 수행하는 것을 특징으로 하는 복호화 방법.And the function unit performs a predetermined process using at least one of the data and output data by the function unit which has been previously processed as input data. 복호화 방법을 수행하기 위해 복호화 장치에서 실행될 수 있는 명령어들의 프로그램이 유형적으로 구현되어 있으며, 상기 복호화 장치에 의해 판독될 수 있는 프로그램이 기록된 기록 매체에 있어서,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, 입력된 스키마 정보를 이용하여 비트스트림을 의미있는 데이터들로 변환하여 출력하는 단계;Converting the bitstream into meaningful data using the input schema information and outputting the meaningful data; 입력된 연결 제어 정보를 이용하여 기능부들의 순차적 동작 순서를 설정하는 단계; 및Setting a sequential operation order of the functional units by using the input connection control information; And 상기 기능부들에 의해 상기 데이터를 이용한 비트스트림 디코딩이 수행되는 단계를 실행하는 것을 특징으로 하는 프로그램을 기록한 기록매체.And performing bitstream decoding using the data by the functional units.
KR1020070065880A 2007-06-29 2007-06-29 Device and method for encoding/decoding video data KR20090002508A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020070065880A KR20090002508A (en) 2007-06-29 2007-06-29 Device and method for encoding/decoding video data
PCT/KR2008/003302 WO2009005225A1 (en) 2007-06-29 2008-06-12 Device and method for encoding/decoding video data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020070065880A KR20090002508A (en) 2007-06-29 2007-06-29 Device and method for encoding/decoding video data

Publications (1)

Publication Number Publication Date
KR20090002508A true KR20090002508A (en) 2009-01-09

Family

ID=40226231

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070065880A KR20090002508A (en) 2007-06-29 2007-06-29 Device and method for encoding/decoding video data

Country Status (2)

Country Link
KR (1) KR20090002508A (en)
WO (1) WO2009005225A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100960028B1 (en) * 2008-10-11 2010-05-28 한양대학교 산학협력단 decoding apparatus, decoding method, encoding method and computer-readable storage medium
WO2010095823A2 (en) * 2009-02-19 2010-08-26 주식회사 휴맥스 Encoding/decoding method and apparatus

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112822447B (en) * 2021-01-07 2023-04-14 云南电网有限责任公司电力科学研究院 Robot remote monitoring video transmission method and system based on 5G network

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7082166B2 (en) * 2000-04-17 2006-07-25 Pts Corporation Decoder for decoding segment-based encoding of video data using segmentation performed at a decoder
US20040193289A1 (en) * 2002-12-31 2004-09-30 Shi Chen Decoding system and method
TWI308459B (en) * 2005-10-26 2009-04-01 Univ Nat Chiao Tung Context-aware frame memory scheme for motion compensation in video decoding

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100960028B1 (en) * 2008-10-11 2010-05-28 한양대학교 산학협력단 decoding apparatus, decoding method, encoding method and computer-readable storage medium
US8654901B2 (en) 2008-10-11 2014-02-18 Korea Electronics Technology Institute Decoding apparatus, decoding method, and computer-readable storage medium
WO2010095823A2 (en) * 2009-02-19 2010-08-26 주식회사 휴맥스 Encoding/decoding method and apparatus
WO2010095823A3 (en) * 2009-02-19 2010-11-04 주식회사 휴맥스 Encoding/decoding method and apparatus
US9031136B2 (en) 2009-02-19 2015-05-12 Humax Holdings Co., Ltd. Device and method for encoding/decoding

Also Published As

Publication number Publication date
WO2009005225A1 (en) 2009-01-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
KR101305514B1 (en) Bitstream decoding device and method
KR20090112453A (en) Device and Method for encoding/decoding
KR101372418B1 (en) Bitstream decoding device and method
KR101380825B1 (en) Bitstream decoding device and method having decoding solution
KR20090002508A (en) Device and method for encoding/decoding video data
US20100208829A1 (en) Bitstream decoding device and method having decoding solution
KR100970145B1 (en) Device and Method for encoding/decoding
KR100841558B1 (en) Device and Method for encoding/decoding bit-stream
US9031136B2 (en) Device and method for encoding/decoding
KR101305513B1 (en) Device and Method for encoding/decoding Video data
KR101477218B1 (en) Device and Method for encoding/decoding
KR20100115238A (en) Device and method for codec design
KR100807100B1 (en) Device and Method for unified codecs
KR20090002507A (en) Device and method for encoding/decoding video data
KR100767606B1 (en) Device and Method for unified codecs
US8565320B2 (en) Device and method for encoding/decoding video data
KR20080035421A (en) Device and method for encoding/decoding bit-stream
KR101305517B1 (en) Bitstream decoding device and method having decoding solution
KR20080006430A (en) Device and method for unified codecs
KR101305516B1 (en) Bitstream decoding device and method having decoding solution
KR20080035420A (en) Device and method for encoding/decoding bit-stream
KR20070098459A (en) Device and method for unified codecs

Legal Events

Date Code Title Description
N231 Notification of change of applicant
WITN Application deemed withdrawn, e.g. because no request for examination was filed or no examination fee was paid