KR102138197B1 - Transform skip signaling method and apparatus for video coding - Google Patents

Transform skip signaling method and apparatus for video coding Download PDF

Info

Publication number
KR102138197B1
KR102138197B1 KR1020140175076A KR20140175076A KR102138197B1 KR 102138197 B1 KR102138197 B1 KR 102138197B1 KR 1020140175076 A KR1020140175076 A KR 1020140175076A KR 20140175076 A KR20140175076 A KR 20140175076A KR 102138197 B1 KR102138197 B1 KR 102138197B1
Authority
KR
South Korea
Prior art keywords
transform
flag
block
unit
skip
Prior art date
Application number
KR1020140175076A
Other languages
Korean (ko)
Other versions
KR20160040977A (en
Inventor
전병우
심혁재
양승하
이다희
Original Assignee
성균관대학교산학협력단
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 성균관대학교산학협력단 filed Critical 성균관대학교산학협력단
Priority to KR1020140175076A priority Critical patent/KR102138197B1/en
Publication of KR20160040977A publication Critical patent/KR20160040977A/en
Application granted granted Critical
Publication of KR102138197B1 publication Critical patent/KR102138197B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • 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/13Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
    • 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/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/186Methods 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 a colour or a chrominance component
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding

Abstract

본 발명에 따른 영상의 복호화 방법은 현재 코딩 유닛의 크기가 변환 생략이 가능한 변환 블록을 포함할 수 있는 경우, 상기 코딩 유닛으로부터 분할되는 변환 블록의 변환 생략 여부를 지시하는 제1 정보를 대표하는 대표 플래그를 상기 코딩 유닛에 대한 정보로 파싱하는 단계와, 상기 대표 플래그에 기초하여 상기 제1 정보의 파싱 여부를 판단하는 단계와, 상기 제1 정보의 파싱이 필요 없는 경우 상기 대표 플래그에 기초하여 상기 제1 정보를 유추하고, 상기 제1 정보의 파싱이 필요한 경우 상기 제1 정보를 파싱하는 단계와, 상기 제1 정보에 따라 상기 변환 블록에 대한 변환을 수행 또는 생략하는 단계를 포함한다.In the method of decoding an image according to the present invention, when the size of the current coding unit may include a transform block capable of omitting transform, a representative representing first information indicating whether to skip transform of a transform block split from the coding unit Parsing a flag into information for the coding unit; determining whether to parse the first information based on the representative flag; and, if parsing of the first information is not required, based on the representative flag. Inferring first information, and parsing the first information when parsing of the first information is required, and performing or omitting conversion of the transform block according to the first information.

Figure R1020140175076
Figure R1020140175076

Description

영상 압축을 위한 변환생략 여부를 지시하는 방법 및 장치{TRANSFORM SKIP SIGNALING METHOD AND APPARATUS FOR VIDEO CODING}Method and apparatus for indicating whether to omit conversion for image compression{TRANSFORM SKIP SIGNALING METHOD AND APPARATUS FOR VIDEO CODING}

본 발명은 영상의 부호화 및 복호화 처리에 관한 것으로서, 보다 상세하게는 변환 생략 여부를 지시하는 영상 부/복호화 방법 및 장치에 관한 것이다. The present invention relates to a video encoding and decoding process, and more particularly, to a video encoding/decoding method and apparatus for indicating whether or not to skip conversion.

최근 HD(High Definition) 해상도를 가지는 방송 서비스가 국내뿐만 아니라 세계적으로 확대되면서, 많은 사용자들이 고해상도, 고화질의 영상에 익숙해지고 있으며 이에 따라 많은 기관들이 차세대 영상기기에 대한 개발에 박차를 가하고 있다. 또한 HDTV와 더불어 HDTV의 4배 이상의 해상도를 갖는 UHD(Ultra High Definition)에 대한 관심이 증대되면서 보다 높은 해상도, 고화질의 영상에 대한 압축기술이 요구되고 있다.Recently, as broadcast services having high definition (HD) resolution have been expanded not only in Korea but also globally, many users are accustomed to high-resolution and high-definition video, and accordingly, many organizations are accelerating the development of next-generation video devices. In addition, with the increasing interest in UHD (Ultra High Definition), which has a resolution of 4 times higher than that of HDTV, there is a need for a compression technology for higher resolution and higher quality images.

영상 압축을 위해, 시간적으로 이전 및/또는 이후의 픽쳐로부터 현재 픽쳐에 포함된 화소값을 예측하는 인터(inter, 화면 내) 예측 기술, 현재 픽쳐 내의 화소 정보를 이용하여 현재 픽쳐에 포함된 화소값을 예측하는 인트라(intra, 화면 간) 예측 기술, 출현 빈도가 높은 심볼(symbol)에 짧은 부호를 할당하고 출현 빈도가 낮은 심볼에 긴 부호를 할당하는 엔트로피 부호화 기술 등이 사용될 수 있다.For image compression, an inter prediction technique that predicts a pixel value included in a current picture from temporally previous and/or subsequent pictures, and a pixel value included in the current picture using pixel information in the current picture An intra prediction technique for predicting, an entropy encoding technique for assigning a short code to a symbol with a high frequency of appearance and a long code to a symbol with a low frequency of frequency may be used.

한편, 영상의 부호화 또는 복호화 시, 구체적으로 영상 신호 또는 영상에 대한 잔차 신호의 부호화 또는 복호화 시 변환 과정을 생략하는 변환 생략 모드가 적용될 수 있다. 현재, 변환 생략 모드는 0이 아닌 계수가 존재하는 (즉, CBF(coded block flag) 가 1인) 4x4 크기의 변환 블록(transform block, TB) 에 적용될 수 있다. 또한, 변환 생략 모드가 적용되는지를 나타내는 플래그 (transform_skip_flag) 정보는 변환 블록마다 시그널링 되고 있다.On the other hand, when encoding or decoding an image, specifically, when encoding or decoding an image signal or a residual signal for an image, a transform omission mode that omits a conversion process may be applied. Currently, the transform omission mode may be applied to a transform block (TB) having a size of 4x4 having a non-zero coefficient (ie, a coded block flag (CBF) of 1). In addition, flag (transform_skip_flag) information indicating whether a transform omission mode is applied is signaled for each transform block.

본 발명은 변환 생략을 시그널링하기 위한 비트량을 감소시키고, 영상 부호화 효율을 증가시키는 영상 부호화/복호화 방법 및 이를 이용하는 장치를 제공한다. The present invention provides an image encoding/decoding method and an apparatus using the same, which reduces the amount of bits for signaling conversion omission and increases the image encoding efficiency.

본 발명은 화면 내에서 반복적으로 유사한 패턴이 발생하며, 고주파를 다량 포함하는 잔차 신호가 빈번히 발생하는 경우, 소정의 단위 내의 변환 블록들은 공통적으로 변환 생략 모드가 적용되거나 적용되지 않을 가능성이 존재하므로, 이 경우 이들의 변환 생략 여부를 대표하는 플래그를 시그널링함으로써 부호화 효율을 증가 시킬 수 있는 영상 부호화/복호화 방법 및 이를 이용하는 장치를 제공한다. In the present invention, since a similar pattern occurs repeatedly within a screen, and when a residual signal containing a large amount of high frequency frequently occurs, there is a possibility that transform blocks in a predetermined unit may or may not have a transform skip mode in common. In this case, an image encoding/decoding method and an apparatus using the same are provided, which can increase encoding efficiency by signaling a flag representing whether or not to skip these transformations.

본 발명의 일 실시예에 따른 영상의 복호화 방법은 현재 코딩 유닛의 크기가 변환 생략이 가능한 변환 블록을 포함할 수 있는 경우, 상기 코딩 유닛으로부터 분할되는 변환 블록의 변환 생략 여부를 지시하는 제1 정보를 대표하는 대표 플래그를 상기 코딩 유닛에 대한 정보로 파싱하는 단계와, 상기 대표 플래그에 기초하여 상기 제1 정보의 파싱 여부를 판단하는 단계와, 상기 제1 정보의 파싱이 필요 없는 경우 상기 대표 플래그에 기초하여 상기 제1 정보를 유추하고, 상기 제1 정보의 파싱이 필요한 경우 상기 제1 정보를 파싱하는 단계와, 상기 제1 정보에 따라 상기 변환 블록에 대한 변환을 수행 또는 생략하는 단계를 포함한다. In the decoding method of an image according to an embodiment of the present invention, when the size of the current coding unit may include a transform block capable of omitting transform, first information indicating whether to skip transform of the transform block split from the coding unit Parsing a representative flag representing the information with respect to the coding unit, determining whether to parse the first information based on the representative flag, and when the first information is not required to be parsed, the representative flag Inferring the first information based on the first step, and parsing the first information when parsing the first information is necessary, and performing or omitting conversion of the transform block according to the first information. do.

상기 대표 플래그는 변환 블록에 변환 생략이 적용되지 않는 것을 대표할 수 있다. The representative flag may represent that transform omission is not applied to the transform block.

상기 대표 플래그가 1이면 상기 제1 정보는 변환 블록에 변환 생략이 적용되지 않는 것으로 유추되며, 상기 대표 플래그가 0이면 상기 제1 정보는 파싱을 통해 판별하고 상기 판별된 제1 정보에 따라 변환 블록에 변환 생략의 적용여부를 결정할 수 있다. 추가의 더욱 간단한 다른 실현예에서는 상기 대표 플래그가 0이면 상기 제 1정보의 파싱을 하지 않고 상기 제1 정보를 변환 블록에 변환 생략이 적용되는 것으로 결정할 수 있다If the representative flag is 1, the first information is inferred that conversion omission is not applied to the transform block, and if the representative flag is 0, the first information is determined through parsing and the transform block according to the determined first information You can decide whether or not to apply the conversion omission. In another simpler implementation, if the representative flag is 0, it may be determined that conversion omission is applied to the conversion block of the first information without parsing the first information.

본 발명의 다른 실시예에 따른 영상의 부호화 방법은 코딩의 대상이 되는 코딩 유닛으로부터 분할되는 변환 블록에 변환 생략이 적용되는지 판단하는 단계와, 상기 변환 블록에 변환 생략 여부를 지시하는 제1 정보를 대표하는 대표 플래그를 코딩하고, 상기 대표 플래그를 상기 코딩 유닛에 대한 정보로 시그널링하는 단계와, 상기 대표 플래그에 기초하여 상기 제1 정보의 코딩이 필요한 경우, 상기 제1 정보를 코딩하는 단계를 포함한다. The encoding method of an image according to another embodiment of the present invention includes determining whether transformation omission is applied to a transformation block divided from a coding unit to be coded, and first information indicating whether to omit transformation to the transformation block. Coding a representative representative flag, signaling the representative flag with information about the coding unit, and coding the first information when coding of the first information is required based on the representative flag do.

상기 대표 플래그는 변환 블록에 변환 생략이 적용되지 않는 것을 대표할 수 있다. The representative flag may represent that transform omission is not applied to the transform block.

상기 코딩 유닛으로부터 분할되는 변환 블록에 변환 생략이 적용되지 않는 경우 상기 대표 플래그는 1로 코딩되며, 상기 코딩 유닛으로부터 분할되는 변환 블록에 변환 생략이 적용되는 경우 상기 대표 플래그는 0으로 코딩될 수 있다. 이 경우, 변환 블록별로 변환 생략이 적용되는 경우와 적용되지 않는 경우를 지시하는 제 1 정보를 추가로 코딩할 수 있다. If transform omission is not applied to a transform block divided from the coding unit, the representative flag is coded as 1, and when transform omission is applied to a transform block split from the coding unit, the representative flag can be coded as 0. . In this case, first information indicating a case where transformation omission is applied and a case where transformation omission is applied for each transformation block may be additionally coded.

본 발명의 일 실시예에 따르면, 변환 생략을 시그널링하기 위한 비트량을 감소시키고, 영상 부호화 효율을 증가시키는 영상 부호화/복호화 방법 및 이를 이용하는 장치가 제공된다. According to an embodiment of the present invention, there is provided an image encoding/decoding method and an apparatus using the same, which reduces a bit amount for signaling conversion omission and increases image encoding efficiency.

본 발명에 따르면, 화면 내에서 반복적으로 유사한 패턴이 발생하며, 고주파를 다량 포함하는 잔차 신호가 빈번히 발생하는 경우, 소정의 단위 내의 변환 블록들은 공통적으로 변환 생략 모드가 적용되거나 적용되지 않을 가능성이 존재하므로, 이 경우 이들의 변환 생략 여부를 대표하는 플래그를 시그널링함으로써 부호화 효율을 증가 시킬 수 있는 영상 부호화/복호화 방법 및 이를 이용하는 장치가 제공된다. According to the present invention, when a similar pattern repeatedly occurs in a screen, and when a residual signal containing a large amount of high frequencies frequently occurs, there is a possibility that transform blocks in a predetermined unit are commonly or not applied to the transform omission mode. Therefore, in this case, an image encoding/decoding method and an apparatus using the same are provided, which can increase encoding efficiency by signaling a flag representing whether or not to skip these transformations.

구체적으로, 이러한 본 발명의 효과는 컴퓨터에 의하여 만들어진 인공 영상의 부호화 및 복호화에서 두드러지게 나타날 수 있다.Specifically, the effect of the present invention can be prominent in the encoding and decoding of artificial images created by a computer.

도 1은 발명이 적용되는 영상 부호화 장치의 일 실시예에 따른 구성을 나타내는 블록도이다.
도 2는 본 발명이 적용되는 영상 복호화 장치의 일 실시예에 따른 구성을 나타내는 블록도이다.
도 3은 본 발명의 일 실시예에 따른 대표 플래그가 대표하는 코딩 유닛 내의 변환 블록을 설명하기 위한 도면이다.
도 4는 본 발명의 다른 실시예에 따른 대표 플래그가 대표하는 코딩 유닛 내의 변환 블록을 설명하기 위한 도면이다.
도 5는 본 발명의 일 실시예에 따른 변환 생략 여부를 대표하는 대표 플래그를 이용한 영상 복호화 방법을 나타낸 순서도이다.
도 6은 본 발명의 다른 실시예에 따른 변환 생략 여부를 대표하는 대표 플래그를 이용한 영상 복호화 방법을 나타낸 순서도이다.
도 7은 본 발명의 일 실시예에 따른 대표 플래그를 참조하여 변환 유닛의 분할 여부를 나타내는 분할 정보를 유추하는 과정을 나타낸 순서도이다.
도 8은 본 발명의 일 실시예에 따른 IBC 예측을 설명하기 위한 도면이다.
도 9는 본 발명의 일 실시예에 따른 변환 생략 여부를 대표하는 대표 플래그를 이용한 영상 부호화 방법을 나타낸 순서도이다.
1 is a block diagram showing a configuration according to an embodiment of an image encoding apparatus to which the present invention is applied.
2 is a block diagram showing a configuration according to an embodiment of an image decoding apparatus to which the present invention is applied.
3 is a diagram for describing a transform block in a coding unit represented by a representative flag according to an embodiment of the present invention.
4 is a diagram for describing a transform block in a coding unit represented by a representative flag according to another embodiment of the present invention.
5 is a flowchart illustrating an image decoding method using a representative flag representing whether to omit conversion according to an embodiment of the present invention.
6 is a flowchart illustrating an image decoding method using a representative flag representing whether or not to skip conversion according to another embodiment of the present invention.
7 is a flowchart illustrating a process of inferring division information indicating whether a conversion unit is divided by referring to a representative flag according to an embodiment of the present invention.
8 is a diagram for explaining IBC prediction according to an embodiment of the present invention.
9 is a flowchart illustrating an image encoding method using a representative flag representing whether or not to skip conversion according to an embodiment of the present invention.

이하, 도면을 참조하여 본 발명의 실시 형태에 대하여 구체적으로 설명한다. 본 명세서의 실시예를 설명함에 있어, 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 명세서의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명은 생략한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In describing the embodiments of the present specification, when it is determined that detailed descriptions of related well-known configurations or functions may obscure the subject matter of the present specification, detailed descriptions thereof will be omitted.

어떤 구성 요소가 다른 구성 요소에 “연결되어” 있다거나 “접속되어” 있다고 언급된 때에는, 그 다른 구성 요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있으나, 중간에 다른 구성 요소가 존재할 수도 있다고 이해되어야 할 것이다. 아울러, 본 발명에서 특정 구성을 “포함”한다고 기술하는 내용은 해당 구성 이외의 구성을 배제하는 것이 아니며, 추가적인 구성이 본 발명의 실시 또는 본 발명의 기술적 사상의 범위에 포함될 수 있음을 의미한다. When a component is said to be "connected" to or "connected" to another component, it is understood that other components may be directly connected to, or connected to, other components. It should be. In addition, in the present invention, description of “including” a specific configuration does not exclude a configuration other than the corresponding configuration, and means that an additional configuration may be included in the scope of the present invention or the technical spirit of the present invention.

제1, 제2 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다.Terms such as first and second may be used to describe various components, but the components should not be limited by the terms. The terms are used only for the purpose of distinguishing one component from other components. For example, the first component may be referred to as a second component without departing from the scope of the present invention, and similarly, the second component may be referred to as a first component.

또한 본 발명의 실시예에 나타나는 구성부들은 서로 다른 특징적인 기능들을 나타내기 위해 독립적으로 도시되는 것으로, 각 구성부들이 분리된 하드웨어나 하나의 소프트웨어 구성단위로 이루어짐을 의미하지 않는다. 즉, 각 구성부는 설명의 편의상 각각의 구성부로 나열하여 포함한 것으로 각 구성부 중 적어도 두 개의 구성부가 합쳐져 하나의 구성부로 이루어지거나, 하나의 구성부가 복수 개의 구성부로 나뉘어져 기능을 수행할 수 있고 이러한 각 구성부의 통합된 실시예 및 분리된 실시예도 본 발명의 본질에서 벗어나지 않는 한 본 발명의 권리범위에 포함된다.In addition, the components shown in the embodiments of the present invention are shown independently to indicate different characteristic functions, and do not mean that each component is composed of separate hardware or a single software component. That is, for convenience of description, each component is listed and included as each component, and at least two components of each component are combined to form one component, or one component is divided into a plurality of components to perform a function. The integrated and separated embodiments of the components are also included in the scope of the present invention without departing from the essence of the present invention.

또한, 일부의 구성 요소는 본 발명에서 본질적인 기능을 수행하는 필수적인 구성 요소는 아니고 단지 성능을 향상시키기 위한 선택적 구성 요소일 수 있다. 본 발명은 단지 성능 향상을 위해 사용되는 구성 요소를 제외한 본 발명의 본질을 구현하는데 필수적인 구성부만을 포함하여 구현될 수 있고, 단지 성능 향상을 위해 사용되는 선택적 구성 요소를 제외한 필수 구성 요소만을 포함한 구조도 본 발명의 권리범위에 포함된다.
Also, some of the components are not essential components for performing essential functions in the present invention, but may be optional components for improving performance. The present invention can be implemented by including only components necessary for realizing the essence of the present invention, except components used for performance improvement, and structures including only essential components excluding optional components used for performance improvement. Also included in the scope of the present invention.

도 1은 본 발명이 적용되는 영상 부호화 장치의 일 실시예에 따른 구성을 나타내는 블록도이다.1 is a block diagram showing a configuration according to an embodiment of an image encoding apparatus to which the present invention is applied.

도 1을 참조하면, 상기 영상 부호화 장치(100)는 예측부(110), 감산기(125), 변환부(130), 양자화부(140), 엔트로피 부호화부(150), 역양자화부(160), 역변환부(170), 가산기(175), 필터부(180) 및 참조영상 버퍼(190)를 포함한다.Referring to FIG. 1, the image encoding apparatus 100 includes a prediction unit 110, a subtractor 125, a transformation unit 130, a quantization unit 140, an entropy encoding unit 150, and an inverse quantization unit 160. , An inverse transform unit 170, an adder 175, a filter unit 180, and a reference image buffer 190.

영상 부호화 장치(100)는 입력 영상에 대해 인트라(intra) 모드 또는 인터(inter) 모드로 부호화를 수행하고 비트스트림(bit stream)을 출력할 수 있다. 인트라 예측은 화면 내 예측, 인터 예측은 화면 간 예측을 의미한다. 인트라 모드인 경우 스위치(미도시)가 인트라로 전환되고, 인터 모드인 경우 스위치가 인터로 전환된다. 영상 부호화 장치(100)는 입력 영상의 입력 블록에 대한 예측 블록을 생성한 후, 입력 블록과 예측 블록의 차분을 부호화할 수 있다.The image encoding apparatus 100 may encode an input image in an intra mode or an inter mode and output a bit stream. Intra prediction means intra prediction, and inter prediction means inter prediction. In the intra mode, the switch (not shown) is switched to intra, and in the inter mode, the switch is switched to inter. After generating the prediction block for the input block of the input image, the image encoding apparatus 100 may encode the difference between the input block and the prediction block.

예측부는 인트라 예측을 수행하는 인트라 예측부, 인터 예측을 수행하는 움직임 예측부 및 움직임 보상부, 인트라 카피 예측(intra block copy(IBC) prediction)을 수행하는 IBC 예측부를 세부적인 구성 요소로 포함할 수 있다. 또한, 영상 부호화 장치는 도시하지 않은 스위치를 포함할 수 있고, 스위치는 인터 예측부, 인트라 예측부, IBC 예측부 사이에서 전환될 수 있다. The prediction unit may include an intra prediction unit performing intra prediction, a motion prediction unit performing inter prediction, and a motion compensation unit, and an IBC prediction unit performing intra block copy (IBC) prediction as detailed components. have. In addition, the video encoding apparatus may include a switch (not shown), and the switch may be switched between an inter prediction unit, an intra prediction unit, and an IBC prediction unit.

인트라 모드인 경우, 인트라 예측부는 현재 블록 주변의 이미 부호화된 블록의 화소값을 이용하여 공간적 예측을 수행하여 예측 블록을 생성할 수 있다.In the intra mode, the intra prediction unit may generate a prediction block by performing spatial prediction using pixel values of an already coded block around the current block.

인터 모드인 경우, 움직임 예측부는, 움직임 예측 과정에서 참조 영상 버퍼(190)에 저장되어 있는 참조 영상에서 입력 블록과 가장 매치가 잘 되는 영역을 찾아 움직임 벡터를 구할 수 있다. 움직임 보상부는 움직임 벡터와 참조 영상 버퍼(190)에 저장되어 있는 참조 영상을 이용하여 움직임 보상을 수행함으로써 예측 블록을 생성할 수 있다. In the case of the inter mode, the motion prediction unit may obtain a motion vector by finding a region that best matches the input block in the reference image stored in the reference image buffer 190 during the motion prediction process. The motion compensation unit may generate a prediction block by performing motion compensation using a motion vector and a reference image stored in the reference image buffer 190.

IBC 예측부는 현재 픽쳐 내에서 움직임 예측, 즉 탐색을 수행하여 현재 블록과 유사한 영역을 판별하여, 현재 블록에 대한 예측값, 블록 벡터를 구할 수 있다. IBC 예측부에 의한 예측은 이하에서 상세히 기술된다. The IBC prediction unit may determine a region similar to the current block by performing motion prediction, that is, searching within the current picture, to obtain a prediction value and a block vector for the current block. The prediction by the IBC prediction unit is described in detail below.

감산기(125)는 입력 블록과 생성된 예측 블록의 차분에 의해 잔여 블록(residual block)을 생성할 수 있다. 변환부(130)는 잔여 블록에 대해 변환(transform)을 수행하여 변환 계수(transform coefficient)를 출력할 수 있다. 일부 잔여 블록에 대하여 변환부(130)는 변환(transform)을 생략하도록 구성될 수도 있으며, 이 경우에도 변환부(130)의 출력을 편의상 변환 계수(transform coefficient)라고 부른다. 그리고 양자화부(140)는 입력된 변환 계수를 양자화 파라미터에 따라 양자화하여 양자화된 계수(quantized coefficient)를 출력할 수 있다. The subtractor 125 may generate a residual block by the difference between the input block and the generated prediction block. The transform unit 130 may transform a residual block to output a transform coefficient. For some residual blocks, the transform unit 130 may be configured to omit the transform, and in this case, the output of the transform unit 130 is also called a transform coefficient for convenience. In addition, the quantization unit 140 may quantize the input transform coefficient according to a quantization parameter to output a quantized coefficient.

엔트로피 부호화부(150)는, 양자화부(140)에서 산출된 값들 또는 부호화 과정에서 산출된 부호화 파라미터 값 등을 기초로, 심볼(symbol)을 확률 분포에 따라 엔트로피 부호화하여 비트스트림(bit stream)을 출력할 수 있다. 엔트로피 부호화 방법은 다양한 값을 갖는 심볼을 입력 받아, 통계적 중복성을 제거하면서, 복호 가능한 2진수의 열로 표현하는 방법이다. The entropy encoding unit 150 entropy-encodes a symbol according to a probability distribution based on values calculated by the quantization unit 140 or encoding parameter values calculated in an encoding process, and performs a bitstream. Can print The entropy encoding method is a method of receiving a symbol having various values and expressing it as a column of a binary number that can be decoded while removing statistical redundancy.

여기서, 심볼이란 부호화/복호화 대상 구문 요소(syntax element) 및 부호화 파라미터(coding parameter), 잔여 신호(residual signal)의 값 등을 의미한다. 부호화 파라미터는 부호화 및 복호화에 필요한 매개변수로서, 구문 요소와 같이 부호화 장치에서 부호화되어 복호화 장치로 전달되는 정보뿐만 아니라, 부호화 혹은 복호화 과정에서 유추될 수 있는 정보를 포함할 수 있으며 영상을 부호화하거나 복호화할 때 필요한 정보를 의미한다. 부호화 파라미터는 예를 들어 인트라/인터 예측모드, 이동/움직임 벡터(motion vector), 참조 영상 색인, 부호화 블록 패턴, 잔여 신호 유무, 변환 계수, 양자화된 변환 계수, 양자화 파라미터, 블록 크기, 블록 분할 정보 등의 값 또는 통계를 포함할 수 있다. 또한 잔여 신호는 원신호와 예측 신호의 차이를 의미할 수 있고, 또한 원신호와 예측 신호의 차이가 변환(transform)된 형태의 신호 또는 원신호와 예측 신호의 차이가 변환되고 양자화된 형태의 신호, 또는 원신호와 예측 신호의 차이 신호 또는 원신호와 예측 신호의 차이 신호가 양자화된 형태의 신호를 의미할 수도 있다. 잔여 신호는 블록 단위에서는 잔여 블록이라 할 수 있다.Here, the symbol means a syntax element to be encoded/decoded, a coding parameter, a value of a residual signal, and the like. The encoding parameter is a parameter necessary for encoding and decoding, and may include information that is encoded in an encoding device and transmitted to a decoding device, such as syntax elements, as well as information that can be inferred in the encoding or decoding process, and encode or decode an image. It means the information you need to do. Coding parameters include, for example, intra/inter prediction mode, motion/motion vector, reference image index, coding block pattern, residual signal presence, transform coefficient, quantized transform coefficient, quantization parameter, block size, block segmentation information It may include values or statistics. In addition, the residual signal may mean a difference between the original signal and the prediction signal, and also a signal in which the difference between the original signal and the prediction signal is transformed or a signal in which the difference between the original signal and the prediction signal is transformed and quantized. Alternatively, the difference signal between the original signal and the prediction signal or the difference signal between the original signal and the prediction signal may mean a quantized signal. The residual signal may be referred to as a residual block in block units.

엔트로피 부호화가 적용되는 경우, 높은 발생 확률을 갖는 심볼에 적은 수의 비트가 할당되고 낮은 발생 확률을 갖는 심볼에 많은 수의 비트가 할당되어 심볼이 표현됨으로써, 부호화 대상 심볼들에 대한 비트열의 크기가 감소될 수 있다. 따라서 엔트로피 부호화를 통해서 영상 부호화의 압축 성능이 높아질 수 있다. When entropy encoding is applied, a small number of bits are allocated to a symbol having a high probability of occurrence and a large number of bits are allocated to a symbol having a low probability of occurrence, so that the symbol is represented, so that the size of a bit string for symbols to be coded is Can be reduced. Therefore, compression performance of image encoding may be improved through entropy encoding.

엔트로피 부호화를 위해 지수 골룸(exponential golomb), CAVLC(Context-Adaptive Variable Length Coding), CABAC(Context-Adaptive Binary Arithmetic Coding)과 같은 부호화 방법이 사용될 수 있다. 예를 들어, 엔트로피 부호화부(150)에는 가변 길이 부호화(VLC: Variable Length Coding/Code) 테이블과 같은 엔트로피 부호화를 수행하기 위한 테이블이 저장될 수 있고, 엔트로피 부호화부(150)는 저장된 가변 길이 부호화(VLC) 테이블을 사용하여 엔트로피 부호화를 수행할 수 있다. 또한 엔트로피 부호화부(150)는 대상 심볼의 이진화(binarization) 방법 및 대상 심볼/빈(bin)의 확률 모델(probability model)을 도출한 후, 도출된 이진화 방법 또는 확률 모델을 사용하여 엔트로피 부호화를 수행할 수도 있다.For entropy encoding, encoding methods such as exponential golomb, CAVLC (Context-Adaptive Variable Length Coding), and CABAC (Context-Adaptive Binary Arithmetic Coding) may be used. For example, the entropy encoding unit 150 may store a table for performing entropy encoding such as a variable length coding (VLC) table, and the entropy encoding unit 150 may store the variable length encoding. (VLC) entropy encoding may be performed using a table. Also, the entropy encoding unit 150 derives a binarization method of a target symbol and a probability model of a target symbol/bin, and then performs entropy coding using the derived binarization method or probability model. You may.

양자화된 계수는 역양자화부(160)에서 역양자화되고 역변환부(170)에서 역변환될 수 있다. 일부 블록에 대하여 역변환부(170)는 역변환을 생략하도록 구성될 수도 있으며, 이 경우에도 역변환부(170)의 출력을 편의상 역변환된 계수라고 부른다. 역양자화, 역변환된 계수는 가산기(175)를 통해 예측 블록과 더해지고 복원 블록이 생성될 수 있다. The quantized coefficients can be inversely quantized by the inverse quantization unit 160 and inversely transformed by the inverse transformation unit 170. For some blocks, the inverse transform unit 170 may be configured to omit the inverse transform, and in this case, the output of the inverse transform unit 170 is called an inverse transform coefficient for convenience. The inverse quantized and inverse transformed coefficients may be added to the prediction block through the adder 175 and a reconstructed block may be generated.

복원 블록은 필터부(180)를 거치고, 필터부(180)는 디블록킹 필터(deblocking filter), SAO(Sample Adaptive Offset), ALF(Adaptive Loop Filter) 중 적어도 하나 이상을 복원 블록 또는 복원 픽쳐에 적용할 수 있다. 필터부(180)를 거친 복원 블록은 참조 영상 버퍼(190)에 저장될 수 있다.
The restoration block passes through the filter unit 180, and the filter unit 180 applies at least one of a deblocking filter, SAO (Sample Adaptive Offset), and ALF (Adaptive Loop Filter) to the restoration block or restoration picture. can do. The reconstructed block that has passed through the filter unit 180 may be stored in the reference image buffer 190.

도 2는 본 발명이 적용되는 영상 복호화 장치의 일 실시예에 따른 구성을 나타내는 블록도이다.2 is a block diagram showing a configuration according to an embodiment of an image decoding apparatus to which the present invention is applied.

도 2를 참조하면, 상기 영상 복호화 장치(200)는 엔트로피 복호화부(210), 역양자화부(220), 역변환부(230), 예측부(240), 필터부(260) 및 참조 영상 버퍼(270)를 포함한다.Referring to FIG. 2, the image decoding apparatus 200 includes an entropy decoding unit 210, an inverse quantization unit 220, an inverse transform unit 230, a prediction unit 240, a filter unit 260, and a reference image buffer ( 270).

영상 복호화 장치(200)는 부호화 장치에서 출력된 비트스트림을 입력 받아 인트라 모드, 인터 모드 또는 IBC 모드로 복호화를 수행하고 재구성된 영상, 즉 복원 영상을 출력할 수 있다. The image decoding apparatus 200 may receive a bitstream output from the encoding apparatus, perform decoding in an intra mode, an inter mode, or an IBC mode, and output a reconstructed image, that is, a reconstructed image.

영상 복호화 장치(200)는 입력 받은 비트스트림으로부터 복원된 잔여 블록(residual block)을 얻고 예측 블록을 생성한 후 복원된 잔여 블록과 예측 블록을 더하여 재구성된 블록, 즉 복원 블록을 생성할 수 있다.The image decoding apparatus 200 may generate a reconstructed block, that is, a reconstructed block, by adding a reconstructed residual block and a predicted block after obtaining a residual block reconstructed from the received bitstream and generating a predictive block.

엔트로피 복호화부(210)는, 입력된 비트스트림을 확률 분포에 따라 엔트로피 복호화하여, 양자화된 계수(quantized coefficient) 형태의 심볼을 포함한 심볼들을 생성할 수 있다. 엔트로피 복호화 방법은 2진수의 열을 입력 받아 각 심볼들을 생성하는 방법이다. 엔트로피 복호화 방법은 상술한 엔트로피 부호화 방법과 유사하다.The entropy decoding unit 210 may entropy decode the input bitstream according to a probability distribution, and generate symbols including symbols in the form of quantized coefficients. The entropy decoding method is a method of receiving a sequence of binary numbers and generating each symbol. The entropy decoding method is similar to the entropy encoding method described above.

양자화된 계수는 역양자화부(220)에서 역양자화되고 역변환부(230)에서 역변환되며, 양자화된 계수가 역양자화/역변환 된 결과, 복원된 잔여 블록(residual block)이 생성될 수 있다. 일부 블록에 대하여 역변환부(230)는 역변환을 생략하도록 구성될 수도 있다. 또한, 역양자화부(220)도 일부 블록에 대하여 생략되도록 구성될 수 도 있다.The quantized coefficients are inversely quantized by the inverse quantization unit 220 and inversely transformed by the inverse transformation unit 230. As a result of the inverse quantization/inverse transformation of the quantized coefficients, a reconstructed residual block may be generated. For some blocks, the inverse transform unit 230 may be configured to omit the inverse transform. Also, the inverse quantization unit 220 may be configured to be omitted for some blocks.

예측부(240)는 인트라 예측을 수행하는 인트라 예측부, 인터 예측을 수행하는 움직임 예측부 및 움직임 보상부, 인트라 카피 예측(intra block copy(IBC) prediction)을 수행하는 IBC 예측부를 세부적인 구성 요소로 포함할 수 있다.The prediction unit 240 is a detailed component of an intra prediction unit performing intra prediction, a motion prediction unit performing inter prediction, and a motion compensation unit, and an IBC prediction unit performing intra block copy (IBC) prediction. It can contain as.

인트라 모드인 경우, 인트라 예측부는 현재 블록 주변의 이미 부호화된 블록의 화소값을 이용하여 공간적 예측을 수행하여 예측 블록을 생성할 수 있다. 인터 모드인 경우, 움직임 보상부는 움직임 벡터 및 참조 영상 버퍼(270)에 저장되어 있는 참조 영상을 이용하여 움직임 보상을 수행함으로써 예측 블록을 생성할 수 있다. In the intra mode, the intra prediction unit may generate a prediction block by performing spatial prediction using pixel values of an already coded block around the current block. In the inter mode, the motion compensation unit may generate a prediction block by performing motion compensation using a motion vector and a reference image stored in the reference image buffer 270.

IBC 예측의 경우, IBC 예측부는 현재 픽쳐 내에서 움직임 예측, 즉 탐색을 수행하여 현재 블록과 유사한 영역을 판별하여 현재 블록에 대한 예측값, 블록 벡터를 구할 수 있다. IBC 예측부에 의한 예측은 이하에서 상세히 기술된다.In the case of IBC prediction, the IBC prediction unit may obtain a prediction value and a block vector for the current block by determining a region similar to the current block by performing motion prediction, that is, searching within the current picture. The prediction by the IBC prediction unit is described in detail below.

복원된 잔여 블록과 예측 블록은 가산기(255)를 통해 더해지고, 더해진 블록은 필터부(260)를 거친다. 필터부(260)는 디블록킹 필터, SAO, ALF 중 적어도 하나 이상을 복원 블록 또는 복원 픽쳐에 적용할 수 있다. 필터부(260)는 재구성된 영상, 즉 복원 영상을 출력한다. 복원 영상은 참조 영상 버퍼(270)에 저장되어 화면 간 예측에 사용될 수 있다.The reconstructed residual block and the predicted block are added through the adder 255, and the added block is passed through the filter unit 260. The filter unit 260 may apply at least one of a deblocking filter, SAO, and ALF to a reconstructed block or reconstructed picture. The filter unit 260 outputs a reconstructed image, that is, a reconstructed image. The reconstructed image may be stored in the reference image buffer 270 and used for inter-screen prediction.

상기 영상 복호화 장치(200)에 포함되어 있는 엔트로피 복호화부(210), 역양자화부(220), 역변환부(230), 예측부(240), 필터부(260) 및 참조 영상 버퍼(270) 중 영상의 복호화에 직접적으로 관련된 구성요소들, 예컨대, 엔트로피 복호화부(210), 역양자화부(220), 역변환부(230), 예측부(240) 필터부(260) 등을 다른 구성요소와 구분하여 복호화부 또는 디코딩부로 표현할 수 있다. Among the entropy decoding unit 210, inverse quantization unit 220, inverse transform unit 230, prediction unit 240, filter unit 260, and reference image buffer 270 included in the image decoding apparatus 200 The components directly related to the decoding of the image, such as the entropy decoding unit 210, the inverse quantization unit 220, the inverse transform unit 230, the prediction unit 240, the filter unit 260, and the like are separated from other components Can be expressed as a decoding unit or a decoding unit.

또한, 영상 복호화 장치(200)는 비트스트림에 포함되어 있는 인코딩된 영상에 관련된 정보를 파싱하는 도시하지 않은 파싱부를 더 포함할 수 있다. 파싱부는 엔트로피 복호화부(210)를 포함할 수도 있고, 엔트로피 복호화부(210)에 포함될 수도 있다. 이러한 파싱부는 또한 디코딩부의 하나의 구성요소로 구현될 수도 있다.
In addition, the image decoding apparatus 200 may further include a parsing unit (not shown) that parses information related to the encoded image included in the bitstream. The parsing unit may include the entropy decoding unit 210 or may be included in the entropy decoding unit 210. The parsing unit may also be implemented as one component of the decoding unit.

한편, 기존의 영상 코딩 방법 중에는 고주파 성분을 많이 포함하고 있는 블록에 대하여 변환을 생략하는 변환 생략(Transform Skip)을 적용하고 있다.Meanwhile, among the existing video coding methods, a transform skip is applied to a block that contains many high-frequency components.

예를 들어, 픽쳐 파라미터 세트(picture parameter set)와 같은 상위 단에서 시그널링되는 transform_skip_enabled_flag에 대한 값이 1이고, 잔차 신호의 부/복호화시, CBF(coded block flag)가 1인 모든 4x4 크기의 변환 블록(transform block, TB)에 대하여 변환 생략 여부를 지시하는 플래그(transform_skip_flag)를 개별적으로 시그널링 할 수 있다.For example, all 4x4 sized transform blocks having a value of 1 for transform_skip_enabled_flag signaled at a higher stage, such as a picture parameter set, and a coded block flag (CBF) 1 when decoding/decoding a residual signal For (transform block, TB), a flag (transform_skip_flag) indicating whether or not to skip transform may be individually signaled.

또는 transform_skip_enabled_flag에 대한 값이 1이고, 현재 변환 블록의 크기가 픽쳐 파라미터 세트에서 시그널링되는 변환 생략이 적용될 수 있는 변환 블록의 최대 크기를 나타내는 정보(예를 들어, log2_max_transform_skip_block_size_minus2)에 의하여 정의되는 최대 블록 크기보다 작거나 같고, CBF가 1인 모든 변환 블록에 대하여 변환 생략 여부를 지시하는 플래그(transform_skip_flag)를 개별적으로 시그널링 할 수 있다.Alternatively, the value for transform_skip_enabled_flag is 1, and the size of the current transform block is greater than the maximum block size defined by information (eg, log2_max_transform_skip_block_size_minus2) indicating the maximum size of a transform block to which transform omission signaled in a picture parameter set can be applied. A flag (transform_skip_flag) indicating whether or not to omit the transform may be individually signaled for all transform blocks having a CBF of 1 or less.

이러한 변환 생략 시그널링 방법의 경우, CBF가 1인 변환 생략 가능한 모든 변환 블록에 대하여 개별적으로 변환 생략 여부를 지시하는 플래그 (transform_skip_flag) 정보가 시그널링 되므로 비트량이 증가하는 문제점이 발생할 수 있다.In the case of such a transform omitting signaling method, a flag (transform_skip_flag) information indicating whether or not to omit transform is individually signaled for all transform blocks capable of omitting a transform having a CBF of 1 may cause a problem of an increase in bit amount.

이에, 본 발명은 소정 단위(일 실시예에 의하면, 코딩 유닛(coding unit, CU)일 수 있으며, 또 다른 실시예서는 에측 유닛(prediction unit, PU) 일 수 있다) 내에 포함된 하나 또는 복수개의 변환 유닛들의 변환 생략 여부를 대표하여 표시하는 정보를 설정하고, 이를 복호화 장치로 시그널링 하는 방법을 제안함으로써, 변환 생략을 시그널링하기 위한 비트량을 감소시키고, 궁극적으로 영상 부호화 효율을 증대시키는 것을 목적으로 한다.Accordingly, the present invention may be one or a plurality of units included in a predetermined unit (according to one embodiment, a coding unit (CU), and another embodiment may be a prediction unit (PU)). For the purpose of reducing the amount of bits for signaling the conversion omission, and ultimately increasing the video encoding efficiency, by setting information indicating representative of whether the conversion units are omitted or not and signaling it to the decoding apparatus do.

특히, 화면 내에서 반복적으로 유사한 패턴이 발생하거나 고주파를 다량 포함하는 잔차 신호가 빈번히 발생하는 영상의 경우, 소정 단위 내에 속하는 변환 블록들은 모두 변환이 생략되거나 모두 변환이 수행될 가능성이 높으므로, 이 경우 개별 변환 블록별로 변환 생략 여부를 지시하는 플래그를 시그널링하는 대신, 소정 단위의 변환 생략 여부를 대표하는 플래그를 시그널링 함으로써 부호화 효율을 증가시킬 수 있다. In particular, in the case of an image in which a similar pattern repeatedly occurs in a screen or a residual signal frequently containing a large amount of high frequency is frequently generated, transformation blocks belonging to a predetermined unit are all likely to be omitted or transformed. In this case, instead of signaling a flag indicating whether to skip conversion for each individual conversion block, encoding efficiency can be increased by signaling a flag representing whether to skip conversion in a predetermined unit.

예를 들어, 컴퓨터에 의하여 만들어진 인공 영상의 경우, 반복적인 유사 패턴이 발생하거나 고주파를 포함할 수 있는 경향이 강하므로, 본 발명을 적용할 경우 그 효과가 증대될 수 있다.For example, in the case of an artificial image created by a computer, a repetitive similar pattern is generated or a tendency to include a high frequency is strong, so that the effect can be increased when applying the present invention.

본 발명의 설명에서는 편의상 소정 단위를 구체적으로 코딩 유닛의 용어를 사용하여 기술하나, 본 발명의 소정 단위가 반드시 코딩 유닛으로는 한정되지는 않는다. 한편, 본 발명 명세서에서 사용하는 코딩 유닛, 코딩 블록 (coding block, CB)을 설명하면 다음과 같다.In the description of the present invention, for convenience, a specific unit is specifically described using the term of a coding unit, but the predetermined unit of the present invention is not necessarily limited to a coding unit. Meanwhile, a coding unit and a coding block (CB) used in the present specification are as follows.

코딩 유닛은 하나의 코딩 블록 또는 복수개의 코딩 블록과 이들이 사용하는 신택스 요소 정보로 구성된다. 컬러 영상의 경우 일반적으로 세 개의 컴포넌트를 가지고 있으므로, 하나의 코딩 유닛은 각 컴포넌트별로 하나의 코딩블록을 가져 총 세 개의 코딩 블록(예를 들어 세 개의 컴포넌트를 갖는 영상이면서 각 컴포넌트별로 독립적으로 부호화 되지 않을 경우)을 가지거나, 하나의 코딩 블록(예를 들어, 모노크롬(Monochrome) 영상의 경우, 또는 컬러 영상이라도 각 컴포넌트별로 독립적으로 부호화될 경우)을 가질 수 있다.The coding unit is composed of one coding block or a plurality of coding blocks and syntax element information used by them. In the case of a color image, since there are generally three components, one coding unit has one coding block for each component, and a total of three coding blocks (for example, an image having three components, but not independently encoded for each component) Or not, or one coding block (for example, in the case of a monochrome image, or even in the case of a color image independently encoded for each component).

또한, 변환이 적용되거나 변환 생략이 적용되는 변환 블록(transform block, TB)과, 분할의 단위가 되는 변환 유닛(transform unit, TU)에 대하여 설명하면 다음과 같다.In addition, a transformation block (TB) to which transformation is applied or transformation omission is applied, and a transformation unit (TU) that is a unit of division are as follows.

본 발명에 따른 변환 유닛(transform unit, TU)은 코딩 유닛으로부터 분할될 수 있는 단위이다. 하나의 코딩 유닛은 변환 부호화를 위하여 하나 또는 복수개의 변환 유닛으로 분할 될 수 있는데, 구체적으로 어떻게 분할 되는가는 코딩 유닛을 루트(root)로 하는 쿼드트리 정보에 의하여 지시된다. 이를 분할(split 정보 또는 split_transform_flag 정보)이라고 한다. 변환 유닛은 하나의 변환 블록 또는 복수개의 변환 블록과 이들이 사용하는 신택스 요소 정보로 구성된다. 변환 유닛은 각 색상 컴퍼넌트(예를 들어, Y,Cb,Cr)를 구성하는 변환 블록(transform block)들의 집합적인 개념을 가질 수 있으며, 하나의 변환 유닛이 갖는 변환 블록의 개수는 색상 포맷에 따라 다를 수 있다A transform unit (TU) according to the present invention is a unit that can be split from a coding unit. One coding unit may be divided into one or a plurality of transform units for transform coding. Specifically, how to split is indicated by quadtree information using a coding unit as a root. This is called splitting (split information or split_transform_flag information). The transform unit is composed of one transform block or a plurality of transform blocks and syntax element information used by them. The transform unit may have a collective concept of transform blocks constituting each color component (eg, Y, Cb, Cr), and the number of transform blocks of one transform unit depends on the color format. can be different

변환 블록은 변환 및 양자화를 수행하는 기본 단위에 해당한다. The transform block corresponds to a basic unit that performs transform and quantization.

세 개의 컴포넌트를 가지고 있는 컬러 영상의 경우, 만일 색상 포맷이 4:2:0 또는 4:4:4 일 경우, 하나의 변환 유닛은 세 개의 변환 블록 (하나는 루마 컴포넌트에 대한 변환 블록이고, 나머지 두 개는 크로마 컴포넌트에 대한 변환블록이다)을 갖는다. 한편, 4:2:2 색상 포맷의 경우, 다섯 개의 변환 블록 (하나는 루마 컴포넌트에 대한 변환 블록이고, 나머지 네 개는 크로마 컴포넌트에 대한 변환 블록이다)을 가지며, 모노크롬 영상이거나 컬러 영상이라도 각 컴포넌트별로 독립적으로 부호화될 경우, 한 개의 변환 블록을 가질 수 있다. For a color image with three components, if the color format is 4:2:0 or 4:4:4, one transform unit has three transform blocks (one is the transform block for the luma component, the rest Two are transform blocks for chroma components). On the other hand, in the case of a 4:2:2 color format, there are five transform blocks (one is a transform block for luma components and the other four are transform blocks for chroma components), and each component is a monochrome image or a color image. When not encoded independently, it may have one transform block.

한편, 색상 포맷이 4:4:4인 경우, 하나의 변환 유닛에 속하는 변환 블록들은 모두 동일한 크기를 가질 수 있다.Meanwhile, when the color format is 4:4:4, all of the transform blocks belonging to one transform unit may have the same size.

색상 포맷이 4:2:0인 경우, 루마 변환 블록의 크기는 변환 유닛의 크기와 동일하지만 크로마 변환 블록의 크기는 변환 유닛보다 작을 수 있다. 즉, 동일한 변환 유닛에 속하는 변환 블록이라고 할지라도 루마와 크로마에 따라 변환 블록의 크기는 달라 질 수 있다. 그러나, 예외적으로 8x8 코딩 유닛이 한 차례 쿼드트리로 분할 되어 변환 유닛이 4x4의 크기를 가질 경우, 루마와 크로마 변환 블록 모두 4x4의 동일한 크기를 갖도록 할 수 있다. 이것은 너무 작은 (예를 들어 4x4보다 작은) 변환 블록은 실제 응용에 있어서 복잡도 증가대비 효용이 별로 없기 때문이다.
When the color format is 4:2:0, the size of the luma transform block is the same as the size of the transform unit, but the size of the chroma transform block may be smaller than the transform unit. That is, even if the transform block belongs to the same transform unit, the size of the transform block may be changed according to luma and chroma. However, when the 8x8 coding unit is divided into quadtrees once, and the transform unit has a size of 4x4, both the luma and chroma transform blocks may have the same size of 4x4. This is because a conversion block that is too small (for example, less than 4x4) has little utility over increasing complexity in real applications.

이하, 본 발명에서는 코딩 유닛 내에 포함된 변환 블록들의 변환 생략 여부를 대표하여 표시하는 정보인 대표 플래그(예를 들어, transform_skip_all_zeros_in_cu_flag)를 시그널링하고, 이를 복호화하는 방법을 제공한다. Hereinafter, the present invention provides a method for signaling a representative flag (for example, transform_skip_all_zeros_in_cu_flag), which is information representatively representing whether or not to skip conversion of transform blocks included in a coding unit, and decoding the same.

이때, 코딩 유닛 내에 포함된 변환 블록들의 변환 깊이(TU depth)를 고려하는지 여부에 따라 대표 플래그가 대표하는 코딩 유닛 내의 변환 블록들은 다음과 같이 두 가지로 나뉠 수 있다. At this time, depending on whether or not to consider the transform depth (TU depth) of transform blocks included in the coding unit, the transform blocks in the coding unit represented by the representative flag can be divided into two types as follows.

첫 번째 경우, 대표 플래그는 현재 코딩 유닛이 도달 가능한 최대 변환 깊이(MaxTrafoDepth)의 변환 블록들만을 대표할 수 있다. 다시 말해, 대표 플래그가 현재 코딩 유닛에서 분할될 수 있는 최소 크기의 변환 블록을 대표하는 경우를 말한다. In the first case, the representative flag may only represent transform blocks of the maximum transform depth (MaxTrafoDepth) that the current coding unit can reach. In other words, it is a case where the representative flag represents a transform block of the smallest size that can be split in the current coding unit.

여기서, 최대 변환 깊이라는 표현에서 깊이란 다음을 의미할 수 있다. 깊이가 0 인 경우는 변환을 위하여 현재 코딩 유닛이 더 이상 분할 되지 않음을 의미할 수 있다. 또한 깊이가 1인 경우는, 변환을 위하여 코딩 유닛이 쿼드 트리로 한 단계 분할 된다는 의미할 수 있다. 이때, 분할 후 변환 유닛을 구성하는 특정 변환 블록이 부호화 장치가 미리 정한 최소 변환 블록 크기보다 작아지는 경우는 그 해당 변환 블록은 더 이상 분할 되지 않을 수 있다. 또한 깊이가 1씩 증가할 때 마다, 위와 같이 최소 변환 블록 크기 보다 작아지지 않는다는 조건하에서 쿼드 트리로 한 단계 더 분할될 수 있다. 또한, 본 발명의 설명에서 깊이는, 코딩 유닛이 변환을 위하여 분할 되는 것을 의미하므로, 특별한 설명이 없는 경우 변환 깊이(trafoDepth)라는 용어와 같은 의미로 사용된다.Here, in the expression maximum conversion depth, depth may mean the following. When the depth is 0, it may mean that the current coding unit is no longer split for conversion. In addition, when the depth is 1, it may mean that the coding unit is divided into one step into a quad tree for transformation. At this time, if the specific transform block constituting the transform unit after division becomes smaller than the minimum transform block size predetermined by the encoding apparatus, the corresponding transform block may not be further split. Also, each time the depth increases by 1, it can be further divided into quad trees under the condition that it does not become smaller than the minimum transform block size. In addition, in the description of the present invention, since the depth means that the coding unit is divided for transformation, it is used in the same sense as the term transformation depth (trafoDepth) when there is no special description.

두 번째 경우, 대표 플래그는 현재 코딩 유닛 내의 (변환 생략이 가능한 크기의) 모든 변환 블록들을 대표할 수 있다.
In the second case, the representative flag can represent all transform blocks (with a size that can be omitted) in the current coding unit.

도 3은 본 발명의 일 실시예에 따른 대표 플래그가 대표하는 코딩 유닛 내의 변환 블록을 설명하기 위한 도면이다. 3 is a diagram for describing a transform block in a coding unit represented by a representative flag according to an embodiment of the present invention.

도 3의 실시예는 대표 플래그가 현재 코딩 유닛 내에서 최대 변환 깊이를 가지는 변환 블록들을 대표하는 경우를 나타낸 것이다. The embodiment of FIG. 3 shows a case where a representative flag represents transform blocks having a maximum transform depth in a current coding unit.

예를 들어, 변환 생략이 4x4에서부터 16x16 크기까지의 변환 블록에 적용되는 것으로 가정하면, 16x16 크기의 코딩 유닛의 경우 최대 깊이로 분할된 4x4 변환 유닛에 포함된 변환 블록을 대표하여 대표 플래그가 시그널링될 수 있다. 도 3에서는 회색으로 도시된 블록들은 대표 플래그가 대표하는 변환 블록을 포함하는 변환 유닛을 나타낸다.For example, assuming that the transform omission is applied to a transform block having a size of 4x4 to 16x16, in case of a coding unit having a size of 16x16, a representative flag may be signaled on behalf of the transform block included in the 4x4 transform unit divided into the maximum depth. Can. In FIG. 3, blocks shown in gray represent a transformation unit including a transformation block represented by a representative flag.

즉, 부호화 장치는 코딩 유닛 내에서 최대 깊이로 분할된 변환 블록들에 대해 대표 플래그 값을 결정하고, 그 값을 복호화 장치로 시그널링할 수 있다. 그리고, 복호화 장치는 대표 플래그 값을 수신하여 파싱하고, 파싱된 대표 플래그 값을 기반으로 현재 코딩 유닛 내에서 최대 깊이의 변환 블록들에 대해 변환 생략을 적용할지 여부를 결정할 수 있다.
That is, the encoding device may determine a representative flag value for transform blocks divided into the maximum depth in the coding unit, and signal the value to the decoding device. Then, the decoding apparatus may receive and parse the representative flag value, and determine whether to apply transform omission to transform blocks of the maximum depth in the current coding unit based on the parsed representative flag value.

도 4는 본 발명의 다른 실시예에 따른 대표 플래그가 대표하는 코딩 유닛 내의 변환 블록을 설명하기 위한 도면이다. 4 is a diagram for describing a transform block in a coding unit represented by a representative flag according to another embodiment of the present invention.

도 4의 실시예는 대표 플래그가 현재 코딩 유닛 내에서 변환 생략이 가능한 크기의 모든 변환 블록들을 대표하는 경우를 나타낸 것이다.The embodiment of FIG. 4 shows a case in which the representative flag represents all transform blocks of a size capable of omitting transform in the current coding unit.

예를 들어, 16x16의 코딩 유닛의 경우에는 16x16, 8x8, 4x4의 변환 유닛으로 분할될 수 있다. 변환 생략이 4x4에서부터 16x16 크기까지의 변환 블록에 적용되는 것으로 가정하면, 16x16, 8x8, 4x4 크기를 갖는 모든 변환 유닛에 변환 생략이 적용될 수 있다. 도 4에서 회색으로 도시된 블록들은 대표 플래그가 적용되는 변환 블록을 포함하는 변환 유닛을 나타낸다.For example, a 16x16 coding unit may be divided into 16x16, 8x8, and 4x4 transform units. Assuming that the transform omission is applied to a transform block ranging from 4x4 to 16x16, transform omission can be applied to all transform units having sizes of 16x16, 8x8, and 4x4. The blocks shown in gray in FIG. 4 represent a transform unit including a transform block to which a representative flag is applied.

즉, 부호화 장치는 코딩 유닛 내에서 변환 생략이 가능한 크기의 모든 변환 블록들에 대한 대표 플래그 값을 결정하고, 그 값을 복호화 장치로 시그널링할 수 있다. 그리고, 복호화 장치는 대표 플래그 값을 수신하여 파싱하고, 파싱된 대표 플래그 값을 기반으로 현재 코딩 유닛 내에서 변환 생략이 가능한 크기의 모든 변환 블록들에 대해 변환 생략을 적용할지 여부를 결정할 수 있다.
That is, the encoding apparatus may determine representative flag values for all transform blocks having a size capable of omitting transformation in the coding unit, and signal the value to the decoding apparatus. Then, the decoding apparatus may receive and parse the representative flag value, and determine whether to apply the transform omission to all transform blocks having a size that can be transformed in the current coding unit based on the parsed representative flag value.

도 5는 본 발명의 일 실시예에 따른 변환 생략 여부를 대표하는 대표 플래그를 이용한 영상 복호화 방법을 나타낸 순서도이다. 도 5의 방법은 상술한 도 2의 영상 복호화 장치에 의해 수행될 수 있다. 5 is a flowchart illustrating an image decoding method using a representative flag representing whether to omit conversion according to an embodiment of the present invention. The method of FIG. 5 may be performed by the image decoding apparatus of FIG. 2 described above.

도 5를 참조하여 본 실시예에 따라 변환 생략이 적용되는 변환 블록에 대한 변환 생략 여부를 대표하는 대표 플래그(예를 들어, transform_skip_all_zeros_in_cu_flag) 및 이에 따라 수행되는 영상의 변환 과정을 설명하면 다음과 같다. Referring to FIG. 5, a representative flag (eg, transform_skip_all_zeros_in_cu_flag) representing whether to omit transform for a transform block to which transform omission is applied according to the present embodiment and a transformation process of an image performed accordingly will be described as follows.

복호화 장치는 현재 코딩 유닛(CU)에 대하여 대표 플래그를 파싱할 것인지를 결정하기 위하여, 대표 플래그 파싱 조건 만족 여부를 판단한다(S510).The decoding apparatus determines whether the representative flag parsing condition is satisfied in order to determine whether to parse the representative flag for the current coding unit (CU) (S510).

영상의 부호화 및 복호화 과정에서는 변환 생략이 적용될 수 있는 변환 블록의 크기를 미리 정한 후, 이를 시그널링하고 있다. 예를 들어, 변환 생략이 적용될 수 있는 변환 블록의 크기는 4X4로 한정되거나, 변환 생략이 적용될 수 있는 최대 변환 블록의 크기가 정해질 수 있다. 만일 현재 코딩 유닛 내 변환 블록의 크기가 변환 생략이 적용될 수 있는 크기에 해당하지 않는 경우에는 변환 생략 자체가 원천적으로 발생하지 않으므로, 변환 생략 여부를 대표하여 표시하는 대표 플래그의 파싱 자체가 필요 없게 된다. In the process of encoding and decoding an image, a size of a transform block to which transform omission can be applied is determined in advance and then signaled. For example, the size of a transform block to which transform omission can be applied is limited to 4X4, or a size of a maximum transform block to which transform omission can be applied can be determined. If the size of the transform block in the current coding unit does not correspond to the size to which the transform omission can be applied, since the transform omission itself does not occur by default, the parsing of the representative flag indicating whether to omit the transform itself is unnecessary. .

단계 S510에서는, 현재 코딩 유닛의 크기가 이러한 변환 생략이 적용될 수 있는 크기 조건을 만족하는, 즉, 변환 블록의 변환 생략 여부를 지시하는 플래그(transform_skip_flag)의 파싱이 필요한 변환 블록이 현재 코딩 유닛 내에 존재할 수 있는지의 판단을 포함한다. 변환 생략 여부를 지시하는 플래그는 설명의 편의 상 변환 생략 플래그(transform_skip_flag) 또는 제1 정보로 표현될 수 있다.In step S510, a transform block in which the size of the current coding unit satisfies a size condition to which the transform omission is applicable, that is, a transform block requiring parsing of a transform (skip_flag) indicating whether or not the transform block is omitted exists in the current coding unit. Includes judgment of whether it can. The flag indicating whether to omit the transform may be expressed as a transform omit flag (transform_skip_flag) or first information for convenience of description.

한편, 본 발명의 일 실시예에 따르면, 대표 플래그를 파싱하기 전에 대표 플래그를 이용하여 변환 생략 여부를 결정하는 기능을 사용하는지 여부를 나타내는 플래그 정보를 더 수신할 수 있다. 대표 플래그를 사용하여 변환 생략을 대표하는 기능을 사용하는지 여부를 지시하는 플래그 정보는 아래 표 1과 같이 시그널링될 수 있으며, 복호화 장치는 이를 수신할 수 있다. Meanwhile, according to an embodiment of the present invention, before parsing the representative flag, it is possible to further receive flag information indicating whether to use a function for determining whether to omit conversion using the representative flag. Flag information indicating whether or not to use a function representative of conversion omission using a representative flag may be signaled as shown in Table 1 below, and the decoding apparatus may receive it.

<표 1><Table 1>

Figure 112014119265441-pat00001

Figure 112014119265441-pat00001

또한, 변환 생략기능 자체가 사용되지 않을 경우는 변환 생략 정보를 대표하여 시그널링하는 기능 자체도 필요 없게 되므로, 대표 플래그를 사용하여 변환 생략 기능을 사용하는지 여부를 지시하는 플래그 정보인 transform_skip_enabled_flag 정보와 연계하여, 대표 플래그를 사용하여 변환 생략을 대표하는 기능을 사용하는지 여부를 지시하는 플래그 정보는 아래 표 2와 같이 시그널링될 수 있으며, 복호화 장치는 이를 수신한다. In addition, when the transform omission function itself is not used, since the function for signaling the transform omission information itself is not required, it is necessary to link the transform_skip_enabled_flag information, which is flag information indicating whether to use the transform omission function using a representative flag. , Flag information indicating whether or not to use a function representative of conversion omission using a representative flag may be signaled as shown in Table 2 below, and the decoding apparatus receives it.

<표 2><Table 2>

Figure 112014119265441-pat00002

Figure 112014119265441-pat00002

표 2에 따른 실시예에서 transform_skip_enabled_flag가 0일 경우에는 transform_skip_group_signalling_enabled_flag는 시그널링 되지 않으며, 이때, 복호화 장치는 이 값을 0으로 유추한다.In the embodiment according to Table 2, when transform_skip_enabled_flag is 0, transform_skip_group_signalling_enabled_flag is not signaled, and the decoding device infers this value to 0.

표 1 및 표 2에 도시된 바와 같은 본 발명의 실시예에 따른 대표 플래그의 기능 자체를 사용할지 여부를 나타내는 정보(transform_skip_group_signalling_enabled_flag)는 소정의 파라미터 세트를 통해 전송될 수 있다. Information (transform_skip_group_signalling_enabled_flag) indicating whether to use the function of the representative flag according to an embodiment of the present invention as shown in Table 1 and Table 2 may be transmitted through a predetermined parameter set.

구체적으로는, 상위 레벨인 시퀀스 파라미터 세트(Sequence parameter set) 또는 픽쳐 파라미터 세트(Picture parameter set)의 익스텐션(extension) 레벨을 통하여 시그널링 될 수 있다. 예를 들어, sps_range_extensions (sequence parameter set range extensions), sps_scc_extensions (sequence parameter set screen content coding extensions), pps_range_extensions (picture parameter set range extensions)또는 pps_range_extensions (picture parameter set screen content coding extensions)을 통하여 시그널링 될 수 있다.Specifically, it may be signaled through an extension level of a sequence parameter set or a picture parameter set, which is a higher level. For example, it may be signaled through sps_range_extensions (sequence parameter set range extensions), sps_scc_extensions (sequence parameter set screen content coding extensions), pps_range_extensions (picture parameter set range extensions) or pps_range_extensions (picture parameter set screen content coding extensions).

만일, transform_skip_group_signalling_enabled_flag가 1이면 변환 생략을 대표하는 기능을 사용하는 것을 나타내므로 코딩 유닛 레벨에서 대표 플래그가 시그널링 될 수 있다. transform_skip_group_signalling_enabled_flag가 0이면 변환 생략을 대표하는 기능을 사용하지 않는 것을 나타낼 수 있으며, 또는 부호화 장치 및 복호화 장치에서 사전에 설정된 다른 의미로 사용될 수 있다. If transform_skip_group_signalling_enabled_flag is 1, it indicates that a function representing transform omission is used, and thus a representative flag may be signaled at a coding unit level. If transform_skip_group_signalling_enabled_flag is 0, it may indicate that a function representing transform omission is not used, or it may be used in a different meaning set in advance in the encoding device and the decoding device.

변환 생략 정보를 대표하여 시그널링하는 기능이 사용되지 않는 경우, 상기 transform_skip_group_signalling_enabled_flag는 시그널링되지 않을 수도 있다.If the function for signaling the transform omission information is not used, the transform_skip_group_signalling_enabled_flag may not be signaled.

변환 생략을 대표하는 기능을 사용하는 경우(transform_skip_group_signalling_enabled_flag=1), 다음 표 3과 같이 본 발명의 일 실시예에 따른 대표 플래그가 시그널링될 수 있다. When a function representing transform omission is used (transform_skip_group_signalling_enabled_flag=1), a representative flag according to an embodiment of the present invention may be signaled as shown in Table 3 below.

<표 3><Table 3>

Figure 112014119265441-pat00003

Figure 112014119265441-pat00003

표 3을 참조하여 설명하면, 단계 S510 단계에서의 대표 플래그 파싱 조건이 만족되는 경우는 다음과 같을 수 있다. Referring to Table 3, when the representative flag parsing condition in step S510 is satisfied, it may be as follows.

1) 표 1에서 시그널링되는 transform_skip_group_signalling_enabled_flag가 1이고, 1) transform_skip_group_signalling_enabled_flag signaled in Table 1 is 1,

