JP2018535607A - Method and apparatus for encoding / decoding video - Google Patents

Method and apparatus for encoding / decoding video Download PDF

Info

Publication number
JP2018535607A
JP2018535607A JP2018525574A JP2018525574A JP2018535607A JP 2018535607 A JP2018535607 A JP 2018535607A JP 2018525574 A JP2018525574 A JP 2018525574A JP 2018525574 A JP2018525574 A JP 2018525574A JP 2018535607 A JP2018535607 A JP 2018535607A
Authority
JP
Japan
Prior art keywords
unit
encoding
data unit
coding
coding unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2018525574A
Other languages
Japanese (ja)
Inventor
イム,キョン−ミン
ミン,ジョン−ヘ
イ,ソン−イル
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Samsung Electronics Co Ltd
Original Assignee
Samsung Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Samsung Electronics Co Ltd filed Critical Samsung Electronics Co Ltd
Publication of JP2018535607A publication Critical patent/JP2018535607A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/157Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
    • H04N19/159Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/11Selection of coding mode or of prediction mode among a plurality of spatial predictive coding modes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/46Embedding additional information in the video signal during the compression process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/117Filters, e.g. for pre-processing or post-processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/189Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding
    • H04N19/196Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding being specially adapted for the computation of encoding parameters, e.g. by averaging previously computed encoding parameters
    • H04N19/198Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding being specially adapted for the computation of encoding parameters, e.g. by averaging previously computed encoding parameters including smoothing of a sequence of encoding parameters, e.g. by averaging, by choice of the maximum, minimum or median value
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • H04N19/88Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving rearrangement of data among different coding units, e.g. shuffling, interleaving, scrambling or permutation of pixel data or permutation of transform coefficient data among different blocks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/80Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation

Abstract

ビデオピクチャから、イントラ予測のためのデータ単位を決定する段階、データ単位を、所定予測情報を利用して予測する第1イントラ予測類型によって予測するか、あるいはデータ単位に隣接するデータ単位を利用して予測する第2イントラ予測類型によって予測するかということを示すイントラ予測類型情報を獲得する段階、イントラ予測類型情報に基づいて、第1イントラ予測類型によって予測される第1データ単位、及び第2イントラ予測類型によって予測される第2データ単位を決定する段階、予測情報を利用して、第1イントラ予測類型による第1データ単位に係わる第1予測値を生成する段階、並びにデータ単位に隣接するデータ単位を利用して、第2イントラ予測類型による第2データ単位に係わる第2予測値を生成する段階を含むビデオ復号方法が提供される。  Determining a data unit for intra prediction from a video picture, predicting the data unit according to a first intra prediction type predicted using predetermined prediction information, or using a data unit adjacent to the data unit Obtaining intra-prediction type information indicating whether to predict using a second intra-prediction type to be predicted, a first data unit predicted by the first intra-prediction type based on the intra-prediction type information, and a second Determining a second data unit to be predicted by the intra prediction type, generating a first prediction value related to the first data unit by the first intra prediction type using the prediction information, and adjacent to the data unit A step of generating a second predicted value related to the second data unit according to the second intra prediction type using the data unit. Video decoding method comprising is provided.

Description

本発明は、映像に含まれる多様なデータ単位を利用し、映像を符号化または復号することに関する。   The present invention relates to encoding or decoding video using various data units included in the video.

映像データは、所定のデータ圧縮標準、例えば、MPEG(Moving Picture Experts Group)標準によるコーデック(codec)によって符号化された後、ビットストリームの形態で記録媒体に保存されたり通信チャネルを介して伝送されたりする。   Video data is encoded by a codec according to a predetermined data compression standard, for example, the MPEG (Moving Picture Experts Group) standard, and then stored in a recording medium in a bit stream form or transmitted via a communication channel. Or

高解像度または高画質の映像コンテンツを再生、保存することができるハードウェアの開発及び普及により、高解像度または高画質の映像コンテンツを効果的に符号化または復号するコーデックの必要性が増大している。符号化された映像コンテンツは、復号されることによって再生される。最近では、かような高解像度または高画質の映像コンテンツを効果的に圧縮するための方法が実施されている。例えば、符号化する映像を任意的方法で処理する過程を介した効率的映像圧縮方法が実施されている。   With the development and popularization of hardware that can play and store high-resolution or high-quality video content, the need for codecs that effectively encode or decode high-resolution or high-quality video content is increasing. . The encoded video content is reproduced by being decoded. Recently, a method for effectively compressing such high-resolution or high-quality video content has been implemented. For example, an efficient video compression method is implemented through a process of processing a video to be encoded by an arbitrary method.

映像を圧縮するために、多様なデータ単位が利用され、かようなデータ単位間に、包含関係が存在する。かような映像圧縮に利用されるデータ単位の大きさを決定するために、多様な方法によってデータ単位が分割され、映像の特性によって最適化されたデータ単位が決定されることにより、映像の符号化または復号が行われる。   In order to compress a video, various data units are used, and an inclusive relationship exists between such data units. In order to determine the size of the data unit used for video compression, the data unit is divided by various methods, and the optimized data unit is determined according to the characteristics of the video. Or decoding.

従来の圧縮方式の場合、圧縮順序が左側上端から右側下端まで進められ、画面内予測遂行時、左側及び上端の符号化された値のみを利用して予測が行われた。その場合、領域全体を、左側、上端の値で予測することになるので、右側領域及び下端領域の予測正確度が下がるという問題がある。   In the case of the conventional compression method, the compression order is advanced from the upper left end to the lower right end, and when performing intra prediction, prediction is performed using only the encoded values of the left and upper ends. In this case, since the entire area is predicted with the left and upper end values, there is a problem that the prediction accuracy of the right and lower end areas is lowered.

一実施形態によるビデオ復号する方法において、ビデオピクチャから、イントラ予測のためのデータ単位を決定する段階、ビットストリームから、データ単位を所定予測情報を利用して予測する第1イントラ予測類型によって予測するか、あるいはデータ単位に隣接するデータ単位を利用して予測する第2イントラ予測類型によって予測するかということを示すイントラ予測類型情報を獲得する段階、ビットストリームから獲得されたイントラ予測類型情報に基づいて、第1イントラ予測類型によって予測される第1データ単位、及び第2イントラ予測類型によって予測される第2データ単位を決定する段階、所定予測情報を利用して、第1イントラ予測類型による第1データ単位に係わる第1予測値を生成する段階、並びにデータ単位に隣接するデータ単位を利用して、第2イントラ予測類型による第2データ単位に係わる第2予測値を生成する段階を含むビデオ復号方法が提供される。   In a video decoding method according to an embodiment, determining a data unit for intra prediction from a video picture, predicting a data unit from a bitstream using a first intra prediction type for predicting data using predetermined prediction information. Or obtaining intra prediction type information indicating whether to predict using a second intra prediction type that is predicted using a data unit adjacent to the data unit, based on intra prediction type information acquired from the bitstream Determining a first data unit predicted by the first intra prediction type and a second data unit predicted by the second intra prediction type, and using the predetermined prediction information, the first data unit predicted by the first intra prediction type Generating a first predicted value for one data unit and adjacent to the data unit Using data units, a video decoding method comprising the step of generating a second prediction value according to the second data unit by the second intra prediction type is provided.

一実施形態によるビデオ符号化方法において、所定予測情報を利用して予測する第1イントラ予測類型による第1データ単位、及び第2データ単位に隣接するデータ単位を利用して予測する第2イントラ予測類型による第2データ単位を決定する段階、所定予測情報を利用して、第1イントラ予測類型による第1データ単位に係わる第1予測値を生成する段階、データ単位に隣接するデータ単位を利用して、第2イントラ予測類型による第2データ単位に係わる第2予測値を生成する段階、並びに第1予測値及び第2予測値のうち少なくとも一つに基づいて決定される符号化情報を含むビットストリームを生成してビデオピクチャを符号化する段階を含み、該ビットストリームは、所定予測情報を含むビデオ符号化方法が提供される。   In the video encoding method according to an embodiment, a second intra prediction is predicted using a first data unit based on a first intra prediction type that is predicted using predetermined prediction information and a data unit adjacent to the second data unit. Determining a second data unit according to a type, generating a first predicted value related to the first data unit according to a first intra prediction type using predetermined prediction information, and using a data unit adjacent to the data unit. Generating a second prediction value related to the second data unit according to the second intra prediction type, and a bit including coding information determined based on at least one of the first prediction value and the second prediction value A method of encoding a video picture by generating a stream is provided, wherein the bitstream includes predetermined prediction information.

一実施形態によるビデオ復号装置において、ビデオピクチャから、イントラ予測のためのデータ単位を決定するデータ単位決定部、ビットストリームから、データ単位を、所定予測情報を利用して予測する第1イントラ予測類型によって予測するか、あるいはデータ単位に隣接するデータ単位を利用して予測する第2イントラ予測類型によって予測するかということを示すイントラ予測類型情報を獲得するビットストリーム獲得部、並びにビットストリームから獲得されたイントラ予測類型情報に基づいて、第1イントラ予測類型によって予測される第1データ単位、及び第2イントラ予測類型によって予測される第2データ単位を決定し、所定予測情報を利用して、第1イントラ予測類型による第1データ単位に係わる第1予測値を生成し、データ単位に隣接するデータ単位を利用して、第2イントラ予測類型による第2データ単位に係わる第2予測値を生成する復号部を含むビデオ復号装置が提供される。   In a video decoding apparatus according to an embodiment, a data unit determination unit that determines a data unit for intra prediction from a video picture, and a first intra prediction type that predicts a data unit from a bitstream using predetermined prediction information Or a bitstream acquisition unit that acquires intra prediction type information indicating whether to predict using a second intra prediction type that is predicted using a data unit adjacent to the data unit, or obtained from the bitstream. The first data unit predicted by the first intra prediction type and the second data unit predicted by the second intra prediction type are determined based on the intra prediction type information, and the predetermined prediction information is used to determine the first data unit. A first prediction value related to the first data unit according to one intra prediction type is generated. Using data units adjacent to the data unit, the video decoding apparatus is provided including a decoder for generating a second prediction value according to the second data unit by the second intra prediction types.

一実施形態によるビデオ符号化装置において、所定予測情報を利用して予測する第1イントラ予測類型による第1データ単位、及び第2データ単位に隣接するデータ単位を利用して予測する第2イントラ予測類型による第2データ単位を決定するデータ単位決定部、所定予測情報を利用して、第1イントラ予測類型による第1データ単位に係わる第1予測値を生成し、データ単位に隣接するデータ単位を利用して、第2イントラ予測類型による第2データ単位に係わる第2予測値を生成し、第1予測値及び第2予測値のうち少なくとも一つに基づいて決定される符号化情報を含むビットストリームを生成してビデオピクチャを符号化するビットストリーム生成部、並びに符号化部を含み、該ビットストリームは、所定予測情報を含むビデオ符号化装置が提供される。   In the video encoding apparatus according to the embodiment, the second intra prediction is predicted using the first data unit based on the first intra prediction type that is predicted using the predetermined prediction information and the data unit adjacent to the second data unit. A data unit determining unit that determines a second data unit according to a type, and using a predetermined prediction information, generates a first prediction value related to the first data unit according to a first intra prediction type, and selects a data unit adjacent to the data unit. A bit including encoding information generated based on at least one of the first predicted value and the second predicted value by generating a second predicted value related to the second data unit using the second intra prediction type A bit stream generation unit that generates a stream and encodes a video picture, and an encoding unit, and the bit stream includes a video code including predetermined prediction information. Apparatus is provided.

使用可能な参照値を拡張させて利用ことにより、映像の特性に適応的なデータ単位を利用することができ、それにより、効率的な映像の符号化及び復号が可能であり、復元映像の画質向上が可能である。   By expanding the available reference values, it is possible to use data units that are adaptive to the characteristics of the video, thereby enabling efficient video encoding and decoding, and the quality of the restored video. Improvement is possible.

一実施形態により、ブロック形態情報及び分割形態情報のうち少なくとも一つに基づいて映像を復号することができる映像復号装置のブロック図である。1 is a block diagram of a video decoding apparatus capable of decoding video based on at least one of block configuration information and division configuration information according to an embodiment. 一実施形態により、ブロック形態情報及び分割形態情報のうち少なくとも一つに基づいて映像を符号化することができる映像符号化装置のブロック図である。1 is a block diagram of a video encoding apparatus capable of encoding a video based on at least one of block configuration information and division configuration information according to an embodiment. 一実施形態により、第1イントラ予測類型によって予測される第1データ単位、及び第2イントラ予測類型によって予測される第2データ単位を決定する過程を図示する図面である。4 is a diagram illustrating a process of determining a first data unit predicted by a first intra prediction type and a second data unit predicted by a second intra prediction type according to an embodiment. 一実施形態により、所定予測情報に基づいた第1イントラ予測類型によって、第1データ単位を予測する過程を図示する図面である。6 is a diagram illustrating a process of predicting a first data unit according to a first intra prediction type based on predetermined prediction information according to an exemplary embodiment. 一実施形態により、隣接するデータ単位を利用して予測する第2イントラ予測類型によって、第2データ単位を予測する過程を図示する図面である。6 is a diagram illustrating a process of predicting a second data unit according to a second intra prediction type that predicts using adjacent data units according to an exemplary embodiment. 一実施形態により、左側及び上端に隣接するデータ単位、並びに右側及び下端に隣接するデータ単位を利用して予測する第2イントラ予測類型によって、第2データ単位を予測する過程を図示する図面である。6 is a diagram illustrating a process of predicting a second data unit according to a second intra prediction type predicted using a data unit adjacent to a left side and an upper end and a data unit adjacent to a right side and a lower end according to an exemplary embodiment. . 一実施形態により、データ単位に対して、第1イントラ予測類型及び第2イントラ予測類型が決定される過程を図示する図面である。4 is a diagram illustrating a process of determining a first intra prediction type and a second intra prediction type for a data unit according to an embodiment. 一実施形態によるイントラ予測類型情報を利用したビデオ復号方法のフローチャートである。5 is a flowchart of a video decoding method using intra prediction type information according to an embodiment. 一実施形態による、イントラ予測類型情報を利用したビデオ符号化方法のフローチャートである。4 is a flowchart of a video encoding method using intra prediction type information according to an embodiment. 一実施形態により、第1符号化単位が分割されて決定された非正方形状の第2符号化単位が所定条件を満足する場合、第2符号化単位が分割される形態が制限されることを図示する図面である。According to an embodiment, when the non-square-shaped second coding unit determined by dividing the first coding unit satisfies a predetermined condition, the form in which the second coding unit is divided is limited. It is drawing to illustrate. 一実施形態により、分割形態情報が4個の正方形状の符号化単位に分割することを示すことができない場合、正方形状の符号化単位が分割される過程を図示する図面である。6 is a diagram illustrating a process of dividing a square-shaped coding unit when the division pattern information cannot indicate that it is divided into four square-shaped coding units according to an exemplary embodiment. 一実施形態により、複数個の符号化単位間の処理順序が符号化単位の分割過程によって異なりうることを図示した図面である。6 is a diagram illustrating a processing order between a plurality of encoding units according to an embodiment, which may vary according to a division process of the encoding units. 一実施形態により、符号化単位が再帰的に分割されて複数個の符号化単位が決定される場合、符号化単位の形態及び大きさが変わることによって符号化単位の深度が決定される過程を図示する図面である。According to an embodiment, when a coding unit is recursively divided to determine a plurality of coding units, a process of determining a coding unit depth by changing a shape and size of the coding unit. It is drawing to illustrate. 一実施形態により、符号化単位の形態及び大きさによって決定される深度及び符号化単位区分のためのインデックス(PID:part index)を図示する図面である。6 is a diagram illustrating a depth and an index (PID) for a coding unit partition determined by a coding unit type and size according to an exemplary embodiment; 一実施形態により、ピクチュアに含まれる複数個の所定データ単位によって複数個の符号化単位が決定されたことを図示する図面である。6 is a diagram illustrating a plurality of encoding units determined by a plurality of predetermined data units included in a picture according to an exemplary embodiment. 一実施形態により、ピクチャに含まれる基準符号化単位の決定順序を決定する基準になるプロセッシングブロックを図示する図面である。6 is a diagram illustrating a processing block serving as a reference for determining a determination order of reference coding units included in a picture according to an exemplary embodiment. 一実施形態により、符号化単位が分割される形態の組み合わせがピクチャごとに互いに異なる場合、それぞれのピクチャごとに決定される符号化単位を図示する図面である。6 is a diagram illustrating a coding unit determined for each picture when combinations of modes in which the coding unit is divided are different for each picture according to an embodiment. 一実施形態により、バイナリー(binary)コードで表現される分割形態情報に基づいて決定される符号化単位の多様な形態を図示する図面である。4 is a diagram illustrating various forms of a coding unit determined based on partition form information represented by a binary code according to an exemplary embodiment. 一実施形態により、バイナリーコードで表現される分割形態情報に基づいて決定される符号化単位の他の形態を図示する図面である。6 is a diagram illustrating another form of a coding unit determined based on division form information expressed in binary code according to an embodiment. ループフィルタリングを行う映像符号化・復号システムのブロック図である。1 is a block diagram of a video encoding / decoding system that performs loop filtering. FIG. 一実施形態による最大符号化単位に含まれるフィルタリング単位の一例、及びフィルタリング単位のフィルタリング遂行情報を図示する図面である。6 is a diagram illustrating an example of a filtering unit included in a maximum coding unit and filtering performance information of the filtering unit according to an embodiment. 一実施形態により、所定符号化方法によって決定された符号化単位間の併合(merge)または分割(split)が行われる過程を図示する図面である。6 is a diagram illustrating a process of merging or splitting between coding units determined by a predetermined coding method according to an embodiment. 一実施形態による符号化単位のZスキャン順序によるインデックスを図示する図面である。6 is a diagram illustrating an index according to a Z-scan order of encoding units according to an exemplary embodiment. 一実施形態による符号化単位のイントラ予測のための参照サンプルを図示する図面である。2 is a diagram illustrating reference samples for intra prediction of a coding unit according to an embodiment.

本発明の利点、特徴、及びそれらを達成する方法は、添付される図面と共に説明する実施形態を参照すれば、明確になるであろう。しかし、本発明は、以下で開示される実施形態に限定されるものではなく、互いに異なる多様な形態に具現され、ただし、本実施形態は、本発明の開示を完全なものにし、本発明が属する技術分野で当業者に、発明の範疇を完全に知らせるために提供されるものである。   The advantages, features, and methods of achieving the same of the present invention will become apparent with reference to the embodiments described in conjunction with the accompanying drawings. However, the present invention is not limited to the embodiments disclosed below, and may be embodied in various forms different from each other. However, the present embodiments complete the disclosure of the present invention, and It is provided to provide those skilled in the art with full knowledge of the scope of the invention.

本明細書で使用される用語について簡略に説明し、本発明について具体的に説明する。   The terms used in this specification will be briefly described, and the present invention will be specifically described.

本発明で使用される用語は、本発明での機能を考慮しながら、可能な限り現在汎用される一般的な用語を選択したが、それは、関連分野の当業者の意図、判例、または新たな技術の出現などによっても異なる。また、特定の場合、出願人が任意に選定した用語もあり、その場合、当該発明の説明部分で詳細にその意味を記載する。従って、本発明で使用される用語は、単純な用語の名称ではない、その用語が有する意味、及び本発明の全般にわたった内容を基に定義されなければならない。   The terms used in the present invention have been selected as general terms that are currently widely used as much as possible in view of the functions of the present invention, but they are not intended by those skilled in the relevant arts. It depends on the appearance of technology. In addition, in certain cases, there are terms arbitrarily selected by the applicant, and in that case, the meaning is described in detail in the explanation part of the invention. Therefore, the terms used in the present invention should be defined based on the meanings of the terms, not the simple term names, and the contents of the present invention in general.

本明細書での単数の表現は、文脈上明白に単数であると特定しない限り、複数の表現を含む。   As used herein, the singular forms include the plural unless the context clearly dictates otherwise.

明細書全体において、ある部分がある構成要素を「含む」とするとき、それは、特別に反対となる記載がない限り、他の構成要素を除くものではなく、他の構成要素をさらに含んでもよいということを意味する。また、明細書で使用される「部」という用語は、ソフトウェア構成要素、FPGA(field−programmable gate array)またはASIC(application specific integrated circuit)のようなハードウェア構成要素を意味し、「部」は、ある役割を行う。しかしながら、「部」は、ソフトウェアまたはハードウェアに限定される意味ではない。「部」は、アドレッシングすることができる記録媒体にあるようにも構成されるが、1またはそれ以上のプロセッサを再生させるようにも構成される。従って、一例として、「部」は、ソフトウェア構成要素、客体志向ソフトウェア構成要素、クラス構成要素及びタスク構成要素のような構成要素、並びにプロセス、関数、属性、プロシージャ、サブルーチン、プログラムコードのセグメント、ドライバ、ファームウェア、マイクロコード、回路、データ、データベース、データ構造、テーブル、アレイ及び変数を含む。構成要素及び「部」のうち提供される機能は、さらに少数の構成要素及び「部」に結合されたり、さらなる構成要素及び「部」にさらに分離さたりもする。   Throughout the specification, when a part “includes” a component, it does not exclude other components and may further include other components unless specifically stated to the contrary. It means that. Further, the term “part” used in the specification means a hardware component such as a software component, a field-programmable gate array (FPGA) or an application specific integrated circuit (ASIC). Play a role. However, the “unit” is not limited to software or hardware. The “part” is also configured to be in a recording medium that can be addressed, but is also configured to play back one or more processors. Thus, by way of example, “parts” are software components, object-oriented software components, components such as class components and task components, as well as processes, functions, attributes, procedures, subroutines, program code segments, drivers. , Firmware, microcode, circuits, data, databases, data structures, tables, arrays and variables. The functions provided among the components and “parts” may be combined into a smaller number of components and “parts”, or may be further separated into further components and “parts”.

以下、「映像」は、ビデオの静止映像のような静的イメージであるか、または動画、すなわち、ビデオそれ自体のような動的イメージを示すことができる。   Hereinafter, “video” can be a static image, such as a still video of a video, or a dynamic image, such as a video, ie, the video itself.

以下、「サンプル」は、映像のサンプリング位置に割り当てられたデータであり、プロセッシング対象になるデータを意味する。例えば、空間領域の映像におけるピクセル値、変換領域上の変換係数がサンプルでもある。かような少なくとも1つのサンプルを含む単位をブロックと定義することができる。   Hereinafter, “sample” is data assigned to a sampling position of a video and means data to be processed. For example, the pixel value in the image in the spatial domain and the conversion coefficient on the conversion domain are also samples. Such a unit including at least one sample can be defined as a block.

以下では、添付図面を参照し、本発明の実施形態について、本発明が属する技術分野で当業者が容易に実施することができるように詳細に説明する。そして、図面において、本発明について明確に説明するために、説明と関係のない部分は省略する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement the embodiments of the present invention. In the drawings, portions that are not related to the description are omitted in order to clearly describe the present invention.

図1は、一実施形態によって、ブロック形態情報及び分割形態情報のうち少なくとも一つに基づいて映像を復号することができる映像復号装置100のブロック図を図示する。   FIG. 1 illustrates a block diagram of a video decoding apparatus 100 capable of decoding a video based on at least one of block form information and division form information according to an embodiment.

図1を参照すれば、映像復号装置100は、一実施形態によって、ビデオピクチャから、イントラ予測のためのデータ単位を決定するデータ単位決定部110、ビットストリームから、所定予測情報を利用して予測する第1イントラ予測類型によって予測するか、あるいはデータ単位に隣接するデータ単位を利用して予測する第2イントラ予測類型によって予測するかということを示すイントラ予測類型情報を獲得するビットストリーム獲得部120、獲得されたイントラ予測類型情報に基づいて、第1イントラ予測類型によって予測される第1データ単位、及び第2イントラ予測類型によって予測される第2データ単位を決定し、所定予測情報を利用して、第1イントラ予測類型による第1データ単位に係わる第1予測値を生成し、データ単位に隣接するデータ単位を利用して、第2イントラ予測類型による前記第2データ単位に係わる第2予測値を生成する復号部130を含んでもよい。一実施形態によって、映像復号装置100のビットストリーム獲得部120において、イントラ予測類型情報を獲得した場合、映像復号装置100の復号部130は、イントラ予測類型情報に基づいて、第1イントラ予測類型によって、第1データ単位に係わる第1予測値を生成することができる。   Referring to FIG. 1, according to an embodiment, the video decoding apparatus 100 performs prediction using a predetermined prediction information from a data unit determining unit 110 that determines a data unit for intra prediction from a video picture, and a bit stream. A bitstream acquisition unit 120 that acquires intra prediction type information indicating whether to perform prediction based on a first intra prediction type to be predicted or prediction based on a second intra prediction type that is predicted using a data unit adjacent to the data unit. Determining a first data unit predicted by the first intra prediction type and a second data unit predicted by the second intra prediction type based on the acquired intra prediction type information, and using the predetermined prediction information Generating a first predicted value related to the first data unit according to the first intra prediction type, Using data units adjacent to the position, it may include a decoding unit 130 for generating a second prediction value according to the second data unit by the second intra prediction types. When the intra prediction type information is acquired in the bitstream acquisition unit 120 of the video decoding device 100 according to an embodiment, the decoding unit 130 of the video decoding device 100 performs the first intra prediction type based on the intra prediction type information. The first predicted value related to the first data unit can be generated.

一実施形態によって、映像復号装置100のデータ単位決定部110は、イントラ予測のためのデータ単位を決定することができる。例えば、データ単位は、コーディングユニット(coding unit)、予測ユニット(prediction unit)または変換ユニット(transform unit)のうち一つでもある。   According to an embodiment, the data unit determination unit 110 of the video decoding device 100 may determine a data unit for intra prediction. For example, the data unit may be one of a coding unit, a prediction unit, or a transform unit.

一実施形態によって、映像復号装置100のビットストリーム獲得部120は、決定されたデータ単位を、第1イントラ予測類型によって予測するか、あるいは第2イントラ予測類型によって予測するかということを示すイントラ予測類型情報を獲得することができる。第1イントラ予測類型による予測は、周辺データ単位ではない他の情報を利用して、イントラ予測を行うものでもある。第2イントラ予測類型による予測は、周辺データ単位を利用してイントラ予測を行うものでもある。   According to an exemplary embodiment, the bitstream acquisition unit 120 of the video decoding apparatus 100 may predict whether the determined data unit is predicted based on the first intra prediction type or the second intra prediction type. Type information can be acquired. Prediction based on the first intra prediction type is to perform intra prediction using other information that is not a peripheral data unit. Prediction based on the second intra prediction type is to perform intra prediction using peripheral data units.

一実施形態によって、映像復号装置100の復号部130は、イントラ予測類型情報に基づいて、第1イントラ予測類型によって、第1データ単位に係わる第1予測値を生成することができる。復号部130は、第2イントラ予測類型によって、第2データ単位に係わる第2予測値を生成することができる。例えば、復号部130は、第2データ単位が隣接するデータ単位のうち、左側及び上端のデータ単位、または右側及び下端のデータ単位を利用して、予測値を生成することができる。   According to an embodiment, the decoding unit 130 of the video decoding device 100 may generate a first prediction value related to a first data unit according to the first intra prediction type based on the intra prediction type information. The decoding unit 130 can generate a second predicted value related to the second data unit according to the second intra prediction type. For example, the decoding unit 130 may generate the prediction value using the left and upper data units or the right and lower data units among the data units adjacent to the second data unit.

図3は、一実施形態によって、第1イントラ予測類型によって予測される第1データ単位、及び第2イントラ予測類型によって予測される第2データ単位を決定する過程を図示する。   FIG. 3 illustrates a process of determining a first data unit predicted by a first intra prediction type and a second data unit predicted by a second intra prediction type according to an embodiment.

一実施形態によって、復号部130は、イントラ予測類型情報に基づいて、第1イントラ予測類型によって予測される第1データ単位310、及び第2イントラ予測類型によって予測される第2データ単位320を決定することができる。例えば、予測されるデータ単位が周辺データ単位を利用して予測されるか、あるいは周辺データ単位に係わる情報ではない他の情報を利用して予測されるかということが決定される。   According to an embodiment, the decoding unit 130 determines the first data unit 310 predicted by the first intra prediction type and the second data unit 320 predicted by the second intra prediction type based on the intra prediction type information. can do. For example, it is determined whether the predicted data unit is predicted using the peripheral data unit or whether the predicted data unit is predicted using other information that is not information related to the peripheral data unit.

一実施形態により、復号部130は、周辺データ単位に係わる情報ではない他の情報を利用してデータ単位を予測することができる。例えば、復号部130は、スライスヘッダ、PPS(picture parameter set)またはSPS(sequence parameter set)に保存された指定された値を利用して予測を行うことができる。例えば、データ単位内の領域別に所定値をあらかじめ割り当てることができる。   According to an exemplary embodiment, the decoding unit 130 may predict a data unit using other information that is not information related to a peripheral data unit. For example, the decoding unit 130 may perform prediction using a specified value stored in a slice header, a PPS (picture parameter set), or an SPS (sequence parameter set). For example, a predetermined value can be assigned in advance for each area in the data unit.

図3を参照すれば、復号部130が、第1イントラ予測類型によって、第1データ単位310に対する予測を行った場合、復号部130は、第2イントラ予測類型によって、第2データ単位320に対する予測を行うことができる。例えば、第2データ単位320に対する予測は、第1イントラ予測類型によって予測された第1データ単位310に係わる情報を利用して行われる。例えば、第2データ単位320は、右側または下端に隣接するデータ単位のうち少なくとも一つを利用して予測される。   Referring to FIG. 3, when the decoding unit 130 performs prediction for the first data unit 310 according to the first intra prediction type, the decoding unit 130 predicts for the second data unit 320 according to the second intra prediction type. It can be performed. For example, the prediction for the second data unit 320 is performed using information related to the first data unit 310 predicted by the first intra prediction type. For example, the second data unit 320 is predicted using at least one of data units adjacent to the right side or the lower end.

一実施形態により、復号部130は、第2データ単位320に隣接する第1データ単位310のサンプル値の平均値でもって、第2データ単位320の予測値を生成することができる。または、復号部130は、第2データ単位320内の右側予測サンプルについては、右側に隣接する第1データ単位のサンプル値を利用して予測値を生成し、第2データ単位320内の下端予測サンプルについては、下端に隣接する第1データ単位のサンプル値を利用して、予測値を生成することができる。   According to an exemplary embodiment, the decoding unit 130 may generate a predicted value of the second data unit 320 using an average value of sample values of the first data unit 310 adjacent to the second data unit 320. Alternatively, for the right prediction sample in the second data unit 320, the decoding unit 130 generates a prediction value using the sample value of the first data unit adjacent to the right side, and lower end prediction in the second data unit 320. About a sample, a predicted value can be produced | generated using the sample value of the 1st data unit adjacent to a lower end.

一実施形態により、復号部130は、第2データ単位320内の予測サンプルについて、隣接するデータ単位との相対的な方向性に基づいて予測値を生成することができる。また、例えば、復号部130は、相対的な距離に対する加重値をサンプル値に適用し、第2データ単位320の予測値を生成することができる。   According to an embodiment, the decoding unit 130 may generate a prediction value for a prediction sample in the second data unit 320 based on a relative directionality with an adjacent data unit. For example, the decoding unit 130 can generate a predicted value of the second data unit 320 by applying a weight value for the relative distance to the sample value.

一実施形態により、復号部130は、右側に隣接する第1データ単位の参照サンプル、及び上端に隣接する第2データ単位の参照サンプルを利用して、第2データ単位320の予測値を生成することができる。例えば、復号部130は、異なるイントラ予測類型によって予測される第1データ単位及び第2データ単位の参照サンプルに対して、同一Intra_angularモードを適用し、予測するデータ単位の予測値を生成することができる。例えば、復号部130は、同一Intra_angularモードを適用しても、参照サンプルの種類、すなわち、第1データ単位の参照サンプルであるか、あるいは第2データ単位の参照サンプルであるかということにより、加重値を適用してデータ単位の予測値を生成することができる。   According to an embodiment, the decoding unit 130 generates a prediction value of the second data unit 320 using the reference sample of the first data unit adjacent to the right side and the reference sample of the second data unit adjacent to the upper end. be able to. For example, the decoding unit 130 may apply the same Intra_angular mode to the reference samples of the first data unit and the second data unit that are predicted by different intra prediction types, and generate a prediction value of the data unit to be predicted. it can. For example, even if the same Intra_angular mode is applied, the decoding unit 130 performs weighting according to the type of reference sample, that is, whether the reference sample is the first data unit or the second data unit. The value can be applied to generate a predicted value in data units.

図4は、一実施形態によって、所定予測情報に基づいた第1イントラ予測類型によって、第1データ単位を予測する過程を図示する。   FIG. 4 illustrates a process of predicting a first data unit according to a first intra prediction type based on predetermined prediction information according to an embodiment.

一実施形態によって、復号部130は、第1イントラ予測類型によって予測される第1データ単位420は、周辺データ単位に係わる情報ではない他の情報を利用しても予測される。例えば、第1データ単位420は、第1データ単位420が含まれた上位階層のデータ単位に隣接するサンプル値410を利用しても予測される。第1データ単位420が含まれた上位階層のデータ単位に隣接するサンプル値410は、CTU(coding tree unit)境界の周辺ピクセルに係わる情報、またはCU(coding unit)境界の周辺ピクセルに係わる情報を含んでもよい。CTU境界の周辺ピクセルに係わる情報を利用して予測を行う場合、予測対象単位は、CU、PU(prediction unit)、TU(transform unit)またはCTUでもある。CU境界の周辺ピクセルに係わる情報を利用して予測を行う場合、予測対象単位は、PU、TUまたはCUでもある。   According to an embodiment, the decoding unit 130 may predict the first data unit 420 predicted by the first intra prediction type using other information that is not information related to the peripheral data unit. For example, the first data unit 420 is also predicted by using the sample value 410 adjacent to the upper layer data unit in which the first data unit 420 is included. A sample value 410 adjacent to an upper layer data unit including the first data unit 420 includes information about pixels around a CTU (coding tree unit) boundary or information about pixels around a CU (coding unit) boundary. May be included. When prediction is performed using information related to pixels around the CTU boundary, the prediction target unit may be a CU, a PU (prediction unit), a TU (transform unit), or a CTU. When prediction is performed using information related to neighboring pixels at the CU boundary, the prediction target unit is also PU, TU, or CU.

一実施形態によって、復号部130は、第1データ単位420が含まれた上位階層のデータ単位に隣接する参照サンプルのサンプル値410の平均値でもって、第1データ単位420の予測値を生成することができる。例えば、復号部130は、第1データ単位420参照サンプルとの非連続性を除去するために、上位階層のデータ単位に隣接するサンプルに対してフィルタリングを行うことができる。例えば、復号部130は、上位階層のデータ単位の左側上端サンプル及び左側サンプル、または右側サンプルに、それぞれ異なるフィルタを取ることができる。   According to an exemplary embodiment, the decoding unit 130 generates a predicted value of the first data unit 420 using an average value of the sample values 410 of the reference samples adjacent to the upper-layer data unit including the first data unit 420. be able to. For example, the decoding unit 130 may perform filtering on a sample adjacent to a data unit in an upper layer in order to remove discontinuity from the first data unit 420 reference sample. For example, the decoding unit 130 may apply different filters to the upper left sample and the left sample or the right sample of the upper layer data unit.

一実施形態によって、復号部130は、第1データ単位420が含まれた上位階層のデータ単位に隣接する参照サンプルとの相対的な方向性に基づいて、Intra_angularモードを適用することにより、予測値を生成することができる。また、例えば、復号部130は、相対的な距離に係わる加重値をサンプル値に適用し、第1データ単位420の予測値を生成することができる。   According to an exemplary embodiment, the decoding unit 130 may apply the intra_angular mode based on a relative direction with a reference sample adjacent to a data unit of an upper layer including the first data unit 420 to obtain a predicted value. Can be generated. In addition, for example, the decoding unit 130 can generate a predicted value of the first data unit 420 by applying a weight value related to the relative distance to the sample value.

図5は、一実施形態によって、隣接するデータ単位を利用して予測する第2イントラ予測類型によって、第2データ単位を予測する過程を図示する。   FIG. 5 illustrates a process of predicting a second data unit according to a second intra prediction type that predicts using adjacent data units according to an exemplary embodiment.

一実施形態によって、復号部130は、データ単位に隣接するデータ単位を利用して、第2イントラ予測類型によって予測を行うことができる。例えば、データ単位510に対する予測を行う場合、データ単位510の下端に隣接する第1イントラ予測類型によって符号化されたデータ単位530に係わる情報511を利用することができる。例えば、データ単位520に対する予測を行う場合、データ単位520の右側に隣接する第1イントラ予測類型によって符号化されたデータ単位530に係わる情報521を利用することができる。   According to an exemplary embodiment, the decoding unit 130 may perform prediction using a second intra prediction type using a data unit adjacent to the data unit. For example, when prediction is performed on the data unit 510, information 511 related to the data unit 530 encoded by the first intra prediction type adjacent to the lower end of the data unit 510 can be used. For example, when performing prediction on the data unit 520, the information 521 related to the data unit 530 encoded by the first intra prediction type adjacent to the right side of the data unit 520 can be used.

一実施形態によって、復号部130は、データ単位510内の予測されるサンプルの位置により、左側または上端の距離が近い場合、左側及び上端のサンプル値を利用して予測を行う。または、一実施形態によって、復号部130は、データ単位510内の予測されるピクセルの位置により、右側または下端の距離が近い場合、右側及び下端のサンプル値を利用して予測を行う。   According to an exemplary embodiment, the decoding unit 130 may perform prediction using the left and upper sample values when the distance between the left and upper ends is short depending on the position of the predicted sample in the data unit 510. Alternatively, according to an exemplary embodiment, the decoding unit 130 may perform prediction using the right and bottom sample values when the distance between the right side and the bottom end is short depending on the predicted pixel position in the data unit 510.

一実施形態によって、復号部130は、データ単位510の周辺参照サンプルの平均値でもって、データ単位510の予測値を生成することができる。例えば、復号部130は、左側に隣接する参照サンプル、及び上端に隣接する参照サンプルの平均値、並びに下端に隣接する参照サンプル、及び右側に隣接する参照サンプルの平均値を利用して、データ単位内の参照サンプルの予測値を生成することができる。例えば、復号部130は、データ単位510内の予測サンプルと、周辺参照サンプルとの距離に係わる加重値をそれぞれの平均値に適用し、データ単位内の予測サンプルの予測値を生成することができる。   According to an embodiment, the decoding unit 130 may generate a predicted value of the data unit 510 with an average value of the peripheral reference samples of the data unit 510. For example, the decoding unit 130 uses the average value of the reference sample adjacent to the left side and the reference sample adjacent to the upper end, the reference sample adjacent to the lower end, and the average value of the reference sample adjacent to the right side, to a data unit. The predicted value of the reference sample in can be generated. For example, the decoding unit 130 may apply a weight value related to the distance between the prediction sample in the data unit 510 and the peripheral reference sample to each average value to generate a prediction value of the prediction sample in the data unit. .

一実施形態によって、復号部130は、データ単位510と、データ単位周辺参照サンプルの方向性とを考慮し、予測サンプルの予測値を生成することができる。データ単位510と、データ単位周辺参照サンプルの方向性とを考慮する方法については、図6で後述するようにする。   According to an embodiment, the decoding unit 130 may generate a prediction value of a prediction sample in consideration of the data unit 510 and the directionality of the data unit peripheral reference sample. A method for considering the data unit 510 and the directionality of the data unit peripheral reference sample will be described later with reference to FIG.

一実施形態によって、復号部130は、データ単位520内の予測サンプルに対して隣接する参照サンプルのうち1参照サンプルを、1行に対する予測サンプル値として利用することができる。例えば、復号部130は、データ単位510の下端に隣接する参照サンプルのうち1参照サンプルを、データ単位520内の垂直方向の1行全体に対する予測サンプル値として利用することができる。例えば、復号部130は、データ単位520の右側に隣接する参照サンプルのうち1参照サンプルを、データ単位520内の水平方向の1行全体に対する予測サンプル値として利用することができる。   According to an embodiment, the decoding unit 130 may use one reference sample among reference samples adjacent to the prediction sample in the data unit 520 as a prediction sample value for one row. For example, the decoding unit 130 can use one reference sample among the reference samples adjacent to the lower end of the data unit 510 as a predicted sample value for the entire row in the data unit 520 in the vertical direction. For example, the decoding unit 130 may use one reference sample among reference samples adjacent to the right side of the data unit 520 as a predicted sample value for the entire horizontal row in the data unit 520.

図6は、一実施形態によって、左側及び上端に隣接するデータ単位、並びに右側及び下端に隣接するデータ単位を利用して予測する第2イントラ予測類型によって、第2データ単位を予測する過程を図示する。   FIG. 6 illustrates a process of predicting a second data unit according to a second intra prediction type using a data unit adjacent to a left side and an upper end and a data unit adjacent to a right side and a lower end according to an embodiment. To do.

図6を参照すれば、第2イントラ予測類型による第2データ単位に係わる第2予測値を生成する場合、復号部130は、左側データ単位及び上端データ単位のうち少なくとも一つを利用して、予測値を生成することができる。または、復号部130は、右側データ単位及び下端データ単位のうち少なくとも一つを利用して、予測値を生成することができる。復号部130は、左側データ単位及び上端データ単位のうち少なくとも一つを利用して生成された予測値を、同一予測モード631を利用して、距離によって、バイリニア(bi−linear)で補間し、新たな予測値611を生成することができる。   Referring to FIG. 6, when generating the second prediction value related to the second data unit according to the second intra prediction type, the decoding unit 130 uses at least one of the left data unit and the upper data unit, Predicted values can be generated. Alternatively, the decoding unit 130 can generate a prediction value using at least one of the right data unit and the lower data unit. The decoding unit 130 interpolates a prediction value generated using at least one of the left data unit and the upper data unit in a bi-linear manner according to the distance using the same prediction mode 631. A new predicted value 611 can be generated.

一実施形態によって、復号部130は、既存予測モード641以外に、新たな予測モード642に基づいて、右側データ単位及び下端データ単位のうち少なくとも一つを利用して、予測値621を生成することができる。例えば、復号部130は、既存35個の予測モード640において、32個の予測モードを追加した新たな67個の予測モード640を利用して、右側及び下端のデータ単位に隣接するサンプル値を利用することができる。   According to an embodiment, the decoding unit 130 generates the prediction value 621 using at least one of the right data unit and the lower data unit based on the new prediction mode 642 in addition to the existing prediction mode 641. Can do. For example, in the existing 35 prediction modes 640, the decoding unit 130 uses the new 67 prediction modes 640 obtained by adding 32 prediction modes, and uses the sample values adjacent to the right and bottom data units. can do.

一実施形態によって、復号部130は、左側データ単位及び上端データ単位のうち少なくとも一つを利用して生成された予測値、並びに右側データ単位及び下端データ単位のうち少なくとも一つを利用して生成された予測値に対して、境界部分を緩和するために、フィルタリングを行うことができる。例えば、復号部130は、2つのモードで参照されていない隣接したサンプルと予測サンプルとの非連続性を除去するためのフィルタリングを行うことができる。   According to an exemplary embodiment, the decoding unit 130 may generate a prediction value generated using at least one of the left data unit and the upper data unit, and at least one of the right data unit and the lower data unit. Filtering can be performed on the predicted value to reduce the boundary portion. For example, the decoding unit 130 may perform filtering to remove discontinuity between adjacent samples and prediction samples that are not referenced in the two modes.

図7は、一実施形態によって、データ単位に対して、第1イントラ予測類型及び第2イントラ予測類型が決定される過程を図示する。   FIG. 7 illustrates a process of determining a first intra prediction type and a second intra prediction type for a data unit according to an embodiment.

一実施形態によって、復号部130は、イントラ予測類型情報に基づいて、それぞれのCU、PUまたはTUに対して、第1イントラ予測類型によって予測値を生成するか、あるいは第2イントラ予測類型によって予測値を生成するかということを決定することができる。   According to one embodiment, the decoding unit 130 generates a prediction value according to the first intra prediction type for each CU, PU, or TU based on the intra prediction type information, or predicts according to the second intra prediction type. It can be decided whether to generate a value.

一実施形態によって、復号部130は、Intra_DCモードについては、第1イントラ予測類型によって予測を行い、Intra_DCモード以外に他のモードについては、第2イントラ予測類型によって予測を行うように決定することができる。   According to an embodiment, the decoding unit 130 may determine to perform prediction based on the first intra prediction type for the Intra_DC mode, and to perform prediction based on the second intra prediction type for other modes besides the Intra_DC mode. it can.

一実施形態によって、復号部130は、データ単位を、第1データ単位または第2データ単位のうちいずれか一つに分類するかということを示すフラグを獲得し、獲得されたフラグが、第1データ単位または第2データ単位のうちいずれか一つに分類すると示す場合、第1イントラ予測類型または第2イントラ予測類型によって、データ単位に対する予測値を生成することができる。   According to an embodiment, the decoding unit 130 acquires a flag indicating whether the data unit is classified as one of the first data unit and the second data unit, and the acquired flag is the first data unit. When it is indicated that the data unit is classified into one of the data unit and the second data unit, a prediction value for the data unit can be generated according to the first intra prediction type or the second intra prediction type.

図8は、一実施形態による、イントラ予測類型情報を利用したビデオ復号方法のフローチャートを図示する。   FIG. 8 illustrates a flowchart of a video decoding method using intra prediction type information according to an embodiment.

段階S810において、映像復号装置100のデータ単位決定部110は、ビデオピクチャから、イントラ予測のためのデータ単位を決定することができる。   In step S810, the data unit determination unit 110 of the video decoding apparatus 100 can determine a data unit for intra prediction from a video picture.

段階S820において、映像復号装置100のビットストリーム獲得部120は、ビットストリームから、データ単位を、所定予測情報を利用して予測する第1イントラ予測類型によって予測するか、あるいは前記データ単位に隣接するデータ単位を利用して予測する第2イントラ予測類型によって予測するかということを示すイントラ予測類型情報を獲得することができる。   In step S820, the bitstream acquisition unit 120 of the video decoding apparatus 100 predicts a data unit from the bitstream using a first intra prediction type that is predicted using predetermined prediction information, or is adjacent to the data unit. It is possible to acquire intra prediction type information indicating whether to predict using the second intra prediction type that is predicted using a data unit.

段階S830において、映像復号装置100の復号部130は、ビットストリームから獲得されたイントラ予測類型情報に基づいて、第1イントラ予測類型によって予測される第1データ単位、及び第2イントラ予測類型によって予測される第2データ単位を決定することができる。   In step S830, the decoding unit 130 of the video decoding apparatus 100 performs prediction based on the first intra prediction type and the second intra prediction type based on the intra prediction type information acquired from the bitstream. The second data unit to be performed can be determined.

段階S840において、映像復号装置100の復号部130は、所定予測情報を利用して、第1イントラ予測類型による第1データ単位に係わる第1予測値を生成することができる。   In step S840, the decoding unit 130 of the video decoding apparatus 100 may generate a first prediction value related to a first data unit according to a first intra prediction type using predetermined prediction information.

段階S850において、映像復号装置100の復号部130は、データ単位に隣接するデータ単位を利用して、第2イントラ予測類型による第2データ単位に係わる第2予測値を生成することができる。   In step S850, the decoding unit 130 of the video decoding apparatus 100 may generate a second predicted value related to the second data unit according to the second intra prediction type using a data unit adjacent to the data unit.

図10は、一実施形態によって、映像復号装置100が、第1符号化単位1000が分割されて決定された非正方形状の第2符号化単位が所定条件を満足する場合、第2符号化単位が分割される形態が制限されることを図示する。   FIG. 10 illustrates that, according to an embodiment, the video decoding apparatus 100 may use the second coding unit when the non-square second coding unit determined by dividing the first coding unit 1000 satisfies a predetermined condition. It is illustrated that the form in which is divided is limited.

一実施形態によって、復号部130は、ビットストリーム獲得部120を介して獲得したブロック形態情報及び分割形態情報のうち少なくとも一つに基づいて、正方形状の第1符号化単位1000を、非正方形状の第2符号化単位1010a,1010b,1020a,1020bに分割すると決定することができる。第2符号化単位1010a,1010b,1020a,1020bは、独立しても分割される。それによって復号部130は、第2符号化単位1010a,1010b,1020a,1020bそれぞれに係わるブロック形態情報及び分割形態情報のうち少なくとも一つに基づいて、複数個の符号化単位に分割するか、あるいは分割しないと決定することができる。一実施形態によって、復号部130は、垂直方向に第1符号化単位1000が分割されて決定された非正方形状の左側第2符号化単位1010aを水平方向に分割し、第3符号化単位1012a,1012bを決定することができる。ただし、復号部130は、左側第2符号化単位1010aを水平方向に分割した場合、右側第2符号化単位1010bは、左側第2符号化単位1010aが分割された方向と同一に、水平方向に分割されることがないように制限することができる。もし右側第2符号化単位1010bが同一方向に分割され、第3符号化単位1014a,1014bが決定された場合、左側第2符号化単位1010a及び右側第2符号化単位1010bが水平方向にそれぞれ独立して分割されることにより、第3符号化単位1012a,1012b,1014a,1014bが決定される。しかし、それは、復号部130がブロック形態情報及び分割形態情報のうち少なくとも一つに基づいて、第1符号化単位1000を4個の正方形状の第2符号化単位1030a,1030b,1030c,1030dで分割したところと同一結果であり、それは、映像復号側面で非効率的である。   According to an embodiment, the decoding unit 130 may convert the square-shaped first coding unit 1000 into a non-square shape based on at least one of the block form information and the division form information acquired through the bitstream acquisition unit 120. Can be determined to be divided into second encoding units 1010a, 1010b, 1020a, and 1020b. The second coding units 1010a, 1010b, 1020a, 1020b are divided even if they are independent. Accordingly, the decoding unit 130 may divide into a plurality of coding units based on at least one of block form information and division form information related to the second coding units 1010a, 1010b, 1020a, and 1020b, or It can be decided not to divide. According to an exemplary embodiment, the decoding unit 130 may horizontally divide the second non-square second coding unit 1010a determined by dividing the first coding unit 1000 in the vertical direction, and may perform third coding unit 1012a. , 1012b can be determined. However, when the decoding unit 130 divides the left second coding unit 1010a in the horizontal direction, the right second coding unit 1010b has the same horizontal direction as the left second coding unit 1010a. It can be limited so that it is not divided. If the right second coding unit 1010b is divided in the same direction and the third coding units 1014a and 1014b are determined, the left second coding unit 1010a and the right second coding unit 1010b are independent in the horizontal direction. Thus, the third encoding units 1012a, 1012b, 1014a, and 1014b are determined. However, the decoding unit 130 converts the first coding unit 1000 into four square-shaped second coding units 1030a, 1030b, 1030c, and 1030d based on at least one of the block form information and the division form information. This is the same result as the division, which is inefficient on the video decoding side.

一実施形態によって、復号部130は、水平方向に、第1符号化単位900が分割されて決定された非正方形状の第2符号化単位1020aまたは1020bを垂直方向に分割し、第3符号化単位1022a,1022b,1024a,1024bを決定することができる。ただし、復号部130は、第2符号化単位のうち一つ(例えば、上端第2符号化単位1020a)を垂直方向に分割した場合、前述の理由により、他の第2符号化単位(例えば、下端符号化単位1020b)は、上端第2符号化単位1020aが分割された方向と同一に、垂直方向に分割されることがないように制限することができる。   According to one embodiment, the decoding unit 130 divides the second encoding unit 1020a or 1020b having a non-square shape determined by dividing the first coding unit 900 in the horizontal direction in the vertical direction, and performs third coding. Units 1022a, 1022b, 1024a, and 1024b can be determined. However, when the decoding unit 130 divides one of the second coding units (for example, the upper-end second coding unit 1020a) in the vertical direction, the decoding unit 130 has another second coding unit (for example, The lower end coding unit 1020b) may be limited so that it is not divided in the vertical direction in the same direction as the upper end second coding unit 1020a is divided.

図11は、一実施形態によって、分割形態情報が4個の正方形状の符号化単位に分割することを示すことができない場合、映像復号装置100が、正方形状の符号化単位を分割する過程を図示する。   FIG. 11 illustrates a process in which the video decoding apparatus 100 divides a square-shaped coding unit when the division-type information cannot indicate that it is divided into four square-shaped coding units according to an embodiment. Illustrated.

一実施形態によって、復号部130は、ブロック形態情報及び分割形態情報のうち少なくとも一つに基づいて、第1符号化単位1100を分割し、第2符号化単位1110a,1110b,1120a,1120bなどを決定することができる。該分割形態情報には、符号化単位が分割される多様な形態に係わる情報が含まれもするが、多様な形態に係わる情報には、正方形状の4個の符号化単位に分割するための情報が含まれない場合がある。かような分割形態情報によれば、復号部130は、正方形状の第1符号化単位1100を、4個の正方形状の第2符号化単位1130a,1130b,1130c,1130dに分割することができない。該分割形態情報に基づいて、復号部130は、非正方形状の第2符号化単位1110a,1110b,1120a,1120bなどを決定することができる。   According to an embodiment, the decoding unit 130 divides the first coding unit 1100 based on at least one of the block form information and the division form information, and obtains the second coding units 1110a, 1110b, 1120a, 1120b, and the like. Can be determined. The division form information may include information related to various forms in which the coding unit is divided, but the information related to various forms includes the information for dividing into four square-shaped coding units. Information may not be included. According to such division form information, the decoding unit 130 cannot divide the square first coding unit 1100 into four square second coding units 1130a, 1130b, 1130c, and 1130d. . Based on the division form information, the decoding unit 130 can determine non-square second coding units 1110a, 1110b, 1120a, 1120b, and the like.

一実施形態によって、復号部130は、非正方形状の第2符号化単位1110a,1110b,1120a,1120bなどをそれぞれ独立して分割することができる。再帰的な方法を介して、第2符号化単位1110a,1110b,1120a,1120bなどそれぞれが所定順に分割され、それは、ブロック形態情報及び分割形態情報のうち少なくとも一つに基づいて、第1符号化単位1100が分割される方法に類似した分割方法でもある。   According to an embodiment, the decoding unit 130 may divide the non-square second encoding units 1110a, 1110b, 1120a, 1120b, and the like independently. Through a recursive method, the second coding units 1110a, 1110b, 1120a, 1120b, etc. are each divided in a predetermined order, which is based on at least one of block form information and division form information. It is also a division method similar to the method in which the unit 1100 is divided.

例えば、復号部130は、左側第2符号化単位1110aが水平方向に分割され、正方形状の第3符号化単位1112a,1112bを決定することができ、右側第2符号化単位1110bが水平方向に分割され、正方形状の第3符号化単位1114a,1114bを決定することができる。さらには、復号部130は、左側第2符号化単位1110a及び右側第2符号化単位1110bがいずれも水平方向に分割され、正方形状の第3符号化単位1116a,1116b,1116c,1116dを決定することもできる。かような場合、第1符号化単位1100が4個の正方形状の第2符号化単位1130a,1130b,1130c,1130dに分割されたところと同一形態に符号化単位が決定される。   For example, the decoding unit 130 may determine the third encoding units 1112a and 1112b having a square shape by dividing the left second encoding unit 1110a in the horizontal direction, and the right second encoding unit 1110b in the horizontal direction. Divided and square third encoding units 1114a and 1114b can be determined. Furthermore, the decoding unit 130 divides the left second encoding unit 1110a and the right second encoding unit 1110b in the horizontal direction, and determines square third encoding units 1116a, 1116b, 1116c, and 1116d. You can also. In such a case, the coding unit is determined in the same form as when the first coding unit 1100 is divided into four square-shaped second coding units 1130a, 1130b, 1130c, and 1130d.

他の例を挙げれば、復号部130は、上端第2符号化単位1120aが垂直方向に分割され、正方形状の第3符号化単位1122a,1122bを決定することができ、下端第2符号化単位1120bが垂直方向に分割され、正方形状の第3符号化単位1124a,1124bを決定することができる。さらには、復号部130は、上端第2符号化単位1120a及び下端第2符号化単位1120bがいずれも垂直方向に分割され、正方形状の第3符号化単位1122a,1122b,1124a,1124bを決定することもできる。かような場合、第1符号化単位1100が、4個の正方形状の第2符号化単位1130a,1130b,1130c,1130dに分割されたところと同一形態に符号化単位が決定される。   As another example, the decoding unit 130 may determine the square third encoding units 1122a and 1122b by dividing the upper end second encoding unit 1120a in the vertical direction, and the lower end second encoding unit. 1120b is divided in the vertical direction, and square third coding units 1124a and 1124b can be determined. Further, the decoding unit 130 divides the upper-end second encoding unit 1120a and the lower-end second encoding unit 1120b in the vertical direction, and determines square-shaped third encoding units 1122a, 1122b, 1124a, and 1124b. You can also. In such a case, the coding unit is determined in the same form as when the first coding unit 1100 is divided into four square-shaped second coding units 1130a, 1130b, 1130c, and 1130d.

図12は、一実施形態によって、複数個の符号化単位間の処理順序が、符号化単位の分割過程によって異なりうるということを図示したものである。   FIG. 12 illustrates that the processing order between a plurality of coding units may vary depending on the process of dividing the coding units according to an embodiment.

一実施形態によって、復号部130は、ブロック形態情報及び分割形態情報に基づいて、第1符号化単位1200を分割することができる。該ブロック形態情報が正方形状を示し、該分割形態情報が、第1符号化単位1200が水平方向及び垂直方向のうち少なくとも1つの方向に分割されることを示す場合、復号部130は、第1符号化単位1200を分割し、例えば、第2符号化単位1210a,1210b,1220a,1220b,1230a,1230b,1230c,1230dなどを決定することができる。図12を参照すれば、第1符号化単位1200が、水平方向または垂直方向だけでに割されて決定された非正方形状の第2符号化単位1210a,1210b,1220a,1220bは、それぞれに係わるブロック形態情報及び分割形態情報に基づいて、独立しても分割される。例えば、復号部130は、第1符号化単位1200が垂直方向に分割されて生成された第2符号化単位1210a,1210bを水平方向にそれぞれ分割し、第3符号化単位1216a,1216b,1216c,1216dを決定することができ、第1符号化単位1200が水平方向に分割されて生成された第2符号化単位1220a,1220bを水平方向にそれぞれ分割し、第3符号化単位1226a,1226b,1226c,1226dを決定することができる。かような第2符号化単位1210a,1210b,1220a,1220bの分割過程は、図10に係わって説明したので、詳細な説明は省略する。   According to an embodiment, the decoding unit 130 may divide the first coding unit 1200 based on the block form information and the division form information. When the block form information indicates a square shape and the division form information indicates that the first coding unit 1200 is divided in at least one of a horizontal direction and a vertical direction, the decoding unit 130 may For example, the second encoding unit 1210a, 1210b, 1220a, 1220b, 1230a, 1230b, 1230c, and 1230d may be determined by dividing the encoding unit 1200. Referring to FIG. 12, the non-square-shaped second coding units 1210a, 1210b, 1220a, and 1220b determined by dividing the first coding unit 1200 in only the horizontal direction or the vertical direction are related to each other. Based on the block form information and the division form information, it is divided even independently. For example, the decoding unit 130 divides the second coding units 1210a and 1210b generated by dividing the first coding unit 1200 in the vertical direction in the horizontal direction, and generates third coding units 1216a, 1216b, 1216c, 1216d can be determined, and the second encoding units 1220a and 1220b generated by dividing the first encoding unit 1200 in the horizontal direction are respectively divided in the horizontal direction to obtain third encoding units 1226a, 1226b, and 1226c. , 1226d can be determined. Since the division process of the second coding units 1210a, 1210b, 1220a, and 1220b has been described with reference to FIG. 10, detailed description thereof will be omitted.

一実施形態によって、復号部130は、所定順序によって、符号化単位を処理することができる。所定順序による符号化単位の処理に係わる特徴は、図7に係わって説明したので、詳細な説明は省略する。図12を参照すれば、復号部130は、正方形状の第1符号化単位1200を分割し、4個の正方形状の第3符号化単位1216a,1216b,1216c,1216d,1226a,1226b,1226c,1226dを決定することができる。一実施形態によって、復号部130は、第1符号化単位1200が分割される形態によって、第3符号化単位1216a,1216b,1216c,1216d,1226a,1226b,1226c,1226dの処理順序を決定することができる。   According to an embodiment, the decoding unit 130 may process the coding units in a predetermined order. Since the features related to the processing of the coding units in the predetermined order have been described with reference to FIG. 7, detailed description thereof will be omitted. Referring to FIG. 12, the decoding unit 130 divides the square-shaped first coding unit 1200 into four square-shaped third coding units 1216a, 1216b, 1216c, 1216d, 1226a, 1226b, 1226c, 1226d can be determined. According to one embodiment, the decoding unit 130 determines the processing order of the third coding units 1216a, 1216b, 1216c, 1216d, 1226a, 1226b, 1226c, and 1226d according to the form in which the first coding unit 1200 is divided. Can do.

一実施形態によって、復号部130は、垂直方向に分割されて生成された第2符号化単位1210a,1210bを水平方向にそれぞれ分割し、第3符号化単位1216a,1216b,1216c,1216dを決定することができ、復号部130は、左側第2符号化単位1210aに含まれる第3符号化単位1216a,1216bを垂直方向にまず処理した後、右側第2符号化単位1210bに含まれる第3符号化単位1216c,1216dを垂直方向に処理する順序(1217)によって、第3符号化単位1216a,1216b,1216c,1216dを処理することができる。   According to an embodiment, the decoding unit 130 divides the second coding units 1210a and 1210b generated by dividing in the vertical direction in the horizontal direction, and determines third coding units 1216a, 1216b, 1216c, and 1216d. The decoding unit 130 first processes the third coding units 1216a and 1216b included in the left second coding unit 1210a in the vertical direction, and then performs the third coding included in the right second coding unit 1210b. The third encoding units 1216a, 1216b, 1216c, and 1216d can be processed according to the order (1217) of processing the units 1216c and 1216d in the vertical direction.

一実施形態によって、復号部130は、水平方向に分割されて生成された第2符号化単位1220a,1220bを垂直方向にそれぞれ分割し、第3符号化単位1226a,1226b,1226c,1226dを決定することができ、復号部130は、上端第2符号化単位1220aに含まれる第3符号化単位1226a,1226bを水平方向にまず処理した後、下端第2符号化単位1220bに含まれる第3符号化単位1226c,1226dを水平方向に処理する順序(1227)によって、第3符号化単位1226a,1226b,1226c,1226dを処理することができる。   According to an embodiment, the decoding unit 130 divides the second coding units 1220a and 1220b generated by dividing in the horizontal direction in the vertical direction, and determines third coding units 1226a, 1226b, 1226c, and 1226d. The decoding unit 130 first processes the third coding units 1226a and 1226b included in the upper end second encoding unit 1220a in the horizontal direction, and then performs the third encoding included in the lower end second encoding unit 1220b. The third encoding units 1226a, 1226b, 1226c, and 1226d can be processed according to the order (1227) in which the units 1226c and 1226d are processed in the horizontal direction.

図12を参照すれば、第2符号化単位1210a,1210b,1220a,1220bがそれぞれ分割され、正方形状の第3符号化単位1216a,1216b,1216c,1216d,1226a,1226b,1226c,1226dが決定される。垂直方向に分割されて決定された第2符号化単位1210a,1210b、及び水平方向に分割されて決定された第2符号化単位1220a,1220bは、互いに異なる形態に分割されたものであるが、その後に決定される第3符号化単位1216a,1216b,1216c,1216d,1226a,1226b,1226c,1226dによれば、結局、同一形態の符号化単位に第1符号化単位1200が分割された結果になる。それにより、復号部130は、ブロック形態情報及び分割形態情報のうち少なくとも一つに基づいて、異なる過程を介して再帰的に符号化単位を分割することにより、結果として、同一形態の符号化単位を決定しても、同一形態に決定された複数個の符号化単位を、互いに異なる順序で処理することができる。   Referring to FIG. 12, the second encoding units 1210a, 1210b, 1220a, and 1220b are respectively divided, and square-shaped third encoding units 1216a, 1216b, 1216c, 1216d, 1226a, 1226b, 1226c, and 1226d are determined. The The second coding units 1210a and 1210b determined by being divided in the vertical direction and the second coding units 1220a and 1220b determined by being divided in the horizontal direction are divided into different forms. According to the third coding units 1216a, 1216b, 1216c, 1216d, 1226a, 1226b, 1226c, and 1226d determined thereafter, the first coding unit 1200 is eventually divided into coding units having the same form. Become. Accordingly, the decoding unit 130 recursively divides the coding unit through different processes based on at least one of the block form information and the division form information, and as a result, the same form coding unit. However, it is possible to process a plurality of coding units determined in the same form in different orders.

図13は、一実施形態によって、符号化単位が再帰的に分割されて複数個の符号化単位が決定される場合、符号化単位の形態及び大きさが変わることにより、符号化単位の深度が決定される過程を図示する。   FIG. 13 illustrates that when a coding unit is recursively divided and a plurality of coding units are determined according to an embodiment, the coding unit depth and the size of the coding unit may be changed, thereby reducing the depth of the coding unit. Figure 3 illustrates the process to be determined.

一実施形態によって、復号部130は、符号化単位の深度を、所定基準によって決定することができる。例えば、該所定基準は、符号化単位の長辺長にもなる。復号部130は、現在符号化単位の長辺長が、分割される前の符号化単位の長辺長より2n(n>0)倍に分割された場合、現在符号化単位の深度は、分割される前の符号化単位の深度よりnほど深度が増大したと決定することができる。以下では、深度が増大された符号化単位を、下位深度の符号化単位と表現する。   According to an embodiment, the decoding unit 130 may determine the depth of a coding unit according to a predetermined criterion. For example, the predetermined standard is also the long side length of the coding unit. When the long side length of the current coding unit is divided by 2n (n> 0) times the long side length of the previous coding unit, the decoding unit 130 determines that the depth of the current coding unit is divided. It can be determined that the depth has increased by n over the depth of the previous coding unit. Hereinafter, a coding unit with an increased depth is expressed as a coding unit with a lower depth.

図13を参照すれば、一実施形態によって、正方形状であるということを示すブロック形態情報(例えば、ブロック形態情報は、「0:SQUARE」を示すことができる)に基づいて、復号部130は、正方形状である第1符号化単位1300を分割し、下位深度の第2符号化単位1302、第3符号化単位1304などを決定することができる。正方形状の第1符号化単位1300の大きさを2Nx2Nとするならば、第1符号化単位1300の幅及び高さを1/2倍に分割して決定された第2符号化単位1302は、NxNサイズを有することができる。さらには、第2符号化単位1302の幅及び高さを1/2サイズで分割して決定された第3符号化単位1304は、N/2xN/2サイズを有することができる。その場合、第3符号化単位1304の幅及び高さは、第1符号化単位1300の1/2倍に該当する。第1符号化単位1300の深度がDである場合、第1符号化単位1300の幅及び高さの1/2倍である第2符号化単位1302の深度は、D+1であり、第1符号化単位1300の幅及び高さの1/2倍である第3符号化単位1304の深度は、D+2でもある。 Referring to FIG. 13, according to one embodiment, based on block form information indicating that it has a square shape (eg, the block form information may indicate “0: SQUARE”), the decoding unit 130 may The square-shaped first coding unit 1300 can be divided to determine the second coding unit 1302, the third coding unit 1304, etc. of the lower depth. If the 2Nx2N the size of the first coding unit 1300 square, the second coding unit 1302 which is determined by dividing the width and height of the first coding unit 1300 1/2 1 times , NxN size. Further, the third coding unit 1304 determined by dividing the width and height of the second coding unit 1302 by ½ size may have an N / 2 × N / 2 size. In that case, the width and height of the third coding unit 1304 corresponds to 1/2 2 times the first coding unit 1300. If the depth of the first coding unit 1300 is D, the depth of the second coding unit 1302 is 1/2 1 times the width and height of the first coding unit 1300, a D + 1, the first code is 1/2 2 times the width and height of the reduction unit 1300 depth of the third coding unit 1304 is also the D + 2.

一実施形態によって、非正方形状を示すブロック形態情報(例えば、ブロック形態情報は、高さが幅より大きい非正方形であるということを示す「1:NS_VER」、または幅が高さより大きい非正方形であるということを示す「2:NS_HOR」を示すことができる)に基づいて、復号部130は、非正方形状である第1符号化単位1310または1320を分割し、下位深度の第2符号化単位1312または1322、第3符号化単位1314または1324などを決定することができる。   According to one embodiment, block configuration information indicating a non-square shape (eg, the block configuration information is “1: NS_VER” indicating that the height is a non-square greater than the width, or a non-square having a width greater than the height. The decoding unit 130 divides the first coding unit 1310 or 1320 that is non-square shape, and the second coding unit of the lower depth, based on “2: NS_HOR” indicating that there is 1312 or 1322, the third coding unit 1314 or 1324, etc. can be determined.

復号部130は、Nx2Nサイズの第1符号化単位1310の幅及び高さのうち少なくとも一つを分割し、例えば、第2符号化単位1302,1312,1322などを決定することができる。すなわち、復号部130は、第1符号化単位1310を水平方向に分割し、NxNサイズの第2符号化単位1302、またはNxN/2サイズの第2符号化単位1322を決定することができ、水平方向及び垂直方向に分割し、N/2xNサイズの第2符号化単位1312を決定することもできる。   The decoding unit 130 may divide at least one of the width and height of the first coding unit 1310 having an Nx2N size, and determine, for example, the second coding units 1302, 1312, and 1322. That is, the decoding unit 130 can divide the first coding unit 1310 in the horizontal direction and determine a second coding unit 1302 having an NxN size or a second coding unit 1322 having an NxN / 2 size. The second coding unit 1312 having an N / 2 × N size can be determined by dividing the image into the vertical direction and the vertical direction.

一実施形態によって、復号部130は、2NxNサイズの第1符号化単位1320の幅及び高さのうち少なくとも一つを分割し、例えば、第2符号化単位1302,1312,1322などを決定することもできる。すなわち、復号部130は、第1符号化単位1320を垂直方向に分割し、NxNサイズの第2符号化単位1302、またはN/2xNサイズの第2符号化単位1312を決定することができ、水平方向及び垂直方向に分割し、NxN/2サイズの第2符号化単位1322を決定することもできる。   According to an exemplary embodiment, the decoding unit 130 may divide at least one of the width and height of the first encoding unit 1320 having a 2NxN size, and determine the second encoding units 1302, 1312, 1322, and the like. You can also. That is, the decoding unit 130 can divide the first coding unit 1320 in the vertical direction and determine the second coding unit 1302 having an NxN size or the second coding unit 1312 having an N / 2xN size. The second coding unit 1322 having a size of N × N / 2 can be determined by dividing the image into the vertical direction and the vertical direction.

一実施形態によって、復号部130は、NxNサイズの第2符号化単位1302の幅及び高さのうち少なくとも一つを分割し、例えば、第3符号化単位1304,1314,1324などを決定することもできる。すなわち、復号部130は、第2符号化単位1302を垂直方向及び水平方向に分割し、N/2xN/2サイズの第3符号化単位1304を決定するか、N/2xN/2サイズの第3符号化単位1314を決定するか、あるいはN/2xN/2サイズの第3符号化単位1324を決定することができる。 According to an exemplary embodiment, the decoding unit 130 may divide at least one of the width and height of the second coding unit 1302 having an NxN size and determine, for example, third coding units 1304, 1314, and 1324. You can also. That is, the decoding unit 130 divides the second coding unit 1302 in the vertical direction and the horizontal direction and determines a third coding unit 1304 having an N / 2 × N / 2 size or an N / 2 2 × N / 2 size. A third coding unit 1314 can be determined, or a third coding unit 1324 of size N / 2 × N / 2 2 can be determined.

一実施形態によって、復号部130は、N/2xNサイズの第2符号化単位1312の幅及び高さのうち少なくとも一つを分割し、例えば、第3符号化単位1304,1314,1324などを決定することもできる。すなわち、復号部130は、第2符号化単位1312を水平方向に分割し、N/2xN/2サイズの第3符号化単位1304、またはN/2xN/2サイズの第3符号化単位1324を決定するか、あるいは垂直方向及び水平方向に分割し、N/2xN/2サイズの第3符号化単位1314を決定することができる。 According to an embodiment, the decoding unit 130 divides at least one of the width and height of the second coding unit 1312 having an N / 2 × N size, and determines, for example, third coding units 1304, 1314, and 1324. You can also That is, the decoding unit 130 divides the second coding unit 1312 in the horizontal direction, and generates a third coding unit 1304 having an N / 2 × N / 2 size or a third coding unit 1324 having an N / 2 × N / 2 2 size. The third coding unit 1314 having a size of N / 2 2 × N / 2 can be determined by determining or dividing in the vertical direction and the horizontal direction.

一実施形態によって、復号部130は、NxN/2サイズの第2符号化単位1314の幅及び高さのうち少なくとも一つを分割し、例えば、第3符号化単位1304,1314,1324などを決定することもできる。すなわち、復号部130は、第2符号化単位1312を垂直方向に分割し、N/2xN/2サイズの第3符号化単位1304、またはN/2xN/2サイズの第3符号化単位1314を決定するか、あるいは垂直方向及び水平方向に分割し、N/2xN/2サイズの第3符号化単位1324を決定することができる。 According to one embodiment, the decoding unit 130 divides at least one of the width and height of the second coding unit 1314 having an NxN / 2 size, and determines, for example, third coding units 1304, 1314, and 1324. You can also That is, the decoding unit 130 divides the second coding unit 1312 in the vertical direction, and the third coding unit 1304 having an N / 2 × N / 2 size or the third coding unit 1314 having an N / 2 2 × N / 2 size. Or divided in the vertical and horizontal directions to determine a third coding unit 1324 of size N / 2 × N / 2 2 .

一実施形態によって、復号部130は、例えば、正方形状の符号化単位1300,1302,1304を水平方向または垂直方向に分割することができる。例えば、2Nx2Nサイズの第1符号化単位1300を垂直方向に分割し、Nx2Nサイズの第1符号化単位1310を決定するか、あるいは水平方向に分割し、2NxNサイズの第1符号化単位1320を決定することができる。一実施形態によって、深度が符号化単位の最長辺長に基づいて決定される場合、2Nx2Nサイズの第1符号化単位1300,1302または1304が、水平方向または垂直方向に分割されて決定される符号化単位の深度は、第1符号化単位1300,1302または1304の深度と同一でもある。   According to an embodiment, the decoding unit 130 may divide, for example, square-shaped coding units 1300, 1302, and 1304 in the horizontal direction or the vertical direction. For example, the first encoding unit 1300 of 2Nx2N size is divided in the vertical direction and the first encoding unit 1310 of Nx2N size is determined, or is divided in the horizontal direction and the first encoding unit 1320 of 2NxN size is determined. can do. According to one embodiment, when the depth is determined based on the longest side length of a coding unit, a code in which a first coding unit 1300, 1302 or 1304 having a 2Nx2N size is divided in the horizontal direction or the vertical direction is determined. The depth of the encoding unit is also the same as the depth of the first encoding unit 1300, 1302 or 1304.

一実施形態によって、第3符号化単位1314または1324の幅及び高さは、第1符号化単位1310または1320の1/2倍に該当する。第1符号化単位1310または1320の深度がDである場合、第1符号化単位1310または1320の幅及び高さの1/2倍である第2符号化単位1312または1314の深度は、D+1であり、第1符号化単位1310または1320の幅及び高さの1/2倍である第3符号化単位1314または1324の深度は、D+2でもある。 According to an exemplary embodiment, the width and height of the third coding unit 1314 or 1324 corresponds to 1/2 2 times the first coding unit 1310 or 1320. When the depth of the first coding unit 1310 or 1320 is D, the depth of the second coding unit 1312 or 1314 that is ½ times the width and height of the first coding unit 1310 or 1320 is D + 1. There, the depth of the third coding unit 1314 or 1324 is 1/2 2 times the width and height of the first coding unit 1310 or 1320 is also D + 2.

図14は、一実施形態によって、符号化単位の形態及び大きさによって決定される深度及び符号化単位区分のためのインデックス(PID:part index)を図示する。   FIG. 14 illustrates a depth and an index for a coding unit partition (PID) determined by a coding unit form and size according to an embodiment.

一実施形態によって、復号部130は、正方形状の第1符号化単位1400を分割し、多様な形態の第2符号化単位を決定することができる。図14を参照すれば、復号部130は、分割形態情報によって、第1符号化単位1400を垂直方向及び水平方向のうち少なくとも1つの方向に分割し、第2符号化単位1402a,1402b,1404a,1404b,1406a,1406b,1406c,1406dを決定することができる。すなわち、復号部130は、第1符号化単位1400に係わる分割形態情報に基づいて、第2符号化単位1402a,1402b,1404a,1404b,1406a,1406b,1406c,1406dを決定することができる。   According to an embodiment, the decoding unit 130 may divide the square first coding unit 1400 and determine various types of second coding units. Referring to FIG. 14, the decoding unit 130 divides the first coding unit 1400 into at least one of a vertical direction and a horizontal direction according to the division form information, and generates second coding units 1402a, 1402b, 1404a, 1404b, 1406a, 1406b, 1406c, 1406d can be determined. That is, the decoding unit 130 can determine the second coding units 1402a, 1402b, 1404a, 1404b, 1406a, 1406b, 1406c, and 1406d based on the division form information related to the first coding unit 1400.

一実施形態によって、正方形状の第1符号化単位1400に係わる分割形態情報によって決定される第2符号化単位1402a,1402b,1404a,1404b,1406a,1406b,1406c,1406dは、長辺長に基づいて深度が決定される。例えば、正方形状の第1符号化単位1400の1辺長と、非正方形状の第2符号化単位1402a,1402b,1404a,1404bの長辺長とが同一であるので、第1符号化単位1400と、非正方形状の第2符号化単位1402a,1402b,1404a,1404bとの深度は、Dとして同一であると見ることができる。それに対し、復号部130が、分割形態情報に基づいて、第1符号化単位1400を4個の正方形状の第2符号化単位1406a,1406b,1406c,1406dに分割した場合、正方形状の第2符号化単位1406a,1406b,1406c,1406dの1辺長は、第1符号化単位1400の1辺長の1/2倍であるので、第2符号化単位1406a,1406b,1406c,1406dの深度は、第1符号化単位1400の深度であるDより1深度下位であるD+1の深度でもある。   According to one embodiment, the second coding units 1402a, 1402b, 1404a, 1404b, 1406a, 1406b, 1406c, and 1406d determined by the division form information related to the square-shaped first coding unit 1400 are based on the long side length. The depth is determined. For example, since the one side length of the square-shaped first coding unit 1400 and the long side lengths of the non-square-shaped second coding units 1402a, 1402b, 1404a, and 1404b are the same, the first coding unit 1400 is used. And the depths of the non-square-shaped second encoding units 1402a, 1402b, 1404a, and 1404b can be regarded as being the same as D. On the other hand, when the decoding unit 130 divides the first coding unit 1400 into four square-shaped second coding units 1406a, 1406b, 1406c, and 1406d based on the division form information, the square-shaped second Since one side length of the coding units 1406a, 1406b, 1406c, and 1406d is ½ times the one side length of the first coding unit 1400, the depth of the second coding units 1406a, 1406b, 1406c, and 1406d is Also, the depth is D + 1, which is one depth lower than D, which is the depth of the first coding unit 1400.

一実施形態によって、復号部130は、高さが幅より大きい形態の第1符号化単位1410を、分割形態情報によって水平方向に分割し、複数個の第2符号化単位1412a,1412b,1414a,1414b,1414cに分割することができる。一実施形態によって、復号部130は、幅が高さより大きい形態の第1符号化単位1420を分割形態情報によって垂直方向に分割し、複数個の第2符号化単位1422a,1422b,1424a,1424b,1424cに分割することができる。   According to one embodiment, the decoding unit 130 divides the first coding unit 1410 having a height greater than the width in the horizontal direction according to the division form information, and includes a plurality of second coding units 1412a, 1412b, 1414a, It can be divided into 1414b and 1414c. According to one embodiment, the decoding unit 130 divides the first coding unit 1420 having a width greater than the height in the vertical direction according to the division form information, and includes a plurality of second coding units 1422a, 1422b, 1424a, 1424b, It can be divided into 1424c.

一実施形態によって、非正方形状の第1符号化単位1410または1420に係わる分割形態情報によって決定される第2符号化単位1412a,1412b,1414a,1414b,1416a,1416b,1416c,1416dは、長辺長に基づいて、深度が決定される。例えば、正方形状の第2符号化単位1412a,1412bの1辺長は、高さが幅より大きい非正方形状の第1符号化単位1410の1辺長の1/2倍であるので、正方形状の第2符号化単位1402a,1402b,1404a,1404bの深度は、非正方形状の第1符号化単位1410の深度Dより1深度下位の深度であるD+1である。   According to an exemplary embodiment, the second coding units 1412a, 1412b, 1414a, 1414b, 1416a, 1416b, 1416c, and 1416d determined by the division type information related to the non-square-shaped first coding unit 1410 or 1420 are long sides. Based on the length, the depth is determined. For example, the length of one side of the square-shaped second coding units 1412a and 1412b is ½ times the length of one side of the non-square-shaped first coding unit 1410 whose height is larger than the width. The depths of the second coding units 1402a, 1402b, 1404a, and 1404b are D + 1, which is a depth one depth lower than the depth D of the non-square-shaped first coding unit 1410.

さらには、復号部130が分割形態情報に基づいて、非正方形状の第1符号化単位1410を奇数個の第2符号化単位1414a,1414b,1414cに分割することができる。奇数個の第2符号化単位1414a,1414b,1414cは、非正方形状の第2符号化単位1414a,1414c、及び正方形状の第2符号化単位1414bを含んでもよい。その場合、非正方形状の第2符号化単位1414a,1414cの長辺長、及び正方形状の第2符号化単位1414bの1辺長は、第1符号化単位1410の1辺長の1/2倍であるので、第2符号化単位1414a,1414b,1414cの深度は、第1符号化単位1410の深度であるDより1深度下位であるD+1の深度でもある。復号部130は、第1符号化単位1410に係わる符号化単位の深度を決定する前記方式に類似した方式で、幅が高さより大きい非正方形状の第1符号化単位1420に係わる符号化単位の深度を決定することができる。   Furthermore, the decoding unit 130 can divide the non-square-shaped first coding unit 1410 into an odd number of second coding units 1414a, 1414b, and 1414c based on the division form information. The odd number of second encoding units 1414a, 1414b, and 1414c may include non-square second encoding units 1414a and 1414c and a square second encoding unit 1414b. In that case, the long side lengths of the non-square-shaped second coding units 1414a and 1414c and the one-side length of the square-shaped second coding unit 1414b are ½ of the one-side length of the first coding unit 1410. Therefore, the depth of the second coding units 1414a, 1414b, and 1414c is also the depth of D + 1, which is one depth lower than D that is the depth of the first coding unit 1410. The decoding unit 130 is a method similar to the method for determining the depth of the coding unit related to the first coding unit 1410, and the coding unit related to the non-square-shaped first coding unit 1420 whose width is larger than the height. Depth can be determined.

一実施形態によって、復号部130は、分割された符号化単位の区分のためのインデックス(PID)決定において、奇数個に分割された符号化単位が互いに同一サイズではない場合、符号化単位間のサイズ比に基づいて、インデックスを決定することができる。図14を参照すれば、奇数個に分割された符号化単位1414a,1414b,1414cにおいて真ん中に位置する符号化単位1414bは、他の符号化単位1414a,1414cと同幅であるが、高さが異なる符号化単位1414a,1414cの高さの2倍でもある。すなわち、その場合、真ん中に位置する符号化単位1414bは、他の符号化単位1414a,1414cの二つを含んでもよい。従って、スキャン順序によって真ん中に位置する符号化単位1414bのインデックス(PID)が1であるならば、その次の順序に位置する符号化単位1414cは、インデックスが2が増加した3でもある。すなわち、インデックス値の不連続性が存在する。一実施形態によって、復号部130は、かように分割された符号化単位間の区分のためのインデックス不連続性の存在いかんに基づいて、奇数個に分割された符号化単位が互いに同一サイズではないか否かということを決定することができる。   According to an exemplary embodiment, the decoding unit 130 may determine an index (PID) for dividing divided coding units when the coding units divided into odd numbers are not the same size. An index can be determined based on the size ratio. Referring to FIG. 14, the coding unit 1414b located in the middle of the odd-numbered coding units 1414a, 1414b, and 1414c has the same width as the other coding units 1414a and 1414c, but has a height. It is also twice the height of the different encoding units 1414a, 1414c. That is, in this case, the coding unit 1414b located in the middle may include two of the other coding units 1414a and 1414c. Therefore, if the index (PID) of the coding unit 1414b located in the middle according to the scan order is 1, the coding unit 1414c located in the next order is also 3 in which the index is increased by 2. That is, there is a discontinuity in the index value. According to an exemplary embodiment, the decoding unit 130 may determine that odd-numbered coding units have the same size based on the presence of index discontinuity for partitioning between the coded units. It can be decided whether or not.

(PIDを利用してのtri−split決定)
一実施形態によって、映像復号装置100は、現在符号化単位から分割されて決定された複数個の符号化単位を区分するためのインデックスの値に基づいて、特定分割形態に分割されたものであるか否かということを決定することができる。図14を参照すれば、映像復号装置100は、高さが幅より大きい長方形状の第1符号化単位1410を分割し、偶数個の符号化単位1412a,1412bを決定するか、あるいは奇数個の符号化単位1414a,1414b,1414cを決定することができる。映像復号装置100は、複数個の符号化単位それぞれを区分するために、各符号化単位を示すインデックス(PID)を利用することができる。一実施形態によって、該PIDは、それぞれの符号化単位の所定位置のサンプル(例えば、左側上端サンプル)からでも獲得される。
(Tri-split determination using PID)
According to one embodiment, the video decoding apparatus 100 is divided into specific division forms based on index values for dividing a plurality of coding units determined by dividing from the current coding unit. It can be determined whether or not. Referring to FIG. 14, the video decoding apparatus 100 divides a rectangular first coding unit 1410 whose height is larger than a width and determines an even number of coding units 1412a and 1412b or an odd number of coding units 1412a and 1412b. Coding units 1414a, 1414b, 1414c can be determined. The video decoding apparatus 100 can use an index (PID) indicating each coding unit in order to classify each of the plurality of coding units. According to one embodiment, the PID is also obtained from a sample in a predetermined position of each coding unit (eg, left top sample).

一実施形態によって、映像復号装置100は、符号化単位の区分のためのインデックスを利用して分割されて決定された符号化単位のうち所定位置の符号化単位を決定することができる。一実施形態によって、高さが幅より大きい長方形状の第1符号化単位1410に係わる分割形態情報が、3個の符号化単位に分割されることを示す場合、映像復号装置100は、第1符号化単位1410を、3個の符号化単位1414a,1414b,1414cに分割することができる。映像復号装置100は、3個の符号化単位1414a,1414b,1414cそれぞれに係わるインデックスを割り当てることができる。映像復号装置100は、奇数個に分割された符号化単位のうち真ん中符号化単位を決定するために、各符号化単位に係わるインデックスを比較することができる。映像復号装置100は、符号化単位のインデックスに基づいて、インデックスのうち真ん中値に該当するインデックスを有する符号化単位1414bを、第1符号化単位1410が分割されて決定された符号化単位のうち真ん中位置の符号化単位として決定することができる。一実施形態によって、映像復号装置100は、分割された符号化単位の区分のためのインデックス決定において、符号化単位が互いに同一サイズではない場合、符号化単位間のサイズ比に基づいて、インデックスを決定することができる。図14を参照すれば、第1符号化単位1410が分割されて生成された符号化単位1414bは、他の符号化単位1414a,1414cと同幅であるが、高さが異なる符号化単位1414a,1414cの高さの2倍でもある。その場合、真ん中に位置する符号化単位1414bのインデックス(PID)が1であるならば、その次の順序に位置する符号化単位1414cは、インデックスが2が増加した3でもある。かような場合のように、均一にインデックスが増加していて増加幅が異なる場合、映像復号装置100は、他の符号化単位と異なる大きさを有する符号化単位を含む複数個の符号化単位に分割されたと決定することができる、一実施形態によって、分割形態情報が奇数個の符号化単位に分割されることを示す場合、映像復号装置100は、奇数個の符号化単位のうち所定位置の符号化単位(例えば、真ん中符号化単位)が他の符号化単位と大きさが異なる形態に現在符号化単位を分割することができる。その場合、映像復号装置100は、符号化単位に係わるインデックス(PID)を利用して、異なる大きさを有する真ん中符号化単位を決定することができる。ただし、前述のインデックス、決定しようとする所定位置の符号化単位の大きさまたは位置は、一実施形態について説明するために特定したものであるので、それに限定して解釈されるものではなく、多様なインデックス、符号化単位の位置及び大きさが利用されると解釈されなければならない。   According to an embodiment, the video decoding apparatus 100 may determine a coding unit at a predetermined position among coding units that are divided and determined using an index for coding unit division. According to one embodiment, when the division form information related to the first encoding unit 1410 having a rectangular shape whose height is greater than the width is divided into three encoding units, the video decoding apparatus 100 may The coding unit 1410 can be divided into three coding units 1414a, 1414b, 1414c. The video decoding apparatus 100 can assign indexes related to the three encoding units 1414a, 1414b, and 1414c. The video decoding apparatus 100 can compare indexes related to the respective coding units in order to determine the middle coding unit among the odd-numbered coding units. Based on the index of the coding unit, the video decoding apparatus 100 selects the coding unit 1414b having the index corresponding to the middle value from among the coding units determined by dividing the first coding unit 1410. It can be determined as an encoding unit at the middle position. According to an embodiment, the video decoding apparatus 100 may determine an index based on a size ratio between coding units when the coding units are not the same size in determining an index for dividing the divided coding units. Can be determined. Referring to FIG. 14, a coding unit 1414b generated by dividing the first coding unit 1410 has the same width as the other coding units 1414a and 1414c, but has different heights. It is also twice the height of 1414c. In this case, if the index (PID) of the coding unit 1414b located in the middle is 1, the coding unit 1414c located in the next order is also the index 3 increased by 2. In such a case, when the index is uniformly increased and the increment is different, the video decoding apparatus 100 includes a plurality of coding units including a coding unit having a size different from that of the other coding units. When the division form information indicates that the division form information is divided into an odd number of coding units according to an embodiment, the video decoding apparatus 100 may select a predetermined position among the odd number of coding units. The current coding unit can be divided into a form in which the coding unit (for example, the middle coding unit) is different in size from the other coding units. In this case, the video decoding apparatus 100 can determine a middle coding unit having a different size using an index (PID) related to the coding unit. However, since the above-described index and the size or position of the encoding unit at the predetermined position to be determined are specified for describing one embodiment, the present invention is not construed as being limited thereto. It must be construed that the correct index, coding unit position and size are used.

一実施形態によって、復号部130は、符号化単位の再帰的な分割が始まる所定データ単位を利用することができる。   According to an exemplary embodiment, the decoding unit 130 may use a predetermined data unit where a recursive division of a coding unit starts.

図15は、一実施形態によって、ピクチャに含まれる複数個の所定データ単位によって、複数個の符号化単位が決定されたところを図示する。   FIG. 15 illustrates a plurality of encoding units determined according to a plurality of predetermined data units included in a picture according to an embodiment.

一実施形態によって、所定データ単位は、符号化単位が、ブロック形態情報及び分割形態情報のうち少なくとも一つを利用して、再帰的に分割され始めるデータ単位と定義される。すなわち、現在ピクチャを分割する複数個の符号化単位が決定される過程において利用される最上位深度の符号化単位に該当する。以下では、説明の便宜上、かような所定データ単位を基準データ単位と称する。   According to an exemplary embodiment, the predetermined data unit is defined as a data unit in which an encoding unit starts to be recursively divided using at least one of block form information and division form information. That is, this corresponds to the highest-depth coding unit used in the process of determining a plurality of coding units for dividing the current picture. Hereinafter, for convenience of explanation, such a predetermined data unit is referred to as a reference data unit.

一実施形態によって、基準データ単位は、所定サイズ及び所定形態を示すことができる。一実施形態により、該基準符号化単位は、MxNのサンプルを含んでもよい。ここで、M及びNは、互いに同一でもあり、2の乗数で表現される整数でもある。すなわち、該基準データ単位は、正方形または非正方形の形態を示すことができ、その後、整数個の符号化単位に分割される。   According to an embodiment, the reference data unit may indicate a predetermined size and a predetermined form. According to one embodiment, the reference coding unit may include M × N samples. Here, M and N are the same as each other and are integers expressed by a multiplier of 2. That is, the reference data unit can indicate a square or non-square form and is then divided into an integer number of coding units.

一実施形態によって、映像復号装置100の復号部130は、現在ピクチャを複数個の基準データ単位に分割することができる。一実施形態によって、復号部130は、現在ピクチャを分割する複数個の基準データ単位を、それぞれの基準データ単位に係わる分割情報を利用して分割することができる。かような基準データ単位の分割過程は、四分木(quad−tree)構造を利用した分割過程に対応する。   According to an embodiment, the decoding unit 130 of the video decoding apparatus 100 may divide the current picture into a plurality of reference data units. According to an exemplary embodiment, the decoding unit 130 may divide a plurality of reference data units that divide a current picture using division information related to each reference data unit. The division process of the reference data unit corresponds to a division process using a quad-tree structure.

一実施形態によって、復号部130は、現在ピクチャに含まれる基準データ単位が有することができる最小サイズをあらかじめ決定することができる。それにより、復号部130は、最小サイズ以上の大きさを有する多様な大きさの基準データ単位を決定することができ、決定された基準データ単位を基準に、ブロック形態情報及び分割形態情報を利用して、少なくとも1つの符号化単位を決定することができる。   According to an embodiment, the decoding unit 130 may determine in advance a minimum size that the reference data unit included in the current picture can have. Accordingly, the decoding unit 130 can determine reference data units of various sizes having a size equal to or larger than the minimum size, and uses the block form information and the division form information based on the determined reference data unit. Thus, at least one coding unit can be determined.

図15を参照すれば、映像復号装置100は、正方形状の基準符号化単位1500を利用することができ、または非正方形状の基準符号化単位1502を利用することもできる。一実施形態によって、基準符号化単位の形態及び大きさは、少なくとも1つの基準符号化単位を含む多様なデータ単位(例えば、シーケンス(sequence)、ピクチャ(picture)、スライス(slice)、スライスセグメント(slice segment)、最大符号化単位など)によって決定される。   Referring to FIG. 15, the video decoding apparatus 100 may use a square reference coding unit 1500, or may use a non-square reference coding unit 1502. According to one embodiment, the format and size of the reference coding unit may be various data units including at least one reference coding unit (e.g., sequence, picture, slice, slice segment ( slice segment), maximum coding unit, etc.).

一実施形態によって、映像復号装置100のビットストリーム獲得部120は、基準符号化単位の形態に係わる情報、及び基準符号化単位の大きさに係わる情報のうち少なくとも一つを、前記多様なデータ単位ごとに、ビットストリームから獲得することができる。正方形状の基準符号化単位1500に含まれる少なくとも1つの符号化単位が決定される過程は、図3の現在符号化単位300が分割される過程を介して説明し、非正方形状の基準符号化単位1500に含まれる少なくとも1つの符号化単位が決定される過程は、図4の現在符号化単位400または450が分割される過程を介して説明したので、詳細な説明は省略する。   According to an exemplary embodiment, the bitstream acquisition unit 120 of the video decoding apparatus 100 may receive at least one of the information related to the reference coding unit type and the information related to the size of the reference coding unit as the various data units. For each bitstream. The process of determining at least one coding unit included in the square reference coding unit 1500 will be described through the process of dividing the current coding unit 300 of FIG. Since the process of determining at least one coding unit included in the unit 1500 has been described through the process of dividing the current coding unit 400 or 450 of FIG. 4, detailed description thereof will be omitted.

一実施形態によって、復号部130は、所定条件に基づいて、あらかじめ決定される一部データ単位によって、基準符号化単位の大きさ及び形態を決定するために、基準符号化単位の大きさ及び形態を識別するためのインデックスを利用することができる。すなわち、ビットストリーム獲得部120は、ビットストリームから、前記多様なデータ単位(例えば、シーケンス、ピクチャ、スライス、スライスセグメント、最大符号化単位など)のうち所定条件(例えば、スライス以下の大きさを有するデータ単位)を満足するデータ単位として、スライス、スライスセグメント、最大符号化単位などごとに、基準符号化単位の大きさ及び形態の識別のためのインデックスのみを獲得することができる。復号部130は、インデックスを利用することにより、前記所定条件を満足するデータ単位ごとに、基準データ単位の大きさ及び形態を決定することができる。該基準符号化単位の形態に係わる情報、及び該基準符号化単位の大きさに係わる情報を、相対的に小サイズのデータ単位ごとにビットストリームから獲得して利用する場合、ビットストリームの利用効率が良好ではなくなるので、基準符号化単位の形態に係わる情報、及び基準符号化単位の大きさに係わる情報を直接獲得する代わりに、前記インデックスのみを獲得して利用することができる。その場合、該基準符号化単位の大きさ及び形態を示すインデックスに係わる基準符号化単位の大きさ及び形態のうち少なくとも一つは、あらかじめ決定されている。すなわち、復号部130は、あらかじめ決定された基準符号化単位の大きさ及び形態のうち少なくとも一つをインデックスによって選択することにより、インデックス獲得の基準になるデータ単位に含まれる基準符号化単位の大きさ及び形態のうち少なくとも一つを決定することができる。   According to an exemplary embodiment, the decoding unit 130 may determine the size and form of the reference coding unit according to a predetermined data unit according to a predetermined data unit. An index for identifying can be used. That is, the bitstream acquisition unit 120 has a predetermined condition (for example, a size equal to or less than a slice) from the various data units (for example, a sequence, a picture, a slice, a slice segment, and a maximum coding unit) from the bitstream. As a data unit satisfying (data unit), only the index for identifying the size and form of the reference coding unit can be obtained for each slice, slice segment, maximum coding unit, and the like. The decoding unit 130 can determine the size and form of the reference data unit for each data unit that satisfies the predetermined condition by using the index. When the information related to the form of the reference coding unit and the information related to the size of the reference coding unit are acquired from the bit stream for each relatively small data unit and used, the bit stream utilization efficiency Therefore, instead of directly acquiring the information related to the form of the reference coding unit and the information related to the size of the reference coding unit, only the index can be obtained and used. In this case, at least one of the size and form of the reference coding unit related to the index indicating the size and form of the reference coding unit is determined in advance. That is, the decoding unit 130 selects at least one of the predetermined size and form of the reference coding unit based on the index, thereby determining the size of the reference coding unit included in the data unit serving as a reference for index acquisition. At least one of the size and the form can be determined.

一実施形態によって、復号部130は、1つの最大符号化単位に含む少なくとも1つの基準符号化単位を利用することができる。すなわち、映像を分割する最大符号化単位には、少なくとも1つの基準符号化単位が含ま、それぞれの基準符号化単位の再帰的な分割過程を介して符号化単位が決定される。一実施形態によって、最大符号化単位の幅及び高さのうち少なくとも一つは、基準符号化単位の幅及び高さのうち少なくとも1つの整数倍に該当する。一実施形態によって、基準符号化単位の大きさは、最大符号化単位を四分木構造によってn回分割した大きさでもある。すなわち、復号部130は、最大符号化単位を、四分木構造によってn回分割し、基準符号化単位を決定することができ、多様な実施形態によって、基準符号化単位をブロック形態情報及び分割形態情報のうち少なくとも一つに基づいて分割することができる。   According to an embodiment, the decoding unit 130 may use at least one reference coding unit included in one maximum coding unit. That is, the maximum coding unit for dividing a video includes at least one reference coding unit, and the coding unit is determined through a recursive division process of each reference coding unit. According to an embodiment, at least one of the width and height of the largest coding unit corresponds to at least one integer multiple of the width and height of the reference coding unit. According to an embodiment, the size of the reference coding unit may be a size obtained by dividing the maximum coding unit n times by a quadtree structure. That is, the decoding unit 130 can determine the reference coding unit by dividing the maximum coding unit n times by a quadtree structure, and the reference coding unit can be divided into the block form information and the partition according to various embodiments. Division can be performed based on at least one of the form information.

図16は、一実施形態によって、ピクチャ1600に含まれる基準符号化単位の決定順序を決定する基準になるプロセッシングブロックを図示する。   FIG. 16 illustrates a processing block serving as a reference for determining a determination order of reference coding units included in the picture 1600 according to an embodiment.

一実施形態によって、復号部130は、ピクチャを分割する少なくとも1つのプロセッシングブロックを決定することができる。プロセッシングブロックとは、映像を分割する少なくとも1つの基準符号化単位を含むデータ単位であり、プロセッシングブロックに含まれる少なくとも1つの基準符号化単位は、特定順に決定される。すなわち、それぞれのプロセッシングブロックで決定される少なくとも1つの基準符号化単位の決定順序は、基準符号化単位が決定される多様な順序の種類のうち一つに該当し、それぞれのプロセッシングブロックで決定される基準符号化単位決定順序は、プロセッシングブロックごとに異なりうる。プロセッシングブロックごとに決定される基準符号化単位の決定順序は、ラスタースキャン(raster scan)、Zスキャン(Z−scan)、Nスキャン(N−scan)、右上向き対角スキャン(up−right diagonal scan)、水平的スキャン(horizontal scan)、垂直的スキャン(vertical scan)など多様な順序のうち一つでもあるが、決定される順序は、前記スキャン順序に限定して解釈されるものではない。   According to an embodiment, the decoding unit 130 may determine at least one processing block that divides a picture. A processing block is a data unit including at least one reference coding unit for dividing a video, and at least one reference coding unit included in the processing block is determined in a specific order. That is, the determination order of at least one reference coding unit determined in each processing block corresponds to one of various types of order in which the reference coding unit is determined, and is determined in each processing block. The reference coding unit determination order may vary from processing block to processing block. The order of determination of the reference coding units determined for each processing block is as follows: raster scan, Z-scan, N-scan, N-scan, and upper-right diagonal scan. ), Horizontal scan, vertical scan, and the like, but the determined order is not limited to the scan order.

一実施形態によって、復号部130は、プロセッシングブロックの大きさに係わる情報を獲得し、映像に含まれる少なくとも1つのプロセッシングブロックの大きさを決定することができる。復号部130は、プロセッシングブロックの大きさに係わる情報をビットストリームから獲得し、映像に含まれる少なくとも1つのプロセッシングブロックの大きさを決定することができる。かようなプロセッシングブロックの大きさは、プロセッシングブロックの大きさに係わる情報が示すデータ単位の所定サイズでもある。   According to an exemplary embodiment, the decoding unit 130 may obtain information related to a processing block size and determine a size of at least one processing block included in the video. The decoding unit 130 can acquire information related to the size of the processing block from the bitstream and determine the size of at least one processing block included in the video. The size of such a processing block is also a predetermined size of a data unit indicated by information related to the size of the processing block.

一実施形態によって、映像復号装置100のビットストリーム獲得部120は、ビットストリームから、プロセッシングブロックの大きさに係わる情報を、特定のデータ単位ごとに獲得することができる。例えば、該プロセッシングブロックの大きさに係わる情報は、映像、シーケンス、ピクチャ、スライス、スライスセグメントなどのデータ単位で、ビットストリームから獲得される。すなわち、ビットストリーム獲得部120は、前述のさまざまなデータ単位ごとに、ビットストリームから、プロセッシングブロックの大きさに係わる情報を獲得することができ、復号部130は、獲得されたプロセッシングブロックの大きさに係わる情報を利用してピクチャを分割する少なくとも1つのプロセッシングブロックの大きさを決定することができ、かようなプロセッシングブロックの大きさは、基準符号化単位の整数倍の大きさでもある。   According to an embodiment, the bitstream acquisition unit 120 of the video decoding apparatus 100 can acquire information regarding the size of a processing block from a bitstream for each specific data unit. For example, information related to the size of the processing block is acquired from the bit stream in units of data such as video, sequence, picture, slice, slice segment, and the like. That is, the bitstream acquisition unit 120 can acquire information related to the size of the processing block from the bitstream for each of the various data units described above, and the decoding unit 130 determines the size of the acquired processing block. The size of at least one processing block that divides a picture can be determined using information related to the above, and the size of such a processing block is also an integer multiple of the reference coding unit.

一実施形態によって、復号部130は、ピクチャ1600に含まれるプロセッシングブロック1602,1612の大きさを決定することができる。例えば、復号部130は、ビットストリームから獲得されたプロセッシングブロックの大きさに係わる情報に基づいて、プロセッシングブロックの大きさを決定することができる。図16を参照すれば、復号部130は、一実施形態によって、プロセッシングブロック1602,1612の横サイズを、基準符号化単位横サイズの4倍、縦サイズを、基準符号化単位の縦サイズの4倍と決定することができる。復号部130は、少なくとも1つのプロセッシングブロック内において、少なくとも1つの基準符号化単位が決定される順序を決定することができる。   According to one embodiment, the decoding unit 130 may determine the size of the processing blocks 1602 and 1612 included in the picture 1600. For example, the decoding unit 130 can determine the size of the processing block based on information regarding the size of the processing block acquired from the bitstream. Referring to FIG. 16, according to an embodiment, the decoding unit 130 sets the horizontal size of the processing blocks 1602 and 1612 to four times the horizontal size of the reference coding unit, and sets the vertical size to 4 of the vertical size of the reference coding unit. Can be determined as double. The decoding unit 130 can determine the order in which at least one reference coding unit is determined in at least one processing block.

一実施形態により、復号部130は、プロセッシングブロックの大きさに基づいて、ピクチャ1600に含まれるそれぞれのプロセッシングブロック1602,1612を決定することができ、基準符号化単位決定部12は、プロセッシングブロック1602,1612に含まれる少なくとも1つの基準符号化単位の決定順序を決定することができる。一実施形態によって、基準符号化単位の決定は、基準符号化単位サイズの決定を含んでもよい。   According to an embodiment, the decoding unit 130 may determine the processing blocks 1602 and 1612 included in the picture 1600 based on the size of the processing block, and the reference coding unit determination unit 12 may determine the processing block 1602. , 1612 can determine the order of determination of at least one reference coding unit. According to one embodiment, determining the reference coding unit may include determining the reference coding unit size.

一実施形態によって、復号部130は、ビットストリームから、少なくとも1つのプロセッシングブロックに含まれる少なくとも1つの基準符号化単位の決定順序に係わる情報を獲得することができ、獲得した決定順序に係わる情報に基づいて、少なくとも1つの基準符号化単位が決定される順序を決定することができる。該決定順序に係わる情報は、プロセッシングブロック内において、基準符号化単位が決定される順序または方向と定義される。すなわち、該基準符号化単位が決定される順序は、それぞれのプロセッシングブロックごとに独立して決定される。   According to an embodiment, the decoding unit 130 may obtain information related to the determination order of at least one reference coding unit included in at least one processing block from the bitstream, and the information related to the acquired determination order may be obtained. Based on this, the order in which at least one reference coding unit is determined can be determined. The information related to the determination order is defined as the order or direction in which the reference coding unit is determined in the processing block. That is, the order in which the reference coding units are determined is determined independently for each processing block.

一実施形態によって、映像復号装置100は、特定データ単位ごとに、基準符号化単位の決定順序に係わる情報を、ビットストリームから獲得することができる。例えば、ビットストリーム獲得部120は、基準符号化単位の決定順序に係わる情報を、映像、シーケンス、ピクチャ、スライス、スライスセグメント、プロセッシングブロックなどのデータ単位ごとに、ビットストリームから獲得することができる。該基準符号化単位の決定順序に係わる情報は、プロセッシングブロック内での基準符号化単位決定順序を示すので、決定順序に係わる情報は、整数個のプロセッシングブロックを含む特定データ単位ごとにも獲得される。   According to one embodiment, the video decoding apparatus 100 can acquire information related to the determination order of the reference coding unit for each specific data unit from the bitstream. For example, the bitstream acquisition unit 120 can acquire information related to the determination order of the reference coding unit from the bitstream for each data unit such as a video, a sequence, a picture, a slice, a slice segment, and a processing block. Since the information related to the determination order of the reference coding unit indicates the reference coding unit determination order in the processing block, the information related to the determination order is also acquired for each specific data unit including an integer number of processing blocks. The

映像復号装置100は、一実施形態によって、決定された順序に基づいて、少なくとも1つの基準符号化単位を決定することができる。   The video decoding apparatus 100 may determine at least one reference coding unit based on the determined order according to an embodiment.

一実施形態によって、ビットストリーム獲得部120は、ビットストリームから、プロセッシングブロック1602,1612に係わる情報として、基準符号化単位決定順序に係わる情報を獲得することができ、復号部130は、前記プロセッシングブロック1602,1612に含まれた少なくとも1つの基準符号化単位を決定する順序を決定し、符号化単位の決定順序によって、ピクチャ1600に含まれる少なくとも1つの基準符号化単位を決定することができる。図16を参照すれば、復号部130は、それぞれのプロセッシングブロック1602,1612に係わる少なくとも1つの基準符号化単位の決定順序(1604,1614)を決定することができる。例えば、基準符号化単位の決定順序に係わる情報が、プロセッシングブロックごとに獲得される場合、それぞれのプロセッシングブロック1602,1612に係わる基準符号化単位決定順序は、プロセッシングブロックごとに異なりうる。プロセッシングブロック1602に係わる基準符号化単位決定順序(1604)がラスタースキャン(raster scan)順序である場合、プロセッシングブロック1602に含まれる基準符号化単位は、ラスタースキャン順序によって決定される。それに対し、他のプロセッシングブロック1612に係わる基準符号化単位決定順序(1614)がラスタースキャン順序の逆順である場合、プロセッシングブロック1612に含まれる基準符号化単位は、ラスタースキャン順序の逆順によっても決定される。   According to an exemplary embodiment, the bitstream acquisition unit 120 may acquire information related to a reference coding unit determination order from the bitstream as information related to the processing blocks 1602 and 1612, and the decoding unit 130 may acquire the processing block The order in which at least one reference coding unit included in 1602 and 1612 is determined can be determined, and at least one reference coding unit included in the picture 1600 can be determined according to the order in which the coding units are determined. Referring to FIG. 16, the decoding unit 130 may determine a determination order (1604, 1614) of at least one reference coding unit related to each processing block 1602, 1612. For example, when the information related to the determination order of the reference coding units is acquired for each processing block, the reference coding unit determination order related to the processing blocks 1602 and 1612 may be different for each processing block. When the reference coding unit determination order (1604) related to the processing block 1602 is a raster scan order, the reference coding units included in the processing block 1602 are determined according to the raster scan order. On the other hand, when the reference coding unit determination order (1614) related to the other processing block 1612 is the reverse order of the raster scan order, the reference coding unit included in the processing block 1612 is also determined by the reverse order of the raster scan order. The

復号部130は、一実施形態により、決定された少なくとも1つの基準符号化単位を復号することができる。復号部130は、前述の実施形態を介して決定された基準符号化単位に基づいて、映像を復号することができる。基準符号化単位を復号する方法は、映像を復号する多様な方法を含んでもよい。   The decoding unit 130 may decode the determined at least one reference coding unit according to an embodiment. The decoding unit 130 can decode the video based on the reference coding unit determined through the above-described embodiment. The method for decoding the reference coding unit may include various methods for decoding video.

一実施形態によって、映像復号装置100は、現在符号化単位の形態を示すブロック形態情報または現在符号化単位を分割する方法を示す分割形態情報を、ビットストリームから獲得して利用することができる。該ブロック形態情報または該分割形態情報は、多様なデータ単位に係わるビットストリームに含まれもする。例えば、映像復号装置100は、シーケンスパラメータセット(sequence parameter set)、ピクチャパラメータセット(picture parameter set)、ビデオパラメータセット(video parameter set)、スライスヘッダ(slice header)、スライスセグメントヘッダ(slice segment header)に含まれたブロック形態情報または分割形態情報を利用することができる。さらに、映像復号装置100は、最大符号化単位、基準符号化単位、プロセッシングブロックごとに、ビットストリームから、ブロック形態情報または分割形態情報に係わるシンタックスをビットストリームから獲得して利用することができる。   According to an embodiment, the video decoding apparatus 100 may acquire and use block form information indicating a form of a current coding unit or division form information indicating a method of dividing a current coding unit from a bitstream. The block form information or the division form information may be included in a bit stream related to various data units. For example, the video decoding apparatus 100 includes a sequence parameter set, a picture parameter set, a video parameter set, a slice header, and a slice segment header. Block form information or division form information included in the. Furthermore, the video decoding apparatus 100 can acquire and use the syntax related to the block form information or the division form information from the bitstream for each maximum coding unit, reference coding unit, and processing block. .

一実施形態によって、復号部130は、符号化単位が分割される分割形態の種類を、所定データ単位ごとに異なって決定することができる。映像復号装置100の復号部130は、一実施形態によって、所定データ単位(例えば、シーケンス、ピクチャ、スライスなど)ごとに符号化単位が分割される形態の組み合わせを、異なるように決定することができる。   According to an embodiment, the decoding unit 130 may determine the type of division form in which the coding unit is divided differently for each predetermined data unit. The decoding unit 130 of the video decoding apparatus 100 may determine different combinations of forms in which coding units are divided for each predetermined data unit (for example, sequence, picture, slice, etc.) according to an embodiment. .

図17は、一実施形態によって、符号化単位が分割される形態の組み合わせが、ピクチャごとに互いに異なる場合、それぞれのピクチャごとに決定される符号化単位を図示する。   FIG. 17 illustrates coding units determined for each picture when combinations of forms in which the coding units are divided are different for each picture according to an embodiment.

図17を参照すれば、復号部130は、ピクチャごとに符号化単位が分割される分割形態の組み合わせを、異なるように決定することができる。例えば、復号部130は、映像に含まれる少なくとも1つのピクチャのうち4個の符号化単位に分割されるピクチャ1700、2個または4個の符号化単位に分割されるピクチャ1710、及び2個、3個または4個の符号化単位に分割されるピクチャ1720を利用して、映像を復号することができる。復号部130は、ピクチャ1700を、複数個の符号化単位に分割するために、4個の正方形の符号化単位に分割されることを示す分割形態情報のみを利用することができる。復号部130は、ピクチャ1710を分割するために、2個または4個の符号化単位に分割されることを示す分割形態情報のみを利用することができる。復号部130は、ピクチャ1720を分割するために、2個、3個または4個の符号化単位に分割されることを示す分割形態情報のみを利用することができる。前述の分割形態の組み合わせは、映像復号装置100の動作について説明するための実施形態に過ぎないので、前述の分割形態の組み合わせは、前記実施形態に限定して解釈されるものではなく、所定データ単位ごとに多様な形態の分割形態の組み合わせが利用されると解釈されなければならない。   Referring to FIG. 17, the decoding unit 130 can determine different combinations of division forms in which the coding unit is divided for each picture. For example, the decoding unit 130 may include a picture 1700 divided into four coding units out of at least one picture included in the video, two pictures 1710 divided into four or four coding units, and two, A picture can be decoded using a picture 1720 divided into three or four coding units. In order to divide the picture 1700 into a plurality of coding units, the decoding unit 130 can use only division form information indicating that the picture 1700 is divided into four square coding units. In order to divide the picture 1710, the decoding unit 130 can use only division form information indicating that the picture 1710 is divided into two or four coding units. In order to divide the picture 1720, the decoding unit 130 can use only division form information indicating that it is divided into two, three, or four coding units. Since the combination of the above-described division forms is merely an embodiment for explaining the operation of the video decoding apparatus 100, the combination of the above-described division forms is not interpreted as being limited to the above-described embodiment, and predetermined data It should be construed that a combination of various forms of divisions is used for each unit.

一実施形態によって、映像復号装置100のビットストリーム獲得部120は、分割形態情報の組み合わせを示すインデックスを含むビットストリームを、所定データ単位(例えば、シーケンス、ピクチャ、スライスなど)ごとに獲得することができる。例えば、ビットストリーム獲得部120は、シーケンスパラメータセット(sequence parameter set)、ピクチャパラメータセット(picture paramete rset)またはスライスヘッダ(slice header)において分割形態情報の組み合わせを示すインデックスを獲得することができる。映像復号装置100の復号部130は、獲得したインデックスを利用して、所定データ単位ごとに、符号化単位が分割される分割形態の組み合わせを決定することができ、それにより、所定データ単位ごとに互いに異なる分割形態の組み合わせを利用することができる。   According to an embodiment, the bitstream acquisition unit 120 of the video decoding apparatus 100 may acquire a bitstream including an index indicating a combination of division form information for each predetermined data unit (eg, sequence, picture, slice, etc.). it can. For example, the bitstream acquisition unit 120 may acquire an index indicating a combination of division form information in a sequence parameter set, a picture parameter set, or a slice header. Using the acquired index, the decoding unit 130 of the video decoding device 100 can determine a combination of division forms in which the encoding unit is divided for each predetermined data unit, and thereby, for each predetermined data unit. Combinations of different division forms can be used.

図18は、一実施形態によって、バイナリー(binary)コードで表現される分割形態情報に基づいて決定される符号化単位の多様な形態を図示する。   FIG. 18 illustrates various forms of a coding unit determined based on partition form information represented by a binary code according to an embodiment.

一実施形態によって、映像復号装置100は、ビットストリーム獲得部120を介して獲得したブロック形態情報及び分割形態情報を利用して、符号化単位を多様な形態に分割することができる。分割される符号化単位の形態は、前述の実施形態を介して説明した形態を含む多様な形態に該当する。   According to an embodiment, the video decoding apparatus 100 may divide the coding unit into various forms using the block form information and the division form information acquired through the bitstream acquisition unit 120. The form of the coding unit to be divided corresponds to various forms including the form described through the above-described embodiment.

図18を参照すれば、復号部130は、分割形態情報に基づいて、正方形状の符号化単位を、水平方向及び垂直方向のうち少なくとも1つの方向に分割することができ、非正方形状の符号化単位を、水平方向または垂直方向に分割することができる。   Referring to FIG. 18, the decoding unit 130 can divide a square-shaped coding unit into at least one of a horizontal direction and a vertical direction based on the division form information. The unit can be divided horizontally or vertically.

一実施形態によって、復号部130が、正方形状の符号化単位を水平方向及び垂直方向に分割し、4個の正方形の符号化単位に分割することができる場合、正方形の符号化単位に係わる分割形態情報が示すことができる分割形態は、4種でもある。一実施形態によって、該分割形態情報は、2桁のバイナリーコードとして表現され、それぞれの分割形態ごとに、バイナリーコードが割り当てられる。例えば、符号化単位が分割されない場合、該分割形態情報は、(00)bと表現され、符号化単位が、水平方向及び垂直方向に分割される場合、該分割形態情報は、(01)bと表現され、符号化単位が水平方向に分割される場合、該分割形態情報は、(10)bと表現され、符号化単位が垂直方向に分割される場合、該分割形態情報は、(11)bと表現される。   According to one embodiment, when the decoding unit 130 can divide a square-shaped coding unit in the horizontal direction and the vertical direction and divide the square-shaped coding unit into four square coding units, the division related to the square coding unit may be performed. There are four types of divisions that the form information can indicate. According to an embodiment, the division form information is expressed as a two-digit binary code, and a binary code is assigned to each division form. For example, when the coding unit is not divided, the division form information is expressed as (00) b, and when the coding unit is divided in the horizontal direction and the vertical direction, the division form information is (01) b. When the coding unit is divided in the horizontal direction, the division form information is expressed as (10) b, and when the coding unit is divided in the vertical direction, the division form information is (11) ) B.

一実施形態によって、復号部130は、非正方形状の符号化単位を、水平方向または垂直方向に分割する場合、分割形態情報が示すことができる分割形態の種類は、いくつの符号化単位に分割するかということによって決定される。図18を参照すれば、復号部130は、一実施形態によって、非正方形状の符号化単位を3個まで分割することができる。復号部130は、符号化単位を2つの符号化単位に分割することができ、その場合、分割形態情報は、(10)bと表現される。復号部130は、符号化単位を3つの符号化単位に分割することができ、その場合、分割形態情報は、(11)bと表現される。復号部130は、符号化単位を分割しないと決定することができ、その場合、分割形態情報は、(0)bと表現される。すなわち、復号部130は、分割形態情報を示すバイナリーコードを利用するために、固定長コーディング(FLC:fixed length coding)ではなく、可変長コーディング(VLC:variable length coding)を利用することができる。   According to one embodiment, when the decoding unit 130 divides a non-square coding unit in the horizontal direction or the vertical direction, the type of division form that the division form information can indicate is divided into how many coding units. It is decided by whether or not. Referring to FIG. 18, the decoding unit 130 may divide up to three non-square coding units according to an embodiment. The decoding unit 130 can divide the coding unit into two coding units. In this case, the division form information is expressed as (10) b. The decoding unit 130 can divide the coding unit into three coding units. In this case, the division form information is expressed as (11) b. The decoding unit 130 can determine that the coding unit is not divided, and in this case, the division form information is expressed as (0) b. That is, the decoding unit 130 can use variable length coding (VLC) instead of fixed length coding (FLC) in order to use a binary code indicating division form information.

一実施形態によって、図18を参照すれば、符号化単位が分割されないことを示す分割形態情報のバイナリーコードは、(0)bと表現される。もし符号化単位が分割されないことを示す分割形態情報のバイナリーコードが(00)bに設定された場合であるならば、(01)bに設定された分割形態情報がないにもかかわらず、2ビットの分割形態情報のバイナリーコードをいずれも利用しなければならない。しかし、図18で図示するように、非正方形状の符号化単位に係わる3種の分割形態を利用する場合であるならば、復号部130は、分割形態情報として、1ビットのバイナリーコード(0)bを利用しても、符号化単位が分割されないと決定することができるので、ビットストリームを効率的に利用することができる。ただし、該分割形態情報が示す非正方形状の符号化単位の分割形態は、単に図18で図示する3種形態だけに限って解釈されるものではなく、前述の実施形態を含む多様な形態に解釈されなければならない。   Referring to FIG. 18 according to an embodiment, a binary code of division form information indicating that a coding unit is not divided is expressed as (0) b. If the binary code of the division form information indicating that the coding unit is not divided is set to (00) b, the division form information is set to 2 even though there is no division form information set to (01) b. Any binary code of bit division form information must be used. However, as illustrated in FIG. 18, if three types of division forms related to a non-square coding unit are used, the decoding unit 130 uses a 1-bit binary code (0) as the division type information. ) Even if b is used, since it can be determined that the coding unit is not divided, the bit stream can be used efficiently. However, the division form of the non-square coding unit indicated by the division form information is not limited to the three kinds of forms illustrated in FIG. 18, and is in various forms including the above-described embodiment. Must be interpreted.

図19は、一実施形態によって、バイナリーコードで表現される分割形態情報に基づいて決定される符号化単位の他の形態を図示する。   FIG. 19 illustrates another form of a coding unit determined based on division form information expressed in binary code according to an embodiment.

図19を参照すれば、復号部130は、分割形態情報に基づいて、正方形状の符号化単位を、水平方向または垂直方向に分割することができ、非正方形状の符号化単位を、水平方向または垂直方向に分割することができる。すなわち、該分割形態情報は、正方形状の符号化単位を一方方向に分割されることを示すことができる。かような場合、正方形状の符号化単位が分割されないことを示す分割形態情報のバイナリーコードは、(0)bと表現される。もし符号化単位が分割されないことを示す分割形態情報のバイナリーコードが(00)bに設定された場合であるならば、(01)bに設定された分割形態情報がないにもかかわらず、2ビットの分割形態情報のバイナリーコードをいずれも利用しなければならない。しかし、図19で図示するように、正方形状の符号化単位に係わる3種の分割形態を利用する場合であるならば、復号部130は、分割形態情報として、1ビットのバイナリーコード(0)bを利用しても、符号化単位が分割されないと決定することができるので、ビットストリームを効率的に利用することができる。ただし、分割形態情報が示す正方形状の符号化単位の分割形態は、単に図19で図示する3種形態だけに限って解釈されるものではなく、前述の実施形態を含む多様な形態に解釈されなければならない。   Referring to FIG. 19, the decoding unit 130 can divide a square coding unit in the horizontal direction or the vertical direction based on the division form information, and can convert the non-square coding unit in the horizontal direction. Or it can be divided vertically. That is, the division form information can indicate that a square-shaped coding unit is divided in one direction. In such a case, the binary code of the division form information indicating that the square-shaped coding unit is not divided is expressed as (0) b. If the binary code of the division form information indicating that the coding unit is not divided is set to (00) b, the division form information is set to 2 even though there is no division form information set to (01) b. Any binary code of bit division form information must be used. However, as illustrated in FIG. 19, if three types of division forms related to a square-shaped encoding unit are used, the decoding unit 130 uses a 1-bit binary code (0) as the division type information. Even if b is used, since it can be determined that the coding unit is not divided, the bit stream can be used efficiently. However, the division form of the square coding unit indicated by the division form information is not limited to the three types shown in FIG. 19, but is interpreted in various forms including the above-described embodiment. There must be.

一実施形態によって、ブロック形態情報または分割形態情報は、バイナリーコードを利用して表現され、かような情報が直ちにビットストリームに生成される。また、バイナリーコードで表現されるブロック形態情報または分割形態情報は、即座にビットストリームに生成されなず、CABAC(context−adaptive binary arithmetic coding)で入力されるバイナリーコードとしても利用される。   According to one embodiment, the block form information or the division form information is expressed using a binary code, and such information is immediately generated into a bit stream. In addition, block form information or division form information expressed in binary code is not immediately generated in a bitstream, but is also used as binary code input by CABAC (context-adaptive binary array coding).

一実施形態によって、映像復号装置100は、CABACを介して、ブロック形態情報または分割形態情報に係わるシンタックスを獲得する過程について説明する。ビットストリーム獲得部120を介して、前記シンタックスに係わるバイナリーコードを含むビットストリームを獲得することができる。復号部130は、獲得したビットストリームに含まれるビンストリング(bin string)を逆二進化し、ブロック形態情報または分割形態情報を示すシンタックス要素(syntax element)を検出することができる。一実施形態によって、復号部130は、復号するシンタックス要素に該当するバイナリービンストリングの集合を求め、確率情報を利用して、それぞれのビンを復号することができ、復号部130は、かような復号されたビンによって構成されるビンストリングが、以前に求めたビンストリングのうち一つと同じになるまで反復することができる。復号部130は、ビンストリングの逆二進化を行い、シンタックス要素を決定することができる。   According to an exemplary embodiment, the video decoding apparatus 100 will be described with reference to a process of acquiring syntax related to block form information or division form information via CABAC. A bitstream including a binary code related to the syntax can be acquired via the bitstream acquisition unit 120. The decoding unit 130 can inverse binarize a bin string included in the acquired bitstream and detect a syntax element indicating block form information or division form information. According to an exemplary embodiment, the decoding unit 130 may obtain a set of binary bin strings corresponding to syntax elements to be decoded, and may decode each bin using probability information. It is possible to iterate until the bin string constituted by the decoded bins is the same as one of the previously obtained bin strings. The decoding unit 130 can perform binarization inverse binarization and determine syntax elements.

一実施形態によって、復号部130は、適応的二進算術コーディング(adaptive binary arithmetic coding)の復号過程を遂行し、ビンストリングに対するシンタックスを決定することができ、復号部130は、ビットストリーム獲得部120を介して獲得したビンに対する確率モデルを更新することができる。図18を参照すれば、映像復号装置100のビットストリーム獲得部120は、一実施形態によって、分割形態情報を示すバイナリーコードを示すビットストリームを獲得することができる。獲得した1ビットまたは2ビットの大きさを有するバイナリーコードを利用して復号部130は、該分割形態情報に係わるシンタックスを決定することができる。復号部130は、該分割形態情報に係わるシンタックスを決定するために、2ビットのバイナリーコードのうちそれぞれのビットに係わる確率を更新することができる。すなわち、復号部130は、2ビットのバイナリーコードのうち最初ビンの値が0または1のうちいずれの値であるかということにより、次のビンを復号するとき、0または1の値を有する確率を更新することができる。   According to an embodiment, the decoding unit 130 may perform a decoding process of adaptive binary arithmetic coding to determine a syntax for a bin string, and the decoding unit 130 may determine a bitstream acquisition unit. The probability model for the bin acquired via 120 can be updated. Referring to FIG. 18, the bitstream acquisition unit 120 of the video decoding apparatus 100 may acquire a bitstream indicating a binary code indicating division form information according to an embodiment. The decoding unit 130 can determine the syntax related to the division form information using the obtained binary code having a size of 1 bit or 2 bits. The decoding unit 130 can update the probability related to each bit of the 2-bit binary code in order to determine the syntax related to the division form information. That is, the decoding unit 130 has a probability of having a value of 0 or 1 when decoding the next bin depending on whether the value of the first bin of the 2-bit binary code is 0 or 1 Can be updated.

一実施形態によって、復号部130は、シンタックスを決定する過程において、シンタックスに係わるビンストリングのビンを復号する過程で利用されるビンに係わる確率を更新することができ、復号部130は、前記ビンストリングのうち特定ビットにおいては、確率を更新せず、同一確率を有すると決定することができる。   According to an exemplary embodiment, the decoding unit 130 may update the probability related to the bin used in the process of decoding the bin string related to the syntax in the process of determining the syntax. It is possible to determine that a specific bit in the bin string has the same probability without updating the probability.

図18を参照すれば、非正方形状の符号化単位に係わる分割形態情報を示すビンストリングを利用してシンタックスを決定する過程において、復号部130は、非正方形状の符号化単位を分割しない場合には、0の値を有する1つのビンを利用し、該分割形態情報に係わるシンタックスを決定することができる。すなわち、ブロック形態情報が現在符号化単位は、非正方形状であるということを示す場合、該分割形態情報に係わるビンストリングの最初ビンは、非正方形状の符号化単位が分割されない場合、0であり、2個または3個の符号化単位に分割される場合、1でもある。それにより、非正方形の符号化単位に係わる分割形態情報のビンストリングの最初ビンが0である確率は、1/3であり、1である確率は、2/3でもある。前述のように、復号部130は、非正方形状の符号化単位が分割されないことを示す分割形態情報は、0の値を有する1ビットのビンストリングだけが表現されるので、復号部130は、分割形態情報の最初ビンが1である場合にだけ、2番目ビンが0であるか1であるかということを判断し、該分割形態情報に係わるシンタックスを決定することができる。一実施形態によって、復号部130は、該分割形態情報に係わる最初ビンが1である場合、2番目ビンが0または1である確率は、互いに同一確率であることとしてビンを復号することができる。   Referring to FIG. 18, the decoding unit 130 does not divide the non-square coding unit in the process of determining the syntax using the bin string indicating the division form information related to the non-square coding unit. In this case, one bin having a value of 0 can be used to determine the syntax related to the division form information. That is, if the block form information indicates that the current coding unit is non-square, the first bin of the bin string related to the division form information is 0 if the non-square coding unit is not divided. Yes, it is also 1 if it is divided into 2 or 3 coding units. Thereby, the probability that the first bin of the bin string of the division form information related to the non-square coding unit is 0 is 1/3, and the probability that it is 1 is also 2/3. As described above, the decoding unit 130 represents only the 1-bit bin string having a value of 0 in the division form information indicating that the non-square coding unit is not divided. Only when the first bin of the division form information is 1, it can be determined whether the second bin is 0 or 1, and the syntax related to the division form information can be determined. According to an exemplary embodiment, when the first bin related to the division form information is 1, the decoding unit 130 may decode the bins assuming that the probability that the second bin is 0 or 1 is the same probability. .

一実施形態によって、映像復号装置100は、分割形態情報に係わるビンストリングのビンを決定する過程において、それぞれのビンに係わる多様な確率を利用することができる。一実施形態によって、復号部130は、非正方形ブロック方向により、分割形態情報に係わるビンの確率を、異なるように決定することができる。一実施形態によって、復号部130は、現在符号化単位の広さまたは長辺長により、分割形態情報に係わるビンの確率を、異なるように決定することができる。一実施形態によって、復号部130は、現在符号化単位の形態及び長辺長のうち少なくとも一つにより、分割形態情報に係わるビンの確率を、異なるように決定することができる。   According to an exemplary embodiment, the video decoding apparatus 100 may use various probabilities associated with each bin in the process of determining bin strings related to the division form information. According to an embodiment, the decoding unit 130 may determine different bin probabilities related to the division form information depending on the non-square block direction. According to an embodiment, the decoding unit 130 may determine the bin probabilities related to the division form information differently according to the width or the long side length of the current coding unit. According to an exemplary embodiment, the decoding unit 130 may determine different bin probabilities related to the division type information according to at least one of the current coding unit type and the long side length.

一実施形態によって、復号部130は、所定サイズ以上の符号化単位については、分割形態情報に係わるビンの確率を同一であると決定することができる。例えば、符号化単位の長辺長を基準に、64サンプル以上の大きさの符号化単位については、該分割形態情報に係わるビンの確率が同一であると決定することができる。   According to an embodiment, the decoding unit 130 may determine that the probability of bins related to the division form information is the same for coding units of a predetermined size or larger. For example, it is possible to determine that the probability of bins related to the division form information is the same for an encoding unit having a size of 64 samples or more based on the long side length of the encoding unit.

一実施形態によって、復号部130は、分割形態情報のビンストリングを構成するビンに係わる初期確率は、スライスタイプ(例えば、Iスライス、PスライスまたはBスライス)に基づいて決定される。   According to an exemplary embodiment, the decoding unit 130 may determine an initial probability associated with bins constituting the bin string of the division form information based on a slice type (eg, I slice, P slice, or B slice).

図20は、ループフィルタリングを行う映像符号化・復号システムのブロック図を示した図面である。   FIG. 20 is a block diagram of a video encoding / decoding system that performs loop filtering.

映像符号化・復号システム2000の符号化端2010は、映像の符号化されたビットストリームを伝送し、復号化端2050は、ビットストリームを受信して復号することで復元映像を出力する。ここで、符号化端2010は、後述する映像符号化装置200に類似した構成でもあり、復号化端2050は、映像復号装置100に類似した構成でもある。   The encoding end 2010 of the video encoding / decoding system 2000 transmits the encoded bit stream of the video, and the decoding end 2050 outputs the restored video by receiving and decoding the bit stream. Here, the encoding end 2010 has a configuration similar to the video encoding device 200 described later, and the decoding end 2050 has a configuration similar to the video decoding device 100.

符号化端2010において、予測符号化部2015は、インター予測及びイントラ予測を介して参照映像を出力し、変換及び量子化部2020は、参照映像と現在入力映像とのレジデュアルデータを、量子化された変換係数に量子化して出力する。エントロピー符号化部2025は、量子化された変換係数を符号化して変換し、ビットストリームとして出力する。量子化された変換係数は、逆量子化及び逆変換部2030を経て、空間領域のデータに復元され、復元された空間領域のデータは、デブロッキングフィルタリング部2035及びループフィルタリング部2040を経て復元映像として出力される。該復元映像は、予測符号化部2015を経て、次の入力映像の参照映像にも使用される。   At the encoding end 2010, the predictive encoding unit 2015 outputs a reference video through inter prediction and intra prediction, and the transform and quantization unit 2020 quantizes residual data of the reference video and the current input video. Quantize the converted transform coefficient and output. The entropy encoding unit 2025 encodes and transforms the quantized transform coefficient and outputs it as a bit stream. The quantized transform coefficient is restored to the spatial domain data through the inverse quantization and inverse transformation unit 2030, and the restored spatial domain data is restored to the restored video through the deblocking filtering unit 2035 and the loop filtering unit 2040. Is output as The restored video is also used as a reference video for the next input video via the predictive coding unit 2015.

復号化端2050に受信されたビットストリームにおいて符号化された映像データは、エントロピー復号部2055及び逆量子化及び逆変換部2060を経て、空間領域のレジデュアルデータに復元される。予測復号部2075から出力された参照映像及びレジデュアルデータが組み合わされて空間領域の映像データが構成され、デブロッキングフィルタリング部2065及びループフィルタリング部2070は、空間領域の映像データに対してフィルタリングを行い、現在原本映像に係わる復元映像を出力することができる。復元映像は、予測復号部2075により、次の原本映像に係わる参照映像としても利用される。   The video data encoded in the bit stream received by the decoding end 2050 is restored to spatial domain residual data through the entropy decoding unit 2055 and the inverse quantization and inverse transform unit 2060. The spatial video data is configured by combining the reference video and residual data output from the predictive decoding unit 2075, and the deblocking filtering unit 2065 and the loop filtering unit 2070 perform filtering on the spatial domain video data. Therefore, it is possible to output a restored image related to the current original image. The restored video is also used as a reference video related to the next original video by the predictive decoding unit 2075.

符号化端2010のループフィルタリング部2040は、ユーザ入力またはシステム設定によって入力されたフィルタ情報を利用して、ループフィルタリングを行う。ループフィルタリング部2040によって使用されたフィルタ情報は、エントロピー符号化部2010に出力され、符号化された映像データと共に、復号化端2050に伝送される。復号化端2050のループフィルタリング部2070は、復号化端2050から入力されたフィルタ情報に基づいて、ループフィルタリングを行うことができる。   The loop filtering unit 2040 of the encoding end 2010 performs loop filtering using filter information input by user input or system setting. The filter information used by the loop filtering unit 2040 is output to the entropy encoding unit 2010 and transmitted to the decoding end 2050 together with the encoded video data. The loop filtering unit 2070 of the decoding end 2050 can perform loop filtering based on the filter information input from the decoding end 2050.

図21は、一実施形態による最大符号化単位に含まれるフィルタリング単位の一例、及びフィルタリング単位のフィルタリング遂行情報を示した図面である。   FIG. 21 is a diagram illustrating an example of a filtering unit included in the maximum coding unit and filtering performance information of the filtering unit according to an embodiment.

符号化端2010のループフィルタリング部2040、及び復号化端2050のループフィルタリング部2070のフィルタリング単位が、図3ないし図5を介して説明した一実施形態による符号化単位と類似したデータ単位から構成されるならば、フィルタ情報は、フィルタリング単位を示すためのデータ単位のブロック形態情報及び分割形態情報、並びにフィルタリング単位に対するループフィルタリング遂行いかんを示すループフィルタリング遂行情報を含んでもよい。   The filtering units of the loop filtering unit 2040 of the encoding end 2010 and the loop filtering unit 2070 of the decoding end 2050 are composed of data units similar to the encoding unit according to the embodiment described with reference to FIGS. In other words, the filter information may include block form information and division form information of a data unit for indicating a filtering unit, and loop filtering performance information indicating loop filtering performance for the filtering unit.

一実施形態による最大符号化単位2100に含まれたフィルタリング単位は、最大符号化単位2100に含まれた符号化単位と同一のブロック形態及び分割形態を有することができる。また、一実施形態による最大符号化単位2100に含まれたフィルタリング単位は、最大符号化単位2100に含まれた符号化単位の大きさを基準にも分割される。図21を参照し、例えば、該フィルタリング単位は、深度Dの正方形状のフィルタリング単位2140、深度Dの非正方形状のフィルタリング単位2132,2134、深度D+1の正方形状のフィルタリング単位2112,2114,2116,2152,2154,2164、深度D+1の非正方形状のフィルタリング単位2162,2166、深度D+2の正方形状のフィルタリング単位2122,2124,2126,2128を含んでもよい。   The filtering unit included in the maximum coding unit 2100 according to an embodiment may have the same block form and division form as the coding unit included in the maximum coding unit 2100. Also, the filtering unit included in the maximum coding unit 2100 according to an embodiment is divided based on the size of the coding unit included in the maximum coding unit 2100. Referring to FIG. 21, for example, the filtering unit is a square filtering unit 2140 having a depth D, a non-square filtering unit 2132, 2134 having a depth D, and a square filtering unit 2112, 2114, 2116 having a depth D + 1. 2152, 2154, 2164, non-square filtering units 2162, 2166 with depth D + 1, and square filtering units 2122, 2124, 2126, 2128 with depth D + 2.

最大符号化単位2100に含まれたフィルタリング単位のブロック形態情報、分割形態情報(深度)及びループフィルタリング遂行情報は、下記表1のように符号化される。   Block form information, division form information (depth) and loop filtering performance information of the filtering unit included in the maximum coding unit 2100 are encoded as shown in Table 1 below.


一実施形態によるブロック形態情報及びブロック分割情報により、符号化単位が再帰的に分割され、複数個の符号化単位が決定される過程は、図13を介して説明した通りである。一実施形態によるフィルタリング単位のループフィルタリング遂行情報は、フラグ値が1である場合、当該フィルタリング単位に対してループフィルタリングが行われることを示し、0である場合、ループフィルタリングが行われないことを示す。表1を参照すれば、ループフィルタリング部2040,2070により、フィルタリングの対象になるフィルタリング単位を決定するためのデータ単位の情報は、フィルタ情報としていずれも符号化されて伝送される。

The process of recursively dividing the coding unit according to the block form information and the block division information according to the embodiment and determining a plurality of coding units is as described with reference to FIG. In the filtering unit loop filtering performance information according to an embodiment, when the flag value is 1, it indicates that loop filtering is performed on the filtering unit, and when the flag value is 0, loop filtering is not performed. . Referring to Table 1, data unit information for determining a filtering unit to be filtered is encoded and transmitted as filter information by the loop filtering units 2040 and 2070.

一実施形態によって、構成された符号化単位は、原本映像との誤差を最小化させる形態に構成された符号化単位であるので、該符号化単位内において、空間的相関度が高いと予想される。従って、一実施形態による符号化単位に基づいて、フィルタリング単位が決定されることにより、符号化単位の決定と別途に、フィルタリング単位を決定する動作が省略される。また、それにより、一実施形態による符号化単位に基づいて、フィルタリング単位を決定することにより、フィルタリング単位の分割形態を決定するための情報を省略することができるので、フィルタ情報の伝送ビットレートを節約することができる。   According to an embodiment, the configured coding unit is a coding unit configured to minimize an error from the original video, and therefore, a spatial correlation degree is expected to be high in the coding unit. The Therefore, by determining the filtering unit based on the encoding unit according to the embodiment, the operation of determining the filtering unit separately from the determination of the encoding unit is omitted. Also, by determining the filtering unit based on the coding unit according to one embodiment, information for determining the division form of the filtering unit can be omitted, so the transmission bit rate of the filter information can be reduced. Can be saved.

前述の実施形態においては、フィルタリング単位が、一実施形態による符号化単位に基づいて決定されるように説明したが、符号化単位に基づいてフィルタリング単位の分割を行っていて、任意の深度において、それ以上分割せず、当該深度までだけにフィルタリング単位の形態が決定されもする。   In the above-described embodiment, it has been described that the filtering unit is determined based on the coding unit according to one embodiment, but the filtering unit is divided based on the coding unit, and at an arbitrary depth, The form of the filtering unit may be determined only up to the depth without further division.

前述の実施形態に開示されたフィルタリング単位の決定は、ループフィルタリングだけではなく、デブロッキングフィルタリング、適応的ループフィルタリングなど多様な実施形態にも適用される。   The determination of the filtering unit disclosed in the above embodiment is applied not only to loop filtering but also to various embodiments such as deblocking filtering and adaptive loop filtering.

一実施形態によって、映像復号装置100は、ブロック形態情報及び分割形態情報のうち少なくとも一つを利用して、現在符号化単位を分割することができ、該ブロック形態情報は、正方形状のみを利用するとあらかじめ決定され、該分割形態情報は、分割しないか、あるいは4個の正方形状の符号化単位に分割されることを示すことができるとあらかじめ決定される。すなわち、該現在符号化単位は、前記ブロック形態情報によれば、符号化単位は、常時正方形状を有し、前記分割形態情報に基づいて、分割されないか、あるいは4個の正方形状の符号化単位にも分割される。映像復号装置100は、かようなブロック形態及び分割形態のみを利用するとあらかじめ決定された所定符号化方法を利用して生成されたビットストリームを、ビットストリーム獲得部110を介して獲得することができ、復号部120は、あらかじめ決定されたブロック形態及び分割形態のみを利用することができる。かような場合、映像復号装置100は、前述の所定符号化方法と類似した所定復号方法を利用することにより、所定符号化方法との互換性問題を解決することができる。一実施形態によって、映像復号装置100は、ブロック形態情報及び分割形態情報が示すことができる多様な形態のうち、あらかじめ決定されたブロック形態及び分割形態のみを利用する前述の所定復号方法を利用する場合、ブロック形態情報は、正方形状のみを示すことになるので、映像復号装置100は、ビットストリームから、ブロック形態情報を獲得する過程を省略することができる。前述の所定復号方法を利用するか否かということを示すシンタックスが利用され、かようなシンタックスは、シーケンス、ピクチャ、スライス単位、最大符号化単位など複数個の符号化単位を含む多様な形態のデータ単位ごとに、ビットストリームから獲得される。すなわち、ビットストリーム獲得部110は、所定復号方法の使用いかんを示すシンタックスに基づいて、ブロック形態情報を示すシンタックスを、ビットストリームから獲得するか否かということを決定することができる。   According to an embodiment, the video decoding apparatus 100 may divide a current coding unit using at least one of block form information and division form information, and the block form information uses only a square shape. Then, it is determined in advance, and it is determined in advance that the division form information can indicate that it is not divided or is divided into four square-shaped coding units. That is, according to the block form information, the current coding unit has a square shape at all times, and is not divided based on the division form information, or is encoded into four square shapes. It is also divided into units. The video decoding apparatus 100 can acquire a bitstream generated using a predetermined encoding method determined in advance using only the block form and the division form via the bitstream acquisition unit 110. The decoding unit 120 can use only a predetermined block form and division form. In such a case, the video decoding apparatus 100 can solve the compatibility problem with the predetermined encoding method by using a predetermined decoding method similar to the above-described predetermined encoding method. According to an embodiment, the video decoding apparatus 100 uses the above-described predetermined decoding method that uses only a predetermined block form and division form among various forms that can be indicated by the block form information and the division form information. In this case, since the block form information indicates only a square shape, the video decoding apparatus 100 can omit the process of acquiring the block form information from the bit stream. A syntax indicating whether or not to use the above-described predetermined decoding method is used. Such syntax includes various coding units including a plurality of coding units such as a sequence, a picture, a slice unit, and a maximum coding unit. For each data unit of the form, it is obtained from the bitstream. That is, the bitstream acquisition unit 110 can determine whether or not to acquire the syntax indicating the block form information from the bitstream based on the syntax indicating the usage of the predetermined decoding method.

図23は、一実施形態による符号化単位のZスキャン順序によるインデックスを図示する。   FIG. 23 illustrates an index according to a Z-scan order of coding units according to one embodiment.

一実施形態による映像復号装置100は、上位データ単位に含まれた下位データ単位を、Zスキャン順序によってスキャンすることができる。また、一実施形態による映像復号装置100は、最大符号化単位内、またはプロセッシングブロックに含まれる符号化単位内のZスキャンインデックスによって、データに順次にアクセスすることができる。   The video decoding apparatus 100 according to an embodiment may scan the lower data unit included in the upper data unit according to the Z scan order. In addition, the video decoding apparatus 100 according to an embodiment can sequentially access data using a Z scan index within a maximum coding unit or within a coding unit included in a processing block.

一実施形態による映像復号装置100が基準符号化単位を、少なくとも1つの符号化単位に分割することができることは、図3及び図4を参照して説明した通りである。このとき、基準符号化単位内には、正方形状の符号化単位と非正方形状の符号化単位とが混在する。一実施形態による映像復号装置100は、基準符号化単位内の各符号化単位に含まれたZスキャンインデックスによって、データアクセスを遂行することができる。このとき、基準符号化単位内に、非正方形状の符号化単位が存在するか否かということによってZスキャンインデックスを適用する方式が異なる。   As described with reference to FIGS. 3 and 4, the video decoding apparatus 100 according to an embodiment may divide the reference coding unit into at least one coding unit. At this time, a square coding unit and a non-square coding unit are mixed in the reference coding unit. The video decoding apparatus 100 according to an embodiment may perform data access using a Z scan index included in each coding unit in the reference coding unit. At this time, the method of applying the Z scan index differs depending on whether or not a non-square coding unit exists in the reference coding unit.

一実施形態により、基準符号化単位内に、非正方形状の符号化単位が存在しない場合、基準符号化単位内の下位深度の符号化単位同士は、連続したZスキャンインデックスを有することができる。例えば、一実施形態によって、上位深度の符号化単位は、下位深度の符号化単位4個を含んでもよい。ここで、4個の下位深度の符号化単位は、互いに隣接する境界が連続的なものであり、それぞれの下位深度の符号化単位は、Zスキャン順序を示すインデックスによって、Zスキャン順序でスキャンされる。一実施形態によるZスキャン順序を示すインデックスは、各符号化単位について、Zスキャン順序によって増加する数にも設定される。その場合、同一深度の深度別符号化単位同士Zスキャン順序によってスキャンが可能である。   According to an embodiment, when there are no non-square-shaped coding units in the reference coding unit, coding units at lower depths in the reference coding unit may have a continuous Z scan index. For example, according to an embodiment, the upper depth coding unit may include four lower depth coding units. Here, the four sub-depth coding units have continuous adjacent boundaries, and each sub-depth coding unit is scanned in the Z scan order by an index indicating the Z scan order. The The index indicating the Z scan order according to an embodiment is also set to a number that increases with the Z scan order for each coding unit. In this case, scanning can be performed according to the Z scanning order between coding units by depth of the same depth.

一実施形態により、基準符号化単位内に、非正方形状の符号化単位が少なくとも1以上存在する場合、映像復号装置100は、基準符号化単位内の符号化単位を、それぞれサブブロックに分割し、分割されたサブブロックに対して、Zスキャン順序によるスキャンを行うことができる。例えば、基準符号化単位内に、垂直方向または水平方向の非正方形状の符号化単位が存在する場合、分割されたサブブロックを利用して、Zスキャンを行うことができる。また、例えば、基準符号化単位内において、奇数個の符号化単位に分割が行われた場合、サブブロックを利用して、Zスキャンを行うことができる。該サブブロックは、それ以上分割されない符号化単位、または任意の符号化単位が分割されたものであり、正方形状でもある。例えば、正方形状の符号化単位から、4個の正方形状のサブブロックが分割される。また、例えば、非正方形状の符号化単位からは、2個の正方形状のサブブロックが分割される。   According to an embodiment, when there are at least one non-square coding unit in the reference coding unit, the video decoding apparatus 100 divides each coding unit in the reference coding unit into sub-blocks. The divided sub-blocks can be scanned in the Z scan order. For example, when there is a non-square coding unit in the vertical direction or the horizontal direction in the reference coding unit, Z scanning can be performed using the divided sub-blocks. Further, for example, when division is performed into an odd number of coding units in the reference coding unit, Z scanning can be performed using sub-blocks. The sub-block is obtained by dividing a coding unit that is not divided any further, or an arbitrary coding unit, and also has a square shape. For example, four square sub-blocks are divided from a square coding unit. For example, two square sub-blocks are divided from a non-square coding unit.

図23を参照し、例えば、一実施形態による映像復号装置100は、符号化単位2300内において、下位深度の符号化単位2302,2304,2306,2308、2310を、Zスキャン順序によってスキャンすることができる。符号化単位2300及び符号化単位2302,2304,2306,2308,2310は、それぞれ相対的に上位符号化単位及び下位符号化単位である。符号化単位2300は、水平方向の非正方形状の符号化単位2306,2310を含む。それら非正方形状の符号化単位2306,2310は、隣接した正方形状の符号化単位2302,2304との境界が不連続的である。また、符号化単位2308は、正方形状であり、非正方形状の符号化単位が奇数個であり、分割時、中間に位置した符号化単位である。非正方形状の符号化単位2306,2310と同様に、符号化単位2308は、隣接した正方形状の符号化単位2302,2304との境界が不連続的である。符号化単位2300内に、非正方形状の符号化単位2306,2310が含まれるか、あるいは非正方形状の符号化単位が奇数個であり、分割時、中間に位置した符号化単位2308が含まれた場合、符号化単位間に隣接する境界が不連続的であるために、連続的なZスキャンインデックスが設定されない。従って、映像復号装置100は、符号化単位をサブブロックに分割することにより、Zスキャンインデックスを連続的に設定することができる。また、映像復号装置100は、非正方形状の符号化単位2306,2310、または奇数個に分割された非正方形状の符号化単位の中間に位置した符号化単位2308に対して、連続したZスキャンを行うことができる。   Referring to FIG. 23, for example, the video decoding apparatus 100 according to an embodiment may scan the lower-depth coding units 2302, 2304, 2306, 2308, and 2310 in the coding unit 2300 according to the Z scan order. it can. The coding unit 2300 and the coding units 2302, 2304, 2306, 2308, and 2310 are relatively higher coding units and lower coding units, respectively. Coding unit 2300 includes non-square coding units 2306 and 2310 in the horizontal direction. These non-square coding units 2306 and 2310 have discontinuous boundaries with adjacent square coding units 2302 and 2304. Also, the coding unit 2308 has a square shape, an odd number of non-square coding units, and is a coding unit positioned in the middle when divided. Similar to the non-square coding units 2306 and 2310, the coding unit 2308 has a discontinuous boundary with the adjacent square coding units 2302 and 2304. The coding unit 2300 includes non-square coding units 2306 and 2310, or there are an odd number of non-square coding units and includes a coding unit 2308 located in the middle at the time of division. In this case, since the adjacent boundary between coding units is discontinuous, a continuous Z scan index is not set. Accordingly, the video decoding apparatus 100 can continuously set the Z scan index by dividing the coding unit into sub-blocks. Also, the video decoding apparatus 100 performs continuous Z scan on the non-square coding units 2306 and 2310 or the coding unit 2308 located in the middle of the odd-numbered non-square coding units. It can be performed.

図23に図示された符号化単位2320は、符号化単位2300内の符号化単位2302,2304,2306,2308,2310をサブブロックに分割したものである。該サブブロックそれぞれに対してZスキャンインデックスが設定され、該サブブロック間の隣接する境界は、連続的であるので、該サブブロック同士Zスキャン順序によって、スキャンが可能である。例えば、一実施形態による復号装置において、符号化単位2308は、サブブロック2322,2324,2326,2328にも分割される。このとき、サブブロック2322,2324は、サブブロック2330に対するデータ処理後にスキャンされ、サブブロック2326,2328は、サブブロック2332に対するデータ処理後にスキャンされる。また、それぞれのサブブロック同士Zスキャン順序によってスキャンされる。   The coding unit 2320 illustrated in FIG. 23 is obtained by dividing the coding units 2302, 2304, 2306, 2308, and 2310 in the coding unit 2300 into sub-blocks. A Z-scan index is set for each of the sub-blocks, and adjacent boundaries between the sub-blocks are continuous. Therefore, scanning can be performed according to the Z-scan order of the sub-blocks. For example, in the decoding apparatus according to an embodiment, the coding unit 2308 is also divided into sub-blocks 2322, 2324, 2326, and 2328. At this time, the sub-blocks 2322 and 2324 are scanned after data processing on the sub-block 2330, and the sub-blocks 2326 and 2328 are scanned after data processing on the sub-block 2332. Further, each sub-block is scanned in the Z-scan order.

前述の実施形態において、データ単位に対してZスキャン順序によってスキャンすることは、データ保存、データローディング、データアクセスなどのためのものでもある。   In the above-described embodiment, scanning the data unit in the Z scan order is also for data storage, data loading, data access, and the like.

また、前述の実施形態では、データ単位をZスキャン順序によってスキャンすることができると説明したが、データ単位のスキャン順序は、ラスタースキャン、Nスキャン、右上向き対角スキャン、水平的スキャン、垂直的スキャンなど多様なスキャン順序によって遂行され、該Zスキャン順序に限定して解釈されるものではない。   In the above-described embodiment, it has been described that data units can be scanned in the Z scan order. However, the scan order of data units is raster scan, N scan, upper right diagonal scan, horizontal scan, and vertical scan. It is performed by various scan orders such as scans, and is not limited to the Z scan order.

また、前述の実施形態では、基準符号化単位内の符号化単位に対してスキャンを行うと説明したが、それに限定して解釈されるものではなく、スキャン遂行の対象は、最大符号化単位、またはプロセッシングブロック内の任意のブロックでもある。   Further, in the above-described embodiment, it has been described that the scanning is performed on the coding unit in the reference coding unit. However, the present invention is not limited to this, and the target of scanning is the maximum coding unit, Or any block within the processing block.

また、前述の実施形態では、非正方形状のブロックが、少なくとも1以上存在する場合にのみサブブロックに分割し、Zスキャン順序によるスキャンを行うように説明したが、単純化された具現のために、非正方形状のブロックが存在しない場合にも、サブブロックを分割し、Zスキャン順序によるスキャンを行うこともできる。   Further, in the above-described embodiment, it has been described that the block is divided into sub-blocks only when at least one non-square block exists, and scanning is performed according to the Z-scan order. However, for simplified implementation. Even when there is no non-square block, it is possible to divide the sub-block and perform scanning in the Z scan order.

一実施形態による映像復号装置100は、符号化単位に対するインター予測またはイントラ予測を行って予測データを生成し、現在符号化単位に含まれた変換単位に対して逆変換を行い、レジデュアルデータを生成し、生成された予測データとレジデュアルデータとを利用し、現在符号化単位を復元することができる。   The video decoding apparatus 100 according to an embodiment performs inter prediction or intra prediction on a coding unit to generate prediction data, performs inverse conversion on a conversion unit included in the current coding unit, and converts residual data into The current encoding unit can be restored using the generated prediction data and residual data.

一実施形態による符号化単位の予測モードは、イントラモード、インターモード及びスキップモードのうち少なくとも一つでもある。一実施形態により、符号化単位ごとに独立して予測モードが選択される。   The prediction mode of a coding unit according to an embodiment is at least one of an intra mode, an inter mode, and a skip mode. According to one embodiment, the prediction mode is selected independently for each coding unit.

一実施形態による2Nx2N形態の符号化単位が分割され、2つの2NxN形態、または2つのNx2N形態の符号化単位に分割された場合、それらそれぞれの符号化単位に対して、インターモード予測及びイントラモード予測が別個にも行われる。また、一実施形態による2NxN形態またはNx2N形態の符号化単位については、スキップモードが適用されもする。   When a 2Nx2N-type coding unit according to an embodiment is divided and divided into two 2NxN-type or two Nx2N-type coding units, inter-mode prediction and intra mode are performed for each of the coding units. Prediction is also made separately. In addition, the skip mode may be applied to a 2NxN or Nx2N coding unit according to an embodiment.

一方、一実施形態による映像復号装置100は、8x4形態または4x8形態の符号化単位のスキップモードにおいて、双方向予測(bi−prediction)の遂行が許容される。スキップモードにおいては、符号化単位に対してスキップモード情報のみを伝送されるために、当該符号化単位に対するレジデュアルデータの利用が省略される。従って、その場合、逆量子化及び逆変換に対するオーバーヘッド(overhead)を節約することができる。その代わり、一実施形態による映像復号装置100は、スキップモードが適用される符号化単位に対して双方向予測を許容し、復号効率を高めることができる。また、一実施形態による映像復号装置100は、8x4形態または4x8形態の符号化単位に対して、双方向予測を許容するが、動き補償段階において、補間タップ(interpolation tap)数を相対的に少なく設定し、メモリ帯域幅を効率的に使用することができる。一例として、8タップの補間フィルタを使用する代わりに、8未満のタップ数の補間フィルタ(例えば、2タップ補間フィルタ)を使用することもできる。   On the other hand, the video decoding apparatus 100 according to an embodiment is allowed to perform bi-prediction in the 8 × 4 or 4 × 8 coding unit skip mode. In the skip mode, since only the skip mode information is transmitted for the coding unit, use of residual data for the coding unit is omitted. Therefore, in that case, overhead for inverse quantization and inverse transform can be saved. Instead, the video decoding apparatus 100 according to an embodiment may allow bi-directional prediction for a coding unit to which the skip mode is applied, and increase decoding efficiency. Also, the video decoding apparatus 100 according to an embodiment allows bi-directional prediction for an 8 × 4 or 4 × 8 coding unit, but relatively reduces the number of interpolation taps in the motion compensation stage. Set and use memory bandwidth efficiently. As an example, instead of using an 8-tap interpolation filter, an interpolation filter having a tap number of less than 8 (for example, a 2-tap interpolation filter) may be used.

また、一実施形態による映像復号装置100は、現在符号化単位に含まれた領域をすでに設定された形態で分割(例えば、斜線基盤分割)し、分割された各領域に対するイントラ予測情報またはインター予測情報をシグナリングすることもできる。   In addition, the video decoding apparatus 100 according to an embodiment divides a region included in a current coding unit in a preset manner (for example, diagonally-based division), and intra prediction information or inter prediction for each divided region. Information can also be signaled.

一実施形態による映像復号装置100は、イントラモードを利用して、現在符号化単位の予測サンプルを、現在符号化単位の周辺サンプルを利用して獲得することができる。このとき、イントラ予測は、周辺のすでに再構成されたサンプルを使用して予測を行うが、かようなサンプルを参照サンプルという。   The video decoding apparatus 100 according to an embodiment may obtain a prediction sample of a current coding unit using an intra mode using a peripheral sample of the current coding unit. At this time, in intra prediction, prediction is performed by using already reconstructed samples in the vicinity, and such samples are referred to as reference samples.

図24は、一実施形態による符号化単位のイントラ予測のための参照サンプルを示す図面である。図24を参照すれば、ブロック形態が非四角型形態であり、水平方向の長さがwであり、垂直方向の長さがhである現在符号化単位2300に対して、上端の参照サンプル2302が、w+h個、左側の参照サンプル2304が、w+h個、左側上端の参照サンプル2306が一つであり、総2(w+h)+1個の参照サンプルが必要である。参照サンプル準備のために、参照サンプルが存在しない部分に対してパディングを行う段階を経て、再構成された参照サンプルに含まれた量子化エラーを減らすための予測モード別参照サンプルフィルタリング過程を経ることもできる。   FIG. 24 is a diagram illustrating reference samples for intra prediction of a coding unit according to an embodiment. Referring to FIG. 24, the reference sample 2302 at the upper end of the current coding unit 2300 in which the block form is a non-square form, the horizontal length is w, and the vertical length is h. However, there are w + h, left reference samples 2304, w + h, one upper left reference sample 2306, and a total of 2 (w + h) +1 reference samples are required. In order to reduce the quantization error included in the reconstructed reference sample, the reference sample filtering process according to the prediction mode is performed in order to reduce the quantization error included in the reconstructed reference sample through the step of performing padding on the portion where the reference sample does not exist. You can also.

前述の実施形態においては、現在符号化単位のブロック形態が非四角型形態である場合の参照サンプルの個数について説明したが、かような参照サンプルの個数は、現在符号化単位が、四角形状のブロック形態の場合にも、同一に適用される。   In the above embodiment, the number of reference samples when the block form of the current coding unit is a non-square shape has been described. The same applies to the block form.

前述の多様な実施形態は、映像復号装置100が遂行する映像復号方法に係わる動作について説明したものである。以下では、かような映像復号方法に対して、逆順の過程に該当する映像符号化方法を遂行する映像符号化装置200の動作について、多様な実施形態を介して説明する。   The various embodiments described above describe operations related to the video decoding method performed by the video decoding apparatus 100. Hereinafter, the operation of the video encoding apparatus 200 that performs the video encoding method corresponding to the reverse process of the video decoding method will be described through various embodiments.

図2は、一実施形態によって、ブロック形態情報及び分割形態情報のうち少なくとも一つに基づいて、映像を符号化することができる映像符号化装置200のブロック図を図示する。   FIG. 2 illustrates a block diagram of a video encoding apparatus 200 that can encode a video based on at least one of block configuration information and division configuration information according to an exemplary embodiment.

図2を参照すれば、映像符号化装置200は、一実施形態によって、分割形態情報、ブロック形態情報のような所定情報を含むビットストリームを生成するためのビットストリーム生成部210、前記所定情報を利用して、映像を符号化するための符号化部220を含んでもよい。一実施形態によって、映像符号化装置200の符号化部220は、ブロック形態情報及び分割形態情報のうち少なくとも一つに基づいて、映像を分割する少なくとも1つの符号化単位を決定することができ、映像符号化装置200のビットストリーム生成部210において、かようなブロック形態情報及び分割形態情報のうち少なくとも一つを含むビットストリームを生成することができる。ここで、該ブロック形態情報は、符号化単位の形態を示す情報またはシンタックスを意味し、該分割形態情報は、符号化単位が分割される形態を示す情報またはシンタックスを意味する。   Referring to FIG. 2, according to an embodiment, the video encoding apparatus 200 includes a bitstream generation unit 210 for generating a bitstream including predetermined information such as division form information and block form information, and the predetermined information. It may include an encoding unit 220 for encoding video. According to an embodiment, the encoding unit 220 of the video encoding apparatus 200 may determine at least one encoding unit for dividing a video based on at least one of block form information and division form information. The bit stream generation unit 210 of the video encoding device 200 can generate a bit stream including at least one of such block form information and division form information. Here, the block form information means information or syntax indicating the form of the coding unit, and the division form information means information or syntax indicating the form in which the coding unit is divided.

一実施形態によって、映像符号化装置200の符号化部220は、符号化単位の形態を決定することができる。例えば、符号化単位が正方形であるか、あるいは非正方形の形態を有することができ、かような形態を示す情報は、ブロック形態情報に含まれもする
一実施形態によって、符号化部220は、符号化単位がいかなる形態に分割されるかということを決定することができる。符号化部220は、符号化単位に含まれる少なくとも1つの符号化単位の形態を決定することができ、ビットストリーム生成部210は、かような符号化単位の形態に係わる情報を含む分割形態情報を含むビットストリームを生成することができる。
According to an exemplary embodiment, the encoding unit 220 of the video encoding apparatus 200 may determine the encoding unit form. For example, the encoding unit may be square or may have a non-square form, and information indicating such form may be included in the block form information. According to one embodiment, the encoding unit 220 may It can be determined what form the coding unit is divided into. The encoding unit 220 can determine the form of at least one encoding unit included in the encoding unit, and the bitstream generation unit 210 can determine the division form information including information related to the form of the encoding unit. Can be generated.

一実施形態によって、符号化部220は、符号化単位が分割されるか、あるいは分割されないかということを決定することができる。符号化部220が、符号化単位に1つの符号化単位だけが含まれるか、あるいは符号化単位が分割されないと決定する場合、ビットストリーム生成部210は、符号化単位が分割されないことを示す分割形態情報を含むビットストリームを生成することができる。また、符号化部220は、符号化単位に含まれる複数個の符号化単位に分割することができ、ビットストリーム生成部210は、符号化単位は、複数個の符号化単位に分割されることを示す分割形態情報を含むビットストリームを生成することができる。   According to an embodiment, the encoding unit 220 may determine whether an encoding unit is divided or not divided. When the coding unit 220 determines that the coding unit includes only one coding unit or that the coding unit is not divided, the bit stream generation unit 210 performs division indicating that the coding unit is not divided. A bitstream containing morphological information can be generated. Also, the encoding unit 220 can be divided into a plurality of encoding units included in the encoding unit, and the bitstream generation unit 210 can be divided into a plurality of encoding units. Can be generated.

一実施形態によって、符号化単位をいくつの符号化単位に分割するかということを示すか、あるいはいずれの方向に分割するかということを示す情報が、分割形態情報に含まれもする。例えば、該分割形態情報は、垂直方向及び水平方向のうち少なくとも1つの方向に分割することを示すか、あるいは分割しないということを示すことができる。   According to an embodiment, information indicating whether the coding unit is divided into how many coding units or in which direction the coding unit is divided may be included in the division form information. For example, the division form information can indicate that the image is divided in at least one of the vertical direction and the horizontal direction, or can indicate that the image is not divided.

図3は、一実施形態によって、映像符号化装置200が現在符号化単位を分割し、少なくとも1つの符号化単位を決定する過程を図示する。   FIG. 3 illustrates a process in which the video encoding apparatus 200 divides a current encoding unit and determines at least one encoding unit according to an exemplary embodiment.

一実施形態によって、符号化部220は、符号化単位の形態を決定することができる。例えば、符号化部220は、RD(rate distortion)costを考慮し、最適のRD costを有する符号化単位の形態を決定することができる。   According to an embodiment, the encoding unit 220 may determine a coding unit type. For example, the encoding unit 220 may determine the form of the encoding unit having the optimal RD cost in consideration of the RD (rate distortion) cost.

一実施形態により、符号化部220は、現在符号化単位が正方形状であることを決定することができ、それにより、正方形状の符号化単位が分割される形態を決定することができる。例えば、符号化部220は、正方形の符号化単位を分割しないか、垂直に分割するか、水平に分割するか、あるいは4個の符号化単位に分割するかということなどを決定することができる。図3を参照すれば、符号化部220は、現在符号化単位300と同一サイズを有する符号化単位310aを分割しないか、あるいは所定分割方法を示す分割形態情報に基づいて分割された符号化単位310b、310c、310dなどを決定することができる。   According to an embodiment, the encoding unit 220 may determine that the current encoding unit is a square shape, and thereby determine a form in which the square encoding unit is divided. For example, the encoding unit 220 can determine whether the square encoding unit is not divided, divided vertically, divided horizontally, or divided into four encoding units. . Referring to FIG. 3, the encoding unit 220 does not divide the encoding unit 310a having the same size as the current encoding unit 300, or the encoding unit is divided based on the division form information indicating a predetermined division method. 310b, 310c, 310d, etc. can be determined.

図3を参照すれば、符号化部220は、一実施形態によって、現在符号化単位300を垂直方向に分割した2つの符号化単位310bを決定することができる。符号化部220は、現在符号化単位300を水平方向に分割した2つの符号化単位310cを決定することができる。符号化部220は、現在符号化単位300を、垂直方向及び水平方向に分割した4つの符号化単位310dを決定することができる。ただし、正方形の符号化単位が分割される分割形態は、前述の形態に限定して解釈されるものではなく、分割形態情報が示すことができる多様な形態が含まれもする。正方形の符号化単位が分割される所定分割形態は、以下において、多様な実施形態を介して具体的に説明する。   Referring to FIG. 3, the encoding unit 220 may determine two encoding units 310b obtained by dividing the current encoding unit 300 in the vertical direction according to an embodiment. The encoding unit 220 can determine two encoding units 310c obtained by dividing the current encoding unit 300 in the horizontal direction. The encoding unit 220 can determine four encoding units 310d obtained by dividing the current encoding unit 300 in the vertical direction and the horizontal direction. However, the division form in which the square coding unit is divided is not limited to the above-described form, and may include various forms that can be indicated by the division form information. The predetermined division form in which the square coding unit is divided will be described in detail below through various embodiments.

一実施形態によって、映像符号化装置200のビットストリーム生成部210は、現在符号化単位300が、符号化部220によって分割された形態を示す分割形態情報を含むビットストリームを生成することができる。   According to an exemplary embodiment, the bitstream generation unit 210 of the video encoding apparatus 200 may generate a bitstream including division form information indicating a form in which the current encoding unit 300 is divided by the encoding unit 220.

図4は、一実施形態によって、映像符号化装置200が非正方形の形態である符号化単位を分割し、少なくとも1つの符号化単位を決定する過程を図示する。   FIG. 4 illustrates a process in which the video encoding apparatus 200 divides a coding unit having a non-square shape and determines at least one coding unit according to an embodiment.

一実施形態によって、符号化部220は、非正方形の現在符号化単位を分割しないか、あるいは所定方法で分割するかということを決定することができる。図4を参照すれば、現在符号化単位400または450の符号化部220は、現在符号化単位400または450と同一サイズを有する符号化単位410または460を分割しないか、あるいは所定分割方法によって分割された符号化単位420a,420b,430a,430b,430c,470a,470b,480a,480b,480cを決定することができる。映像符号化装置200のビットストリーム生成部210は、かような分割形態を示す分割形態情報を含むビットストリームを生成することができる。非正方形の符号化単位が分割される所定分割方法は、以下において、多様な実施形態を介して具体的に説明する。   According to an embodiment, the encoding unit 220 may determine whether to divide a non-square current encoding unit or to divide it in a predetermined manner. Referring to FIG. 4, the encoding unit 220 of the current coding unit 400 or 450 does not divide the coding unit 410 or 460 having the same size as the current coding unit 400 or 450, or divides it by a predetermined division method. The encoded units 420a, 420b, 430a, 430b, 430c, 470a, 470b, 480a, 480b, and 480c can be determined. The bit stream generation unit 210 of the video encoding device 200 can generate a bit stream including division form information indicating such a division form. A predetermined division method for dividing a non-square coding unit will be described in detail below through various embodiments.

一実施形態によって、符号化部220は、符号化単位が分割される形態を決定することができる。図4を参照すれば、符号化部220は、現在符号化単位400または450を分割し、現在符号化単位に含まれる2つの符号化単位420a,420bまたは470a,470bを決定することができ、ビットストリーム生成部210は、かような分割形態を示す分割形態情報を含むビットストリームを生成することができる。   According to an embodiment, the encoding unit 220 may determine a form in which the encoding unit is divided. Referring to FIG. 4, the encoding unit 220 may divide the current encoding unit 400 or 450 and determine two encoding units 420a and 420b or 470a and 470b included in the current encoding unit. The bit stream generation unit 210 can generate a bit stream including division form information indicating such a division form.

一実施形態によって、符号化部220が非正方形の形態の現在符号化単位400または450を分割する場合、非正方形の現在符号化単位400または450の長辺の位置を考慮し、現在符号化単位を分割することができる。例えば、符号化部220は、現在符号化単位400または450の形態を考慮し、現在符号化単位400または450の長辺を分割する方向に、現在符号化単位400または450を分割し、複数個の符号化単位を決定することができ、ビットストリーム生成部210は、かような分割形態を示す分割形態情報を含むビットストリームを生成することができる。   When the encoding unit 220 divides the current encoding unit 400 or 450 in a non-square form according to an embodiment, the current encoding unit is considered in consideration of the position of the long side of the non-square current encoding unit 400 or 450. Can be divided. For example, the encoding unit 220 considers the form of the current coding unit 400 or 450, divides the current coding unit 400 or 450 in the direction of dividing the long side of the current coding unit 400 or 450, and Can be determined, and the bitstream generation unit 210 can generate a bitstream including division form information indicating such a division form.

一実施形態により、符号化部220は、現在符号化単位400または450に含まれる奇数個の符号化単位を決定することができる。例えば、符号化部220は、現在符号化単位400または450を、3個の符号化単位430a,430b,430c,480a,480b,480cに分割することができる。一実施形態によって、符号化部220は、現在符号化単位400または450に含まれる奇数個の符号化単位を決定することができ、決定された符号化単位の大きさは、いずれも同一ではないこともある。例えば、決定された奇数個の符号化単位430a,430b,430c,480a,480b,480cにおいて、所定符号化単位430bまたは480bの大きさは、他の符号化単位430a,430c,480a,480cとは異なる大きさを有することもできる。すなわち、現在符号化単位400または450が分割されて決定される符号化単位は、複数の種類の大きさを有することができ、場合によっては、奇数個の符号化単位430a,430b,430c,480a,480b,480cがそれぞれ互いに異なる大きさを有することもできる。   According to an embodiment, the encoding unit 220 may determine an odd number of encoding units included in the current encoding unit 400 or 450. For example, the encoding unit 220 may divide the current encoding unit 400 or 450 into three encoding units 430a, 430b, 430c, 480a, 480b, and 480c. According to an embodiment, the encoding unit 220 may determine an odd number of encoding units included in the current encoding unit 400 or 450, and the sizes of the determined encoding units are not the same. Sometimes. For example, in the determined odd number of coding units 430a, 430b, 430c, 480a, 480b, and 480c, the size of the predetermined coding unit 430b or 480b is different from the other coding units 430a, 430c, 480a, and 480c. It can also have different sizes. That is, the coding unit determined by dividing the current coding unit 400 or 450 may have a plurality of types of sizes, and in some cases, an odd number of coding units 430a, 430b, 430c, and 480a. , 480b and 480c can have different sizes.

一実施形態によって、符号化部220は、現在符号化単位400または450に含まれる奇数個の符号化単位を決定することができ、さらには、符号化部220は、分割して生成される奇数個の符号化単位のうち少なくとも1つの符号化単位に対して、所定制限を置くことができる。図4を参照すれば、符号化部220は、現在符号化単位400または450が分割されて生成された3個の符号化単位430a,430b,430c,480a,480b,480cのうち中央に位置する符号化単位430b,480bに対する復号過程を、他の符号化単位430a,430c,480a,480cと異なるようにすることができる。例えば、符号化部220は、中央に位置する符号化単位430b,480bについては、他の符号化単位430a,430c,480a,480cと異なり、それ以上分割されないように制限するか、あるいは所定回数ほどのみ分割されるように制限することができる。   According to an embodiment, the encoding unit 220 may determine an odd number of encoding units included in the current encoding unit 400 or 450, and further, the encoding unit 220 may generate an odd number of divided units. A predetermined restriction can be placed on at least one of the coding units. Referring to FIG. 4, the encoding unit 220 is located at the center of the three encoding units 430a, 430b, 430c, 480a, 480b, and 480c generated by dividing the current encoding unit 400 or 450. The decoding process for the coding units 430b and 480b may be different from those of the other coding units 430a, 430c, 480a, and 480c. For example, the encoding unit 220 limits the encoding units 430b and 480b located in the center so that the encoding units 430b and 480b are not further divided unlike the other encoding units 430a, 430c, 480a, and 480c, or about a predetermined number of times. Can be limited to only be divided.

図5は、一実施形態によって、映像符号化装置200が符号化単位を分割する過程を図示する。   FIG. 5 illustrates a process in which the video encoding apparatus 200 divides a coding unit according to an embodiment.

一実施形態によって、符号化部220は、正方形状の第1符号化単位500を符号化単位に分割するか、あるいは分割しないと決定することができる。一実施形態によって、符号化部220は、第1符号化単位500を水平方向に分割し、第2符号化単位510を決定することができ、ビットストリームである実施形態によって利用される第1符号化単位、第2符号化単位、第3符号化単位は、符号化単位間の分割前後関係を理解するために利用された用語である。例えば、第1符号化単位を分割すれば、第2符号化単位が決定され、第2符号化単位が分割されれば、第3符号化単位が決定される。以下では、利用される第1符号化単位、第2符号化単位及び第3符号化単位の関係は、前述の特徴によるものであると理解される。   According to an embodiment, the encoding unit 220 may determine that the square first encoding unit 500 is divided into encoding units or not. According to an embodiment, the encoding unit 220 may divide the first encoding unit 500 in the horizontal direction and determine the second encoding unit 510, and the first code used by the embodiment that is a bitstream. The encoding unit, the second encoding unit, and the third encoding unit are terms used for understanding the divisional order relationship between the encoding units. For example, if the first coding unit is divided, the second coding unit is determined, and if the second coding unit is divided, the third coding unit is determined. In the following, it will be understood that the relationship between the first coding unit, the second coding unit, and the third coding unit used is due to the above-described characteristics.

一実施形態によって、映像符号化装置200は、決定された第2符号化単位510を、ブロック形態情報及び分割形態情報のうち少なくとも一つに基づいて、符号化単位に分割するか、あるいは分割しないと決定することができる。図5を参照すれば、符号化部220は、ブロック形態情報及び分割形態情報のうち少なくとも一つに基づいて、第1符号化単位500を分割して決定された非正方形の形態の第2符号化単位510を、少なくとも1つの第3符号化単位520a,520b,520c,520dなどに分割するか、あるいは第2符号化単位510を分割しないこともある。映像符号化装置200のビットストリーム生成部210は、ブロック形態情報及び分割形態情報のうち少なくとも一つを含むビットストリームを生成することができ、符号化部220は、ブロック形態情報及び分割形態情報のうち少なくとも一つに基づいて、第1符号化単位500を分割し、多様な形態の複数個の、例えば、第2符号化単位510を分割することができ、第2符号化単位510は、ブロック形態情報及び分割形態情報のうち少なくとも一つに基づいて、第1符号化単位500が分割された方式によっても分割される。一実施形態により、第1符号化単位500が、第1符号化単位500に係わるブロック形態情報及び分割形態情報のうち少なくとも一つに基づいて、第2符号化単位510に分割された場合、第2符号化単位510も、第2符号化単位510に係わるブロック形態情報及び分割形態情報のうち少なくとも一つに基づいて、例えば、第3符号化単位520a,520b,520c,520dなどにも分割される。従って、非正方形状の符号化単位において、正方形の符号化単位が決定され、かような正方形状の符号化単位が再帰的に分割され、非正方形状の符号化単位が決定される。図5を参照すれば、非正方形状の第2符号化単位510が分割されて決定される奇数個の第3符号化単位520b,520c,520dにおいて所定符号化単位(例えば、真ん中に位置する符号化単位、または正方形状の符号化単位)は、再帰的にも分割される。一実施形態によって、奇数個の第3符号化単位520b,520c,520dのうち一つである正方形状の第3符号化単位520cは、水平方向に分割され、複数個の第4符号化単位にも分割される。複数個の第4符号化単位のうち一つである非正方形状の第4符号化単位540は、さらに複数個の符号化単位にも分割される。例えば、非正方形状の第4符号化単位540は、奇数個の符号化単位550a,550b,550cにさらに分割される。   According to an embodiment, the video encoding apparatus 200 may or may not divide the determined second encoding unit 510 into encoding units based on at least one of block form information and division form information. Can be determined. Referring to FIG. 5, the encoding unit 220 may determine a second code having a non-square shape determined by dividing the first coding unit 500 based on at least one of block form information and division form information. The encoding unit 510 may be divided into at least one third encoding unit 520a, 520b, 520c, 520d or the like, or the second encoding unit 510 may not be divided. The bit stream generation unit 210 of the video encoding device 200 can generate a bit stream including at least one of block form information and division form information, and the encoding unit 220 includes block form information and division form information. The first coding unit 500 may be divided based on at least one of them, and a plurality of various types of, for example, the second coding unit 510 may be divided. The second coding unit 510 may be a block. Based on at least one of the form information and the divided form information, the first coding unit 500 is also divided by the divided method. According to an exemplary embodiment, when the first coding unit 500 is divided into the second coding unit 510 based on at least one of block form information and division form information related to the first coding unit 500, The two coding units 510 are also divided into, for example, third coding units 520a, 520b, 520c, and 520d based on at least one of the block form information and the division form information related to the second coding unit 510. The Therefore, in the non-square coding unit, a square coding unit is determined, and such a square coding unit is recursively divided to determine a non-square coding unit. Referring to FIG. 5, an odd number of third coding units 520b, 520c, and 520d determined by dividing a non-square-shaped second coding unit 510 is a predetermined coding unit (for example, a code located in the middle). (A coding unit or a square-shaped coding unit) is also recursively divided. According to an exemplary embodiment, the square-shaped third coding unit 520c, which is one of the odd number of the third coding units 520b, 520c, and 520d, is divided in the horizontal direction and is divided into a plurality of fourth coding units. Is also divided. The non-square-shaped fourth coding unit 540 that is one of the plurality of fourth coding units is further divided into a plurality of coding units. For example, the non-square fourth encoding unit 540 is further divided into an odd number of encoding units 550a, 550b, and 550c.

該符号化単位は、符号化単位それぞれに係わる分割形態情報及びブロック形態情報のうち少なくとも一つに基づいて、再帰的にも分割される。該符号化単位の再帰的分割に利用される方法については、多様な実施形態を介して後述する。   The coding unit is also recursively divided based on at least one of division form information and block form information related to each coding unit. A method used for the recursive division of the coding unit will be described later through various embodiments.

一実施形態によって、符号化部220は、ブロック形態情報及び分割形態情報のうち少なくとも一つに基づいて、第3符号化単位520a,520b,520c,520dなどそれぞれを符号化単位に分割するか、あるいは第2符号化単位510を分割しないと決定することができる。符号化部220は、一実施形態によって、非正方形状の第2符号化単位510を、奇数個の第3符号化単位520b,520c,520dに分割することができる。映像符号化装置200は、奇数個の第3符号化単位520b,520c,520dのうち、所定第3符号化単位に対して、所定制限を置くことができる。例えば、映像符号化装置200は、奇数個の第3符号化単位520b,520c,520dにおいて、真ん中に位置する符号化単位520cについては、それ以上分割されないと制限するか、あるいは設定可能な回数に分割されなければならないと制限することができる。図5を参照すれば、映像符号化装置200は、非正方形状の第2符号化単位510に含まれる奇数個の第3符号化単位520b,520c,520dのうち、真ん中に位置する符号化単位520cは、それ以上分割されないか、所定分割形態に分割(例えば、4個の符号化単位にのみ分割するか、あるいは第2符号化単位510が分割された形態に対応する形態に分割)されるように制限するか、あるいは所定回数にのみ分割(例えば、n回だけ分割、n>0)するように制限することができる。ただし、真ん中に位置した符号化単位520cに対する前記制限は、単なる実施形態に過ぎないので、前述の実施形態に制限されて解釈されるものではなく、真ん中に位置した符号化単位520cが、異なる符号化単位520b,520dと異なるように復号される多様な制限を含むと解釈されなければならない。   According to an exemplary embodiment, the encoding unit 220 may divide each of the third encoding units 520a, 520b, 520c, and 520d into encoding units based on at least one of the block configuration information and the partition configuration information. Alternatively, it can be determined that the second coding unit 510 is not divided. The encoding unit 220 may divide the non-square second encoding unit 510 into an odd number of third encoding units 520b, 520c, and 520d according to an embodiment. The video encoding apparatus 200 can place a predetermined restriction on a predetermined third encoding unit among the odd number of third encoding units 520b, 520c, and 520d. For example, the video encoding apparatus 200 restricts the encoding unit 520c located in the middle among the odd number of third encoding units 520b, 520c, and 520d to be not divided any more or to a settable number of times. It can be restricted that it must be split. Referring to FIG. 5, the video encoding apparatus 200 includes a coding unit located in the middle of the odd number of third coding units 520b, 520c, and 520d included in the non-square second coding unit 510. 520c is not further divided or divided into a predetermined division form (for example, divided into only four coding units, or divided into a form corresponding to a form in which the second coding unit 510 is divided). Or may be limited to be divided only a predetermined number of times (for example, divided only n times, n> 0). However, the restriction on the encoding unit 520c located in the middle is merely an embodiment, and is not interpreted as being limited to the above-described embodiment. The coding unit 520c located in the middle is different in code. It should be construed to include various restrictions that are decoded differently from the quantization units 520b and 520d.

一実施形態によって、映像符号化装置200のビットストリーム生成部210は、現在符号化単位内の所定位置のサンプルに係わるビットストリームと共に、現在符号化単位を分割するために使用されたブロック形態情報及び分割形態情報のうち少なくとも一つを含むビットストリームを生成することができる。   According to an exemplary embodiment, the bitstream generation unit 210 of the video encoding device 200 may use the block configuration information used to divide the current coding unit together with the bitstream related to the sample at a predetermined position in the current coding unit, and A bitstream including at least one of the division form information can be generated.

図6は、一実施形態によって、符号化部220が奇数個の符号化単位のうち所定符号化単位を決定するための方法を図示する。映像符号化装置200の符号化部220は、現在符号化単位を多様な形態及び大きさの符号化単位に分割するか、あるいは分割しないと決定することができる。図6を参照すれば、ビットストリーム生成部210は、現在符号化単位600に含まれる複数個のサンプルのうち所定位置のサンプル(例えば、真ん中に位置するサンプル640)に係わるビットストリームと共に、現在符号化単位600のブロック形態情報及び分割形態情報のうち少なくとも一つを含むビットストリームを生成することができる。ただし、かようなブロック形態情報及び分割形態情報のうち少なくとも一つに係わる現在符号化単位600内の所定位置は、図6で図示する真ん中位置に限定して解釈されるものではなく、所定位置には、現在符号化単位600内に含まれる多様な位置(例えば、最上端、最下端、左側、右側、左側上端、左側下端、右側上端または右側下端など)が含まれものであると解釈されなければならない。   FIG. 6 illustrates a method for the encoding unit 220 to determine a predetermined encoding unit among an odd number of encoding units according to an exemplary embodiment. The encoding unit 220 of the video encoding apparatus 200 can determine whether or not to divide the current encoding unit into encoding units of various forms and sizes, or not to divide. Referring to FIG. 6, the bitstream generation unit 210 includes a current code together with a bitstream related to a sample at a predetermined position (for example, the sample 640 located in the middle) among a plurality of samples included in the current encoding unit 600. A bitstream including at least one of the block form information and the division form information of the unit 600 can be generated. However, the predetermined position in the current coding unit 600 related to at least one of the block form information and the division form information is not interpreted as being limited to the middle position illustrated in FIG. Includes various positions (for example, the uppermost end, the lowermost end, the left side, the right side, the upper left side, the lower left side, the upper right side, or the lower right side) included in the current encoding unit 600. There must be.

一実施形態によって、映像符号化装置200は、現在符号化単位が、所定個数の符号化単位に分割された場合、そのうち1つの符号化単位を選択することができる。複数個の符号化単位のうち一つを選択するための方法は、多様なものがあり、かような方法に係わる説明は、以下の多様な実施形態を介して後述する。   According to an embodiment, the video encoding apparatus 200 may select one of the encoding units when the current encoding unit is divided into a predetermined number of encoding units. There are various methods for selecting one of the plurality of coding units, and the description of such a method will be described later through various embodiments below.

一実施形態によって、映像符号化装置200の符号化部220は、現在符号化単位を複数個の符号化単位に分割し、所定位置の符号化単位を決定することができる。   According to an embodiment, the encoding unit 220 of the video encoding apparatus 200 may divide a current encoding unit into a plurality of encoding units and determine an encoding unit at a predetermined position.

図6は、一実施形態によって、映像符号化装置200が奇数個の符号化単位のうち所定位置の符号化単位を決定するための方法を図示する。   FIG. 6 illustrates a method for the video encoding apparatus 200 to determine an encoding unit at a predetermined position among an odd number of encoding units according to an exemplary embodiment.

一実施形態によって、符号化部220は、奇数個の符号化単位のうち、真ん中に位置する符号化単位を決定するために、奇数個の符号化単位それぞれの位置を示す情報を利用することができる。図6を参照すれば、符号化部220は、現在符号化単位600を分割し、奇数個の符号化単位620a,620b,620cを決定することができる。符号化部220は、奇数個の符号化単位620a,620b,620cの位置に係わる情報を利用し、真ん中符号化単位620bを決定することができる。例えば、符号化部220は、符号化単位620a,620b,620cに含まれる所定サンプルの位置を示す情報に基づいて、符号化単位620a,620b,620cの位置を決定することにより、真ん中に位置する符号化単位620bを決定することができる。具体的には、符号化部220は、符号化単位620a,620b,620cの左側上端のサンプル630a,630b,630cの位置を示す情報に基づいて、符号化単位620a,620b,620cの位置を決定することにより、真ん中に位置する符号化単位620bを決定することができる。   According to an embodiment, the encoding unit 220 may use information indicating positions of the odd number of coding units to determine a coding unit located in the middle among the odd number of coding units. it can. Referring to FIG. 6, the encoding unit 220 may divide the current encoding unit 600 and determine an odd number of encoding units 620a, 620b, and 620c. The encoding unit 220 can determine the middle encoding unit 620b using information regarding the positions of the odd number of encoding units 620a, 620b, and 620c. For example, the encoding unit 220 is positioned in the middle by determining the positions of the encoding units 620a, 620b, and 620c based on information indicating the positions of predetermined samples included in the encoding units 620a, 620b, and 620c. A coding unit 620b can be determined. Specifically, the encoding unit 220 determines the positions of the encoding units 620a, 620b, and 620c based on information indicating the positions of the upper left samples 630a, 630b, and 630c of the encoding units 620a, 620b, and 620c. By doing so, the encoding unit 620b located in the middle can be determined.

一実施形態によって、符号化単位620a,620b,620cにそれぞれ含まれる左側上端のサンプル630a,630b,630cの位置を示す情報は、符号化単位620a,620b,620cのピクチャ内での位置または座標に係わる情報を含んでもよい。一実施形態によって、符号化単位620a,620b,620cにそれぞれ含まれる左側上端のサンプル630a,630b,630cの位置を示す情報は、現在符号化単位600に含まれる符号化単位620a,620b,620cの幅または高さを示す情報を含んでもよく、かような幅または高さは、符号化単位620a,620b,620cのピクチャ内での座標間差を示す情報に該当する。すなわち、映像符号化装置200は、符号化単位620a,620b,620cのピクチャ内での位置または座標に係わる情報を直接利用するか、あるいは座標間の差値を示す符号化単位の幅または高さに係わる情報を利用することにより、真ん中に位置する符号化単位620bを決定することができる。   According to one embodiment, information indicating the position of the upper left samples 630a, 630b, and 630c included in the encoding units 620a, 620b, and 620c is the position or coordinates in the picture of the encoding units 620a, 620b, and 620c, respectively. Related information may be included. According to one embodiment, information indicating the positions of the upper left samples 630a, 630b, and 630c included in the encoding units 620a, 620b, and 620c may be stored in the encoding units 620a, 620b, and 620c included in the current encoding unit 600, respectively. Information indicating the width or height may be included, and such width or height corresponds to information indicating a difference between coordinates in the picture of the coding units 620a, 620b, and 620c. That is, the video encoding apparatus 200 directly uses information related to the position or coordinates in the picture of the encoding units 620a, 620b, and 620c, or the width or height of the encoding unit indicating the difference value between the coordinates. By using the information concerning the coding unit 620b, the coding unit 620b located in the middle can be determined.

一実施形態により、上端符号化単位620aの左側上端のサンプル630aの位置を示す情報は、(xa,ya)座標を示すことができ、真ん中符号化単位620bの左側上端のサンプル630bの位置を示す情報は、(xb,yb)座標を示すことができ、下端符号化単位620cの左側上端のサンプル630cの位置を示す情報は、(xc,yc)座標を示すことができる。映像符号化装置200は、符号化単位620a,620b,620cにそれぞれ含まれる左側上端のサンプル630a,630b,630cの座標を利用し、真ん中符号化単位620bを決定することができる。例えば、左側上端のサンプル630a,630b,630cの座標を、昇順または降順に整列したとき、真ん中に位置するサンプル630bの座標である(xb,yb)を含む符号化単位620bを、現在符号化単位600が分割されて決定された符号化単位620a,620b,620cにおいて、真ん中に位置する符号化単位と決定することができる。ただし、左側上端のサンプル630a,630b,630cの位置を示す座標は、ピクチャ内での絶対的な位置を示す座標を示すことができ、さらには、上端符号化単位620aの左側上端のサンプル630aの位置を基準に、真ん中符号化単位620bの左側上端のサンプル630bの相対的位置を示す情報である(dxb,dyb)座標、下端符号化単位620cの左側上端のサンプル630cの相対的位置を示す情報である(dxc,dyc)座標を利用することもできる。また、符号化単位に含まれるサンプルの位置を示す情報として、当該サンプルの座標を利用することにより、所定位置の符号化単位を決定する方法は、前述の方法に限定して解釈されるものではなく、サンプル座標を利用することができる多様な算術的方法によって解釈されなければならない。   According to one embodiment, the information indicating the position of the upper left sample 630a of the upper coding unit 620a may indicate a (xa, ya) coordinate and indicates the position of the upper left sample 630b of the middle coding unit 620b. The information can indicate (xb, yb) coordinates, and the information indicating the position of the upper left sample 630c of the lower end encoding unit 620c can indicate (xc, yc) coordinates. The video encoding apparatus 200 can determine the middle encoding unit 620b using the coordinates of the upper left samples 630a, 630b, and 630c included in the encoding units 620a, 620b, and 620c, respectively. For example, when the coordinates of the samples 630a, 630b, and 630c on the upper left are aligned in ascending or descending order, the encoding unit 620b including (xb, yb) that is the coordinates of the sample 630b located in the middle is used as the current encoding unit. In the coding units 620a, 620b, and 620c determined by dividing 600, the coding unit located in the middle can be determined. However, the coordinates indicating the positions of the upper left samples 630a, 630b, and 630c can indicate the coordinates indicating the absolute position in the picture, and further, the coordinates of the upper left sample 630a of the upper end encoding unit 620a. (Dxb, dyb) coordinates indicating the relative position of the upper left sample 630b of the middle encoding unit 620b, and the relative position of the upper left sample 630c of the lower encoding unit 620c with respect to the position. (Dxc, dyc) coordinates can also be used. In addition, the method for determining the coding unit at the predetermined position by using the coordinates of the sample as information indicating the position of the sample included in the coding unit is not limited to the above-described method. And must be interpreted by a variety of arithmetic methods that can utilize sample coordinates.

一実施形態によって、映像符号化装置200は、現在符号化単位600を、複数個の符号化単位620a,620b,620cに分割することができ、符号化単位620a,620b,620cのうち、所定基準によって、符号化単位を選択することができる。例えば、符号化部220は、符号化単位620a,620b,620cにおいて、大きさが異なる符号化単位620bを選択することができる。   According to an exemplary embodiment, the video encoding apparatus 200 may divide the current encoding unit 600 into a plurality of encoding units 620a, 620b, and 620c, and a predetermined reference among the encoding units 620a, 620b, and 620c. Can select the encoding unit. For example, the encoding unit 220 can select encoding units 620b having different sizes in the encoding units 620a, 620b, and 620c.

一実施形態によって、映像符号化装置200は、上端符号化単位620aの左側上端のサンプル630aの位置を示す情報である(xa,ya)座標、真ん中符号化単位620bの左側上端のサンプル630bの位置を示す情報である(xb,yb)座標、下端符号化単位620cの左側上端のサンプル630cの位置を示す情報である(xc,yc)座標を利用し、符号化単位620a,620b,620cそれぞれの幅または高さを決定することができる。映像符号化装置200は、符号化単位620a,620b,620cの位置を示す座標である(xa,ya)、(xb,yb)、(xc,yc)を利用して符号化単位620a,620b,620cそれぞれの大きさを決定することができる。   According to an embodiment, the video encoding apparatus 200 may be (xa, ya) coordinates indicating the position of the upper left sample 630a of the upper coding unit 620a, and the position of the upper left sample 630b of the middle coding unit 620b. (Xb, yb) coordinates, which are information indicating the position, and (xc, yc) coordinates, which are information indicating the position of the upper left sample 630c, of the lower end encoding unit 620c. The width or height can be determined. The video encoding apparatus 200 uses (xa, ya), (xb, yb), and (xc, yc), which are coordinates indicating the position of the encoding units 620a, 620b, and 620c, to encode the units 620a, 620b, The size of each of 620c can be determined.

一実施形態により、映像符号化装置200は、上端符号化単位620aの幅を、xb−xaと決定することができ、高さを、yb−yaと決定することができる。一実施形態によって、符号化部220は、真ん中符号化単位620bの幅を、xc−xbと決定することができ、高さを、yc−ybと決定することができる。一実施形態によって、符号化部220は、下端符号化単位の幅または高さは、現在符号化単位の幅または高さと、上端符号化単位620a及び真ん中符号化単位620bの幅及び高さとを利用して決定することができる。符号化部220は、決定された符号化単位620a,620b,620cの幅及び高さに基づいて、他の符号化単位と異なる大きさを有する符号化単位を決定することができる。図6を参照すれば、映像符号化装置200は、上端符号化単位620a及び下端符号化単位620cの大きさと異なる大きさを有する真ん中符号化単位620bを、所定位置の符号化単位と決定することができる。ただし、前述の映像符号化装置200が、他の符号化単位と異なる大きさを有する符号化単位を決定する過程は、サンプル座標に基づいて決定される符号化単位の大きさを利用し、所定位置の符号化単位を決定する一実施形態に過ぎないので、所定サンプル座標によって決定される符号化単位の大きさを比較し、所定位置の符号化単位を決定する多様な過程が利用される。   According to an embodiment, the video encoding apparatus 200 may determine the width of the top coding unit 620a as xb-xa and the height as yb-ya. According to an embodiment, the encoding unit 220 may determine the width of the middle encoding unit 620b as xc-xb and the height as yc-yb. According to one embodiment, the encoding unit 220 uses the width or height of the lower coding unit as the width or height of the current coding unit and the width and height of the upper coding unit 620a and the middle coding unit 620b. Can be determined. The encoding unit 220 can determine an encoding unit having a size different from other encoding units based on the determined width and height of the encoding units 620a, 620b, and 620c. Referring to FIG. 6, the video encoding apparatus 200 determines a middle coding unit 620b having a size different from the size of the upper end coding unit 620a and the lower end coding unit 620c as a coding unit at a predetermined position. Can do. However, the process in which the video encoding apparatus 200 determines a coding unit having a size different from that of other coding units is performed using a size of the coding unit determined based on the sample coordinates. Since this is merely an embodiment for determining the encoding unit of the position, various processes for determining the encoding unit of the predetermined position by comparing the size of the encoding unit determined by the predetermined sample coordinates are used.

ただし、符号化単位の位置を決定するために考慮するサンプルの位置は、前述の左側上端に限定して解釈されるものではなく、符号化単位に含まれる任意のサンプルの位置に係わる情報が利用されると解釈される。   However, the position of the sample considered for determining the position of the coding unit is not limited to the upper left end described above, and information on the position of any sample included in the coding unit is used. To be interpreted.

一実施形態によって、映像符号化装置200は、現在符号化単位の形態を考慮し、現在符号化単位が分割されて決定される奇数個の符号化単位のうち所定位置の符号化単位を選択することができる。例えば、現在符号化単位が、幅が高さより大きい非正方形状であるならば、符号化部220は、水平方向に沿って所定位置の符号化単位を決定することができる。すなわち、符号化部220は、水平方向に位置を異にする符号化単位のうち一つを決定し、当該符号化単位に対する制限を置くことができる。現在符号化単位が、高さが幅より大きい非正方形状であるならば、符号化部220は、垂直方向に沿って、所定位置の符号化単位を決定することができる。すなわち、符号化部220は、垂直方向に位置を異にする符号化単位のうち一つを決定し、当該符号化単位に対する制限を置くことができる。   According to an embodiment, the video encoding apparatus 200 may select a coding unit at a predetermined position from among an odd number of coding units determined by dividing the current coding unit in consideration of the form of the current coding unit. be able to. For example, if the current coding unit is a non-square shape whose width is greater than the height, the coding unit 220 may determine a coding unit at a predetermined position along the horizontal direction. That is, the encoding unit 220 can determine one of the encoding units whose positions are different in the horizontal direction and place a restriction on the encoding unit. If the current encoding unit is a non-square shape whose height is greater than the width, the encoding unit 220 can determine the encoding unit at a predetermined position along the vertical direction. That is, the encoding unit 220 can determine one of the encoding units whose positions are different in the vertical direction and place a restriction on the encoding unit.

一実施形態によって、映像符号化装置200は、偶数個の符号化単位のうち所定位置の符号化単位を決定するために、偶数個の符号化単位それぞれの位置を示す情報を利用することができる。符号化部220は、現在符号化単位を分割し、偶数個の符号化単位を決定することができ、偶数個の符号化単位の位置に係わる情報を利用し、所定位置の符号化単位を決定することができる。それに係わる具体的な過程は、図6で説明した奇数個の符号化単位のうち所定位置(例えば、真ん中位置)の符号化単位を決定する過程と類似した過程でもあるので、省略する。   According to an exemplary embodiment, the video encoding apparatus 200 may use information indicating positions of even number of coding units to determine a coding unit at a predetermined position among even number of coding units. . The encoding unit 220 can divide the current encoding unit and determine an even number of encoding units, and use information related to the positions of the even number of encoding units to determine an encoding unit at a predetermined position. can do. A specific process related to this is similar to the process of determining the coding unit at a predetermined position (for example, the middle position) among the odd number of coding units described in FIG.

一実施形態により、非正方形状の現在符号化単位を、複数個の符号化単位に分割した場合、複数個の符号化単位のうち所定位置の符号化単位を決定するために、現在符号化単位の分割過程で利用された所定情報を利用することができる。例えば、映像符号化装置200の符号化部220は、現在符号化単位が複数個に分割された符号化単位のうち真ん中に位置する符号化単位を決定するために、現在符号化単位の分割過程で利用された所定情報として、ブロック形態情報及び分割形態情報のうち少なくとも一つを利用することができ、かような情報は、である。   According to an embodiment, when a non-square-shaped current coding unit is divided into a plurality of coding units, a current coding unit is determined to determine a coding unit at a predetermined position among the plurality of coding units. The predetermined information used in the dividing process can be used. For example, the encoding unit 220 of the video encoding device 200 may determine a current encoding unit division process in order to determine an encoding unit located in the middle of the encoding units obtained by dividing the current encoding unit into a plurality of units. As the predetermined information used in the above, at least one of the block form information and the division form information can be used.

図6を参照すれば、映像符号化装置200の符号化部220は、現在符号化単位600を、複数個の符号化単位620a,620b,620cに分割することができ、複数個の符号化単位620a,620b,620cにおいて、真ん中に位置する符号化単位620bを決定することができ、ビットストリーム生成部210は、現在符号化単位600の分割過程で利用されたブロック形態情報及び分割形態情報のうち少なくとも一つを含むビットストリームを生成することができる。符号化部220は、現在符号化単位600の分割過程で利用されたブロック形態情報及び分割形態情報のうち少なくとも1つのビットストリームに係わるサンプルの位置を考慮し、真ん中に位置する符号化単位620bを決定することができる。すなわち、現在符号化単位600の真ん中に位置するサンプル640に係わるビットストリームと共に、現在符号化単位600のブロック形態情報及び分割形態情報のうち少なくとも一つを含むビットストリームが生成され、その場合、符号化部220は、前記サンプル640を含む符号化単位620bを、複数個の符号化単位620a,620b,620cにおいて真ん中に位置する符号化単位と決定することができる。ただし、現在符号化単位が分割されて決定された複数個の符号化単位のうち真ん中に位置する符号化単位に決定するために利用される情報が、現在符号化単位の分割過程で利用されたブロック形態情報及び分割形態情報のうち少なくとも一つに限定して解釈されるものではなく、多様な種類の情報が利用されることができる。それと係わり、映像符号化装置200が、所定位置の符号化単位を決定する過程は、映像復号装置100が現在符号化単位から決定された複数個の符号化単位のうち所定位置の符号化単位を決定する過程と反対になる過程でもあるので、詳細な説明は省略する。   Referring to FIG. 6, the encoding unit 220 of the video encoding apparatus 200 may divide the current encoding unit 600 into a plurality of encoding units 620a, 620b, and 620c. In 620a, 620b, and 620c, the coding unit 620b located in the middle can be determined, and the bitstream generation unit 210 can use the block form information and the division form information used in the division process of the current coding unit 600. A bitstream including at least one can be generated. The encoding unit 220 considers the position of a sample related to at least one bitstream among the block form information and the division form information used in the process of dividing the current encoding unit 600, and determines the coding unit 620b located in the middle. Can be determined. That is, a bit stream including at least one of the block form information and the division form information of the current coding unit 600 is generated together with the bit stream related to the sample 640 located in the middle of the current coding unit 600. The encoding unit 220 may determine the encoding unit 620b including the sample 640 as an encoding unit located in the middle among the plurality of encoding units 620a, 620b, and 620c. However, the information used to determine the coding unit located in the middle among the plurality of coding units determined by dividing the current coding unit was used in the process of dividing the current coding unit. It is not interpreted as being limited to at least one of the block form information and the division form information, and various types of information can be used. In connection with this, the process in which the video encoding apparatus 200 determines the encoding unit at the predetermined position is performed by selecting the encoding unit at the predetermined position among the plurality of encoding units determined by the video decoding apparatus 100 from the current encoding unit. Since it is also a process opposite to the process of determining, detailed description is omitted.

一実施形態によって、映像符号化装置200は、現在符号化単位を分割し、少なくとも1つの符号化単位を決定することができ、かような少なくとも1つの符号化単位が復号される順序を、所定ブロック(例えば、現在符号化単位)によって決定することができる。   According to an embodiment, the video encoding apparatus 200 may divide a current encoding unit and determine at least one encoding unit, and may determine a predetermined order in which at least one encoding unit is decoded. It can be determined by block (eg, current coding unit).

図7は、一実施形態によって、映像符号化装置200が、現在符号化単位を分割し、複数個の符号化単位を決定する場合、複数個の符号化単位が処理される順序を図示する。図7に係わる映像符号化装置200が、複数個の符号化単位を処理する過程は、図7に係わって説明した映像復号装置100の動作と類似した過程でもあるので、詳細な説明は省略する。   FIG. 7 illustrates an order in which a plurality of coding units are processed when the video coding apparatus 200 divides a current coding unit and determines a plurality of coding units according to an exemplary embodiment. 7 is a process similar to the operation of the video decoding apparatus 100 described with reference to FIG. 7, and thus detailed description thereof is omitted. .

図8は、一実施形態によって、映像符号化装置200が、所定順序で符号化単位が処理されない場合、現在符号化単位が、奇数個の符号化単位に分割されると決定する過程を図示する。   FIG. 8 illustrates a process in which the video encoding apparatus 200 determines that a current encoding unit is divided into an odd number of encoding units when the encoding units are not processed in a predetermined order according to an embodiment. .

一実施形態によって、映像符号化装置200の符号化部220は、現在符号化単位が、奇数個の符号化単位に分割されることを決定することができ、ビットストリーム生成部210は、現在符号化単位の形態を示すブロック形態情報及び現在符号化単位の分割形態(奇数個に分割される)を示す分割形態情報を含むビットストリームを生成することができる。図8を参照すれば、正方形状の第1符号化単位800が非正方形状の第2符号化単位810a、810bに分割され、第2符号化単位810a,810bは、それぞれ独立して、第3符号化単位820a,820b,820c,820d,820eにも分割される。一実施形態によって、符号化部220は、第2符号化単位のうち左側符号化単位810aは、水平方向に分割し、複数個の第3符号化単位820a,820bを決定することができ、右側符号化単位810bは、奇数個の第3符号化単位820c,820d,820eに分割することができる。図8に係わる映像符号化装置200が、現在符号化単位が奇数個の符号化単位に分割されると決定する過程は、図8に係わって説明した映像復号装置100の動作と反対になる過程でもあるので、詳細な説明は省略する。   According to an embodiment, the encoding unit 220 of the video encoding device 200 may determine that the current encoding unit is divided into an odd number of encoding units, and the bitstream generation unit 210 may It is possible to generate a bitstream including block form information indicating the form of the encoding unit and division form information indicating the division form (divided into odd numbers) of the current coding unit. Referring to FIG. 8, a square-shaped first coding unit 800 is divided into non-square-shaped second coding units 810a and 810b, and the second coding units 810a and 810b are each independently It is also divided into encoding units 820a, 820b, 820c, 820d, and 820e. According to an exemplary embodiment, the encoding unit 220 may determine a plurality of third encoding units 820a and 820b by dividing the left encoding unit 810a among the second encoding units in the horizontal direction, and determining a plurality of third encoding units 820a and 820b. The coding unit 810b can be divided into an odd number of third coding units 820c, 820d, and 820e. The process in which the video encoding apparatus 200 according to FIG. 8 determines that the current encoding unit is divided into an odd number of encoding units is a process opposite to the operation of the video decoding apparatus 100 described with reference to FIG. However, detailed description is omitted.

図9は、一実施形態によって、映像符号化装置200が、第1符号化単位900を分割し、少なくとも1つの符号化単位を決定するところを図示する。一実施形態によって、符号化部220は、第1符号化単位900を分割することができ、ビットストリーム生成部210は、第1符号化単位900の形態を示すブロック形態情報、及び第1符号化単位900が分割される形態を示す分割形態情報のうち少なくとも一つを含むビットストリームを生成することができる。正方形状の第1符号化単位900は、4個の正方形状を有する符号化単位に分割されるか、あるいは非正方形状の複数個の符号化単位に分割することができる。例えば、図9を参照すれば、符号化部220は、第1符号化単位900を複数個の非正方形の符号化単位に分割することができ、その場合、ビットストリーム生成部210は、第1符号化単位900は、正方形であるということを示すブロック形態情報、及び第1符号化単位900が、非正方形の符号化単位に分割されることを示す分割形態情報を含むビットストリームを生成することができる。具体的には、符号化部220は、正方形状の第1符号化単位900を、奇数個の符号化単位として、垂直方向に分割されて決定された第2符号化単位910a、910b,910c、または水平方向に分割されて決定された第2符号化単位920a、920b,920cに分割することができ、その場合、ビットストリーム生成部210は、第1符号化単位900を、水平方向または垂直方向に分割し、奇数個の符号化単位を決定することを示す分割形態情報を含むビットストリームを生成することができる。図9に係わる映像符号化装置200が、第1符号化単位900を分割し、少なくとも1つの符号化単位を決定する過程は、図9に係わって説明した映像復号装置100の動作と反対になる過程でもあるので、詳細な説明は省略する。   FIG. 9 illustrates that the video encoding apparatus 200 divides the first encoding unit 900 and determines at least one encoding unit according to an embodiment. According to an embodiment, the encoding unit 220 may divide the first encoding unit 900, and the bitstream generation unit 210 may include block configuration information indicating the form of the first encoding unit 900, and the first encoding unit. It is possible to generate a bitstream including at least one piece of division form information indicating a form in which the unit 900 is divided. The square-shaped first coding unit 900 may be divided into four square-shaped coding units, or may be divided into a plurality of non-square-shaped coding units. For example, referring to FIG. 9, the encoding unit 220 may divide the first encoding unit 900 into a plurality of non-square encoding units. In this case, the bitstream generation unit 210 may Generating a bitstream including block form information indicating that the coding unit 900 is a square and division form information indicating that the first coding unit 900 is divided into non-square coding units; Can do. Specifically, the encoding unit 220 may determine the second encoding units 910a, 910b, 910c determined by dividing the first encoding unit 900 having a square shape into an odd number of encoding units in the vertical direction. Alternatively, it may be divided into second encoding units 920a, 920b, and 920c determined by being divided in the horizontal direction. In this case, the bitstream generation unit 210 converts the first encoding unit 900 into the horizontal direction or the vertical direction. It is possible to generate a bit stream including division form information indicating that an odd number of coding units are determined. The process in which the video encoding apparatus 200 according to FIG. 9 divides the first encoding unit 900 and determines at least one encoding unit is opposite to the operation of the video decoding apparatus 100 described with reference to FIG. Since it is also a process, detailed description is omitted.

図10は、一実施形態によって、映像符号化装置200、が第1符号化単位1000が分割されて決定された非正方形状の第2符号化単位が所定条件を満足する場合、第2符号化単位が分割される形態が制限されることを図示する。   FIG. 10 illustrates a case where the video encoding apparatus 200 performs the second encoding when the non-square second encoding unit determined by dividing the first encoding unit 1000 satisfies a predetermined condition according to an embodiment. FIG. 6 illustrates that the form in which a unit is divided is limited.

一実施形態によって、符号化部220正方形状の第1符号化単位1000を、非正方形状の第2符号化単位1010a,1010b,1020a,1020bに分割すると決定することができる。第2符号化単位1010a,1010b,1020a,1020bは、独立しても分割される。それにより、符号化部220は、第2符号化単位1010a,1010b,1020a,1020bそれぞれを複数個の符号化単位に分割するか、あるいは分割しないと決定することができる。図10に係わる映像符号化装置200が、非正方形状の第2符号化単位が所定条件を満足するとき、分割される形態の制限する動作は、図10に係わって説明した映像復号装置100の動作と反対になるものでもあるので、詳細な説明は省略する。   According to an exemplary embodiment, the encoding unit 220 may determine that the square first encoding unit 1000 is divided into non-square second encoding units 1010a, 1010b, 1020a, and 1020b. The second coding units 1010a, 1010b, 1020a, 1020b are divided even if they are independent. Accordingly, the encoding unit 220 can determine that each of the second encoding units 1010a, 1010b, 1020a, and 1020b is divided into a plurality of encoding units or not. When the video encoding apparatus 200 according to FIG. 10 satisfies the predetermined condition for the non-square second encoding unit, the operation of limiting the form of division is the same as that of the video decoding apparatus 100 described with reference to FIG. Since this is also the opposite of the operation, detailed description is omitted.

図11は、一実施形態によって、分割形態情報が、4個の正方形状の符号化単位に分割することを示すことができない場合、映像符号化装置200が、正方形状の符号化単位を分割する過程を図示する。それと係わる映像符号化装置200の動作は、図11に係わって説明した映像復号装置100の動作と反対になるものでもあるので、詳細な説明は省略する。   FIG. 11 illustrates that the video coding apparatus 200 divides a square-shaped coding unit when the division pattern information cannot indicate that it is divided into four square-shaped coding units according to an embodiment. The process is illustrated. Since the operation of the video encoding apparatus 200 related thereto is also the opposite of the operation of the video decoding apparatus 100 described with reference to FIG. 11, detailed description thereof will be omitted.

図12は、一実施形態によって、複数個の符号化単位間の処理順序が、符号化単位の分割過程によって異なりうることを図示したものである。   FIG. 12 illustrates that the processing order between a plurality of coding units may vary depending on the division process of the coding units according to an embodiment.

一実施形態によって、符号化部220は、正方形状の第1符号化単位1200を、水平方向及び垂直方向のうち少なくとも1つの方向に分割することができる。一実施形態によって、ビットストリーム生成部210は、第1符号化単位1200が正方形状であるということを示すブロック形態情報、並びに第1符号化単位1200が水平方向及び垂直方向のうち少なくとも1つの方向に分割されることを示す分割形態情報を含むビットストリームを生成することができる。   According to an embodiment, the encoding unit 220 may divide the square first encoding unit 1200 in at least one of a horizontal direction and a vertical direction. According to an exemplary embodiment, the bitstream generation unit 210 may include block form information indicating that the first coding unit 1200 is square, and at least one of the horizontal and vertical directions. It is possible to generate a bit stream including division form information indicating that the data is divided into two.

一実施形態によって、符号化部220は、第1符号化単位1200を分割し、例えば、第2符号化単位1210a,1210b,1220a,1220b,1230a,1230b,1230c,1230dなどを決定することができる。図12を参照すれば、第1符号化単位1200が水平方向または垂直方向だけで分割されて決定された非正方形状の第2符号化単位1210a,1210b,1220a,1220bは、独立しても分割される。例えば、符号化部220は、第1符号化単位1200が垂直方向に分割されて生成された第2符号化単位1210a,1210bを水平方向にそれぞれ分割し、第3符号化単位1216a,1216b,1216c,1216dを決定することができ、第1符号化単位1200が水平方向に分割されて生成された第2符号化単位1220a,1220bを水平方向にそれぞれ分割し、第3符号化単位1226a,1226b,1226c,1226dを決定することができる。図10に係わる映像符号化装置200の動作は、図10に係わって説明した映像復号装置100の動作と反対になるものでもあるので、詳細な説明は省略する。   According to an embodiment, the encoding unit 220 may divide the first encoding unit 1200 and determine, for example, the second encoding units 1210a, 1210b, 1220a, 1220b, 1230a, 1230b, 1230c, and 1230d. . Referring to FIG. 12, the non-square second encoding units 1210a, 1210b, 1220a, and 1220b, which are determined by dividing the first encoding unit 1200 only in the horizontal direction or the vertical direction, are divided even if they are independent. Is done. For example, the encoding unit 220 divides the second encoding units 1210a and 1210b generated by dividing the first encoding unit 1200 in the vertical direction in the horizontal direction, and generates third encoding units 1216a, 1216b, and 1216c. , 1216d can be determined, and the second encoding units 1220a and 1220b generated by dividing the first encoding unit 1200 in the horizontal direction can be divided in the horizontal direction to obtain third encoding units 1226a, 1226b, 1226c and 1226d can be determined. The operation of the video encoding apparatus 200 according to FIG. 10 is also the opposite of the operation of the video decoding apparatus 100 described with reference to FIG.

図13は、一実施形態によって、符号化単位が再帰的に分割され、複数個の符号化単位が決定される場合、符号化単位の形態及び大きさが変わることによって、符号化単位の深度が決定される過程を図示する。映像符号化装置200の符号化部220が、符号化単位の深度を決定する過程は、図13に係わって説明した映像復号装置100の復号部120が、符号化単位の深度を決定する過程と反対になるものでもあるので、詳細な説明は省略する。   FIG. 13 illustrates that when a coding unit is recursively divided and a plurality of coding units are determined according to an exemplary embodiment, the coding unit depth and the size of the coding unit may be changed. Figure 3 illustrates the process to be determined. The process in which the encoding unit 220 of the video encoding apparatus 200 determines the depth of the encoding unit is the process in which the decoding unit 120 of the video decoding apparatus 100 described in connection with FIG. 13 determines the depth of the encoding unit. Since it is also the opposite, detailed description is omitted.

一実施形態によって、映像符号化装置200は、現在符号化単位から分割されて決定された複数個の符号化単位を区分するためのインデックスの値に基づいて、特定分割形態に分割されたものであるか否かということを決定することができる。図14を参照すれば、映像符号化装置200は、高さが幅より大きい長方形状の第1符号化単位1410を分割し、偶数個の符号化単位1412a,1412bを決定するか、あるいは奇数個の符号化単位1414a,1414b,1414cを決定することができる。映像符号化装置200は、複数個の符号化単位それぞれを区分するために、各符号化単位を示すインデックス(PID)を利用することができる。一実施形態によって、該PIDは、それぞれの符号化単位の所定位置のサンプル(例えば、左側上端サンプル)から獲得される。図14に係わる映像符号化装置200の動作は、図14に係わって説明した映像復号装置100の動作と反対になるものでもあるので、詳細な説明は省略する。   According to one embodiment, the video encoding apparatus 200 is divided into specific division forms based on index values for dividing a plurality of encoding units determined by dividing from the current encoding unit. It can be determined whether or not there is. Referring to FIG. 14, the video encoding apparatus 200 divides a rectangular first encoding unit 1410 whose height is larger than a width and determines an even number of encoding units 1412a and 1412b or an odd number. Encoding units 1414a, 1414b, and 1414c can be determined. The video encoding apparatus 200 can use an index (PID) indicating each encoding unit in order to classify each of the plurality of encoding units. According to one embodiment, the PID is obtained from a sample in a predetermined position of each coding unit (eg, left top sample). The operation of the video encoding apparatus 200 according to FIG. 14 is also the opposite of the operation of the video decoding apparatus 100 described with reference to FIG.

図15は、一実施形態によって、ピクチャに含まれる複数個の所定データ単位によって、複数個の符号化単位が決定されたところを図示する。一実施形態によって、符号化部220は、符号化単位の再帰的な分割が始まる所定データ単位として、前述の基準符号化単位を利用することができる。図15に係わり、映像符号化装置200が基準符号化単位を利用する動作は、図15に係わって説明した映像復号装置100が、基準符号化単位を利用する動作と反対になるものでもあるので、詳細な説明は省略する。   FIG. 15 illustrates a plurality of encoding units determined according to a plurality of predetermined data units included in a picture according to an embodiment. According to an exemplary embodiment, the encoding unit 220 may use the above-described reference encoding unit as a predetermined data unit where recursive division of the encoding unit starts. The operation of the video coding apparatus 200 using the reference coding unit in connection with FIG. 15 is also opposite to the operation of the video decoding apparatus 100 described with reference to FIG. 15 using the reference coding unit. Detailed description will be omitted.

一実施形態によって、映像符号化装置200のビットストリーム生成部210は、基準符号化単位の形態に係わる情報、及び基準符号化単位の大きさに係わる情報のうち少なくとも一つを含むビットストリームを、前記多様なデータ単位ごとに生成することができる。正方形状の基準符号化単位1500に含まれる少なくとも1つの符号化単位が決定される過程は、図3の現在符号化単位300が分割される過程を介して説明し、非正方形状の基準符号化単位1500に含まれる少なくとも1つの符号化単位の決定される過程は、図4の現在符号化単位400または450が分割される過程を介して説明したので、詳細な説明は省略する。   According to an exemplary embodiment, the bitstream generation unit 210 of the video encoding apparatus 200 may include a bitstream including at least one of information related to a reference coding unit format and information related to a reference coding unit size. It can be generated for each of the various data units. The process of determining at least one coding unit included in the square reference coding unit 1500 will be described through the process of dividing the current coding unit 300 of FIG. Since the process of determining at least one coding unit included in the unit 1500 has been described through the process of dividing the current coding unit 400 or 450 of FIG. 4, detailed description thereof will be omitted.

一実施形態によって、符号化部220は、所定条件に基づいて、あらかじめ決定される一部データ単位によって、基準符号化単位の大きさ及び形態を決定するために、基準符号化単位の大きさ及び形態を識別するためのインデックスを利用することができる。すなわち、ビットストリーム生成部210は、前記多様なデータ単位(例えば、シーケンス、ピクチャ、スライス、スライスセグメント、最大符号化単位など)のうち所定条件(例えば、スライス以下の大きさを有するデータ単位)を満足するデータ単位ごとに、基準符号化単位の大きさ及び形態の識別のためのインデックスを含むビットストリームを生成することができる。符号化部220は、インデックスを利用することにより、前記所定条件を満足するデータ単位ごとに、基準データ単位の大きさ及び形態を決定することができる。一実施形態によって、基準符号化単位の大きさ及び形態を示すインデックスに係わる基準符号化単位の大きさ及び形態のうち少なくとも一つは、あらかじめ決定されている。すなわち、符号化部220は、あらかじめ決定された基準符号化単位の大きさ及び形態のうち少なくとも一つをインデックスによって選択することにより、インデックス獲得の基準になるデータ単位に含まれる基準符号化単位の大きさ及び形態のうち少なくとも一つを決定することができる。基準符号化単位の大きさ及び形態を識別するためのインデックスを利用する符号化部220の動作は、前述の復号部120の動作と類似したのでもあるので、詳細な説明は省略する。   According to one embodiment, the encoding unit 220 determines the size and form of the reference coding unit according to the predetermined partial data unit based on a predetermined condition. An index for identifying the form can be used. That is, the bitstream generation unit 210 sets a predetermined condition (for example, a data unit having a size equal to or smaller than a slice) among the various data units (for example, a sequence, a picture, a slice, a slice segment, a maximum coding unit, and the like). For each satisfied data unit, a bitstream can be generated that includes an index for identifying the size and form of the reference coding unit. The encoding unit 220 can determine the size and form of the reference data unit for each data unit that satisfies the predetermined condition by using the index. According to an embodiment, at least one of the size and form of the reference coding unit related to the index indicating the size and form of the reference coding unit is determined in advance. That is, the encoding unit 220 selects at least one of the predetermined size and form of the reference coding unit by using an index, so that the reference coding unit included in the data unit serving as a reference for index acquisition can be selected. At least one of size and shape can be determined. Since the operation of the encoding unit 220 using the index for identifying the size and form of the reference encoding unit is similar to the operation of the decoding unit 120 described above, detailed description thereof is omitted.

図16は、一実施形態によって、ピクチャ1600に含まれる基準符号化単位の決定順序を決定する基準になるプロセッシングブロックを図示する。   FIG. 16 illustrates a processing block serving as a reference for determining a determination order of reference coding units included in the picture 1600 according to an embodiment.

一実施形態によって、符号化部220は、プロセッシングブロックの大きさに係わる情報を獲得し、映像に含まれる少なくとも1つのプロセッシングブロックの大きさを決定することができる。符号化部220は、映像に含まれる少なくとも1つのプロセッシングブロックの大きさを決定することができ、ビットストリーム生成部210は、プロセッシングブロックの大きさに係わる情報を含むビットストリームを生成することができる。かようなプロセッシングブロックの大きさは、プロセッシングブロックの大きさに係わる情報が示すデータ単位の所定サイズでもある。   According to an exemplary embodiment, the encoding unit 220 may obtain information on the size of a processing block and determine the size of at least one processing block included in the video. The encoding unit 220 can determine the size of at least one processing block included in the video, and the bit stream generation unit 210 can generate a bit stream including information related to the size of the processing block. . The size of such a processing block is also a predetermined size of a data unit indicated by information related to the size of the processing block.

一実施形態によって、映像符号化装置200のビットストリーム生成部210は、プロセッシングブロックの大きさに係わる情報を含むビットストリームを特定のデータ単位ごとに生成することができる。例えば、映像、シーケンス、ピクチャ、スライス、スライスセグメントなどのデータ単位ごとに、プロセッシングブロックの大きさに係わる情報を含むビットストリームを生成することができる。すなわち、ビットストリーム生成部210は、前記多くのデータ単位ごとに、プロセッシングブロックの大きさに係わる情報を含むビットストリームを生成することができ、符号化部220は、前記プロセッシングブロックの大きさに係わる情報を利用して、ピクチャを分割する少なくとも1つのプロセッシングブロックの大きさを決定することができ、かようなプロセッシングブロックの大きさは、基準符号化単位の整数倍の大きさでもある。   According to an exemplary embodiment, the bitstream generation unit 210 of the video encoding device 200 can generate a bitstream including information related to the size of a processing block for each specific data unit. For example, a bit stream including information related to the size of a processing block can be generated for each data unit such as a video, a sequence, a picture, a slice, and a slice segment. That is, the bitstream generation unit 210 can generate a bitstream including information related to the size of the processing block for each of the many data units, and the encoding unit 220 relates to the size of the processing block. Information can be used to determine the size of at least one processing block that divides a picture, and the size of such a processing block is also an integer multiple of the reference coding unit.

一実施形態によって、符号化部220は、ピクチャ1600に含まれるプロセッシングブロック1602,1612の大きさを決定することができる。例えば、符号化部220は、プロセッシングブロックの大きさに係わる情報に基づいて、プロセッシングブロックの大きさを決定することができる。図16を参照すれば、符号化部220は、一実施形態によって、プロセッシングブロック1602,1612の横サイズを、基準符号化単位横サイズの4倍、縦サイズを、基準符号化単位の縦サイズの4倍と決定することができる。符号化部220は、少なくとも1つのプロセッシングブロック内において、少なくとも1つの基準符号化単位が決定される順序を決定することができる。プロセッシングブロックに係わる符号化部220の動作は、図16に係わって説明した復号部120の動作と類似したのでもあるので、詳細な説明は省略する。   According to an embodiment, the encoding unit 220 may determine the size of the processing blocks 1602 and 1612 included in the picture 1600. For example, the encoding unit 220 can determine the size of the processing block based on information related to the size of the processing block. Referring to FIG. 16, the encoding unit 220 may set the horizontal size of the processing blocks 1602 and 1612 to four times the reference coding unit horizontal size, the vertical size, and the vertical size of the reference coding unit according to an exemplary embodiment. It can be determined as 4 times. The encoding unit 220 can determine the order in which at least one reference encoding unit is determined in at least one processing block. Since the operation of the encoding unit 220 related to the processing block is similar to the operation of the decoding unit 120 described with reference to FIG. 16, detailed description thereof is omitted.

一実施形態によって、映像符号化装置200のビットストリーム生成部210は、現在符号化単位の形態を示すブロック形態情報または現在符号化単位を分割する方法を示す分割形態情報を含むビットストリームを生成することができる。該ブロック形態情報または該分割形態情報は、多様なデータ単位に係わるビットストリームに含まれもする。例えば、映像符号化装置200のビットストリーム生成部210は、シーケンスパラメータセット(sequence parameter set)、ピクチャパラメータセット(picture parameter set)、ビデオパラメータセット(video parameter set)、スライスヘッダ(slice header)、スライスセグメントヘッダ(slice segment header)に含まれたブロック形態情報または分割形態情報を利用することができる。さらに、映像符号化装置200のビットストリーム生成部210は、ブロック形態情報または分割形態情報を示すシンタックスを含むビットストリームを、最大符号化単位、基準符号化単位、プロセッシングブロックごとに生成することができる。   According to an embodiment, the bitstream generation unit 210 of the video encoding apparatus 200 generates a bitstream including block form information indicating the form of the current coding unit or division form information indicating a method of dividing the current coding unit. be able to. The block form information or the division form information may be included in a bit stream related to various data units. For example, the bit stream generation unit 210 of the video encoding device 200 includes a sequence parameter set, a picture parameter set, a video parameter set, a slice header, and a slice. Block form information or division form information included in a segment header can be used. Further, the bit stream generation unit 210 of the video encoding device 200 may generate a bit stream including syntax indicating block form information or division form information for each maximum coding unit, reference coding unit, and processing block. it can.

一実施形態によって、符号化部220は、符号化単位が分割される分割形態の種類を所定データ単位ごとに異なるように決定することができる。映像符号化装置200の符号化部220は、一実施形態によって、所定データ単位(例えば、シーケンス、ピクチャ、スライスなど)ごとに、符号化単位が分割される形態の組み合わせを、異なるように決定することができる。   According to an exemplary embodiment, the encoding unit 220 may determine the type of division form in which the encoding unit is divided so as to be different for each predetermined data unit. The encoding unit 220 of the video encoding device 200 determines, in one embodiment, different combinations of forms in which the encoding units are divided for each predetermined data unit (eg, sequence, picture, slice, etc.). be able to.

図17は、一実施形態によって、符号化単位が分割される形態の組み合わせが、ピクチャごとに互いに異なる場合、それぞれのピクチャごとに決定される符号化単位を図示する。   FIG. 17 illustrates coding units determined for each picture when combinations of forms in which the coding units are divided are different for each picture according to an embodiment.

図17を参照すれば、符号化部220は、ピクチャごとに、符号化単位が分割される分割形態の組み合わせを、異なるように決定することができる。例えば、符号化部220は、映像に含まれる少なくとも1つのピクチャのうち4個の符号化単位にも分割されるピクチャ1700、2個または4個の符号化単位にも分割されるピクチャ1710、及び2個、3個または4個の符号化単位にも分割されるピクチャ1720を利用して映像を復号することができる。符号化部220は、ピクチャ1700を、4個の正方形の符号化単位に分割することができる。符号化部220は、ピクチャ1710を、2個または4個の符号化単位に分割することができる。符号化部220は、ピクチャ1720を、2個、3個または4個の符号化単位に分割することができる。前述の分割形態の組み合わせは、映像符号化装置200の動作について説明するための実施形態に過ぎないので、前述の分割形態の組み合わせは、前記実施形態に限定して解釈されるものではなく、所定データ単位ごとに、多様な形態の分割形態の組み合わせが利用されると解釈されなければならない。   Referring to FIG. 17, the encoding unit 220 can determine different combinations of division forms in which encoding units are divided for each picture. For example, the encoding unit 220 may include a picture 1700 that is also divided into four coding units of at least one picture included in the video, a picture 1710 that is also divided into two or four coding units, and Video can be decoded using a picture 1720 that is also divided into two, three, or four coding units. The encoding unit 220 can divide the picture 1700 into four square encoding units. The encoding unit 220 can divide the picture 1710 into two or four encoding units. The encoding unit 220 can divide the picture 1720 into two, three, or four encoding units. Since the combination of the above-described division forms is merely an embodiment for explaining the operation of the video encoding device 200, the combination of the above-described division forms is not interpreted as being limited to the above-described embodiment, For each data unit, it must be interpreted that a combination of various forms of division is used.

一実施形態によって、映像符号化装置200の符号化部220は、分割形態情報の組み合わせを示すインデックスを利用し、所定データ単位ごとに、符号化単位が分割される分割形態の組み合わせを決定することができ、それにより、所定データ単位ごとに互いに異なる分割形態の組み合わせを利用することができる。さらには、映像符号化装置200のビットストリーム生成部210は、分割形態情報の組み合わせを示すインデックスを含むビットストリームを、所定データ単位単位(例えば、シーケンス、ピクチャ、スライスなど)ごとに生成することができる。例えば、ビットストリーム生成部210は、分割形態情報の組み合わせを示すインデックスを含むシーケンスパラメータセット(sequence parameter set)、ピクチャパラメータセット(picture paramete rset)またはスライスヘッダを生成することができる。   According to an embodiment, the encoding unit 220 of the video encoding apparatus 200 uses an index indicating a combination of division form information to determine a combination of division forms into which the encoding unit is divided for each predetermined data unit. Accordingly, combinations of different division forms can be used for each predetermined data unit. Furthermore, the bit stream generation unit 210 of the video encoding device 200 may generate a bit stream including an index indicating a combination of division form information for each predetermined data unit (for example, sequence, picture, slice, etc.). it can. For example, the bitstream generation unit 210 can generate a sequence parameter set, a picture parameter set, or a slice header including an index indicating a combination of division form information.

図18、図19は、一実施形態によって、バイナリー(binary)コードで表現される分割形態情報に基づいて決定される符号化単位の多様な形態を図示する。   FIG. 18 and FIG. 19 illustrate various forms of coding units determined based on partition form information represented by a binary code according to an embodiment.

一実施形態によって、映像符号化装置200の符号化部220は、符号化単位を多様な形態に分割することができ、ビットストリーム生成部210を介して、ブロック形態情報及び分割形態情報を含むビットストリームを生成することができる。分割される符号化単位の形態は、前述の実施形態を介して説明した形態を含む多様な形態に該当する。図18を参照すれば、符号化部220は、分割形態情報に基づいて、正方形状の符号化単位を水、平方向及び垂直方向のうち少なくとも1つの方向に分割することができ、非正方形状の符号化単位を、水平方向または垂直方向に分割することができる。映像符号化装置200が利用することができる分割形態情報のバイナリーコードに係わる特徴は、図18及び図19を介して説明した映像復号装置100の特徴に該当するので、詳細な説明は省略する。   According to an exemplary embodiment, the encoding unit 220 of the video encoding apparatus 200 may divide the encoding unit into various forms, and the bit including the block form information and the division form information via the bit stream generation unit 210. A stream can be generated. The form of the coding unit to be divided corresponds to various forms including the form described through the above-described embodiment. Referring to FIG. 18, the encoding unit 220 may divide a square-shaped encoding unit into at least one of a horizontal direction, a horizontal direction, and a vertical direction based on the division form information. Can be divided horizontally or vertically. Since the characteristics related to the binary code of the division form information that can be used by the video encoding apparatus 200 correspond to the characteristics of the video decoding apparatus 100 described with reference to FIGS. 18 and 19, detailed description thereof will be omitted.

一実施形態による映像符号化装置200は、符号化単位に対するインター予測またはイントラ予測を行い、予測データを生成し、現在符号化単位に含まれた変換単位に対して逆変換を行い、レジデュアルデータを生成し、生成された予測データとレジデュアルデータとを利用し、現在符号化単位を符号化することができる。   The video encoding apparatus 200 according to an embodiment performs inter prediction or intra prediction on a coding unit, generates prediction data, performs inverse conversion on a conversion unit included in the current coding unit, and stores residual data. And the current encoding unit can be encoded using the generated prediction data and residual data.

一実施形態による符号化単位の予測モードは、イントラモード、インターモード及びスキップモードのうち少なくとも一つでもある。一実施形態により、符号化単位ごとに独立して予測が行われ、最も小さい予測モードが選択される。   The prediction mode of a coding unit according to an embodiment is at least one of an intra mode, an inter mode, and a skip mode. According to one embodiment, prediction is performed independently for each coding unit, and the smallest prediction mode is selected.

一実施形態による2Nx2N形態の符号化単位が分割され、2つの2NxN、または2つのNx2N形態の符号化単位に分割された場合、それらそれぞれの符号化単位に対して、インターモード予測及びイントラモード予測が別個に行われる。また、一実施形態によって、映像符号化装置200の符号化部220は、符号化単位が正方形状である場合だけではなく、非正方形状である場合にも、CUスキップモード(skip mode)を利用して符号化単位を符号化することができる。ブロック形態情報及び分割形態情報のうち少なくとも一つに基づいて決定される正方形状の符号化単位だけではなく、非正方形状の符号化単位の場合にも、CUスキップモードを利用して映像を復号することができることにより、相対的にさらに適応的なスキップモードの利用が可能になることにより、映像の符号化/復号効率が向上する。かような非正方形状の符号化単位において、スキップモードを利用する映像符号化装置200の特徴は、映像符号化装置200のスキップモード利用に係わって説明した特徴と類似したのでもあるので、詳細な説明は省略する。   When a 2Nx2N-type coding unit according to an embodiment is divided and divided into two 2NxN or two Nx2N-type coding units, inter-mode prediction and intra-mode prediction are performed for each of the coding units. Are performed separately. Also, according to an embodiment, the encoding unit 220 of the video encoding apparatus 200 uses the CU skip mode not only when the encoding unit is a square shape but also when the encoding unit is a non-square shape. Thus, the encoding unit can be encoded. Video is decoded using the CU skip mode not only in the case of a square coding unit determined based on at least one of block form information and division form information but also in a non-square coding unit. This makes it possible to use a relatively more adaptive skip mode, thereby improving video encoding / decoding efficiency. The characteristics of the video encoding apparatus 200 using the skip mode in such a non-square encoding unit are similar to the characteristics described in connection with the use of the skip mode of the video encoding apparatus 200. The detailed explanation is omitted.

図22は、一実施形態によって、所定符号化方法によって決定された符号化単位間の併合(merge)または分割(split)が行われる過程を図示する。   FIG. 22 illustrates a process of merging or splitting between coding units determined by a predetermined coding method according to an embodiment.

一実施形態によって、映像符号化装置200は、前述の所定符号化方法を利用し、ピクチャを分割する符号化単位を決定することができる。例えば、映像符号化装置200は、符号化単位の分割情報に基づいて、現在深度の符号化単位を決定するか、あるいは下位深度の4個の符号化単位に分割することができる。前述のように、映像符号化装置200は、一実施形態によって、現在符号化単位は、常時正方形状を有することを示すブロック形態情報、現在符号化単位は、分割されないことを示すか、あるいは4個の正方形状の符号化単位に分割されることを示すことができる分割形態情報を利用して、符号化単位を決定することができる。図22を参照すれば、前述の所定符号化方法によって決定された正方形の符号化単位により、ピクチャ2200,2220が分割される。   According to an embodiment, the video encoding apparatus 200 may determine a coding unit for dividing a picture using the predetermined coding method described above. For example, the video encoding apparatus 200 can determine the encoding unit of the current depth based on the division information of the encoding unit, or can divide into four encoding units of the lower depth. As described above, the video encoding apparatus 200 may indicate that the current coding unit always has a square shape, block form information indicating that the current coding unit is not divided, or 4 according to an embodiment. The encoding unit can be determined using the division form information that can indicate that the unit is to be divided into square-shaped encoding units. Referring to FIG. 22, pictures 2200 and 2220 are divided by a square coding unit determined by the above-described predetermined coding method.

ただし、前述の所定復号単位による場合、現在符号化単位が分割されるか否かということは、現在符号化単位内に含まれる相対的に小さいオブジェクト(object)が表現されるのに適するか否かということによって決定されるために、ピクチャ内の大きいオブジェクトと小さいオブジェクトとが1つの符号化単位を介して符号化されることは、不可能なことがある。ここで、オブジェクトとは、ピクチャに含まれたサンプルの集合であり、類似のサンプル値を有することにより、他の領域と区分されるサンプルの領域を意味する。図22を参照すれば、映像符号化装置200は、小さいオブジェクト2221を復元するために、第1符号化単位2222を、4個の下位深度の符号化単位に分割することにより、小さいオブジェクト2221の復号のための符号化単位を決定することができる。しかし、大きいオブジェクト2223が現在符号化単位2222に含まれないので、大きいオブジェクト2223が、現在符号化単位2222を利用して復号されるには適さず、さらには、小さいオブジェクト2221を復号するために、現在符号化単位2222が分割されたために、結局、大きいオブジェクト2223の復号のために、不要な符号化単位の分割過程が遂行されなければならないので、非効率的である。すなわち、映像符号化装置200が、大きいオブジェクト2223に対する部分を符号化するために、1つの符号化単位を利用することができるならば、映像符号化を効率的に遂行することができる。   However, in the case of the above-described predetermined decoding unit, whether or not the current coding unit is divided is suitable for expressing a relatively small object (object) included in the current coding unit. Because of this, it may not be possible for large objects and small objects in a picture to be encoded through one encoding unit. Here, an object is a set of samples included in a picture, and means a sample area that is distinguished from other areas by having similar sample values. Referring to FIG. 22, the video encoding apparatus 200 divides the first encoding unit 2222 into four sub-depth encoding units to restore the small object 2221, thereby reducing the small object 2221. A coding unit for decoding can be determined. However, since the large object 2223 is not included in the current encoding unit 2222, the large object 2223 is not suitable for decoding using the current encoding unit 2222, and furthermore, for decoding the small object 2221. Since the current encoding unit 2222 is divided, an unnecessary encoding unit division process must be performed for decoding the large object 2223, which is inefficient. That is, if the video encoding apparatus 200 can use one encoding unit to encode the portion for the large object 2223, video encoding can be performed efficiently.

一実施形態によって、映像符号化装置200の符号化部220は、ブロック形態情報及び分割形態情報のうち少なくとも一つを利用し、現在符号化単位を分割することができ、ブロック形態情報は、正方形状のみを利用するとあらかじめ決定され、該分割形態情報は、分割しないか、あるいは4個の正方形状の符号化単位に分割されることを示すことができるとあらかじめ決定される。それは、多様な実施形態を介して説明した所定符号化方法で利用される符号化単位決定過程に該当する。その場合、符号化部220は、前記所定符号化方法を利用して決定された符号化単位を互いに併合(merge)するか、あるいは決定された符号化単位を分割(split)するために、ピクチャに含まれるサンプル値を利用することができる。例えば、符号化部220は、類似のサンプル値を有する部分を検討し、ピクチャに含まれる多様なオブジェクトを検出することができ、かように検出されたオブジェクトに係わる部分に基づいて、符号化単位の併合/分割過程を遂行することができる。   According to an embodiment, the encoding unit 220 of the video encoding apparatus 200 may divide a current coding unit using at least one of block form information and division form information, and the block form information may be square. It is determined in advance that only the shape is used, and it is determined in advance that the division form information can indicate that the image is not divided or is divided into four square coding units. This corresponds to a coding unit determination process used in the predetermined coding method described through various embodiments. In this case, the encoding unit 220 merges the coding units determined using the predetermined encoding method, or splits the determined coding unit into pictures. The sample values included in can be used. For example, the encoding unit 220 can examine portions having similar sample values and detect various objects included in the picture. Based on the portions related to the detected objects, the encoding unit 220 can detect a variety of objects. The merge / split process can be performed.

図22を参照すれば、一実施形態によって、符号化部220は、前述の所定符号化方法を利用して、ピクチャ2200を分割する複数個の符号化単位を決定することができる。ただし、ピクチャに含まれた類似のサンプル値を有する部分2201が存在するにもかかわらず、類似領域を1つの符号化単位ではない複数個の符号化単位に分割する過程が遂行される場合があり得る。その場合、符号化部220は、所定符号化方法を介して符号化単位が決定されても、かような符号化単位を、1つの符号化単位2202に併合し、1つの符号化単位として符号化することができる。図22を参照すれば、他の実施形態として、符号化部220は、前述の所定符号化方法を利用し、小さいオブジェクト2221の符号化のための符号化単位2222を、4個の符号化単位に分割することができる。かように分割された符号化単位の場合、検出された大きいオブジェクト2223がいずれも含まれないので、符号化部220は、類似のサンプル値を有する部分を含む1つの符号化単位に符号化単位を併合(2225)することができる。   Referring to FIG. 22, according to an embodiment, the encoding unit 220 may determine a plurality of encoding units for dividing the picture 2200 using the predetermined encoding method described above. However, there is a case where a process of dividing a similar region into a plurality of coding units that are not one coding unit may be performed even though there is a portion 2201 having a similar sample value included in the picture. obtain. In this case, the encoding unit 220 merges such an encoding unit into one encoding unit 2202 and encodes it as one encoding unit even if the encoding unit is determined through a predetermined encoding method. Can be Referring to FIG. 22, as another embodiment, the encoding unit 220 uses the predetermined encoding method described above to change the encoding unit 2222 for encoding the small object 2221 into four encoding units. Can be divided into In the case of the coding unit thus divided, since none of the detected large objects 2223 is included, the coding unit 220 performs coding unit into one coding unit including a part having a similar sample value. Can be merged (2225).

一実施形態によって、符号化部220は、符号化単位の分割情報を利用して、符号化単位を分割しないか、あるいは4個の符号化単位に分割する所定符号化方法を利用して、符号化単位を決定した後、ピクチャに含まれるサンプルのサンプル値を考慮し、符号化単位をさらに分割することができる。すなわち、符号化部120は、オブジェクト別に符号化単位を決定するために、符号化単位間の併合だけではなく、すでに決定された符号化単位を分割することができる。図22を参照すれば、符号化部120は、オブジェクト2223のために符号化単位を併合することができ、オブジェクト2223のために最適化された符号化単位を決定するために、オブジェクト2223のために併合された符号化単位をさらに分割(2226)することができる。すなわち、符号化部220は、分割(2226)過程を介して、オブジェクト2223が含まれない部分をオブジェクト2223とは別個の符号化単位2227と決定することができる。   According to one embodiment, the encoding unit 220 uses the encoding unit division information and does not divide the encoding unit or uses a predetermined encoding method that divides the encoding unit into four encoding units. After determining the encoding unit, the encoding unit can be further divided in consideration of the sample value of the sample included in the picture. That is, the encoding unit 120 can divide the already determined encoding unit as well as the merge between the encoding units in order to determine the encoding unit for each object. Referring to FIG. 22, the encoding unit 120 may merge the encoding units for the object 2223, and for the object 2223 to determine the encoding unit optimized for the object 2223. Can be further divided (2226). That is, the encoding unit 220 can determine a part that does not include the object 2223 as an encoding unit 2227 that is separate from the object 2223 through the division (2226) process.

一実施形態によるブロック形態情報及びブロック分割情報により、符号化単位が再帰的に分割され、複数個の符号化単位が決定される過程は、図13を介して説明した通りである。一実施形態によるフィルタリング単位のループフィルタリング遂行情報は、フラグ値が1である場合、当該フィルタリング単位に対してループフィルタリングが行われることを示し、0である場合、ループフィルタリングが行われないことを示す。表1を参照すれば、ループフィルタリング部2040,2070によってフィルタリング対象になるフィルタリング単位を決定するためのデータ単位の情報は、フィルタ情報としていずれも符号化されて伝送される。   The process of recursively dividing the coding unit according to the block form information and the block division information according to the embodiment and determining a plurality of coding units is as described with reference to FIG. In the filtering unit loop filtering performance information according to an embodiment, when the flag value is 1, it indicates that loop filtering is performed on the filtering unit, and when the flag value is 0, loop filtering is not performed. . Referring to Table 1, data unit information for determining a filtering unit to be filtered by the loop filtering units 2040 and 2070 is encoded and transmitted as filter information.

一実施形態によって、構成された符号化単位は、原本映像との誤差を最小化させる形態に構成された符号化単位であるので、符号化単位内において、空間的相関度が高いと予想される。従って、一実施形態による符号化単位に基づいて、フィルタリング単位が決定されることにより、符号化単位の決定と別途に、フィルタリング単位を決定する動作が省略されもする。また、それにより、一実施形態による符号化単位に基づいて、フィルタリング単位を決定することにより、フィルタリング単位の分割形態を決定するための情報を省略することができるので、フィルタ情報の伝送ビットレートを節約することができる。   According to an embodiment, the configured encoding unit is an encoding unit configured to minimize an error from the original image, and thus, a spatial correlation degree is expected to be high in the encoding unit. . Therefore, by determining the filtering unit based on the encoding unit according to the embodiment, the operation of determining the filtering unit separately from the determination of the encoding unit may be omitted. Also, by determining the filtering unit based on the coding unit according to one embodiment, information for determining the division form of the filtering unit can be omitted, so the transmission bit rate of the filter information can be reduced. Can be saved.

前述の実施形態においては、フィルタリング単位が一実施形態による符号化単位に基づいて決定されると説明したが、符号化単位に基づいて、フィルタリング単位の分割を行っていて、任意の深度でそれ以上分割せず、当該深度までだけフィルタリング単位の形態が決定されもする。   In the above-described embodiment, it has been described that the filtering unit is determined based on the coding unit according to one embodiment. However, the filtering unit is divided based on the coding unit, and further at an arbitrary depth. Without dividing, the form of the filtering unit may be determined only up to the depth.

前述の実施形態に開示されたフィルタリング単位の決定は、ループフィルタリングだけでなく、デブロッキングフィルタリング、適応的ループフィルタリングなど多様な実施形態にも適用される。   The determination of the filtering unit disclosed in the above embodiment is applied not only to loop filtering but also to various embodiments such as deblocking filtering and adaptive loop filtering.

一実施形態によって、映像復号装置100は、ブロック形態情報及び分割形態情報のうち少なくとも一つを利用し、現在符号化単位を分割することができ、該ブロック形態情報は、正方形状のみを利用するとあらかじめ決定され、分割形態情報は、分割しないか、あるいは4個の正方形状の符号化単位に分割されることを示すことができると、あらかじめ決定される。すなわち、現在符号化単位は、前記ブロック形態情報によれば、該符号化単位は、常時正方形状を有し、前記分割形態情報に基づいて分割されないか、あるいは4個の正方形状の符号化単位にも分割される。映像復号装置100は、かようなブロック形態及び分割形態のみを利用するとあらかじめ決定された所定符号化方法を利用して生成されたビットストリームを、ビットストリーム獲得部120を介して獲得することができ、復号部130は、あらかじめ決定されたブロック形態及び分割形態のみを利用することができる。かような場合、映像復号装置100は、前述の所定符号化方法と類似した所定復号方法を利用することにより、所定符号化方法との互換性問題を解決することができる。一実施形態によって、映像復号装置100は、ブロック形態情報及び分割形態情報が示すことができる多様な形態のうち、あらかじめ決定されたブロック形態及び分割形態のみを利用する前述の所定復号方法を利用する場合、ブロック形態情報は、正方形状のみを示すことになるので、映像復号装置100は、ビットストリームから、ブロック形態情報を獲得する過程を省略することができる。前述の所定復号方法を利用するか否かということを示すシンタックスが利用され、かようなシンタックスは、シーケンス、ピクチャ、スライス単位、最大符号化単位など複数個の符号化単位を含む多様な形態のデータ単位ごとに、ビットストリームから獲得されることができる。すなわち、ビットストリーム獲得部120は、所定復号方法の使用いかんを示すシンタックスに基づいて、ブロック形態情報を示すシンタックスをビットストリームから獲得するか否かということを決定することができる。   According to an embodiment, the video decoding apparatus 100 may divide a current coding unit using at least one of block form information and division form information, and the block form information may use only a square shape. It is determined in advance, and the division form information is determined in advance so as to indicate that it is not divided or divided into four square-shaped coding units. That is, according to the block form information, the current coding unit always has a square shape, and is not divided based on the division form information, or four square shaped coding units. Also divided into. The video decoding apparatus 100 can acquire a bitstream generated using a predetermined encoding method determined in advance using only the block form and the division form via the bitstream acquisition unit 120. The decoding unit 130 can use only a predetermined block form and division form. In such a case, the video decoding apparatus 100 can solve the compatibility problem with the predetermined encoding method by using a predetermined decoding method similar to the above-described predetermined encoding method. According to an embodiment, the video decoding apparatus 100 uses the above-described predetermined decoding method that uses only a predetermined block form and division form among various forms that can be indicated by the block form information and the division form information. In this case, since the block form information indicates only a square shape, the video decoding apparatus 100 can omit the process of acquiring the block form information from the bit stream. A syntax indicating whether or not to use the above-described predetermined decoding method is used. Such syntax includes various coding units including a plurality of coding units such as a sequence, a picture, a slice unit, and a maximum coding unit. For each form of data unit, it can be obtained from the bitstream. That is, the bitstream acquisition unit 120 can determine whether to acquire the syntax indicating the block form information from the bitstream based on the syntax indicating the usage of the predetermined decoding method.

図23は、一実施形態による符号化単位のZスキャン順序によるインデックスを図示する。   FIG. 23 illustrates an index according to a Z-scan order of coding units according to one embodiment.

一実施形態による映像復号装置100は、上位データ単位に含まれた下位データ単位をZスキャン順序によってスキャンすることができる。また、一実施形態による映像復号装置100は、最大符号化単位またはプロセッシングブロックに含まれる符号化単位内のZスキャンインデックスによって、データに順次にアクセスすることができる。   The video decoding apparatus 100 according to an embodiment may scan the lower data unit included in the upper data unit according to the Z scan order. In addition, the video decoding apparatus 100 according to an embodiment can sequentially access data using a Z scan index in a maximum coding unit or a coding unit included in a processing block.

一実施形態による映像復号装置100が、基準符号化単位を少なくとも1つの符号化単位に分割することができるということは、図3及び図4を参照して説明した通りである。このとき、基準符号化単位内には、正方形状の符号化単位と、非正方形状の符号化単位とが混在する。一実施形態による映像復号装置100は、基準符号化単位内の各符号化単位に含まれたZスキャンインデックスによって、データアクセスを行うことができる。このとき、基準符号化単位内に、非正方形状の符号化単位が存在するか否かということにより、Zスキャンインデックスを適用する方式が異なりうる。   As described with reference to FIGS. 3 and 4, the video decoding apparatus 100 according to an embodiment can divide the reference coding unit into at least one coding unit. At this time, a square-shaped coding unit and a non-square-shaped coding unit are mixed in the reference coding unit. The video decoding apparatus 100 according to an embodiment can perform data access using a Z scan index included in each coding unit in the reference coding unit. At this time, the method of applying the Z scan index may differ depending on whether or not a non-square-shaped coding unit exists in the reference coding unit.

一実施形態により、基準符号化単位内に、非正方形状の符号化単位が存在しない場合、基準符号化単位内の下位深度の符号化単位同士は、連続したZスキャンインデックスを有することができる。例えば、一実施形態によって、上位深度の符号化単位は、下位深度の符号化単位4個を含んでもよい。ここで、4個の下位深度の符号化単位は、互いに隣接する境界が連続的なものであり、それぞれの下位深度の符号化単位は、Zスキャン順序を示すインデックスによって、Zスキャン順序にスキャンされる。一実施形態によるZスキャン順序を示すインデックスは、各符号化単位に対して、Zスキャン順序によって増加する数に設定される。その場合、同一深度の深度別符号化単位同士、Zスキャン順序によってスキャンが可能である。   According to an embodiment, when there are no non-square-shaped coding units in the reference coding unit, coding units at lower depths in the reference coding unit may have a continuous Z scan index. For example, according to an embodiment, the upper depth coding unit may include four lower depth coding units. Here, the four sub-depth coding units have continuous adjacent boundaries, and each sub-depth coding unit is scanned in the Z scan order by an index indicating the Z scan order. The The index indicating the Z scan order according to an embodiment is set to a number that increases with the Z scan order for each coding unit. In that case, scanning can be performed in the Z scanning order between the coding units by depth of the same depth.

一実施形態により、基準符号化単位内に、非正方形状の符号化単位が少なくとも1以上存在する場合、映像復号装置100は、基準符号化単位内の符号化単位をそれぞれサブブロックに分割し、分割されたサブブロックに対して、Zスキャン順序によるスキャンを行うことができる。例えば、基準符号化単位内に、垂直方向または水平方向の非正方形状の符号化単位が存在する場合、分割されたサブブロックを利用して、Zスキャンを行うことができる。また、例えば、基準符号化単位内において、奇数個の符号化単位に分割が行われた場合、サブブロックを利用して、Zスキャンを行うことができる。該サブブロックは、それ以上分割されない符号化単位、または任意の符号化単位が分割されたものであり、正方形状でもある。例えば、正方形状の符号化単位から、4個の正方形状のサブブロックが分割される。また、例えば、非正方形状の符号化単位からは、2個の正方形状のサブブロックが分割される。   According to an embodiment, when there are at least one or more non-square coding units in the reference coding unit, the video decoding apparatus 100 divides each coding unit in the reference coding unit into sub-blocks, The divided sub-blocks can be scanned in the Z scan order. For example, when there is a non-square coding unit in the vertical direction or the horizontal direction in the reference coding unit, Z scanning can be performed using the divided sub-blocks. Further, for example, when division is performed into an odd number of coding units in the reference coding unit, Z scanning can be performed using sub-blocks. The sub-block is obtained by dividing a coding unit that is not divided any further, or an arbitrary coding unit, and also has a square shape. For example, four square sub-blocks are divided from a square coding unit. For example, two square sub-blocks are divided from a non-square coding unit.

図23を参照し、例えば、一実施形態による映像復号装置100は、符号化単位2300内において、下位深度の符号化単位2302,2304,2306,2308,2310をZスキャン順序によってスキャンすることができる。符号化単位2300及び符号化単位2302,2304,2306,2308,2310は、それぞれ相対的に上位符号化単位及び下位符号化単位である。符号化単位2300は、水平方向の非正方形状の符号化単位2306,2310を含む。それら非正方形状の符号化単位2306,2310は、隣接した正方形状の符号化単位2302,2304との境界が不連続的である。また、符号化単位2308は、正方形状であり、非正方形状の符号化単位が奇数個であり、分割時、中間に位置した符号化単位である。非正方形状の符号化単位2306,2310と同様に、符号化単位2308は、隣接した正方形状の符号化単位2302,2304との境界が不連続的である。符号化単位2300内に、非正方形状の符号化単位2306,2310が含まれるか、あるいは非正方形状の符号化単位が、奇数個であり、分割時、中間に位置した符号化単位2308が含まれた場合、符号化単位間に隣接する境界が不連続的であるために、連続的なZスキャンインデックスが設定されることがない。従って、映像復号装置100は、符号化単位をサブブロックに分割することにより、Zスキャンインデックスを連続的に設定することができる。また、映像復号装置100は、非正方形状の符号化単位2306,2310、または奇数個に分割された非正方形状の符号化単位の中間に位置した符号化単位2308に対して連続したZスキャンを行うことができる。   Referring to FIG. 23, for example, the video decoding apparatus 100 according to an embodiment may scan lower depth coding units 2302, 2304, 2306, 2308, and 2310 in the coding unit 2300 according to the Z scan order. . The coding unit 2300 and the coding units 2302, 2304, 2306, 2308, and 2310 are relatively higher coding units and lower coding units, respectively. Coding unit 2300 includes non-square coding units 2306 and 2310 in the horizontal direction. These non-square coding units 2306 and 2310 have discontinuous boundaries with adjacent square coding units 2302 and 2304. Also, the coding unit 2308 has a square shape, an odd number of non-square coding units, and is a coding unit positioned in the middle when divided. Similar to the non-square coding units 2306 and 2310, the coding unit 2308 has a discontinuous boundary with the adjacent square coding units 2302 and 2304. The encoding unit 2300 includes non-square encoding units 2306 and 2310, or there are an odd number of non-square encoding units and includes an encoding unit 2308 located in the middle during division. In this case, since the adjacent boundary between coding units is discontinuous, a continuous Z scan index is not set. Accordingly, the video decoding apparatus 100 can continuously set the Z scan index by dividing the coding unit into sub-blocks. In addition, the video decoding apparatus 100 performs continuous Z scans on the non-square coding units 2306 and 2310 or the coding unit 2308 located in the middle of the odd-numbered non-square coding units. It can be carried out.

図23に図示された符号化単位2320は、符号化単位2300内の符号化単位2302,2304,2306,2308,2310をサブブロックに分割したものである。サブブロックそれぞれに対してZスキャンインデックスが設定され、サブブロック間の隣接する境界は、連続的であるので、サブブロック同士Zスキャン順序によってスキャンが可能である。例えば、一実施形態による復号装置において、符号化単位2308は、サブブロック2322,2324,2326,2328にも分割される。このとき、サブブロック2322,2324は、サブブロック2330に対するデータ処理後にスキャンされ、サブブロック2326,2328は、サブブロック2332に対するデータ処理後にスキャンされることができる。また、それぞれのサブブロック同士Zスキャン順序によってスキャンされる。   The coding unit 2320 illustrated in FIG. 23 is obtained by dividing the coding units 2302, 2304, 2306, 2308, and 2310 in the coding unit 2300 into sub-blocks. A Z scan index is set for each sub-block, and adjacent boundaries between sub-blocks are continuous. Therefore, scanning can be performed according to the Z-scan order between sub-blocks. For example, in the decoding apparatus according to an embodiment, the coding unit 2308 is also divided into sub-blocks 2322, 2324, 2326, and 2328. At this time, the sub-blocks 2322 and 2324 can be scanned after data processing on the sub-block 2330, and the sub-blocks 2326 and 2328 can be scanned after data processing on the sub-block 2332. Further, each sub-block is scanned in the Z-scan order.

前述の実施形態において、データ単位に対して、Zスキャン順序によってスキャンすることは、データ保存、データローディング、データアクセスなどのためのものでもある。   In the above-described embodiment, scanning the data unit according to the Z scan order is also for data storage, data loading, data access, and the like.

また、前述の実施形態では、データ単位をZスキャン順序によってスキャンすることができることについて説明したが、データ単位のスキャン順序は、ラスタースキャン、Nスキャン、右上向き対角スキャン、水平的スキャン、垂直的スキャンなど多様なスキャン順序によって遂行され、Zスキャン順序に限定して解釈されるものではない。   In the above-described embodiment, it has been described that the data unit can be scanned in the Z scan order. However, the scan order of the data unit is raster scan, N scan, upper right diagonal scan, horizontal scan, vertical scan. It is performed by various scan orders such as scans, and is not interpreted as being limited to the Z scan order.

また、前述の実施形態では、基準符号化単位内の符号化単位に対してスキャンを行うと説明したが、それに限定して解釈されるものではなく、スキャン遂行の対象は、最大符号化単位、またはプロセッシングブロック内の任意のブロックでもある。   Further, in the above-described embodiment, it has been described that the scanning is performed on the coding unit in the reference coding unit. However, the present invention is not limited to this, and the target of scanning is the maximum coding unit, Or any block within the processing block.

また、前述の実施形態では、非正方形状のブロックが、少なくとも1以上存在する場合にのみサブブロックに分割し、Zスキャン順序によるスキャンを行うと説明したが、単純化された具現のために、非正方形状のブロックが存在しない場合にも、サブブロックを分割し、Zスキャン順序によるスキャンを行うこともできる。   Further, in the above-described embodiment, it has been described that the non-square block is divided into sub-blocks only when at least one or more blocks are present, and scanning according to the Z-scan order is performed, but for simplified implementation, Even when there is no non-square block, it is possible to divide the sub-block and perform scanning in the Z-scan order.

一実施形態による映像復号装置100は、符号化単位に対するインター予測またはイントラ予測を行って予測データを生成し、現在符号化単位に含まれた変換単位に対して逆変換を行ってレジデュアルデータを生成し、生成された予測データとレジデュアルデータとを利用し、現在符号化単位を復元することができる。   The video decoding apparatus 100 according to an embodiment performs inter prediction or intra prediction on a coding unit to generate prediction data, and performs inverse transformation on a transform unit included in the current coding unit to obtain residual data. The current encoding unit can be restored using the generated prediction data and residual data.

一実施形態による符号化単位の予測モードは、イントラモード、インターモード及びスキップモードのうち少なくとも一つでもある。一実施形態により、符号化単位ごとに独立して予測モードが選択される。   The prediction mode of a coding unit according to an embodiment is at least one of an intra mode, an inter mode, and a skip mode. According to one embodiment, the prediction mode is selected independently for each coding unit.

一実施形態による2Nx2N形態の符号化単位が分割され、2つの2NxN形態または2つのNx2N形態の符号化単位に分割された場合、それらそれぞれの符号化単位に対して、インターモード予測及びイントラモード予測が別個にも行われる。また、一実施形態による2NxN形態またはNx2N形態の符号化単位については、スキップモードが適用されもする。   When a 2Nx2N-type coding unit according to an embodiment is divided and divided into two 2NxN-type or two Nx2N-type coding units, inter-mode prediction and intra-mode prediction are performed for each of the coding units. Is also done separately. In addition, the skip mode may be applied to a 2NxN or Nx2N coding unit according to an embodiment.

一方、一実施形態による映像復号装置100は、8x4形態または4x8形態の符号化単位のスキップモードで、双方向予測(bi−prediction)の遂行が許容されもする。スキップモードでは、符号化単位に対してスキップモード情報のみを伝送されるために、当該符号化単位に対するレジデュアルデータの利用が省略される。従って、その場合、逆量子化及び逆変換に対するオーバーヘッド(overhead)を節約することができる。その代わり、一実施形態による映像復号装置100は、スキップモードが適用される符号化単位に対して、双方向予測を許容して復号効率を高めることができる。また、一実施形態による映像復号装置100は、8x4形態または4x8形態の符号化単位に対して、双方向予測を許容するが、動き補償段階において、補間タップ(interpolation tap)数を相対的に少なく設定し、メモリ帯域幅を効率的に使用することができる。一例として、8タップの補間フィルタを使用する代わりに、8未満のタップ数の補間フィルタ(例えば、2タップ補間フィルタ)を使用することもできる。   Meanwhile, the video decoding apparatus 100 according to an embodiment may be allowed to perform bi-prediction in the 8 × 4 or 4 × 8 coding unit skip mode. In the skip mode, since only the skip mode information is transmitted to the coding unit, the use of residual data for the coding unit is omitted. Therefore, in that case, overhead for inverse quantization and inverse transform can be saved. Instead, the video decoding apparatus 100 according to an embodiment can increase the decoding efficiency by allowing bi-directional prediction for a coding unit to which the skip mode is applied. Also, the video decoding apparatus 100 according to an embodiment allows bi-directional prediction for an 8 × 4 or 4 × 8 coding unit, but relatively reduces the number of interpolation taps in the motion compensation stage. Set and use memory bandwidth efficiently. As an example, instead of using an 8-tap interpolation filter, an interpolation filter having a tap number of less than 8 (for example, a 2-tap interpolation filter) may be used.

また、一実施形態による映像復号装置100は、現在符号化単位に含まれた領域を、すでに設定された形態に分割(例えば、斜線基盤分割)し、分割された各領域に係わるイントラ予測情報またはインター予測情報をシグナリングすることもできる。   In addition, the video decoding apparatus 100 according to an embodiment divides a region included in a current encoding unit into an already set form (for example, diagonally-shaded division), and intra prediction information regarding each divided region or Inter prediction information can also be signaled.

一実施形態による映像復号装置100は、イントラモードを利用し、現在符号化単位の予測サンプルを、現在符号化単位の周辺サンプルを利用して獲得することができる。このとき、該イントラ予測は、周辺のすでに再構成されたサンプルを使用して予測を行うが、かようなサンプルを参照サンプルという。   The video decoding apparatus 100 according to an embodiment may obtain a prediction sample of a current coding unit using an intra mode and a neighboring sample of the current coding unit. At this time, in the intra prediction, prediction is performed using neighboring reconstructed samples, and such samples are referred to as reference samples.

図24は、一実施形態による符号化単位のイントラ予測のための参照サンプルを示す図面である。図24を参照すれば、ブロック形態が非四角型形態であり、水平方向の長さがw、垂直方向の長さがhである現在符号化単位2300に対して、上端の参照サンプル2302が、w+h個、左側の参照サンプル2304が、w+h個、左側上端の参照サンプル2306が、1であり、総2(w+h)+1個の参照サンプルが必要である。参照サンプル準備のために、参照サンプルが存在しない部分に対してパディングを行う段階を経て、再構成された参照サンプルに含まれた量子化エラーを減らすための予測モード別参照サンプルフィルタリング過程を経ることもできる。   FIG. 24 is a diagram illustrating reference samples for intra prediction of a coding unit according to an embodiment. Referring to FIG. 24, for the current coding unit 2300 in which the block form is a non-square form, the horizontal length is w, and the vertical length is h, the upper reference sample 2302 is w + h, left reference sample 2304 is w + h, left upper reference sample 2306 is 1, and a total of 2 (w + h) +1 reference samples are required. In order to reduce the quantization error included in the reconstructed reference sample, the reference sample filtering process according to the prediction mode is performed in order to reduce the quantization error included in the reconstructed reference sample through the step of performing padding on the portion where the reference sample does not exist. You can also.

前述の実施形態では、現在符号化単位のブロック形態が非四角型形態である場合の参照サンプルの個数について説明したが、かような参照サンプルの個数は、現在符号化単位が四角形状のブロック形態の場合にも、同一に適用される。   In the above-described embodiment, the number of reference samples in the case where the block form of the current coding unit is a non-square form has been described, but the number of such reference samples is a block form in which the current coding unit is a rectangular shape. The same applies to the case of.

前述の多様な実施形態は、映像復号装置100が遂行する映像復号方法に係わる動作について説明したものである。以下では、かような映像復号方法に対して逆順の過程に該当する映像符号化方法を遂行する映像符号化装置200の動作について、多様な実施形態を介して説明する。   The various embodiments described above describe operations related to the video decoding method performed by the video decoding apparatus 100. Hereinafter, an operation of the video encoding apparatus 200 that performs the video encoding method corresponding to the reverse process of the video decoding method will be described through various embodiments.

図2は、一実施形態によって、ブロック形態情報及び分割形態情報のうち少なくとも一つに基づいて、映像を符号化することができる映像符号化装置のブロック図を図示する。   FIG. 2 illustrates a block diagram of a video encoding apparatus capable of encoding a video based on at least one of block form information and division form information according to an embodiment.

図2を参照すれば、映像符号化装置200は、一実施形態によって、ビデオピクチャから、イントラ予測のためのデータ単位を決定するデータ単位決定部210、所定予測情報を利用して、第1イントラ予測類型による第1データ単位に係わる第1予測値を生成し、データ単位に隣接するデータ単位を利用して、第2イントラ予測類型による第2データ単位に係わる第2予測値を生成し、第1予測値及び第2予測値のうち少なくとも一つに基づいて決定される符号化情報を含むビットストリームを生成してビデオピクチャを符号化するビットストリーム生成部230、及び符号化部220を含んでもよい。ここで、イントラ予測類型情報は、データ単位が、第1イントラ予測類型または第2イントラ予測類型のうち少なくとも1つの類型によって予測されるということを示す情報であり、第1イントラ予測類型は、周辺データ単位のサンプル値ではない他の情報を利用してデータ単位を予測するものでもあり、第2イントラ予測類型は、周辺データ単位のサンプル値を利用してデータ単位を予測するものでもある。   Referring to FIG. 2, according to an embodiment, the video encoding apparatus 200 uses a data unit determination unit 210 that determines a data unit for intra prediction from a video picture, and a first intra prediction using predetermined prediction information. Generating a first prediction value related to the first data unit according to the prediction type, generating a second prediction value related to the second data unit according to the second intra prediction type using a data unit adjacent to the data unit; A bit stream generation unit 230 that generates a bit stream including encoding information determined based on at least one of the first prediction value and the second prediction value and encodes a video picture, and an encoding unit 220 may be included. Good. Here, the intra prediction type information is information indicating that the data unit is predicted by at least one type of the first intra prediction type or the second intra prediction type, and the first intra prediction type is a peripheral The data unit is predicted using other information that is not the sample value of the data unit, and the second intra prediction type is also used to predict the data unit using the sample value of the peripheral data unit.

一実施形態によって、映像符号化装置のデータ単位決定部210は、データ単位が、第1イントラ予測類型または第2イントラ予測類型のうちいずれの類型によって予測されるかということを決定することができる。一方、例えば、データ単位は、コーディングユニット(coding unit)、予測ユニット(prediction unit)または変換ユニット(transform unit)のうち一つでもある。   According to an exemplary embodiment, the data unit determination unit 210 of the video encoding apparatus may determine whether a data unit is predicted according to a first intra prediction type or a second intra prediction type. . On the other hand, for example, the data unit may be one of a coding unit, a prediction unit, or a transform unit.

一実施形態によって、映像符号化装置200の符号化部220は、第1イントラ予測類型による第1データ単位に係わる第1予測値を生成し、第2イントラ予測類型による第2データ単位に係わる第2予測値を生成することができる。また、符号化部220は、第1予測値及び第2予測値を利用して、符号化情報を生成することができる。例えば、第1イントラ予測類型による予測は、周辺データ単位ではない他の情報を利用して、イントラ予測を行うものでもある。例えば、第2イントラ予測類型による予測は、周辺データ単位を利用してイントラ予測を行うものでもある。   According to an embodiment, the encoding unit 220 of the video encoding apparatus 200 generates a first prediction value related to the first data unit according to the first intra prediction type, and generates a first prediction value related to the second data unit according to the second intra prediction type. 2 prediction values can be generated. Also, the encoding unit 220 can generate encoded information using the first predicted value and the second predicted value. For example, the prediction based on the first intra prediction type is to perform intra prediction using other information that is not in the peripheral data unit. For example, the prediction based on the second intra prediction type is to perform intra prediction using peripheral data units.

一実施形態によって、映像符号化装置200のビットストリーム生成部230は、第1予測値及び第2予測値のうち少なくとも一つに基づいて決定される符号化情報を含むビットストリームを生成することができる。また、ビットストリーム生成部230は、第1データ単位を、第1イントラ予測類型によって予測するか、あるいは第2イントラ予測類型によって予測するかということを示すイントラ予測類型情報をビットストリームに含めることができる。   According to an exemplary embodiment, the bitstream generation unit 230 of the video encoding device 200 may generate a bitstream that includes encoding information determined based on at least one of the first predicted value and the second predicted value. it can. In addition, the bitstream generation unit 230 may include intra prediction type information indicating whether the first data unit is predicted by the first intra prediction type or the second intra prediction type in the bitstream. it can.

図3は、一実施形態によって、第1イントラ予測類型によって予測される第1データ単位、及び第2イントラ予測類型によって予測される第2データ単位を決定する過程を図示する。   FIG. 3 illustrates a process of determining a first data unit predicted by a first intra prediction type and a second data unit predicted by a second intra prediction type according to an embodiment.

一実施形態によって、データ単位決定部210は、第1イントラ予測類型によって予測される第1データ単位310、及び第2イントラ予測類型によって予測される第2データ単位320を決定することができる。すなわち、予測されるデータ単位が、周辺データ単位を利用して予測されるか、あるいは周辺データ単位に係わる情報ではない他の情報を利用して予測されるかということが決定される。   According to an exemplary embodiment, the data unit determination unit 210 may determine the first data unit 310 predicted by the first intra prediction type and the second data unit 320 predicted by the second intra prediction type. That is, it is determined whether the predicted data unit is predicted using the peripheral data unit, or is predicted using other information that is not information related to the peripheral data unit.

一実施形態により、符号化部220は、周辺データ単位に係わる情報ではない他の情報を利用して、データ単位の予測値を生成することができる。例えば、符号化部220は、あらかじめ保存されている値を利用して、データ単位の予測値を生成することができる。例えば、あらかじめ保存されている値は、RDO結果によって決定される。   According to an exemplary embodiment, the encoding unit 220 may generate a predicted value for a data unit using other information that is not information related to a peripheral data unit. For example, the encoding unit 220 can generate a prediction value for each data unit using a value stored in advance. For example, the value stored in advance is determined by the RDO result.

図3に係わって説明した映像復号装置100の動作と反対になる過程でもあるので、詳細な説明は省略する。   Since this is a process opposite to the operation of the video decoding apparatus 100 described with reference to FIG. 3, detailed description thereof is omitted.

図4は、一実施形態によって、所定予測情報に基づいた第1イントラ予測類型によって、第1データ単位を予測する過程を図示する。   FIG. 4 illustrates a process of predicting a first data unit according to a first intra prediction type based on predetermined prediction information according to an embodiment.

一実施形態によって、符号化部220は、第1イントラ予測類型によって予測される第1データ単位420は、周辺データ単位に係わる情報ではない他の情報を利用しても予測される。例えば、第1データ単位420は、第1データ単位420が含まれた上位階層のデータ単位に隣接するサンプル値410を利用しても予測される。第1データ単位420が含まれた上位階層のデータ単位に隣接するサンプル値410は、CTU境界の周辺ピクセルに係わる情報、またはCU境界の周辺ピクセルに係わる情報を含んでもよい。CTU境界の周辺ピクセルに係わる情報を利用して予測を行う場合、予測対象単位は、CU、PU、TUまたはCTUでもある。CU境界の周辺ピクセルに係わる情報利用して予測を行う場合、予測対象単位は、PU、TUまたはCUでもある。   According to an exemplary embodiment, the encoding unit 220 may predict the first data unit 420 predicted by the first intra prediction type using other information that is not information related to the peripheral data unit. For example, the first data unit 420 is also predicted by using the sample value 410 adjacent to the upper layer data unit in which the first data unit 420 is included. The sample value 410 adjacent to the upper layer data unit including the first data unit 420 may include information related to peripheral pixels at the CTU boundary or information related to peripheral pixels at the CU boundary. When prediction is performed using information related to neighboring pixels at the CTU boundary, the prediction target unit is also a CU, PU, TU, or CTU. When performing prediction using information related to neighboring pixels at the CU boundary, the prediction target unit is also PU, TU, or CU.

図5は、一実施形態によって、隣接するデータ単位を利用して予測する第2イントラ予測類型によって、第2データ単位を予測する過程を図示する。   FIG. 5 illustrates a process of predicting a second data unit according to a second intra prediction type that predicts using adjacent data units according to an exemplary embodiment.

一実施形態によって、符号化部220は、データ単位に隣接するデータ単位を利用して、第2イントラ予測類型によって予測を行うことができる。例えば、データ単位510に対する予測を行う場合、データ単位510の下端に隣接する第1イントラ予測類型によって、まず符号化されたデータ単位530に係わる情報511を利用することができる。例えば、データ単位520に対する予測を行う場合、データ単位520の右側に隣接する第1イントラ予測類型によって、あらかじめ符号化されたデータ単位530に係わる情報521を利用することができる。   According to an embodiment, the encoding unit 220 may perform prediction using a second intra prediction type using a data unit adjacent to the data unit. For example, when prediction is performed on the data unit 510, information 511 related to the encoded data unit 530 can be used according to the first intra prediction type adjacent to the lower end of the data unit 510. For example, when prediction is performed on the data unit 520, information 521 related to the data unit 530 encoded in advance can be used according to the first intra prediction type adjacent to the right side of the data unit 520.

一実施形態によって、符号化部220は、データ単位510内の予測されるピクセルの位置により、左側または上端の距離が近い場合、左側及び上端のサンプル値を利用して予測を行う。または、一実施形態によって、符号化部220は、データ単位510内の予測されるピクセルの位置により、右側または下端の距離が近い場合、右側及び下端のサンプル値を利用して予測を行う。   According to an exemplary embodiment, the encoding unit 220 may perform prediction using the left and upper sample values when the distance between the left and upper ends is close according to the predicted pixel position in the data unit 510. Alternatively, according to an exemplary embodiment, the encoding unit 220 may perform prediction using the sample values on the right and bottom edges when the distance between the right side and the bottom edge is close depending on the predicted pixel position in the data unit 510.

図6に係わって説明した映像復号装置100の動作と反対になる過程でもあるので、詳細な説明は省略する。   Since this is a process opposite to the operation of the video decoding apparatus 100 described with reference to FIG. 6, detailed description thereof is omitted.

図7は、一実施形態によって、データ単位に対して、第1イントラ予測類型及び第2イントラ予測類型が決定される過程を図示する。   FIG. 7 illustrates a process of determining a first intra prediction type and a second intra prediction type for a data unit according to an embodiment.

一実施形態より、ビットストリーム生成部230は、それぞれのCU、PUまたはTUに対して、第1イントラ予測類型によって予測値を生成するか、あるいは第2イントラ予測類型によって予測値を生成するかということを示すイントラ予測類型情報をビットストリームに含めることができる。   According to one embodiment, the bitstream generation unit 230 generates a prediction value according to the first intra prediction type or a prediction value according to the second intra prediction type for each CU, PU, or TU. Intra prediction type information indicating this can be included in the bitstream.

一実施形態によって、ビットストリーム生成部230は、Intra_DCモードについては、第1イントラ予測類型によって予測を行い、Intra_DCモード以外に他のモードについては、第2イントラ予測類型によって予測を行うように示すイントラ予測類型情報をビットストリームに含めることができる。   According to one embodiment, the bitstream generation unit 230 performs prediction based on the first intra prediction type for the Intra_DC mode, and indicates that prediction is performed based on the second intra prediction type for other modes besides the Intra_DC mode. Prediction type information can be included in the bitstream.

一実施形態によって、ビットストリーム生成部230は、データ単位を、第1データ単位または第2データ単位のうちいずれか一つに分類するかということを示すイントラ予測類型情報をビットストリームに含めることができる。   According to an embodiment, the bitstream generation unit 230 may include intra prediction type information indicating whether a data unit is classified as one of a first data unit and a second data unit in the bitstream. it can.

図9は、一実施形態によって、イントラ予測類型情報を利用したビデオ符号化方法のフローチャートを図示する。   FIG. 9 illustrates a flowchart of a video encoding method using intra prediction type information according to an embodiment.

段階S910において、映像符号化装置200のデータ単位の決定部210は、第1イントラ予測類型によって予測される第1データ単位、または第2イントラ予測類型によって予測される第2データ単位を決定することができる。例えば、第1イントラ予測類型は、データ単位に隣接するデータ単位のサンプル値ではない他の情報を利用して、データ単位に対する予測を行うものでもある。例えば、第2イントラ予測類型は、データ単位に隣接するデータ単位のサンプル値を利用して、データ単位に対する予測を行うものでもある。   In step S910, the data unit determination unit 210 of the video encoding device 200 determines a first data unit predicted by the first intra prediction type or a second data unit predicted by the second intra prediction type. Can do. For example, the first intra prediction type is to perform prediction for a data unit using other information that is not a sample value of a data unit adjacent to the data unit. For example, in the second intra prediction type, a prediction for a data unit is performed using a sample value of a data unit adjacent to the data unit.

段階S920において、映像符号化装置200の符号化部220は、第1イントラ予測類型による第1データ単位に係わる第1予測値を生成するものでもある。   In step S920, the encoding unit 220 of the video encoding device 200 generates a first prediction value related to the first data unit according to the first intra prediction type.

段階S930において、映像符号化装置200の符号化部220は、第2イントラ予測類型による第2データ単位に係わる第2予測値を生成するものでもある。   In step S930, the encoding unit 220 of the video encoding device 200 generates a second predicted value related to the second data unit according to the second intra prediction type.

段階S940において、映像符号化装置200のビットストリーム生成部230は、第1予測値及び第2予測値のうち少なくとも一つに基づいて決定される符号化情報を含むビットストリームを生成することができる。符号化部220は、ビットストリームが生成されたビデオピクチャを符号化することができる。   In step S940, the bitstream generation unit 230 of the video encoding device 200 may generate a bitstream that includes encoding information determined based on at least one of the first predicted value and the second predicted value. . The encoding unit 220 can encode a video picture in which a bitstream is generated.

図10は、一実施形態によって、映像符号化装置200が、第1符号化単位1000が分割されて決定された非正方形状の第2符号化単位が所定条件を満足する場合、第2符号化単位が分割される形態が制限されることを図示する。   FIG. 10 illustrates a case where the video encoding apparatus 200 performs the second encoding when the non-square second encoding unit determined by dividing the first encoding unit 1000 satisfies a predetermined condition. FIG. 6 illustrates that the form in which a unit is divided is limited.

一実施形態によって、符号化部220が、正方形状の第1符号化単位1000を非正方形状の第2符号化単位1010a,1010b,1020a,1020bに分割すると決定することができる。第2符号化単位1010a,1010b,1020a,1020bは、独立しても分割される。それにより、符号化部220は、第2符号化単位1010a,1010b,1020a,1020bそれぞれを複数個の符号化単位に分割するか、あるいは分割しないと決定することができる。図10に係わる映像符号化装置200が、非正方形状の第2符号化単位が所定条件を満足するとき、分割される形態の制限する動作は、図10に係わって説明した映像復号装置100の動作と反対になるものでもあるので、詳細な説明は省略する。   According to an embodiment, the encoding unit 220 may determine to divide the square-shaped first encoding unit 1000 into the non-square-shaped second encoding units 1010a, 1010b, 1020a, and 1020b. The second coding units 1010a, 1010b, 1020a, 1020b are divided even if they are independent. Accordingly, the encoding unit 220 can determine that each of the second encoding units 1010a, 1010b, 1020a, and 1020b is divided into a plurality of encoding units or not. When the video encoding apparatus 200 according to FIG. 10 satisfies the predetermined condition for the non-square second encoding unit, the operation of limiting the form of division is the same as that of the video decoding apparatus 100 described with reference to FIG. Since this is also the opposite of the operation, detailed description is omitted.

図11は、一実施形態によって、分割形態情報が4個の正方形状の符号化単位に分割することを示すことができない場合、映像符号化装置200が、正方形状の符号化単位を分割する過程を図示する。それと係わる映像符号化装置200の動作は、図11に係わって説明した映像復号装置100の動作と反対になるものでもあるので、詳細な説明は省略する。   FIG. 11 illustrates a process in which the video coding apparatus 200 divides a square-shaped coding unit when the division mode information cannot indicate that it is divided into four square-shaped coding units according to an embodiment. Is illustrated. Since the operation of the video encoding apparatus 200 related thereto is also the opposite of the operation of the video decoding apparatus 100 described with reference to FIG. 11, detailed description thereof will be omitted.

図12は、一実施形態によって、複数個の符号化単位間の処理順序が符号化単位の分割過程によって異なりうることを図示したものである。   FIG. 12 illustrates that the processing order between a plurality of coding units may vary depending on the coding unit division process according to an embodiment.

一実施形態によって、符号化部220は、正方形状の第1符号化単位1200を、水平方向及び垂直方向のうち少なくとも1つの方向に分割することができる。一実施形態によって、ビットストリーム生成部230は、第1符号化単位1200が正方形状であるということを示すブロック形態情報、並びに第1符号化単位1200が水平方向及び垂直方向のうち少なくとも1つの方向に分割されることを示す分割形態情報を含むビットストリームを生成することができる。   According to an embodiment, the encoding unit 220 may divide the square first encoding unit 1200 in at least one of a horizontal direction and a vertical direction. According to an embodiment, the bitstream generator 230 may include block form information indicating that the first coding unit 1200 is square, and the first coding unit 1200 may be at least one of a horizontal direction and a vertical direction. It is possible to generate a bit stream including division form information indicating that the data is divided into two.

一実施形態によって、符号化部220は、第1符号化単位1200を分割し、例えば、第2符号化単位1210a,1210b,1220a,1220b,1230a,1230b,1230c,1230dなどを決定することができる。図12を参照すれば、第1符号化単位1200が、水平方向または垂直方向だけに分割されて決定された非正方形状の第2符号化単位1210a,1210b,1220a,1220bは、独立しても分割される。例えば、符号化部220は、第1符号化単位1200が、垂直方向に分割されて生成された第2符号化単位1210a,1210bを水平方向にそれぞれ分割し、第3符号化単位1216a,1216b,1216c,1216dを決定することができ、第1符号化単位1200が水平方向に分割されて生成された第2符号化単位1220a,1220bを、水平方向にそれぞれ分割し、第3符号化単位1226a,1226b,1226c,1226dを決定することができる。図10に係わる映像符号化装置200の動作は、図10に係わって説明した映像復号装置100の動作と反対になるものでもあるので、詳細な説明は省略する。   According to an embodiment, the encoding unit 220 may divide the first encoding unit 1200 and determine, for example, the second encoding units 1210a, 1210b, 1220a, 1220b, 1230a, 1230b, 1230c, and 1230d. . Referring to FIG. 12, non-square second coding units 1210a, 1210b, 1220a, and 1220b, which are determined by dividing the first coding unit 1200 only in the horizontal direction or the vertical direction, may be independent. Divided. For example, the encoding unit 220 divides the second encoding units 1210a and 1210b generated by dividing the first encoding unit 1200 in the vertical direction in the horizontal direction, and generates third encoding units 1216a, 1216b, 1216c and 1216d can be determined, and the second encoding units 1220a and 1220b generated by dividing the first encoding unit 1200 in the horizontal direction are respectively divided in the horizontal direction to obtain third encoding units 1226a and 1226a, 1226b, 1226c and 1226d can be determined. The operation of the video encoding apparatus 200 according to FIG. 10 is also the opposite of the operation of the video decoding apparatus 100 described with reference to FIG.

図13は、一実施形態によって、符号化単位が再帰的に分割されて複数個の符号化単位が決定される場合、符号化単位の形態及び大きさが変わることにより、符号化単位の深度が決定される過程を図示する。映像符号化装置200の符号化部220が、符号化単位の深度を決定する過程は、図13に係わって説明した映像復号装置100の復号部130が符号化単位の深度を決定する過程と反対になるものでもあるので、詳細な説明は省略する。   FIG. 13 illustrates that when a coding unit is recursively divided and a plurality of coding units are determined according to an embodiment, the coding unit depth and the size of the coding unit may be changed, thereby reducing the depth of the coding unit. Figure 3 illustrates the process to be determined. The process in which the encoding unit 220 of the video encoding apparatus 200 determines the depth of the encoding unit is opposite to the process in which the decoding unit 130 of the video decoding apparatus 100 described with reference to FIG. 13 determines the depth of the encoding unit. Therefore, detailed description is omitted.

一実施形態によって、映像符号化装置200は、現在符号化単位から分割されて決定された複数個の符号化単位を区分するためのインデックスの値に基づいて、特定分割形態に分割されたものであるか否かということを決定することができる。図14を参照すれば、映像符号化装置200は、高さが幅より大きい長方形状の第1符号化単位1410を分割し、偶数個の符号化単位1412a,1412bを決定するか、あるいは奇数個の符号化単位1414a,1414b,1414cを決定することができる。映像符号化装置200は、複数個の符号化単位それぞれを区分するために、各符号化単位を示すインデックス(PID)を利用することができる。一実施形態によって、該PIDは、それぞれの符号化単位の所定位置のサンプル(例えば、左側上端サンプル)で獲得される。図14に係わる映像符号化装置200の動作は、図14に係わって説明した映像復号装置100の動作と反対になるものでもあるので、詳細な説明は省略する。   According to one embodiment, the video encoding apparatus 200 is divided into specific division forms based on index values for dividing a plurality of encoding units determined by dividing from the current encoding unit. It can be determined whether or not there is. Referring to FIG. 14, the video encoding apparatus 200 divides a rectangular first encoding unit 1410 whose height is larger than a width and determines an even number of encoding units 1412a and 1412b or an odd number. Encoding units 1414a, 1414b, and 1414c can be determined. The video encoding apparatus 200 can use an index (PID) indicating each encoding unit in order to classify each of the plurality of encoding units. According to one embodiment, the PID is obtained with a sample in a predetermined position of each coding unit (eg, left top sample). The operation of the video encoding apparatus 200 according to FIG. 14 is also the opposite of the operation of the video decoding apparatus 100 described with reference to FIG.

図15は、一実施形態によって、ピクチャに含まれる複数個の所定データ単位によって、複数個の符号化単位が決定されたところを図示する。一実施形態によって、符号化部220は、符号化単位の再帰的な分割が始まる所定データ単位として、前述の基準符号化単位を利用することができる。図15に係わって、映像符号化装置200が基準符号化単位を利用する動作は、図15に係わって説明した映像復号装置100が、基準符号化単位を利用する動作と反対になるものでもあるので、詳細な説明は省略する。   FIG. 15 illustrates a plurality of encoding units determined according to a plurality of predetermined data units included in a picture according to an embodiment. According to an exemplary embodiment, the encoding unit 220 may use the above-described reference encoding unit as a predetermined data unit where recursive division of the encoding unit starts. The operation of the video coding apparatus 200 using the reference coding unit in connection with FIG. 15 is opposite to the operation of the video decoding apparatus 100 described with reference to FIG. 15 using the reference coding unit. Therefore, detailed description is omitted.

一実施形態によって、映像符号化装置200のビットストリーム生成部230は、基準符号化単位の形態に係わる情報、及び基準符号化単位の大きさに係わる情報のうち少なくとも一つを含むビットストリームを、前記多様なデータ単位ごとに生成することができる。正方形状の基準符号化単位1500に含まれる少なくとも1つの符号化単位が決定される過程は、図3の現在符号化単位300が分割される過程を介して説明し、非正方形状の基準符号化単位1500に含まれる少なくとも1つの符号化単位の決定される過程は、図4の現在符号化単位400または450が分割される過程を介して説明したので、詳細な説明は省略する。   According to an exemplary embodiment, the bitstream generation unit 230 of the video encoding device 200 may include a bitstream including at least one of information related to a reference coding unit type and information related to a reference coding unit size. It can be generated for each of the various data units. The process of determining at least one coding unit included in the square reference coding unit 1500 will be described through the process of dividing the current coding unit 300 of FIG. Since the process of determining at least one coding unit included in the unit 1500 has been described through the process of dividing the current coding unit 400 or 450 of FIG. 4, detailed description thereof will be omitted.

一実施形態によって、符号化部220は、所定条件に基づいて、あらかじめ決定される一部データ単位によって、基準符号化単位の大きさ及び形態を決定するために、基準符号化単位の大きさ及び形態を識別するためのインデックスを利用することができる。すなわち、ビットストリーム生成部230は、前記多様なデータ単位(例えば、シーケンス、ピクチャ、スライス、スライスセグメント、最大符号化単位など)のうち所定条件(例えば、スライス以下の大きさを有するデータ単位)を満足するデータ単位ごとに、基準符号化単位の大きさ及び形態の識別のためのインデックスを含むビットストリームを生成することができる。符号化部220は、インデックスを利用することにより、前記所定条件を満足するデータ単位ごとに、基準データ単位の大きさ及び形態を決定することができる。一実施形態によって、基準符号化単位の大きさ及び形態を示すインデックスに係わる基準符号化単位の大きさ及び形態のうち少なくとも一つは、あらかじめ決定されている。すなわち、符号化部220は、あらかじめ決定された基準符号化単位の大きさ及び形態のうち少なくとも一つを、インデックスによって選択することにより、インデックス獲得の基準になるデータ単位に含まれる基準符号化単位の大きさ及び形態のうち少なくとも一つを決定することができる。該基準符号化単位の大きさ及び形態を識別するためのインデックスを利用する符号化部220の動作は、前述の復号部130の動作と類似したのでもあるので、詳細な説明は省略する。   According to one embodiment, the encoding unit 220 determines the size and form of the reference coding unit according to the predetermined partial data unit based on a predetermined condition. An index for identifying the form can be used. That is, the bitstream generation unit 230 sets a predetermined condition (for example, a data unit having a size equal to or less than a slice) among the various data units (for example, a sequence, a picture, a slice, a slice segment, a maximum coding unit, and the like). For each satisfied data unit, a bitstream can be generated that includes an index for identifying the size and form of the reference coding unit. The encoding unit 220 can determine the size and form of the reference data unit for each data unit that satisfies the predetermined condition by using the index. According to an embodiment, at least one of the size and form of the reference coding unit related to the index indicating the size and form of the reference coding unit is determined in advance. That is, the encoding unit 220 selects at least one of the predetermined size and form of the reference coding unit by using an index, and thereby includes a reference coding unit included in a data unit serving as a reference for index acquisition. At least one of the size and the form of can be determined. Since the operation of the encoding unit 220 using an index for identifying the size and form of the reference encoding unit is similar to the operation of the decoding unit 130 described above, detailed description thereof is omitted.

図16は、一実施形態によって、ピクチャ1600に含まれる基準符号化単位の決定順序を決定する基準になるプロセッシングブロックを図示する。   FIG. 16 illustrates a processing block serving as a reference for determining a determination order of reference coding units included in the picture 1600 according to an embodiment.

一実施形態によって、符号化部220は、プロセッシングブロックの大きさに係わる情報を獲得し、映像に含まれる少なくとも1つのプロセッシングブロックの大きさを決定することができる。符号化部220は、映像に含まれる少なくとも1つのプロセッシングブロックの大きさを決定することができ、ビットストリーム生成部230は、プロセッシングブロックの大きさに係わる情報を含むビットストリームを生成することができる。かようなプロセッシングブロックの大きさは、プロセッシングブロックの大きさに係わる情報が示すデータ単位の所定サイズでもある。   According to an exemplary embodiment, the encoding unit 220 may obtain information on the size of a processing block and determine the size of at least one processing block included in the video. The encoding unit 220 can determine the size of at least one processing block included in the video, and the bit stream generation unit 230 can generate a bit stream including information related to the size of the processing block. . The size of such a processing block is also a predetermined size of a data unit indicated by information related to the size of the processing block.

一実施形態によって、映像符号化装置200のビットストリーム生成部230は、プロセッシングブロックの大きさに係わる情報を含むビットストリームを、特定のデータ単位ごとに生成することができる。例えば、映像、シーケンス、ピクチャ、スライス、スライスセグメントなどのデータ単位ごとに、プロセッシングブロックの大きさに係わる情報を含むビットストリームを生成することができる。すなわち、ビットストリーム生成部230は、前記多くのデータ単位ごとに、プロセッシングブロックの大きさに係わる情報を含むビットストリームを生成することができ、符号化部220は、前記プロセッシングブロックの大きさに係わる情報を利用してピクチャを分割する少なくとも1つのプロセッシングブロックの大きさを決定することができ、かようなプロセッシングブロックの大きさは、基準符号化単位の整数倍の大きさでもある。   According to an embodiment, the bit stream generation unit 230 of the video encoding device 200 can generate a bit stream including information related to the size of a processing block for each specific data unit. For example, a bit stream including information related to the size of a processing block can be generated for each data unit such as a video, a sequence, a picture, a slice, and a slice segment. That is, the bit stream generation unit 230 can generate a bit stream including information related to the size of the processing block for each of the many data units, and the encoding unit 220 relates to the size of the processing block. Information can be used to determine the size of at least one processing block that divides a picture, and the size of such a processing block is also an integer multiple of a reference coding unit.

一実施形態によって、符号化部220は、ピクチャ1600に含まれるプロセッシングブロック1602,1612の大きさを決定することができる。例えば、符号化部220は、プロセッシングブロックの大きさに係わる情報に基づいて、プロセッシングブロックの大きさを決定することができる。図16を参照すれば、符号化部220は、一実施形態によって、プロセッシングブロック1602,1612の横サイズを、基準符号化単位横サイズの4倍、縦サイズを、基準符号化単位の縦サイズの4倍と決定することができる。符号化部220は、少なくとも1つのプロセッシングブロック内において、少なくとも1つの基準符号化単位が決定される順序を決定することができる。プロセッシングブロックに係わる符号化部220の動作は、図16に係わって説明した復号部130の動作と類似したのでもあるので、詳細な説明は省略する。   According to an embodiment, the encoding unit 220 may determine the size of the processing blocks 1602 and 1612 included in the picture 1600. For example, the encoding unit 220 can determine the size of the processing block based on information related to the size of the processing block. Referring to FIG. 16, the encoding unit 220 may set the horizontal size of the processing blocks 1602 and 1612 to four times the reference coding unit horizontal size, the vertical size, and the vertical size of the reference coding unit according to an exemplary embodiment. It can be determined as 4 times. The encoding unit 220 can determine the order in which at least one reference encoding unit is determined in at least one processing block. Since the operation of the encoding unit 220 related to the processing block is similar to the operation of the decoding unit 130 described with reference to FIG. 16, detailed description thereof is omitted.

一実施形態によって、映像符号化装置200のビットストリーム生成部230は、現在符号化単位の形態を示すブロック形態情報または現在符号化単位を分割する方法を示す分割形態情報を含むビットストリームを生成することができる。該ブロック形態情報または該分割形態情報は、多様なデータ単位に係わるビットストリームに含まれもする。例えば、映像符号化装置200のビットストリーム生成部230は、シーケンスパラメータセット(sequence parameter set)、ピクチャパラメータセット(picture parameter set)、ビデオパラメータセット(video parameter set)、スライスヘッダ(slice header)、スライスセグメントヘッダ(slice segment header)に含まれたブロック形態情報または分割形態情報を利用することができる。さらに、映像符号化装置200のビットストリーム生成部230は、ブロック形態情報または分割形態情報を示すシンタックスを含むビットストリームを、最大符号化単位、基準符号化単位、プロセッシングブロックごとに生成することができる。   According to an embodiment, the bitstream generation unit 230 of the video encoding apparatus 200 generates a bitstream including block form information indicating the form of the current coding unit or division form information indicating a method for dividing the current coding unit. be able to. The block form information or the division form information may be included in a bit stream related to various data units. For example, the bit stream generation unit 230 of the video encoding apparatus 200 includes a sequence parameter set, a picture parameter set, a video parameter set, a slice header, and a slice. Block form information or division form information included in a segment header can be used. Further, the bitstream generation unit 230 of the video encoding device 200 may generate a bitstream including syntax indicating block form information or division form information for each maximum coding unit, reference coding unit, and processing block. it can.

一実施形態によって、符号化部220は、符号化単位が分割される分割形態の種類を所定データ単位ごとに異なるように決定することができる。映像符号化装置200の符号化部220は、一実施形態によって、所定データ単位(例えば、シーケンス、ピクチャ、スライスなど)ごとに符号化単位が分割される形態の組み合わせを、異なるように決定することができる。   According to an exemplary embodiment, the encoding unit 220 may determine the type of division form in which the encoding unit is divided so as to be different for each predetermined data unit. The encoding unit 220 of the video encoding device 200 determines different combinations of forms in which the encoding units are divided for each predetermined data unit (for example, sequence, picture, slice, etc.) according to an embodiment. Can do.

図17は、一実施形態によって、符号化単位が分割される形態の組み合わせが、ピクチャごとに互いに異なる場合、それぞれのピクチャごとに決定される符号化単位を図示する。   FIG. 17 illustrates coding units determined for each picture when combinations of forms in which the coding units are divided are different for each picture according to an embodiment.

図17を参照すれば、符号化部220は、ピクチャごとに符号化単位が分割される分割形態の組み合わせを、異なるように決定することができる。例えば、符号化部220は、映像に含まれる少なくとも1つのピクチャのうち4個の符号化単位にも分割されるピクチャ1700、2個または4個の符号化単位にも分割されるピクチャ1710、及び2個、3個または4個の符号化単位にも分割されるピクチャ1720を利用して、映像を復号することができる。符号化部220は、ピクチャ1700を、4個の正方形の符号化単位に分割することができる。符号化部220は、ピクチャ1710を、2個または4個の符号化単位に分割することができる。符号化部220は、ピクチャ1720を、2個、3個または4個の符号化単位に分割することができる。前述の分割形態の組み合わせは、映像符号化装置200の動作について説明するための実施形態に過ぎないので、前述の分割形態の組み合わせは、前記実施形態に限定して解釈されるものではなく、所定データ単位ごとに多様な形態の分割形態の組み合わせが利用されると解釈されなければならない。   Referring to FIG. 17, the encoding unit 220 can determine different combinations of division forms in which the encoding unit is divided for each picture. For example, the encoding unit 220 may include a picture 1700 that is also divided into four coding units of at least one picture included in the video, a picture 1710 that is also divided into two or four coding units, and A picture can be decoded using a picture 1720 that is also divided into two, three, or four coding units. The encoding unit 220 can divide the picture 1700 into four square encoding units. The encoding unit 220 can divide the picture 1710 into two or four encoding units. The encoding unit 220 can divide the picture 1720 into two, three, or four encoding units. Since the combination of the above-described division forms is merely an embodiment for explaining the operation of the video encoding device 200, the combination of the above-described division forms is not interpreted as being limited to the above-described embodiment, It should be construed that various combinations of division forms are used for each data unit.

一実施形態によって、映像符号化装置200の符号化部220は、分割形態情報の組み合わせを示すインデックスを利用して、所定データ単位ごとに符号化単位が分割される分割形態の組み合わせを決定することができ、それにより、所定データ単位ごとに互いに異なる分割形態の組み合わせを利用することができる。さらには、映像符号化装置200のビットストリーム生成部230は、分割形態情報の組み合わせを示すインデックスを含むビットストリームを、所定データ単位(例えば、シーケンス、ピクチャ、スライスなど)ごとに生成することができる。例えば、ビットストリーム生成部230は、分割形態情報の組み合わせを示すインデックスを含むシーケンスパラメータセット(sequence parameter set)、ピクチャパラメータセット(picture paramete rset)またはスライスヘッダを生成することができる。   According to an embodiment, the encoding unit 220 of the video encoding device 200 determines a combination of division forms in which a coding unit is divided for each predetermined data unit using an index indicating a combination of division form information. Accordingly, combinations of different division forms can be used for each predetermined data unit. Furthermore, the bit stream generation unit 230 of the video encoding device 200 can generate a bit stream including an index indicating a combination of division form information for each predetermined data unit (eg, sequence, picture, slice, etc.). . For example, the bitstream generation unit 230 can generate a sequence parameter set, a picture parameter set, or a slice header including an index indicating a combination of division form information.

図18、図19は、一実施形態によって、バイナリー(binary)コードで表現される分割形態情報に基づいて決定される符号化単位の多様な形態を図示する。   FIG. 18 and FIG. 19 illustrate various forms of coding units determined based on partition form information represented by a binary code according to an embodiment.

一実施形態によって、映像符号化装置200の符号化部220は、符号化単位を、多様な形態に分割することができ、ビットストリーム生成部230を介して、ブロック形態情報及び分割形態情報を含むビットストリームを生成することができる。分割される符号化単位の形態は、前述の実施形態を介して説明した形態を含む多様な形態に該当する。図18を参照すれば、符号化部220は、分割形態情報に基づいて、正方形状の符号化単位を、水平方向及び垂直方向のうち少なくとも1つの方向に分割することができ、非正方形状の符号化単位を、水平方向または垂直方向に分割することができる。映像符号化装置200が利用することができる分割形態情報のバイナリーコードに係わる特徴は、図18及び図19を介して説明した映像復号装置100の特徴に該当するので、詳細な説明は省略する。   According to an embodiment, the encoding unit 220 of the video encoding apparatus 200 may divide the encoding unit into various forms, and includes block form information and division form information through the bitstream generation unit 230. A bitstream can be generated. The form of the coding unit to be divided corresponds to various forms including the form described through the above-described embodiment. Referring to FIG. 18, the encoding unit 220 may divide a square-shaped encoding unit into at least one of a horizontal direction and a vertical direction based on the division form information. The coding unit can be divided horizontally or vertically. Since the characteristics related to the binary code of the division form information that can be used by the video encoding apparatus 200 correspond to the characteristics of the video decoding apparatus 100 described with reference to FIGS. 18 and 19, detailed description thereof will be omitted.

一実施形態による映像符号化装置200は、符号化単位に対するインター予測またはイントラ予測を行って予測データを生成し、現在符号化単位に含まれた変換単位に対して逆変換を行ってレジデュアルデータを生成し、生成された予測データとレジデュアルデータとを利用し、現在符号化単位を符号化することができる。   The video encoding apparatus 200 according to an embodiment generates prediction data by performing inter prediction or intra prediction on a coding unit, and performs inverse transformation on a transform unit included in the current coding unit to perform residual data. The current encoding unit can be encoded using the generated prediction data and residual data.

一実施形態による符号化単位の予測モードは、イントラモード、インターモード及びスキップモードのうち少なくとも一つでもある。一実施形態により、符号化単位ごとに独立して予測が行われ、誤差が最も小さい予測モードが選択される。   The prediction mode of a coding unit according to an embodiment is at least one of an intra mode, an inter mode, and a skip mode. According to an embodiment, prediction is performed independently for each coding unit, and the prediction mode with the smallest error is selected.

一実施形態による2Nx2N形態の符号化単位が分割され、2つの2NxN形態、または2つのNx2N形態の符号化単位に分割された場合、それらそれぞれの符号化単位に対して、インターモード予測及びイントラモード予測が別個にも行われる。また、一実施形態によって、映像符号化装置200の符号化部220は、符号化単位が正方形状である場合だけではなく、非正方形状である場合にも、CUスキップモード(skip mode)を利用して符号化単位を符号化することができる。ブロック形態情報及び分割形態情報のうち少なくとも一つに基づいて決定される正方形状の符号化単位だけではなく、非正方形状の符号化単位の場合にも、CUスキップモードを利用して映像を復号することができることにより、相対的にさらに適応的なスキップモードの利用が可能になることにより、映像の符号化/復号効率が向上する。かような非正方形状の符号化単位において、スキップモードを利用する映像符号化装置200の特徴は、映像符号化装置200のスキップモード利用に係わって説明した特徴と類似したのでもあるので、詳細な説明は省略する。   When a 2Nx2N-type coding unit according to an embodiment is divided and divided into two 2NxN-type or two Nx2N-type coding units, inter-mode prediction and intra mode are performed for each of the coding units. Prediction is also made separately. Also, according to an embodiment, the encoding unit 220 of the video encoding apparatus 200 uses the CU skip mode not only when the encoding unit is a square shape but also when the encoding unit is a non-square shape. Thus, the encoding unit can be encoded. Video is decoded using the CU skip mode not only in the case of a square coding unit determined based on at least one of block form information and division form information but also in a non-square coding unit. This makes it possible to use a relatively more adaptive skip mode, thereby improving video encoding / decoding efficiency. The characteristics of the video encoding apparatus 200 using the skip mode in such a non-square encoding unit are similar to the characteristics described in connection with the use of the skip mode of the video encoding apparatus 200. The detailed explanation is omitted.

図22は、一実施形態によって、所定符号化方法によって決定された符号化単位間の併合(merge)または分割(split)が行われる過程を図示する。   FIG. 22 illustrates a process of merging or splitting between coding units determined by a predetermined coding method according to an embodiment.

一実施形態によって、映像符号化装置200は、前述の所定符号化方法を利用し、ピクチャを分割する符号化単位を決定することができる。例えば、映像符号化装置200は、符号化単位の分割情報に基づいて、現在深度の符号化単位を決定するか、あるいは下位深度の4個の符号化単位に分割することができる。前述のように、映像符号化装置200は、一実施形態によって、現在符号化単位は、常時正方形状を有することを示すブロック形態情報、現在符号化単位は、分割されないことを示すか、あるいは4個の正方形状の符号化単位に分割されることを示すことができる分割形態情報を利用して、符号化単位を決定することができる。図22を参照すれば、前述の所定符号化方法によって決定された正方形の符号化単位によって、ピクチャ2200,2220が分割される。   According to an embodiment, the video encoding apparatus 200 may determine a coding unit for dividing a picture using the predetermined coding method described above. For example, the video encoding apparatus 200 can determine the encoding unit of the current depth based on the division information of the encoding unit, or can divide into four encoding units of the lower depth. As described above, the video encoding apparatus 200 may indicate that the current coding unit always has a square shape, block form information indicating that the current coding unit is not divided, or 4 according to an embodiment. The encoding unit can be determined using the division form information that can indicate that the unit is to be divided into square-shaped encoding units. Referring to FIG. 22, pictures 2200 and 2220 are divided by square encoding units determined by the above-described predetermined encoding method.

ただし、前述の所定復号単位による場合、現在符号化単位が分割されるか否かということは、現在符号化単位内に含まれる相対的に小さいオブジェクト(object)が表現されるのに適するか否かということによって決定されるために、ピクチャ内の大きいオブジェクトと小さいオブジェクトとが1つの符号化単位を介して符号化されることは不可能なことがある。ここで、オブジェクトとは、ピクチャに含まれたサンプルの集合であり、類似のサンプル値を有することにより、他の領域と区分されるサンプルの領域を意味する。図22を参照すれば、映像符号化装置200は、小さいオブジェクト2221を復元するために、第1符号化単位2222を4個の下位深度の符号化単位に分割することにより、小さいオブジェクト2221の復号のための符号化単位を決定することができる。しかし、大きいオブジェクト2223が、現在符号化単位2222に含まれないので、大きいオブジェクト2223が、現在符号化単位2222を利用して復号されるには適さず、さらには、小さいオブジェクト2221を復号するために、現在符号化単位2222が分割されたために、結局、大きいオブジェクト2223の復号のために、不要な符号化単位の分割過程が遂行されなければならないので、非効率的である。すなわち、映像符号化装置200、が大きいオブジェクト2223に対する部分を符号化するために、1つの符号化単位を利用することができるならば、映像符号化を効率的に遂行することができる。   However, in the case of the above-described predetermined decoding unit, whether or not the current coding unit is divided is suitable for expressing a relatively small object (object) included in the current coding unit. Because of this, it may not be possible for large and small objects in a picture to be encoded through one encoding unit. Here, an object is a set of samples included in a picture, and means a sample area that is distinguished from other areas by having similar sample values. Referring to FIG. 22, the video encoding apparatus 200 divides the first encoding unit 2222 into four sub-depth encoding units to restore the small object 2221, thereby decoding the small object 2221. The coding unit for can be determined. However, since the large object 2223 is not included in the current encoding unit 2222, the large object 2223 is not suitable for decoding using the current encoding unit 2222, and furthermore, because the small object 2221 is decoded. In addition, since the current coding unit 2222 is divided, an unnecessary coding unit division process must be performed in order to decode the large object 2223, which is inefficient. That is, if the video encoding apparatus 200 can use one encoding unit to encode the portion for the large object 2223, the video encoding can be performed efficiently.

一実施形態によって、映像符号化装置200の符号化部220は、ブロック形態情報及び分割形態情報のうち少なくとも一つを利用して、現在符号化単位を分割することができ、該ブロック形態情報は、正方形状のみを利用するとあらかじめ決定され、該分割形態情報は、分割しないか、あるいは4個の正方形状の符号化単位に分割されることを示すことができるとあらかじめ決定される。それは、多様な実施形態を介して説明した所定符号化方法で利用される符号化単位決定過程に該当する。その場合、符号化部220は、前記所定符号化方法を利用して決定された符号化単位を互いに併合(merge)するか、あるいは決定された符号化単位を分割(split)するために、ピクチャに含まれるサンプル値を利用することができる。例えば、符号化部220は、類似のサンプル値を有する部分を検討し、ピクチャに含まれる多様なオブジェクトを検出することができ、かように検出されたオブジェクトに係わる部分に基づいて、符号化単位の併合/分割過程を遂行することができる。   According to an embodiment, the encoding unit 220 of the video encoding apparatus 200 may divide a current coding unit using at least one of block form information and division form information, and the block form information is It is determined in advance that only the square shape is used, and it is determined in advance that the division form information can indicate that it is not divided or is divided into four square-shaped coding units. This corresponds to a coding unit determination process used in the predetermined coding method described through various embodiments. In this case, the encoding unit 220 merges the coding units determined using the predetermined encoding method, or splits the determined coding unit into pictures. The sample values included in can be used. For example, the encoding unit 220 can examine portions having similar sample values and detect various objects included in the picture. Based on the portions related to the detected objects, the encoding unit 220 can detect a variety of objects. The merge / split process can be performed.

図22を参照すれば、一実施形態によって、符号化部220は、前述の所定符号化方法を利用して、ピクチャ2200を分割する複数個の符号化単位を決定することができる。ただし、該ピクチャに含まれた類似のサンプル値を有する部分2201が存在するにもかかわらず、類似領域を、1つの符号化単位ではない複数個の符号化単位に分割する過程が遂行される場合があり得る。その場合、符号化部220は、所定符号化方法を介して符号化単位が決定されても、かような符号化単位を、1つの符号化単位2202に併合し、1つの符号化単位として符号化することができる。図22を参照すれば、他の実施形態として、符号化部220は、前述の所定符号化方法を利用し、小さいオブジェクト2221の符号化のための符号化単位2222を、4個の符号化単位に分割することができる。かように分割された符号化単位の場合、検出された大きいオブジェクト2223がいずれも含まれないので、符号化部220は、類似のサンプル値を有する部分を含む1つの符号化単位に符号化単位を併合(2225)することができる。   Referring to FIG. 22, according to an embodiment, the encoding unit 220 may determine a plurality of encoding units for dividing the picture 2200 using the predetermined encoding method described above. However, in the case where the process of dividing the similar region into a plurality of coding units that are not one coding unit is performed in spite of the presence of a portion 2201 having a similar sample value included in the picture. There can be. In this case, the encoding unit 220 merges such an encoding unit into one encoding unit 2202 and encodes it as one encoding unit even if the encoding unit is determined through a predetermined encoding method. Can be Referring to FIG. 22, as another embodiment, the encoding unit 220 uses the predetermined encoding method described above to change the encoding unit 2222 for encoding the small object 2221 into four encoding units. Can be divided into In the case of the coding unit thus divided, since none of the detected large objects 2223 is included, the coding unit 220 performs coding unit into one coding unit including a part having a similar sample value. Can be merged (2225).

一実施形態によって、符号化部220は、符号化単位の分割情報を利用して、符号化単位を分割しないか、あるいは4個の符号化単位に分割する所定符号化方法を利用して、符号化単位を決定した後、ピクチャに含まれるサンプルのサンプル値を考慮し、符号化単位をさらに分割することができる。すなわち、符号化部130は、オブジェクト別に符号化単位を決定するために、符号化単位間の併合だけではなく、すでに決定された符号化単位を分割することができる。図22を参照すれば、符号化部130は、オブジェクト2223のために、符号化単位を併合することができ、オブジェクト2223のために最適化された符号化単位を決定するために、オブジェクト2223のために併合された符号化単位をさらに分割(2226)することができる。すなわち、符号化部220は、分割(2226)過程を介して、オブジェクト2223が含まれない部分を、オブジェクト2223とは別個の符号化単位(2227)として決定することができる。   According to one embodiment, the encoding unit 220 uses the encoding unit division information and does not divide the encoding unit or uses a predetermined encoding method that divides the encoding unit into four encoding units. After determining the encoding unit, the encoding unit can be further divided in consideration of the sample value of the sample included in the picture. That is, the encoding unit 130 can divide the already determined encoding unit as well as the merge between the encoding units in order to determine the encoding unit for each object. Referring to FIG. 22, the encoding unit 130 may merge the encoding units for the object 2223, and determine the encoding unit optimized for the object 2223. Therefore, the merged coding unit can be further divided (2226). That is, the encoding unit 220 can determine a part not including the object 2223 as an encoding unit (2227) separate from the object 2223 through the division (2226) process.

前述の映像符号化装置200の動作を介して、所定符号化方法によって決定された符号化単位間の併合(merge)または分割(split)を行った後、映像に係わるビットストリームを生成した場合、映像復号装置100としては、かようなビットストリームを獲得した後、前述の映像符号化方法の逆順の動作に該当する映像復号方法を遂行することにより、映像を復号することができる。   When a bitstream related to a video is generated after merging or splitting between coding units determined by a predetermined coding method through the operation of the video coding device 200 described above, The video decoding apparatus 100 can decode the video by acquiring such a bitstream and performing a video decoding method corresponding to the reverse operation of the video encoding method described above.

図23は、一実施形態による符号化単位のZスキャン順序によるインデックスを図示する。   FIG. 23 illustrates an index according to a Z-scan order of coding units according to one embodiment.

一実施形態による映像符号化装置200の符号化部220は、上位データ単位に含まれた下位データ単位を、Zスキャン順序によってスキャンすることができる。また、一実施形態による映像符号化装置200は、最大符号化単位内、またはプロセッシングブロックに含まれる符号化単位内のZスキャンインデックスによって、データに順次にアクセスすることができる。一実施形態による映像符号化装置200の符号化部220が、基準符号化単位を少なくとも1つの符号化単位に分割することができることは、図3及び図4を参照して説明した通りである。このとき、該基準符号化単位内には、正方形状の符号化単位と、非正方形状の符号化単位とが混在することができる。映像符号化装置200が、符号化単位のZスキャン順序によるインデックスに係わる特徴は、図23を介して説明した映像復号装置100の特徴と類似した特徴でもあるので、詳細な説明は省略する。   The encoding unit 220 of the video encoding apparatus 200 according to an embodiment may scan the lower data unit included in the upper data unit according to the Z scan order. In addition, the video encoding apparatus 200 according to an embodiment can sequentially access data using a Z scan index within a maximum encoding unit or within an encoding unit included in a processing block. As described with reference to FIGS. 3 and 4, the encoding unit 220 of the video encoding apparatus 200 according to an embodiment may divide the reference encoding unit into at least one encoding unit. At this time, a square-shaped coding unit and a non-square-shaped coding unit can be mixed in the reference coding unit. Since the feature related to the index by the Z scan order of the coding unit in the video encoding device 200 is also a feature similar to the feature of the video decoding device 100 described with reference to FIG. 23, detailed description thereof is omitted.

以上、多様な実施形態を中心に説明した。本発明が属する技術分野で当業者であるならば、本発明が、本発明の本質的な特性から外れない範囲で変形された形態に具現されるということを理解することができるであろう。従って、開示された実施形態は、限定的な観点ではなく、説明的な観点から考慮されなければならない。本発明の範囲は、前述の説明ではなく、特許請求の範囲に示されており、それと同等な範囲内にあすべての差異は、本発明に含まれたものであると解釈されなければならないのである。   As described above, various embodiments have been mainly described. Those skilled in the art to which the present invention pertains will understand that the present invention may be embodied in variations that do not depart from the essential characteristics of the invention. Accordingly, the disclosed embodiments should be considered from an illustrative rather than a limiting viewpoint. The scope of the present invention is shown not by the foregoing description but by the claims, and all differences within the equivalent scope should be construed as being included in the present invention. is there.

なお、前述の本発明の実施形態は、コンピュータで実行されるプログラムに作成可能であり、コンピュータで読み取り可能な記録媒体を利用して、前記プログラムを動作させる汎用デジタルコンピュータで具現される。前記コンピュータで読み取り可能な記録媒体は、マグネチック記録媒体(例えば、ROM(read−only memory)、フロッピーディスク、ハードディスクなど)、光学的判読媒体(例えば、CD−ROM(compact disc read only memory)、DVD(digital versatile disc)など)のような記録媒体を含む。   The embodiment of the present invention described above can be created in a program executed by a computer, and is embodied by a general-purpose digital computer that operates the program using a computer-readable recording medium. The computer-readable recording medium includes a magnetic recording medium (for example, ROM (read-only memory), floppy disk, hard disk, etc.), an optical reading medium (for example, CD-ROM (compact disk read only memory), A recording medium such as a DVD (digital versatile disc).

Claims (15)

ビデオ復号方法において、
ビデオピクチャから、イントラ予測のためのデータ単位を決定する段階と、
ビットストリームから、前記データ単位を、所定予測情報を利用して予測する第1イントラ予測類型によって予測するか、あるいは前記データ単位に隣接するデータ単位を利用して予測する第2イントラ予測類型によって予測するかということを示すイントラ予測類型情報を獲得する段階と、
前記ビットストリームから獲得された前記イントラ予測類型情報に基づいて、前記第1イントラ予測類型によって予測される第1データ単位、及び前記第2イントラ予測類型によって予測される第2データ単位を決定する段階と、
前記所定予測情報を利用し、前記第1イントラ予測類型による前記第1データ単位に係わる第1予測値を生成する段階と、
前記データ単位に隣接するデータ単位を利用し、前記第2イントラ予測類型による前記第2データ単位に係わる第2予測値を生成する段階と、を含む前記ビデオ復号方法。
In the video decoding method,
Determining a data unit for intra prediction from a video picture;
From the bitstream, the data unit is predicted by a first intra prediction type that is predicted using predetermined prediction information, or is predicted by a second intra prediction type that is predicted using a data unit adjacent to the data unit. Obtaining intra-prediction type information that indicates whether to do,
Determining a first data unit predicted by the first intra prediction type and a second data unit predicted by the second intra prediction type based on the intra prediction type information acquired from the bitstream; When,
Using the predetermined prediction information to generate a first prediction value related to the first data unit according to the first intra prediction type;
Using the data unit adjacent to the data unit to generate a second predicted value related to the second data unit according to the second intra prediction type.
前記所定予測情報は、SPS(sequence parameter set)、PPS(picture paramete rset)またはスライスヘッダのうち少なくとも一つに含まれたことを特徴とする請求項1に記載の前記ビデオ復号方法。   The video decoding method according to claim 1, wherein the predetermined prediction information is included in at least one of a sequence parameter set (SPS), a picture parameter reset (PPS), and a slice header. 前記所定予測情報は、前記第1イントラ予測類型によって予測される前記第1データ単位が含まれた上位階層のデータ単位に隣接するサンプル値を含むことを特徴とする請求項1に記載の前記ビデオ復号方法。   The video according to claim 1, wherein the predetermined prediction information includes a sample value adjacent to a data unit of an upper layer including the first data unit predicted by the first intra prediction type. Decryption method. 前記第2イントラ予測類型による第2データ単位に係わる第2予測値を生成する段階は、前記第2イントラ予測類型による前記第2データ単位に隣接する左側データ単位または上端データ単位のうち少なくとも一つを利用して、予測値を生成する段階をさらに含むことを特徴とする請求項1に記載の前記ビデオ復号方法。   The step of generating a second prediction value related to a second data unit according to the second intra prediction type includes at least one of a left data unit or an upper data unit adjacent to the second data unit according to the second intra prediction type. The method of claim 1, further comprising: generating a prediction value by using. 前記第2イントラ予測類型による第2データ単位に係わる第2予測値を生成する段階は、前記第2イントラ予測類型による前記第2データ単位に隣接する右側データ単位または下端データ単位のうち少なくとも一つを利用して、予測値を生成する段階をさらに含むことを特徴とする請求項1に記載の前記ビデオ復号方法。   The step of generating the second predicted value related to the second data unit according to the second intra prediction type may include at least one of a right data unit or a lower end data unit adjacent to the second data unit according to the second intra prediction type. The method of claim 1, further comprising: generating a prediction value by using. 前記第2イントラ予測類型によって予測される前記第2データ単位の前記第2予測値をフィルタリングする段階を含むことを特徴とする請求項1に記載の前記ビデオ復号方法。   The method of claim 1, further comprising filtering the second predicted value of the second data unit predicted by the second intra prediction type. 前記データ単位は、コーディングユニット(CU)、予測ユニット(PU)または変換ユニット(TU)のうち一つであることを特徴とする請求項1に記載の前記ビデオ復号方法。   The method of claim 1, wherein the data unit is one of a coding unit (CU), a prediction unit (PU), and a transform unit (TU). ビデオ符号化方法において、
所定予測情報を利用して予測する第1イントラ予測類型による第1データ単位、及び第2データ単位に隣接するデータ単位を利用して予測する第2イントラ予測類型による前記第2データ単位を決定する段階と、
前記所定予測情報を利用し、前記第1イントラ予測類型による前記第1データ単位に係わる第1予測値を生成する段階と、
前記第2データ単位に隣接するデータ単位を利用し、前記第2イントラ予測類型による前記第2データ単位に係わる第2予測値を生成する段階と、
前記第1予測値または前記第2予測値のうち少なくとも一つに基づいて決定される符号化情報を含むビットストリームを生成してビデオピクチャを符号化する段階と、を含み、
前記ビットストリームは、前記所定予測情報を含む前記ビデオ符号化方法。
In the video encoding method,
A first data unit based on a first intra prediction type predicted using predetermined prediction information and a second data unit based on a second intra prediction type predicted using a data unit adjacent to the second data unit are determined. Stages,
Using the predetermined prediction information to generate a first prediction value related to the first data unit according to the first intra prediction type;
Using a data unit adjacent to the second data unit to generate a second predicted value related to the second data unit according to the second intra prediction type;
Generating a bitstream including encoding information determined based on at least one of the first prediction value or the second prediction value, and encoding a video picture,
The video encoding method, wherein the bitstream includes the predetermined prediction information.
前記所定予測情報は、SPS(sequence parameter set)、PPS(picture paramete rset)またはスライスヘッダのうち少なくとも一つに含まれることを特徴とする請求項8に記載の前記ビデオ符号化方法。   The video encoding method of claim 8, wherein the predetermined prediction information is included in at least one of a sequence parameter set (SPS), a picture parameter reset (PPS), or a slice header. 前記所定予測情報は、前記第1イントラ予測類型によって予測される前記第1データ単位が含まれた上位階層のデータ単位に隣接するサンプル値を含むことを特徴とする請求項8に記載の前記ビデオ符号化方法。   9. The video according to claim 8, wherein the predetermined prediction information includes a sample value adjacent to a data unit of an upper layer including the first data unit predicted by the first intra prediction type. Encoding method. 前記第2イントラ予測類型による第2データ単位に係わる第2予測値を生成する段階は、前記第2イントラ予測類型による前記第2データ単位に隣接する左側データ単位または上端データ単位のうち少なくとも一つを利用して、予測値を生成する段階をさらに含むことを特徴とする請求項8に記載の前記ビデオ符号化方法。   The step of generating a second prediction value related to a second data unit according to the second intra prediction type includes at least one of a left data unit or an upper data unit adjacent to the second data unit according to the second intra prediction type. The method of claim 8, further comprising: generating a prediction value by using. 前記第2イントラ予測類型によるデータ単位に係わる第2予測値を生成する段階は、前記第2イントラ予測類型による前記第2データ単位に隣接する右側データ単位または下端データ単位のうち少なくとも一つを利用して、予測値を生成する段階をさらに含むことを特徴とする請求項8に記載の前記ビデオ符号化方法。   The step of generating the second prediction value related to the data unit according to the second intra prediction type uses at least one of the right data unit or the lower end data unit adjacent to the second data unit according to the second intra prediction type. The method of claim 8, further comprising generating a prediction value. 前記第2イントラ予測類型によって予測される前記第2データ単位の前記第2予測値をフィルタリングする段階を含むことを特徴とする請求項8に記載の前記ビデオ符号化方法。   The method of claim 8, further comprising filtering the second prediction value of the second data unit predicted by the second intra prediction type. 前記データ単位は、コーディングユニッ(CU)ト、予測ユニット(PU)または変換ユニット(TU)のうち一つであることを特徴とする請求項8に記載の前記ビデオ符号化方法。   The method of claim 8, wherein the data unit is one of a coding unit (CU), a prediction unit (PU), or a transform unit (TU). ビデオ復号装置において、
ビデオピクチャから、イントラ予測のためのデータ単位を決定するデータ単位決定部と、
ビットストリームから、前記データ単位を、所定予測情報を利用して予測する第1イントラ予測類型によって予測するか、あるいは前記データ単位に隣接するデータ単位を利用して予測する第2イントラ予測類型によって予測するかということを示すイントラ予測類型情報を獲得するビットストリーム獲得部と、
前記ビットストリームから獲得された前記イントラ予測類型情報に基づいて、前記第1イントラ予測類型によって予測される第1データ単位、及び前記第2イントラ予測類型によって予測される第2データ単位を決定し、前記所定予測情報を利用し、前記第1イントラ予測類型による前記第1データ単位に係わる第1予測値を生成し、前記データ単位に隣接するデータ単位を利用し、前記第2イントラ予測類型による前記第2データ単位に係わる第2予測値を生成する復号部と、を含む前記ビデオ復号装置。
In a video decoding device,
A data unit determining unit for determining a data unit for intra prediction from a video picture;
From the bitstream, the data unit is predicted by a first intra prediction type that is predicted using predetermined prediction information, or is predicted by a second intra prediction type that is predicted using a data unit adjacent to the data unit. A bitstream acquisition unit that acquires intra prediction type information indicating whether to perform,
Determining a first data unit predicted by the first intra prediction type and a second data unit predicted by the second intra prediction type based on the intra prediction type information acquired from the bitstream; Using the predetermined prediction information, generating a first prediction value related to the first data unit according to the first intra prediction type, using a data unit adjacent to the data unit, and according to the second intra prediction type A decoding unit that generates a second prediction value related to a second data unit.
JP2018525574A 2015-11-24 2016-11-23 Method and apparatus for encoding / decoding video Pending JP2018535607A (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US201562259174P 2015-11-24 2015-11-24
US62/259,174 2015-11-24
PCT/KR2016/013529 WO2017090968A1 (en) 2015-11-24 2016-11-23 Method for encoding/decoding image and device therefor

Publications (1)

Publication Number Publication Date
JP2018535607A true JP2018535607A (en) 2018-11-29

Family

ID=58764392

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018525574A Pending JP2018535607A (en) 2015-11-24 2016-11-23 Method and apparatus for encoding / decoding video

Country Status (6)

Country Link
US (1) US20180324441A1 (en)
EP (1) EP3355579A4 (en)
JP (1) JP2018535607A (en)
KR (1) KR20180075557A (en)
CN (1) CN108293115A (en)
WO (1) WO2017090968A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ES2800551B2 (en) * 2016-06-24 2023-02-09 Kt Corp Method and apparatus for processing a video signal
KR20190029732A (en) * 2016-08-08 2019-03-20 엘지전자 주식회사 Intra prediction mode based image processing method and apparatus therefor
EP3557870A4 (en) * 2016-12-16 2020-05-13 Sharp Kabushiki Kaisha Image decoding device and image coding device
US11284076B2 (en) * 2017-03-22 2022-03-22 Electronics And Telecommunications Research Institute Block form-based prediction method and device
US10863175B2 (en) * 2018-03-01 2020-12-08 Panasonic Intellectual Property Corporation Of America Encoder, and decoder, encoding method, decoding method
MX2020012178A (en) * 2018-05-22 2022-05-03 Panasonic Ip Corp America Coding device, decoding device, coding method, decoding method, and picture compression program.
WO2020167097A1 (en) * 2019-02-15 2020-08-20 엘지전자 주식회사 Derivation of inter-prediction type for inter prediction in image coding system
WO2020256483A1 (en) * 2019-06-21 2020-12-24 삼성전자 주식회사 Video encoding method and device, and video decoding method and device

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100878811B1 (en) * 2005-05-26 2009-01-14 엘지전자 주식회사 Method of decoding for a video signal and apparatus thereof
KR20110073263A (en) * 2009-12-21 2011-06-29 한국전자통신연구원 Method and apparatus for encoding and decoding for intra prediction
KR101484281B1 (en) * 2010-07-09 2015-01-21 삼성전자주식회사 Method and apparatus for video encoding using block merging, method and apparatus for video decoding using block merging
US9215470B2 (en) * 2010-07-09 2015-12-15 Qualcomm Incorporated Signaling selected directional transform for video coding
RS57809B1 (en) * 2010-07-09 2018-12-31 Samsung Electronics Co Ltd Method for decoding video by using block merging
MX349418B (en) * 2010-08-17 2017-07-28 Samsung Electronics Co Ltd Video encoding method and apparatus using transformation unit of variable tree structure, and video decoding method and apparatus.
AU2011308204A1 (en) * 2010-09-28 2013-04-11 Samsung Electronics Co., Ltd. Video encoding method and device and decoding method and device
US9699457B2 (en) * 2011-10-11 2017-07-04 Qualcomm Incorporated Most probable transform for intra prediction coding
US20130107949A1 (en) * 2011-10-26 2013-05-02 Intellectual Discovery Co., Ltd. Scalable video coding method and apparatus using intra prediction mode
JP6231560B2 (en) * 2012-06-19 2017-11-15 エルジー エレクトロニクス インコーポレイティド Video signal processing method and video signal processing apparatus
US9503715B2 (en) * 2013-08-30 2016-11-22 Qualcomm Incorporated Constrained intra prediction in video coding

Also Published As

Publication number Publication date
US20180324441A1 (en) 2018-11-08
WO2017090968A1 (en) 2017-06-01
CN108293115A (en) 2018-07-17
EP3355579A1 (en) 2018-08-01
KR20180075557A (en) 2018-07-04
EP3355579A4 (en) 2018-08-01

Similar Documents

Publication Publication Date Title
KR102575635B1 (en) image encoding method and apparatus, and image decoding method and apparatus
JP2018535607A (en) Method and apparatus for encoding / decoding video
CN110870306B (en) Apparatus and method for encoding and decoding motion vector
JP7445042B2 (en) Method and device for encoding/decoding video
KR102366765B1 (en) Video encoding method and apparatus, video decoding method and apparatus
KR20180135075A (en) Chroma intra prediction method and apparatus therefor
KR20180075556A (en) Image coding method and apparatus, image decoding method and apparatus
KR102218647B1 (en) Apparatus and method for encoding an image based on motion vector resolution, and apparatus and method for decoding
CN114697680A (en) Apparatus and method for encoding motion information, and decoding apparatus and method
KR20210030890A (en) Image decoding apparatus and method using tool set, and image encoding apparatus and method
KR102574479B1 (en) Apparatus and method for encoding motion vector using default motion vector, and apparatus and method for decoding motion vector
EP3306926A1 (en) Method and apparatus for encoding/decoding image