KR101305517B1 - Bitstream decoding device and method having decoding solution - Google Patents
Bitstream decoding device and method having decoding solution Download PDFInfo
- Publication number
- KR101305517B1 KR101305517B1 KR1020070033489A KR20070033489A KR101305517B1 KR 101305517 B1 KR101305517 B1 KR 101305517B1 KR 1020070033489 A KR1020070033489 A KR 1020070033489A KR 20070033489 A KR20070033489 A KR 20070033489A KR 101305517 B1 KR101305517 B1 KR 101305517B1
- Authority
- KR
- South Korea
- Prior art keywords
- information
- description
- bitstream
- decoder
- decoding
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/44—Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/70—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
Abstract
디코딩 솔루션을 구비한 비트스트림 디코딩 장치 및 방법이 개시된다. 복호화 장치는, 디스크립션 저장부에 저장된 부분 디코더 디스크립션들을 이용하여 CSCI 제어 정보 및 연결 제어 정보를 생성하여 출력하는 디코더 형성부; 미리 설정된 프로세스를 각각 수행하도록 구현된 복수의 기능부를 포함하는 툴박스; 및 상기 CSCI 제어 정보 및 상기 연결 제어 정보를 이용하여 상기 툴박스에 구비된 복수의 기능부들을 선택적으로 로드(load)하여 비트스트림을 동영상 데이터로 디코딩하는 디코딩 솔루션을 포함할 수 있다. 본 발명에 따르면, 각 표준(예를 들어, MPEG-1, MPEG-2, MPEG-4, MPEG-4 AVC 등)에 따른 다양한 형식으로 부호화된 비트스트림을 동일한 정보 인식 방식으로 복호화할 수 있다.Disclosed is a bitstream decoding apparatus and method having a decoding solution. The decoding apparatus includes: a decoder forming unit generating and outputting CSCI control information and connection control information using partial decoder descriptions stored in the description storage unit; A tool box including a plurality of functional units, each implemented to perform a preset process; And a decoding solution that selectively loads a plurality of functional units included in the toolbox by using the CSCI control information and the connection control information to decode the bitstream into video data. According to the present invention, a bitstream encoded in various formats according to each standard (eg, MPEG-1, MPEG-2, MPEG-4, MPEG-4 AVC, etc.) can be decoded using the same information recognition scheme.
Video compression, 통합 코덱, VCTR, MPEG, AVC, Toolbox, Functional Unit, Connection, Video compression, integrated codec, VCTR, MPEG, AVC, Toolbox, Functional Unit, Connection,
Description
도 1은 일반적인 복호화기의 구성을 개략적으로 나타낸 도면.1 is a diagram schematically showing a configuration of a general decoder.
도 2는 일반적인 부호화기의 구성을 개략적으로 나타낸 도면이다.2 is a diagram schematically illustrating a configuration of a general encoder.
도 3은 본 발명의 일 실시예에 따른 복호화기의 구성을 개략적으로 나타낸 도면.3 is a diagram schematically illustrating a configuration of a decoder according to an embodiment of the present invention.
도 4는 본 발명의 일 실시예에 따른 확장 비트스트림(extended bit-stream)의 구성을 간략히 나타낸 도면. 4 is a diagram schematically illustrating a configuration of an extended bit-stream according to an embodiment of the present invention.
도 5는 본 발명의 일 실시예에 따른 디코딩 처리 유닛의 구성을 개략적으로 나타낸 도면.5 is a diagram schematically showing a configuration of a decoding processing unit according to an embodiment of the present invention.
도 6은 본 발명의 다른 실시예에 따른 디코딩 처리 유닛의 구성을 개략적으로 나타낸 도면. 6 is a diagram schematically showing a configuration of a decoding processing unit according to another embodiment of the present invention.
도 7은 본 발명의 일 실시예에 따른 syntax 파싱을 위한 기능부들의 예를 나타낸 도면.7 illustrates an example of functional units for syntax parsing according to an embodiment of the present invention.
도 8은 본 발명의 일 실시예에 따른 디코딩 처리를 위한 기능부들의 예를 나타낸 도면.8 illustrates an example of functional units for decoding processing according to an embodiment of the present invention.
도 9는 본 발명의 제1 실시예에 따른 확장 비트스트림의 구성을 나타낸 도면.9 illustrates a configuration of an extended bitstream according to the first embodiment of the present invention.
도 10은 본 발명의 제2 실시예에 따른 확장 비트스트림의 구성을 나타낸 도면.10 illustrates a configuration of an extended bitstream according to the second embodiment of the present invention.
도 11은 본 발명의 제3 실시예에 따른 확장 비트스트림의 구성을 나타낸 도면.11 illustrates a configuration of an extended bitstream according to the third embodiment of the present invention.
도 12는 본 발명의 제4 실시예에 따른 확장 비트스트림의 구성을 나타낸 도면.12 is a diagram showing the configuration of an extended bitstream according to the fourth embodiment of the present invention.
도 13은 본 발명의 제5 실시예에 따른 확장 비트스트림의 구성을 나타낸 도면.13 is a diagram showing the configuration of an extended bitstream according to the fifth embodiment of the present invention.
도 14는 본 발명의 제6 실시예에 따른 확장 비트스트림의 구성을 나타낸 도면.14 is a diagram showing the configuration of an extended bitstream according to the sixth embodiment of the present invention;
도 15는 본 발명의 제7 실시예에 따른 확장 비트스트림의 구성을 나타낸 도면.15 is a diagram showing the configuration of an extended bitstream according to the seventh embodiment of the present invention;
도 16은 본 발명의 제8 실시예에 따른 확장 비트스트림의 구성을 나타낸 도면.16 is a diagram showing the configuration of an extended bitstream according to an eighth embodiment of the present invention;
도 17은 본 발명의 일 실시예에 따른 부호화기의 블록 구성도.17 is a block diagram of an encoder according to an embodiment of the present invention.
도 18 내지 도 57은 각 부분 디코더 디스크립션들의 구성 예를 나타낸 도면.18 to 57 show examples of configurations of respective partial decoder descriptions.
본 발명은 비트스트림 디코딩 방법 및 장치에 관한 것으로서, 보다 상세하게는 디코딩 솔루션을 구비한 비트스트림 디코딩 방법 및 장치에 관한 것이다.The present invention relates to a bitstream decoding method and apparatus, and more particularly, to a bitstream decoding method and apparatus having a decoding solution.
일반적으로 동영상은 부호화기(encoder, 인코더)에 의해 비트스트림(Bit-stream) 형태로 변환된다. 이때, 비트스트림은 부호화기의 제약 조건을 만족하는 부호화 유형에 따라 저장된다. In general, a video is converted into a bitstream form by an encoder. In this case, the bitstream is stored according to an encoding type satisfying the constraint of the encoder.
MPEG은 비트스트림의 제약 조건으로서 구문(syntax, 이하 'syntax'라 칭함) 및 의미(semantics, 이하 'semantics'라 칭함)를 요구한다. MPEG requires syntax (hereinafter referred to as 'syntax') and semantics (hereinafter referred to as 'semantics') as constraints of the bitstream.
syntax는 데이터의 구조나 형식 및 길이를 나타내며, 데이터가 어떤 순서로 표현되는지를 나타낸다. 즉, syntax는 부호화(encoding)/복호화(decoding) 작업을 위한 문법을 맞추기 위한 것으로, 비트스트림에 포함된 각 요소들(elements)의 순서와 각 요소의 길이, 데이터 형식 등을 정의한다. syntax indicates the structure, format, and length of the data, and in what order the data is represented. That is, syntax is to fit a grammar for encoding / decoding, and defines the order of each element included in the bitstream, the length of each element, and the data format.
Semantics는 데이터를 구성하는 각 비트가 의미하는 뜻을 나타낸다. 즉, semantics는 비트스트림 내의 각 요소들의 의미가 무엇인지를 나타낸다.Semantics means what each bit of data means. That is, the semantics indicate what the meaning of each element in the bitstream is.
따라서, 부호화기의 부호화 조건 또는 적용된 표준(또는 코덱)에 따라 다양한 형태의 비트스트림이 생성될 수 있다. 일반적으로 각 표준(예를 들어 MPEG-1, MPEG-2, MPEG-4, MPEG-4 AVC 등)은 각각 상이한 비트스트림 syntax를 가진다. Therefore, various types of bitstreams may be generated according to encoding conditions of an encoder or an applied standard (or codec). In general, each standard (eg MPEG-1, MPEG-2, MPEG-4, MPEG-4 AVC, etc.) has a different bitstream syntax.
따라서, 각 표준이나 부호화 조건에 따라 부호화된 비트스트림은 각각 다른 형식(즉, syntax 및 semantics)을 가진다고 할 수 있으며, 해당 비트스트림의 복호 화를 위해서는 부호화기에 대응되는 복호화기가 사용되어야 한다. Accordingly, bitstreams encoded according to each standard or encoding condition may have different formats (ie, syntax and semantics), and a decoder corresponding to an encoder should be used to decode the corresponding bitstream.
상술한 바와 같이, 종래의 비트스트림 복호화기는 부호화기의 제약 조건을 만족하여야 하는 제한이 있었으며, 이러한 제한은 복수의 표준에 대응되는 통합 복호화기를 구현하기 어려운 원인이 된다.As described above, the conventional bitstream decoder has a limitation of satisfying the constraints of the encoder, and this limitation causes a difficulty in implementing an integrated decoder corresponding to a plurality of standards.
따라서 본 발명은 상술한 문제점을 해결하기 위한 것으로, 각 표준(예를 들어, MPEG-1, MPEG-2, MPEG-4, MPEG-4 AVC 등)에 따른 다양한 형식(syntax, semantics)으로 부호화된 비트스트림을 동일한 정보 인식 방식으로 복호화(decoding)할 수 있는 디코딩 솔루션을 구비한 비트스트림 디코딩 장치 및 방법을 제공하기 위한 것이다.Accordingly, the present invention is to solve the above-described problem, and is encoded in various formats (syntax, semantics) according to each standard (for example, MPEG-1, MPEG-2, MPEG-4, MPEG-4 AVC, etc.) An object of the present invention is to provide a bitstream decoding apparatus and method having a decoding solution capable of decoding a bitstream in the same information recognition scheme.
본 발명은 다양한 부호화 방식으로 압축된 비트스트림을 동일한 정보 분석 방법에 의해 파싱(parsing)하고, 파싱된 데이터를 이용하여 복호화를 위한 각 기능부(FU, Functional Unit)들을 유기적으로 제어할 수 있는 디코딩 솔루션을 구비한 비트스트림 디코딩 장치 및 방법을 제공하기 위한 것이다.The present invention parses a bitstream compressed by various encoding schemes using the same information analysis method, and decodes organically controlled functional units (FU) for decoding using the parsed data. To provide a bitstream decoding apparatus and method having a solution.
본 발명은 다양한 형태의 비트스트림을 복호화하기 위한 syntax 해석 방법을 공통적으로 적용할 수 있는 디코딩 솔루션을 구비한 비트스트림 디코딩 장치 및 방법을 제공하기 위한 것이다.An object of the present invention is to provide an apparatus and method for decoding a bitstream having a decoding solution that can commonly apply syntax interpretation methods for decoding various types of bitstreams.
본 발명은 다양한 형태의 비트스트림을 공통된 Syntax 해석 방법으로 파싱할 수 있도록 하기 위한 새로운 명령어들의 집합을 적용할 수 있는 디코딩 솔루션을 구비한 비트스트림 디코딩 장치 및 방법을 제공하기 위한 것이다.The present invention provides a bitstream decoding apparatus and method having a decoding solution that can apply a new set of instructions for parsing various types of bitstreams using a common syntax analysis method.
본 발명은 syntax 엘리먼트의 변경이나 추가, 삭제 시에도 복호화기가 용이하게 비트스트림을 복호화할 수 있는 디코딩 솔루션을 구비한 비트스트림 디코딩 장치 및 방법을 제공하기 위한 것이다.The present invention provides a bitstream decoding apparatus and method having a decoding solution that can easily decode a bitstream even when a syntax element is changed, added, or deleted.
본 발명은 해석된 syntax의 엘리먼트 정보(element information, 즉 syntax 파싱에 의한 결과물)를 비트스트림 복호화를 위해 이용되는 구성 요소들이 공유할 수 있도록 하는 디코딩 솔루션을 구비한 비트스트림 디코딩 장치 및 방법을 제공하기 위한 것이다.The present invention provides a bitstream decoding apparatus and method having a decoding solution that allows the components used for bitstream decoding to share element information (ie, the result of syntax parsing) of parsed syntax. It is for.
본 발명은 해석된 syntax의 엘리먼트 정보를 후속하는 비트스트림 syntax 엘리먼트의 해석을 위해 이용할 수 있도록 하는 디코딩 솔루션을 구비한 비트스트림 디코딩 장치 및 방법을 제공하기 위한 것이다.The present invention is directed to a bitstream decoding apparatus and method having a decoding solution that makes it possible to use element information of an interpreted syntax for interpretation of subsequent bitstream syntax elements.
본 발명은 여러 표준(코덱)에서 제안하는 다양한 디코딩 방법을 구성하는 기능들을 각기 기능부(FU, Functional Unit) 단위로 구현하여 툴박스에 구비하는 디코딩 솔루션을 구비한 비트스트림 디코딩 장치 및 방법을 제공하기 위한 것이다.The present invention provides a bitstream decoding apparatus and method having a decoding solution included in a toolbox by implementing functions constituting various decoding methods proposed by various standards (codecs) in units of functional units (FU). It is for.
본 발명은 다양한 형태로 부호화 된 비트스트림을 복호화하기 위해 툴박스에서 필요한 기능부들만을 선별하여 로드(load)함으로써 미리 지정된 프로세스가 수행되도록 하는 디코딩 솔루션을 구비한 비트스트림 디코딩 장치 및 방법을 제공하기 위한 것이다.An object of the present invention is to provide a bitstream decoding apparatus and method having a decoding solution for performing a predetermined process by selecting and loading only functions required by a toolbox to decode a bitstream encoded in various forms. .
본 발명은 툴박스에 구비된 기능부의 변경이나 추가, 삭제가 가능한 디코딩 솔루션을 구비한 비트스트림 디코딩 장치 및 방법을 제공하기 위한 것이다.The present invention provides a bitstream decoding apparatus and method having a decoding solution capable of changing, adding, or deleting a functional unit included in a toolbox.
또한, 본 발명은 비트스트림 복호화를 위한 코덱 통합에 관한 개념 및 구조에 대한 국제 표준화를 달성하기 위한 것이며, 그 외의 다른 본 발명의 목적들은 이하에 서술되는 바람직한 실시예를 통하여 보다 명확해질 것이다.In addition, the present invention is intended to achieve international standardization on the concept and structure of codec integration for bitstream decoding, and other objects of the present invention will become more apparent through the preferred embodiments described below.
상술한 목적을 달성하기 위하여 본 발명의 일 측면에 따르면, 다양한 표준에 범용적으로 이용될 수 있는 부호화기/복호화기 및/또는 통합 코덱 장치가 제공된다.According to an aspect of the present invention to achieve the above object, there is provided an encoder / decoder and / or integrated codec device that can be used universally in various standards.
본 발명의 일 실시예에 따른 복호화 장치는, 디스크립션 저장부에 저장된 부분 디코더 디스크립션들(partial decoder descriptions)을 이용하여 CSCI 제어 정보 및 연결 제어 정보를 생성하여 출력하는 디코더 형성부; 미리 설정된 프로세스를 각각 수행하도록 구현된 복수의 기능부를 포함하는 툴박스(Tool-Box); 및 상기 CSCI 제어 정보 및 상기 연결 제어 정보를 이용하여 상기 툴박스에 구비된 복수의 기능부들을 선택적으로 로드(load)하여 비트스트림을 동영상 데이터로 디코딩하는 디코딩 솔루션을 포함할 수 있다.In accordance with another aspect of the present invention, a decoding apparatus includes: a decoder forming unit configured to generate and output CSCI control information and connection control information using partial decoder descriptions stored in a description storage unit; A tool box including a plurality of functional units implemented to perform a predetermined process, respectively; And a decoding solution that selectively loads a plurality of functional units included in the toolbox by using the CSCI control information and the connection control information to decode the bitstream into video data.
상기 복호화 장치는, 입력된 인코딩된 디코더 디스크립션을 디코딩하여 디코더 디스크립션을 생성하고, 상기 디코더 디스크립션으로부터 분리한 복수의 부분 디코더 디스크립션들을 상기 디스크립션 저장부에 저장하는 디스크립션 디코더를 더 포함할 수 있다.The decoding apparatus may further include a description decoder that decodes an input encoded decoder description to generate a decoder description and stores a plurality of partial decoder descriptions separated from the decoder description in the description storage unit.
상기 툴박스에는 상기 비트스트림의 syntax 파싱을 수행하는 하나 이상의 파 싱 기능부와 상기 비트스트림의 디코딩 처리를 위한 복수의 디코딩 기능부들이 구비될 수 있다.The toolbox may include one or more parsing functions for parsing the bitstream and a plurality of decoding functions for decoding the bitstream.
상기 디코더 형성부는, 임의의 부분 디코더 디스크립션에 기술된 복수의 기능부들이 상기 툴박스에 구비되었는지 여부를 판단하는 FU 확인부; 및 상기 부분 디코더 디스크립션들을 이용하여 상기 CSCI 제어 정보 및 연결 제어 정보를 생성하는 정보 가공부를 포함할 수 있다.The decoder forming unit may include: an FU checking unit that determines whether a plurality of functional units described in an arbitrary partial decoder description are provided in the tool box; And an information processor configured to generate the CSCI control information and connection control information using the partial decoder descriptions.
상기 디코딩 솔루션은, 상기 복수의 기능부 중 하나 이상의 기능부의 프로세스 수행에 의한 상기 비트스트림의 신택스 파싱(syntax parsing)에 의해 생성된 복수의 엘리먼트 정보가 저장되는 CSCI(Control Signal/Context Information) 저장부; 및 상기 CSCI 제어 정보 및 상기 연결 제어 정보를 참조하여 복수의 기능부들에 대한 선택적 로드를 통해 각 기능부의 동작을 제어하는 연결 제어부를 포함할 수 있다.The decoding solution may include a control signal / context information (CSCI) storage unit configured to store a plurality of element information generated by syntax parsing of the bitstream by performing a process of at least one of the plurality of functional units. ; And a connection controller for controlling the operation of each functional unit through selective loading of a plurality of functional units with reference to the CSCI control information and the connection control information.
상기 디코딩 솔루션은, 상기 복수의 기능부 중 하나 이상의 기능부의 프로세스 수행에 의한 상기 비트스트림의 신택스 파싱(syntax parsing)에 의해 생성된 복수의 엘리먼트 정보가 저장되는 CSCI(Control Signal/Context Information) 저장부; 상기 CSCI 제어 정보에 따라 상기 비트스트림의 syntax 파싱을 수행하는 하나 이상의 파싱 기능부; 및 상기 연결 제어 정보를 참조하여 복수의 기능부들에 대한 선택적 로드를 통해 각 기능부의 동작을 제어하는 연결 제어부를 포함할 수 있다. 여기서, 상기 툴박스에는 상기 비트스트림의 디코딩 처리를 위한 복수의 디코딩 기능부들이 구비될 수 있다.The decoding solution may include a control signal / context information (CSCI) storage unit configured to store a plurality of element information generated by syntax parsing of the bitstream by performing a process of at least one of the plurality of functional units. ; At least one parsing function to parse syntax of the bitstream according to the CSCI control information; And a connection controller for controlling the operation of each functional unit through selective loading of a plurality of functional units with reference to the connection control information. Here, the toolbox may be provided with a plurality of decoding functions for decoding the bitstream.
상기 디코딩 솔루션은 하나 이상의 기능부가 로드되어 동작되도록 하기 위한 작업 메모리를 포함할 수 있다.The decoding solution may comprise a working memory for causing one or more functional units to be loaded and operated.
상기 기능부 각각에 대해 미리 지정된 프로세스는 상기 비트스트림의 디코딩을 위해 복수의 표준들에 의해 제안된 기능들 각각을 독립적으로 수행하도록 구현될 수 있다.The predetermined process for each of the functional units may be implemented to independently perform each of the functions proposed by a plurality of standards for decoding the bitstream.
상기 인코딩된 디코더 디스크립션과 상기 비트스트림이 통합된 통합 비트스트림으로 입력되는 경우, 상기 복호화 장치는 상기 인코딩된 디코더 디스크립션과 상기 비트스트림을 분리하여 출력하는 분리부를 더 포함할 수 있다.When the encoded decoder description and the bitstream are input as a unified integrated bitstream, the decoding apparatus may further include a separation unit for separating and outputting the encoded decoder description and the bitstream.
상기 인코딩된 비디오 데이터가 복수의 표준에 의해 인코딩된 경우, 상기 디코딩 솔루션은 상기 연결 제어 정보를 참조하여 복수의 표준에 따른 프로세스를 수행하는 복수의 기능부를 순차적으로 연결하여 상기 동영상 데이터를 생성하여 출력할 수 있다.When the encoded video data is encoded by a plurality of standards, the decoding solution generates and outputs the video data by sequentially connecting a plurality of functional units performing a process according to a plurality of standards with reference to the connection control information. can do.
상기 부분 디코더 디스크립션들은 비트스트림 신택스(syntax)에 대한 정보 및 상기 비트스트림 신택스에 상응하는 엘리먼트 정보를 생성하기 위한 프로세스를 나타내는 SET(Syntax Element Table), 상기 비트스트림 신택스간의 연결 정보를 나타내는 S-RT(Syntax - Rule Table), 상기 엘리먼트 정보에 대한 상세 정보를 나타내는 CSCIT(Control Signal and Context Information Table), 복수의 기능부(FU)들의 순차적 선택을 위한 F-RT(FU-Rule Table), 상기 기능부들의 리스트를 나타내는 FL(FU List), 상기 선택된 기능부에 입력될 엘리먼트 정보를 나타내는 FU-CSCIT일 수 있다. 엔트로피 코딩(entropy coding)시의 실제 값과 코드값의 관계를 나타내는 DVT(Default Value Table)가 상기 부분 디코더 디스크립션으로 더 저장될 수 있다.The partial decoder descriptions are a Syntax Element Table (SET) representing a process for generating information about bitstream syntax and element information corresponding to the bitstream syntax, and an S-RT indicating connection information between the bitstream syntax. (Syntax-Rule Table), CSCIT (Control Signal and Context Information Table) indicating detailed information on the element information, F-RT (Fu-Rule Table) for sequential selection of a plurality of functional units (FU), the function FL (FU List) indicating a list of parts, FU-CSCIT indicating element information to be input to the selected functional unit. A DVT (Default Value Table) indicating the relationship between the actual value and the code value during entropy coding may be further stored as the partial decoder description.
상기 SET(Syntax Element Table), 상기 S-RT(Syntax - Rule Table) 및 상기 F-RT(FU-Rule Table)는 파일 포인터를 이동하여 k(임의의 자연수) 비트를 독출하는 리드(READ) 명령, 파일 포인터 이동없이 k 비트를 독출하는 시크(SEEK) 명령, 파일 포인터에서 k비트 만큼 파일 포인트를 이동하는 플러시(FLUSH) 명령, 인덱스간의 분기를 지시하는 고(GO) 명령, 엘리먼트 정보의 플래그를 설정하는 세트(SET) 명령 중 하나 이상을 포함하여 구성될 수 있다.The SET (Syntax Element Table), the S-RT (Syntax-Rule Table), and the F-RT (FU-Rule Table) read a k (arbitrary natural number) bit by moving a file pointer. Instructions, a seek command that reads k bits without moving the file pointer, a flush command that moves file points by k bits from the file pointer, a GO instruction that indicates a branch between indexes, and element information. It may be configured to include one or more of the set (SET) command to set the flag.
상기 연결 제어부에 의해 로드된 기능부는 미리 지정된 엘리먼트 정보, 직전에 로드된 기능부에 의한 출력 데이터 중 하나 이상을 입력 데이터로 하는 미리 지정된 프로세스를 수행할 수 있다.The function unit loaded by the connection control unit may perform a predetermined process of using one or more of predetermined element information and output data by the function unit loaded immediately before as input data.
상기 파싱 기능부는 상기 CSCI 제어 정보를 이용하여 엘리먼트 정보를 생성할 수 있다.The parsing function unit may generate element information using the CSCI control information.
상기 디코딩 디스크립션은 하나 이상의 부분 디코더 디스크립션 영역들로 구성되고, 각 부분 디코더 디스크립션 영역에는 상응하는 부분 디코더 디스크립션을 생성 또는 인식하기 위한 정보가 삽입될 수 있다.The decoding description is composed of one or more partial decoder description regions, and information for generating or recognizing a corresponding partial decoder description may be inserted into each partial decoder description region.
상기 정보는 상기 비트스트림을 복호화하기 위한 코덱 번호(Codec No.), 프로파일 및 레벨 번호(Profile and level No.)에 상응하는 부분 디코더 디스크립션에 대한 지정 정보이고, 상기 디스크립션 디코더는 디스크립션 저장부에 미리 저장된 복수의 부분 디코더 디스크립션들 중 상기 지정 정보에 상응하는 n개의 테이블들을 선택할 수 있다.The information is designation information for a partial decoder description corresponding to a codec number (Codec No.), a profile and a level number (Profile and level No.) for decoding the bitstream, and the description decoder is previously described in the description storage unit. Among the plurality of stored partial decoder descriptions, n tables corresponding to the predetermined information may be selected.
하나 이상의 부분 디코더 디스크립션 영역들에 개별적으로 삽입되는 상기 정보는 각각의 부분 디코더 디스크립션을 구성하기 위한 바이너리 코드 정보를 포함하고, 상기 디스크립션 디코더는 상기 바이너리 코드 정보를 이용하여 n개의 부분 디코더 디스크립션들을 생성하여 디스크립션 저장부에 저장할 수 있다.The information inserted separately into one or more partial decoder description regions includes binary code information for configuring each partial decoder description, and the description decoder generates n partial decoder descriptions using the binary code information. Can be stored in the description storage.
복수의 부분 디코더 디스크립션 영역들 중 m(임의의 자연수)개의 부분 디코더 디스크립션 영역에는 상응하는 부분 디코더 디스크립션에 대한 코덱 번호(Codec No.)와 프로파일 및 레벨 번호(Profile and level No.)에 상응하는 지정 정보가 포함되고, k(n-m인 임의의 수)개의 부분 디코더 디스크립션 영역에는 상응하는 부분 디코더 디스크립션을 구성하기 위한 바이너리 코드 정보를 포함되며, 상기 디스크립션 디코더는 상기 디스크립션 저장부에 미리 저장된 복수의 부분 디코더 디스크립션들 중 상기 지정 정보에 상응하는 m개의 부분 디코더 디스크립션들을 추출하고, 상기 바이너리 코드 정보를 이용하여 k개의 부분 디코더 디스크립션들을 생성하여 상기 디스크립션 저장부에 저장할 수 있다.M (arbitrary natural number) of the plurality of partial decoder description areas, the codec number (Codec No.) and the profile and level number (Profile and level No.) corresponding to the corresponding partial decoder description area designation. Information, wherein the k (any number being nm) partial decoder description area includes binary code information for constructing a corresponding partial decoder description, wherein the description decoder includes a plurality of partial decoders previously stored in the description storage unit. M partial decoder descriptions corresponding to the specified information among the descriptions may be extracted, and k partial decoder descriptions may be generated using the binary code information and stored in the description storage unit.
상기 SET, 상기 CSCIT, 상기 S-RT 및 상기 DVT를 이용하여 상기 CSCI 제어 정보가 생성되고, 상기 FL, 상기 F-RT, 상기 FU-CSCIT 및 상기 CSCIT를 이용하여 상기 연결 제어 정보가 생성될 수 있다.The CSCI control information may be generated using the SET, the CSCIT, the S-RT, and the DVT, and the connection control information may be generated using the FL, the F-RT, the FU-CSCIT, and the CSCIT. have.
본 발명의 다른 실시예에 따른 부호화 장치는, 입력된 동영상을 복수의 기능부들을 순차적으로 이용하여 미리 지정된 부호화 방식에 따른 비트스트림으로 변환하는 인코딩부; 및 상기 비트스트림의 신택스 정보 및 상기 기능부들의 연결 관계(connection)에 따른 디스크립션 정보를 생성하는 디스크립션 정보 생성부를 포함할 수 있다. 상기 비트스트림 및 상기 디스크립션 정보는 복호화 장치로 제공되될 수 있다.According to another aspect of the present invention, there is provided an encoding apparatus, including: an encoding unit configured to convert an input video into a bitstream according to a predetermined encoding scheme using a plurality of functional units in sequence; And a description information generator for generating description information according to a connection relationship between the syntax information of the bitstream and the functional units. The bitstream and the description information may be provided to a decoding apparatus.
본 발명의 또 다른 실시예에 따른 복호화 장치는, 디스크립션 저장부에 저장된 부분 디코더 디스크립션들(partial decoder descriptions)을 이용하여 CSCI 제어 정보 및 연결 제어 정보를 생성하여 출력하는 디코더 형성부; 및 상기 CSCI 제어 정보 및 상기 연결 제어 정보를 이용하여, 복수의 기능부들을 선택적으로 로드(load)하여 비트스트림을 동영상 데이터로 디코딩하는 디코딩 솔루션을 포함할 수 있다.According to still another aspect of the present invention, a decoding apparatus includes: a decoder forming unit configured to generate and output CSCI control information and connection control information using partial decoder descriptions stored in a description storage unit; And a decoding solution that selectively loads a plurality of functional units by using the CSCI control information and the connection control information to decode the bitstream into video data.
상술한 목적을 달성하기 위하여 본 발명의 다른 측면에 따르면, 다양한 표준에 범용적으로 이용될 수 있는 복호화 방법/부호화 방법 및/또는 그 방법의 실행을 위한 프로그램이 기록된 기록매체가 제공된다.According to another aspect of the present invention for achieving the above object, there is provided a decoding method / encoding method that can be used universally in various standards and / or a recording medium on which a program for executing the method is recorded.
본 발명의 일 실시예에 따른 복호화 방법은, (a) 입력된 디코더 디스크립션에 상응하는 복수의 부분 디코더 디스크립션을 생성하여 저장하는 단계; (b) 상기 부분 디코더 디스크립션들을 이용하여 CSCI 제어 정보 및 연결 제어 정보를 생성하는 단계; (c) 상기 CSCI 제어 정보를 이용하여 비트스트림의 신택스 파싱(syntax parsing)에 의해 생성된 복수의 엘리먼트 정보를 저장부에 저장하는 단계; 및 (d) 상기 연결 제어 정보 및 상기 엘리먼트 정보를 이용하여 상기 비트스트림의 인코딩된 비디오 데이터를 동영상 데이터로 디코딩하여 출력하는 단계를 포함할 수 있다.According to an embodiment of the present invention, a decoding method includes: (a) generating and storing a plurality of partial decoder descriptions corresponding to an input decoder description; (b) generating CSCI control information and connection control information using the partial decoder descriptions; (c) storing a plurality of element information generated by syntax parsing of a bitstream using the CSCI control information in a storage unit; And (d) decoding and outputting encoded video data of the bitstream into moving image data using the connection control information and the element information.
상기 단계 (c) 및 상기 단계 (d)는 상기 CSCI 제어 정보 또는 상기 연결 제 어 정보를 참조하여 연결 제어부가 툴박스(Tool-Box)에 구비된 복수의 기능부들 중 선택적 로드한 기능부에 의해 각각 실행될 수 있다.The step (c) and the step (d) may be performed by the functional control unit selectively loaded among the plurality of functional units provided in the toolbox by the connection controller with reference to the CSCI control information or the connection control information. Can be executed.
상기 단계 (d)는 상기 연결 제어부의 선택적 로드에 의해 동작 개시된 복수의 기능부들의 프로세스 수행에 따른 결과가 상기 동영상 데이터가 될 때까지 반복적으로 수행될 수 있다.Step (d) may be repeatedly performed until a result of the process of the plurality of functional units started by selective loading of the connection controller becomes the video data.
상기 기능부 각각의 미리 지정된 프로세스는 상기 비트스트림의 디코딩을 위해 복수의 표준들에 의해 제안된 기능들 각각을 독립적으로 수행하도록 구현될 수 있다.The predetermined process of each of the functional units may be implemented to independently perform each of the functions proposed by a plurality of standards for decoding the bitstream.
순차적으로 로드되는 복수의 기능부 중 선행하는 기능부의 결과 데이터는 후행하는 기능부에 의해 접근될 수 있는 버퍼 메모리에 기록될 수 있다.The result data of the preceding functional unit among the plurality of functional units loaded sequentially may be written to a buffer memory accessible by the subsequent functional unit.
상기 연결 제어부는 순차적으로 로드되는 복수의 기능부 중 선행하는 기능부의 결과 데이터를 후행하는 기능부의 입력 데이터로 제공할 수 있다.The connection control unit may provide result data of a preceding functional unit among the plurality of sequentially loaded functional units as input data of a subsequent functional unit.
상기 부분 디코더 디스크립션들은 비트스트림 신택스(syntax)에 대한 정보 및 상기 비트스트림 신택스에 상응하는 엘리먼트 정보를 생성하기 위한 프로세스를 나타내는 SET(Syntax Element Table), 상기 비트스트림 신택스간의 연결 정보를 나타내는 S-RT(Syntax - Rule Table), 상기 엘리먼트 정보에 대한 상세 정보를 나타내는 CSCIT(Control Signal and Context Information Table), 상기 기능부들의 리스트를 나타내는 FL(FU List), 상기 기능부들의 순차적 선택을 위한 F-RT(FU-Rule Table), 상기 선택된 기능부에 입력될 엘리먼트 정보를 나타내는 FU-CSCIT일 수 있다. 엔트로피 코딩(entropy coding)시의 실제 값과 코드값의 관계를 나타내는 DVT(Default Value Table)가 더 포함될 수 있다.The partial decoder descriptions are a Syntax Element Table (SET) representing a process for generating information about bitstream syntax and element information corresponding to the bitstream syntax, and an S-RT indicating connection information between the bitstream syntax. (Syntax-Rule Table), CSCIT (Control Signal and Context Information Table) representing detailed information about the element information, FL (FU List) representing the list of the functional units, F-RT for sequential selection of the functional units (FU-Rule Table) may be an FU-CSCIT indicating element information to be input to the selected functional unit. A DVT (Default Value Table) indicating a relationship between an actual value and a code value during entropy coding may be further included.
상기 SET, 상기 CSCIT, 상기 S-RT 및 상기 DVT를 이용하여 상기 CSCI 제어 정보가 생성되고, 상기 FL, 상기 F-RT, 상기 FU-CSCIT 및 상기 CSCIT를 이용하여 상기 연결 제어 정보가 생성될 수 있다.The CSCI control information may be generated using the SET, the CSCIT, the S-RT, and the DVT, and the connection control information may be generated using the FL, the F-RT, the FU-CSCIT, and the CSCIT. have.
상기 디코더 디스크립션은 독립된 데이터 또는 비트스트림 형태로 입력될 수 있다. 상기 디코더 디스크립션은 상기 비트스트림과 통합된 통합 비트스트림의 형태로 입력될 수도 있다.The decoder description may be input in the form of independent data or bitstream. The decoder description may be input in the form of an integrated bitstream integrated with the bitstream.
본 발명의 다른 실시예에 따르면, 복호화 방법을 수행하기 위해 복호화 장치에서 실행될 수 있는 명령어들의 프로그램이 유형적으로 구현되어 있으며, 상기 복호화 장치에 의해 판독될 수 있는 프로그램이 기록된 기록 매체에 있어서, 입력된 디코더 디스크립션에 상응하는 복수의 부분 디코더 디스크립션을 생성하여 저장하는 단계; 상기 부분 디코더 디스크립션들을 이용하여 CSCI 제어 정보 및 연결 제어 정보를 생성하는 단계; 상기 CSCI 제어 정보를 이용하여 비트스트림의 신택스 파싱(syntax parsing)에 의해 생성된 복수의 엘리먼트 정보를 저장부에 저장하는 단계; 및 상기 연결 제어 정보 및 상기 엘리먼트 정보를 이용하여 상기 비트스트림의 인코딩된 비디오 데이터를 동영상 데이터로 디코딩하여 출력하는 단계를 실행하는 것을 특징으로 하는 프로그램을 기록한 기록매체가 제공된다.According to another embodiment of the present invention, a program of instructions that can be executed in a decoding apparatus to perform a decoding method is tangibly implemented, and in a recording medium in which a program that can be read by the decoding apparatus is recorded, Generating and storing a plurality of partial decoder descriptions corresponding to the decoded decoder descriptions; Generating CSCI control information and connection control information using the partial decoder descriptions; Storing a plurality of element information generated by syntax parsing of a bitstream using the CSCI control information in a storage unit; And decoding and outputting encoded video data of the bitstream into moving image data using the connection control information and the element information.
본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will herein be described in detail. It should be understood, however, that the invention is not intended to be limited to the particular embodiments, but includes all modifications, equivalents, and alternatives falling within the spirit and scope of the invention.
제1, 제2 등과 같이 서수를 포함하는 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되지는 않는다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다. 및/또는 이라는 용어는 복수의 관련된 기재된 항목들의 조합 또는 복수의 관련된 기재된 항목들 중의 어느 항목을 포함한다. Terms including ordinals, such as first, second, etc., may be used to describe various elements, but the elements are not limited to these terms. The terms are used only for the purpose of distinguishing one component from another. For example, without departing from the scope of the present invention, the first component may be referred to as a second component, and similarly, the second component may also be referred to as a first component. And / or < / RTI > includes any combination of a plurality of related listed items or any of a plurality of related listed items.
어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다. When a component is referred to as being "connected" or "connected" to another component, it may be directly connected to or connected to that other component, but it may be understood that other components may be present in between. Should be. On the other hand, when an element is referred to as being "directly connected" or "directly connected" to another element, it should be understood that there are no other elements in between.
본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terminology used herein is for the purpose of describing particular example embodiments only and is not intended to be limiting of the present invention. Singular expressions include plural expressions unless the context clearly indicates otherwise. In the present application, the terms "comprises" or "having" and the like are used to specify that there is a feature, a number, a step, an operation, an element, a component or a combination thereof described in the specification, But do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, or combinations thereof.
다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥 상 가지는 의미와 일치하는 의미를 가지는 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.Unless defined otherwise, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. Terms such as those defined in commonly used dictionaries are to be interpreted as having a meaning consistent with the contextual meaning of the related art and are to be interpreted as either ideal or overly formal in the sense of the present application Do not.
이하, 첨부한 도면들을 참조하여 본 발명에 따른 통합 코덱 방법 및 장치의 바람직한 실시예를 상세히 설명하기로 하며, 첨부 도면을 참조하여 설명함에 있어 도면 부호에 상관없이 동일하거나 대응하는 구성 요소는 동일한 참조번호를 부여하고 이에 대한 중복되는 설명은 생략할 수 있다.Hereinafter, preferred embodiments of the integrated codec method and apparatus according to the present invention will be described in detail with reference to the accompanying drawings. In the following description with reference to the accompanying drawings, the same or corresponding components are identified by the same reference numerals. Numbering and overlapping descriptions thereof may be omitted.
도 1은 일반적인 복호화기의 구성을 개략적으로 나타낸 도면이고, 도 2는 일반적인 부호화기의 구성을 개략적으로 나타낸 도면이다.FIG. 1 is a diagram schematically showing a configuration of a general decoder, and FIG. 2 is a diagram schematically showing a configuration of a general encoder.
도 1에 도시된 바와 같이, 일반적으로 MPEG-4 복호화기(100)는 가변장 디코딩부(Variable Length Decoding, 110), 역 스캔부(Inverse Scan, 115), 역 DC/AC 예측부(Inverse DC/AC Prediction, 120), 역 양자화부(Inverse Quantization, 125), 역 DCT부(Inverse Discrete Cosine Transform, 역 이산 여현 변환부, 130), 동영상 복원부(VOP Reconstruction, 135)를 포함한다. 복호화기(100)의 구성은 적용되는 표준에 따라 상이할 수 있음은 자명하며, 또한 일부 구성요소는 타 구성요소로 대체될 수도 있을 것이다.As shown in FIG. 1, the MPEG-4
전달된 비트스트림(105)이 syntax 파싱(parsing)되어 헤더 정보 및 인코딩된 영상 데이터(encoded video data)가 추출되면, 가변장 디코딩부(110)는 미리 설정된 허프만 테이블(Huffman Table)을 이용하여 양자화된 DCT 계수를 만들고, 역 스캔부(115)는 역 스캔을 수행하여 동영상(140)과 동일한 순서의 데이터를 생성한다. 즉, 역 스캔부(115)는 인코딩시 여러 가지 방법으로 스캔된 순서의 역으로, 값을 출력한다. 인코딩 시 양자화(Quantization)를 수행한 후, 주파수 대역 값의 분포에 따라 스캔 방향이 정의될 수 있다. 일반적으로는 지그-재그(zig-zag) 스캔 방식이 사용되나, 스캔 방식은 코덱별로 다양할 수 있다. When the transmitted
Syntax 파싱은 가변장 디코딩부(110)에서 통합적으로 수행되거나, 가변장 디코딩부(110)에 선행하여 비트스트림(105)을 처리하는 임의의 구성 요소에서 수행될 수 있다. 이 경우, Syntax 파싱은 부호화기와 복호화기간에 적용되는 표준이 동일하므로 해당 표준에 상응하도록 미리 지정된 기준에 의해서만 처리된다.Syntax parsing may be performed integrally in the variable
역 DC/AC 예측부(120)는 주파수 대역에서 DCT 계수의 크기를 이용하여 예측을 위한 참조 블록의 방향성을 결정한다. The inverse DC /
역 양자화부(125)는 역 스캔된 데이터를 역 양자화한다. 즉, 인코딩시 지정된 양자화값(QP, Quantization Parameter)을 이용하여 DC와 AC 계수를 환원한다. The
역 DCT부(130)는 역 이산 여현 변환(Inverse Discrete Cosine Transform)을 수행함으로써 실제의 동영상 픽셀 값을 구하여 VOP(Video Object Plane)를 생성한다. The
동영상 복원부(135)는 역 DCT부(130)에 의해 생성된 VOP를 이용하여 동영상 신호를 복원하여 출력한다. The moving
도 2에 도시된 바와 같이, 일반적으로 MPEG-4 부호화기(200)는 DCT부(210), 양자화부(215), DC/AC 예측부(220), 스캔부(230), 가변장 인코딩부(235)를 포함한다. As shown in FIG. 2, the MPEG-4
부호화기(200)에 포함된 각 구성요소는 각각 대응되는 복호화기(100)의 구성 요소의 역 기능을 수행하며, 이는 당업자에게 자명하다. 간단히 설명하면, 부호화기(200)는 동영상 신호(즉, 디지털 영상 픽셀 값)를 이산 여현 변환(Discrete Cosine Transform), 양자화(Quantization) 등을 통해 주파수 값으로 변환하여 부호화를 수행한 후, 이를 정보의 빈도 수에 따라 비트 길이를 차별화하는 가변장 인코딩을 수행하여 압축된 비트스트림 상태로 출력한다. Each component included in the
도 3은 본 발명의 일 실시예에 따른 복호화기의 구성을 개략적으로 나타낸 도면이고, 도 4는 본 발명의 일 실시예에 따른 확장 비트스트림(extended bit-stream)의 구성을 간략히 나타낸 도면이다. 도 5는 본 발명의 일 실시예에 따른 디코딩 처리 유닛의 구성을 개략적으로 나타낸 도면이며, 도 6은 본 발명의 다른 실시예에 따른 디코딩 처리 유닛의 구성을 개략적으로 나타낸 도면이다. 도 7은 본 발명의 일 실시예에 따른 syntax 파싱을 위한 기능부들의 예를 나타낸 도면이며, 도 8은 본 발명의 일 실시예에 따른 디코딩 처리를 위한 기능부들의 예를 나타낸 도면이다.FIG. 3 is a diagram schematically illustrating a configuration of a decoder according to an embodiment of the present invention, and FIG. 4 is a diagram schematically illustrating a configuration of an extended bit-stream according to an embodiment of the present invention. 5 is a diagram schematically showing a configuration of a decoding processing unit according to an embodiment of the present invention, and FIG. 6 is a diagram schematically showing a configuration of a decoding processing unit according to another embodiment of the present invention. FIG. 7 illustrates an example of functional units for syntax parsing according to an embodiment of the present invention, and FIG. 8 illustrates an example of functional units for decoding processing according to an embodiment of the present invention.
도 3에 도시된 바와 같이, 본 발명에 따른 복호화기(300)는 종래의 복호화기(도 1 참조)와 상이한 구성을 가진다.As shown in FIG. 3, the
즉, 본 발명에 따른 인코딩/디코딩 방법의 수행을 위해, 복호화기(300)로 디코더 디스크립션(decoder description)이 비트스트림과 함께 제공된다. 디코더 디스크립션은 비트스트림과 통합적으로 구현된 확장 비트스트림(305)의 형태로 복호화기(300)에 제공되거나, 독립된 데이터 형태로 복호화기(500)에 제공될 수 있다. 물론, 복호화기(500)의 특정 저장부에 디코더 디스크립션에 상응하는 계층 정보가 미리 저장된 경우라면, 디코더 디스크립션의 제공은 생략될 수도 있다. 다만, 이하에서는 해당 데이터가 확장 비트스트림 내에 포함되어 복호화기(500)로 제공되는 경우를 중심으로 설명하기로 한다.That is, to perform the encoding / decoding method according to the present invention, a decoder description is provided to the
본 발명의 일 실시예에 따른 복호화기(300)는 분리부(310) 및 디코딩 처리 유닛(320)을 포함한다. 도시된 복호화기(300)의 구성 요소(예를 들어, 분리부(310), 디코딩 처리 유닛(320) 자체 또는 디코딩 처리 유닛(320)에 포함된 하나 이상의 구성 요소 등) 중 하나 이상은 하기에서 설명될 기능을 수행하도록 구현된 소프트웨어 프로그램(또는 프로그램 코드들의 조합)으로 구현될 수도 있음은 자명하다.The
분리부(310)는 입력된 확장 비트스트림(Extended Bit-stream, 305)을 인코딩된 디코더 디스크립션(Encoded Decoder Description)(313)과 일반적인 비트스트 림(316, 이하 '종래 비트스트림'이라 칭함)으로 분리하여 디코딩 처리 유닛(320)으로 각각 입력한다. The
분리부(310)는 인코딩된 디코더 디스크립션(313)을 디스크립션 디코더(505)로 입력하고, 종래 비트스트림(316)은 디코더 형성부(520)로 입력할 수 있다. 상술한 바와 같이, 인코딩된 디코더 디스크립션(313)과 종래 비트스트림(316)이 각각 독립된 데이터로 입력되는 경우 분리부(310)는 생략될 수 있다. 또한, 종래 비트스트림(316)은 앞서 도 1의 비트스트림(105)과 동일 또는 유사한 형식의 데이터일 수 있다.The
확장 비트스트림(305)의 일 예가 도 4에 예시되어 있다. 도 4를 참조하면, 확장 비트스트림(305)은 디코더 디스크립션(313)과 종래 비트스트림(316)을 포함할 수 있다. 도 4의 확장 비트스트림(305) 및 인코딩된 디코더 디스크립션(313)에 대한 예시는 단지 설명 및 이해의 편의를 위한 것으로, 본 발명의 확장 비트스트림(305) 및/또는 인코딩된 디코더 디스크립션(313)의 형식이 이에 제한되지 않음은 자명하다. An example of an
인코딩된 디코더 디스크립션(313)이 디스크립션 디코더(505)에 의해 디코딩 처리된 디코더 디스크립션(590)은 다양한 부호화 방식에 의해 부호화된 비트스트림 및/또는 여러 기능들 중 사용자가 선택한 기능들을 이용하여 부호화된 비트스트림을 공통적 해석 방식에 의해 파싱하기 위하여 종래 비트스트림(316)의 구성 정보, 종래 비트스트림(316)이 부호화된 방식(또는 기능부(FU, Functional Unit)들간의 연결 정보), 특정 기능부에 대한 입출력 데이터 특정 등에 대한 정보이다. 디코더 디스크립션(590)은 textual description이나 binary description 등의 기술 방식으로 기술될 수 있다. 물론, 인코딩된 디코더 디스크립션(316)이 디스크립션 디코더(505)의 처리없이도 디코더 형성부(520)에 의해 인식될 수 있도록 구현된 경우라면 디스크립션 디코더(505)는 생략될 수 있다.The
디코더 디스크립션(590)은 FL(Functional unit List, 410), F-RT(Functional unit Rule Table, 420), FU-CSCIT(Functional Unit CSCIT, 430), CSCIT(Control Signal and Context Information Table, 440), SET(Syntax Element Table, 450), S-RT(Syntax-Rule Table, 460), DVT(Default Value Table, 470) 등의 부분 디코더 디스크립션들(partial decoder description)로 분리되어 디스크립션 저장부(510)에 저장될 수 있다. 디코더 디스크립션을 구성하기 위한 각 부분 디코더 디스크립션들의 순서는 다양하게 변형될 수 있음은 자명하다.The
여기서, FL(Functional unit List, 410), F-RT(Functional unit Rule Table, 420), FU-CSCIT(Functional Unit CSCIT, 430), CSCIT(Control Signal and Context Information Table, 440) 등은 각 기능부(FU)들의 연결 관계(connection)을 설정하기 위해 이용될 수 있다(해당 부분 디코더 디스크립션들은 필요시 '제1 디코더 디스크립션'라 칭할 수 있음). Here, the functional unit list (FL), the functional unit rule table (F-RT) 420, the functional unit CSCIT (430), the control signal and context information table (CSCIT), and the like are each functional units. (FU) may be used to establish a connection relationship (the corresponding partial decoder descriptions may be referred to as 'first decoder description' if necessary).
이중, FU-CSCIT(440)는 툴박스(515) 내의 각 기능부(즉, 디코딩 처리를 위한 기능부)와 CSCI 저장부(532)에 저장된 엘리먼트 정보간의 매핑(mapping)을 위한 부분 디코더 디스크립션일 수도 있다. 이 경우, 엘리먼트 정보는 툴박스(515) 내의 각 기능부(즉, 디코딩 처리를 위한 기능부 또는/및 syntax 파싱을 위한 기능부)에 대한 제어 변수로서 기능할 수 있다. Of these, the FU-
또한, CSCIT(Control Signal and Context Information Table, 440), SET(Syntax Element Table, 450), S-RT(Syntax-Rule Table, 460), DVT(Default Value Table, 470) 등은 종래 비트스트림(316)의 파싱(Parsing)을 위해 이용될 수 있다(해당 부분 디코더 디스크립션들은 필요시 '제2 디코더 디스크립션'라 칭할 수 있음). 각 부분 디코더 디스크립션의 형태 및 기능은 이후 상세히 설명하기로 한다.In addition, the control signal and context information table (CSCIT) 440, the syntax element table 450 (SET), the syntax-rule table 460 (S-RT), the default value table 470 (DVT), and the like are
디스크립션 디코더(405)는 분리부(310)로부터 입력된 인코딩된 디코더 디스크립션(313)을 디코딩하여 디코더 디스크립션(314)을 생성한 후, 디코더 형성부(520, 또는 디코딩 솔루션(530))에서 인식할 수 있는 형태의 복수의 부분 디코더 디스크립션들로 분리하여 디스크립션 저장부(510)에 저장한다.The description decoder 405 decodes the encoded
디스크립션 저장부(510)에 저장되는 각 부분 디코더 디스크립션은 반드시 일반적인 형태의 테이블일 필요는 없으며, 디코더 형성부(520, 또는 디코딩 솔루션(530))에 의해 인식될 수 있는 정보 형태이면 충분하다. Each partial decoder description stored in the
디스크립션 디코더(405)의 디코더 디스크립션 분석에 의해 디스크립션 저장부(510)에 저장되는 부분 디코더 디스크립션들로는 FL(410), F-RT(420), FU-CSCIT(440), CSCIT(440), SET(450), S-RT(460), DVT(470) 등이 포함될 수 있다. 디스크립션 디코더(405)는 도 11에 예시된 바와 같이 TI(Table Identifier, 1010)를 참조하여 각 부분 디코더 디스크립션을 구분할 수 있다. The partial decoder descriptions stored in the
물론, 디코더 디스크립션 내에 모든 부분 디코더 디스크립션들에 상응하는 정보가 반드시 포함되어야 하는 것은 아니며, 도 9에 예시된 바와 같이 코덱 번호(Codec #, 920)와 프로파일 및 레벨 번호(Profile and level #, 930)가 포함되거나, 도 11에 예시된 바와 같이 일부 부분 디코더 디스크립션에 대해서만 코덱 번호(Codec #, 1120)와 프로파일 및 레벨 번호(Profile and level #, 1130)가 포함될 수도 있다. Of course, the information corresponding to all the partial decoder descriptions does not necessarily need to be included in the decoder description, and as illustrated in FIG. 9, the codec
코덱 번호(Codec #)와 프로파일 및 레벨 번호(Profile and level #)가 포함된 경우, 디스크립션 디코더(405)는 전체 부분 디코더 디스크립션 또는 일부 부분 디코더 디스크립션에 대해서는 새로운 부분 디코더 디스크립션을 생성하지 않고 디스크립션 저장부(510)에 미리 저장된 부분 디코더 디스크립션들 중 상응하는 부분 디코더 디스크립션이 디코딩시 이용되도록 선택할 수도 있다. 또한, 코덱 번호(Codec #), 프로파일 및 레벨 번호(Profile and level #)와 수정 정보가 포함된 경우, 디스크립션 디코더(405)는 디스크립션 저장부(510)에 미리 저장된 부분 디코더 디스크립션들 중 해당 코덱에 상응하는 부분 디코더 디스크립션을 추출하여 수정 정보를 반영한 새로운 부분 디코더 디스크립션을 생성할 수도 있다. 물론, 코덱 번호(Codec #)와 프로파일 및 레벨 번호(Profile and level #)가 포함되지 않고 부분 디코더 디스크립션 생성을 위한 테이블 디스크립션이 포함된 경우, 디스크립션 디코더(405)는 전체 부분 디코더 디스크립션 또는 일부 부분 디코더 디스크립션에 대해 디코딩시 이용하기 위한 새로운 부분 디코더 디스크립션을 생성할 수도 있다.If a codec number (Codec #) and a profile and level # are included, the description decoder 405 does not generate a new partial decoder description for the full partial decoder description or some partial decoder descriptions, but rather the description store. One of the partial decoder descriptions previously stored at 510 may be selected to be used in decoding. In addition, when the codec number (Codec #), the profile and level # (Profile and level #) and the correction information is included, the description decoder 405 is applied to the corresponding codec among the partial decoder descriptions stored in the
또한, 디코더 디스크립션은 도 12에 예시된 바와 같이, 각 부분 디코더 디스크립션들에 대한 디코더 디스크립션(DD-T, 1210) 외에 갱신 정보(Revision Information, 1230)를 더 포함할 수도 있다. 각각의 확장 비트스트림의 구성에 대해서는 이후 관련 도면을 참조하여 상세히 설명한다.In addition, as illustrated in FIG. 12, the decoder description may further include
디스크립션 저장부(510)에는 디스크립션 디코더(405)에 의해 분리된 각 부분 디코더 디스크립션들이 저장된다. 물론, 디스크립션 저장부(510)는 확장 비트스트림(305)이 코덱 번호(Codec #, 920 또는 1120)와 프로파일 및 레벨 번호(Profile and level #, 930 또는 1130)가 포함된 경우 상응하는 하나 이상의 부분 디코더 디스크립션들이 디코더 형성부(520) 또는 디코딩 솔루션(530)에 의해 이용될 수 있도록 하기 위해, 하나 이상의 부분 디코더 디스크립션들을 미리 저장할 수도 있다.In the
도 5 및 도 6에 디코딩 처리 유닛(320)의 각 실시예가 도시되어 있다.5 and 6 each embodiment of a
디코딩 처리 유닛(320)의 제1 실시예가 도시된 도 5를 참조하면, 디코딩 처리 유닛(320)은 디스크립션 디코더(505), 디스크립션 저장부(510), 툴박스(Tool-Box, 515), 디코더 형성부(520) 및 디코딩 솔루션(530)을 포함할 수 있다. Referring to FIG. 5, in which a first embodiment of the
디코더 형성부(520)는 FU 확인부(522), 정보 가공부(524) 및 정보 전달부(526)를 포함한다.The
FU 확인부(522)는 디스크립션 디코더(505)의 처리에 의해 부분 디코더 디스크립션들이 디스크립션 저장부(510)에 저장되면, 부분 디코더 디스크립션(예를 들어, FL(410) 등)에 기술된 기능부들이 툴박스(515)에 모두 존재하는지 여부를 확인한다. 만일, 부분 디코더 디스크립션에 기술된 기능부들 중 툴박스(515)에 존재하지 않는 기능부가 있는 경우, 에러 메시지가 디스플레이 장치를 통해 디스플레이되도록 하거나, 해당 기능부의 업데이트를 사용자에게 요청할 수 있다. 물론, 해당 기능부의 업데이트를 위한 서버 장치와 통신망을 통해 결합된 경우 FU 확인부(522)는 통신망을 통한 자동 업데이트를 실행할 수도 있다. If the partial decoder descriptions are stored in the
정보 가공부(524)는 디스크립션 저장부(510)에 저장된 각 부분 디코더 디스크립션들을 역할에 따라 분류하고, 디코딩 솔루션(530)이 용이하게 운용할 수 있는 데이터 형태로 가공한다. 이는, 디스크립션 저장부(510)에 저장된 부분 디코더 디스크립션들의 저장된 형식(예를 들어, 테이블 형식)이 디코딩 솔루션(530)이 이용하기에 적합하지 않거나 또는 디코딩 솔루션(530)이 보다 효율적으로 이용할 정보가 필요할 수 있기 때문이다. The
각 부분 디코더 디스크립션의 기능 및 형식은 이후 관련 도면을 참조하여 구체적으로 설명될 것이므로, 여기서는 가공된 데이터 형태에 대해서만 간략히 설명한다.Since the function and format of each partial decoder description will be described in detail later with reference to related drawings, only the processed data form will be briefly described here.
정보 가공부(524)는 부분 디코더 디스크립션들 각각이 CSCI(Control Signal/Context Information, 제어 정보/문맥 정보)의 생성 또는 저장을 위해 이용되는지, 기능부들의 연결을 위해 이용되는지 등의 역할에 따라 분류한 후 CSCI 제어 정보와 연결 제어 정보를 가공한다. 예를 들어, CSCI 제어 정보를 생성하기 위해 이용되는 부분 디코더 디스크립션들은 SET(450), S-RT(460), CSCIT(440) 및 DVT(470)일 수 있고, 연결 제어 정보를 생성하기 위한 부분 디코더 디스크립션들은 FL(410), F-RT(420), S-RT(460) 및 FU-CSCIT(440)일 수 있다.The
정보 가공부(524)에 의해 가공된 CSCI 제어 정보 및 연결 제어 정보는 예를 들어 XML 기반 ADM(Abstract Decoder Model) 표현 방식에 따라 표현될 수 있으며, 이는 아래와 같다. 물론, 가공된 CSCI 제어 정보 및 연결 제어 정보의 표현 방식이 이에 제한되지 않음은 자명하다.The CSCI control information and the connection control information processed by the
먼저, CSCI 제어 정보는 아래와 같이 표현될 수 있다.First, CSCI control information may be expressed as follows.
<CSCIs><CSCIs>
<csci_memory id="C0" name="CSCI #0" type="integer" /> <csci_memory id = "C0" name = "
<csci_memory id="C1" name="CSCI #1" type="integer" /> <csci_memory id = "C1" name = "
<csci_memory id="C2" name="CSCI #2" type="array" /> <csci_memory id = "C2" name = "
<csci_memory id="C3" name="CSCI #3" type="integer" /> <csci_memory id = "C3" name = "
<csci_memory id="C4" name="CSCI #4" type="integer" /> <csci_memory id = "C4" name = "
<csci_memory id="C5" name="CSCI #5" type="integer" /> <csci_memory id = "C5" name = "
<csci_memory id="C6" name="CSCI #6" type="integer" /> <csci_memory id = "C6" name = "
<csci_memory id="C7" name="CSCI #7" type="integer" /> <csci_memory id = "C7" name = "
<csci_memory id="C8" name="CSCI #8" type="integer" /> <csci_memory id = "C8" name = "
<csci_memory id="C9" name="CSCI #9" type="integer" /> <csci_memory id = "C9" name = "
<csci_memory id="C10" name="CSCI #10" type="integer" /> <csci_memory id = "C10" name = "
<csci_memory id="C11" name="CSCI #11" type="integer" /> <csci_memory id = "C11" name = "
<csci_memory id="C12" name="CSCI #12" type="integer" /> <csci_memory id = "C12" name = "
…… ... ...
</CSCI></ CSCI>
다음으로, 연결 제어 정보는 아래와 같이 표현될 수 있다.Next, the connection control information may be expressed as follows.
<Network name="Decoder"><Network name = "Decoder">
<Package><Package>
<QID><QID>
<ID id="MPEG4 Simple Profile" /><ID id = "MPEG4 Simple Profile" />
</QID></ QID>
</Package></ Package>
<Port kind="Input" name="BITSTREAM" /><Port kind = "Input" name = "BITSTREAM" />
<Port kind="Ouput" name="YUV" /><Port kind = "Ouput" name = "YUV" />
<Instance id="1"><Instance id = "1">
<Class name="Parser"><Class name = "Parser">
<QID><QID>
<ID id="c" /><ID id = "c" />
</QID></ QID>
</Class></ Class>
<Note kind="label" name="Stream Parser" /><Note kind = "label" name = "Stream Parser" />
</Instance></ Instance>
<Instance id="2"><Instance id = "2">
<Class name="VS"><Class name = "VS">
<QID><QID>
<ID id="c" /><ID id = "c" />
</QID></ QID>
<Note kind="label" name="Video Session" /><Note kind = "label" name = "Video Session" />
</Class></ Class>
</Instance></ Instance>
<Connection src="" src-port="BITSTREAM" dst="1" dst-port="BITSTREAM" /><Connection src = "" src-port = "BITSTREAM" dst = "1" dst-port = "BITSTREAM" />
<Connection src="1" src-port="CSCI" dst="2" dst-port="CSCI" /><Connection src = "1" src-port = "CSCI" dst = "2" dst-port = "CSCI" />
<Connection src="1" src-port="DATA" dst="2" dst-port="DATA" /><Connection src = "1" src-port = "DATA" dst = "2" dst-port = "DATA" />
<Connection src="2" src-port="YUV" dst="" dst-port="YUV" /><Connection src = "2" src-port = "YUV" dst = "" dst-port = "YUV" />
</Network></ Network>
정보 전달부(526)는 정보 가공부(524)에 의해 가공된 CSCI 제어 정보와 연결 제어 정보를 디코딩 솔루션(530)으로 전달한다. 정보 전달부(526)는 CSCI 제어 정보를 CSCI 정보의 실제 저장과 운용을 담당하는 CSCI 저장부(532)로 전달하고, 연결 제어 정보는 기능부간의 연결을 제어하는 연결 제어부(534)로 전달할 수 있다. 만일 CSCI 저장부(532)가 단지 CSCI 정보의 저장만을 위해 기능하고, CSCI 정보의 운용이 연결 제어부(534)에 의해 수행되는 경우라면 정보 전달부(524)는 CSCI 제어 정보와 연결 제어 정보를 연결 제어부(534)로 전달할 수도 있음은 자명하다.The
디코딩 솔루션(530)은 CSCI 저장부(532) 및 연결 제어부(534)를 포함한다. 도시되지는 않았으나, 디코더 솔루션(530)은 연결 제어부(534)의 호출에 의해 하나 이상의 기능부들이 로드되어 미리 지정된 프로세스가 수행되도록하기 위한 작업 메모리를 더 포함할 수 있다.The
디코딩 처리 유닛(320)의 제2 실시예가 도시된 도 5를 참조하면, 디코딩 처리 유닛(320)은 디스크립션 디코더(505), 디스크립션 저장부(510), 툴박스(Tool-Box, 515), 디코더 형성부(520) 및 디코딩 솔루션(530)을 포함할 수 있다. Referring to FIG. 5, where a second embodiment of the
도 5와 비교할 때, 도 6의 디코딩 처리 유닛(320)의 디코딩 솔루션(530)은 파싱 기능부(610)를 더 포함할 수 있다. 파싱 기능부(610)는 비트스트림의 syntax 파싱을 수행하는 기능부이다. 파싱 기능부(610)는 독립된 구성 요소로 디코딩 솔루션(530)에 포함될 수도 있으나, 디코딩 솔루션(530)이 2개의 작업 메모리를 구비하도록 하고 연결 제어부(534)가 하나의 작업 메모리는 디코딩 처리를 위한 기능부들만이 전용적으로 로드되도록 제어하고 다른 하나의 작업 메모리는 파싱 기능부(610)만이 전용적으로 로드되도록 제어함으로써 동일한 효과가 도출되도록 구현할 수도 있음은 자명하다. 상술한 두가지 경우 모두에서 비트스트림에 대한 파싱 처리와 디코딩 처리가 순차적 또는/및 병렬적으로 수행될 수 있는 장점을 가진다. Compared with FIG. 5, the
또한, 도 5와 비교할 때, 파싱 기능부(610)의 처리를 위해 정보 가공부(524)는 syntax 파싱 제어 정보를 더 가공하여 디코딩 솔루션(530)으로 제공한다. 따라서, CSCI 제어 정보, 연결 제어 정보 및 syntax 파싱 제어 정보를 생성하기 위해 이용되는 부분 디코더 디스크립션의 역할이 달라질 수 있다.In addition, in comparison with FIG. 5, the
즉, 정보 가공부(524)는 부분 디코더 디스크립션들 각각이 CSCI(Control Signal/Context Information, 제어 정보/문맥 정보)의 생성 또는 저장을 위해 이용되는지, syntax 파싱을 위해 이용되는지, 기능부들의 연결을 위해 이용되는지 등의 역할에 따라 분류한 후 CSCI 제어 정보, 연결 제어 정보 및 syntax 파싱 제어 정보를 가공한다. 예를 들어, CSCI 제어 정보를 생성하기 위해 이용되는 부분 디코더 디스크립션은 CSCIT(440)일 수 있고, 연결 제어 정보를 생성하기 위한 부분 디코더 디스크립션들은 FL(410), F-RT(420) 및 FU-CSCIT(440)일 수 있으며, Syntax 파싱 제어 정보를 생성하기 위해 이용되는 부분 디코더 디스크립션들은 SET(450), S-RT(460), CSCIT(440) 및 DVT(470)일 수 있다.That is, the
앞서 설명한 바와 같이, 정보 가공부(524)에 의해 가공된 CSCI 제어 정보 및 연결 제어 정보는 예를 들어 XML 기반 ADM(Abstract Decoder Model) 표현 방식에 따라 표현될 수 있으며, Syntax 파싱 제어 정보의 표현 예는 아래와 같다.As described above, the CSCI control information and the connection control information processed by the
<syntax><syntax>
<syntax_element id="S0" name="Syntax #0"> <syntax_element id = "S0" name = "
<process> <process>
<cmd type="READ"> <cmd type = "READ">
<parameter index=0>32</parameter> <parameter index = 0> 32 </ parameter>
<parameter index=1>B</parameter> <parameter index = 1> B </ parameter>
</cmd> </ cmd>
<cmd type="EXPRESSION"> <cmd type = "EXPRESSION">
<parameter index=0>(C0=(IBS==HEX:1B0))</parameter> <parameter index = 0> (C0 = (IBS == HEX: 1B0)) </ parameter>
</cmd> </ cmd>
</process> </ process>
</syntax_element> </ syntax_element>
<syntax_element id="S1" name="Syntax #1"> <syntax_element id = "S1" name = "
<process> <process>
<cmd type="READ"> <cmd type = "READ">
<parameter index=0>8</parameter> <parameter index = 0> 8 </ parameter>
<output type="CSCI">C1</output> <output type = "CSCI"> C1 </ output>
</cmd> </ cmd>
</process> </ process>
</syntax_element> </ syntax_element>
(……) (……)
</syntax></ syntax>
정보 전달부(526)는 정보 가공부(524)에 의해 가공된 CSCI 제어 정보, 연결 제어 정보 및 syntax 파싱 제어 정보를 디코딩 솔루션(530)으로 전달한다. 정보 전달부(526)는 CSCI 제어 정보를 CSCI 정보의 실제 저장과 운용을 담당하는 CSCI 저장부로 전달하고, 연결 제어 정보는 기능부간의 연결을 제어하는 연결 제어부(534)로 전달하며, syntax 파싱 제어 정보는 파싱 기능부(610)로 전달할 수 있다. 만일 CSCI 저장부(532)가 단지 CSCI 정보의 저장만을 위해 기능하고, CSCI 정보의 운용이 연결 제어부(534)에 의해 수행되는 경우라면 정보 전달부(524)는 CSCI 제어 정보와 연결 제어 정보를 연결 제어부(534)로 전달할 수도 있음은 자명하다. 또한 만일 파싱 기능부(610)가 연결 제어부(534)의 제어에 의해 비트스트림의 syntax 파싱(parsing)을 수행한다면, 정보 전달부(524)는 syntax 파싱 제어 정보를 연결 제어부(534)로 전달할 수도 있음은 자명하다.The
디코딩 솔루션(530)은 CSCI 저장부(532), 연결 제어부(534) 및 파싱 기능부(610)를 포함한다. 디코더 솔루션(530)은 연결 제어부(534)의 호출에 의해 하나 이상의 기능부들이 로드되어 미리 지정된 프로세스가 수행되도록하기 위한 하나 이상의 작업 메모리를 더 포함할 수 있다.The
파싱 기능부(610)는 비트스트림의 부호화 포맷에 관계없이 모든 비트스트림에 대해 syntax 파싱이 가능한 기능부이거나, 특정 유형의 비트스트림의 syntax 파싱을 위해 특정적으로 생성된 기능부일 수 있다. 즉, 파싱 기능부(610)는 syntax 파싱을 수행하기 위한 하나 이상의 기능부로서 이후 관련 도면을 참조하여 구체적 으로 설명하기로 한다.The
도 5 및 도 6에 예시된 바와 같이, 본 발명에 따른 복호화기(300)는 툴박스(515) 내에 구비된 기능부들(디코딩 처리를 수행하는 디코딩 기능부 또는/및 syntax 파싱을 수행하는 파싱 기능부(610))을 선택적으로 로드하여 디코딩 처리하도록 함으로써, 입력된 비트스트림이 부호화된 방식에 관계없이 복호화할 수 있도록 다양한 형태로 재조합 또는 생성되는 복호화기(300)의 구현이 가능해진다.As illustrated in FIGS. 5 and 6, the
상술한 바와 같이, 디코더 형성부(520, 또는 연결 제어부(534))는 입력된 비트스트림을 처리하기 위한 복호화기를 구성하는 기능을 수행하며, 비트스트림의 디코딩은 디코더 형성부(520, 또는 연결 제어부(534))의 제어에 의해 구성된 실제 디코더, 즉 디코딩 솔루션(530)에 의해 수행된다. 이처럼 기능상 인과 관계가 있는 두 처리부를 분리함으로써 하나의 디코더 형성 정보를 이용하여 복수 개의 디코딩 솔루션을 제작할 수 있게 되어, 복호화기가 보다 효율적인 처리를 제공할 수 있다.As described above, the
이하, 디코딩 처리 유닛(320)의 각 구성 요소들의 기능 및 동작에 대해 관련 도면을 참조하여 설명한다.Hereinafter, functions and operations of the components of the
디스크립션 디코더(505)는 앞서 설명한 바와 같이, 입력된 인코딩된 디코더 디스크립션(313)을 디코더 디스크립션(314)으로 디코딩한 후 복수의 부분 디코더 디스크립션들로 디스크립션 저장부(410)에 저장되도록 한다. As described above, the
툴 박스(510)는 미리 지정된 프로세스를 수행하도록 각각 구현된 복수의 기능부들을 포함한다. 여기서, 하나의 기능부로 구현되거나 복수의 기능부들의 조합으로 구현되는 파싱 기능부(610)의 경우 툴박스(515) 내에 포함되도록 구현되거나, 디코딩 솔루션(530) 내에 포함되도록 구현될 수 있다. 파싱 기능부 및 각각의 기능부들은 각각 프로그램 코드들의 조합으로 구현될 수도 있다.The
즉, 툴 박스(510)는 각각의 기능(즉, 미리 설정된 프로세스)을 수행하도록 구현된 기능부(FU, Functional Unit)들이 포함되는 영역으로, 각 기능부들은 연결 제어부(534)의 연결 제어에 의해 작업 메모리에 로드(load)되어 순차적인 연결 동작 관계를 형성함으로써 종래 비트스트림(316)에 포함된 인코딩된 비디오 데이터를 동영상 데이터로 출력한다. That is, the
물론, 도 6을 참조하여 설명한 바와 같이, 파싱 기능부(610)는 디코딩 솔루션(530)에 포함되어 syntax 파싱 제어 정보를 이용함으로써, 연결 제어부(534)의 연결 제어 없이 종래 비트스트림(316)의 해석을 수행하도록 설정될 수도 있다. 이는 후속하는 기능부들이 파싱 기능부(610)가 해석하여 CSCI 저장부(532)에 저장한 엘리먼트 정보(element information) 및/또는 파싱 기능부(610)로부터 출력되는 매크로블록(MB) 사이즈의 동영상 데이터를 이용할 수 있기 때문이다.Of course, as described with reference to FIG. 6, the
파싱 기능부(610)는 syntax 파싱 제어 정보를 이용하여 입력된 종래 비트스트림(316)을 해석하여 신택스 파싱(syntax parsing)의 결과물인 엘리먼트 정보(element information)를 CSCI 저장부(532)에 저장한다. CSCI 저장부(532)는 예를 들어 버퍼 메모리일 수 있다. 엘리먼트 정보는 예를 들어 CSCI(Control Signal/Context Information, 제어 정보/문맥 정보)일 수 있다. 파싱 기능부(610)에 의해 파싱되어 CSCI 저장부(532)에 저장된 엘리먼트 정보는 해당 단계의 파싱 결과값임과 동시에 종래 비트스트림(316)의 후속하는 신택스를 결정하는 입력 값이 될 수도 있다.The
또한, 파싱 기능부(610)는 신택스 파싱된 종래 비트스트림(316)의 헤더와 영상 데이터에 대한 엔트로피 디코딩을 수행하여 미리 지정된 매크로블록 사이즈의 동영상 데이터를 연결 제어부(534)의 연결 제어에 따른 후속하는 기능부(FU)로 출력할 수 있다.In addition, the
물론, 파싱 기능부(610)는 매크로블록 사이즈의 동영상 데이터를 미리 지정된 버퍼 메모리에 저장하고, 연결 제어부(534)의 로드(즉, 연결 제어)에 따른 후속하는 기능부가 해당 버퍼 메모리에서 매크로블록 사이즈의 동영상 데이터를 독출하여 처리한 후 후속하는 기능부의 처리를 위해 해당 버퍼 메모리에 처리한 동영상 데이터를 저장할 수도 있다. Of course, the
즉, 파싱 기능부(610)는 매크로블록 사이즈의 동영상 데이터를 CSCI 저장부(532) 또는 별도의 버퍼 메모리에 저장한 후, 연결 제어부(534)가 저장된 매크로블록 사이즈의 동영상 데이터를 선택한 기능부로 제공하거나, 선택된 기능부가 CSCI 저장부(532) 또는 별도의 버퍼 메모리로부터 해당 동영상 데이터를 독출할 수도 있음은 자명하다. 다만, 이하에서는 파싱 기능부(610)가 출력하는 매크로블록 사이즈의 동영상 데이터가 연결 제어부(534)의 연결 제어에 따른 기능부로 직접 입력되는 경우를 가정하여 설명한다.That is, the
파싱 기능부(610)는 하나의 소프트웨어 프로그램(프로그램 코드들의 조합을 포함함)으로 구현될 수 있다. 복수의 표준(예를 들어, MPEG-1/2/4/AVC 등)에 각각 대응되는 복수의 기능을 수행하도록 파싱 기능부(610)가 구현될지라도 syntax 파싱 제어 정보를 이용하여 상응하는 동작을 수행할 수 있기 때문이다. 물론, 파싱 기능부(610)는 도 7에 도시된 바와 같이 복수의 기능부들로 세분화되어 구현될 수도 있으며, 각 기능부들이 블록화된 프로그램 코드들의 조합으로 구현될 수 있음은 자명하다.The
도 7에 예시된 각 기능부들을 구체적으로 설명함으로써 파싱 기능부(610)의 기능을 설명하면 다음과 같다. The function of the
파싱 기능부(610)는 도 7에 예시된 바와 같이, NALP(Network Abstraction Layer Parsing) 기능부(FU, 710), SYNP(Syntax Parsing) 기능부(720), CTX(Context determination) 기능부(730), VLD(Variable Length Decoding) 기능부(740), RLD(Run Length Decoding) 기능부(750), MBG(Macro Block Generator) 기능부(760) 등을 포함할 수 있다. As illustrated in FIG. 7, the
물론, 파싱 기능부(610)에는 신택스 파싱을 위한 기능부라면 적용되는 표준에 관계없이 모두 포함될 수 있을 뿐 아니라 기술 발전과정에서 Syntax 파싱 등을 위해 필요한 기능부는 신규로 추가될 수 있고, 기존 기능부의 수정도 가능하며, 불필요한 기능부는 제거될 수 있음은 자명하다. 또한, 파싱 기능부(610) 내에 구비된 각 기능부는 각 표준에 독립적으로 존재하지 않고, 표준에 관계없이 동일한 처리가 가능한 기능부의 경우에는 하나의 기능부로 통합되어 구비될 수도 있음은 자명하다. 각 기능부의 기능은 당업자에게 자명한 사항이므로 간략히 설명하기로 한다.Of course, the
NALP 기능부(710)는 MPEG-4 AVC의 NAL(Network Abstraction Layer)를 파싱(parsing)하는 기능부이고, SYNP 기능부(720)는 비트스트림의 신택스(syntax)를 파싱하는 기능부이다. SYNP 기능부(720)는 VLD 기능부(740)에 포함될 수도 있다. The
CTX 기능부(730)는 MPEG-4 AVC의 VLC 테이블을 결정하는 기능부이고, VLD 기능부(740)는 엔트로피(Entropy) 디코딩을 수행하는 기능부이다. The
RLD 기능부(750)는 AC값들을 엔트로피 디코딩하는 기능부이고, MBG 기능부(760)는 DC값 및 AC값들을 결합하여 하나의 MB(Macro Block) 데이터를 생성하는 기능부이다. 상기 언급한 파싱 기능부(610) 내의 모든 기능부들 및 일부의 기능부들은 시스템 구현 방식에 따라 VLD 기능부(740)에 그 기능이 포함될 수 있을 것이다.The
상술한 바와 같이, 파싱 기능부(610)는 하나의 소프트웨어 프로그램으로 구현되거나, 복수의 소프트웨어 프로그램으로 구현(예를 들어 VLD 기능부(740) 등을 독립된 소프트웨어 프로그램으로 독립적 구현)될 수 있을 것이다. 파싱 기능부(610)가 syntax 파싱 제어 정보를 이용하여 엘리먼트 정보를 추출 또는 생성하여 CSCI 저장부(532)에 저장하는 과정은 이후 연결 제어부(534)의 설명 부분에서 상세히 설명하기로 한다.As described above, the
툴박스(515) 내에 구비되는 디코딩 기능부들은 연결 제어부(534)의 선택적 로드에 의해 활성화되어 미리 지정된 프로세스를 각각 수행함으로써 파싱 기능부(610)에 의해 출력된(또는 파싱 기능부(610)가 버퍼 메모리에 저장한) 매크로블록 단위의 동영상 데이터들을 디코딩하여 미리 지정된 크기의 동영상 데이터로서 출력한다. The decoding functions included in the
툴박스(515) 내에는 각 표준에 상응하여 상술한 기능을 수행하기 위한 기능 부(FU)들이 포함될 수 있다. 각 기능부들은 독립된 처리 블록(예를 들어, 소프트웨어 프로그램, 명령어 코드들의 조합, 함수 등)으로 구현되거나, 하나의 통합된 처리 블록으로 구현될 수도 있을 것이다. 디코딩 기능부들은 하나의 통합된 처리 블록으로 구현될지라도 연결 제어부(534)의 연결 제어에 의해 상응하는 처리가 수행될 수 있음은 자명하다.The
디코딩 기능부들은 도 8에 도시된 바와 같이, DF(De-blocking Filter) 기능부(810), VR(VOP Reconstructor) 기능부(815), FFR(Frame Field Reordering) 기능부(820), IPR(Intra prediction and Picture Reconstruction) 기능부(830), IT(Inverse Transform) 기능부(835), IQ(Inverse Quantization) 기능부(845), IAP(Inverse AC Prediction) 기능부(855), IS(Inverse Scan) 기능부(860), DCR(DC Reconstruction) 기능부(865)를 포함한다. As shown in FIG. 8, the decoding functions include a de-blocking filter (DF)
IT4x4 기능부(840), IQ4x4 기능부(850) 및 DCR4x4 기능부(870)는 처리하는 블록 사이즈가 4x4인 것을 특징으로 한다. 이는 MPEG-1/2/4의 경우에는 Transform, Quantization, Prediction 시에 8x8 블록 사이즈로 데이터를 처리함에 비해, MPEG-4 AVC는 4x4 블록 사이즈로 데이터를 처리하는 경우가 존재하기 때문이다. The
툴박스(515)에는 데이터 디코딩 기능을 수행하기 위한 기능부라면 적용되는 표준에 관계없이 모두 포함될 수 있을 뿐 아니라 기술 발전과정에서 필요한 기능부는 추가될 수 있고, 기존 기능부의 수정도 가능하며, 불필요한 기능부는 제거될 수 있음은 자명하다. 예를 들어, 복호화 처리를 위해 4x4 블록 사이즈로 데이터를 처리하는 IS4x4 기능부 등이 추가로 필요한 경우 해당 기능부들이 툴박스(515)에 추 가될 수 있다. 또한, MPEG-4 AVC에서 인트라 예측(Intra Prediction) 수행을 위한 SPR(Special Prediction) 기능부(도시되지 않음) 등이 더 추가될 수도 있을 것이다.The
툴박스(515) 내에 구비된 각 기능부는 각 표준에 독립적으로 존재하지 않고, 표준에 관계없이 동일한 처리가 가능한 기능부의 경우에는 하나의 기능부로 통합되어 구비될 수도 있음은 자명하다. 각 기능부의 기능은 당업자에게 자명한 사항이므로 간략히 설명하기로 한다.Each functional unit provided in the
DF 기능부(810)는 MPEG-4 AVC의 디-블록킹 필터(de-blocking filter)이고, VR 기능부(815)는 복원된 픽셀값을 저장하는 기능부이다. The
FFR 기능부(820)는 interlaced 모드를 위한 기능부이고, IPR 기능부(830)는 MPEG-4 AVC의 인트라 예측(Intra prediction)을 한 후 복원된 픽셀값을 저장하는 기능부이다. 상술한 바와 같이, MPEG-4 AVC의 인트라 예측은 SPR 기능부에 의해 수행될 수 있을 것이다. The
IT 기능부(835)는 DC값 및 AC값들의 역 변환(inverse transform)을 수행하는 기능부이고, IQ 기능부(845)는 AC 값들을 역 양자화(inverse quantization)하는 기능부이다.The
IAP 기능부(855)는 AC값들을 역 예측(inverse AC prediction)하는 기능부이고, IS 기능부(860)는 AC값들을 역 스캔(inverse scan)하는 기능부이다. DCR 기능부(865)는 DC값들의 역 예측 및 역 양자화를 수행하는 기능부이다.The
상술한 파싱 기능부(610)와 디코딩 기능부들간의 처리 동작이 반드시 순차적 으로 진행되어야 하는 것(즉, 파싱 기능부(610)의 동작이 완료된 후 디코딩 기능부의 동작 개시)은 아니며, 연결 제어부(534)의 연결 제어에 의해 둘 이상의 기능부들이 작업 메모리에 로드되도록 함으로써 병렬적인 처리도 가능함은 자명하다. 예를 들어, 특정 디코딩 기능부의 동작을 위해 필요한 최소한의 엘리먼트 정보만이 파싱 기능부(610)에 의해 CSCI 저장부(532)에 저장되면 충분할 수 있기 때문이다.The above-described processing operations between the parsing
또한, 앞서 도 6을 참조하여 설명한 바와 같이, 디코딩 솔루션(530) 내에 파싱 기능부(610)가 구비되거나 둘 이상의 작업 메모리가 구비되는 경우 연결 제어부(534)의 별도 제어가 없더라도 syntax 파싱 및 디코딩 처리의 병렬 처리가 가능해짐은 별도의 설명을 생략할지라도 자명하다.In addition, as described above with reference to FIG. 6, when the
CSCI 저장부(532)에는 파싱 기능부(610)에서 CSCI 제어 정보(또는 syntax 파싱 제어 정보)를 이용한 신택스 파싱에 의한 결과값인 엘리먼트 정보(예를 들어, CSCI)가 CSCIT(440)에 상응하도록 저장된다. CSCI 저장부(532)는 예를 들어 버퍼 메모리(buffer memory)일 수 있다.In the
CSCI 저장부(532)에 저장된 엘리먼트 정보는 파싱 기능부(610)에 의해 SET(450)의 프로세스 수행을 위한 입력 데이터로 이용되거나, S-RT(460)에서 후속하는 연결 인덱스를 결정하기 위한 제어 변수로 이용될 수 있다. The element information stored in the
또한, CSCI 저장부(532)에 저장된 엘리먼트 정보는 연결 제어부(534)에 의해 F-RT(420)에서 후속하는 연결 인덱스를 결정하기 위한 제어 변수로 이용되거나, FU-CSCIT(430)에서 특정 기능부(FU)의 입력 CSCI를 CSCI 저장부(532)에 저장된 엘리먼트 정보들과 매핑하기 위해 이용될 수 있다.In addition, the element information stored in the
즉, CSCI 저장부(532)에 저장된 엘리먼트 정보는 파싱 기능부(610)와 디코딩 기능부들간에 연동하도록 하는 역할을 한다.That is, element information stored in the
연결 제어부(534)는 각 기능부들의 선택적 로드(load)의 제어를 통해 다양한 표준에 의해 인코딩된 비트스트림을 디코딩하기 위해 각 디코딩 기능부들의 연결 관계(connection)를 설정한다. 즉, 연결 제어부(534)는 툴박스(515)에 포함된 각 기능부들 중 적절한 기능부를 선택하여 선택된 기능부들간의 수행 순서를 결정한다. 이를 위하여, 연결 제어부(534)는 연결 제어 정보를 이용하여 해당 기능부들을 연결하고, 각 기능부들이 파싱 기능부(610)에 의해 제공된 엘리먼트 정보들을 이용하여 매크로블록 단위의 동영상 데이터를 복호화하도록 한다. The
이하, 도 5에 도시된 디코더 형성부(520)의 정보 가공부(524)의 동작을 중심으로 각 부분 디코더 디스크립션들의 기능 및 용도를 관련 도면을 참조하여 설명하기로 한다. 또한, 연결 제어부(534) 등의 처리 동작이 정보 가공부(524)에 의해 가공된 정보가 이용되지만, 설명 및 이해의 편의를 위해 부분 디코더 디스크립션의 내용을 참조하여 설명하기로 한다.Hereinafter, the functions and uses of the respective decoder descriptions will be described with reference to the accompanying drawings, focusing on the operation of the
정보 가공부(524)가 연결 제어 정보를 생성하기 위해 이용하는 부분 디코더 디스크립션들로는 FL(410), F-RT(420), FU-CSCIT(430) 및 CSCIT(440) 등이 있다. 또한, syntax 파싱을 위한 각 기능부들의 연결 관겨를 설정하기 위해 S-RT(460)가 더 이용될 수 있다.The partial decoder descriptions used by the
먼저, FL(FU List, 410)은 도 18에서 보여지는 바와 같이, 툴박스(515) 내에 구비된 각 기능부들의 리스트, 해당 기능부들의 입출력 데이터와 기능부들을 제어 하는 엘리먼트 정보를 담은 부분 디코더 디스크립션이다. First, as shown in FIG. 18, the FL (FU List) 410 is a partial decoder description including a list of respective functional units included in the
FL(410)은 각 기능부에 대한 입력 데이터의 버퍼 메모리 명칭(또는 해당 데이터의 기록 주소 또는 해당 데이터가 기록된 버퍼 메모리 내의 주소)과 해당 기능부에 의한 출력 데이터의 버퍼 메모리 명칭(또는 해당 데이터의 기록 주소 또는 해당 데이터가 기록될 버퍼 메모리 내의 주소)을 더 포함할 수 있다. The
따라서, 각 기능부는 FL(410)을 이용하여 입력 데이터를 읽고 처리한 출력 데이터를 기록할 수 있다. 또한, FL(410)에 기록된 정보를 이용하여 각 기능부간에 입출력 데이터가 전달되도록 하거나, 연결 제어부(534)가 각 기능부에 적절한 입력 데이터를 제공할 수도 있다.Accordingly, each functional unit may record output data read and processed by the input data using the
그러나, FL(410)에는 엘리먼트 정보를 생성하는 파싱 기능부(610)의 입력 데이터 및 출력 데이터는 기재되어 있지 않으나, 이는 파싱 기능부(610)가 SET(450) 등의 정보를 이용하여 엘리먼트 정보를 생성하고 지정된 위치에 생성한 엘리먼트 정보를 기록하기 때문이다.However, the input data and output data of the
FL(410)은 도 18에 예시된 바와 같이, 각 기능부를 구분하기 위한 구분자인 index(F), 각 기능부의 이름(FU Name), 해당 기능부에 필요한 입력제어(CSCI) 변수의 개수, 입력 데이터 및 출력 데이터를 포함할 수 있다. As illustrated in FIG. 18, the
연결 제어부(534)에 의해 작업 메모리에 로드된 특정 기능부는 연결 제어부(534)로부터 입력 데이터를 제공받고, 미리 설정된 프로세스를 수행하여 출력 데이터를 생성한다. 여기서, 기능부는 툴박스(515)에 포함되며, 입력 데이터를 미리 지정된 프로세스로 처리하여 출력 데이터를 생성하는 일련의 처리 과정(예를 들어, 기능, 알고리즘 또는 함수 등)을 의미한다. 해당 기능부는 출력 데이터를 후속하는 기능부(즉, 후속하여 연결 제어부(534)의 제어에 의해 로드된 기능부)의 처리를 위해 버퍼 메모리에 저장할 수 있다. 도 18에 예시된 기능부(FU) 들에 대해서는 앞서 관련 도면을 참조하여 이미 설명하였으므로, 그 설명은 생략한다. 또한, 도 18에서의 QFS, QFSP, PQF, QF 등은 MPEG 분야 등의 당업자에게 자명한 사항이므로 이에 대한 설명은 생략한다. 일 예로, QFS는 가변장 부호화를 한 출력값을 의미한다. The specific function unit loaded in the working memory by the
디코딩 처리 유닛(320)이 종래 비트스트림(316)에 포함된 인코딩된 비디오 데이터의 디코딩을 위해 하나의 표준만을 이용하면 충분한 경우, FL(410)은 해당 표준에서 상응하는 처리를 수행하기 위한 기능부들에 대한 정보만을 포함할 수 있다. If the
그러나, 해당 비디오 데이터가 복수의 표준에 의해 인코딩된 경우(예를 들어, 복수의 프레임 단위로 인코딩 표준을 달리 적용한 경우)에는 해당 인코딩된 비디오 데이터의 디코딩을 위해 복수의 표준에 따른 기능부들의 정보가 필요할 것이다. 따라서, 이 경우 FL(410)은 상응하는 복수의 표준에 따른 모든 기능부들 중 인코딩된 비디오 데이터의 디코딩을 위해 필요한 복수의 표준에 따른 기능부들의 정보를 포함하여야 할 것이다.However, when the video data is encoded by a plurality of standards (for example, when the encoding standard is applied differently in units of a plurality of frames), the information of the functional units according to the plurality of standards for decoding the encoded video data. Will be needed. Accordingly, in this case, the
물론, 비디오 데이터가 복수의 프레임 단위로 인코딩 표준을 달리 적용할지라도, 적용된 인코딩 표준별로 복수의 종래 비트스트림(316) 및 확장 비트스트림(305)이 생성되어 출력된다면 각각의 FL(410)은 각각 상응하는 표준에 따른 기능부들의 정보만을 포함하면 될 것이다.Of course, even if the video data is differently applied to the encoding standard in units of a plurality of frames, each of the
FL(410)은 textual description이나 binary description(비트 변환된 바이너리 코드 형태) 등의 기술 방식으로 기술될 수 있을 뿐 아니라, 상기 부분 디코더 디스크립션 중 필요한 최소한의 데이터가 유사 스크립트 언어로 기술될 수도 있다.The
다음으로, F-RT(FU - Rule Table, 420)은 입력된 종래 비트스트림(316)을 복호화하기 위하여 사용될 기능부들의 연결 정보를 제공한다. Next, the F-RT (FU-Rule Table) 420 provides connection information of functional units to be used to decode the input
F-RT(420)는 도 19에서 보여지는 바와 같이, 각 연결 정보(Rule)를 구분하는 인덱스(Index, R), 해당 연결 인덱스에 상응하는 기능부(FU, F#), 연결 제어를 위해 필요한 엘리먼트 정보(Input CS/CI, C#), 후속하는 기능부와 연결되어질 수 있는 분기의 수(No. of branches), 분기의 수 만큼 필요한 각 분기 정보(branch information) (#1, #2, #3…) 등을 포함한다. As shown in FIG. 19, the F-
필요한 엘리먼트 정보는 분기의 수가 2 이상인 경우에만 존재하며, 이 경우는 필요한 엘리먼트 정보를 이용한 조건문의 판단 결과에 따라 연결 인덱스가 달라질 수 있다. 즉, 분기의 수가 1인 경우는 필요한 엘리먼트 정보가 존재하지 않으며, 분기 정보에서 지시하는 연결 인덱스로 진행한다. 해당 조건문 이후에는 후속하는 연결 인덱스(R)가 제시된다. Necessary element information exists only when the number of branches is 2 or more. In this case, the connection index may vary according to the determination result of the conditional statement using the required element information. That is, when the number of branches is 1, necessary element information does not exist and the process proceeds to the connection index indicated by the branch information. After that conditional statement, the subsequent connection index (R) is presented.
디코딩 처리 유닛(320)이 종래 비트스트림(316)에 포함된 인코딩된 비디오 데이터의 디코딩을 위해 하나의 표준만을 이용하면 충분한 경우, F-RT(420)은 해당 표준만에서 상응하는 처리를 수행하기 위한 기능부들의 연결 관계 등을 지시할 것이다. If the
그러나, 해당 비디오 데이터가 복수의 표준에 의해 인코딩된 경우(예를 들 어, 복수의 프레임 단위로 인코딩 표준을 달리 적용한 경우)에는 해당 인코딩된 비디오 데이터의 디코딩을 위해 복수의 표준에 따른 기능부들의 연결 관계 등을 지정하기 위한 정보가 포함될 것임은 자명하다. 이는 이하에서 언급되는 각 부분 디코더 디스크립션들도 복수의 표준에서 적용되기 위해 추가적인 정보들 및/또는 복수의 표준에 적용되기 위한 수정 등을 필요로 한다면 해당 정보들을 더 포함할 것임은 자명하다.However, if the video data is encoded by a plurality of standards (for example, if the encoding standard is applied differently in units of a plurality of frames), the functional units according to the plurality of standards may be used to decode the encoded video data. It is obvious that information for specifying a connection relationship will be included. It is obvious that each of the partial decoder descriptions mentioned below will further include corresponding information if it needs additional information and / or modification to be applied to the plurality of standards in order to be applied in the plurality of standards.
F-RT(420)는 textual description이나 binary description(비트 변환된 바이너리 코드 형태) 등의 기술 방식으로 기술될 수 있을 뿐 아니라, 상기 부분 디코더 디스크립션 중 필요한 최소한의 데이터가 유사 스크립트 언어로 기술될 수도 있다.The F-
도 19에 예시된 각 연결 정보(Rule)를 구분하는 인덱스(Index, R) 중 R0부터 R5 및 R12를 실시하기 위한 기능부(FU)는 F0이다. F0는 도 18의 FL(410)을 참조하면 파싱 기능부(610)임을 알 수 있다. 따라서, 연결 제어부(534)가 툴박스(515) 내에 구비된 각 기능부들(도 5의 경우, syntax 파싱을 수행하는 기능부를 포함함)의 동작상의 연결 관계를 제어함을 알 수 있다. 또한, 선택된 기능부가 syntax 파싱을 수행하는 기능부인 경우, 해당 기능부가 몇 번째 Syntax를 읽어 처리하여야 하는지에 관한 연결 정보(Rule)가 F-RT(420)에 포함됨을 알 수 있다(예를 들어, F0(R74) 등).The functional unit FU for implementing R0 to R5 and R12 among the indexes (R) that distinguish each connection information (Rule) illustrated in FIG. 19 is F0. Referring to
또한, 인덱스 R1에는 기능부 항목에 'PROCESS1'이라 정의되어 있다. 예를 들어, 'PROCESS1'은 변수 선언, 메모리 설정, 변수 값 초기화 등과 같이 소프트웨어의 구현시 필요로 하는 기타 작업(즉, 신택스 파싱, 데이터 디코딩 이외의 작업)을 수행하기 위하여 호출되는 함수일 수 있다. 이와 같은 프로세스(PROCESS)는 소프트웨어의 수행을 위해 F-RT(420)의 필요 위치에 삽입되어 신택스 파싱 또는 데이터 디코딩 과정의 중간에 연결 제어부(534)에 의해 호출되어 실행될 수 있을 것이다. 도 19에는 하나의 프로세스만이 삽입되었으나, 각각 수행 동작이 동일하거나 상이한 복수의 프로세스가 F-RT(420)의 복수의 위치에 삽입될 수도 있음은 자명하다. In addition, the index R1 defines 'PROCESS1' as the functional part item. For example, 'PROCESS1' may be a function that is called to perform other tasks (ie, operations other than syntax parsing and data decoding) required for the software implementation, such as variable declaration, memory setting, and variable value initialization. Such a process may be inserted into a required position of the F-
다음으로, FU-CSCIT(FU CSCI Table, 430)은 CSCI 저장부(532)에 저장된 엘리먼트 정보와 각 기능부가 필요로 하는 엘리먼트 정보(input CSCI)를 연결하기 위한 부분 디코더 디스크립션이다.Next, the FU-CSCIT (FU CSCI Table) 430 is a partial decoder description for connecting the element information stored in the
도 20에 예시된 바와 같이, FU-CSCIT(430)는 FL(410)의 인덱스와 엘리먼트 정보의 쌍으로서 나열되는 인덱스(F-C), 해당 엘리먼트 정보, 매핑을 위하여 CSCIT(440)에서 사용하는 인덱스(C)를 포함한다. 이외에 FU-CSCIT(430)는 엘리먼트 정보의 데이터 타입(data type)을 더 포함할 수 있다. 예를 들어, 데이터 타입은 9-bit integer, 1-bit flag 등의 형태로 기술될 수 있을 것이다.As illustrated in FIG. 20, the FU-
FU-CSCIT(430)는 textual description이나 binary description(비트 변환된 바이너리 코드 형태) 등의 기술 방식으로 기술될 수 있을 뿐 아니라, 상기 부분 디코더 디스크립션 중 필요한 최소한의 데이터가 유사 스크립트 언어로 기술될 수도 있다.The FU-
예를 들어, F-RT(420) 에서 F1이 네 개의 엘리먼트 정보의 입력을 받는다면(도 18 참조), FU-CSCIT(430)에는 기능부별 엘리먼트 정보들이 리스트되어진다. 즉, F1-C1, F1-C2, F1-C3. F1-C4가 리스트되고 CSCIT(440)(도 21 참조)의 인덱 스(C)를 사용하여 C54, C56, C58, C65와 같이 각 엘리먼트 정보가 매핑된다. For example, if F1 receives input of four element information in the F-RT 420 (see FIG. 18), the element information for each functional part is listed in the FU-
마찬가지로, F2가 2개의 엘리먼트 정보의 입력을 가진다면, F2-C1, F2-C2로 인덱싱하고 C56, C58 값으로 매핑된다. 여기서, C54, C56 등은 각각 해당하는 엘리먼트 정보가 저장된 주소(예를 들어, 기록 주소, 버퍼 메모리 명칭 또는 버퍼 메모리 내의 기록 주소)로서 인식될 수 있으며, 해당 기능부는 입력 데이터 및 인덱스(C)에 상응하는 엘리먼트 정보를 이용하여 출력 데이터를 생성하여 출력(또는 버퍼 메모리에 기록)할 수 있다. Similarly, if F2 has an input of two element information, it is indexed by F2-C1, F2-C2 and mapped to C56, C58 values. Here, C54, C56, etc. may be recognized as an address (for example, a write address, a buffer memory name, or a write address in the buffer memory) in which the corresponding element information is stored, and the corresponding function unit may correspond to the input data and the index C. Output data may be generated and output (or written to a buffer memory) using corresponding element information.
예를 들어, FL(410)에서 DCR은 QFS라는 입력 데이터를 처리하기 위하여 4개의 엘리먼트 정보를 필요로 하고, 4개의 엘리먼트 정보는 FU-CSCIT(430)에 의해 C54, C56, C58 및 C65인 것으로 인식되며, CSCI 저장부(532)에서 해당 인덱스(C)에 상응하는 엘리먼트 정보를 독출하여 QFSP를 생성할 수 있다.For example, in
마지막으로, CSCIT(440)는 파싱 기능부(610)가 SET(450) 및 S-RT(460)를 이용한 프로세스의 결과 정보인 엘리먼트 정보(예를 들어, CSCI)에 대한 상세 정보가 기술된 것이다. 즉, CSCIT(440)는 종래 비트스트림(316)으로부터 처리되어 CSCI 저장부(532)에 저장되고, 디코딩 기능부들에 의해 이용될 모든 의미있는 자료(즉, 엘리먼트 정보)들에 대한 정보를 가진다.Finally, the
도 21에 예시된 바와 같이, CSCIT(440)는 해당 엘리먼트 정보의 고유 번호로서 구분자인 인덱스(C), 플래그(flag), 해당 엘리먼트 정보의 이름(Element Name), 해당 엘리먼트 정보의 자료 구조적인 특성을 지정하기 위한 속성(예를 들어, 해당 엘리먼트 정보의 저장 공간 크기, 해당 엘리먼트 정보가 배열형(Array)인지 여부 등), 해당 엘리먼트 정보가 신택스 파싱 과정에서만 이용되는지 또는 전체적인 디코딩 과정에서 이용되는지를 나타내는 Global/Local 등을 포함한다. As illustrated in FIG. 21, the
CSCIT(440)는 textual description이나 binary description(비트 변환된 바이너리 코드 형태) 등의 기술 방식으로 기술될 수 있을 뿐 아니라, 상기 부분 디코더 디스크립션 중 필요한 최소한의 데이터가 유사 스크립트 언어로 기술될 수도 있다.The
이어서, 파싱 기능부(610)(또는 툴박스(515) 내의 syntax 파싱을 수행하는 기능부들)가 종래 비트스트림(316)으로부터 엘리먼트 정보를 추출 또는 생성하여 CSCI 저장부(532)에 저장하기 위하여 이용하는 CSCI 제어 정보를 생성하기 위한 부분 디코더 디스크립션들인 CSCIT(440), SET(450), S-RT(460) 및 DVT(470)에 관하여 설명하기로 한다. 다만, CSCIT(440)는 앞서 도 21을 참조하여 설명하였으므로 이에 대한 설명은 생략한다.Then, the CSCI used by the parsing function 610 (or functions that perform syntax parsing in the toolbox 515) to extract or generate element information from the
먼저, SET(450)는 입력된 종래 비트스트림(316)의 신택스(syntax)들에 대한 정보에 의해 구성된 부분 디코더 디스크립션이다. First, the
도 22 내지 도 25에 예시된 바와 같이, SET(450)는 각 신택스에 대한 인덱스(index), 엘리먼트 명칭(Element Name), 입력 데이터(input data), 출력 데이터(output data) 및 SET-프로세스(process by SET-PROC) 정보를 포함한다. 여기서 인덱스는 S-RT(460)에서 사용되는 각 신택스를 구분하는 구분자(S)이다. 엘리먼트 명칭은 신택스의 이름으로, 신택스의 의미나 역할에 따라 명명될 수 있다. 입력 데이터는 종래 비트스트림(316)에서 한 번에 입력되는 명목적 비트 길이이다. 출력 데이터는 엘리먼트 정보(즉, CSCI 정보(C))로서, 획득한 데이터를 저장할 때 참조하는 CSCIT(440)의 목록을 나타낸다. 여기서, 출력 데이터 필드는 생성된 엘리먼트 정보가 기록될 버퍼 메모리 명칭(또는 해당 데이터의 기록 주소 또는 해당 데이터가 기록된 버퍼 메모리 내의 주소)일 수 있다. 이를 이용하여, 추후 해당 엘리먼트 정보가 입력 데이터로서 필요한 경우 CSCI 정보(C)를 이용하여 해당 엘리먼트 정보를 리드(read)될 수 있다. SET-프로세스는 각 비트스트림 신택스를 입력 받아 어떤 가공 절차를 거쳐 출력 데이터인 엘리먼트 정보를 생성할 것인지의 과정을 기술한다.As illustrated in FIGS. 22 through 25, the
SET(450)는 textual description이나 binary description(비트 변환된 바이너리 코드 형태) 등의 기술 방식으로 기술될 수 있을 뿐 아니라, 상기 부분 디코더 디스크립션 중 필요한 최소한의 데이터가 유사 스크립트 언어로 기술될 수도 있다.The
다음으로, S-RT(460)는 종래 비트스트림(316) 내의 각 신택스간의 연결 정보를 나타낸 것이다. 즉, S-RT(460)는 각 신택스를 호출하고 다음 신택스로 이동하도록 지시하는 정보를 가진다. 파싱 기능부(610)는 S-RT(460)를 이용하여 종래 비트스트림(316)을 읽어 들이거나 엘리먼트 정보가 CSCI 저장부(532)에 저장 및/또는 갱신되는 순서를 규정한다.Next, the S-
하기 도 26 내지 도 29에 예시된 바와 같이, S-RT(460)는 인덱스(R), 신택스의 인덱스(S), 입력 데이터(C), 분기의 수(No. of branches), 분기 정보를 포함한다. As illustrated in FIGS. 26 to 29, the S-
인덱스(R)은 각 연결 정보(Rule)를 구분하도록 한다. 신택스의 인덱스(S)는 특정 연결 인덱스에서 처리할 신택스를 지정하므로, 파싱 기능부(또는 syntax 파싱을 수행하는 기능부들)는 SET(450)을 이용하여 해당 신택스에 대해 지정된 프로세스를 수행한다. The index (R) distinguishes each connection information (Rule). Since the index S of the syntax designates a syntax to be processed in a specific connection index, the parsing function (or functional units performing syntax parsing) performs a process specified for the syntax using the
입력 데이터는 해당 연결 인덱스에서의 연결 제어를 위한 조건 판단에 사용될 엘리먼트 정보의 목록을 나타낸다. The input data represents a list of element information to be used in condition determination for connection control in the corresponding connection index.
분기의 수는 후속하는 신택스에 연결되어질 수 있는 경우의 수로서, 해당 연결 인덱스에서 가지는 분기 경로의 총 수를 나타낸다. 분기 정보는 분기의 수 만큼 필요한 분기 정보가 존재(#1, #2, #3… 등)하며, 다음에 어떤 연결 인덱스를 처리할 것인지를 결정하도록 하는 조건 판단 알고리즘이다. 분기 정보에 의해 어떤 순서에 따라 어떤 내용을 읽어 들일지가 직접적으로 판단될 수 있다. 도 22 내지 도 25에서 보여지는 바와 같이, 분기의 수가 1인 경우에는 입력 데이터가 존재하지 않으며, 분기 정보에 지정된 연결 인덱스를 처리하기 위해 즉시 진행한다. 그러나, 분기의 수가 2 이상인 경우에는 조건 판단이 수행(조건문 이후에는 다음 번 연결 정보(R)로 구성됨)되고 상응하는 연결 인덱스를 처리하기 위해 진행한다. The number of branches indicates the total number of branch paths in the corresponding connection index, which is the number of cases that can be connected to the following syntax. The branch information is a condition judgment algorithm for determining whether there is branch information necessary for the number of branches (# 1, # 2, # 3, ..., etc.) and which link index to process next. It is possible to directly determine what contents to read in accordance with the branch information. As shown in Figs. 22 to 25, when the number of branches is 1, there is no input data, and the process proceeds immediately to process the connection index specified in the branch information. However, if the number of branches is two or more, the condition determination is performed (composed of the next connection information R after the conditional statement) and proceeds to process the corresponding connection index.
파싱 기능부(610)는 해당 연결 인덱스에서 정의한 신택스를 처리하여 CSCI 저장부(532)를 갱신한 후, 갱신된 CSCI 저장부(532)의 엘리먼트 정보를 참조하여 읽어들인 후 분기 조건 판단에 활용한다. 이는 예를 들어, 인덱스 R0의 분기 정보의 분기 조건인 'C0==1'에서의 C0는 신택스 S0를 처리한 후의 엘리먼트 정보 C0이다. The
S-RT(460)는 textual description이나 binary description(비트 변환된 바이 너리 코드 형태) 등의 기술 방식으로 기술될 수 있을 뿐 아니라, 상기 부분 디코더 디스크립션 중 필요한 최소한의 데이터가 유사 스크립트 언어로 기술될 수도 있다.Not only can the S-
마지막으로, DVT(470)는 각 부호화기/복호화기에서 사용하는 허프만 테이블(Huffman table) 정보가 기록된 부분 디코더 디스크립션이다. MPEG-1/2/4/AVC에서는 각 부호화 시 엔트로피 코딩(entropy coding)을 수행한다. 이 때 주로 허프만 코딩(Huffman coding) 방법이 이용되며, 이 경우 이용되는 정보가 허프만 테이블(Huffman table)이다. 통합 코덱을 구현하기 위해서는 각 복호 시 해당 복호화기에서 사용될 허프만 테이블(Huffman table) 정보가 제공되어야 한다. 따라서, 본 발명에 따른 디코딩 디스크립션 내에 신택스 파싱시 각 신택스(syntax)에 해당하는 허프만 테이블(Huffman table) 정보를 포함한다. 물론, 각 표준에 상응하는 허프만 테이블 정보가 이미 디스크립션 저장부(510)에 기록되어 있는 경우 DVT(470)의 전송은 생략되거나 도 11에 예시된 바와 같이 코덱 번호(Codec #, 1120)와 프로파일 및 레벨 번호(Profile and level #, 1130)만이 포함될 수도 있을 것이다.Finally,
도 30 내지 도 31에 예시된 바와 같이, DVT(470)는 각 허프만 테이블에 대한 이름(name), 허프만 코딩에 의해 압축되어 출력되는 실제 값(value) 및 압축된 실제 값이 종래 비트스트림(316)에 저장될 때 사용되는 코드 값(code)을 포함한다. 예를 들어, MCBPC 값을 압축하여 3이란 실제 값(value)을 얻었다면, 허프만 테이블 매핑(Huffman table mapping) 작업(예를 들어, SET(450)의 PROCESS 부분)에 의해 종래 비트스트림(316)에는 코드 값(code) 011이 기록된다. 다른 예로서, 앞서 예시한 SET(450)의 인덱스 S77(도 22 내지 도 25 참조)의 Process 부분에는 VLD[1]이라 기록되어 있어 VLD라는 함수를 호출하게 된다. 이 함수에 의해 미리 지정된 길이(고정길이 또는 가변 길이)만큼 종래 비트스트림(316)을 읽어 코드 값(code)값을 얻은 후 허프만 테이블 매핑(Huffman table mapping) 작업에 의해 상응하는 실제 값(value)을 얻을 수 있다. 이 때 사용되는 Huffman table은 [1], 즉 1번째 테이블인 CBPY이다.As illustrated in FIGS. 30 to 31, the
DVT(470)는 textual description이나 binary description(비트 변환된 바이너리 코드 형태) 등의 기술 방식으로 기술될 수 있을 뿐 아니라, 상기 부분 디코더 디스크립션 중 필요한 최소한의 데이터가 유사 스크립트 언어로 기술될 수도 있다.The
일 예로, DVT(470)는 아래와 같이 textual description될 수 있다.For example, the
DVT{((0,1), (1,001), (2,010), (3,011), (4,0001), (5,000001), (6,000010), (7,000011), (8,000000001), (9,NULL)) ((0,0011), (1,00101), (2,00100), (3,1001), (4,00011),(5,0111), (6,000010), (7,1011), (8,00010), (9,000011), (10,0101), (11,1010), (12,0100), (13,1000), (14,0110), (15,11), (16,000000), (17,000001), (18,NULL)) ((0,011), (1,11), (2,10), (3,010), (4,001), (5,0001), (6,00001), (7,000001), (8,0000001), (9,00000001), (10,000000001), (11,0000000001), (12,00000000001), (13,NULL)) ((0,11), (1,10), (2,01), (3,001), (4,0001), (5,00001), (6,000001), (7,0000001), (8,00000001), (9,000000001), (10,0000000001), (11,00000000001), (12,000000000001), (13,NULL))...DVT {(0,1), (1,001), (2,010), (3,011), (4,0001), (5,000001), (6,000010), (7,000011), (8,000000001) , (9, NULL)) ((0,0011), (1,00101), (2,00100), (3,1001), (4,00011), (5,0111), (7,1011), (8,00010), (9,000011), (10,0101), (11,1010), (12,0100), (13,1000), (14,0110), , 1,11), (2,00), (2,010), (4,001), (5,000) 000001), (6,00001), (7,000001), (8,0000001), (9,00000001), (10,000000001), (11,0000000001), (12,00000000001), (13, NULL) (0,11), (1,10), (2,01), (3,001), (4,0001), (5,00001), (6,000001), (7,0000001), (8 , 00000001), (9,000000001), (10,0000000001), (11,00000000001), (12,000000000001), (13, NULL)) ...
다른 예로서, DVT(470)는 아래와 같이 binary description될 수 있다.As another example, the
0000001111111111111111111111111011111000011000110010001101000011011001000001001100000010011000001000110000011010010000000010000011111001000011001010010100101001000010010010010100011001000111001100000100010010110010100010001100000110010001010010010100010001000010010000010001100001011001100000000011000000100000111110001101100010110001010000110100001100100100000100101000010011000000100111000000101000000000010100100000000101010000000000101011000000000010000011111000101100010100001001000110010010000010010100001001100000010… 0000001111111111111111111111111011111000011000110010001101000011011001000001001100000010011000001000110000011010010000000010000011111001000011001010010100101001000010010010010100011001000111001100000100010010110010100010001100000110010001010010010100010001000010010000010001100001011001100000000011000000100000111110001101100010110001010000110100001100100100000100101000010011000000100111000000101000000000010100100000000101010000000000101011000000000010000011111000101100010100001001000110010010000010010100001001100000010 ...
각 부분 디코더 디스크립션들은 binary description됨으로써 저장 공간을 감소시키고, 처리 효율을 증진시키며, 디코딩 디스크립션을 포함한 확장 비트스트림(305) 전송 시간을 감소시킬 수 있는 장점이 있다. 일 예로, MPEG-4 SP(Simple Profile)를 기준한 각 부분 디코더 디스크립션에 대한 textual description과 binary description의 오버헤드 비트(overhead bit)는 아래 표 1과 같다. Each partial decoder description has the advantage of reducing the storage space, improving processing efficiency, and reducing the transmission time of the
표 1. Overhead of Textual/Binary Description (bytes)Table 1.Overhead of Textual / Binary Description (bytes)
이하, 파싱 기능부(610) 및/또는 연결 제어부(534)에 의해 이용되는 각 부분 디코더 디스크립션간의 연동 과정을 설명한다. Hereinafter, the interworking process between the partial decoder descriptions used by the
본 발명에 따른 복호화기(300)의 디코딩 처리 유닛(320)이 동작을 개시하는 방법은 다양할 수 있다. 이중 몇 가지 예만을 제시하면 다음과 같다. The method of starting the operation of the
도 5에 도시된 디코딩 처리 유닛(320)에서 적용될 수 있는 예로서, 연결 제어부(534)가 디코더 형성부(520)로부터 수신된 CSCI 제어 정보와 연결 제어 정보를 이용하여 툴박스(515) 내의 각 기능부들의 처리 관계(예를 들어, 동작 순서, 연결 관계 등)를 제어하는 방법이다. 이는 앞서 예시한 F-RT(420)에서도 보여지는 바와 같이, 툴박스(515) 내의 기능부들 중 파싱 기능부(610)를 먼저 로드하여 종래 비트스트림을 신택스 파싱한 엘리먼트 정보가 CSCI 저장부(532)에 저장되도록 한 후, 제어 권한이 연결 제어부(534)로 리턴(예를 들어, S-RT(460)의 인덱스 R72와 같이 제어 권한이 연결 제어부(534)로 리턴되도록 함)되면 상응하는 기능부(FU)가 후속하는 동작을 처리하도록 로드함으로써 각 기능부들의 연결 관계를 제어한다. As an example that may be applied in the
다음으로, 도 6에 도시된 디코딩 처리 유닛(320)에서 적용될 수 있는 예로서, syntax 파싱 제어 정보를 수신한 파싱 기능부(610)가 독립적으로 동작을 개시하여 종래 비트스트림에 대한 신택스 파싱을 완료하면, 연결 제어 정보를 수신한 연결 제어부(534)가 디코딩 기능부들의 선택적 로드를 통해 연결 관계를 제어하는 방법이다. 이 경우, 연결 제어부(534)는 파싱 기능부(610)가 필요한 일부의/전체의 엘리먼트 정보를 CSCI 저장부(532)에 저장 완료하였는지 여부를 먼저 인식하여야 한다. 이를 위해, 연결 제어부(534)는 CSCI 저장부(532)로의 필요한 엘리먼트 정보가 저장되었는지 여부를 지속적으로 감시하거나, 엘리먼트 정보를 저장한 파싱 기능부(610)가 이를 연결 제어부(534)로 통지(예를 들어, S-RT(460)의 인덱스 R72와 같이 제어 권한이 연결 제어부(534)로 리턴되도록 함)하여야 할 것이다. 물론, 연결 제어부(534, 또는 연결 제어부(534)의 제어에 의해 로드된 임의의 기능부) 및/또는 파싱 기능부(610)는 CSCI 저장부(532)에 필요한 정보가 저장 완료되었는지 감시할 필요없이 동작 개시한 상태에서 해당 저장부에 필요한 정보가 저장될 때까지 대기할 수도 있음은 자명하다. Next, as an example applicable to the
도 5 또는/및 도 6에 도시된 디코딩 처리 유닛(320)에서 적용될 수 있는 예로서, 디코더 형성부(520)가 CSCI 제어 정보, 연결 제어 정보 등을 연결 제어부(534) 및/또는 파싱 기능부(610)로 전달함으로써 동작 개시되도록 구현하는 방법이다. As an example that may be applied in the
이하, 상술한 첫 번째 실시예를 중심으로 파싱 기능부(610) 및/또는 연결 제어부(534)에 의해 이용되는 각 부분 디코더 디스크립션간의 연동 과정을 설명한다. Hereinafter, the interworking process between the partial decoder descriptions used by the
먼저, 연결 제어부(534)는 디스크립션 저장부(510)에서 F-RT(420)의 첫 번째 규칙 정보(Rule)을 읽어 해당 기능부를 호출한다. 연결 제어부(534)는 F-RT(420)에 보여지는 바와 같이 가장 먼저 F0(R0)을 읽고, 툴박스(515) 내의 파싱 기능부를 로드하여 처리가 개시되도록 한다. 이는, 파싱 기능부(610)에 상응하는 프로그램 코드들의 처리 블록이 활성화되도록 하는 것일 수 있다. FL(410)에 의하면 F0가 파싱 기능부임을 알 수 있으며, 선택한 기능부(FU)가 파싱 기능부인 경우 몇 번째 신택스를 읽어 처리하여야 하는지에 관한 정보가 함께 기재된다(예를 들어, F0(R0), F0(R114) 등).First, the
파싱 기능부는 S-RT(460)의 규칙 정보(Rule)들 중 연결 제어부(534)에 의해 지정된(즉, F-RT(420)에 의해 지정된) 규칙 정보(이는 정보 가공부(524)에 의해 가공된 정보일 수 있음)를 읽어 해당 Syntax를 읽는다. 위에서, F-RT(420)에 의해 지적된 규칙 정보가 F0(R0)였으므로, 파싱 기능부는 인덱스 R0부터 처리를 개시한다. 파싱 기능부는 S-RT(460)에 의해 인덱스 R0에서 처리할 신택스가 S0이고, S0는 SET(450)에 의해 Visual Object Sequence Start Code임을 인식하고, 종래 비트스트림(316)에서 상응하는 비트(즉, SET(450)에 입력값으로 설정된 32비트)를 읽어 상응하는 출력값(즉, 엘리먼트 정보로서, C0)을 생성하여 CSCI 저장부(532)에 저장한다. CSCI 저장부(532)에 저장된 당해 엘리먼트 정보가 무엇인지는 CSCIT(440)에 기재되어 있다. 이어서, 파싱 기능부는 CSCI 저장부(532)에 저장된 엘리먼트 정보(즉, C0)를 S-RT(460)의 상응하는 분기 정보에 대입하고, 그 결과에 상응하는 인덱스의 처리를 위해 진행한다. 예를 들어, 인덱스 R0에 상응하는 분기 정보는 'C0==1'이므로 이를 만족하면 인덱스 R1으로 진행할 것이고, 그렇지 않으면 Error 처리한다. 이러한 과정은 'GO RT'를 만나 제어 권한이 F-RT(420)(즉, 연결 제어부(534))로 이전될 때까지 지속된다(예를 들어, S-RT(460)의 인덱스 R72). The parsing function is the rule information designated by the connection control unit 534 (that is, designated by the F-RT 420) among the rule information (Rules) of the S-RT 460 (which is determined by the information processing unit 524). Read the corresponding syntax). Since the rule information pointed out by the F-
그러나, 파싱 기능부가 SET(450)를 이용하여 엘리먼트 정보를 생성하여 CSCI 저장부(532)에 저장하는 과정에서, VLD 함수가 호출되면(예를 들어, SET(450)의 인덱스 S74) DVT(470)를 이용하여 엔트로피 디코딩을 수행한다. 이 과정에서 엘리먼트 정보가 생성되면 CSCI 저장부(532)에 저장한다. However, when the parsing function generates the element information using the
파싱 기능부의 처리 과정에서 'GO RT'를 만나 제어 권한이 F-RT(420)(즉, 연결 제어부(534))로 이전(예를 들어, S-RT(460)의 인덱스 R72)되면, 연결 제어 부(534)는 F-RT(420)의 인덱스 R0의 입력값인 C63(즉, 신택스 파싱 과정에서의 SET(450)의 인덱스 S57에 따른 엘리먼트 정보)를 CSCI 저장부(532)에서 독출하고, 분기 정보(즉, ((C63==1)||(C63==2)) 또는 ((C63==3)||(C63==4)))에 대입하므로써 이후에 처리할 인덱스를 지정한다. 즉, 분기 정보의 만족 여부에 따라 인덱스 R1으로 진행할지, 종료(END)할지 또는 Error 처리할지 여부가 결정된다.If the control authority is transferred to the F-RT 420 (that is, the connection control unit 534) (eg, the index R72 of the S-RT 460) during the processing of the parsing function, it meets the 'GO RT'. The
인덱스 R1으로 진행하는 경우, 미리 지정된 처리(예를 들어, 변수 선언, 메모리 설정, 변수 값 초기화 등)를 수행한 후 후속하여 처리될 인덱스가 결정된다.When proceeding to the index R1, after performing a predetermined process (eg, variable declaration, memory setting, variable value initialization, etc.), an index to be subsequently processed is determined.
상술한 바와 같이, 파싱 기능부의 처리에 의해 전체/일부의 엘리먼트 정보가 CSCI 저장부(532)에 저장되면, 연결 제어부(534)는 인덱스 R6에서 기능부 F1을 호출한다. F1은 FL(410)에 의해 DCR(DC Reconstruction)임이 인식된다. As described above, when all / part of element information is stored in the
DCR은 FU-CSCIT(430)를 참조하여 입력값이 4개(즉, C54, C56, C58, C65)임을 인식하고, CSCI 저장부(532)에서 해당 엘리먼트 정보들을 독출한다. 해당 엘리먼트 정보들이 무엇인지는 CSCIT(440)와의 매핑(mapping)을 통해 인식할 수 있다. DCR은 독출한 엘리먼트 정보들을 이용하여 해당 기능부에 대해 미리 지정된 매크로블록 크기의 동영상 데이터 처리를 완료하고, 처리된 동영상 데이터를 버퍼 메모리 또는 CSCI 저장부(532)에 저장한다.The DCR recognizes that there are four input values (ie, C54, C56, C58, and C65) with reference to the FU-
이러한 과정은 F-RT(420)에 예시된 바와 같이 인덱스 R6부터 R11까지 연속된다. 이에 의해, DCR, IS, IAP, IQ, IT, VR 등이 순차적으로 연결되도록 제어된다. 연결 제어부(534)는 임의의 기능부가 처리를 완료하였는지 여부를 인식할 수 있으며, 선행하는 기능부의 처리가 완료되면 후속하는 기능부의 처리를 지시한다. 또 한, 선행하는 기능부는 후행하는 기능부의 동영상 데이터 처리를 위해 처리한 데이터를 미리 설정된 버퍼 메모리 또는 CSCI 저장부(532)에 저장한다. 연결 제어부(534)는 임의의 기능부가 처리를 완료하였는지 여부를 인식하는 방법은 당업자에게 자명하므로 이에 대한 설명은 생략한다.This process continues from index R6 to R11 as illustrated in F-
연결 제어부(534)가 상술한 과정, 즉 F-RT(420)에 기술된 인덱스 순서 및/또는 분기 조건에 따른 인덱스 순서에 의한 처리가 수행되도록 제어함으로써 디코딩 처리 유닛(320)은 입력된 종래 비트스트림(316)에 상응하는 동영상 데이터를 출력할 수 있다.By controlling the
상술한 설명을 통해 이해되는 바와 같이, 본 발명에 따른 부분 디코더 디스크립션간의 연동 루프(loop)는 크게 둘로 구분할 수 있다. 즉, F-RT 루프는 F-RT(420), FL(410), FU-CSCIT(430), F-RT(420), CSCIT(분기 조건 적용 등), F-RT (다음 번 rule)로 구성되고, S-RT 루프는 S-RT(460), SET(450), CSCIT(440), S-RT(460), CSCIT(분기 조건 적용 등), S-RT(다음 번 rule)로 구성된다.As will be understood from the above description, the interworking loop between the partial decoder descriptions according to the present invention can be largely divided into two. That is, the F-RT loop is divided into F-RT (420), FL (410), FU-CSCIT (430), F-RT (420), CSCIT (branch condition application, etc.), F-RT (next rule). S-RT loop consists of S-RT (460), SET (450), CSCIT (440), S-RT (460), CSCIT (branch condition application, etc.), S-RT (next rule) do.
또한, F-RT 루프는 다음과 같이 둘로 구분할 수 있다. 먼저, 디코딩 기능부의 실행을 지시하는 경우에는 F-RT(420), FL(410), FU-CSCIT(440), F-RT(420), CSCIT(분기 조건 적용 등), F-RT(다음 번 rule)로 구성된다. 다음으로, 파싱 기능부의 실행을 지시하는 경우에는 F-RT(420), FL(410), (S-RT 루프), F-RT(420), CSCIT(분기 조건 적용 등), F-RT(다음 번 rule)로 구성된다.In addition, the F-RT loop can be divided into two as follows. First, when instructing execution of the decoding function unit, the F-
또한, S-RT 루프는 다음과 같이 둘로 구분할 수 있다. 다음 번 규칙 정보(rule)로 분기하는 경우에는 S-RT(460), SET(450), CSCIT(440), S-RT(460), CSCIT(분기 조건 적용), S-RT(다음 번 rule)로 구성되고, F-RT(420)로 리턴(return)하는 경우에는 S-RT(460), SET(450), CSCIT(440), S-RT(460), CSCIT(분기 조건 적용 등), F-RT(호출한 F-RT(420)의 인덱스)로 구성된다.In addition, the S-RT loop can be divided into two as follows. When branching to the next rule information, S-RT (460), SET (450), CSCIT (440), S-RT (460), CSCIT (branch condition apply), S-RT (next rule) ), And when returning to the F-
F-RT(420)에 따른 연결 제어부(534)의 연결 제어에 의해 툴 박스(510) 내에 구비된 각 기능부들의 연결 관계는 상이해질 수 있다.By the connection control of the
이하, 각 부분 디코더 디스크립션들을 구성하는 명령어들에 대해 상세히 설명하기로 한다.Hereinafter, the instructions constituting the partial decoder descriptions will be described in detail.
도 32에는 syntax 파싱을 위하여 각 부분 디코더 디스크립션들에서 이용되는 명령어들이 예시되어 있다. 예시된 각각의 명령어들을 이용하여 MPEG-2/MPEG-4/MPEG-4 AVC와 같은 표준의 syntax를 파싱하기 위한 정보(즉, 부분 디코더 디스크립션)를 구성 할 수 있다. 이하에서는 MPEG-2 MP(Main Profile) Intra coding된 syntax를 파싱하기 위한 부분 디코더 디스크립션들의 예와 각 부분 디코더 디스크립션간의 연동 관계를 중심으로 설명하기로 한다.32 illustrates the instructions used in each partial decoder description for syntax parsing. Each of the illustrated instructions can be used to construct information (ie partial decoder description) for parsing standard syntax such as MPEG-2 / MPEG-4 / MPEG-4 AVC. Hereinafter, an example of partial decoder descriptions for parsing MPEG-2 MP (Main Profile) Intra-coded syntax and an interworking relationship between each partial decoder description will be described.
도 32에 예시된 바와 같이, 각 부분 디코더 디스크립션들을 구성하기 위한 명령어들로는 READ, SEEK, FLUSH, IF, WHILE, UNTIL, DO~WHILE, DO~UNTIL, BREAK, SET, STOP, PUSH 등이 있다. 물론, 모든 명령어가 각 부분 디코더 디스크립션 내에 모두 이용되어야 하는 것은 아니며, 각 부분 디코더 디스크립션별로 임의의 명령어가 선택적으로 이용될 수 있음은 자명하다. 이하, 각 명령어의 용도를 간략히 설명하도록 한다.As illustrated in FIG. 32, instructions for configuring each partial decoder description include READ, SEEK, FLUSH, IF, WHILE, UNTIL, DO ~ WHILE, DO ~ UNTIL, BREAK, SET, STOP, PUSH, and the like. Of course, not all instructions need to be used within each partial decoder description, and it is obvious that any instruction can be selectively used for each partial decoder description. Hereinafter, the purpose of each command will be briefly described.
먼저, READ는 비트스트림에서 일정 비트를 읽어들이기 위한 명령어이다. 예 를 들어, "READ bits B > CSCI;"와 같이 표현될 수 있다. 여기서, "bits"는 읽어들일 비트 수를 나타내고, "B"는 Byte-alignment 플래그이고, "> CSCI"는 저장할 CSCI 인덱스를 나타낸다. "B"와 "> CSCI"는 옵션(option)으로 이용되며, "> CSCI"가 지정되지 않으면 변수 IBS에만 저장하도록 설정된다.First, READ is a command for reading a certain bit from the bitstream. For example, it may be expressed as "READ bits B> CSCI;". Here, "bits" represents the number of bits to be read, "B" represents a Byte-alignment flag, and "> CSCI" represents a CSCI index to be stored. "B" and "> CSCI" are used as options. If "> CSCI" is not specified, it is set to store only in the variable IBS.
다음으로, SEEK는 비트스트림에서 일정 비트를 읽어들이되, 파일 포인터를 이동하지 않도록 하는 명령어이다. 파일 포인터란 일정 비트를 읽어들이는 등의 동작시 기준 위치를 의미한다. SEEK 명령어의 파라미터는 앞서 설명한 READ와 동일하게 적용할 수 있다. Next, SEEK reads a bit from the bitstream but does not move the file pointer. The file pointer means a reference position during an operation such as reading a predetermined bit. The parameters of the SEEK command can be applied in the same way as the READ described above.
다음으로, FLUSH는 비트스트림에서 일정 비트 수 만큼 파일 포인트를 이동하는 명령어이다. 파라미터는 READ와 유사하게 적용할 수 있다.Next, FLUSH is a command for moving a file point by a certain number of bits in the bitstream. Parameters can be applied similarly to READ.
다음으로, IF는 "IF (condition) { ~ } ELSE { ~ }"의 형태로 이용될 수 있으며, 주어진 조건에 따른 분기를 제공하는 명령어이다.Next, IF may be used in the form of "IF (condition) {~} ELSE {~}", and is an instruction that provides a branch according to a given condition.
다음으로, WHILE은 "WHILE (condition) { ~ }"의 형태로 이용될 수 있으며, 주어진 조건이 참(True)인 동안 지정된 블록을 반복하여 수행하도록 하는 명령어이다.Next, WHILE can be used in the form of "WHILE (condition) {~}", and is a command to repeatedly execute a designated block while a given condition is true.
다음으로, UNTIL은 "UNTIL (condition) { ~ }"의 형태로 이용될 수 있으며, 주어진 조건이 참이 될 때까지 지정된 블록을 반복하여 수행하도록 하는 명령어이다.Next, UNTIL can be used in the form of "UNTIL (condition) {~}", which is a command to repeatedly execute a designated block until a given condition becomes true.
다음으로, DO~WHILE은 "DO { ~ } WHILE (condition)"의 형태로 이용될 수 있으며, WHILE문을 변형하여 조건 판단에 앞서 블록을 실행하도록 하는 명령어이다.Next, DO ~ WHILE can be used in the form of "DO {~} WHILE (condition)", and it is a command to transform a WHILE statement to execute a block before determining a condition.
다음으로, DO~UNTIL은 "DO { ~ } UNTIL (condition)"의 형태로 이용될 수 있으며, UNTIL문을 변형하여 조건 판단에 앞서 블록을 실행하도록 하는 명령어이다.Next, DO ~ UNTIL can be used in the form of "DO {~} UNTIL (condition)", which is a command to transform a UNTIL statement to execute a block before determining a condition.
다음으로, ( ~ ) (compute)라는 명령어는 예를 들어 "(C11=(V2+3));"의 형태로 이용된다. 즉, SET-PROC의 모든 계산식이 괄호 안에 기록되도록 할 수 있으며, 사칙연산, 대입, 비교, 가산/감산 (++/--), 비트 연산, 논리합/논리곱, CSCI 사용여부 체크 등의 연산자가 이용될 수 있다.Next, the command (~) (compute) is used in the form of "(C11 = (V2 + 3));". In other words, all calculations of SET-PROC can be written in parentheses. Operators such as arithmetic, assignment, comparison, addition / subtraction (++ /-), bitwise operation, logical sum / logical product, and check whether CSCI is used or not Can be used.
다음으로, BREAK는 가장 가까운 루프 구조로부터 이탈하도록 하는 명령어이다.Next, BREAK tells you to break away from the nearest loop structure.
다음으로, SET은 지정된 CSCI들에 대한 사용 여부 플래그를 설정하는 명령어로서, 플래그를 지정할 CSCI들이 나열되며 콤마(,)에 의해 구분(예를 들어, SET C0, C2;)될 수 있다.Next, SET is a command for setting whether to use flags for designated CSCIs, and CSCIs for designating flags are listed and separated by commas (eg, SET C0, C2;).
다음으로, STOP은 현재 수행중인 신택스 엘리먼트(Syntax Element)의 처리를 중단하고 다음으로 넘어가도록 하는 명령어이다.Next, STOP is a command for stopping the processing of the currently executing syntax element and moving on to the next.
다음으로, PUSH는 배열형 CSCI에서, 데이터가 기록된 맨 마지막 지점에서부터 주어진 데이터를 추가하도록 하는 명령어로서, 추가된 값들이 나열되며(예를 들어, PUSH C8 8, 16, 32;) 콤마에 의해 구분된다.Next, PUSH is an instruction to add a given data from the last point in which data was recorded in the array CSCI, and the added values are listed (for example,
다음으로, GO는 지정한 위치로 분기하도록 하는 명령어이다. 예를 들어, GO R#;;인 경우 R#으로 분기하라는 명령이며, GO RT는 호출한 곳으로 복귀(return)하라는 명령이다.Next, GO tells you to branch to the specified location. For example, GO R # ;; is a command to branch to R #, and GO RT is a command to return to where it was called.
다음으로, HEX는 HEX 명령어 뒤에 나오는 값이 16진수임을 나타내는 명령어 이다.Next, HEX is a command that indicates that the value following the HEX command is hexadecimal.
다음으로, RLD는 MPEG-4에서 지원되는 RLD 함수를 위한 인터페이스로서, "RLD index, level, run, islastrun, t#;"의 형태로 이용될 수 있다. 여기서, index, level, run 및 islastrun는 RLD 반환값을 저장하는 CSCI 혹은 내부 변수를 나타내고, t#는 RLD에 사용되는 Huffman Table ID를 나타낸다.Next, RLD is an interface for an RLD function supported in MPEG-4, and may be used in the form of "RLD index, level, run, islastrun, t #;". Here, index, level, run, and islastrun represent CSCI or internal variables storing the RLD return value, and t # represents the Huffman Table ID used for the RLD.
다음으로, VLD2는 MPEG-2용 VLD 함수로서, "VLD2 [t#] in > v1, v2, v3;"의 형태로 이용될 수 있다. 여기서, t#는 VLD에 사용되는 Huffman Table ID이고, in은 입력되는 index값을 나타내며, v1~v3은 출력 결과값을 나타낸다.Next, VLD2 is a VLD function for MPEG-2, and may be used in the form of "VLD2 [t #] in> v1, v2, v3;". Here, t # is a Huffman Table ID used for the VLD, in represents an index value to be input, and v1 to v3 represent an output result value.
마지막으로, VLD4는 MPEG-4용 VLD 함수로서, "VLD4 [T#] > CSCI;"의 형태로 이용될 수 있다. 여기서, t#는 VLD에 사용되는 Huffman Table ID를 나타내고, "> CSCI"는 저장할 CSCI 인덱스를 나타낸다. "> CSCI"는 옵션(option)으로, 지정하지 않으면 변수 IBS에만 저장되도록 한다.Finally, VLD4 is a VLD function for MPEG-4, and may be used in the form of "VLD4 [T #]> CSCI;". Here, t # represents a Huffman Table ID used for the VLD, and "> CSCI " represents a CSCI index to be stored. "> CSCI" is an option. If not specified, it is stored only in the variable IBS.
상술한 명령어들에 의해 구성된 각 부분 디코더 디스크립션들(즉, MPEG-2 MP Intra 코딩용 신택스 처리를 위한 각 부분 디코더 디스크립션)의 상세 예시도가 도 33 내지 도 57에 예시되어 있다. 구체적으로, SET(450)는 도 33 내지 도 39에, S-RT(460)는 도 40 내지 도 44에, CSCIT(440)는 도 45 내지 도 48에, FL(410)는 도 49에, F-RT(420)는 도 50에, FU-CSCIT(430)는 도 51에, DVT(470)는 도 52 내지 도 57에 각각 예시되어 있다.Detailed illustrations of respective partial decoder descriptions configured by the above-described instructions (that is, each partial decoder description for syntax processing for MPEG-2 MP Intra coding) are illustrated in FIGS. 33 to 57. Specifically,
앞서 각 부분 디코더 디스크립션들간의 연동 관계에 대해 상세히 설명하였으므로, 여기서는 이를 일반화하여 간단히 설명하기로 한다.Since the interworking relationship between the partial decoder descriptions has been described in detail above, the description will be briefly made by generalizing them.
신택스 파싱을 위한 부분 디코더 디스크립션들간의 연동은 먼저 F-RT(420)(도 50 참조)의 인덱스 순으로 진행된다. 즉, F-RT(420)의 인덱스 R0로부터 개시된다.The interworking between the partial decoder descriptions for syntax parsing first proceeds in index order of the F-RT 420 (see FIG. 50). In other words, it starts from the index R0 of the F-
F-RT(420)에서 현재 처리될 인덱스 번호(R#)에 상응하는 FU의 인덱스 번호(F#)을 인식한다. 예를 들어, 현재 처리될 인덱스 번호가 R0라면 F0(즉, FL(410)의 파싱 기능부)가 인식될 것이고, 현재 처리될 인덱스 번호가 R9라면 F1(즉, FL(410)의 DCR)이 인식될 것이다.The F-
먼저, 인식된 인덱스 번호에 의해 해당 FU가 Syntax Parser(즉, FL(410)의 인덱스 번호 F0)인 경우를 설명한다.First, the case where the corresponding FU is a Syntax Parser (that is, index number F0 of FL 410) by the recognized index number will be described.
F-RT(420)의 "FU" 필드에 기록된 "F#(R#)" 정보를 이용하여 R#을 인식하고, S-RT(460)에서 인덱스 번호 R#에 상응하는 인덱스 S#을 인식한다. 예를 들어, F-RT(420)의 인덱스 R0의 "FU" 필드에는 "F0(R0)"가 기록되어 있고, R0는 S-RT(460)의 Syntax 필드의 S0에 대응된다. Recognize R # using "F # (R #)" information recorded in the "FU" field of the F-
이어서, 인식된 S#에 상응하는 "Process by SET-PROC"를 SET(450)에서 인식한다. 예를 들어, S-RT(460)의 Syntax 필드의 S0에 대응되는 SET의 "Process by SET-PROC"는 "READ 32 B; IF (IBS== HEX:000001B3) C72=1; IF (IBS== HEX:000001B8) C72=2; IF (IBS== HEX:00000100) C72=3; IF (IBS== HEX:000001B7) C72=4;"이다. Subsequently, the
SET(450)의 "Process by SET-PROC"의 연산 결과는 해당 인덱스(S#)의 "Output" 필드의 C#에 상응하도록 저장된다. 예를 들어, S-RT(460)의 Syntax 필드 의 S0에 대응되는 SET의 "Process by SET-PROC"는 C72로서 저장된다.The operation result of "Process by SET-PROC" of
연산 결과의 저장이 완료되면, 다시 S-RT(460)를 참조하여 저장된 CSCI 정보가 어떤 분기 조건을 만족하는지 판단된다. 만일, S-RT(460)의 인덱스 R0인 경우, CSCI 정보 C72가 분기조건 "1: (C72==1) GO R1; 2: (C72==2) GO R39; 3: (C72==3) GO R47; 4: (C72==4) GO RT;" 중 어느 것을 만족하는지 판단된다. 상술한 4가지 조건 중 1 내지 3중 어느 하나를 만족하는 경우 S-RT(460) 내에서 상응하는 인덱스 R#로 진행하여 상술한 과정을 반복하지만, 4번째 조건(즉, (C72==4) GO RT)을 만족하는 경우에는 F-RT(420)로 복귀(return)한다.When the storage of the calculation result is completed, the S-
다음으로, 인식된 인덱스 번호에 의해 해당 FU가 파싱 기능부(즉, FL(410)의 인덱스 번호 F0)가 아닌 경우를 설명한다.Next, the case where the corresponding FU is not the parsing function unit (that is, the index number F0 of the FL 410) by the recognized index number will be described.
F-RT(420)의 "FU" 필드에 기록된 "F#" 정보 및 FL(410)을 이용하여 해당 F#에 상응하는 입력 CSCI(Input CSCI)의 수를 인식한다. 예를 들어, F-RT(420)의 인덱스 R9의 "FU" 필드에는 "F1"이 기록되어 있고, FL(410)에는 F1이 DCR이고 4개의 입력 CSCI를 요구함이 기록되어 있다.By using the " F # " information recorded in the " FU " field of the F-
FL(410)을 참조하여 요구되는 입력 CSCI의 수가 0이 아니라면, FU-CSCIT(440)를 참조하여 "F#(C#)" 필드들에 상응하는 CSCI 값(C#)을 인식하고 CSCI 저장부(532)에서 상응하는 값을 독출한다. If the number of input CSCI required by referring to
이어서, 해당 FU는 입력된 데이터(예를 들어, MB 데이터) 및 입력 CSCI값들을 이용하여 출력 데이터를 생성한 후, F-RT(420)로 복귀한다.Subsequently, the FU generates output data using the input data (eg, MB data) and input CSCI values, and then returns to the F-
앞서 설명한 바와 같이, 해당 FU가 Syntax Parser(즉, FL(410)의 인덱스 번 호 F0)인 경우에는 "GO RT"를 만족하는 경우에, 해당 FU가 Syntax Parser가 아닌 경우에는 미리 지정된 동작을 완료한 후 F-RT(420)로 복귀한다.As described above, when the corresponding FU satisfies "GO RT" when it is a Syntax Parser (i.e., index number F0 of FL 410), when the corresponding FU is not Syntax Parser, a predetermined operation is completed. After that, the process returns to the F-
F-RT(420)는 현재 단계의 C# 값에 따라 분기 조건을 판단하여 상응하는 단계로 진행한다. 만일 만족되는 조건이 END인 경우(예를 들어, (C72==4) GO END;)에는 Syntax 파싱을 종료하고, 만족되는 조건이 R#을 지시하는 경우(예를 들어, GO R1)에는 해당 인덱스로 진행한다.The F-
도 9는 본 발명의 제1 실시예에 따른 확장 비트스트림의 구성을 나타낸 도면이고, 도 10은 본 발명의 제2 실시예에 따른 확장 비트스트림의 구성을 나타낸 도면이며, 도 11은 본 발명의 제3 실시예에 따른 확장 비트스트림의 구성을 나타낸 도면이고, 도 12는 본 발명의 제4 실시예에 따른 확장 비트스트림의 구성을 나타낸 도면이다.9 is a diagram illustrating a configuration of an extended bitstream according to the first embodiment of the present invention, FIG. 10 is a diagram illustrating a configuration of an extended bitstream according to the second embodiment of the present invention, and FIG. FIG. 12 is a diagram illustrating a configuration of an extended bitstream according to a third embodiment, and FIG. 12 is a diagram illustrating a configuration of an extended bitstream according to a fourth embodiment of the present invention.
도 9 내지 도 11에 예시된 바와 같이, 본 발명에 따른 확장 비트스트림(305)에 포함되는 디코딩 디스크립션은 부분 디코더 디스크립션 정보를 포함하지 않고 적용된 표준 정보만을 포함하도록 구성되거나(No table), 부분 디코더 디스크립션 정보를 모두 포함하도록 구성되거나(Full tables), 일부의 부분 디코더 디스크립션 정보만이 포함되도록 구성될 수 있다(Partial tables). 이들 각각을 구분하기 위하여, 디코딩 디스크립션 정보는 SI(Stream Identifier) 정보를 포함할 수 있고, SI 정보는 아래의 표 2와 같이 구분될 수 있다.As illustrated in FIGS. 9 to 11, the decoding description included in the
표 2. Stream IdentifierTable 2. Stream Identifier
도 9에 도시된 바와 같이, 확장 비트스트림(305)은 디코더 디스크립션(인코딩된 디코더 디스크립션(313)으로 디스크립션 디코더(505)에 의해 부분 디코더 디스크립션으로 디코딩 처리됨 - 이하 동일함)으로서, 부분 디코더 디스크립션 정보를 포함하지 않음을 표시하는 SI(910, 즉 00), 코덱 번호(Codec #, 920)과 프로파일 및 레벨 번호(Profile and level #, 930)을 포함할 수 있다. As shown in FIG. 9, the
이는 부분 디코더 디스크립션 정보를 보내지 않고 디스크립션 저장부(510)에 이미 저장된 부분 디코더 디스크립션 정보들을 사용하는 경우이다. 해당 종래 비트스트림(316)이 어떤 코덱과 프로파일 및 레벨을 사용하는지에 대한 기본 정보만 보낼지라도, 디코딩 처리 유닛(320)은 지시된 부분 디코더 디스크립션들을 이용하여 복호화할 수 있다.This is a case where partial decoder description information already stored in the
이를 위해, SET(450), CSCIT(440), FL(410), FU-CSCIT(430), DVT(470) 등이 적용 표준(즉, 코덱)별로 기술되고, F-RT(420), S-RT(460) 등은 각 적용 표준의 프로파일(profile) 별로 기술 될 수 있다(표 3 및 4 참조). For this purpose,
표 3. 코덱별 부분 디코더 디스크립션 구분Table 3. Classification of partial decoder descriptions by codec
표 4. Profile and level별 부분 디코더 디스크립션 구분Table 4. Classification of partial decoder descriptions by profile and level
MPEG-4 SP의 경우 SET#3, FL#3, CSCIT#3, FU-CSCIT#3, DVT#3, F-RT#3-1, S-RT#3-1을 사용하여 복호화 방법을 설명 할 수 있으며, 코덱 번호를 3으로 프로파일 및 레벨 번호를 2로 지정하여 전송하면 디코딩 처리 유닛(320)은 이에 해당하는 부분 디코더 디스크립션들을 참조(즉, 정보 가공부(524)에 의해 상응하도록 가공된 정보를 이용)하여 복호화 작업을 수행할 수 있다.For MPEG-4 SP, the decoding method is explained using
또한, 도 10에 도시된 바와 같이, 확장 비트스트림(305)은 디코더 디스크립션으로서, 앞서 설명한 모든 부분 디코더 디스크립션 정보들을 포함할 수 있다. 이 경우, SI(910)는 표 2를 참조할 때 01로 설정될 것이다. 각 부분 디코더 디스크립션들은 테이블 식별자(TI, Table Identifier)(1010), 테이블 시작 코드(TS Code, Table Start Code)(1020), 테이블 디스크립션(TD, Table Description)(1030), 테이블 종료 코드(TE Code, Table End Code)(1040)를 포함할 수 있다. 테이블 식별자(1010)와 테이블 시작 코드(1020)의 순서는 변경될 수 있으며, 테이블 디스크립션(1030)은 바이너리 디스크립션 형태로 기술될 수 있다. 물론, 각 부분 디코더 디스크립션들의 순서는 변경될 수 있다. In addition, as illustrated in FIG. 10, the
또한, 도 10에 도시된 바와 같이, 확장 비트스트림(305)은 디코더 디스크립션으로서, 앞서 설명한 일부의 부분 디코더 디스크립션 정보들과 일부의 부분 디코더 디스크립션 정보에 상응하는 코덱 번호 등을 포함할 수 있다. 이 경우, SI(910) 는 표 2를 참조할 때 10으로 설정될 것이다. 다만, 이 경우는 부분 디코더 디스크립션 정보들의 형식이 통일되지 않았으므로, 해당 부분 디코더 디스크립션 정보가 어떤 형식으로 구성된 것인지를 판단할 수 있도록 구성 식별자(1110)을 테이블 식별자(1010) 후단에 더 구비함이 바람직할 것이다. In addition, as illustrated in FIG. 10, the
또한, 도 12에 도시된 바와 같이, 확장 비트스트림은 부분 디코더 디스크립션 정보에 대한 디코딩 디스크립션(T-DD, 1210)과 갱신 정보를 더 포함할 수 있다. 부분 디코더 디스크립션 정보에 대한 디코딩 디스크립션(1210)은 앞서 도 9 내지 도 11을 참조하여 설명한 디코더 디스크립션들 중 어느 하나일 수 있으며, SI(910)는 상응하는 값으로 설정될 것이다. 갱신 정보는 갱신 시작 코드(RS code, Revision Start code)(1220)과 갱신 내용(Revision, 1230)을 포함할 수 있다.In addition, as shown in FIG. 12, the extended bitstream may further include decoding description (T-DD) 1210 and update information for partial decoder description information. The
갱신 내용(1230)은 임의의 부분 디코더 디스크립션의 규칙 정보(Rule)을 추가하거나 삭제하거나 갱신하는 등의 내용일 수 있다. 그 형태는 'insert index into table-name (…);', 'delete index from table-name;', 'update index in table-name(…);' 등일 수 있다. The
예를 들어, SET#4에 S100을 추가하고자 하는 경우, 갱신 내용(1230)은 'insert S100 into SET#4 ("READ 1;IF(IBS==1){SET C31;}");'과 같이 구성될 수 있다. 또한, S-RT#3-1에서 R31을 지우고자 하는 경우, 갱신 내용(1230)은 'delete R31 from S-RT#3-1;'과 같이 구성될 수 있다. 또한, F-RT#2-1에서 R7을 수정하고자 하는 경우, 갱신 내용(1230)은 'update R7 in F-RT#2-1 (F6, 1: (C66<=6) GO R5;2: (C65<=C67) GO R4; 3: GO R12;);'과 같이 구성될 수 있다. For example, if you want to add S100 to SET # 4, the
위와 같은 갱신 내용(1230)을 디스크립션 디코더(405)가 읽어 들여 해당 확장 비트스트림(305)에 대한 디코딩이 수행되는 동안은 디스크립션 저장부(510)에 변경된 내용의 부분 디코더 디스크립션들이 저장되도록 한다. 그러나, 복호화가 완료되면 디스크립션 저장부(510)에 저장된 해당 부분 디코더 디스크립션들을 원상태대로 복원하여야 할 것이다. 복호화의 완료 여부는 디코더 형성부(520) 또는 디코딩 솔루션(530)이 완료 통지를 디스크립션 디코더(405)로 제공하거나, 디스크립션 디코더(405)가 디코딩 처리 유닛(320)의 완료 여부를 감시함으로써 인식할 수 있을 것이다.The description decoder 405 reads the
상술한 바와 같이, 본 발명에 따르면 종래의 표준(즉, 코덱)에서 제공하는 기능부들을 사용하여 기존의 프로파일(profile)을 사용할 수도 있고, 기존의 기능부들을 이용하여 새로운 복호화기를 구성할 수도 있으며, 새로운 기능부를 이용하여 새로운 복호화기를 구현 할 수 도 있다. 즉, 다양한 또한 제한없는 복호화기 구현이 가능하다.As described above, according to the present invention, an existing profile may be used by using functional units provided by a conventional standard (ie, a codec), or a new decoder may be configured by using existing functional units. In addition, new decoders can be used to implement new decoders. That is, various and unlimited decoder implementations are possible.
다만, 새로운 기능부(Functional Unit)를 툴 박스(510)에 추가하는 경우, 해당 기능부에 대한 알고리즘(즉, 기능부에 대한 디스크립션)을 추가하고 해당 정보를 FL(410)에 추가하여야 할 것이다. 이 경우 상기 알고리즘에 대한 컴파일(compile) 과정이 추가적으로 필요할 수도 있다.However, when adding a new functional unit (Functional Unit) to the
통합 코덱을 구현하기 위해서는 다양한 부호화 방식에 의해 압축된 비트스트림을 파싱하여 해당 부호화 방식에 대응되는 복호화 방식으로 비트스트림을 디코딩하도록 각 구성 요소를 유기적으로 제어 할 수 있어야 한다. In order to implement the integrated codec, each component must be organically controlled to parse a bitstream compressed by various coding methods and decode the bitstream by a decoding method corresponding to the corresponding coding method.
이 경우, 해당 비트스트림은 여러 가지 표준(코덱)을 혼합한 다양한 모양으로 구성된 비트스트림이거나 하나의 표준 내에서 다양한 부호화 방식에 의해 생성된 다양한 형태의 비트스트림일 수 있다. 또한 다양한 부호화/복호화 방법을 지원하기 위해서는 여러 가지 표준에서 사용되는 다양한 기능들을 별개의 유닛(Unit)으로 구분하고, 사용자가 원하고 필요로 하는 기능만을 선별하여 한 가지의 코덱(encoder and decoder)을 만들 수 있어야 한다.In this case, the corresponding bitstream may be a bitstream composed of various shapes in which various standards (codecs) are mixed or various types of bitstreams generated by various coding schemes within one standard. In addition, in order to support various encoding / decoding methods, various functions used in various standards are divided into separate units, and only one function and a function required by the user are selected to select one codec (encoder and decoder). You should be able to make it.
상술한 바와 같이, 본 발명은 디코딩 디스크립션이 함께 제공되도록 함으로써 비트스트림이 부호화된 부호화 방식에 관계없이 동일한 정보 해석 방법으로 각 기능부들을 유기적으로 연결하고 제어할 수 있는 장점을 가진다.As described above, the present invention has an advantage that the functional description can be organically connected and controlled by the same information interpretation method regardless of the encoding scheme in which the bitstream is encoded by providing the decoding description together.
또한, 본 발명의 다른 장점으로는 비트스트림의 신택스(syntax)가 변경되거나 새롭게 추가 될지라도, S-RT(460)에 해당 정보만의 수정 또는 추가 정보의 삽입 만으로도 능동적 대응이 가능하도록 할 수 있다. 또한 비트스트림 레벨(bit stream-level), 프레임 레벨(frame-level), 매크로블록 레벨(MB-level) 등의 처리 단위로 사용자가 원하는 기능을 선별하여 F-RT(420)를 구성함으로써 해당 복호화기의 디코딩 기능부들의 연결 관계 또는 동작 여부를 제어할 수 있는 장점도 있다.In addition, another advantage of the present invention is that even if the syntax of the bitstream is changed or newly added, the S-
도 13은 본 발명의 제5 실시예에 따른 확장 비트스트림의 구성을 나타낸 도면이고, 도 14는 본 발명의 제6 실시예에 따른 확장 비트스트림의 구성을 나타낸 도면이며, 도 15는 본 발명의 제7 실시예에 따른 확장 비트스트림의 구성을 나타낸 도면이고, 도 16은 본 발명의 제8 실시예에 따른 확장 비트스트림의 구성을 나타낸 도면이다.13 is a diagram illustrating a configuration of an extended bitstream according to the fifth embodiment of the present invention, FIG. 14 is a diagram illustrating a configuration of an extended bitstream according to the sixth embodiment of the present invention, and FIG. FIG. 16 is a diagram illustrating a configuration of an extended bitstream according to the seventh embodiment, and FIG. 16 is a diagram illustrating a configuration of an extended bitstream according to an eighth embodiment of the present invention.
본 발명에 따른 확장 비트스트림(305)은 디코더 디스크립션(DD, Decoder Description) 영역과 종래 비트스트림(316)으로 구성된다. 종래 비트스트림(316)이 코딩된 비디오 데이터(또는/및 코딩된 오디오 데이터)로 구성됨은 당업자에게 자명하다.The
여기서, 디코더 디스크립션 영역은 종래 비트스트림(316)을 디코딩하기 위해 적용될 코덱 특성에 따라 상이한 구조로 형성할 수 있다. 즉, 첫번째, 종래에 표준화된 하나의 코덱을 사용하는 경우 제1 디코더 디스크립션 구조가 적용될 수 있다.Here, the decoder description region may be formed in a different structure according to the codec characteristic to be applied to decode the
두번째, 종래에 표준화된 하나의 코덱 중 일부 내용을 수정하여 사용(즉, 상술한 7개의 부분 디코더 디스크립션들 중 일부 부분 디코더 디스크립션은 해당 코덱에 상응하는 부분 디코더 디스크립션 내용을 그대로 사용하고 다른 일부 부분 디코더 디스크립션들을 수정하여 사용)하는 경우 제2 디코더 디스크립션 구조가 적용될 수 있다.Second, some content of one codec that has been standardized in the prior art may be modified (that is, some of the partial decoder descriptions of the seven partial decoder descriptions described above may use the content of the partial decoder description corresponding to the corresponding codec, and some other partial decoder may be used. In the case of modifying descriptions, a second decoder description structure may be applied.
세번째, 종래에 표준화된 복수의 코덱의 부분 디코더 디스크립션 정보를 가공하여 사용(즉, 상술한 7개의 부분 디코더 디스크립션들 중 일부 부분 디코더 디스크립션들은 종래의 복수 코덱의 부분 디코더 디스크립션 내용을 선택적으로 사용하고 다른 일부 부분 디코더 디스크립션들은 수정하여 사용)하는 경우 제3 디코더 디스크립션 구조가 적용될 수 있다.Third, processing and using partial decoder description information of a plurality of codecs conventionally standardized (that is, some of the partial decoder descriptions of the seven partial decoder descriptions described above selectively use partial decoder description contents of the conventional plurality of codecs, and When some partial decoder descriptions are modified and used, a third decoder description structure may be applied.
네번째, 종래에 표준화되지 않은 새로운 코덱을 사용(즉, 새로운 내용으로 구성된 상술한 7개의 부분 디코더 디스크립션들을 모두 포함하여 전송)하는 경우 제4 디코더 디스크립션 구조가 적용될 수 있다.Fourth, the fourth decoder description structure may be applied when using a new codec that is not standardized in the prior art (that is, including all the above-described seven partial decoder descriptions composed of new contents).
상술한 네가지 디코더 디스크립션 구조는 각각 상이한 코덱 타입(codec_type) 정보로서 구분될 수 있다. 예를 들어, 제1 디코더 디스크립션 구조인 경우 "codec_type = 0"으로 설정되고, 제2 디코더 디스크립션 구조인 경우 "codec_type = 1"으로 설정되며, 제3 디코더 디스크립션 구조인 경우 "codec_type = 2"로 설정되고, 제4 디코더 디스크립션 구조인 경우 "codec_type = 3"으로 설정될 수 있다. Each of the four decoder description structures described above may be classified as different codec type information. For example, "codec_type = 0" for the first decoder description structure, "codec_type = 1" for the second decoder description structure, and "codec_type = 2" for the third decoder description structure. In the case of the fourth decoder description structure, it may be set to "codec_type = 3".
도 13에 제1 디코더 디스크립션 구조가 예시되어 있다. A first decoder description structure is illustrated in FIG. 13.
도 13에 예시된 제1 디코더 디스크립션 구조에 따를 때, 디코더 디스크립션 영역은 코덱 타입(codec_type)(1250), 코덱 번호(codec_num)(1252) 및 프로파일 및 레벨 번호(profile_level_num)(1254)로 구성될 수 있다. 즉, 제1 디코더 디스크립션 구조에 따르면 디코더 디스크립션 영역에는 적용될 코덱에 관한 정보만을 중심으로 기술된다. 도면에는 각 필드가 8비트인 것으로 예시되어 있으나, 각 필드의 크기는 표현될 정보의 크기에 따라 가감될 수 있음은 자명하다.According to the first decoder description structure illustrated in FIG. 13, the decoder description area may include a codec type (codec_type) 1250, a codec number (codec_num) 1252, and a profile and level number (profile_level_num) 1254. have. That is, according to the first decoder description structure, only the information about the codec to be applied is described in the decoder description area. Although each field is illustrated as 8 bits in the figure, it is obvious that the size of each field may be added or subtracted according to the size of information to be represented.
코덱 타입(1250)은 0(zero)으로 설정(즉, codec_type=0)될 것이며, 이는 종래 표준화된 다양한 코덱들 중 하나의 코덱을 그대로 이용하는 경우를 의미한다.The
도 14에 제2 디코더 디스크립션 구조가 예시되어 있다.A second decoder description structure is illustrated in FIG. 14.
도 14에 예시된 제2 디코더 디스크립션 구조에 따를 때, 디코더 디스크립션 영역은 코덱 타입(codec_type)(1250), 코덱 번호(codec_num)(1252), 프로파일 및 레벨 번호(profile_level_num)(1254) 및 테이블 디스크립션(1256)으로 구성될 수 있다. 즉, 제2 디코더 디스크립션 구조에 따르면 디코더 디스크립션 영역에는 적용 될 코덱에 관한 정보와 7개의 부분 디코더 디스크립션들 중 수정되는 내용을 중심으로 기술된다. 여기서, 테이블 디스크립션은 7개의 부분 디코더 디스크립션 각각에 대해 개별적으로 구비된다. 즉, 디코더 디스크립션 영역에 7개의 테이블 디스크립션이 존재할 수 있다.According to the second decoder description structure illustrated in FIG. 14, the decoder description area includes a codec type (codec_type) 1250, a codec number (codec_num) 1252, a profile and level number (profile_level_num) 1254, and a table description ( 1256). That is, according to the second decoder description structure, the decoder description area is described based on information about a codec to be applied and contents modified among seven partial decoder descriptions. Here, the table description is provided separately for each of the seven partial decoder descriptions. That is, seven table descriptions may exist in the decoder description area.
각 테이블 디스크립션(1256)은 예시된 바와 같이, 테이블 시작 코드(Table_start_code)(1258), 테이블 식별자(Table_identifier)(1260), 테이블 타입(Table_type)(1262), 내용(1263) 및 테이블 종료 코드(Table_end_code)(1264)를 포함할 수 있다. 물론 각 필드의 사이즈는 필요에 따라 증감될 수 있다. 또한 이하에서 설명되는 바와 같이, 내용(1263)은 테이블 타입(1262)의 정보에 따라 생략되거나 포함될 수 있다.Each
예를 들어, 테이블 타입(1262)의 값이 0이면 기존 부분 디코더 디스크립션(즉, 코덱 타입(codec_type)(1250), 코덱 번호(codec_num)(1252), 프로파일 및 레벨 번호(profile_level_num)(1254)과 테이블 식별자(1260)에 의해 인식된 부분 디코더 디스크립션)의 수정없이 적용되도록 인식될 수 있다. 이 경우, 내용(1263)은 생략될 수 있다.For example, if the value of the
그러나, 테이블 타입(1262)의 값이 1이면 기존 부분 디코더 디스크립션(즉, 코덱 타입(codec_type)(1250), 코덱 번호(codec_num)(1252), 프로파일 및 레벨 번호(profile_level_num)(1254)과 테이블 식별자(1260)에 의해 인식된 부분 디코더 디스크립션)을 일부 수정(즉, 내용(1263)에 정의된 내용으로 수정)하여 사용하도록 인식될 수 있다. 이 경우, 내용(1263)에는 수정된 내용(예를 들어, update command 등)이 기술될 수 있다. 예를 들어, 수정된 내용(예를 들어, update command 등)은 업데이트(update), 삽입(insert) 또는/및 삭제(delete) 등과 같은 명령어들이 포함되어 해당 부분 디코더 디스크립션의 상응하는 인덱스의 부분 디코더 디스크립션 내용을 수정하도록 하는 정보일 수 있다.However, if the value of the
그러나, 테이블 타입(1262)의 값이 2이면 기존 부분 디코더 디스크립션(즉, 코덱 타입(codec_type)(1250), 코덱 번호(codec_num)(1252), 프로파일 및 레벨 번호(profile_level_num)(1254)과 테이블 식별자(1260)에 의해 인식된 부분 디코더 디스크립션)을 완전히 변경(즉, 내용(1263)에 정의된 내용으로 변경)하여 사용하도록 인식될 수 있다. 이 경우, 내용(1263)에는 변경된 내용(예를 들어, new command 등과 같이 해당 부분 디코더 디스크립션을 새로 정의하기 위한 내용)이 기술될 수 있다. However, if the value of the
도 15에 제3 디코더 디스크립션 구조가 예시되어 있다.A third decoder description structure is illustrated in FIG. 15.
도 15에 예시된 제3 디코더 디스크립션 구조에 따를 때, 디코더 디스크립션 영역은 코덱 타입(codec_type)(1250) 및 테이블 디스크립션(1256)으로 구성될 수 있다. 즉, 제3 디코더 디스크립션 구조에 따르면 디코더 디스크립션 영역에는 적용될 코덱에 관한 정보와 7개의 부분 디코더 디스크립션들 중 수정되는 내용을 중심으로 기술된다. 여기서, 테이블 디스크립션은 7개의 부분 디코더 디스크립션 각각에 대해 개별적으로 구비된다. 즉, 디코더 디스크립션 영역에 7개의 테이블 디스크립션이 존재할 수 있다.According to the third decoder description structure illustrated in FIG. 15, the decoder description area may be composed of a
각 테이블 디스크립션(1256)은 예시된 바와 같이, 테이블 시작 코 드(Table_start_code)(1258), 테이블 식별자(Table_identifier)(1260), 테이블 타입(Table_type)(1262), 내용(1263) 및 테이블 종료 코드(Table_end_code)(1264)를 포함할 수 있다. 물론 각 필드의 사이즈는 필요에 따라 증감될 수 있다. Each
예를 들어, 테이블 타입(1262)의 값이 0이면 기존 부분 디코더 디스크립션(즉, 코덱 번호(codec_num)(1252), 프로파일 및 레벨 번호(profile_level_num)(1254)와 테이블 식별자(1260)에 의해 인식된 부분 디코더 디스크립션)의 수정없이 적용되도록 인식될 수 있다. 즉, 내용(1263) 필드 내에 적용될 부분 디코더 디스크립션에 상응하는 코덱 번호(codec_num)(1252), 프로파일 및 레벨 번호(profile_level_num)(1254)가 기술된다.For example, if the value of the
그러나, 테이블 타입(1262)의 값이 1이면 기존 부분 디코더 디스크립션(즉, 코덱 번호(codec_num)(1252), 프로파일 및 레벨 번호(profile_level_num)(1254)와 테이블 식별자(1260)에 의해 인식된 부분 디코더 디스크립션)을 일부 수정(즉, 수정 내용(1266)에 정의된 내용으로 수정)하여 사용하도록 인식될 수 있다. 이 경우, 내용(1263) 필드 내에 적용될 테이블에 상응하는 코덱 번호(codec_num)(1252), 프로파일 및 레벨 번호(profile_level_num)(1254)가 기술되고, 수정 내용(1266) 필드에는 수정된 내용(예를 들어, update command 등)이 기술될 수 있다.However, if the value of the
그러나, 테이블 타입(1262)의 값이 2이면 기존 부분 디코더 디스크립션(즉, 테이블 식별자(1260)에 의해 인식된 부분 디코더 디스크립션)을 완전히 변경(즉, 내용(1263) 필드에 정의된 내용으로 변경)하여 사용하도록 인식될 수 있다. 이 경우, 내용(1263) 필드에는 변경된 내용(예를 들어, new command 등과 같이 해당 부 분 디코더 디스크립션을 새로 정의하기 위한 내용)이 기술될 수 있다. 즉, 상술한 바와 같이 테이블 타입(1262)가 0 또는 1인 경우라면 특정 코덱이 그대로 이용되거나 일부 부분 디코더 디스크립션이 수정되어 이용되므로 코덱에 관한 정보(즉, 코덱 번호(codec_num)(1252), 프로파일 및 레벨 번호(profile_level_num)(1254))가 요구되지만, 테이블 타입(1262)가 2인 경우라면 완전히 새로운 부분 디코더 디스크립션 정보가 정의되므로 별도의 코덱 정보는 불필요하다.However, if the value of the
도 16에 제4 디코더 디스크립션 구조가 예시되어 있다.A fourth decoder description structure is illustrated in FIG.
도 16에 예시된 제4 디코더 디스크립션 구조에 따를 때, 디코더 디스크립션 영역은 코덱 타입(codec_type)(1250) 및 테이블 디스크립션(1256)으로 구성될 수 있다. 즉, 제4 디코더 디스크립션 구조에 따르면 디코더 디스크립션 영역에는 7개의 부분 디코더 디스크립션들을 중심으로 기술되며, 테이블 디스크립션은 7개의 부분 디코더 디스크립션 각각에 대해 개별적으로 구비된다. According to the fourth decoder description structure illustrated in FIG. 16, the decoder description area may be composed of a
각 테이블 디스크립션(1256)은 예시된 바와 같이, 테이블 시작 코드(Table_start_code)(1258), 테이블 식별자(Table_identifier)(1260), 테이블 타입(Table_type)(1262), 내용(1263) 및 테이블 종료 코드(Table_end_code)(1264)를 포함할 수 있다. 물론 각 필드의 사이즈는 필요에 따라 증감될 수 있다. Each
예를 들어, 테이블 타입(1262)의 값이 미리 지정된 값(예를 들어, 2) 이면 내용(1263) 필드에는 테이블 식별자(1260)에 상응하는 새로운 부분 디코더 디스크립션을 기술하기 위한 정보(예를 들어, new command 등과 같이 해당 부분 디코더 디스크립션을 새로 정의하기 위한 내용)가 표시된다. 상술한 바와 같이, 코덱 타 입(1250)이 3인 경우에는 새로운 부분 디코더 디스크립션들을 이용하여 디코딩을 수행하는 것으로 인식되므로, 테이블 타입(1262)은 하나만으로 지정되거나, 테이블 타입(1262)가 생략될 수 있다.For example, if the value of the
이하, 디코더 디스크립션 영역의 syntax 구조 및 각 필드의 syntax 구조를 각각의 표로서 예시하기로 한다.Hereinafter, the syntax structure of the decoder description area and the syntax structure of each field will be exemplified as respective tables.
표 5. 디코더 디스크립션Table 5. Decoder description
표 6. 코덱 디스크립션Table 6. Codec description
표 7. 테이블 디스크립션Table 7. Table description
표 8. 업데이트(update) 디스크립션Table 8. Update description
표 9. 뉴(new) 디스크립션Table 9. New description
이하, 디코더 디스크립션의 semantics를 각각의 표로서 설명한다.The semantics of the decoder description are described below as respective tables.
표 10. 디코딩 디스크립션Table 10. Decoding description
여기서, 코덱 타입은 8비트 코드로서, 코덱의 타입을 식별하기 위한 정보일 수 있다.Here, the codec type is an 8-bit code and may be information for identifying the type of the codec.
표 11. 코덱 디스크립션Table 11. Codec description
여기서, 코덱 번호(codec_num)는 8비트 코드로서, 사용된 코덱의 코드를 나타내는 정보일 수 있다. 또한, 프로파일 및 레벨 번호(profile_level_num)는 8비트 코드로서, 코덱에 대한 프로파일과 레벨의 번호를 지시하기 위한 정보일 수 있다. 프로파일 및 레벨 번호는 각 MPEG 표준의 프로파일 및 레벨 번호와 일치할 수 있다.Here, the codec number codec_num is an 8-bit code and may be information indicating a code of a used codec. In addition, the profile and level number (profile_level_num) is an 8-bit code and may be information for indicating the number of the profile and the level for the codec. The profile and level numbers may match the profile and level numbers of each MPEG standard.
표 12. 테이블 디스크립션(테이블 식별자)Table 12. Table description (table identifier)
여기서, 테이블 시작 코드(table_start_code)는 16진수의 26비트 문자열 0xFFFFFE일 수 있고, 이는 테이블 디스크립션의 시작을 의미할 수 있다. 테이블 식별자(table_identifier)는 위의 표 12와 같이 각각의 4비트 코드일 수 있다.Here, the table start code (table_start_code) may be a 26-bit string 0xFFFFFE in hexadecimal, which may mean the start of a table description. The table identifier (table_identifier) may be each 4-bit code as shown in Table 12 above.
표 13. 테이블 디스크립션(테이블 타입)Table 13. Table description (table type)
여기서, 테이블 타입은 4비트 값으로 기존의 부분 디코더 디스크립션을 유지할 것인지, 기존의 부분 디코더 디스크립션을 업데이트할 것인지 아니면 새로운 부분 디코더 디스크립션을 생성할 것인지를 판단하도록 하는 정보이다. 테이블 종료 코드(table_end_code)는 16진수의 26비트 문자열 0xFFFFFF일 수 있고, 이는 테이블 디스크립션의 끝을 의미할 수 있다.Here, the table type is information for determining whether to maintain the existing partial decoder description, update the existing partial decoder description, or generate a new partial decoder description with a 4-bit value. The table end code (table_end_code) may be a 26-bit string 0xFFFFFF in hexadecimal, which may mean the end of the table description.
표 14. 업데이트 커맨드(update_command)를 위한 지시 세트Table 14. Instruction set for update command (update_command)
여기서, index#은 임의의 부분 디코더 디스크립션의 인텍스 번호를 지시하는 4비트 문자열일 수 있고, table#은 테이블 식별자로서의 32비트 문자열일 수 있다.Here, index # may be a 4-bit string indicating an index number of an arbitrary partial decoder description, and table # may be a 32-bit string as a table identifier.
표 15. 뉴 커맨드(new_command)를 위한 지시 세트Table 15. Instruction set for new command (new_command)
ELSE { ~ }IF (condition) {~}
ELSE {~}
여기서, 비트(bits)는 요구되는 비트의 수를 나타내는 3 내지 34 비트 중 임의의 값이며, B는 바이트 얼라인먼트(byte alignment)를 나타내는 1비트 문자열이다. ">"는 좌측의 출력을 프린트하기 위한 1비트 문자열이고, VLD2(for MPEG-2)와 VLD4(for MPEG-4)는 엔트로피 코딩을 위한 기능들이다.Here, bits are any of 3 to 34 bits indicating the number of bits required, and B is a 1-bit string indicating byte alignment. ">" Is a 1-bit string for printing the output on the left, and VLD2 (for MPEG-2) and VLD4 (for MPEG-4) are functions for entropy coding.
도 17은 본 발명의 일 실시예에 따른 부호화기의 블록 구성도이다.17 is a block diagram of an encoder according to an embodiment of the present invention.
본 발명에 따른 부호화기(1300)는 앞서 도 2를 참조하여 설명한 종래의 부호화기(200)에 비해 확장 비트스트림 생성 및 출력부(1310)를 더 포함한다. 확장 비트스트림 생성 및 출력부(1310)는 전단까지의 처리에 의해 생성된 종래 비트스트림(316) 생성 과정에서의 제어 정보(예를 들어, 사용한 기능부들의 목록 및 연결 관계, 해당 기능부들의 입력 데이터, 신택스 정보, 신택스 연결 정보 등)를 이용하여 디코더 디스크립션 을 생성한다. 또한, 생성된 디코더 디스크립션 및 종래 비트스트림(316)를 이용하여 확장 비트스트림(305)을 생성하여 복호화기(300)로 전송한 다. 디코더 디스크립션의 생성 방법은 앞서 설명한 사항만으로 당업자가 충분히 이해할 수 있을 것이므로 이에 대한 설명은 생략한다.The
또한, 본 명세서에서 가변장 인코딩부(230)는 부호화기(1300) 내에서 종래 비트스트림(316)을 생성하기 위하여 최종적으로 부호화를 수행하는 임의의 구성 요소(예를 들어, 부호화부)를 지칭한 것일 뿐 이에 제한되는 것은 아니며, 또한 이로 인해 본 발명의 권리범위가 제한되지는 않는다.In addition, in the present specification, the
도 17은 디코더 디스크립션 정보 및 종래 비트스트림(316)을 이용하여 생성한 확장 비트스트림(305)이 복호화기로 제공되는 경우를 가정한 도면이다.FIG. 17 illustrates a case in which an
그러나, 상술한 바와 같이, 디코더 디스크립션은 별도의 데이터 또는 비트스트림 등의 형태로 복호화기(300)로 전달될 수도 있다. 이 경우는 가변장 인코딩부(235) 후단에 확장 비트스트림 생성 및 출력부(1310)가 위치하지 않고, 종래의 인코딩부(200)와 독립적으로 디코더 디스크립션 생성 및 출력부가 위치하여 독립적으로 생성한 정보를 복호화기(300)로 제공할 수도 있음은 자명하다.However, as described above, the decoder description may be delivered to the
이제까지 본 발명에 따른 통합 코덱 장치 및 방법을 설명함에 있어 복호화기를 중심으로 설명하였으나, 복호화기와 부호화기간의 상호 관계가 당업자에게 자명하며 복호화기에 대한 상세한 설명만으로도 부호화기의 구성이 용이한 점을 고려할 때 본 발명이 복호화기에 제한되지 않음은 자명하다.In the description of the integrated codec apparatus and method according to the present invention, the decoder has been described with reference to the decoder. However, the interrelationship between the decoder and the encoding period is apparent to those skilled in the art. Obviously, the invention is not limited to decoders.
상술한 바와 같이 본 발명에 따른 통합 코덱 장치 및 방법은 하나의 표준(또는 코덱) 내에서 또는 다른 표준(또는 코덱) 간에 syntax 엘리먼트의 해석 및 기능 부들의 연결 제어를 용이하게 한다. 즉, 특정 표준에 따라 생성되는 비트스트림 내의 syntax 엘리먼트들의 순서를 변경하거나, 새로운 syntax 엘리먼트들을 삽입하거나, 기존의 syntax 엘리먼트들을 삭제함에 문제되지 않는다. As described above, the integrated codec apparatus and method according to the present invention facilitates the interpretation of syntax elements and control of the connection of functional parts within one standard (or codec) or between different standards (or codecs). That is, it is not a problem to change the order of syntax elements, insert new syntax elements, or delete existing syntax elements in a bitstream generated according to a specific standard.
또한, 종래기술에 따르면 이와 같은 syntax 엘리먼트의 조작시 복호화기에서는 해당 비트스트림을 정상적으로 디코딩할 수 없는 문제점이 있었다. 예를 들어, 비트스트림 정보가 ABC이던 것을 ACB로 순서를 바꾸어 비트스트림을 구성하여 전송하면, 복호화기는 이를 인식할 수 없어 정상적인 디코딩이 불가능하다. 또한, 신규로 F를 삽입하여 ABFC로 구성하거나, B를 삭제하여 AC로 비트스트림을 구성하는 경우에도 동일하다.In addition, according to the related art, when the syntax element is manipulated, the decoder cannot decode the corresponding bitstream normally. For example, if the bitstream information is ABC and the bitstream is changed to ACB to configure and transmit the bitstream, the decoder cannot recognize the bitstream and thus normal decoding is not possible. The same applies to the case where a new stream is inserted into an ABFC, or a B is deleted to form a bitstream with AC.
그러나, 본 발명에 따른 통합 코덱 장치 및 방법을 이용하면, 확장 비트스트림 내에 포함되거나 또는 독립된 데이터로 디코더 디스크립션 정보가 제공되므로 복호화기(300)의 원활한 복호화 동작이 가능해진다.However, using the integrated codec apparatus and method according to the present invention, since the decoder description information is provided as data included in the extended bitstream or as independent data, the
이제까지 본 발명에 따른 복호화 장치 및 비트스트림 복호화를 위한 구문 해석 방법을 설명함에 있어 MPEG-4 AVC를 기준으로 설명하였으나, MPEG-1, MPEG-2, MPEG-4 및 이외의 동영상 인코딩/디코딩 표준에 아무런 제한없이 동일하게 적용할 수 있음은 당연하다.So far, the decoding apparatus and the syntax parsing method for decoding the bitstream according to the present invention have been described based on MPEG-4 AVC, but the MPEG-1, MPEG-2, MPEG-4 and other video encoding / decoding standards Naturally, the same can be applied without any limitation.
또한, 각 부분 디코더 디스크립션들에 포함되는 정보 역시 하나의 표준에 의한 디코딩 수행을 위한 기능부들의 연결 관계, 해당 기능부에 요구되는 처리 프로세스 등에 관한 정보만으로 기술되지 않고, 복수의 표준에 의한 디코딩 수행을 위 한 정보로 기술될 수도 있음은 자명하다.In addition, the information included in each of the partial decoder descriptions is not described only with information on connection relations of functional units for performing decoding by one standard, processing processes required for the corresponding functional unit, and decoding by multiple standards. It is obvious that the information may be described.
예를 들어, 확장 비트스트림에 포함된 인코딩된 비디오 데이터의 초기 복수의 프레임은 MPEG-2로 인코딩되고, 후속하는 복수의 프레임은 MPEG-4로 인코딩되며, 나머지 프레임은 MPEG-1으로 인코딩되었다고 가정하자. 이 경우, 인코딩된 비디오 데이터의 디코딩을 위해 디코더 디스크립션에 포함되는 부분 디코더 디스크립션 정보들은 인코딩 방법을 달리하는 각 프레임들이 툴 박스(510)에 포함된 각 표준에 따른 기능부들이 유기적으로 결합되어 동작될 수 있도록 구현될 것임은 자명하다.For example, assume that the initial plurality of frames of the encoded video data contained in the extended bitstream are encoded in MPEG-2, a subsequent plurality of frames are encoded in MPEG-4, and the remaining frames are encoded in MPEG-1 lets do it. In this case, the partial decoder description information included in the decoder description for decoding the encoded video data may be operated by combining the functional units according to each standard included in the
상술한 바와 같이 본 발명에 따른 통합 코덱 장치 및 방법은 각 표준(예를 들어, MPEG-1, MPEG-2, MPEG-4, MPEG-4 AVC 등)에 따른 다양한 형식(syntax, semantics)으로 부호화된 비트스트림을 동일한 정보 인식 방식으로 복호화(decoding)할 수 있는 효과가 있다.As described above, the integrated codec apparatus and method according to the present invention are encoded in various formats (syntax, semantics) according to each standard (for example, MPEG-1, MPEG-2, MPEG-4, MPEG-4 AVC, etc.). The decoded bitstream can be decoded with the same information recognition scheme.
또한, 본 발명은 다양한 부호화 방식으로 압축된 비트스트림을 동일한 정보 분석 방법에 의해 파싱(parsing)하고, 파싱된 데이터를 이용하여 복호화를 위한 각 기능부(FU, Functional Unit)들을 유기적으로 제어할 수 있는 효과도 있다.In addition, the present invention parses a bitstream compressed by various encoding schemes by the same information analysis method, and can organically control functional units (FU) for decoding using the parsed data. There is also an effect.
또한, 본 발명은 다양한 형태의 비트스트림을 복호화하기 위한 syntax 해석 방법을 공통적으로 적용할 수 있는 효과도 있다.In addition, the present invention has the effect that can be commonly applied to the syntax analysis method for decoding various types of bitstream.
또한, 본 발명은 다양한 형태의 비트스트림을 공통된 Syntax 해석 방법으로 파싱할 수 있도록 하기 위한 새로운 명령어들의 집합을 적용할 수 있는 효과도 있다.In addition, the present invention has the effect of applying a new set of instructions for parsing various types of bitstreams with a common syntax analysis method.
또한, 본 발명은 syntax 엘리먼트의 변경이나 추가시에도 복호화기가 용이하게 비트스트림을 복호화할 수 있는 효과도 있다.In addition, the present invention also has the effect that the decoder can easily decode the bitstream even when the syntax element is changed or added.
또한, 본 발명은 해석된 syntax의 엘리먼트 정보(element information, 즉 syntax 파싱에 의한 결과물)를 비트스트림 복호화를 위해 이용되는 구성 요소들이 공유할 수 있도록 하는 효과도 있다.In addition, the present invention also has an effect of allowing elements used for bitstream decoding to share element information (i.e., the result of syntax parsing) of the analyzed syntax.
또한, 본 발명은 해석된 syntax의 엘리먼트 정보를 후속하는 비트스트림 syntax 엘리먼트의 해석을 위해 이용할 수 있도록 하는 효과도 있다.In addition, the present invention also has the effect that the element information of the parsed syntax can be used for the interpretation of subsequent bitstream syntax elements.
또한, 본 발명은 MPEG-1, MPEG-2, MPEG-4, MPEG-4 AVC 외의 블록 단위의 처리를 하는 동영상, 정지영상 코덱의 통합시에 사용할 수 있는 효과도 있다.In addition, the present invention also has an effect that can be used when integrating a moving picture or still picture codec that processes block units other than MPEG-1, MPEG-2, MPEG-4, and MPEG-4 AVC.
또한, 본 발명은 여러 표준(코덱)에서 제안하는 다양한 디코딩 방법을 구성하는 기능들을 각기 기능부(FU, Functional Unit) 단위로 구현하여 툴박스에 구비할 수 있는 효과도 있다.In addition, the present invention has an effect that can be included in the toolbox by implementing the functions constituting various decoding methods proposed by various standards (codecs) in units of functional units (FU).
또한, 본 발명은 다양한 형태로 부호화 된 비트스트림을 복호화하기 위해 툴박스에서 필요한 기능부들만을 선별적으로 로드(load)하여 디코딩하도록 할 수 있는 효과도 있다.In addition, the present invention has the effect that it is possible to selectively load and decode only the functional units necessary in the toolbox to decode the bitstream encoded in various forms.
또한, 본 발명은 툴박스에 구비된 기능부의 변경이나 추가, 삭제가 용이한 효과도 있다.In addition, the present invention has the effect that it is easy to change, add, or delete the functional unit provided in the tool box.
상기에서는 본 발명의 실시예들을 참조하여 설명하였지만, 해당 기술분야에서 통상의 지식을 가진 자라면 하기의 특허 청구의 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.Although the above has been described with reference to embodiments of the present invention, those skilled in the art may variously modify the present invention without departing from the spirit and scope of the present invention as set forth in the claims below. And can be changed.
Claims (31)
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070033489A KR101305517B1 (en) | 2007-04-04 | 2007-04-04 | Bitstream decoding device and method having decoding solution |
CN2008800187595A CN101743748B (en) | 2007-04-04 | 2008-04-04 | Bitstream decoding device and method having decoding solution |
PCT/KR2008/001927 WO2008123709A1 (en) | 2007-04-04 | 2008-04-04 | Bitstream decoding device and method having decoding solution |
US12/594,551 US20100208829A1 (en) | 2007-04-04 | 2008-04-04 | Bitstream decoding device and method having decoding solution |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070033489A KR101305517B1 (en) | 2007-04-04 | 2007-04-04 | Bitstream decoding device and method having decoding solution |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20080090227A KR20080090227A (en) | 2008-10-08 |
KR101305517B1 true KR101305517B1 (en) | 2013-09-17 |
Family
ID=40151596
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020070033489A KR101305517B1 (en) | 2007-04-04 | 2007-04-04 | Bitstream decoding device and method having decoding solution |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101305517B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101477218B1 (en) * | 2008-10-10 | 2015-01-02 | 한양대학교 산학협력단 | Device and Method for encoding/decoding |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20040063597A (en) * | 2003-01-08 | 2004-07-14 | 엘지전자 주식회사 | Video Decoder Supporting plural video codec and thereof motions Method |
KR20070017286A (en) * | 2006-12-27 | 2007-02-09 | 주식회사 휴맥스 | Device and Method for encoding/decoding video data |
-
2007
- 2007-04-04 KR KR1020070033489A patent/KR101305517B1/en not_active IP Right Cessation
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20040063597A (en) * | 2003-01-08 | 2004-07-14 | 엘지전자 주식회사 | Video Decoder Supporting plural video codec and thereof motions Method |
KR20070017286A (en) * | 2006-12-27 | 2007-02-09 | 주식회사 휴맥스 | Device and Method for encoding/decoding video data |
Also Published As
Publication number | Publication date |
---|---|
KR20080090227A (en) | 2008-10-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101305491B1 (en) | Bitstream decoding device and method | |
KR101232780B1 (en) | Device and Method for unified codecs | |
US20090103631A1 (en) | Device and method for unified codes | |
US20110044410A1 (en) | Device and method for encoding/decoding | |
KR101372418B1 (en) | Bitstream decoding device and method | |
KR101305514B1 (en) | Bitstream decoding device and method | |
US20100208829A1 (en) | Bitstream decoding device and method having decoding solution | |
KR100970145B1 (en) | Device and Method for encoding/decoding | |
US9031136B2 (en) | Device and method for encoding/decoding | |
KR101380825B1 (en) | Bitstream decoding device and method having decoding solution | |
KR101305517B1 (en) | Bitstream decoding device and method having decoding solution | |
KR100807100B1 (en) | Device and Method for unified codecs | |
KR100767606B1 (en) | Device and Method for unified codecs | |
KR20100115238A (en) | Device and method for codec design | |
KR20090002508A (en) | Device and method for encoding/decoding video data | |
KR20100040625A (en) | Device and method for encoding/decoding | |
US8565320B2 (en) | Device and method for encoding/decoding video data | |
KR20080006430A (en) | Device and method for unified codecs | |
KR101305516B1 (en) | Bitstream decoding device and method having decoding solution | |
KR101305513B1 (en) | Device and Method for encoding/decoding Video data | |
KR20090002507A (en) | Device and method for encoding/decoding video data | |
KR20070098459A (en) | Device and method for unified codecs | |
KR20070075270A (en) | Device and method for unified codecs |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
N231 | Notification of change of applicant | ||
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
LAPS | Lapse due to unpaid annual fee |