2) 변환 생략의 적용이 가능한지 여부를 지시하는 플래그(transform_skip_enabled_flag)가 1이고, 2) A flag (transform_skip_enabled_flag) indicating whether transformation omission is applicable is 1,

3) 현재 코딩 유닛이 무손실 부호화 되지 않고(!cu_transquant_bypass_flag), 3) The current coding unit is not losslessly coded (!cu_transquant_bypass_flag),

4) 현재 코딩 유닛에서 분할될 수 있는 최소 크기의 변환 블록이 변환 생략이 적용될 수 있는 최대 변환 블록 크기보다 작거나 같은 경우(if ( ( log2CbSize - MaxTrafoDepth - (ChromaArrayType % 3 = = 0 ? 0 : 1 ) )<= Log2MaxTransformSkipSize)를 만족하는 경우일 수 있다. 4) When the minimum sized transform block that can be split in the current coding unit is equal to or smaller than the maximum transformed block size to which transform omission can be applied (if ((log2CbSize-MaxTrafoDepth-(ChromaArrayType% 3 = = 0? 0: 1 ) )<= Log2MaxTransformSkipSize).

상기 1), 2), 3) 및 4)를 만족하는 경우, 복호화 장치는 변환 생략 여부를 지시하는 제1 정보를 대표하는 대표 플래그(transform_skip_all_zeros_in_cu_flag)를 파싱하는 것으로 판단할 수 있다.If the above 1), 2), 3) and 4) are satisfied, the decoding apparatus may determine that the representative flag (transform_skip_all_zeros_in_cu_flag) representing the first information indicating whether to omit the transform is parsed.

상기 1), 2), 3) 및 4) 중 적어도 하나를 만족하지 못하는 경우(예를 들어, 현재 코딩 유닛 내에 변환 생략이 가능한 크기의 변환 블록이 존재할 수 없는 경우, 또는 본 발명의 대표 플래그를 사용하지 않는다고 지시되는 경우 등), 복호화 장치는 대표 플래그 파싱 조건이 만족되지 않은 것으로 판단하여 대표 플래그를 파싱하지 않을 수 있다. 이러한 경우, 복호화 장치는 대표 플래그(transform_skip_all_zeros_in_cu_flag)의 값을 0으로 간주하고(S511), 후속 복호화 과정을 수행할 수 있다(S515). If at least one of 1), 2), 3), and 4) is not satisfied (for example, a transform block having a size capable of omitting transform cannot exist in the current coding unit), or a representative flag of the present invention The decoding device may not parse the representative flag because it is determined that the representative flag parsing condition is not satisfied. In this case, the decoding apparatus regards the value of the representative flag (transform_skip_all_zeros_in_cu_flag) as 0 (S511), and may perform a subsequent decoding process (S515).

대표 플래그 파싱 조건(상기 표 3을 참조하여 설명한 조건)을 만족하여 대표 플래그를 파싱하는 것으로 판단한 경우, 복호화 장치는 변환 생략 여부를 지시하는 제1 정보를 대표하는 대표 플래그를 파싱한다(S520).When it is determined that the representative flag is parsed by satisfying the representative flag parsing condition (the condition described with reference to Table 3 above), the decoding apparatus parses the representative flag representing the first information indicating whether or not to skip conversion (S520).

상기 파싱된 대표 플래그의 값이 1이면(S530), 복호화 장치는 대표 플래그가 대표하는 제1 정보가 적용될 변환 블록인지 여부를 판단하기 위하여 (즉, 만일 제1 정보가 적용될 변환 블록이라면 제1 정보를 파싱하지 않기 위하여), 제1 정보의 파싱 생략 조건이 만족되는지 판단한다(S540).If the value of the parsed representative flag is 1 (S530), the decoding device determines whether the representative flag is a transform block to which the first information is applied (ie, the first information if the first information is a transform block to be applied) To not parse), it is determined whether a condition for omitting parsing of the first information is satisfied (S540).

표 3의 실시예에서, 제1 정보 파싱 생략 조건은 현재 복호화할 변환 블록이 현재 코딩 유닛에서 분할될 수 있는 최대 깊이의 변환 유닛인지 여부일 수 있다. In the embodiment of Table 3, the first information parsing omission condition may be whether a transform block to be currently decoded is a transform unit having a maximum depth that can be split in a current coding unit.

만일, 현재 복호화할 변환 블록이 최대 깊이(MaxTrafoDepth)의 변환 유닛에 해당되는 경우, 복호화 장치는 복호화할 변환 블록에 대한 제1 정보를 파싱하지 않고 제1 정보를 0으로 유추할 수 있다(S550). 여기서, 제1 정보가 0의 값을 가지는 경우는 변환 블록에 대해 변환 생략을 적용하지 않는다는 것을 의미한다. 즉, 변환 블록에 대해 변환을 수행하는 것을 의미한다. If the transform block to be currently decoded corresponds to a transform unit having a maximum depth (MaxTrafoDepth), the decoding apparatus may infer the first information to 0 without parsing the first information about the transform block to be decoded (S550). . Here, when the first information has a value of 0, it means that transform omission is not applied to the transform block. That is, it means that the transform is performed on the transform block.

다시 말해, 단계 S540 조건을 만족하는 경우, 복호화 장치는 코딩 유닛으로부터 분할된 최대 깊이의 변환 유닛에 포함되는 변환 블록에 대해 변환 생략이 적용되지 않은 것으로 판단하고, 변환 생략 여부를 나타내는 제1 정보의 파싱이 필요 없는 것으로 판단할 수 있다. In other words, when the condition of step S540 is satisfied, the decoding apparatus determines that transformation omission has not been applied to the transform block included in the transform unit having the maximum depth divided from the coding unit, and displays the first information indicating whether or not to omit the transform. It can be determined that no parsing is necessary.

제1 정보가 0의 값을 가지는 경우(제1 정보가 변환 블록에 대해 변환 생략을 적용하지 않은 것으로 지시하는 경우), 복호화 장치는 변환 블록에 대하여 변환 생략을 적용하지 않고, 즉 변환 과정을 수행하고 후속적인 복호화 과정을 수행할 수 있다(S560). When the first information has a value of 0 (if the first information indicates that transform omission is not applied to the transform block), the decoding apparatus does not apply transform omission to the transform block, that is, performs a transform process And may perform a subsequent decoding process (S560).

단계 S530에서 대표 플래그가 0이거나, 단계 S540에서 제1 정보 파싱 생략 조건을 만족하지 못하였을 경우, 복호화 장치는 기존 방법대로 변환 블록에 대하여 개별적으로 변환 생략 여부를 나타내는 제1 정보를 파싱한다(S570).If the representative flag is 0 in step S530 or the first information parsing omission condition is not satisfied in step S540, the decoding apparatus parses the first information indicating whether or not to individually transform the transform block according to the existing method (S570). ).

즉, 대표 플래그가 0이면, 제1 정보(transform_skip_flag) 시그널링을 위한 일련의 과정은 종래의 방법 대로 수행되는 것을 의미하고, 이는 transform_skip_flag 시그널링이 요구되는 변환 블록 마다 제1 정보가 시그널링되는 것을 뜻한다. 한편 일부 간단한 또 다른 실시예에서는, 상기 대표 플래그가 0일 경우, 복호화 장치가 변환 블록에 대한 제1 정보를 파싱하는 S570 단계를 생략하고 제1 정보의 값을 1로 유추하도록 (즉, 변환 생략을 하도록) 간략하게 구현할 수 도 있다.That is, if the representative flag is 0, it means that a series of processes for signaling the first information (transform_skip_flag) is performed according to a conventional method, which means that the first information is signaled for each transform block requiring transform_skip_flag signaling. On the other hand, in some other simple embodiments, when the representative flag is 0, the decoding apparatus omits the step S570 of parsing the first information about the transform block and infers the value of the first information to 1 (that is, the transform is omitted) Can be implemented simply.

만약, 대표 플래그(transform_skip_all_zeros_in_cu_flag)가 존재하지 않는 경우, 대표 플래그는 0으로 간주될 수 있다.If the representative flag (transform_skip_all_zeros_in_cu_flag) does not exist, the representative flag may be regarded as 0.

제1 정보에 따라 변환 블록은 변환이 수행될 수도 있고, 변환이 생략될 수도 있다. 즉, 복호화 장치는 제1 정보에 기초하여 변환 생략 여부에 따른 변환 생략 혹은 변환 과정 및 후속적인 복호화 과정을 수행할 수 있다(S560, S580).Transformation may be performed on the transform block according to the first information, or the transform may be omitted. That is, the decoding apparatus may perform a transform omission or a transform process according to whether or not a transform is omitted based on the first information, and a subsequent decoding process (S560, S580).

다음 표 4는 본 발명의 일 실시예에 따른 대표 플래그(transform_skip_all_zeros_in_cu_flag)를 이용한 변환 생략 여부를 나타내는 제1 정보(transform_skip_flag)를 시그널링하는 신택스(syntax)의 일예를 나타낸 것이다. Table 4 below shows an example of syntax signaling the first information (transform_skip_flag) indicating whether or not to skip the transform using the representative flag (transform_skip_all_zeros_in_cu_flag) according to an embodiment of the present invention.

<표 4><Table 4>

Figure 112014119265441-pat00004

Figure 112014119265441-pat00004

표 4를 참조하면, 대표 플래그(transform_skip_all_zeros_in_cu_flag)는 제1 정보 파싱 생략 조건(S540)을 만족하는 변환 블록들의 변환 생략 플래그를 대표할 수 있다. 상술한 바와 같이, 복호화 장치는 대표 플래그가 1인 경우 제1 정보 파싱 생략 조건을 판단함으로써 개별적인 변환 생략 플래그의 파싱 여부를 판단할 수 있다.Referring to Table 4, the representative flag (transform_skip_all_zeros_in_cu_flag) may represent a transform omission flag of transform blocks that satisfy the first information parsing omission condition (S540). As described above, when the representative flag is 1, the decoding apparatus may determine whether to parse the individual conversion omission flag by determining the first information parsing omission condition.

제1 정보 파싱 생략은 대표 플래그인 transform_skip_all_zeros_in_cu_flag가 1이고, 변환 블록이 코딩 유닛으로부터 분할되는 최대 깊이의 변환 유닛에 포함되는 (log2TrafoSize == Max(2, log2CbSize - MaxTrafoDepth - (ChromaArrayType % 3 == 0 ? 0 : (cIdx?1:0)))) 블록인 조건을 만족하는 경우일 수 있다. 이 파싱 생략 조건을 만족하는 경우 현재 복호화하는 변환 블록의 제1 정보는 파싱되지 않고, 대신 변환 생략을 적용하지 않는다는 것을 의미하는 값인 0으로 설정될 수 있다(transform_skip_flag[x0][y0][cIdx] = 0).In the first information parsing omission, the representative flag transform_skip_all_zeros_in_cu_flag is 1, and (log2TrafoSize == Max(2, log2CbSize-MaxTrafoDepth-(ChromaArrayType% 3 == 0? 0: (cIdx?1:0)))) It may be the case that the block condition is satisfied. When the parsing omission condition is satisfied, the first information of the currently decoded transform block is not parsed, and may be set to 0, which means that transform omission is not applied (transform_skip_flag[x0][y0][cIdx] = 0).

S540의 조건 적용은, 기본적으로 기존 기술에서 사용하는 변환 생략 기능이 적용될 수 있는 블록 (예를 들어, 현재 복호화하는 변환 블록이 변환 생략이 적용되는 최대 변환 블록 크기 이하의 변환 블록으로써, 부호화된 변환계수 정보가 있는 (즉, CBF가 1이라는 의미) 변환 블록)을 대상으로 한다는 것은 기존 기술과 동일하므로, 이곳에서의 중복된 설명은 생략한다.The application of the condition of S540 is basically a block to which a transform omission function used in the existing technology can be applied (for example, a transform block having a size less than or equal to a maximum transform block size to which a transform block to be currently decoded is subjected to transform omission) is encoded. Targeting the coefficient information (that is, CBF means 1) transform block) is the same as the existing technology, and thus, redundant description is omitted here.

상술한 본 발명의 실시예에 따를 경우, 대표 플래그는 현재 코딩 유닛으로부터 분할될 수 있는 최대 깊이의 변환 유닛에 속하는 변환 블록의 변환 생략 여부를 대표할 수 있다. 이는 도 3을 참조하여 대표 플래그가 대표하는 코딩 유닛 내의 변환 블록들을 설명한 바 있다. According to the above-described embodiment of the present invention, the representative flag may represent whether to skip conversion of a transform block belonging to a transform unit having a maximum depth that can be split from the current coding unit. This has described transform blocks in a coding unit represented by a representative flag with reference to FIG. 3.

또한, 본 발명에서는 대표 플래그가 특정 깊이 혹은 변환 생략이 가능한 크기의 모든 변환 유닛들을 대표할 수 있다. 이는 도 4를 참조하여 대표 플래그가 변환 생략이 가능한 크기의 모든 변환 유닛들을 대표하는 경우에 대해 설명한 바 있다. 대표 플래그가 특정 깊이 혹은 변환 생략이 가능한 크기의 모든 변환 유닛들을 대표하는 실시예에 대해서는 도 6을 참조하여 설명하도록 한다.
In addition, in the present invention, a representative flag can represent all conversion units having a specific depth or a size capable of omitting conversion. This has been described with reference to FIG. 4 when a representative flag represents all conversion units having a size capable of omitting conversion. An embodiment in which the representative flag represents all conversion units having a specific depth or a size capable of omitting conversion will be described with reference to FIG. 6.

도 6은 본 발명의 다른 실시예에 따른 변환 생략 여부를 대표하는 대표 플래그를 이용한 영상 복호화 방법을 나타낸 순서도이다. 도 6의 방법은 상술한 도 2의 영상 복호화 장치에 의해 수행될 수 있다. 6 is a flowchart illustrating an image decoding method using a representative flag representing whether or not to skip conversion according to another embodiment of the present invention. The method of FIG. 6 may be performed by the image decoding apparatus of FIG. 2 described above.

도 6을 참조하면, 복호화 장치는 현재 코딩 유닛(CU)에 대하여 대표 플래그를 파싱할 것인지를 결정하기 위하여, 대표 플래그 파싱 조건 만족 여부를 판단한다(S610).Referring to FIG. 6, in order to determine whether to parse a representative flag for the current coding unit (CU), the decoding apparatus determines whether the representative flag parsing condition is satisfied (S610).

이때, 본 실시예에 따른 대표 플래그는 상기 표 3에서와 같이 시그널링될 수 있다. 따라서, 대표 플래그 파싱 조건이 표 3을 참조하여 설명한 바와 동일한 조건을 만족할 경우, 복호화 장치는 대표 플래그를 파싱한다(S620). 대표 플래그 파싱 조건에 대해서는 표 3을 참조하여 설명한 바 있으므로, 여기서는 설명을 생략한다. At this time, the representative flag according to the present embodiment may be signaled as in Table 3 above. Therefore, when the representative flag parsing condition satisfies the same condition as described with reference to Table 3, the decoding apparatus parses the representative flag (S620). Since the representative flag parsing conditions have been described with reference to Table 3, the description is omitted here.

만일, 대표 플래그 파싱 조건을 만족하지 못하는 경우, 복호화 장치는 대표 플래그를 파싱하지 않고 대표 플래그 값을 0으로 간주하고(S611), 후속 복호화 과정을 수행할 수 있다(S615).If the representative flag parsing condition is not satisfied, the decoding apparatus does not parse the representative flag, regards the representative flag value as 0 (S611), and may perform a subsequent decoding process (S615).

대표 플래그 파싱 조건을 만족하여 파싱된 대표 플래그가 1이면(S630), 복호화 장치는 코딩 유닛으로부터 분할될 변환 유닛에 포함되는 변환 블록의 변환 생략 여부를 지시하는 제1 정보를 파싱하지 않고 변환 블록에 대한 제1 정보를 0으로 유추할 수 있다(S650).If the representative flag parsed by satisfying the representative flag parsing condition is 1 (S630), the decoding apparatus does not parse the first information indicating whether or not to skip the transformation of the transform block included in the transform unit to be split from the coding unit, without parsing. It can be inferred that the first information for the 0 (S650).

반면, 파싱된 대표 플래그가 0이면, 복호화 장치는 변환 블록에 대한 제1 정보를 파싱하고(S670), 이 파싱된 제1 정보의 값에 따라 변환 생략하거나(제1 정보가 1인 경우) 변환을 수행(제1 정보가 0인 경우)할 수 있다. 한편 일부 간단한 또 다른 실시예에서는, 상기 파싱된 대표 플래그가 0일 경우, 복호화 장치가 변환 블록에 대한 제1 정보를 파싱하는 S670 단계를 생략하고 제1 정보의 값을 1로 유추하도록 (즉, 변환 생략을 하도록) 간략하게 구현할 수 도 있다.On the other hand, if the parsed representative flag is 0, the decoding device parses the first information about the transform block (S670), and omits the transform according to the value of the parsed first information (if the first information is 1) or transforms it. Can be performed (when the first information is 0). On the other hand, in some other simple embodiments, when the parsed representative flag is 0, the decoding apparatus omits the step S670 of parsing the first information about the transform block and infers the value of the first information to 1 (that is, It can also be implemented briefly (to avoid the conversion).

즉, 복호화 장치는 코딩 유닛이 포함하는 부호화되는 변환 블록 중 그 블록이 변환 생략이 적용될 수 있는 최대 변환 블록의 크기 보다 크지 않고, 대표 플래그가 1의 값을 갖는 경우 그 블록에 대한 제1 정보의 파싱이 필요 없는 것으로 판단하고, 제1 정보는 0으로 유추할 수 있다.That is, the decoding apparatus of the first information about the block of the coded unit included in the coded block is not larger than the size of the maximum transformed block to which transformation omission can be applied and the representative flag has a value of 1 It is determined that no parsing is necessary, and the first information can be inferred as 0.

본 실시예에 따르면, 변환 깊이를 고려하지 않고, 복호화 중인 코딩 유닛 내의 변환 생략이 가능한 조건 (변환 생략이 가능한 블록 크기를 갖는 부호화된 변환블록)을 만족하는 변환 블록들의 변환 생략 플래그를 대표할 수 있다.According to the present exemplary embodiment, a conversion omission flag of transform blocks that satisfy a condition in which transform omission in a coding unit being decoded (encoded transform block having a block size capable of transform omission) is satisfied without representing a transform depth may be represented. have.

다음 표 5는 본 발명의 다른 실시예에 따른 대표 플래그(transform_skip_all_zeros_in_cu_flag)를 이용한 변환 생략 여부를 나타내는 제1 정보(transform_skip_flag)를 시그널링하는 신택스(syntax)의 일예를 나타낸 것이다. Table 5 below shows an example of syntax signaling the first information (transform_skip_flag) indicating whether or not to skip the transform using the representative flag (transform_skip_all_zeros_in_cu_flag) according to another embodiment of the present invention.

<표 5>Table 5

Figure 112014119265441-pat00005

Figure 112014119265441-pat00005

표 5를 참조하면, 대표 플래그 (transform_skip_all_zeros_in_cu_flag)가 1이면, 제1 정보는 파싱되지 않고 0으로 설정될 수 있다(transform_skip_flag[x0][y0][cIdx]=0).Referring to Table 5, if the representative flag (transform_skip_all_zeros_in_cu_flag) is 1, the first information may be parsed and set to 0 (transform_skip_flag[x0][y0][cIdx]=0).

즉, 본 실시예에 따를 경우, 복호화 장치는 대표 플래그가 1인 경우 코딩 유닛 내의 변환 블록들에 대해 개별적으로 변환 생략 플래그를 파싱하지 않을 수 있다.That is, according to the present embodiment, when the representative flag is 1, the decoding apparatus may not parse the transform omission flag individually for transform blocks in the coding unit.

제1 정보가 0으로 유추되면, 복호화 장치는 제1 정보에 의해 변환 생략 여부가 결정되는 변환 블록에 대하여 변환 생략을 적용하지 않고, 즉 변환을 수행하고 후속적인 복호화 과정을 수행할 수 있다(S660).If the first information is inferred as 0, the decoding apparatus may not apply transform omission to the transform block for which the transform is determined by the first information, that is, perform transformation and perform a subsequent decoding process (S660). ).

단계 S630에서 대표 플래그가 0이면, 복호화 장치는 기존 방법대로 변환 블록에 대해 개별적으로 변환 생략 여부를 나타내는 제1 정보를 파싱한다(S670).If the representative flag is 0 in step S630, the decoding apparatus parses the first information indicating whether or not to individually transform the transform block in the conventional method (S670).

즉, 대표 플래그가 0이면, 각 변환 블록의 transform_skip_flag 파싱을 위한 일련의 과정은 종래의 방법 대로 수행되는 것을 의미한다. 즉, transform_skip_flag 시그널링이 요구되는 변환 블록 마다 제1 정보가 파싱된다. That is, if the representative flag is 0, it means that a series of processes for parsing transform_skip_flag of each transform block is performed according to a conventional method. That is, the first information is parsed for each transform block for which transform_skip_flag signaling is required.

만약, 대표 플래그(transform_skip_all_zeros_in_cu_flag)가 존재하지 않는 경우, 대표 플래그는 0으로 간주될 수 있다.If the representative flag (transform_skip_all_zeros_in_cu_flag) does not exist, the representative flag may be regarded as 0.

제1 정보에 따라 변환 블록은 변환이 수행될 수도 있고, 변환이 생략될 수도 있다. 즉, 복호화 장치는 제1 정보에 기초하여 변환 생략 여부에 따른 변환 생략 혹은 변환 과정 및 후속적인 복호화 과정을 수행할 수 있다(S660, S680).
Transformation may be performed on the transform block according to the first information, or the transform may be omitted. That is, the decoding apparatus may perform a transform omission or a transform process according to whether or not a transform is omitted based on the first information and a subsequent decoding process (S660, S680).

본 발명에서는 상술한 바와 같이 대표 플래그가 코딩 유닛으로부터 분할되는 변환 블록의 변환 생략 여부를 대표할 수 있다. 또한, 본 발명에서는 도 5를 통해 전술한 최대 변환 깊이의 제1 정보를 대표하는 대표 플래그를 이용하는 실시예에 있어, 변환 유닛의 분할 여부를 판단할 수 있다. 이에 대해서는 도 7을 참조하여 설명한다.
In the present invention, as described above, it is possible to represent whether or not conversion of a transform block in which a representative flag is split from a coding unit is omitted. In addition, in the embodiment of the present invention using the representative flag representing the first information of the maximum conversion depth described above with reference to FIG. 5, it is possible to determine whether or not the conversion unit is divided. This will be described with reference to FIG. 7.

도 7은 본 발명의 일 실시예에 따른 대표 플래그를 참조하여 변환 유닛의 분할 여부를 나타내는 분할 정보를 유추하는 과정을 나타낸 순서도이다. 도 7의 방법은 상술한 도 2의 영상 복호화 장치에 의해 수행될 수 있다. 7 is a flowchart illustrating a process of inferring division information indicating whether a conversion unit is divided by referring to a representative flag according to an embodiment of the present invention. The method of FIG. 7 may be performed by the image decoding apparatus of FIG. 2 described above.

도 7의 단계 S710 및 단계 S730은 도 5의 단계 S510 및 단계 S530과 유사하므로 중복된 설명은 생략한다. 즉, 본 실시예에 따른 대표 플래그는 현재 코딩 유닛으로부터 분할될 수 있는 최대 깊이의 분할 유닛에 속하는 변환 블록의 변환 생략을 대표하고, 이러한 대표 플래그에 기초하여 변환 유닛의 분할 여부가 판단될 수 있다.Step S710 and step S730 of FIG. 7 are similar to step S510 and step S530 of FIG. 5, so a duplicate description is omitted. That is, the representative flag according to the present embodiment represents conversion omission of a transform block belonging to a split unit having a maximum depth that can be split from the current coding unit, and whether or not to split the transform unit can be determined based on the representative flag. .

대표 플래그가 파싱되면, 복호화 장치는 대표 플래그에 기초하여 변환 유닛의 분할 여부를 나타내는 제2 정보(split_transform_flag)의 파싱 여부를 판단할 수 있다. 판단 결과, 제2 정보의 파싱이 필요 없는 경우 대표 플래그에 기초하여 제2 정보를 유추하고, 제2 정보의 파싱이 필요한 경우 제2 정보를 파싱할 수 있다. When the representative flag is parsed, the decoding apparatus may determine whether to parse the second information (split_transform_flag) indicating whether the transform unit is split based on the representative flag. As a result of determination, when the second information is not required to be parsed, the second information may be inferred based on the representative flag, and when the second information is required to be parsed, the second information may be parsed.

만약, 대표 플래그가 1이면, 복호화 장치는 변환 유닛에 대한 변환 깊이가 0인지 여부를 판단할 수 있다(S740). If the representative flag is 1, the decoding apparatus may determine whether the transform depth for the transform unit is 0 (S740).

만약, 변환 유닛에 대한 변환 깊이가 0이면, 복호화 장치는 변환 깊이가 0인 변환 유닛에 대한 제2 정보를 파싱하지 않고 제2 정보를 1로 유추할 수 있다(S750).If the transform depth for the transform unit is 0, the decoding apparatus may infer the second information to 1 without parsing the second information for the transform unit having a transform depth of 0 (S750).

즉, 단계 S740을 만족하면, 복호화 장치는 코딩 유닛의 크기와 동일한 크기를 갖는 변환 유닛의 분할 여부를 지시하는 제2 정보(변환 깊이 0 -> 1의 분할 여부를 지시하는 split_transform_flag)의 파싱이 필요 없는 것으로 판단할 수 있다. That is, when the step S740 is satisfied, the decoding apparatus needs to parse the second information (split_transform_flag indicating whether to split transform depth 0 -> 1) indicating whether to split the transform unit having the same size as the size of the coding unit. It can be judged as missing.

이때, 현재 코딩 유닛의 크기는 분할된 변환 유닛을 가질 수 있는 조건을 만족해야 한다. 예를 들어, 최소 변환 유닛의 크기가 8X8로 설정되어 있고, 현재 코딩 유닛의 크기가 8X8인 경우, 현재 코딩 유닛은 분할된 변환 유닛을 가질 수 없기 때문에 분할 여부가 판단될 필요가 없다.At this time, the size of the current coding unit must satisfy the condition that can have a split transform unit. For example, if the size of the minimum transform unit is set to 8X8, and the size of the current coding unit is 8X8, it is not necessary to determine whether to split because the current coding unit cannot have a split transform unit.

다음 표 6은 본 발명의 일 실시예에 따른 대표 플래그(transform_skip_all_zeros_in_cu_flag)를 이용한 변환 유닛의 분할 여부를 나타내는 제2 정보(split_transform_flag)를 시그널링하는 신택스(syntax)의 일예를 나타낸 것이다. Table 6 shows an example of syntax signaling the second information (split_transform_flag) indicating whether the transform unit is split using the representative flag (transform_skip_all_zeros_in_cu_flag) according to an embodiment of the present invention.

<표 6><Table 6>

Figure 112014119265441-pat00006

Figure 112014119265441-pat00006

표 6을 참조하면, 대표 플래그(transform_skip_all_zeros_in_cu_flag)가 1이고, 변환 깊이가 0이면(trafoDepth = 0), 제2 정보는 파싱되지 않고 1로 설정될 수 있다(split_transform_flag[ x0 ][ y0 ][ trafoDepth ] = 1).Referring to Table 6, if the representative flag (transform_skip_all_zeros_in_cu_flag) is 1 and the transformation depth is 0 (trafoDepth = 0), the second information may be set to 1 without being parsed (split_transform_flag[ x0 ][ y0 ][ trafoDepth] = 1).

제2 정보가 1로 유추되면, 복호화 장치는 해당 변환 유닛에 대하여 분할을 수행하고(S760), 후속적인 복호화를 수행할 수 있다(S780).When the second information is inferred to be 1, the decoding apparatus may perform division on the corresponding transform unit (S760) and perform subsequent decoding (S780).

한편, 변환 깊이가 0이 아닌 변환 유닛에 대하여는 기존의 방식과 같이 제2 정보(변환 깊이 0 -> 1 이외의 분할 여부를 지시하는 split_transform_flag)를 파싱하여 변환 유닛의 분할 여부를 판단한다. On the other hand, for a transform unit having a transform depth other than 0, parsing of the second information (split_transform_flag indicating whether to split other than transform depth 0 -> 1) is parsed as in the conventional method to determine whether to split the transform unit.

만약, 단계 S730에서 대표 플래그가 0이거나, 단계 S740에서 변환 유닛의 변환 깊이가 0이 아니면, 복호화 장치는 기존 방법 대로, 제2 정보를 파싱하여 변환 유닛의 분할 여부를 판단한다(S770). If the representative flag is 0 in step S730 or the transform depth of the transform unit is not 0 in step S740, the decoding apparatus parses the second information to determine whether to split the transform unit (S770).

제2 정보가 파싱되면, 변환 블록은 분할이 수행(S760)될 수도 있고, 분할이 생략될 수도 있고, 이에 따라 복호화 장치는 후속적인 복호화 과정을 수행할 수 있다(S780).When the second information is parsed, the transform block may be split (S760) or split may be omitted, and accordingly, the decoding apparatus may perform a subsequent decoding process (S780).

본 실시예를 정리하면, 대표 플래그가 1인 경우, 코딩 유닛이 최대 변환 깊이까지 분할될 수 있으므로, 변환 깊이가 0인 변환 유닛에 대하여는 분할 플래그를 시그널링 하지 않고 분할 유닛이 분할되는 것으로 유추한다.
In summary, when the representative flag is 1, since the coding unit can be split up to the maximum transform depth, it is inferred that the split unit is split without signaling a split flag for a transform unit having a transform depth of 0.

한편, 본 발명에서는 상술한 대표 플래그가 코딩 유닛에 적용된 예측 모드에 대응하여 적용될 수 있다. 즉, 코딩 유닛에 적용된 특정 예측 모드에 대응하여 대표 플래그의 시그널링 여부가 결정될 수 있다. Meanwhile, in the present invention, the above-described representative flag may be applied corresponding to the prediction mode applied to the coding unit. That is, whether the representative flag is signaled may be determined according to a specific prediction mode applied to the coding unit.

일예로, 코딩 유닛의 예측 모드가 미리 약속된 특정 예측 모드인 경우에만 제안된 대표 플래그가 시그널링될 수 있다.As an example, the proposed representative flag may be signaled only when the prediction mode of the coding unit is a specific predetermined prediction mode.

다른 예로, 코딩 유닛의 예측 모드가 인트라 모드 또는 IBC(Intra Block Copy) 예측 모드인 경우에 제안된 대표 플래그가 시그널링될 수 있다. 이 경우, 복호화 장치는 예측 모드가 인트라 모드 또는 IBC 예측 모드인 경우에만 대표 플래그를 파싱할 수 있다. 또는 스크린 컨텐츠에 대한 예측 모드인 경우, 또는 특정 모드를 한정하는 시그널링에 의하여 코딩 유닛의 예측 모드가 한정되는 경우, 해당 예측 모드에만 대표 플래그가 시그널링 될 수 있다.As another example, when the prediction mode of the coding unit is an intra mode or an intra block copy (IBC) prediction mode, the proposed representative flag may be signaled. In this case, the decoding apparatus may parse the representative flag only when the prediction mode is intra mode or IBC prediction mode. Alternatively, in the case of a prediction mode for screen content, or when a prediction mode of a coding unit is limited by signaling defining a specific mode, a representative flag may be signaled only in the prediction mode.

IBC 예측은 현재 픽쳐 내에서 동일한(또는 유사한) 영역 또는 객체가 존재하는 경우 사용될 수 있는 예측 방법으로, 복호화 장치는 IBC 모드를 사용하여 현재 블록에 대한 예측 값을 생성할 수 있다.
IBC prediction is a prediction method that can be used when the same (or similar) region or object exists in the current picture, and the decoding apparatus can generate a prediction value for the current block using the IBC mode.

도 8은 본 발명의 일 실시예에 따른 IBC 예측을 설명하기 위한 도면이다.8 is a diagram for explaining IBC prediction according to an embodiment of the present invention.

IBC 예측의 경우, 현재 픽쳐에 있는 특정 영역이 현재 블록의 참조 블록으로 사용될 수 있으며, 이 특정 영역의 위치를 표시하기 위하여 인터 예측에 사용된 움직임 벡터와 유사하게 블록 벡터(block vector, 이하, BV)가 사용될 수 있다. In the case of IBC prediction, a specific region in the current picture may be used as a reference block of the current block, and a block vector (hereinafter, BV) similar to a motion vector used for inter prediction to indicate the location of the specific region ) Can be used.

기존의 인터 예측의 경우, 참조 픽쳐는 현재 픽쳐와 다른 이전 픽쳐 또는 이후 픽쳐 이지만, IBC 예측의 경우의 경우 참조 픽쳐는 현재 픽쳐가 되고, 블록 벡터는 현재 픽쳐에서 참조 블록을 지시하는 벡터를 나타낸다.In the case of the existing inter prediction, the reference picture is a previous picture or a subsequent picture different from the current picture, but in the case of IBC prediction, the reference picture becomes the current picture, and the block vector represents a vector indicating a reference block in the current picture.

도시된 바와 같이, 본 발명의 일 예에 따르면 현재 픽쳐 내 현재 예측 블록과 이웃한 좌측의 CTU(coding tree unit)에 존재하는 영역이 현재 예측 블록의 참조 블록으로 선택될 수 있다. As illustrated, according to an example of the present invention, a region existing in a coding tree unit (CTU) on the left side of a current prediction block in a current picture may be selected as a reference block of the current prediction block.

IBC 예측을 수행할 때 참조 블록의 탐색을 위한 영역이 제한되거나 특정 영역으로 설정될 수 있다. 일 예에 따라 참조 블록은 현재 예측 블록이 속하는 현재 CTU 또는 현재 CTU와 인접한 좌측 CTU 내에서 탐색되는 것으로 한정될 수 있다.When performing IBC prediction, a region for searching for a reference block may be limited or set as a specific region. According to an example, the reference block may be limited to being searched in a current CTU to which the current prediction block belongs or a left CTU adjacent to the current CTU.

반대로, IBC 예측을 수행할 때 참조 블록의 탐색을 위한 영역을 현재 픽쳐 내에서 현재 코딩 유닛 이전에 복호화가 완료된 모든 영역으로 확장하는 것도 가능할 수 있다. Conversely, when performing IBC prediction, it may be possible to extend a region for searching for a reference block to all regions in which decoding has been completed before a current coding unit in a current picture.

IBC 예측이 수행되는 예측 블록의 타입은 2Nx2N, 2NxN, Nx2N, NxN 일 수 있다. The type of the prediction block on which IBC prediction is performed may be 2Nx2N, 2NxN, Nx2N, NxN.

BV는 움직임 벡터와 유사하게 BV 예측자(BV predictor)와 BV 차이값(BV difference)으로부터 도출될 수 있다. BV can be derived from a BV predictor and a BV difference, similar to a motion vector.

현재 블록에 대한 BV 예측자는 부호화 장치에서 코딩되어 복호화 장치로 시그널링 될 수 있으며, 특정 영역, 예를 들어 현재 CTU 내에서 이전에 IBC 모드로 예측된 블록의 BV가 예측자로 사용될 수 있으며, 현재 블록과 인접한 블록 중 IBC 모드로 예측된 블록의 BV 또한 예측자로 사용될 수도 있다. The BV predictor for the current block may be coded in the encoding device and signaled to the decoding device, and a BV of a block previously predicted in IBC mode in a specific region, for example, the current CTU, may be used as a predictor, and the current block and BV of a block predicted by the IBC mode among adjacent blocks may also be used as a predictor.

이 때, 영상 처리 중간에 데이트를 리셋하거나 리프레쉬할 필요가 존재하므로 각 CTU 별로 BV 예측자는 (-2*w,0) 또는 (-w,0)와 같은 초기값으로 초기화될 수 있다. 여기서, w는 현재 코딩 유닛(Coding Unit)의 폭(width)일 수 있다. At this time, since it is necessary to reset or refresh the data in the middle of image processing, the BV predictor for each CTU can be initialized to an initial value such as (-2*w,0) or (-w,0). Here, w may be the width of the current coding unit.

BV 차이값은 BV와 BV 예측자의 차이를 나타내며, BVdx, BVdy 값으로 부호화 장치에서 코딩되어 복호화 장치로 시그널링 될 수 있다.The BV difference value represents a difference between a BV and a BV predictor, and can be coded in an encoding device with BVdx and BVdy values and signaled to a decoding device.

현재 코딩 유닛의 예측 모드를 기반으로 대표 플래그가 시그널링 되도록 하는 실현예의 경우, 본 발명과 관련하여 코딩 유닛 레벨에서 부호화 장치가 복호화 장치로 시그널링 하는 신택스를 도시하면 표 7과 같이 표현할 수 있다.For a realization example in which a representative flag is signaled based on a prediction mode of a current coding unit, a syntax in which a coding device signals to a decoding device at a coding unit level in connection with the present invention may be expressed as shown in Table 7.

<표 7>Table 7

Figure 112014119265441-pat00007

Figure 112014119265441-pat00007

표 7을 참조하면, 코딩 유닛 레벨에서, transform_skip_group_signalling_enabled_flag, transform_skip_enabled_flag가 1이고, 무손실 영상 부호화가 아니고(!cu_transquant_bypass_flag), IBC 예측이 적용되지 않는 경우(!intra_bc_flag[ x0 ][ y0 ]), 대표 플래그(transform_skip_all_zeros_in_cu_flag)가 수신될 수 있다. 또한 복호화 장치는 이러한 일련의 조건이 만족되는 경우, 대표 플래그를 파싱할 수 있다. Referring to Table 7, at the coding unit level, transform_skip_group_signalling_enabled_flag, transform_skip_enabled_flag is 1, is not lossless image coding (!cu_transquant_bypass_flag), and when IBC prediction is not applied (!intra_bc_flag[x0][y0]), representative flag (transform_skip_transform_skip ) May be received. In addition, the decoding apparatus may parse the representative flag when this series of conditions is satisfied.

물론, 현재 코딩 유닛이 변환 생략이 적용되는 최대 변환 블록의 크기보다 작은 변환 블록을 포함할 수 있다는 조건((log2CbSize - MaxTrafoDepth - (ChromaArrayType % 3 = = 0? 0: 1)) <= Log2MaxTransformSkipSize )이 만족되어야 대표 플래그(transform_skip_all_zeros_in_cu_flag)가 수신되거나 파싱될 수 있다.Of course, the condition ((log2CbSize-MaxTrafoDepth-(ChromaArrayType% 3 = = 0? 0: 1)) <= Log2MaxTransformSkipSize) that the current coding unit may contain a transform block smaller than the size of the maximum transform block to which transform omission is applied. When satisfied, the representative flag (transform_skip_all_zeros_in_cu_flag) can be received or parsed.

표 7은 상기 도 5 내지 도 7을 참조하여 설명되는 실시예에 적용될 수 있다. 이해를 돕기 위하여 일례를 들면, 도 5의 S510의 대표 플래그 파싱 조건은 transform_skip_group_signalling_enabled_flag, transform_skip_enabled_flag가 1이고, 무손실 영상 부호화가 아니고(!cu_transquant_bypass_flag), IBC 예측이 적용되지 않는 경우(!intra_bc_flag[ x0 ][ y0 ]) 일 것을 포함할 수 있다. 한편, 표 2의 실시예처럼 transform_skip_enabled_flag가 0일 경우에는 transform_skip_group_signalling_enabled_flag는 시그널링 되지 않고, 이때 복호화 장치는 이 값을 0으로 유추하는 실시예에서는, 도 5의 S510의 대표 플래그 파싱 조건은 transform_skip_group_signalling_enabled_flag가 1이고, 무손실 영상 부호화가 아니고(!cu_transquant_bypass_flag), IBC 예측이 적용되지 않는 경우(!intra_bc_flag[ x0 ][ y0 ]) 일 것을 포함할 수 있다.
Table 7 can be applied to the embodiments described with reference to FIGS. 5 to 7 above. For example, for the sake of understanding, the representative flag parsing condition of S510 of FIG. 5 is transform_skip_group_signalling_enabled_flag, transform_skip_enabled_flag is 1, is not lossless image encoding (!cu_transquant_bypass_flag), and IBC prediction is not applied (!intra_bc_flag[ x0 ][ y0 ]). Meanwhile, as in the embodiment of Table 2, when transform_skip_enabled_flag is 0, transform_skip_group_signalling_enabled_flag is not signaled, and in the embodiment in which the decoding apparatus infers this value to 0, the representative flag parsing condition of S510 of FIG. 5 is transform_skip_group_signalling_enabled_flag is 1, It may include that it is not lossless image coding (!cu_transquant_bypass_flag) and IBC prediction is not applied (!intra_bc_flag[x0][y0]).

한편, 본 발명에서는 상술한 대표 플래그가 변환 생략 여부를 지시하는 제1 정보(transform_skip_flag)가 변환 생략을 대표하는지 또는 변환 생략이 적용되지 않는 것을 대표하는지 여부를 시그널링할 수 있다. 다시 말해, 대표 플래그가 transform_skip_flag 값이 0인 경우를 대표하는지 또는 transform_skip_flag 값이 1인 경우를 대표하는지를 시그널링할 수 있다. On the other hand, in the present invention, it is possible to signal whether the above-described representative flag represents the first information (transform_skip_flag) indicating whether or not to omit the transformation or whether the transformation omission is not applied. In other words, the representative flag may signal whether the transform_skip_flag value is 0 or whether the transform_skip_flag value is 1 or not.

표 8은 본 발명의 일 실시예에 따른 대표 플래그가 변환 생략을 대표하는지 변환 생략이 적용되지 않는 것을 대표하는지 여부를 시그널링하는 일예를 나타낸 신택스이다. Table 8 is a syntax illustrating an example of signaling whether a representative flag according to an embodiment of the present invention represents conversion omission or that conversion omission is not applied.

<표 8>Table 8

Figure 112014119265441-pat00008

Figure 112014119265441-pat00008

표 8을 참조하면, 대표 플래그를 이용한 변환 생략 시그널링 방법을 사용하는 것으로 정의된 경우(transform_skip_group_signalling_enabled_flag = 1), 대표 플래그가 변환 생략을 대표하는지 변환 생략이 적용되지 않는 것을 대표하는지 여부를 지시하는 정보(transform_skip_group_represented_value)가 시그널링될 수 있다. Referring to Table 8, when it is defined to use a method for signaling a transform omission using a representative flag (transform_skip_group_signalling_enabled_flag = 1), information indicating whether a representative flag represents a transform omission or representing that the transform omission is not applied ( transform_skip_group_represented_value) may be signaled.

예컨대, transform_skip_group_represented_value 값이 1이면, 대표 플래그는 transform_skip_flag 값이 1인지 여부를 대표하는 것을 의미할 수 있다. transform_skip_group_represented_value 값이 0이면, 대표 플래그는 transform_skip_flag 값이 0인지 여부를 대표하는 것을 의미할 수 있다. For example, if the transform_skip_group_represented_value value is 1, the representative flag may mean representing whether the transform_skip_flag value is 1. If the transform_skip_group_represented_value value is 0, the representative flag may mean representing whether the transform_skip_flag value is 0.

여기서, transform_skip_group_represented_value 값이 0인 경우, 대표 플래그는 상술한 바와 같은 transform_skip_all_zeros_in_cu_flag일 수 있다. 즉, transform_skip_all_zeros_in_cu_flag를 사용하여 transform_skip_flag를 시그널링할 수 있으며, 상기 도 3 내지 도 8을 참조하여 설명한 실시예들이 적용될 수 있다. Here, when the value of transform_skip_group_represented_value is 0, the representative flag may be transform_skip_all_zeros_in_cu_flag as described above. That is, transform_skip_flag may be signaled using transform_skip_all_zeros_in_cu_flag, and the embodiments described with reference to FIGS. 3 to 8 may be applied.

이하에서는 transform_skip_group_represented_value가 시그널링되는 경우, 대표 플래그(transform_skip_all_in_cu_flag)를 시그널링하고 대표 플래그를 기반으로 변환 생략 여부 정보(transform_skip_flag)를 유도하는 방법을 설명한다. Hereinafter, when transform_skip_group_represented_value is signaled, a method of signaling a representative flag (transform_skip_all_in_cu_flag) and deriving information about whether to skip transform based on the representative flag (transform_skip_flag) will be described.

대표 플래그가 변환 생략을 대표하는지 변환 생략이 적용되지 않는 것을 대표하는지 여부를 지시하는 정보(transform_skip_group_represented_value)가 시그널링되는 경우, 다음 표 9와 같이 본 발명의 일 실시예에 따른 대표 플래그(transform_skip_all_in_cu_flag)가 시그널링될 수 있다. When the information (transform_skip_group_represented_value) indicating whether the representative flag represents transformation omission or that the transformation omission is not applied is signaled, a representative flag (transform_skip_all_in_cu_flag) according to an embodiment of the present invention is signaled as in Table 9 below Can be.

<표 9>Table 9

Figure 112014119265441-pat00009
Figure 112014119265441-pat00009

표 9의 대표 플래그(transform_skip_all_in_cu_flag)가 시그널링되어 파싱되는 조건에 대해서는 상기 표 3을 참조하여 설명된 바 있으므로, 여기서는 상세한 설명을 생략한다. The condition in which the representative flag (transform_skip_all_in_cu_flag) of Table 9 is signaled and parsed has been described with reference to Table 3 above, so a detailed description thereof will be omitted.

만일, 현재 코딩 유닛의 예측 모드를 기반으로 대표 플래그가 시그널링 되도록 하는 경우, 다음 표 10과 같이 본 발명의 일 실시예에 따른 대표 플래그(transform_skip_all_in_cu_flag)가 시그널링될 수 있다.If the representative flag is to be signaled based on the prediction mode of the current coding unit, a representative flag (transform_skip_all_in_cu_flag) according to an embodiment of the present invention may be signaled as shown in Table 10 below.

<표 10>Table 10

Figure 112014119265441-pat00010

Figure 112014119265441-pat00010

표 10의 대표 플래그(transform_skip_all_in_cu_flag)가 시그널링되어 파싱되는 조건에 대해서는 상기 표73을 참조하여 설명된 바 있으므로, 여기서는 상세한 설명을 생략한다. The condition in which the representative flag (transform_skip_all_in_cu_flag) of Table 10 is signaled and parsed has been described with reference to Table 73 above, so a detailed description thereof will be omitted.

대표 플래그가 변환 생략을 대표하는지 변환 생략이 적용되지 않는 것을 대표하는지 여부를 지시하는 정보(transform_skip_group_represented_value)가 시그널링되는 경우, 대표 플래그(transform_skip_all_in_cu_flag)를 이용한 변환 생략 여부를 나타내는 제1 정보(transform_skip_flag)는 표 11 및 표 12와 같이 시그널링될 수 있다. When information (transform_skip_group_represented_value) indicating whether the representative flag represents transformation omission or that the transformation omission is not applied is signaled, the first information (transform_skip_flag) indicating whether to omit transformation using the representative flag (transform_skip_all_in_cu_flag) is shown in the table. 11 and Table 12 may be signaled.

<표 11>Table 11

Figure 112014119265441-pat00011

Figure 112014119265441-pat00011

표 11을 참조하면, 대표 플래그인 transform_skip_all_in_cu_flag가 1이고, 변환 블록이 코딩 유닛으로부터 분할되는 최대 깊이의 변환 유닛에 포함되는 (log2TrafoSize == Max(2, log2CbSize - MaxTrafoDepth - (ChromaArrayType % 3 = =0 ? 0 : (cIdx?1:0)))) 블록인 경우, 제1 정보(transform_skip_flag)는 파싱되지 않고 transform_skip_group_represented_value 값으로 설정된다.Referring to Table 11, the representative flag transform_skip_all_in_cu_flag is 1, and the transform block is included in the transform unit of the maximum depth split from the coding unit (log2TrafoSize == Max(2, log2CbSize-MaxTrafoDepth-(ChromaArrayType% 3 = = 0? 0: (cIdx?1:0)))) In the case of a block, the first information (transform_skip_flag) is not parsed and is set to a value of transform_skip_group_represented_value.

<표 12>Table 12

Figure 112014119265441-pat00012

Figure 112014119265441-pat00012

표 12를 참조하면, 대표 플래그인 transform_skip_all_in_cu_flag가 1이면, 제1 정보(transform_skip_flag)는 파싱되지 않고 transform_skip_group_represented_value 값으로 설정된다. 이때, 대표 플래그는 변환 생략이 가능한 크기의 모든 변환 유닛들을 대표하는 경우에 적용될 수 있다. Referring to Table 12, when the representative flag transform_skip_all_in_cu_flag is 1, the first information (transform_skip_flag) is not parsed and is set to a value of transform_skip_group_represented_value. In this case, the representative flag may be applied when representing all the conversion units having a size capable of omitting conversion.

대표 플래그가 변환 생략을 대표하는지 변환 생략이 적용되지 않는 것을 대표하는지 여부를 지시하는 정보(transform_skip_group_represented_value)가 시그널링되는 경우, 대표 플래그(transform_skip_all_in_cu_flag)를 이용한 변환 유닛의 분할 여부를 나타내는 제2 정보(split_transform_flag)는 표 13과 같이 시그널링될 수 있다. When information (transform_skip_group_represented_value) indicating whether the representative flag represents transformation omission or representing that transformation omission is not applied is signaled, second information (split_transform_flag) indicating whether to split the transform unit using the representative flag (transform_skip_all_in_cu_flag) May be signaled as shown in Table 13.

<표 13>Table 13

Figure 112014119265441-pat00013

Figure 112014119265441-pat00013

표 13을 참조하면, 대표 플래그(transform_skip_all_in_cu_flag)가 1이고, 변환 깊이가 0이면(trafoDepth = 0), 제2 정보(split_transform_flag)는 파싱되지 않고 1로 설정될 수 있다.
Referring to Table 13, if the representative flag (transform_skip_all_in_cu_flag) is 1 and the transformation depth is 0 (trafoDepth = 0), the second information (split_transform_flag) may be set to 1 without being parsed.

본 발명에서는 상술한 대표 플래그가 코딩 유닛의 부호화 모드를 참조하여 시그널링되는지 여부를 시그널링할 수 있다. 다시 말해, 본 발명에서는 대표 플래그가 코딩 유닛의 부호화 모드를 참조하여 시그널링되는지 여부를 지시하는 정보(transform_skip_group_referring_mode_flag)를 제공할 수 있다. In the present invention, it is possible to signal whether the above-described representative flag is signaled with reference to the coding mode of the coding unit. In other words, the present invention can provide information (transform_skip_group_referring_mode_flag) indicating whether the representative flag is signaled with reference to the coding mode of the coding unit.

표 14는 본 발명의 일 실시예에 따른 대표 플래그가 코딩 유닛의 부호화 모드를 참조하여 시그널링되는지 여부를 시그널링하는 일예를 나타낸 신택스이다. Table 14 is a syntax illustrating an example of signaling whether a representative flag according to an embodiment of the present invention is signaled with reference to an encoding mode of a coding unit.

<표 14>Table 14

Figure 112014119265441-pat00014

Figure 112014119265441-pat00014

표 14를 참조하면, 대표 플래그를 이용한 변환 생략 시그널링 방법을 사용하는 것으로 정의된 경우(transform_skip_group_signalling_enabled_flag = 1), 대표 플래그가 코딩 유닛의 부호화 모드를 참조하여 시그널링되는지 여부를 지시하는 정보(transform_skip_group_referring_mode_flag)가 부호화 장치로부터 시그널링될 수 있다. Referring to Table 14, when it is defined to use a transform omission signaling method using a representative flag (transform_skip_group_signalling_enabled_flag = 1), information indicating whether a representative flag is signaled with reference to a coding unit coding mode (transform_skip_group_referring_mode_flag) is encoded It can be signaled from the device.

예컨대, transform_skip_group_referring_mode_flag 값이 1이면, 대표 플래그는 코딩 유닛의 부호화 모드가 기 정의된 예측 모드인 경우에만 시그널링 되며, 코딩 유닛의 부호화 모드가 기 정의된 예측 모드가 아닌 경우에는 제안하는 대표 플래그를 이용한 변환 생략 시그널링이 사용되지 않는다. 즉, 기 정의된 예측 모드가 사용되지 않은 코딩 유닛에 대해서는 대표 플래그를 파싱하지 않는다. For example, if the value of transform_skip_group_referring_mode_flag is 1, the representative flag is signaled only when the coding mode of the coding unit is a predefined prediction mode, and when the coding mode of the coding unit is not a predefined prediction mode, the transform using the proposed representative flag Omitted signaling is not used. That is, the representative flag is not parsed for the coding unit in which the predefined prediction mode is not used.

transform_skip_group_referring_mode_flag 값이 0이면, 대표 플래그의 파싱 여부 결정시 코딩 유닛의 예측 모드를 참조하지 않고 대표 플래그를 파싱할 수 있다. When the transform_skip_group_referring_mode_flag value is 0, when determining whether to represent the representative flag, the representative flag can be parsed without referring to the prediction mode of the coding unit.

transform_skip_group_represented_value가 시그널링되고 transform_skip_group_referring_mode_flag가 시그널링되는 경우, 대표 플래그(transform_skip_all_in_cu_flag)는 표 15와 같이 시그널링될 수 있다. When transform_skip_group_represented_value is signaled and transform_skip_group_referring_mode_flag is signaled, a representative flag (transform_skip_all_in_cu_flag) may be signaled as shown in Table 15.

<표 15>Table 15

Figure 112014119265441-pat00015

Figure 112014119265441-pat00015

표 15에 도시된 (transform_skip_group_referring_mode_flag ? (transform_skip_group_represented_value == intra_bc_flag[ x0 ][ y0 ] ) : 1)은 다음과 같은 의미를 가진다. (Transform_skip_group_referring_mode_flag ?(transform_skip_group_represented_value == intra_bc_flag[ x0 ][ y0 ]): 1) shown in Table 15 has the following meaning.

transform_skip_group_referring_mode_flag가 0인 경우에는 상기 문장이 포함된 if문에 1(true)를 리턴한다. 다시 말해서, 대표 플래그가 코딩 유닛의 부호화 모드를 참조하여 시그널링되지 않는 경우, 코딩 유닛의 예측 모드에 관계 없이 대표 플래그를 파싱할 수 있다. When transform_skip_group_referring_mode_flag is 0, 1 (true) is returned in the if statement including the sentence. In other words, if the representative flag is not signaled with reference to the coding mode of the coding unit, the representative flag can be parsed regardless of the prediction mode of the coding unit.

transform_skip_group_referring_mode_flag가 1인 경우에는 (transform_skip_group_represented_value == intra_bc_flag[ x0 ][ y0 ] )인지를 판별한다. 다시 말해서, 대표 플래그가 코딩 유닛의 부호화 모드를 참조하여 시그널링되는 경우, 코딩 유닛의 부호화 모드가 기 정의된 예측 모드(예컨대, IBC 예측 모드)인지를 판별하여 대표 플래그를 파싱할 수 있다. When transform_skip_group_referring_mode_flag is 1, it is determined whether (transform_skip_group_represented_value == intra_bc_flag[ x0 ][ y0 ]). In other words, when the representative flag is signaled with reference to the coding mode of the coding unit, the representative flag may be parsed by determining whether the coding mode of the coding unit is a predefined prediction mode (eg, an IBC prediction mode).

이때, transform_skip_group_represented_value 값이 1이면(즉, 대표 플래그가 변환 생략(transform_skip_flag=1)을 대표하는 경우), 현재 코딩 유닛의 부호화 모드가 IBC 예측 모드인 경우에만 1을 리턴한다. At this time, if the value of transform_skip_group_represented_value is 1 (that is, when the representative flag represents transformation omitted (transform_skip_flag=1)), 1 is returned only when the coding mode of the current coding unit is the IBC prediction mode.

반면, transform_skip_group_represented_value 값이 0이면(즉, 대표 플래그가 변환 생략을 적용하지 않는 경우(transform_skip_flag=0)를 대표하는 경우), 현재 코딩 유닛의 부호화 모드가 IBC 예측 모드가 아닌 경우에만 1을 리턴한다. On the other hand, when the value of transform_skip_group_represented_value is 0 (that is, when the representative flag does not apply transform omission (transform_skip_flag=0)), 1 is returned only when the encoding mode of the current coding unit is not the IBC prediction mode.

상기에서는 transform_skip_group_represented_value가 시그널링되는 경우, transform_skip_group_referring_mode_flag를 시그널링하고 대표 플래그를 파싱하는 과정에 대해 설명하였다. 이하에서는 transform_skip_group_represented_value가 시그널링 되지 않는 경우 transform_skip_group_referring_mode_flag를 시그널링하고 대표 플래그를 파싱하는 과정에 대해 설명한다. In the above, the process of signaling transform_skip_group_referring_mode_flag and parsing a representative flag when transform_skip_group_represented_value is signaled has been described. Hereinafter, a process of signaling transform_skip_group_referring_mode_flag and parsing a representative flag when transform_skip_group_represented_value is not signaled will be described.

표 16은 본 발명의 일 실시예에 따른 대표 플래그가 코딩 유닛의 부호화 모드를 참조하여 시그널링되는지 여부를 시그널링하는 일예를 나타낸 신택스이다.Table 16 is a syntax illustrating an example of signaling whether a representative flag according to an embodiment of the present invention is signaled with reference to an encoding mode of a coding unit.

<표 16>Table 16

Figure 112014119265441-pat00016

Figure 112014119265441-pat00016

표 16을 참조하면, 대표 플래그를 이용한 변환 생략 시그널링 방법을 사용하는 것으로 정의된 경우(transform_skip_group_signalling_enabled_flag = 1), 대표 플래그가 코딩 유닛의 부호화 모드를 참조하여 시그널링되는지 여부를 지시하는 정보(transform_skip_group_referring_mode_flag)가 부호화 장치로부터 시그널링될 수 있다. Referring to Table 16, when it is defined to use a transform omission signaling method using a representative flag (transform_skip_group_signalling_enabled_flag = 1), information (transform_skip_group_referring_mode_flag) indicating whether a representative flag is signaled by referring to a coding mode of a coding unit is encoded. It can be signaled from the device.

transform_skip_group_referring_mode_flag가 시그널링되는 경우, 대표 플래그는 표 17 및 표 18과 같이 시그널링될 수 있다. 이때, 표 17의 대표 플래그(transform_skip_all_zeros_in_cu_flag)는 대표 플래그가 변환 생략을 적용하지 않는 경우(transform_skip_flag=0)를 대표한다. 표 18의 대표 플래그(transform_skip_all_ones_in_cu_flag)는 대표 플래그가 변환 생략을 적용하는 경우(transform_skip_flag=1)를 대표한다. When transform_skip_group_referring_mode_flag is signaled, the representative flag may be signaled as shown in Table 17 and Table 18. At this time, the representative flag of Table 17 (transform_skip_all_zeros_in_cu_flag) represents the case where the representative flag does not apply transformation omission (transform_skip_flag=0). The representative flag in Table 18 (transform_skip_all_ones_in_cu_flag) represents the case where the representative flag applies transformation omission (transform_skip_flag=1).

<표 17>Table 17

Figure 112014119265441-pat00017

Figure 112014119265441-pat00017

표 17을 참조하면, 대표 플래그 transform_skip_all_zeros_in_cu_flag는 transform_skip_group_referring_mode_flag 값에 따라 코딩 유닛의 부호화 모드가 기 정의된 예측 모드(예컨대, IBC 예측 모드)인지를 판별하여 파싱될 수 있다. Referring to Table 17, the representative flag transform_skip_all_zeros_in_cu_flag may be parsed by determining whether the coding mode of the coding unit is a predefined prediction mode (eg, an IBC prediction mode) according to the transform_skip_group_referring_mode_flag value.

<표 18>Table 18

Figure 112014119265441-pat00018

Figure 112014119265441-pat00018

표 18을 참조하면, 대표 플래그 transform_skip_all_ones_in_cu_flag는 transform_skip_group_referring_mode_flag 값에 따라 코딩 유닛의 부호화 모드가 기 정의된 예측 모드(예컨대, IBC 예측 모드)인지를 판별하여 파싱될 수 있다.
Referring to Table 18, the representative flag transform_skip_all_ones_in_cu_flag may be parsed by determining whether the coding mode of the coding unit is a predetermined prediction mode (eg, an IBC prediction mode) according to the transform_skip_group_referring_mode_flag value.

도 9는 본 발명의 일 실시예에 따른 변환 생략 여부를 대표하는 대표 플래그를 이용한 영상 부호화 방법을 나타낸 순서도이다. 도 9의 방법은 상술한 도 1의 영상 부호화 장치에 의해 수행될 수 있다. 9 is a flowchart illustrating an image encoding method using a representative flag representing whether or not to skip conversion according to an embodiment of the present invention. The method of FIG. 9 may be performed by the image encoding apparatus of FIG. 1 described above.

부호화 장치는 코딩의 대상이 되는 코딩 유닛으로부터 분할되는 변환 블록에 변환 생략이 적용되는지 여부를 판단한다(S910).The encoding apparatus determines whether transformation omission is applied to a transform block divided from a coding unit that is a target of coding (S910).

판단 결과, 도 5 및 도 6을 참조하여 설명된 소정의 조건을 만족하면서 변환 생략이 적용된 변환 블록에 대하여, 변환 생략 여부를 지시하는 제1 정보를 대표하는 대표 플래그를 코딩하고, 대표 플래그를 상기 코딩 유닛에 대한 정보로 시그널링할 수 있다(S920). As a result of the determination, with respect to a transform block to which transform omission is applied while satisfying a predetermined condition described with reference to FIGS. 5 and 6, a representative flag representing first information indicating whether to omit the transform is coded, and the representative flag is recalled. Signaling may be performed with information about a coding unit (S920).

부호화 장치는 코딩 유닛으로부터 분할되는 최대 깊이의 변환 유닛에 해당하는 변환 블록 중 변환 생략이 적용될 수 있는 기본 조건 (즉, 변환 블록의 크기가 변환 생략이 적용되는 최대 변환 블록 크기 이하임과 동시에 부호화되는 변환계수가 존재하여야 함 (즉, CBF가 1임))을 만족하는 모든 변환 블록에 변환 생략이 사용되지 않은 경우, 대표 플래그를 1로 코딩할 수 있다. The encoding apparatus is encoded at the same time as a basic condition (that is, the size of a transform block is equal to or less than a maximum transform block size to which transform omission is applied) among transform blocks corresponding to a transform unit having a maximum depth split from a coding unit. If transform omission is not used in all transform blocks that satisfy the transform coefficient must exist (that is, CBF is 1), a representative flag can be coded as 1.

또는, 코딩 유닛으로부터 분할되는 변환 유닛이 포함하는 변환 유닛 중, 변환 생략이 적용될 수 있는 기본 조건을 만족하는 모든 변환 블록에 변환 생략이 사용되지 않은 경우, 부호화 장치는 대표 플래그를 1로 코딩할 수 있다.Alternatively, if transform omission is not used in all transform blocks that satisfy a basic condition to which transform omission is applied, among transform units included in the transform unit split from the coding unit, the encoding apparatus may code the representative flag to 1. have.

부호화 장치는 대표 플래그가 1이면(S930), 상기와 같은 조건을 만족하는 변환 블록에 대하여는 제1 정보의 코딩을 생략하고, 제1 정보의 코딩이 필요한 변환 블록에 대하여는 제1 정보를 코딩할 수 있다(S940).If the representative flag is 1 (S930), the coding of the first information is omitted for a transform block that satisfies the above conditions, and the first information can be coded for a transform block that requires coding of the first information. Yes (S940).

또한, 부호화 장치는 대표 플래그에 기초하여 변환 유닛의 분할 여부를 나타내는 제2 정보의 코딩 여부를 판단할 수도 있다. In addition, the encoding device may determine whether to code the second information indicating whether the transform unit is split based on the representative flag.

부호화 장치는 대표 플래그가 1이고 변환 유닛에 대한 변환 깊이가 0이면, 제2 정보의 코딩이 필요 없는 것으로 판단할 수도 있고, 대표 플래그가 1이고 변환 유닛에 대한 변환 깊이가 0이고 변환 유닛의 크기가 상기 변환 생략이 적용되는 최대 변환 블록 크기보다 큰 경우에 제2 정보의 코딩이 필요 없는 것으로 판단할 수도 있다. 이 경우, 변환 깊이가 0인 변환 유닛에 대하여는 제2 정보에 대하여 코딩하지 않을 수 있다. If the representative flag is 1 and the transform depth for the transform unit is 0, it may be determined that coding of the second information is not necessary, the representative flag is 1, the transform depth for the transform unit is 0, and the size of the transform unit It may be determined that coding of the second information is not necessary when the transform omission is larger than the maximum transform block size to which the transform omission is applied. In this case, the second unit may not be coded for the transform unit having a transform depth of zero.

부호화 장치는 제2 정보의 코딩이 필요한 변환 유닛, 즉 변환 깊이가 0->1 로 분할되는 분할 유닛 이외의 분할 유닛에 대하여 분할 여부를 지시하는 제2 정보를 코딩한다(S950).The encoding apparatus codes the second information indicating whether to split for a transformation unit that requires coding of the second information, that is, a division unit other than a division unit having a transformation depth of 0->1 (S950).

단계 S940 및 S950는 순차적으로 수행될 수도 있지만, 각각 독립적인 단계로 수행될 수도 있고, 제2 정보에 대한 코딩이 먼저 수행될 수도 있다. 즉, 대표 플래그가 코딩된 이후의 단계의 순서는 도면에 도시한 것에 한정되지 않는다.Steps S940 and S950 may be performed sequentially, but may be performed as independent steps, or coding of the second information may be performed first. That is, the order of steps after the representative flag is coded is not limited to that shown in the figure.

대표 플래그가 0이면 제1 정보 및 제2 정보를 기존의 코딩 방식대로 코딩되어 시그널링 된다(S960).
If the representative flag is 0, the first information and the second information are coded and signaled according to an existing coding method (S960).

상기에서 복호화 과정에서 수행되는 변환은 실질적으로 부호화 장치에서 실행한 변환의 역과정인 역변환 (inverse transform)을 의미하지만, 역변환 역시 변환의 일종이므로 그 실질적인 의미하는 바에 있어 혼동의 소지가 없을 것이다.
In the above, the transformation performed in the decoding process means an inverse transform, which is an inverse process of the transformation performed by the encoding apparatus, but since the inverse transformation is also a kind of transformation, there will be no confusion in the practical meaning.

상술한 본 발명에 따른 방법은 컴퓨터에서 실행되기 위한 프로그램으로 제작되어 컴퓨터가 읽을 수 있는 기록 매체에 저장될 수 있으며, 컴퓨터가 읽을 수 있는 기록 매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피디스크, 광 데이터 저장장치 등이 있으며, 또한 캐리어 웨이브(예를 들어 인터넷을 통한 전송)의 형태로 구현되는 것도 포함한다.The method according to the present invention described above is produced as a program for execution on a computer and can be stored in a computer-readable recording medium. Examples of the computer-readable recording medium include ROM, RAM, CD-ROM, and magnetic tape. , Floppy disks, optical data storage devices, and the like, and also implemented in the form of a carrier wave (for example, transmission via the Internet).

컴퓨터가 읽을 수 있는 기록 매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어, 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다. 그리고, 상기 방법을 구현하기 위한 기능적인(function) 프로그램, 코드 및 코드 세그먼트들은 본 발명이 속하는 기술분야의 프로그래머들에 의해 용이하게 추론될 수 있다.The computer-readable recording medium can be distributed over network coupled computer systems so that the computer readable code is stored and executed in a distributed fashion. And, functional programs, codes, and code segments for implementing the method can be easily inferred by programmers in the technical field to which the present invention pertains.

상술한 실시예들에서, 방법들은 일련의 단계 또는 블록으로서 순서도를 기초로 설명되고 있으나, 본 발명은 단계들의 순서에 한정되는 것은 아니며, 어떤 단계는 상술한 바와 다른 단계와 다른 순서로 또는 동시에 발생할 수 있다. 또한, 당해 기술 분야에서 통상의 지식을 가진 자라면 순서도에 나타난 단계들이 배타적이지 않고, 다른 단계가 포함되거나, 순서도의 하나 또는 그 이상의 단계가 본 발명의 범위에 영향을 미치지 않고 삭제될 수 있음을 이해할 수 있을 것이다.In the above-described embodiments, the methods are described based on a flow chart as a series of steps or blocks, but the present invention is not limited to the order of steps, and some steps may occur in a different order or simultaneously with other steps as described above. Can. In addition, those of ordinary skill in the art may recognize that the steps shown in the flowcharts are not exclusive, other steps may be included, or one or more steps in the flowchart may be deleted without affecting the scope of the present invention. You will understand.

이상의 설명은 본 발명의 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. 따라서, 본 발명에 개시된 실시 예들은 본 발명의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시 예에 의하여 본 발명의 기술 사상의 범위가 한정되는 것은 아니다. 본 발명의 보호범위는 특허청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 발명의 권리범위에 포함되는 것으로 해석되어야 할 것이다.The above description is merely illustrative of the technical idea of the present invention, and those skilled in the art to which the present invention pertains may make various modifications and variations without departing from the essential characteristics of the present invention. Therefore, the embodiments disclosed in the present invention are not intended to limit the technical spirit of the present invention, but to explain, and the scope of the technical spirit of the present invention is not limited by these embodiments. The scope of protection of the present invention should be interpreted by the claims, and all technical spirits within the equivalent range should be interpreted as being included in the scope of the present invention.

Claims (19)

영상의 복호화 방법에 있어서,
복호화중인 코딩 유닛내의 변환 블록의 크기가 변환 생략이 적용될 수 있는 변환 블록 크기보다 작거나 같은지를 판단하는 단계와;
상기 판단에 따라 상기 변환 블록의 변환 생략 여부를 지시하는 정보를 파싱 하고, 상기 변환 블록의 루마 변환 블록들의 변환을 수행 또는 생략하는 단계; 및
현재 픽쳐 내에서 벡터로 지시되는 블록-상기 블록은 현재 픽춰내의 블록임-을 현재 예측 블록에 대한 예측 블록으로 사용하는 단계를 포함하되,
상기 현재 픽쳐 내에서 현재 코딩 유닛 이전에 복호화가 완료된 영역을 상기 현재 예측 블록의 예측 블록으로 사용하고,
상기 변환 블록의 변환 생략 여부를 지시하는 정보를 파싱하는 단계는
상기 변환 생략의 적용이 가능한지 여부를 지시하는 플래그가 1이고, 상기 현재 코딩 유닛이 무손실 부호화되지 않고, 상기 변환 블록의 크기가 변환 생략이 적용될 수 있는 변환 블록 크기보다 작거나 같은 경우, 상기 변환 생략 여부를 지시하는 정보를 파싱하는 단계를 포함하는 영상의 복호화 방법.
In the video decoding method,
Determining whether a size of a transform block in a coding unit being decoded is smaller than or equal to a transform block size to which transform omission can be applied;
Parsing information indicating whether or not to skip conversion of the conversion block according to the determination, and performing or omitting conversion of luma conversion blocks of the conversion block; And
The step of using a block indicated by a vector in the current picture-the block is a block in the current picture-as a prediction block for the current prediction block,
A region in which the decoding is completed before the current coding unit in the current picture is used as a prediction block of the current prediction block,
The step of parsing the information indicating whether to skip the conversion of the conversion block
If the flag indicating whether the application of the transform omission is applicable is 1 and the current coding unit is not losslessly coded, and the size of the transform block is smaller than or equal to a transform block size to which the transform omission can be applied, the transform omission is performed. And parsing the information indicating whether or not the image is decoded.
제1항에 있어서, 상기 현재 픽쳐 내 현재 예측 블록과 이웃한 좌측의 CTU(coding tree unit)에 존재하는 영역을 상기 현재 예측 블록의 예측 블록으로 사용하는 것을 특징으로 하는 영상의 복호화 방법.The method of claim 1, wherein a region existing in a coding tree unit (CTU) on the left side adjacent to the current prediction block in the current picture is used as a prediction block of the current prediction block. 제1항에 있어서, 상기 현재 예측 블록이 속하는 현재 CTU(coding tree unit) 또는 현재 CTU(coding tree unit)와 인접한 좌측 CTU 내에 존재하는 영역을 상기 현재 예측 블록의 예측 블록으로 사용하는 것을 특징으로 하는 영상의 복호화 방법.The method of claim 1, wherein a region existing in a left CTU adjacent to a current coding tree unit (CTU) or a current coding tree unit (CTU) to which the current prediction block belongs is used as a prediction block of the current prediction block. Decoding method of video. 제1항에 있어서,
상기 벡터는 벡터 예측자(predictor)와 벡터 차이값(difference)으로부터 도출되는 것을 특징으로 하는 영상의 복호화 방법.
According to claim 1,
The vector is a vector predictor (predictor) and a vector decoding method, characterized in that derived from the difference (difference).
제4항에 있어서,
상기 벡터 차이값은 상기 벡터와 상기 벡터 예측자의 차이를 나타내며 부호화 장치에서 코딩되어 복호화 장치로 시그널링 되는 것을 특징으로 하는 영상의 복호화 방법.
According to claim 4,
The vector difference value represents a difference between the vector and the vector predictor, and is coded by an encoding device and signaled to a decoding device.
제1항에 있어서, 상기 예측 블록으로 사용되는 상기 현재 픽쳐내의 특정 영역은 부호화기로부터 수신되는 상기 벡터로 지시되는 것을 특징으로 하는 영상의 복호화 방법.
The method of claim 1, wherein a specific region in the current picture used as the prediction block is indicated by the vector received from an encoder.
삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete
KR1020140175076A 2014-12-08 2014-12-08 Transform skip signaling method and apparatus for video coding KR102138197B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020140175076A KR102138197B1 (en) 2014-12-08 2014-12-08 Transform skip signaling method and apparatus for video coding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140175076A KR102138197B1 (en) 2014-12-08 2014-12-08 Transform skip signaling method and apparatus for video coding

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020140134255A Division KR101642092B1 (en) 2014-10-06 2014-10-06 Video encoding and decoding method and apparatus using the same

Publications (2)

Publication Number Publication Date
KR20160040977A KR20160040977A (en) 2016-04-15
KR102138197B1 true KR102138197B1 (en) 2020-07-27

Family

ID=55801790

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140175076A KR102138197B1 (en) 2014-12-08 2014-12-08 Transform skip signaling method and apparatus for video coding

Country Status (1)

Country Link
KR (1) KR102138197B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220150518A1 (en) * 2020-11-11 2022-05-12 Tencent America LLC Method and apparatus for video coding

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110572649B (en) * 2016-04-29 2023-04-07 世宗大学校产学协力团 Method and apparatus for encoding and decoding image signal
KR102354628B1 (en) * 2017-03-31 2022-01-25 한국전자통신연구원 A method of video processing for processing coding tree units and coding units, a method and appratus for decoding and encoding video using the processing.
WO2020262960A1 (en) * 2019-06-24 2020-12-30 엘지전자 주식회사 Image encoding/decoding method and device using maximum transform size restriction of chroma component encoding block, and method for transmitting bitstream

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101431545B1 (en) * 2008-03-17 2014-08-20 삼성전자주식회사 Method and apparatus for Video encoding and decoding
KR102399795B1 (en) * 2012-07-02 2022-05-23 한국전자통신연구원 Method and apparatus for image encoding/decoding
KR101462637B1 (en) * 2013-02-28 2014-11-21 성균관대학교산학협력단 Method and apparatus for image encoding/decoding

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
"High-Efficiency Video Coding", SERIES H: AUDIOVISUAL AND MULTIMEDIA SYSTEMSInfrastructure of audiovisual services - Coding of moving video, ITU-T H.265, (04/2013)
Byeungwoo Jeon et al., ‘Non-CE2: Transform skip signalling for intra block copy’, JCT-VC of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11, 19th Meeting: Strasbourg, FR, 17-24 Oct. 2014, (JCTVC-S0036)
David Flynn, et al., "High Efficiency Video Coding (HEVC) Range Extensions text specification: Draft 7", JCT-VC of of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11, 17th Meeting: Valencia, ES, 27 Mar*
Lihua Zhu, et al., "Initialization of block vector predictor for intra block copy", (JCTVC-P0217-V2), JCT-VC of of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11, 16th Meeting: San Jose, US, 2014.01.0*

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220150518A1 (en) * 2020-11-11 2022-05-12 Tencent America LLC Method and apparatus for video coding

Also Published As

Publication number Publication date
KR20160040977A (en) 2016-04-15

Similar Documents

Publication Publication Date Title
KR102583640B1 (en) Method for image encoding and computer readable redording meduim thereof
KR102429253B1 (en) Video encoding and decoding method and apparatus using the same
KR102640542B1 (en) Methods of determination for chroma quantization parameter and apparatuses for using the same
TWI755394B (en) Binarizing secondary transform index
KR20180014109A (en) Method for coding/decoding of intra prediction mode and computer readable redording meduim thereof
KR102627681B1 (en) Entrpy decoding method and apparatus for transform skip information
KR102449190B1 (en) Method and apparatus for parallel entropy encoding/decoding
KR102138197B1 (en) Transform skip signaling method and apparatus for video coding
KR102480967B1 (en) Method and apparatus for image encoding/decoding
KR20170063500A (en) Methods and apparatus for video transform encoding/decoding
KR101707164B1 (en) Video encoding and decoding method and apparatus using the same
JP2023158204A (en) Image or video coding based on signaling of transform skip- and palette coding-related information
KR102294016B1 (en) Video encoding and decoding method using deblocking fitering with transform skip and apparatus using the same
KR101642092B1 (en) Video encoding and decoding method and apparatus using the same
KR20220005623A (en) The method of encoding and decoding of quantization matrix and the apparatus for using the same
JP2023553996A (en) Derivation of offset in inter-component transform coefficient level restoration
KR101625632B1 (en) Method and apparatus for encoding and decoding image using large transform unit
KR101603272B1 (en) Method and apparatus for encoding and decoding image using large transform unit
KR20150045964A (en) Method and apparatus for encoding and decoding image using large transform unit

Legal Events

Date Code Title Description
A107 Divisional application of patent
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant