WO2020060342A1 - Method and device for processing image signal by using inter prediction - Google Patents

Method and device for processing image signal by using inter prediction Download PDF

Info

Publication number
WO2020060342A1
WO2020060342A1 PCT/KR2019/012306 KR2019012306W WO2020060342A1 WO 2020060342 A1 WO2020060342 A1 WO 2020060342A1 KR 2019012306 W KR2019012306 W KR 2019012306W WO 2020060342 A1 WO2020060342 A1 WO 2020060342A1
Authority
WO
WIPO (PCT)
Prior art keywords
unit
amvr
poc
mvd
resolution
Prior art date
Application number
PCT/KR2019/012306
Other languages
French (fr)
Korean (ko)
Inventor
남정학
박내리
김승환
임재현
Original Assignee
엘지전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 엘지전자 주식회사 filed Critical 엘지전자 주식회사
Publication of WO2020060342A1 publication Critical patent/WO2020060342A1/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/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/105Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/132Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/53Multi-resolution motion estimation; Hierarchical motion estimation
    • 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

Landscapes

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

Abstract

Embodiments of the present specification provide a method and a device for processing a video signal by using inter prediction. A method for processing an image signal, according to an embodiment of the present specification, comprises the steps of: acquiring a motion vector difference (MVD) for a current block; determining the resolution of the MVD on the basis of information about an adaptive motion vector resolution (AMVR) and information about a reference picture; scaling the MVD according to the resolution; determining a motion vector for the current block on the basis of the scaled MVD and a motion vector predictor; and generating a prediction sample for the current block on the basis of the motion vector.

Description

인터 예측을 사용하여 영상 신호를 처리하기 위한 방법 및 장치Method and apparatus for processing video signal using inter prediction
본 명세서는 영상 신호를 처리하기 위한 방법 및 장치에 관한 것으로서, 특히 인터 예측(inter prediction)을 수행함으로써 영상 신호를 인코딩 또는 디코딩하기 위한 방법 및 장치에 관한 것이다.The present specification relates to a method and apparatus for processing an image signal, and more particularly, to a method and apparatus for encoding or decoding an image signal by performing inter prediction.
압축 부호화란 디지털화한 정보를 통신 회선을 통해 전송하거나, 저장 매체에 적합한 형태로 저장하기 위한 일련의 신호 처리 기술을 의미한다. 영상, 이미지, 음성 등의 미디어가 압축 부호화의 대상이 될 수 있으며, 특히 영상을 대상으로 압축 부호화를 수행하는 기술을 비디오 영상 압축이라고 일컫는다.Compression coding refers to a series of signal processing techniques for transmitting digitized information through a communication line or storing it in a form suitable for a storage medium. Media such as video, image, and audio may be the subject of compression encoding, and a technique for performing compression encoding on an image is referred to as video image compression.
차세대 비디오 컨텐츠는 고해상도(high spatial resolution), 고프레임율(high frame rate) 및 영상 표현의 고차원화(high dimensionality of scene representation)라는 특징을 갖게 될 것이다. 그러한 컨텐츠를 처리하기 위해서는 메모리 저장(memory storage), 메모리 액세스율(memory access rate) 및 처리 전력(processing power) 측면에서 엄청난 증가를 가져올 것이다.Next-generation video content will have the characteristics of high spatial resolution, high frame rate and high dimensionality of scene representation. In order to process such content, a huge increase in terms of memory storage, memory access rate and processing power will be produced.
따라서, 차세대 영상 컨텐츠를 보다 효율적으로 처리하기 위한 코딩 툴을 디자인할 필요가 있다. 특히, HEVC(high efficiency video coding) 표준 이후의 비디오 코덱 표준은 보다 자원을 효율적으로 사용하면서 정확하게 예측 샘플을 생성할 수 있는 예측 기술을 요구한다.Therefore, it is necessary to design a coding tool to process next-generation video content more efficiently. In particular, the video codec standard after the high efficiency video coding (HEVC) standard requires a prediction technique capable of generating prediction samples accurately while using resources more efficiently.
본 명세서의 실시예들은, 인터 예측 과정에서 데이터 자원을 효율적으로 사용할 수 있는 영상 신호 처리 방법 및 장치를 제공하고자 한다.Embodiments of the present specification are to provide an image signal processing method and apparatus that can efficiently use data resources in an inter prediction process.
본 명세서에서 이루고자 하는 기술적 과제들은 이상에서 언급한 기술적 과제들로 제한되지 않으며, 언급하지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 명세서가 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The technical problems to be achieved in the present specification are not limited to the technical problems mentioned above, and other technical problems not mentioned will be clearly understood by a person having ordinary knowledge in the technical field to which this specification belongs from the following description. Will be able to.
본 명세서의 일 실시예에 따른 영상 신호를 디코딩하기 위한 방법은, 현재 블록에 대한 움직임 벡터 차분값(motion vector difference, MVD)를 획득하는 단계와, 적응적 움직임 벡터 해상도(adaptive motion vector resolution, AMVR)에 대한 정보 및 참조 픽처에 대한 정보에 기반하여 상기 MVD의 해상도를 결정하는 단계와, 상기 해상도에 따라 상기 MVD를 스케일링 하는 단계와, 상기 스케일링된 MVD 및 움직임 벡터 예측자(motion vector predictor)에 기반하여 상기 현재 블록에 대한 움직임 벡터를 결정하는 단계와, 상기 움직임 벡터에 기반하여 상기 현재 블록에 대한 예측 샘플을 생성하는 단계를 포함한다.A method for decoding an image signal according to an embodiment of the present specification includes: obtaining a motion vector difference (MVD) for a current block, and adaptive motion vector resolution (AMVR) ) Based on information about the reference picture and information about the reference picture, scaling the MVD according to the resolution, and scaling the MVD and a motion vector predictor. And determining a motion vector for the current block based on the result, and generating a prediction sample for the current block based on the motion vector.
또한, 상기 AMVR에 대한 정보는, 미리 정의된 기본 해상도의 사용 여부를 나타내는 AVMR 플래그 및 상기 AVMR의 단위를 나타내는 AMVR 정확도 정보를 포함하고, 상기 참조 픽처에 대한 정보는, 상기 참조 픽처의 POC(picture order count)를 포함할 수 있다.Further, the information on the AMVR includes an AVMR flag indicating whether to use a predefined native resolution and AMVR accuracy information indicating a unit of the AVMR, and the information on the reference picture includes: a picture of POC (picture of the reference picture) order count).
또한, 상기 MVD의 해상도를 결정하는 단계는, 상기 AMVR 플래그 또는 AMVR 정확도 정보의 파싱 이후 상기 현재 블록의 POC와 상기 참조 픽처의 POC를 비교하는 단계를 포함하는 것을 포함할 수 있다.In addition, the step of determining the resolution of the MVD may include comparing the POC of the current block with the POC of the reference picture after parsing the AMVR flag or AMVR accuracy information.
또한, 상기 MVD의 해상도를 결정하는 단계는, 상기 AMVR 플래그를 사용하여 상기 AMVR이 적용되는지 여부를 결정하는 단계와, 상기 AMVR이 적용되지 않는 경우 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 동일한지 여부에 기반하여 상기 MVD의 해상도를 결정하는 단계를 포함할 수 있다.In addition, the determining of the resolution of the MVD may include determining whether the AMVR is applied using the AMVR flag, and when the AMVR is not applied, the POC of the current block and the POC of the reference picture are the same. It may include the step of determining the resolution of the MVD based on whether or not.
또한, 상기 AMVR 플래그가 1이고 상기 AMVR 정확도 정보가 4-펠(four-pel) 단위를 지시하는 경우, 상기 MVD의 해상도는 4로 결정되고, 상기 AVMR 플래그가 1이고 상기 AMVR 정확도 정보가 정수 단위를 지시하는 경우, 상기 MVD의 해상도는 1로 결정되고, 상기 AVMR 플래그가 0이고, 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 상이하면, 상기 MVD의 해상도는 1/4로 결정되고, 상기 AVMR 플래그가 0이고, 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 동일하면, 상기 MVD의 해상도는 1로 결정될 수 있다.In addition, when the AMVR flag is 1 and the AMVR accuracy information indicates a 4-pel unit, the resolution of the MVD is determined to be 4, the AVMR flag is 1, and the AMVR accuracy information is an integer unit. In case of indicating, the resolution of the MVD is determined to be 1, if the AVMR flag is 0, and the POC of the current block is different from the POC of the reference picture, the resolution of the MVD is determined to be 1/4, and the If the AVMR flag is 0 and the POC of the current block is the same as the POC of the reference picture, the resolution of the MVD may be determined to be 1.
또한, 상기 AMVR 플래그가 1이고 상기 AMVR 정확도 정보가 4-펠(four-pel) 단위를 지시하는 경우, 상기 MVD의 해상도는 4로 결정되고, 상기 AVMR 플래그가 1이고 상기 AMVR 정확도 정보가 정수 단위를 지시하면서 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 상이한 경우, 상기 MVD의 해상도는 1로 결정되고, 상기 AVMR 플래그가 1이고 상기 AMVR 정확도 정보가 정수 단위를 지시하면서 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 동일한 경우, 상기 MVD의 해상도는 4로 결정되고, 상기 AVMR 플래그가 0이고 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 동일한 경우, 상기 MVD의 해상도는 1로 결정되고, 상기 AVMR 플래그가 0이고 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 상이한 경우, 상기 MVD의 해상도는 1/4로 결정될 수 있다.In addition, when the AMVR flag is 1 and the AMVR accuracy information indicates a 4-pel unit, the resolution of the MVD is determined to be 4, the AVMR flag is 1, and the AMVR accuracy information is an integer unit. When the POC of the current block and the POC of the reference picture are different while indicating, the resolution of the MVD is determined to be 1, the AVMR flag is 1, and the AMVR accuracy information indicates an integer unit, and the POC of the current block is When the POC of the reference picture is the same, the resolution of the MVD is determined to be 4, and when the AVMR flag is 0 and the POC of the current block and the POC of the reference picture are the same, the resolution of the MVD is determined to be 1, When the AVMR flag is 0 and the POC of the current block is different from the POC of the reference picture, the resolution of the MVD may be determined to be 1/4.
또한, 상기 AMVR 플래그가 1이고 상기 AMVR 정확도 정보가 4-펠(four-pel) 단위를 지시하면서 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 동일한 경우, 상기 MVD의 해상도는 16으로 결정되고, 상기 AMVR 플래그가 1이고 상기 AMVR 정확도 정보가 4-펠(four-pel) 단위를 지시하면서 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 상이한 경우, 상기 MVD의 해상도는 4로 결정되고, 상기 AMVR 플래그가 1이고 상기 AMVR 정확도 정보가 정수 단위를 지시하면서 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 동일한 경우, 상기 MVD의 해상도는 4로 결정되고, 상기 AMVR 플래그가 1이고 상기 AMVR 정확도 정보가 정수 단위를 지시하면서 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 상이한 경우, 상기 MVD의 해상도는 1로 결정되고, 상기 AMVR 플래그가 0이고 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 동일한 경우, 상기 MVD의 해상도는 1로 결정되고, 상기 AMVR 플래그가 0이고 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 상이한 경우, 상기 MVD의 해상도는 1/4로 결정될 수 있다.In addition, when the AMVR flag is 1 and the AMVR accuracy information indicates a 4-pel unit and the POC of the current block and the POC of the reference picture are the same, the resolution of the MVD is determined to be 16, When the AMVR flag is 1 and the AMVR accuracy information indicates a 4-pel unit and the POC of the current block is different from the POC of the reference picture, the resolution of the MVD is determined to be 4, and the AMVR When the flag is 1 and the AMVR accuracy information indicates an integer unit, and the POC of the current block and the POC of the reference picture are the same, the resolution of the MVD is determined to be 4, the AMVR flag is 1 and the AMVR accuracy information is When the POC of the current block and the POC of the reference picture are different while indicating an integer unit, the resolution of the MVD is determined to be 1, the AMVR flag is 0, the POC of the current block and the true When the POC of the crude picture is the same, the resolution of the MVD is determined to be 1, and when the AMVR flag is 0 and the POC of the current block is different from the POC of the reference picture, the resolution of the MVD may be determined to be 1/4. have.
본 발명의 다른 실시예에 따른 영상 신호를 디코딩하기 위한 장치는, 상기 영상 신호를 저장하는 메모리와, 상기 메모리와 결합된 프로세서를 포함하고, 상기 프로세서는, 현재 블록에 대한 움직임 벡터 차분값(motion vector difference, MVD)를 획득하고, 적응적 움직임 벡터 해상도(adaptive motion vector resolution, AMVR)에 대한 정보 및 참조 픽처에 대한 정보에 기반하여 상기 MVD의 해상도를 결정하고, 상기 해상도에 따라 상기 MVD를 스케일링 하고, 상기 스케일링된 MVD 및 움직임 벡터 예측자(motion vector predictor)에 기반하여 상기 현재 블록에 대한 움직임 벡터를 결정하고, 상기 움직임 벡터에 기반하여 상기 현재 블록에 대한 예측 샘플을 생성하도록 설정된다.An apparatus for decoding an image signal according to another embodiment of the present invention includes a memory for storing the image signal, a processor coupled with the memory, and the processor includes motion vector difference values for the current block (motion Vector difference (MVD) is obtained, the resolution of the MVD is determined based on information on adaptive motion vector resolution (AMVR) and information on a reference picture, and the MVD is scaled according to the resolution And, it is set to determine a motion vector for the current block based on the scaled MVD and a motion vector predictor, and generate a prediction sample for the current block based on the motion vector.
본 명세서의 실시예에 따르면, 현재 픽처 참조(current picture referencing, CPR) 여부를 고려하여 움직임 벡터를 스케일링 함으로써, 인터 예측(inter prediction)에 있어서 데이터 자원을 효율적으로 사용할 수 있다.According to an embodiment of the present specification, by scaling a motion vector in consideration of current picture referencing (CPR), data resources can be efficiently used in inter prediction.
본 명세서에서 얻을 수 있는 효과는 이상에서 언급한 효과로 제한되지 않으며, 언급하지 않은 또 다른 효과들은 아래의 기재로부터 본 명세서가 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The effects obtained in the present specification are not limited to the above-mentioned effects, and other effects not mentioned will be clearly understood by those skilled in the art from the following description. .
본 명세서에 관한 이해를 돕기 위해 상세한 설명의 일부로 포함되는, 첨부 도면은 본 명세서에 대한 실시예를 제공하고, 상세한 설명과 함께 본 명세서의 기술적 특징을 설명한다.BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are included as part of the detailed description to aid understanding of the present specification, provide embodiments of the present specification, and describe the technical features of the present specification together with the detailed description.
도 1은 본 명세서의 실시예에 따른 비디오 코딩 시스템의 예를 도시한다.1 shows an example of a video coding system according to an embodiment of the present specification.
도 2는 본 명세서가 적용되는 실시예로서, 비디오/이미지 신호의 인코딩이 수행되는 인코딩 장치의 개략적인 블록도를 나타낸다.2 is an embodiment to which the present specification is applied, and shows a schematic block diagram of an encoding device in which encoding of a video / image signal is performed.
도 3은 본 명세서가 적용되는 실시예로서, 영상 신호의 디코딩이 수행되는 디코딩 장치의 개략적인 블록도를 나타낸다.3 is an embodiment to which the present specification is applied, and shows a schematic block diagram of a decoding apparatus in which decoding of a video signal is performed.
도 4는 본 명세서가 적용되는 실시예로서, 컨텐츠 스트리밍 시스템의 구조도이다.4 is an embodiment to which the present specification is applied, and is a structural diagram of a content streaming system.
도 5는 CTU(coding tree unit)들로 분할된 픽처의 예를 나타낸다.5 shows an example of a picture divided into coding tree units (CTUs).
도 6은 본 명세서의 실시예에 따른 멀티타입 트리 분할 모드들의 예를 도시한다.6 shows an example of multi-type tree splitting modes according to an embodiment of the present specification.
도 7은 멀티타입 트리를 수반한 쿼드트리(quadtree with nested multi-type tree) 구조의 파티션 분할 정보의 시그널링 메커니즘의 예를 나타낸다.7 shows an example of a signaling mechanism of partition partition information of a quadtree with nested multi-type tree structure with a multitype tree.
도 8은 쿼드트리 및 수반되는 멀티타입 트리(quadtree and nested multi-type tree) 구조를 기반으로 CTU가 다중 CU(coding unit)들로 분할되는 것을 예시적으로 도시한다.8 exemplarily shows that a CTU is divided into multiple coding units (CUs) based on a quadtree and nested multi-type tree structure.
도 9는 128x128 코딩 블록에 대하여 TT(ternary tree) 분할이 제한되는 경우의 예를 도시한다.9 shows an example of a case where TT (ternary tree) partitioning is restricted for a 128x128 coding block.
도 10은 바이너리 트리 분할 및 터너리 트리 분할에서 발생할 수 있는 리던던트 분할 패턴들을 예시적으로 나타낸다.10 exemplarily shows redundant partition patterns that may occur in binary tree partitions and ternary tree partitions.
도 11 및 도 12는 인터 예측에 기반한 비디오/영상 인코딩 절차 및 인코딩 장치 내 인터 예측부를 도시한다.11 and 12 illustrate a video / video encoding procedure based on inter prediction and an inter prediction unit in an encoding device.
도 13 및 도 14는 인터 예측에 기반한 비디오/영상 디코딩 절차 및 디코딩 장치 내 인터 예측부를 도시한다.13 and 14 illustrate a video / video decoding procedure based on inter prediction and an inter prediction unit in a decoding apparatus.
도 15는 현재 블록에 대한 공간적 머지 후보 구성의 예를 도시한다.15 shows an example of a spatial merge candidate configuration for the current block.
도 16은 본 명세서의 실시예에 따른 머지 후보 리스트 구성을 위한 흐름도의 예를 도시한다.16 shows an example of a flowchart for configuring a merge candidate list according to an embodiment of the present specification.
도 17은 예측 후보 리스트(MVP 후보 리스트)를 구성하기 위한 흐름도의 예를 도시한다.17 shows an example of a flowchart for constructing a prediction candidate list (MVP candidate list).
도 18은 본 명세서의 실시예에 따른 디코딩 장치의 다른 예를 도시한다.18 shows another example of a decoding apparatus according to an embodiment of the present specification.
도 19는 현재 영상에서 움직임 보상을 사용할 때 움직임 보상의 사용 가능한 영역을 나타낸다.19 shows a usable area of motion compensation when using motion compensation in the current image.
도 20은 HMVP(history-based motion vector prediction) 방법에 따른 디코딩 흐름도의 예를 도시한다.20 shows an example of a decoding flowchart according to a history-based motion vector prediction (HMVP) method.
도 21 및 도 22는 HMVP 방법에서 테이블을 업데이트하는 과정의 예를 도시한다.21 and 22 show an example of a process of updating a table in the HMVP method.
도 23은 움직임 벡터의 해상도를 적응적으로 조절하기 위한 흐름도의 일 예를 도시한다.23 shows an example of a flowchart for adaptively adjusting the resolution of a motion vector.
도 24는 본 명세서의 일 실시예에 따른 AMVR(adaptive motion vector resolution)을 사용하여 MVD(motion vector difference)를 스케일링하는 과정의 예를 도시한다.24 illustrates an example of a process of scaling a motion vector difference (MVD) using adaptive motion vector resolution (AMVR) according to an embodiment of the present specification.
도 25는 본 명세서의 실시예에 따른 AMVR을 사용하여 MVD를 스케일링하는 과정의 다른 예를 도시한다.25 illustrates another example of a process of scaling an MVD using an AMVR according to an embodiment of the present specification.
도 26은 본 명세서의 실시예에 따른 AMVR을 사용하여 MVD를 스케일링하는 과정의 또 다른 예를 도시한다.26 illustrates another example of a process of scaling an MVD using an AMVR according to an embodiment of the present specification.
도 27은 본 명세서의 실시예에 따른 AMVR을 사용하여 MVD를 스케일링하는 과정의 또 다른 예를 도시한다.27 shows another example of a process of scaling an MVD using an AMVR according to an embodiment of the present specification.
도 28은 본 명세서의 실시예에 따른 머지 후보 리스트 구성 방법의 예를 도시한다.28 illustrates an example of a method of constructing a merge candidate list according to an embodiment of the present specification.
도 29는 본 명세서의 실시예에 따른 움직임 벡터 예측 리스트의 구성 방법의 예를 도시한다.29 illustrates an example of a method of constructing a motion vector prediction list according to an embodiment of the present specification.
도 30은 본 명세서의 실시예에 따른 HMVP를 수행하기 위한 흐름도의 예를 도시한다.30 shows an example of a flowchart for performing HMVP according to an embodiment of the present specification.
도 31은 본 명세서의 실시예에 따른 HMVP를 수행하기 위한 흐름도의 다른 예를 도시한다.31 shows another example of a flowchart for performing HMVP according to an embodiment of the present specification.
도 32는 본 명세서의 실시예에 따른 예측을 수행하는 흐름도의 예를 도시한다.32 shows an example of a flowchart for performing prediction according to an embodiment of the present specification.
도 33은 본 명세서의 실시예에 따른 영상 신호를 처리하기 위한 장치의 블록도의 예를 도시한다.33 shows an example of a block diagram of an apparatus for processing an image signal according to an embodiment of the present specification.
도 34는 디지털 기기를 포함한 서비스 시스템(service system)의 일 예를 개략적으로 나타낸 도면이다.34 is a diagram schematically showing an example of a service system including a digital device.
도 35는 디지털 기기의 일 실시예를 설명하기 위해 도시한 구성 블록도이다.35 is a block diagram illustrating a digital device according to an embodiment.
도 36은 디지털 기기의 다른 실시예를 설명하기 위해 도시한 구성 블록도이다.36 is a configuration block diagram illustrating another embodiment of a digital device.
도 37은 디지털 기기의 또 다른 실시 예를 설명하기 위해 도시한 구성 블록도이다.37 is a configuration block diagram illustrating another embodiment of a digital device.
도 38은 도 35 내지 도 37의 제어부의 상세 구성의 일 실시예를 설명하기 위해 도시한 구성 블록도이다.38 is a block diagram illustrating a detailed configuration of the control unit of FIGS. 35 to 37 to illustrate one embodiment.
도 39는 일 실시예에 따른 디지털 기기의 스크린이 메인 영상(main image)과 보조 영상(sub image)을 동시에 디스플레이 하는 일 예시를 도시하는 도면이다.39 is a diagram illustrating an example in which a screen of a digital device displays a main image and a sub image simultaneously, according to an embodiment.
이하, 본 명세서에 따른 바람직한 실시 형태를 첨부된 도면을 참조하여 상세하게 설명한다. 첨부된 도면과 함께 이하에 개시될 상세한 설명은 본 명세서의 예시적인 실시형태를 설명하고자 하는 것이며, 본 명세서가 실시될 수 있는 유일한 실시형태를 나타내고자 하는 것이 아니다. 이하의 상세한 설명은 본 명세서의 완전한 이해를 제공하기 위해서 구체적 세부사항을 포함한다. 그러나, 당업자는 본 명세서가 이러한 구체적 세부사항 없이도 실시될 수 있음을 안다. Hereinafter, preferred embodiments according to the present specification will be described in detail with reference to the accompanying drawings. DETAILED DESCRIPTION The following detailed description, together with the accompanying drawings, is intended to describe exemplary embodiments of the present specification, and is not intended to represent the only embodiments in which the present specification may be practiced. The following detailed description includes specific details to provide a thorough understanding of the specification. However, one of ordinary skill in the art knows that the present specification may be practiced without these specific details.
몇몇 경우, 본 명세서의 개념이 모호해지는 것을 피하기 위하여 공지의 구조 및 장치는 생략되거나, 각 구조 및 장치의 핵심기능을 중심으로 한 블록도 형식으로 도시될 수 있다. In some cases, in order to avoid obscuring the concept of the present specification, well-known structures and devices may be omitted, or block diagrams centered on core functions of each structure and device may be illustrated.
아울러, 본 명세서에서 사용되는 용어는 가능한 한 현재 널리 사용되는 일반적인 용어를 선택하였으나, 특정한 경우는 출원인이 임의로 선정한 용어를 사용하여 설명한다. 그러한 경우에는 해당 부분의 상세 설명에서 그 의미를 명확히 기재하므로, 본 명세서의 설명에서 사용된 용어의 명칭만으로 단순 해석되어서는 안 될 것이며 그 해당 용어의 의미까지 파악하여 해석되어야 함을 밝혀두고자 한다.In addition, the terms used in the present specification have been selected as general terms that are currently widely used as much as possible, but in a specific case, description will be made using terms arbitrarily selected by the applicant. In such a case, since the meaning is clearly described in the detailed description of the relevant part, it should not be interpreted simply by the name of the term used in the description of this specification, and it is to be clarified that the meaning of the term should be understood and interpreted .
이하의 설명에서 사용되는 특정 용어들은 본 명세서의 이해를 돕기 위해서 제공된 것이며, 이러한 특정 용어의 사용은 본 명세서의 기술적 사상을 벗어나지 않는 범위에서 다른 형태로 변경될 수 있다. 예를 들어, 신호, 데이터, 샘플, 픽처, 프레임, 블록 등의 경우 각 코딩 과정에서 적절하게 대체되어 해석될 수 있을 것이다.Certain terms used in the following description are provided to help understanding of the present specification, and the use of these specific terms may be changed to other forms without departing from the technical spirit of the present specification. For example, in the case of signals, data, samples, pictures, frames, blocks, etc., each coding process may be appropriately replaced and interpreted.
이하 본 명세서에서 '처리 유닛'은 예측, 변환 및/또는 양자화 등과 같은 인코딩/디코딩의 처리 과정이 수행되는 단위를 의미한다. 또한, 처리 유닛은 휘도(luma) 성분에 대한 단위와 색차(chroma) 성분에 대한 단위를 포함하는 의미로 해석될 수 있다. 예를 들어, 처리 유닛은 블록(block), 코딩 유닛(coding unit, CU), 예측 유닛(prediction unit, PU) 또는 변환 블록(transform unit, TU)에 해당될 수 있다. Hereinafter, the term 'processing unit' in the present specification means a unit in which encoding / decoding processing processes such as prediction, transformation, and / or quantization are performed. Also, the processing unit may be interpreted to include a unit for a luminance component and a unit for a chroma component. For example, the processing unit may correspond to a block, a coding unit (CU), a prediction unit (PU), or a transform unit (TU).
또한, 처리 유닛은 휘도 성분에 대한 단위 또는 색차 성분에 대한 단위로 해석될 수 있다. 예를 들어, 처리 유닛은 휘도 성분에 대한 CTB(coding tree block), CB(coding block), PU 또는 TB(transform block)에 해당될 수 있다. 또는, 처리 유닛은 색차 성분에 대한 CTB, CB, PU 또는 TB에 해당할 수 있다. 또한, 이에 한정되는 것은 아니며 처리 유닛은 휘도 성분에 대한 단위와 색차 성분에 대한 단위를 포함하는 의미로 해석될 수도 있다. Further, the processing unit may be interpreted as a unit for a luminance component or a unit for a color difference component. For example, the processing unit may correspond to a coding tree block (CTB), a coding block (CB), a PU or a transform block (TB) for the luminance component. Alternatively, the processing unit may correspond to CTB, CB, PU or TB for the color difference component. Further, the present invention is not limited thereto, and the processing unit may be interpreted to include a unit for a luminance component and a unit for a color difference component.
또한, 처리 유닛은 반드시 정사각형의 블록으로 한정되는 것은 아니며, 3개 이상의 꼭지점을 가지는 다각형 형태로 구성될 수도 있다. In addition, the processing unit is not necessarily limited to square blocks, and may be configured in a polygonal shape having three or more vertices.
또한, 이하 본 명세서에서 픽셀, 화소, 또는 계수(변환 계수 또는 1차 변환을 거친 변환 계수) 등을 샘플로 통칭한다. 그리고, 샘플을 이용한다는 것은 픽셀 값, 화소 값, 또는 계수(변환 계수 또는 1차 변환을 거친 변환 계수) 등을 이용한다는 것을 의미할 수 있다. In addition, hereinafter, a pixel, a pixel, or a coefficient (transformation coefficient or transformation coefficient that has undergone first-order transformation) is referred to as a sample in the present specification. And, using a sample may mean that a pixel value, a pixel value, or a coefficient (a transform coefficient or a transform coefficient that has undergone first-order transformation) is used.
도 1은 본 명세서의 실시예에 따른 비디오 코딩 시스템의 예를 도시한다.1 shows an example of a video coding system according to an embodiment of the present specification.
비디오 코딩 시스템은 소스 디바이스(10) 및 수신 디바이스(20)를 포함할 수 있다. 소스 디바이스(10)는 인코딩된 비디오/영상 정보 또는 데이터를 파일 또는 스트리밍 형태로 디지털 저장매체 또는 네트워크를 통하여 수신 디바이스(20)로 전달할 수 있다. The video coding system can include a source device 10 and a receiving device 20. The source device 10 may transmit the encoded video / video information or data to the receiving device 20 through a digital storage medium or a network in a file or streaming form.
소스 디바이스(10)는 비디오 소스(11), 인코딩 장치(12), 송신기(13)를 포함할 수 있다. 수신 디바이스(20)는 수신기(21), 디코딩 장치(22) 및 렌더러(23)를 포함할 수 있다. 인코딩 장치(10)는 비디오/영상 인코딩 장치라고 불릴 수 있고, 디코딩 장치(20)는 비디오/영상 디코딩 장치라고 불릴 수 있다. 송신기(13)는 인코딩 장치(12)에 포함될 수 있다. 수신기(21)는 디코딩 장치(22)에 포함될 수 있다. 렌더러(23)는 디스플레이부를 포함할 수도 있고, 디스플레이부는 별개의 디바이스 또는 외부 컴포넌트로 구성될 수도 있다. The source device 10 may include a video source 11, an encoding device 12, and a transmitter 13. The receiving device 20 may include a receiver 21, a decoding device 22 and a renderer 23. The encoding device 10 may be referred to as a video / video encoding device, and the decoding device 20 may be referred to as a video / video decoding device. The transmitter 13 may be included in the encoding device 12. The receiver 21 may be included in the decoding device 22. The renderer 23 may include a display unit, and the display unit may be configured as a separate device or an external component.
비디오 소스는 비디오/영상의 캡쳐, 합성 또는 생성 과정 등을 통하여 비디오/영상을 획득할 수 있다. 비디오 소스는 비디오/영상 캡쳐 디바이스 및/또는 비디오/영상 생성 디바이스를 포함할 수 있다. 비디오/영상 캡쳐 디바이스는 예를 들어, 하나 이상의 카메라, 이전에 캡쳐된 비디오/영상을 포함하는 비디오/영상 아카이브 등을 포함할 수 있다. 비디오/영상 생성 디바이스는 예를 들어 컴퓨터, 타블렛 및 스마트폰 등을 포함할 수 있으며 (전자적으로) 비디오/영상을 생성할 수 있다. 예를 들어, 컴퓨터 등을 통하여 가상의 비디오/영상이 생성될 수 있으며, 이 경우 관련 데이터가 생성되는 과정으로 비디오/영상 캡쳐 과정이 갈음될 수 있다.The video source may acquire a video / image through a capture, synthesis, or generation process of the video / image. The video source may include a video / image capture device and / or a video / image generation device. The video / image capture device may include, for example, one or more cameras, a video / image archive including previously captured video / images, and the like. The video / image generating device may include, for example, a computer, a tablet and a smart phone, and the like (electronically) to generate the video / image. For example, a virtual video / image may be generated through a computer or the like, and in this case, the video / image capture process may be replaced by a process in which related data is generated.
인코딩 장치(12)는 입력 비디오/영상을 인코딩할 수 있다. 인코딩 장치(12)는 압축 및 코딩 효율을 위하여 예측, 변환, 양자화 등 일련의 절차를 수행할 수 있다. 인코딩된 데이터(인코딩된 비디오/영상 정보)는 비트스트림(bitstream) 형태로 출력될 수 있다.The encoding device 12 may encode an input video / image. The encoding apparatus 12 may perform a series of procedures such as prediction, transformation, and quantization for compression and coding efficiency. The encoded data (encoded video / video information) may be output in the form of a bitstream.
전송부(13)는 비트스트림 형태로 출력된 인코딩된 비디오/영상 정보 또는 데이터를 파일 또는 스트리밍 형태로 디지털 저장매체 또는 네트워크를 통하여 수신 디바이스의 수신부로 전달할 수 있다. 디지털 저장 매체는 USB(universal serial bus), SD(secure digital), CD(compact disk), DVD(digital video disk), 블루레이(bluray), HDD(hard disk drive), SSD(solid state drive) 등 다양한 저장 매체를 포함할 수 있다. 전송부(13)는 미리 정해진 파일 포멧을 통하여 미디어 파일을 생성하기 위한 엘레먼트를 포함할 수 있고, 방송/통신 네트워크를 통한 전송을 위한 엘레멘트를 포함할 수 있다. 수신기(21)는 비트스트림을 추출하여 디코딩 장치(22)로 전달할 수 있다.The transmitting unit 13 may transmit the encoded video / video information or data output in the form of a bitstream to a receiving unit of a receiving device through a digital storage medium or a network in a file or streaming format. Digital storage media include universal serial bus (USB), secure digital (SD), compact disk (CD), digital video disk (DVD), bluray, hard disk drive (HDD), and solid state drive (SSD). It may include various storage media. The transmission unit 13 may include an element for generating a media file through a predetermined file format, and may include an element for transmission through a broadcast / communication network. The receiver 21 may extract the bitstream and transmit it to the decoding device 22.
디코딩 장치(22)는 인코딩 장치(12)의 동작에 대응하는 역양자화, 역변환, 예측 등 일련의 절차를 수행하여 비디오/영상을 디코딩할 수 있다. The decoding apparatus 22 may decode a video / image by performing a series of procedures such as inverse quantization, inverse transformation, and prediction corresponding to the operation of the encoding apparatus 12.
렌더러(23)는 디코딩된 비디오/영상을 렌더링할 수 있다. 렌더링된 비디오/영상은 디스플레이부를 통하여 디스플레이될 수 있다.The renderer 23 may render the decoded video / image. The rendered video / image may be displayed through the display unit.
도 2는 본 명세서의 실시예로서, 비디오/이미지 신호의 인코딩이 수행되는 인코딩 장치의 개략적인 블록도를 나타낸다. 도 2의 인코딩 장치(100)는 도 1의 인코딩 장치(12)에 대응할 수 있다.2 is an embodiment of the present specification, and shows a schematic block diagram of an encoding device in which encoding of a video / image signal is performed. The encoding device 100 of FIG. 2 may correspond to the encoding device 12 of FIG. 1.
도 2를 참조하면, 인코딩 장치(100)는 영상 분할부(110), 감산부(115), 변환부(120), 양자화부(130), 역양자화부(140), 역변환부(150), 가산부(155), 필터링부(160), 복호 픽처 버퍼(decoded picture buffer, DPB)(170), 인터 예측부(180), 인트라 예측부(185) 및 엔트로피 인코딩부(190)를 포함하여 구성될 수 있다. 인터 예측부(180) 및 인트라 예측부(185)를 합쳐서 예측부라고 불릴 수 있다. 즉, 예측부는 인터 예측부(180) 및 인트라 예측부(185)를 포함할 수 있다. 변환부(120), 양자화부(130), 역양자화부(140), 역변환부(150)는 레지듀얼(residual) 처리부에 포함될 수 있다. 레지듀얼 처리부는 감산부(115)를 더 포함할 수도 있다. 상술한 영상 분할부(110), 감산부(115), 변환부(120), 양자화부(130), 역양자화부(140), 역변환부(150), 가산부(155), 필터링부(160), 인터 예측부(180), 인트라 예측부(185) 및 엔트로피 인코딩부(190)는 실시예에 따라 하나의 하드웨어 컴포넌트(예를 들어 인코더 또는 프로세서)에 의하여 구성될 수 있다. 또한 복호 픽처 버퍼(170)는 실시예에 따라 하나의 하드웨어 컴포넌트(예를 들어 메모리 또는 디지털 저장 매체)에 의하여 구성될 수 있다.Referring to FIG. 2, the encoding apparatus 100 includes an image segmentation unit 110, a subtraction unit 115, a conversion unit 120, a quantization unit 130, an inverse quantization unit 140, and an inverse conversion unit 150, Includes an adder 155, a filtering unit 160, a decoded picture buffer (DPB) 170, an inter prediction unit 180, an intra prediction unit 185, and an entropy encoding unit 190 Can be. The inter prediction unit 180 and the intra prediction unit 185 may be collectively called a prediction unit. That is, the prediction unit may include an inter prediction unit 180 and an intra prediction unit 185. The transform unit 120, the quantization unit 130, the inverse quantization unit 140, and the inverse transform unit 150 may be included in a residual processing unit. The residual processing unit may further include a subtraction unit 115. The above-described image segmentation unit 110, subtraction unit 115, conversion unit 120, quantization unit 130, inverse quantization unit 140, inverse conversion unit 150, addition unit 155, filtering unit 160 ), The inter prediction unit 180, the intra prediction unit 185 and the entropy encoding unit 190 may be configured by one hardware component (for example, an encoder or processor) according to an embodiment. Also, the decoded picture buffer 170 may be configured by one hardware component (eg, a memory or digital storage medium) according to an embodiment.
영상 분할부(110)는 인코딩 장치(100)에 입력된 입력 영상(또는, 픽쳐, 프레임)를 하나 이상의 처리 유닛(processing unit)으로 분할할 수 있다. 일 예로, 처리 유닛은 코딩 유닛(CU)이라고 불릴 수 있다. 이 경우 코딩 유닛은 코딩 트리 유닛(coding tree unit, CTU) 또는 최대 코딩 유닛(largest coding unit, LCU)으로부터 QTBT(Quad-tree binary-tree) 구조에 따라 재귀적으로(recursively) 분할될 수 있다. 예를 들어, 하나의 코딩 유닛은 쿼드 트리 구조 및/또는 바이너리 트리 구조를 기반으로 하위(deeper) 뎁스의 복수의 코딩 유닛들로 분할될 수 있다. 이 경우 예를 들어 쿼드 트리 구조가 먼저 적용되고 바이너리 트리 구조가 나중에 적용될 수 있다. 또는 바이너리 트리 구조가 먼저 적용될 수도 있다. 더 이상 분할되지 않는 최종 코딩 유닛을 기반으로 본 명세서에 따른 코딩 절차가 수행될 수 있다. 이 경우 영상 특성에 따른 코딩 효율 등을 기반으로, 최대 코딩 유닛이 바로 최종 코딩 유닛으로 사용될 수 있고, 또는 필요에 따라 코딩 유닛은 재귀적으로(recursively) 보다 하위 뎁스의 코딩 유닛들로 분할되어 최적의 사이즈의 코딩 유닛이 최종 코딩 유닛으로 사용될 수 있다. 여기서 코딩 절차라 함은 후술하는 예측, 변환, 및 복원 등의 절차를 포함할 수 있다. 다른 예로, 처리 유닛은 예측 유닛(PU) 또는 변환 유닛(TU)을 더 포함할 수 있다. 이 경우 예측 유닛 및 변환 유닛은 각각 상술한 최종 코딩 유닛으로부터 분할 또는 파티셔닝될 수 있다. 상기 예측 유닛은 샘플 예측의 단위일 수 있고, 상기 변환 유닛은 변환 계수를 유도하는 단위 및/또는 변환 계수로부터 레지듀얼 신호(residual signal)를 유도하는 단위일 수 있다. The image splitter 110 may divide the input image (or picture, frame) input to the encoding apparatus 100 into one or more processing units. As an example, the processing unit may be referred to as a coding unit (CU). In this case, the coding unit may be recursively divided according to a quad-tree binary-tree (QTBT) structure from a coding tree unit (CTU) or a largest coding unit (LCU). For example, one coding unit may be divided into a plurality of coding units of a deeper depth based on a quad tree structure and / or a binary tree structure. In this case, for example, a quad tree structure may be applied first, and a binary tree structure may be applied later. Alternatively, a binary tree structure may be applied first. The coding procedure according to the present specification may be performed based on the final coding unit that is no longer split. In this case, the maximum coding unit may be directly used as a final coding unit based on coding efficiency according to image characteristics, or the coding unit may be recursively divided into coding units having a lower depth than optimal if necessary. The coding unit of the size of can be used as the final coding unit. Here, the coding procedure may include procedures such as prediction, transformation, and reconstruction, which will be described later. As another example, the processing unit may further include a prediction unit (PU) or a transformation unit (TU). In this case, the prediction unit and transform unit may be partitioned or partitioned from the above-described final coding unit, respectively. The prediction unit may be a unit of sample prediction, and the transformation unit may be a unit for deriving a transform coefficient and / or a unit for deriving a residual signal from the transform coefficient.
유닛은 경우에 따라서 블록(block) 또는 영역(area) 등의 용어와 혼용하여 사용될 수 있다. 일반적인 경우, MxN 블록은 M개의 열과 N개의 행으로 이루어진 샘플들 또는 변환 계수(transform coefficient)들의 집합을 나타낼 수 있다. 샘플은 일반적으로 픽셀 또는 픽셀의 값을 나타낼 수 있으며, 휘도(luma) 성분의 픽셀/픽셀값만을 나타낼 수도 있고, 채도(chroma) 성분의 픽셀/픽셀 값만을 나타낼 수도 있다. 샘플은 하나의 픽처(또는 영상)을 픽셀(pixel) 또는 펠(pel)에 대응하는 용어로서 사용될 수 있다.The unit may be used interchangeably with terms such as a block or area depending on the case. In a general case, the MxN block may represent samples of M columns and N rows or a set of transform coefficients. The sample may generally represent a pixel or a pixel value, and may indicate only a pixel / pixel value of a luma component or only a pixel / pixel value of a saturation component. The sample may be used as a term for one picture (or image) corresponding to a pixel or pel.
인코딩 장치(100)는 입력 영상 신호(원본 블록, 원본 샘플 어레이)에서 인터 예측부(180) 또는 인트라 예측부(185)로부터 출력된 예측 신호(예측된 블록, 예측 샘플 어레이)를 감산하여 레지듀얼 신호(잔여 블록, 잔여 샘플 어레이)를 생성할 수 있고, 생성된 레지듀얼 신호는 변환부(120)로 전송된다. 이 경우 도시된 바와 같이 인코딩 장치(100) 내에서 입력 영상 신호(원본 블록, 원본 샘플 어레이)에서 예측 신호(예측 블록, 예측 샘플 어레이)를 감산하는 유닛은 감산부(115)라고 불릴 수 있다. 예측부는 처리 대상 블록(이하, 현재 블록이라 함)에 대한 예측을 수행하고, 현재 블록에 대한 예측 샘플들을 포함하는 예측된 블록(predicted block)을 생성할 수 있다. 예측부는 현재 블록 또는 CU 단위로 인트라 예측이 적용되는지 또는 인터 예측이 적용되는지 결정할 수 있다. 예측부는 각 예측모드에 대한 설명에서 후술하는 바와 같이 예측 모드 정보 등 예측에 관한 다양한 정보를 생성하여 엔트로피 인코딩부(190)로 전달할 수 있다. 예측에 관한 정보는 엔트로피 인코딩부(190)에서 인코딩되어 비트스트림 형태로 출력될 수 있다. The encoding apparatus 100 subtracts a prediction signal (a predicted block, a prediction sample array) output from the inter prediction unit 180 or the intra prediction unit 185 from the input image signal (original block, original sample array) A signal (residual block, residual sample array) may be generated, and the generated residual signal is transmitted to the converter 120. In this case, as illustrated, a unit that subtracts a prediction signal (a prediction block, a prediction sample array) from an input image signal (original block, original sample array) in the encoding apparatus 100 may be referred to as a subtraction unit 115. The prediction unit may perform prediction on a block to be processed (hereinafter referred to as a current block), and generate a predicted block including prediction samples for the current block. The prediction unit may determine whether intra prediction or inter prediction is applied in units of a current block or CU. As described later in the description of each prediction mode, the prediction unit may generate various information regarding prediction, such as prediction mode information, and transmit it to the entropy encoding unit 190. The prediction information may be encoded by the entropy encoding unit 190 and output in the form of a bitstream.
인트라 예측부(185)는 현재 픽처 내의 샘플들을 참조하여 현재 블록을 예측할 수 있다. 참조되는 샘플들은 예측 모드에 따라 상기 현재 블록의 주변(neighbor)에 위치할 수 있고, 또는 떨어져서 위치할 수도 있다. 인트라 예측에서 예측 모드들은 복수의 비방향성 모드와 복수의 방향성 모드를 포함할 수 있다. 비방향성 모드는 예를 들어 DC 모드 및 플래너 모드(planar 모드)를 포함할 수 있다. 방향성 모드는 예측 방향의 세밀한 정도에 따라 예를 들어 33개의 방향성 예측 모드 또는 65개의 방향성 예측 모드를 포함할 수 있다. 다만, 이는 예시로서 설정에 따라 그 이상 또는 그 이하의 개수의 방향성 예측 모드들이 사용될 수 있다. 인트라 예측부(185)는 주변 블록에 적용된 예측 모드를 이용하여, 현재 블록에 적용되는 예측 모드를 결정할 수도 있다.The intra prediction unit 185 may predict the current block by referring to samples in the current picture. The referenced samples may be located in the neighborhood of the current block or may be located apart depending on a prediction mode. In intra prediction, prediction modes may include a plurality of non-directional modes and a plurality of directional modes. The non-directional mode may include, for example, a DC mode and a planar mode (planar mode). The directional mode may include, for example, 33 directional prediction modes or 65 directional prediction modes depending on the degree of detail of the prediction direction. However, this is an example, and more or less directional prediction modes may be used depending on the setting. The intra prediction unit 185 may determine a prediction mode applied to the current block using a prediction mode applied to neighboring blocks.
인터 예측부(180)는 참조 픽처 상에서 움직임 벡터에 의해 특정되는 참조 블록(참조 샘플 어레이)을 기반으로, 현재 블록에 대한 예측된 블록을 유도할 수 있다. 이때, 인터 예측 모드에서 전송되는 움직임 정보의 양을 줄이기 위해 주변 블록과 현재 블록 간의 움직임 정보의 상관성에 기초하여 움직임 정보를 블록, 서브블록 또는 샘플 단위로 예측할 수 있다. 움직임 정보는 움직임 벡터 및 참조 픽처 인덱스를 포함할 수 있다. 움직임 정보는 인터 예측 방향(L0 예측, L1 예측, Bi 예측 등) 정보를 더 포함할 수 있다. 인터 예측의 경우에, 주변 블록은 현재 픽처 내에 존재하는 공간적 주변 블록(spatial neighboring block)과 참조 픽처에 존재하는 시간적 주변 블록(temporal neighboring block)을 포함할 수 있다. 참조 블록을 포함하는 참조 픽처와 시간적 주변 블록을 포함하는 참조 픽처는 동일할 수도 있고, 다를 수도 있다. 상기 시간적 주변 블록은 동일 위치 참조 블록(collocated reference block), 동일 위치 CU(colCU) 등의 이름으로 불릴 수 있으며, 시간적 주변 블록을 포함하는 참조 픽처는 동일 위치 픽처(collocated picture, colPic)라고 불릴 수도 있다. 예를 들어, 인터 예측부(180)는 주변 블록들을 기반으로 움직임 정보 후보 리스트를 구성하고, 현재 블록의 움직임 벡터 및/또는 참조 픽처 인덱스를 도출하기 위하여 어떤 후보가 사용되는지를 지시하는 정보를 생성할 수 있다. 다양한 예측 모드를 기반으로 인터 예측이 수행될 수 있으며, 예를 들어 스킵 모드와 머지 모드의 경우에, 인터 예측부(180)는 주변 블록의 움직임 정보를 현재 블록의 움직임 정보로 이용할 수 있다. 스킵 모드의 경우, 머지 모드와 달리 레지듀얼 신호가 전송되지 않을 수 있다. 움직임 정보 예측(motion vector prediction, MVP) 모드의 경우, 주변 블록의 움직임 벡터를 움직임 벡터 예측자(motion vector predictor)로 이용하고, 움직임 벡터 차분(motion vector difference)을 시그널링함으로써 현재 블록의 움직임 벡터를 지시할 수 있다.The inter prediction unit 180 may derive a predicted block for the current block based on a reference block (reference sample array) specified by a motion vector on the reference picture. At this time, to reduce the amount of motion information transmitted in the inter prediction mode, motion information may be predicted in units of blocks, subblocks, or samples based on the correlation of motion information between a neighboring block and a current block. The motion information may include a motion vector and a reference picture index. The motion information may further include inter prediction direction (L0 prediction, L1 prediction, Bi prediction, etc.) information. In the case of inter prediction, the neighboring block may include a spatial neighboring block existing in the current picture and a temporal neighboring block present in the reference picture. The reference picture including the reference block and the reference picture including the temporal neighboring block may be the same or different. The temporal neighboring block may be referred to by a name such as a collocated reference block or a colCU, and a reference picture including a temporal neighboring block may also be called a collocated picture (colPic). have. For example, the inter prediction unit 180 constructs a motion information candidate list based on neighboring blocks, and generates information indicating which candidates are used to derive a motion vector and / or reference picture index of the current block. can do. Inter prediction may be performed based on various prediction modes. For example, in the case of the skip mode and the merge mode, the inter prediction unit 180 may use motion information of neighboring blocks as motion information of the current block. In the skip mode, unlike the merge mode, the residual signal may not be transmitted. In the case of a motion vector prediction (MVP) mode, a motion vector of a current block is obtained by using a motion vector of a neighboring block as a motion vector predictor and signaling a motion vector difference. I can order.
인터 예측부(180) 또는 인트라 예측부(185)를 통해 생성된 예측 신호는 복원 신호를 생성하기 위해 이용되거나 레지듀얼 신호를 생성하기 위해 이용될 수 있다. The prediction signal generated by the inter prediction unit 180 or the intra prediction unit 185 may be used to generate a reconstructed signal or may be used to generate a residual signal.
변환부(120)는 레지듀얼 신호에 변환 기법을 적용하여 변환 계수들(transform coefficients)를 생성할 수 있다. 예를 들어, 변환 기법은 DCT(discrete cosine transform), DST(discrete sine transform), KLT(Karhunen-Loeve transform), GBT(graph-based transform), 또는 CNT(conditionally non-linear transform) 중 적어도 하나를 포함할 수 있다. 여기서, GBT는 픽셀 간의 관계 정보를 그래프로 표현한다고 할 때 이 그래프로부터 얻어진 변환을 의미한다. CNT는 이전에 복원된 모든 픽셀(all previously reconstructed pixel)를 이용하여 예측 신호를 생성하고 그에 기초하여 획득되는 변환을 의미한다. 또한, 변환 과정은 정사각형의 동일한 크기를 갖는 픽셀 블록에 적용될 수도 있고, 정사각형이 아닌 가변 크기의 블록에도 적용될 수 있다.The transform unit 120 may generate transform coefficients by applying a transform technique to the residual signal. For example, the transformation technique may include at least one of a discrete cosine transform (DCT), a discrete sine transform (DST), a Karhunen-Loeve transform (KLT), a graph-based transform (GBT), or a conditionally non-linear transform (CNT). It can contain. Here, GBT refers to a transformation obtained from this graph when it is said that the relationship information between pixels is graphically represented. CNT means a transform obtained by generating a predictive signal using all previously reconstructed pixels and based on it. Further, the transform process may be applied to pixel blocks having the same size of a square, or may be applied to blocks of variable sizes other than squares.
양자화부(130)는 변환 계수들을 양자화하여 엔트로피 인코딩부(190)로 전송되고, 엔트로피 인코딩부(190)는 양자화된 신호(양자화된 변환 계수들에 관한 정보)를 인코딩하여 비트스트림으로 출력할 수 있다. 양자화된 변환 계수들에 관한 정보는 레지듀얼 정보라고 불릴 수 있다. 양자화부(130)는 계수 스캔 순서(scan order)를 기반으로 블록 형태의 양자화된 변환 계수들을 1차원 벡터 형태로 재정렬할 수 있고, 1차원 벡터 형태의 양자화된 변환 계수들을 기반으로 상기 양자화된 변환 계수들에 관한 정보를 생성할 수도 있다. 엔트로피 인코딩부(190)는 예를 들어 지수 골롬(exponential Golomb), CAVLC(context-adaptive variable length coding), CABAC(context-adaptive binary arithmetic coding)과 같은 다양한 인코딩 동작을 수행할 수 있다. 엔트로피 인코딩부(190)는 양자화된 변환 계수들 외 비디오/이미지 복원에 필요한 정보들(예: 신택스 요소들(syntax elements)의 값)을 함께 또는 별도로 인코딩할 수도 있다. 인코딩된 정보(예: 비디오/영상 정보)는 비트스트림 형태로 NAL(network abstraction layer) 유닛 단위로 전송 또는 저장될 수 있다. 비트스트림은 네트워크를 통하여 전송될 수 있고, 또는 디지털 저장매체에 저장될 수 있다. 여기서 네트워크는 방송망 및/또는 통신망 등을 포함할 수 있고, 디지털 저장매체는 USB, SD, CD, DVD, 블루레이, HDD, SSD와 같은 다양한 저장매체를 포함할 수 있다. 엔트로피 인코딩부(190)로부터 출력된 신호는 전송하는 전송부(미도시) 및/또는 저장하는 저장부(미도시)가 인코딩 장치(100)의 내/외부 엘리먼트로서 구성될 수 있고, 또는 전송부는 엔트로피 인코딩부(190)의 구성요소일 수도 있다.The quantization unit 130 quantizes the transform coefficients and transmits them to the entropy encoding unit 190, and the entropy encoding unit 190 encodes a quantized signal (information about quantized transform coefficients) and outputs it as a bitstream. have. Information about the quantized transform coefficients may be referred to as residual information. The quantization unit 130 may rearrange block-type quantized transform coefficients into a one-dimensional vector form based on a coefficient scan order, and the quantized transform based on the one-dimensional vector form quantized transform coefficients Information about coefficients may be generated. The entropy encoding unit 190 may perform various encoding operations such as exponential Golomb (CAVLC), context-adaptive variable length coding (CAVLC), and context-adaptive binary arithmetic coding (CABAC). The entropy encoding unit 190 may encode information necessary for video / image reconstruction (eg, a value of syntax elements) together with the quantized transform coefficients together or separately. The encoded information (eg, video / video information) may be transmitted or stored in the unit of a network abstraction layer (NAL) unit in the form of a bitstream. The bitstream can be transmitted over a network or stored on a digital storage medium. Here, the network may include a broadcasting network and / or a communication network, and the digital storage medium may include various storage media such as USB, SD, CD, DVD, Blu-ray, HDD, SSD. The signal output from the entropy encoding unit 190 may be configured as an internal / external element of the encoding apparatus 100 by a transmitting unit (not shown) and / or a storing unit (not shown) for storing, or the transmitting unit It may be a component of the entropy encoding unit 190.
양자화부(130)로부터 출력된 양자화된 변환 계수들은 예측 신호를 생성하기 위해 이용될 수 있다. 예를 들어, 양자화된 변환 계수들은에 루프 내의 역양자화부(140) 및 역변환부(150)를 통해 역양자화 및 역변환을 적용함으로써 레지듀얼 신호를 복원할 수 있다. 가산부(155)는 복원된 레지듀얼 신호를 인터 예측부(180) 또는 인트라 예측부(185)로부터 출력된 예측 신호에 더함으로써 복원(reconstructed) 신호(복원 픽처, 복원 블록, 복원 샘플 어레이)가 생성될 수 있다. 스킵 모드가 적용된 경우와 같이 처리 대상 블록에 대한 레지듀얼이 없는 경우, 예측된 블록이 복원 블록으로 사용될 수 있다. 가산부(155)는 복원부 또는 복원 블록 생성부라고 불릴 수 있다. 생성된 복원 신호는 현재 픽처 내 다음 처리 대상 블록의 인트라 예측을 위하여 사용될 수 있고, 후술하는 바와 같이 필터링을 거쳐서 다음 픽처의 인터 예측을 위하여 사용될 수도 있다. The quantized transform coefficients output from the quantization unit 130 may be used to generate a prediction signal. For example, the residual signal may be reconstructed by applying inverse quantization and inverse transform to the quantized transform coefficients through the inverse quantization unit 140 and the inverse transform unit 150 in the loop. The adder 155 adds the reconstructed residual signal to the predicted signal output from the inter predictor 180 or the intra predictor 185, so that the reconstructed signal (restored picture, reconstructed block, reconstructed sample array) Can be created. If there is no residual for the block to be processed, such as when the skip mode is applied, the predicted block may be used as a reconstructed block. The adding unit 155 may be called a restoration unit or a restoration block generation unit. The generated reconstructed signal may be used for intra prediction of the next processing target block in the current picture, or may be used for inter prediction of the next picture through filtering as described below.
필터링부(160)는 복원 신호에 필터링을 적용하여 주관적/객관적 화질을 향상시킬 수 있다. 예를 들어 필터링부(160)는 복원 픽처에 다양한 필터링 방법을 적용하여 수정된(modified) 복원 픽처를 생성할 수 있고, 수정된 복원 픽처를 복호 픽처 버퍼(170)에 전송할 수 있다. 다양한 필터링 방법은 예를 들어, 디블록킹 필터링, 샘플 적응적 오프셋(sample adaptive offset), 적응적 루프 필터(adaptive loop filter), 양방향 필터(bilateral filter) 등을 포함할 수 있다. 필터링부(160)는 각 필터링 방법에 대한 설명에서 후술하는 바와 같이 필터링에 관한 다양한 정보를 생성하여 엔트로피 인코딩부(190)로 전달할 수 있다. 필터링 관한 정보는 엔트로피 인코딩부(190)에서 인코딩되어 비트스트림 형태로 출력될 수 있다. The filtering unit 160 may apply subjective filtering to the reconstructed signal to improve subjective / objective image quality. For example, the filtering unit 160 may generate a modified reconstructed picture by applying various filtering methods to the reconstructed picture, and may transmit the modified reconstructed picture to the decoded picture buffer 170. Various filtering methods may include, for example, deblocking filtering, sample adaptive offset, adaptive loop filter, bilateral filter, and the like. The filtering unit 160 may generate various information regarding filtering as described later in the description of each filtering method and transmit it to the entropy encoding unit 190. The filtering information may be encoded by the entropy encoding unit 190 and output in the form of a bitstream.
복호 픽처 버퍼(170)에 전송된 수정된 복원 픽처는 인터 예측부(180)에서 참조 픽처로 사용될 수 있다. 인코딩 장치(100)는 이를 통하여 인터 예측이 적용되는 경우, 인코딩 장치(100)와 디코딩 장치(200)에서의 예측 미스매치를 피할 수 있고, 부호화 효율도 향상시킬 수 있다. The modified reconstructed picture transmitted to the decoded picture buffer 170 may be used as a reference picture in the inter prediction unit 180. When the inter prediction is applied through the encoding apparatus 100, prediction mismatches in the encoding apparatus 100 and the decoding apparatus 200 may be avoided, and encoding efficiency may be improved.
복호 픽처 버퍼(170)는 수정된 복원 픽처를 인터 예측부(180)에서의 참조 픽처로 사용하기 위해 저장할 수 있다.The decoded picture buffer 170 may store the corrected reconstructed picture for use as a reference picture in the inter prediction unit 180.
도 3은 본 명세서의 실시예로서, 영상 신호의 디코딩이 수행되는 디코딩 장치의 개략적인 블록도를 나타낸다. 도 3의 디코딩 장치(200)는 도 1의 디코딩 장치(22)에 대응할 수 있다.3 is an embodiment of the present specification, and shows a schematic block diagram of a decoding apparatus in which decoding of a video signal is performed. The decoding device 200 of FIG. 3 may correspond to the decoding device 22 of FIG. 1.
도 3을 참조하면, 디코딩 장치(200)는 엔트로피 디코딩부(210), 역양자화부(220), 역변환부(230), 가산부(235), 필터링부(240), 복호 픽처 버퍼(DPB)(250), 인터 예측부(260) 및 인트라 예측부(265)를 포함하여 구성될 수 있다. 인터 예측부(260) 및 인트라 예측부(265)를 합쳐서 예측부라고 불릴 수 있다. 즉, 예측부는 인터 예측부(180) 및 인트라 예측부(185)를 포함할 수 있다. 역양자화부(220), 역변환부(230)를 합쳐서 레지듀얼 처리부라고 불릴 수 있다. 즉, 레지듀얼 처리부는 역양자화부(220), 역변환부(230)을 포함할 수 있다. 상술한 엔트로피 디코딩부(210), 역양자화부(220), 역변환부(230), 가산부(235), 필터링부(240), 인터 예측부(260) 및 인트라 예측부(265)는 실시예에 따라 하나의 하드웨어 컴포넌트(예를 들어 디코더 또는 프로세서)에 의하여 구성될 수 있다. 또한 복호 픽처 버퍼(250)은 실시예에 따라 하나의 하드웨어 컴포넌트(예를 들어 메모리 또는 디지털 저장 매체)에 의하여 구현될 수 있다.Referring to FIG. 3, the decoding apparatus 200 includes an entropy decoding unit 210, an inverse quantization unit 220, an inverse transform unit 230, an adding unit 235, a filtering unit 240, and a decoded picture buffer (DPB). 250, an inter prediction unit 260, and an intra prediction unit 265. The inter prediction unit 260 and the intra prediction unit 265 may be collectively called a prediction unit. That is, the prediction unit may include an inter prediction unit 180 and an intra prediction unit 185. The inverse quantization unit 220 and the inverse conversion unit 230 may be collectively referred to as a residual processing unit. That is, the residual processing unit may include an inverse quantization unit 220 and an inverse conversion unit 230. The entropy decoding unit 210, the inverse quantization unit 220, the inverse transform unit 230, the addition unit 235, the filtering unit 240, the inter prediction unit 260, and the intra prediction unit 265 described above are embodiments. It may be configured by one hardware component (for example, a decoder or processor). Also, the decoded picture buffer 250 may be implemented by one hardware component (eg, a memory or digital storage medium) according to an embodiment.
비디오/이미지 정보를 포함하는 비트스트림이 입력되면, 디코딩 장치(200)는 도 2의 인코딩 장치(100)에서 비디오/이미지 정보가 처리된 프로세스에 대응하여 영상을 복원할 수 있다. 예를 들어, 디코딩 장치(200)는 인코딩 장치(100)에서 적용된 처리 유닛을 이용하여 디코딩을 수행할 수 있다. 따라서 디코딩시 처리 유닛은, 예를 들어, 코딩 유닛일 수 있고, 코딩 유닛은 코딩 트리 유닛 또는 최대 코딩 유닛으로부터 쿼드 트리 구조 및/또는 바이너리 트리 구조에 따라 분할될 수 있다. 그리고, 디코딩 장치(200)를 통해 디코딩 및 출력된 복원 영상 신호는 재생 장치를 통해 재생될 수 있다.When a bitstream including video / image information is input, the decoding apparatus 200 may restore an image in response to a process in which the video / image information is processed by the encoding apparatus 100 of FIG. 2. For example, the decoding apparatus 200 may perform decoding using a processing unit applied by the encoding apparatus 100. Thus, in decoding, the processing unit may be, for example, a coding unit, and the coding unit may be divided according to a quad tree structure and / or a binary tree structure from a coding tree unit or a largest coding unit. Then, the decoded video signal decoded and output through the decoding apparatus 200 may be reproduced through the reproduction apparatus.
디코딩 장치(200)는 도 2의 인코딩 장치(100)로부터 출력된 신호를 비트스트림 형태로 수신할 수 있고, 수신된 신호는 엔트로피 디코딩부(210)를 통해 디코딩될 수 있다. 예를 들어, 엔트로피 디코딩부(210)는 비트스트림을 파싱하여 영상 복원(또는 픽처 복원)에 필요한 정보(예: 비디오/영상 정보)를 도출할 수 있다. 예컨대, 엔트로피 디코딩부(210)는 지수 골롬 부호화, CAVLC 또는 CABAC 등의 코딩 방법을 기초로 비트스트림 내 정보를 디코딩하고, 영상 복원에 필요한 신택스 엘리먼트의 값, 레지듀얼에 관한 변환 계수의 양자화된 값 들을 출력할 수 있다. 보다 상세하게, CABAC 엔트로피 디코딩 방법은, 비트스트림에서 각 구문 요소에 해당하는 빈(bin)을 수신하고, 디코딩 대상 구문 요소 정보와 주변 및 디코딩 대상 블록의 디코딩 정보 혹은 이전 단계에서 디코딩된 심볼/빈의 정보를 이용하여 문맥(context) 모델을 결정하고, 결정된 문맥 모델에 따라 빈의 발생 확률을 예측하여 빈의 산술 디코딩(arithmetic decoding)를 수행하여 각 구문 요소의 값에 해당하는 심볼을 생성할 수 있다. 이때, CABAC 엔트로피 디코딩 방법은 문맥 모델 결정 후 다음 심볼/빈의 문맥 모델을 위해 디코딩된 심볼/빈의 정보를 이용하여 문맥 모델을 업데이트할 수 있다. 엔트로피 디코딩부(210)에서 디코딩된 정보 중 예측에 관한 정보는 예측부(인터 예측부(260) 및 인트라 예측부(265))로 제공되고, 엔트로피 디코딩부(210)에서 엔트로피 디코딩이 수행된 레지듀얼 값, 즉 양자화된 변환 계수들 및 관련 파라미터 정보는 역양자화부(220)로 입력될 수 있다. 또한, 엔트로피 디코딩부(210)에서 디코딩된 정보 중 필터링에 관한 정보는 필터링부(240)로 제공될 수 있다. 한편, 인코딩 장치(100)로부터 출력된 신호를 수신하는 수신부(미도시)가 디코딩 장치(200)의 내/외부 엘리먼트로서 더 구성될 수 있고, 또는 수신부는 엔트로피 디코딩부(210)의 구성요소일 수도 있다. The decoding apparatus 200 may receive the signal output from the encoding apparatus 100 of FIG. 2 in the form of a bitstream, and the received signal may be decoded through the entropy decoding unit 210. For example, the entropy decoding unit 210 may parse the bitstream to derive information (eg, video / image information) necessary for image reconstruction (or picture reconstruction). For example, the entropy decoding unit 210 decodes information in a bitstream based on a coding method such as exponential Golomb coding, CAVLC, or CABAC, and quantizes a value of a syntax element required for image reconstruction and a transform coefficient for residual. Can output In more detail, the CABAC entropy decoding method receives bins corresponding to each syntax element in a bitstream, and decodes syntax information of the decoding target syntax elements and surrounding and decoding target blocks, or symbols / bins decoded in the previous step. The context model is determined using the information of, and the probability of occurrence of the bin is predicted according to the determined context model to perform arithmetic decoding of the bin to generate a symbol corresponding to the value of each syntax element. have. At this time, the CABAC entropy decoding method may update the context model using the decoded symbol / bin information for the next symbol / bin context model after determining the context model. Among the information decoded by the entropy decoding unit 210, information regarding prediction is provided to a prediction unit (inter prediction unit 260 and intra prediction unit 265), and the entropy decoding unit 210 performs entropy decoding. The dual value, that is, quantized transform coefficients and related parameter information may be input to the inverse quantization unit 220. Also, information related to filtering among information decoded by the entropy decoding unit 210 may be provided to the filtering unit 240. Meanwhile, a receiving unit (not shown) receiving a signal output from the encoding apparatus 100 may be further configured as an internal / external element of the decoding apparatus 200, or the receiving unit may be a component of the entropy decoding unit 210. It might be.
역양자화부(220)에서는 양자화된 변환 계수들을 역양자화하여 변환 계수들을 출력할 수 있다. 역양자화부(220)는 양자화된 변환 계수들을 2차원의 블록 형태로 재정렬할 수 있다. 이 경우 인코딩 장치(100)에서 수행된 계수 스캔 순서에 기반하여 재정렬이 수행될 수 있다. 역양자화부(220)는 양자화 파라미터(예를 들어 양자화 스텝 사이즈 정보)를 이용하여 양자화된 변환 계수들에 대한 역양자화를 수행하고, 변환 계수들(transform coefficient)을 획득할 수 있다. The inverse quantization unit 220 may inverse quantize the quantized transform coefficients to output transform coefficients. The inverse quantization unit 220 may rearrange the quantized transform coefficients in a two-dimensional block form. In this case, reordering may be performed based on the coefficient scan order performed by the encoding apparatus 100. The inverse quantization unit 220 may perform inverse quantization on the quantized transform coefficients by using a quantization parameter (for example, quantization step size information), and obtain transform coefficients.
역변환부(230)는 변환 계수들을 역변환하여 레지듀얼 신호(레지듀얼 블록, 레지듀얼 샘플 어레이)를 획득하게 된다. The inverse transform unit 230 inversely transforms the transform coefficients to obtain a residual signal (residual block, residual sample array).
예측부는 현재 블록에 대한 예측을 수행하고, 현재 블록에 대한 예측 샘플들을 포함하는 예측된 블록(predicted block)을 생성할 수 있다. 예측부는 엔트로피 디코딩부(210)로부터 출력된 예측에 관한 정보를 기반으로 현재 블록에 인트라 예측이 적용되는지 또는 인터 예측이 적용되는지 결정할 수 있고, 구체적인 인트라/인터 예측 모드를 결정할 수 있다. The prediction unit may perform prediction on the current block and generate a predicted block including prediction samples for the current block. The prediction unit may determine whether intra prediction or inter prediction is applied to the current block based on information about prediction output from the entropy decoding unit 210, and may determine a specific intra / inter prediction mode.
인트라 예측부(265)는 현재 픽처 내의 샘플들을 참조하여 현재 블록을 예측할 수 있다. 참조되는 샘플들은 예측 모드에 따라 현재 블록의 주변(neighbor)에 위치할 수 있고, 또는 이격되어 위치할 수도 있다. 인트라 예측에서 예측 모드들은 복수의 비방향성 모드와 복수의 방향성 모드를 포함할 수 있다. 인트라 예측부(265)는 주변 블록에 적용된 예측 모드를 이용하여, 현재 블록에 적용되는 예측 모드를 결정할 수도 있다.The intra prediction unit 265 may predict the current block by referring to samples in the current picture. The referenced samples may be located in the neighborhood of the current block or spaced apart according to the prediction mode. In intra prediction, prediction modes may include a plurality of non-directional modes and a plurality of directional modes. The intra prediction unit 265 may determine a prediction mode applied to the current block using a prediction mode applied to neighboring blocks.
인터 예측부(260)는 참조 픽처 상에서 움직임 벡터에 의해 특정되는 참조 블록(참조 샘플 어레이)을 기반으로, 현재 블록에 대한 예측된 블록을 유도할 수 있다. 이때, 인터 예측 모드에서 전송되는 움직임 정보의 양을 줄이기 위해 주변 블록과 현재 블록 간의 움직임 정보의 상관성에 기초하여 움직임 정보를 블록, 서브블록 또는 샘플 단위로 예측할 수 있다. 움직임 정보는 움직임 벡터 및 참조 픽처 인덱스를 포함할 수 있다. 움직임 정보는 인터 예측 방향(L0 예측, L1 예측, Bi 예측 등) 정보를 더 포함할 수 있다. 인터 예측의 경우, 주변 블록은 현재 픽처 내에 존재하는 공간적 주변 블록(spatial neighboring block)과 참조 픽처에 존재하는 시간적 주변 블록(temporal neighboring block)을 포함할 수 있다. 예를 들어, 인터 예측부(260)는 주변 블록들을 기반으로 움직임 정보 후보 리스트를 구성하고, 수신된 후보 선택 정보를 기반으로 현재 블록의 움직임 벡터 및/또는 참조 픽처 인덱스를 도출할 수 있다. 다양한 예측 모드를 기반으로 인터 예측이 수행될 수 있으며, 예측에 관한 정보는 현재 블록에 대한 인터 예측의 모드를 지시하는 정보를 포함할 수 있다. The inter prediction unit 260 may derive the predicted block for the current block based on a reference block (reference sample array) specified by a motion vector on the reference picture. At this time, to reduce the amount of motion information transmitted in the inter prediction mode, motion information may be predicted in units of blocks, subblocks, or samples based on the correlation of motion information between a neighboring block and a current block. The motion information may include a motion vector and a reference picture index. The motion information may further include inter prediction direction (L0 prediction, L1 prediction, Bi prediction, etc.) information. In the case of inter prediction, the neighboring block may include a spatial neighboring block existing in the current picture and a temporal neighboring block present in the reference picture. For example, the inter prediction unit 260 may construct a motion information candidate list based on neighboring blocks, and derive a motion vector and / or reference picture index of the current block based on the received candidate selection information. Inter prediction may be performed based on various prediction modes, and information about prediction may include information indicating a mode of inter prediction for a current block.
가산부(235)는 획득된 레지듀얼 신호를 인터 예측부(260) 또는 인트라 예측부(265)로부터 출력된 예측 신호(예측된 블록, 예측 샘플 어레이)에 더함으로써 복원 신호(복원 픽처, 복원 블록, 복원 샘플 어레이)를 생성할 수 있다. 스킵 모드가 적용된 경우와 같이 처리 대상 블록에 대한 레지듀얼이 없는 경우, 예측된 블록이 복원 블록으로 사용될 수 있다.The adding unit 235 adds the obtained residual signal to the prediction signal (predicted block, prediction sample array) output from the inter prediction unit 260 or the intra prediction unit 265, thereby restoring signals (restored pictures, reconstructed blocks). , A reconstructed sample array). If there is no residual for the block to be processed, such as when the skip mode is applied, the predicted block may be used as a reconstructed block.
가산부(235)는 복원부 또는 복원 블록 생성부라고 불릴 수 있다. 생성된 복원 신호는 현재 픽처 내 다음 처리 대상 블록의 인트라 예측을 위하여 사용될 수 있고, 후술하는 바와 같이 필터링을 거쳐서 다음 픽처의 인터 예측을 위하여 사용될 수도 있다. The adding unit 235 may be called a restoration unit or a restoration block generation unit. The generated reconstructed signal may be used for intra prediction of the next processing target block in the current picture, or may be used for inter prediction of the next picture through filtering as described below.
필터링부(240)는 복원 신호에 필터링을 적용함으로써 주관적/객관적 화질을 향상시킬 수 있다. 예를 들어 필터링부(240)는 복원 픽처에 다양한 필터링 방법을 적용하여 수정된(modified) 복원 픽처를 생성할 수 있고, 수정된 복원 픽처를 복호 픽처 버퍼(250)에 전송할 수 있다. 다양한 필터링 방법은 예를 들어, 디블록킹 필터링, 샘플 적응적 오프셋(sample adaptive offset, SAO), 적응적 루프 필터(adaptive loop filter, ALF), 양방향 필터(bilateral filter) 등을 포함할 수 있다. The filtering unit 240 may improve subjective / objective image quality by applying filtering to the reconstructed signal. For example, the filtering unit 240 may generate a modified reconstructed picture by applying various filtering methods to the reconstructed picture, and may transmit the modified reconstructed picture to the decoded picture buffer 250. Various filtering methods may include, for example, deblocking filtering, sample adaptive offset (SAO), adaptive loop filter (ALF), bilateral filter, and the like.
복호 픽쳐 버퍼(250)에 전송된 수정된 복원 픽처는 인터 예측부(260)에 의해 참조 픽쳐로 사용될 수 있다.The corrected reconstructed picture transmitted to the decoded picture buffer 250 may be used as a reference picture by the inter prediction unit 260.
본 명세서에서, 인코딩 장치(100)의 필터링부(160), 인터 예측부(180) 및 인트라 예측부(185)에서 설명된 실시예들은 각각 디코딩 장치의 필터링부(240), 인터 예측부(260) 및 인트라 예측부(265)에도 동일 또는 대응되도록 적용될 수 있다.In the present specification, the embodiments described in the filtering unit 160, the inter prediction unit 180, and the intra prediction unit 185 of the encoding device 100 are respectively the filtering unit 240 and the inter prediction unit 260 of the decoding device. ) And the intra prediction unit 265 may be applied to the same or corresponding.
도 4는 본 명세서의 실시예로서, 컨텐츠 스트리밍 시스템의 구조도이다. 4 is an embodiment of the present specification, and is a structural diagram of a content streaming system.
본 명세서가 적용되는 컨텐츠 스트리밍 시스템은 크게 인코딩 서버(410), 스트리밍 서버(420), 웹 서버(430), 미디어 저장소(440), 사용자 장치(450) 및 멀티미디어 입력 장치(460)를 포함할 수 있다.The content streaming system to which the present specification is applied may largely include an encoding server 410, a streaming server 420, a web server 430, a media storage 440, a user device 450, and a multimedia input device 460. have.
인코딩 서버(410)는 스마트폰, 카메라, 캠코더 등과 같은 멀티미디어 입력 장치들로부터 입력된 컨텐츠를 디지털 데이터로 압축하여 비트스트림을 생성하고 이를 스트리밍 서버(420)로 전송하는 역할을 한다. 다른 예로, 스마트폰, 카메라, 캠코더 등과 같은 멀티미디어 입력 장치(460)들이 비트스트림을 직접 생성하는 경우, 인코딩 서버(410)는 생략될 수 있다.The encoding server 410 serves to compress a content input from multimedia input devices such as a smartphone, camera, camcorder, etc. into digital data to generate a bitstream and transmit it to the streaming server 420. As another example, when the multimedia input devices 460 such as a smartphone, camera, and camcorder directly generate a bitstream, the encoding server 410 may be omitted.
비트스트림은 본 명세서가 적용되는 인코딩 방법 또는 비트스트림 생성 방법에 의해 생성될 수 있고, 스트리밍 서버(420)는 비트스트림을 전송 또는 수신하는 과정에서 일시적으로 비트스트림을 저장할 수 있다.The bitstream may be generated by an encoding method or a bitstream generation method to which the present specification is applied, and the streaming server 420 may temporarily store the bitstream in the process of transmitting or receiving the bitstream.
스트리밍 서버(420)는 웹 서버(430)를 통한 사용자 요청에 기초하여 멀티미디어 데이터를 사용자 장치(450)에 전송하고, 웹 서버(430)는 사용자에게 어떠한 서비스가 있는지를 알려주는 매개체 역할을 한다. 사용자가 웹 서버(430)에 원하는 서비스를 요청하면, 웹 서버(430)는 이를 스트리밍 서버(420)에 전달하고, 스트리밍 서버(420)는 사용자에게 멀티미디어 데이터를 전송한다. 이때, 컨텐츠 스트리밍 시스템은 별도의 제어 서버를 포함할 수 있고, 이 경우 제어 서버는 컨텐츠 스트리밍 시스템 내 각 장치 간 명령/응답을 제어하는 역할을 한다.The streaming server 420 transmits multimedia data to the user device 450 based on a user request through the web server 430, and the web server 430 serves as an intermediary to inform the user of the service. When a user requests a desired service from the web server 430, the web server 430 delivers it to the streaming server 420, and the streaming server 420 transmits multimedia data to the user. At this time, the content streaming system may include a separate control server, in which case the control server serves to control commands / responses between devices in the content streaming system.
스트리밍 서버(420)는 미디어 저장소(440) 및/또는 인코딩 서버(410)로부터 컨텐츠를 수신할 수 있다. 예를 들어, 인코딩 서버(410)로부터 컨텐츠를 수신하게 되는 경우, 컨텐츠를 실시간으로 수신할 수 있다. 이 경우, 원활한 스트리밍 서비스를 제공하기 위하여 스트리밍 서버(420)는 비트스트림을 일정 시간동안 저장할 수 있다. Streaming server 420 may receive content from media storage 440 and / or encoding server 410. For example, when content is received from the encoding server 410, the content may be received in real time. In this case, in order to provide a smooth streaming service, the streaming server 420 may store the bitstream for a predetermined time.
사용자 장치(450)의 예로는, 휴대폰, 스마트 폰(smart phone), 노트북 컴퓨터(laptop computer), 디지털방송용 단말기, PDA(personal digital assistants), PMP(portable multimedia player), 네비게이션, 슬레이트 PC(slate PC), 태블릿 PC(tablet PC), 울트라북(ultrabook), 웨어러블 디바이스(wearable device, 예를 들어, 워치형 단말기 (smartwatch), 글래스형 단말기 (smart glass), HMD(head mounted display)), 디지털 TV, 데스크탑 컴퓨터, 디지털 사이니지 등이 있을 수 있다.Examples of the user device 450 include mobile phones, smart phones, laptop computers, digital broadcasting terminals, personal digital assistants (PDAs), portable multimedia players (PMPs), navigation, and slate PCs. ), Tablet PC, ultrabook, wearable device (e.g., smartwatch, smart glass, head mounted display (HMD), digital TV) , Desktop computers, digital signage, and the like.
컨텐츠 스트리밍 시스템 내 각 서버들은 분산 서버로 운영될 수 있으며, 이 경우 각 서버에서 수신하는 데이터는 분산 처리될 수 있다.Each server in the content streaming system can be operated as a distributed server, and in this case, data received from each server can be distributed.
블록 분할(Block Partitioning)Block partitioning
본 문서에 따른 비디오/영상 코딩 방법은 다양한 세부 기술들에 기반하여 수행될 수 있으며, 각각의 세부 기술들을 개략적으로 설명하면 다음과 같다. 이하 설명되는 기술들은 상술한 및/또는 후술되는 비디오/영상 인코딩/디코딩 절차에서의 예측, 레지듀얼 처리(변환, 양자화 등), 신텍스 요소 코딩, 필터링, 파티셔닝/분할 등의 관련 절차에 연관될 수 있음은 당업자에게 자명하다.The video / image coding method according to this document may be performed based on various detailed technologies, and the detailed description of each detailed technology is as follows. The techniques described below may be related to related procedures such as prediction, residual processing (transformation, quantization, etc.), syntax element coding, filtering, partitioning / segmentation, etc. in the video / image encoding / decoding procedure described above and / or described below. It is apparent to those skilled in the art.
분할 구조(Partitioning structure)Partitioning structure
CTU들로의 픽처 분할(Partitioning of picture into CTUs)Partitioning of picture into CTUs
픽처들은 코딩 트리 유닛들(CTUs)의 시퀀스로 분할될(divided into a sequence) 수 있다. CTU는 코딩 트리 블록(CTB)에 대응될 수 있다. 혹은 CTU는 루마 샘플들의 코딩 트리 블록과, 대응하는 크로마 샘플들의 두개의 코딩 트리 블록들을 포함할 수 있다. 다시 말하면, 세가지 샘플 어레이를 포함하는 픽처에 대하여, CTU는 루마 샘플들의 NxN 블록과 크로마 샘플들의 두개의 대응 블록들을 포함할 수 있다. Pictures may be divided into a sequence of coding tree units (CTUs). The CTU may correspond to a coding tree block (CTB). Alternatively, the CTU may include a coding tree block of luma samples and two coding tree blocks of corresponding chroma samples. In other words, for a picture containing three sample arrays, the CTU may include two corresponding blocks of chroma samples and an NxN block of luma samples.
도 5는 CTU들로 분할된 픽처의 예를 나타낸다.5 shows an example of a picture divided into CTUs.
코딩 및 예측을 위한 CTU의 최대 허용 사이즈는 변환을 위한 CTU의 최대 허용 사이즈와 다를 수 있다. 예를 들어, CTU 내 루마 블록의 최대 허용 사이즈는 (비록 루마 CTU들의 최대 사이즈가 64x64인 경우에도) 128x128일 수 있다.The maximum allowable size of the CTU for coding and prediction may be different from the maximum allowable size of the CTU for transformation. For example, the maximum allowable size of a luma block in a CTU may be 128x128 (even if the maximum size of luma CTUs is 64x64).
트리 구조를 사용한 CTU의 분할(Partitioning of the CTUs using a tree structure)Partitioning of the CTUs using a tree structure
도 6은 본 명세서의 실시예에 따른 멀티타입 트리 분할 모드들의 예를 도시한다.6 shows an example of multi-type tree splitting modes according to an embodiment of the present specification.
CTU는 쿼드트리(quad-tree, QT) 구조를 기반으로 CU들로 분할될 수 있다. 쿼드트리 구조는 쿼터너리(quaternary) 트리 구조라고 불릴 수 있다. 이는 다양한 국지적 특징(local characteristic)을 반영하기 위함이다. 한편, 본 문서에서 CTU는 쿼드트리 뿐 아니라 바이너리 트리(binary-tree, BT) 및 터너리 트리(ternary-tree, TT)을 포함하는 멀티타입 트리 구조 분할에 기반하여 분할될 수 있다. 이하, QTBT 구조라 함은 쿼드트리 및 바이너리 트리 기반 분할 구조를 포함할 수 있고, QTBTTT라 함은 쿼드트리, 바이너리 트리 및 터너리 트리 기반 분할 구조를 포함할 수 있다. 또한, QTBT 구조는 쿼드트리, 바이너리 트리 및 터너리 트리 기반 분할 구조를 포함할 수도 있다. 코딩 트리 구조에서, CU는 정사각형 또는 직사각형 모양을 가질 수 있다. CTU는 먼저 쿼드트리 구조로 분할될 수 있다. 이후 쿼드트리 구조의 리프 노드들은 멀티타입 트리 구조에 의하여 더 분할될 수 있다. 예를 들어 도 6에서 도시된 것과 같이, 멀티타입 트리 구조는 개략적으로 4개의 분할 타입을 포함할 수 있다.The CTU may be divided into CUs based on a quad-tree (QT) structure. The quadtree structure may be referred to as a quaternary tree structure. This is to reflect various local characteristics. Meanwhile, in this document, the CTU can be divided based on the division of a multi-type tree structure including a binary tree (BT) and a ternary tree (TT) as well as a quad tree. Hereinafter, the QTBT structure may include a quadtree and binary tree based partitioning structure, and the QTBTTT may include a quadtree, binary tree and ternary tree based partitioning structure. In addition, the QTBT structure may include a quadtree, binary tree, and ternary tree based splitting structure. In the coding tree structure, the CU can have a square or rectangular shape. The CTU can be first divided into a quadtree structure. Thereafter, leaf nodes having a quadtree structure may be further divided by a multitype tree structure. For example, as shown in FIG. 6, the multi-type tree structure may schematically include four division types.
도 6에 나타난 4개의 분할 타입은 수직 바이너리 분할(vertical binary splitting, SPLIT_BT_VER), 수평 바이너리 분할(horizontal binary splitting, SPLIT_BT_HOR), 수직 터너리 분할(vertical ternary splitting, SPLIT_TT_VER), 수평 터너리 분할(horizontal ternary splitting, SPLIT_TT_HOR)을 포함할 수 있다. 멀티타입 트리 구조의 리프 노드들은 CU들로 지칭될 수 있다. 이러한 CU들은 예측 및 변환 절차를 위한 단위로서 사용될 수 있다. 본 명세서의 실시예에서 CU, PU, TU는 동일한 블록 사이즈를 가질 수 있다. 다만, 최대 허용 변환 길이(maximum supported transform length)가 CU의 컬러 성분(colour component)의 너비 또는 높이보다 작은 경우에는 CU와 TU가 서로 다른 블록 사이즈를 가질 수 있다. The four split types shown in FIG. 6 are vertical binary splitting (SPLIT_BT_VER), horizontal binary splitting (SPLIT_BT_HOR), vertical ternary splitting (SPLIT_TT_VER), horizontal ternary splitting (horizontal ternary) splitting, SPLIT_TT_HOR). Leaf nodes of a multitype tree structure may be referred to as CUs. These CUs can be used as a unit for prediction and transformation procedures. In the exemplary embodiment of the present specification, CU, PU, and TU may have the same block size. However, when the maximum supported transform length is smaller than the width or height of the color component of the CU, the CU and the TU may have different block sizes.
도 7은 멀티타입 트리를 수반한 쿼드트리(quadtree with nested multi-type tree) 구조의 파티션 분할 정보의 시그널링 메커니즘의 예를 나타낸다.7 shows an example of a signaling mechanism of partition partition information of a quadtree with nested multi-type tree structure with a multitype tree.
여기서, CTU는 쿼드트리의 루트(root)로 취급되며, 쿼드트리 구조로 처음으로 분할된다. 각 쿼드트리 리프 노드는 이후 멀티타입 트리 구조로 더 분할될 수 있다. 멀티타입 트리 구조에서, 제1 플래그(예: mtt_split_cu_flag)가 해당 노드가 추가적으로 분할되는지 여부를 지시하기 위하여 시그널링된다. 만약 해당 노드가 추가적으로 분할되는 경우, 제2 플래그(예: mtt_split_cu_vertical_flag)가 분할 방향(splitting direction)을 지시하기 위하여 시그널링될 수 있다. 그 후 제3 플래그(예: mtt_split_cu_binary_flag)가 분할 타입이 바이너리 분할인지 터너리 분할인지 여부를 지시하기 위하여 시그널링될 수 있다. 예를 들어, mtt_split_cu_vertical_flag 및 mtt_split_cu_binary_flag를 기반으로, CU의 멀티타입 트리 분할 모드(multi-type tree splitting mode, MttSplitMode)가 다음 표 1과 같이 도출될 수 있다.Here, the CTU is treated as a root of a quadtree, and is first divided into a quadtree structure. Each quadtree leaf node may then be further divided into a multitype tree structure. In the multi-type tree structure, a first flag (eg, mtt_split_cu_flag) is signaled to indicate whether the corresponding node is additionally partitioned. If the corresponding node is additionally divided, a second flag (eg, mtt_split_cu_vertical_flag) may be signaled to indicate a splitting direction. Thereafter, a third flag (eg, mtt_split_cu_binary_flag) may be signaled to indicate whether the partition type is binary partition or ternary partition. For example, based on mtt_split_cu_vertical_flag and mtt_split_cu_binary_flag, a multi-type tree splitting mode (MttSplitMode) of a CU may be derived as shown in Table 1 below.
Figure PCTKR2019012306-appb-img-000001
Figure PCTKR2019012306-appb-img-000001
도 8은 쿼드트리 및 수반되는 멀티타입 트리(quadtree and nested multi-type tree) 구조를 기반으로 CTU가 다중 CU들로 분할되는 것을 예시적으로 도시한다.8 exemplarily shows that a CTU is divided into multiple CUs based on a quadtree and nested multi-type tree structure.
여기서, 볼드 블록 엣지들(bold block edges)는 쿼드트리 분할을, 나머지 엣지들은 멀티타입 트리 분할을 나타낸다. 멀티타입 트리를 수반한 쿼드트리 파티션은 컨텐츠-적응적 코딩 트리 구조를 제공할 수 있다. CU는 코딩 블록(CB)에 대응될 수 있다. 혹은 CU는 루마 샘플들의 코딩 블록과, 대응하는 크로마 샘플들의 두개의 코딩 블록들을 포함할 수 있다. CU의 사이즈는 CTU만큼 클 수도 있고, 또는 루마 샘플 단위에서 4x4 단위로 구성될 수도 있다. 예를 들어, 4:2:0 컬러 포맷(또는 크로마 포맷)인 경우, 최대 크로마 CB 사이즈는 64x64이고 최소 크로마 CB 사이즈는 2x2일 수 있다.Here, bold block edges represent quadtree partitioning, and the remaining edges represent multitype tree partitioning. A quadtree partition with a multitype tree can provide a content-adaptive coding tree structure. The CU may correspond to a coding block (CB). Alternatively, the CU may include a coding block of luma samples and two coding blocks of corresponding chroma samples. The size of the CU may be as large as the CTU, or may be configured in 4x4 units in luma sample units. For example, in the case of a 4: 2: 0 color format (or chroma format), the maximum chroma CB size may be 64x64 and the minimum chroma CB size may be 2x2.
본 문서에서 예를 들어, 최대 허용 루마 TB 사이즈는 64x64이고, 최대 허용 크로마 TB 사이즈는 32x32일 수 있다. 만약 트리 구조에 따라 분할된 CB의 너비 또는 높이가 최대 변환 너비 또는 높이보다 큰 경우, 해당 CB는 자동적으로(또는 묵시적으로) 수평 및 수직 방향의 TB 사이즈 제한을 만족할 때까지 분할될 수 있다. In this document, for example, the maximum allowed luma TB size may be 64x64 and the maximum allowed chroma TB size may be 32x32. If the width or height of the CB divided according to the tree structure is greater than the maximum conversion width or height, the CB may be automatically (or implicitly) partitioned until the horizontal and vertical TB size limitations are satisfied.
한편, 멀티타입 트리를 수반한 쿼드트리 코딩 트리 스킴(scheme)을 위하여, 다음 파라미터들이 SPS(sequence parameter set) 신택스 요소로 정의 및 식별될 수 있다.Meanwhile, for a quad tree coding tree scheme involving a multitype tree, the following parameters may be defined and identified as a sequence parameter set (SPS) syntax element.
- CTU size: 쿼터너리 트리의 루트 노드(the root node size of a quaternary tree)-CTU size: the root node size of a quaternary tree
- MinQTSize: 최소의 허용된 쿼터너리 트리 리프 노드 사이즈(the minimum allowed quaternary tree leaf node size)-MinQTSize: the minimum allowed quaternary tree leaf node size
- MaxBtSize: 최소의 허용된 이진 트리 루트 노드 사이즈(the maximum allowed binary tree root node size)-MaxBtSize: the maximum allowed binary tree root node size
- MaxTtSize: 최소의 허용된 터너리 트리 루트 노드 사이즈(the maximum allowed ternary tree root node size)-MaxTtSize: the maximum allowed ternary tree root node size
- MaxMttDepth: 쿼드트리 리프로부터 분할되는 멀티 타입 트리의 최대 허용된 계층적 깊이(the maximum allowed hierarchy depth of multi-type tree splitting from a quadtree leaf)-MaxMttDepth: the maximum allowed hierarchy depth of multi-type tree splitting from a quadtree leaf
- MinBtSize: 최소의 허용된 이진 트리 리프 노드 사이즈(the minimum allowed binary tree leaf node size)-MinBtSize: the minimum allowed binary tree leaf node size
- MinTtSize: 최소의 허용된 터너리 트리 리프 노드 사이즈(the minimum allowed ternary tree leaf node size)-MinTtSize: the minimum allowed ternary tree leaf node size
멀티타입 트리를 수반한 쿼드트리 코딩 트리 구조의 일 예로, CTU 사이즈는 128x128 루마 샘플들 및 두개의 대응하는 크로마 샘플들의 64x64 블록들로 설정될 수 있다(4:2:0 크로마 포맷에서). 이 경우, MinOTSize는 16x16으로 설정되고, MaxBtSize는 128x128로 설정되고, MaxTtSzie는 64x64로 설정되고, (너비와 높이에 대한) MinBtSize 및 MinTtSize는 4x4로, 그리고 MaxMttDepth는 4로 설정될 수 있다. 쿼드트리 분할은 CTU에 적용되어 쿼드트리 리프 노드들을 생성할 수 있다. 쿼드트리 리프 노드는 리프 QT 노드라고 불릴 수 있다. 쿼드트리 리프 노드들은 16x16 사이즈 (즉, MinOTSize)로부터 128x128 사이즈(즉, CTU 사이즈)를 가질 수 있다. 만약 리프 QT 노드가 128x128인 경우, 추가적으로 바이너리 트리/터너리 트리로 분할되지 않을 수 있다. 이는 이 경우 분할되더라도 MaxBtsize 및 MaxTtszie(즉, 64x64)를 초과하기 때문이다. 이 외의 경우, 리프 QT 노드는 멀티타입 트리로 추가적으로 분할될 수 있다. 그러므로, 리프 QT 노드는 멀티타입 트리에 대한 루트 노드(root node)이고, 리프 QT 노드는 멀티타입 트리 뎁스(mttDepth) 0 값을 가질 수 있다. 만약, 멀티타입 트리 뎁스가 MaxMttdepth(예: 4)에 도달한 경우, 더 이상 추가 분할은 고려되지 않을 수 있다. 만약, 멀티타입 트리 노드의 너비가 MinBtSize와 같고, 2xMinTtSize보다 작거나 같을 때, 더 이상 추가적인 수평 분할은 고려되지 않을 수 있다. 만약, 멀티타입 트리 노드의 높이가 MinBtSize와 같고, 2xMinTtSize보다 작거나 같을 때, 더 이상 추가적인 수직 분할은 고려되지 않을 수 있다.As an example of a quadtree coding tree structure with a multitype tree, the CTU size may be set to 64x64 blocks of 128x128 luma samples and two corresponding chroma samples (in 4: 2: 0 chroma format). In this case, MinOTSize can be set to 16x16, MaxBtSize is set to 128x128, MaxTtSzie can be set to 64x64, MinBtSize and MinTtSize (for width and height) can be set to 4x4, and MaxMttDepth can be set to 4. Quadtree splitting can be applied to CTU to generate quadtree leaf nodes. The quadtree leaf node may be referred to as a leaf QT node. Quadtree leaf nodes may have a size of 16x16 (ie MinOTSize) to a size of 128x128 (ie CTU size). If the leaf QT node is 128x128, it may not be additionally divided into a binary tree / ternary tree. This is because, even in this case, it exceeds MaxBtsize and MaxTtszie (ie, 64x64). In other cases, the leaf QT node may be further divided into a multi-type tree. Therefore, the leaf QT node is a root node for the multitype tree, and the leaf QT node may have a multitype tree depth (mttDepth) 0 value. If the multi-type tree depth reaches MaxMttdepth (eg 4), further partitioning may not be considered. If the width of the multitype tree node is equal to MinBtSize and less than or equal to 2xMinTtSize, additional horizontal splitting may no longer be considered. If the height of the multitype tree node is equal to MinBtSize and less than or equal to 2xMinTtSize, additional vertical splitting may not be considered any more.
하드웨어 디코더에서의 64x64 루마 블록 및 32x32 크로마 파이프라인 디자인을 허용하기 위하여, TT 분할은 특정 경우 금지될(forbidden) 수 있다. 예를 들어, 루마 코딩 블록의 너비 또는 높이가 64보다 큰 경우, 도 9에 도시된 바와 같이, TT 분할이 금지될 수 있다. 또한 예를 들어, 크로마 코딩 블록의 너비 또는 높이가 32보다 큰 경우 TT 분할은 금지될 수 있다.To allow for the 64x64 luma block and 32x32 chroma pipeline design in the hardware decoder, TT segmentation can be forbidden in certain cases. For example, if the width or height of the luma coding block is greater than 64, as shown in FIG. 9, TT splitting may be prohibited. Also, for example, if the width or height of the chroma coding block is greater than 32, TT splitting may be prohibited.
도 9는 128x128 코딩 블록에 대하여 TT 분할이 제한되는 경우의 예를 도시한다.9 shows an example in the case where TT splitting is limited for a 128x128 coding block.
본 문서에서, 코딩 트리 스킴은 루마 및 크로마 블록이 개별적(separate) 블록 트리 구조를 가지는 것을 지원할 수 있다. P 및 B 슬라이스들에 대하여, 하나의 CTU 내 루마 및 크로마 CTB들은 동일한 코딩 트리 구조를 갖도록 제한될 수 있다. 그러나, I 슬라이스들에 대하여, 루마 및 크로마 블록들은 서로 개별적 블록 트리 구조를 가질 수 있다. 만약 개별적 블록 트리 모드가 적용되는 경우, 루마 CTB는 특정 코딩 트리 구조를 기반으로 CU들로 분할되고, 크로마 CTB는 다른 코딩 트리 구조를 기반으로 크로마 CU들로 분할될 수 있다. 이는, I 슬라이스 내 CU는 루마 성분의 코딩 블록 또는 두 크로마 성분들의 코딩 블록들로 구성되고, P 또는 B 슬라이스의 CU는 세가지 컬러 성분의 블록들로 구성될 수 있음을 의미할 수 있다.In this document, the coding tree scheme may support luma and chroma blocks having a separate block tree structure. For P and B slices, luma and chroma CTBs in one CTU can be restricted to have the same coding tree structure. However, for I slices, luma and chroma blocks may have a separate block tree structure from each other. If the individual block tree mode is applied, the luma CTB may be divided into CUs based on a specific coding tree structure, and the chroma CTB may be divided into chroma CUs based on another coding tree structure. This may mean that a CU in an I slice is composed of a coding block of luma components or coding blocks of two chroma components, and a CU of a P or B slice can be composed of blocks of three color components.
상술한 "트리 구조를 사용한 CTU의 분할(Partitioning of the CTUs using a tree structure)"에서 멀티타입 트리를 수반한 쿼드트리 코딩 트리 구조에 대하여 설명하였으나, CU가 분할되는 구조는 이에 한정되지 않는다. 예를 들어, BT 구조 및 TT 구조는 다수 분할 트리(multiple partitioning tree, MPT) 구조에 포함되는 개념으로 해석될 수 있고, CU는 QT 구조 및 MPT 구조를 통해 분할된다고 해석할 수 있다. QT 구조 및 MPT 구조를 통해 CU가 분할되는 일 예에서, QT 구조의 리프 노드가 몇 개의 블록으로 분할되는지에 관한 정보를 포함하는 신택스 요소(예: MPT_split_type) 및 QT 구조의 리프 노드가 수직과 수평 중 어느 방향으로 분할되는지에 관한 정보를 포함하는 신택스 요소(예: MPT_split_mode)가 시그널링 됨으로써 분할 구조가 결정될 수 있다.In the above-described "Partitioning of the CTUs using a tree structure", the quadtree coding tree structure with a multi-type tree was described, but the structure in which the CU is divided is not limited to this. For example, the BT structure and the TT structure may be interpreted as a concept included in a multiple partitioning tree (MPT) structure, and a CU may be divided through a QT structure and an MPT structure. In an example in which a CU is split through a QT structure and an MPT structure, a syntax element (eg, MPT_split_type) including information about how many blocks a leaf node of the QT structure is divided into, and a leaf node of the QT structure are vertical and horizontal. A splitting structure may be determined by signaling a syntax element (eg, MPT_split_mode) including information on which direction to split.
또 다른 예에서, CU는 QT 구조, BT 구조 또는 TT 구조와 다른 방법으로 분할될 수 있다. 즉, QT 구조에 따라 하위 뎁스의 CU가 상위 뎁스의 CU의 1/4 크기로 분할되거나, BT 구조에 따라 하위 뎁스의 CU가 상위 뎁스의 CU의 1/2 크기로 분할되거나, TT 구조에 따라 하위 뎁스의 CU가 상위 뎁스의 CU의 1/4 또는 1/2 크기로 분할되는 것과 달리, 하위 뎁스의 CU는 경우에 따라 상위 뎁스의 CU의 1/5, 1/3, 3/8, 3/5, 2/3 또는 5/8 크기로 분할될 수 있으며, CU가 분할되는 방법은 이에 한정되지 않는다.In another example, the CU may be divided in a different way from the QT structure, BT structure or TT structure. That is, according to the QT structure, the CU of the lower depth is divided into 1/4 the size of the CU of the upper depth, or the CU of the lower depth is divided into 1/2 the size of the CU of the upper depth according to the BT structure, or according to the TT structure Unlike the CU of the lower depth, which is divided into 1/4 or 1/2 the size of the CU of the upper depth, the CU of the lower depth may be 1/5, 1/3, 3/8, 3 of the CU of the upper depth depending on the case. It may be divided into / 5, 2/3, or 5/8 size, and the method in which the CU is divided is not limited thereto.
트리 구조를 사용한 CTU들의 분할(Partitioning of the CTUs using tree structure)Partitioning of the CTUs using tree structure
만약 트리 노드 블록의 부분(portion)이 하단(bottom) 또는 오른쪽(right) 픽처 경계(boundary)를 초과하는(exceeds) 경우, 해당 트리 노드 블록은 모든 코딩된 CU의 모든 샘플들이 상기 픽처 경계들 내에 위치하도록 제한될 수 있다. 이 경우 예를 들어 아래의 표 2와 같은 분할 규칙이 적용될 수 있다.If the portion of the tree node block exceeds the bottom or right picture boundary, the tree node block is such that all samples of all coded CUs are within the picture boundaries. It can be restricted to be located. In this case, for example, the partitioning rule shown in Table 2 below may be applied.
Figure PCTKR2019012306-appb-img-000002
Figure PCTKR2019012306-appb-img-000002
중첩적인 CU 분할에 대한 제한(Restrictions on redundant CU splits)Restrictions on redundant CU splits
도 10은 바이너리 트리 분할 및 터너리 트리 분할에서 발생할 수 있는 리던던트 분할 패턴들을 예시적으로 나타낸다.10 exemplarily shows redundant partition patterns that may occur in binary tree partitions and ternary tree partitions.
멀티타입 트리를 수반한 쿼드트리 코딩 블록 구조는 매우 유연한 블록 파티셔닝 구조를 제공할 수 있다. 멀티타입 트리에 지원되는 분할 타입들 때문에, 다른 분할 패턴들이 경우에 따라서 잠재적으로 동일한 코딩 블록 구조 결과를 가져올 수 잇다. 이러한 리던던트(redundant)한 분할 패턴들의 발생을 제한함으로써 파티셔닝 정보의 데이터량을 줄일 수 있다.The quadtree coding block structure with a multi-type tree can provide a very flexible block partitioning structure. Due to the division types supported in the multitype tree, different division patterns can potentially result in the same coding block structure in some cases. By limiting the occurrence of such redundant partition patterns, the data amount of partitioning information can be reduced.
도 10에 도시된 바와 같이, 2단계 레벨의 한 방향에 대한 연속적인 바이너리 분할(two levels of consecutive binary splits in one direction)은, 터너리 분할 이후 센터 파티션에 대한 바이너리 분할과 동일한 코딩 블록 구조를 갖는다. 이러한 경우, 터너리 트리 분할의 센터 파티션에 대한 바이너리 트리 분할(in the given direction)은 금지된다. 이러한 금지는 모든 픽처들의 CU들에 대하여 적용될 수 있다. 이러한 특정 분할이 금지되는 경우, 대응하는 신택스 요소들의 시그널링은 이러한 금지되는 경우를 반영하여 수정될 수 있고, 이를 통하여 파티셔닝을 위하여 시그널링되는 비트수를 줄일 수 있다. 예를 들어, 도 10에 도시된 예와 같이, CU의 센터 파티션에 대한 바이너리 트리 분할이 금지되는 경우, 분할이 바이너리 분할인지 터너리 분할인지 여부를 가리키는 mtt_split_cu_binary_flag 신택스 요소는 시그널링되지 않고, 그 값은 0으로 디코더에 의하여 추론될 수 있다.As shown in FIG. 10, two levels of consecutive binary splits in one direction have the same coding block structure as binary partitions for the center partition after ternary splitting. . In this case, binary tree partitioning to the center partition of the ternary tree partitioning is prohibited. This prohibition can be applied to CUs of all pictures. When this specific division is prohibited, signaling of the corresponding syntax elements can be modified to reflect this prohibited case, thereby reducing the number of bits signaled for partitioning. For example, as in the example shown in FIG. 10, when binary tree partitioning for the CU's center partition is prohibited, the mtt_split_cu_binary_flag syntax element indicating whether the partition is a binary partition or a ternary partition is not signaled, and its value is It can be inferred by the decoder to zero.
인터 예측(Inter Prediction)Inter Prediction
이하, 본 명세서의 실시예에 따른 인터 예측 기법에 대하여 설명하도록 한다. 이하 설명되는 인터 예측은 도 2의 인코딩 장치(100)의 인터 예측부(180) 또는 도 3의 디코딩 장치(200)의 인터 예측부(260)에 의해 수행될 수 있다.Hereinafter, an inter prediction technique according to an embodiment of the present specification will be described. The inter prediction described below may be performed by the inter prediction unit 180 of the encoding apparatus 100 of FIG. 2 or the inter prediction unit 260 of the decoding apparatus 200 of FIG. 3.
인코딩 장치(100)/디코딩 장치(200)의 예측부는 블록 단위로 인터 예측을 수행하여 예측 샘플을 도출할 수 있다. 인터 예측은 현재 픽처 이외의 픽처(들)의 데이터 요소들(예: 샘플값들, 또는 움직임 정보 등)에 의존적인 방법으로 도출되는 예측을 나타낼 수 있다(Inter prediction can be a prediction derived in a manner that is dependent on data elements (e.g., sample values or motion information) of picture(s) other than the current picture). 현재 블록에 인터 예측이 적용되는 경우, 참조 픽처 인덱스가 가리키는 참조 픽처 상에서 움직임 벡터에 의해 특정되는 참조 블록(참조 샘플 어레이)을 기반으로, 현재 블록에 대한 예측된 블록(예측 샘플 어레이)을 유도할 수 있다. 이때, 인터 예측 모드에서 전송되는 움직임 정보의 양을 줄이기 위해 주변 블록과 현재 블록 간의 움직임 정보의 상관성에 기초하여 현재 블록의 움직임 정보를 블록, 서브블록 또는 샘플 단위로 예측할 수 있다. 움직임 정보는 움직임 벡터 및 참조 픽처 인덱스를 포함할 수 있다. 움직임 정보는 인터 예측 타입(L0 예측, L1 예측, Bi 예측 등) 정보를 더 포함할 수 있다. 인터 예측이 적용되는 경우, 주변 블록은 현재 픽처 내에 존재하는 공간적 주변 블록(spatial neighboring block)과 참조 픽처에 존재하는 시간적 주변 블록(temporal neighboring block)을 포함할 수 있다. 참조 블록을 포함하는 참조 픽처와 시간적 주변 블록을 포함하는 참조 픽처는 동일할 수도 있고, 다를 수도 있다. 시간적 주변 블록은 동일 위치 참조 블록(collocated reference block), 동일 위치 CU(colCU) 등의 이름으로 불릴 수 있으며, 시간적 주변 블록을 포함하는 참조 픽처는 동일 위치 픽처(collocated picture, colPic)라고 불릴 수도 있다. 예를 들어, 현재 블록의 주변 블록들을 기반으로 움직임 정보 후보 리스트가 구성될 수 있고, 현재 블록의 움직임 벡터 및/또는 참조 픽처 인덱스를 도출하기 위하여 어떤 후보가 선택(사용)되는지를 지시하는 플래그 또는 인덱스 정보가 시그널링될 수 있다. 다양한 예측 모드를 기반으로 인터 예측이 수행될 수 있으며, 예를 들어 스킵 모드와 머지 모드의 경우에, 현재 블록의 움직임 정보는 선택된 주변 블록의 움직임 정보와 같을 수 있다. 스킵 모드의 경우, 머지 모드와 달리 레지듀얼 신호가 전송되지 않을 수 있다. 움직임 정보 예측(motion vector prediction, MVP) 모드의 경우, 선택된 주변 블록의 움직임 벡터를 움직임 벡터 예측자(motion vector predictor)로 이용하고, 움직임 벡터 차분(motion vector difference)은 시그널링될 수 있다. 이 경우 움직임 벡터 예측자 및 움직임 벡터 차분의 합을 이용하여 상기 현재 블록의 움직임 벡터를 도출할 수 있다.The prediction unit of the encoding apparatus 100 / decoding apparatus 200 may perform inter prediction in block units to derive prediction samples. Inter prediction can represent a prediction derived in a manner dependent on data elements (eg, sample values, or motion information) of a picture (s) other than the current picture (Inter prediction can be a prediction derived in a manner that is dependent on data elements (eg, sample values or motion information) of picture (s) other than the current picture). When inter prediction is applied to a current block, based on a reference block (reference sample array) specified by a motion vector on a reference picture indicated by the reference picture index, a predicted block (predicted sample array) for the current block is derived. You can. At this time, in order to reduce the amount of motion information transmitted in the inter prediction mode, motion information of the current block may be predicted in units of blocks, subblocks, or samples based on the correlation of motion information between a neighboring block and a current block. The motion information may include a motion vector and a reference picture index. The motion information may further include inter prediction type (L0 prediction, L1 prediction, Bi prediction, etc.) information. When inter prediction is applied, the neighboring block may include a spatial neighboring block existing in the current picture and a temporal neighboring block present in the reference picture. The reference picture including the reference block and the reference picture including the temporal neighboring block may be the same or different. The temporal neighboring block may be referred to as a name such as a collocated reference block or a colCU, and a reference picture including a temporal neighboring block may also be referred to as a collocated picture (colPic). . For example, a motion information candidate list may be constructed based on neighboring blocks of the current block, and a flag indicating which candidate is selected (used) to derive a motion vector and / or reference picture index of the current block, or Index information may be signaled. Inter prediction may be performed based on various prediction modes. For example, in the case of the skip mode and the merge mode, motion information of a current block may be the same as motion information of a selected neighboring block. In the skip mode, unlike the merge mode, the residual signal may not be transmitted. In a motion vector prediction (MVP) mode, a motion vector of a selected neighboring block is used as a motion vector predictor, and a motion vector difference can be signaled. In this case, a motion vector of the current block may be derived using a sum of motion vector predictors and motion vector differences.
인터 예측에 기반한 비디오/영상 인코딩 절차 및 인코딩 장치(100) 내 인터 예측부(180)는 개략적으로 예를 들어 다음을 포함할 수 있다.The video / video encoding procedure based on inter prediction and the inter prediction unit 180 in the encoding apparatus 100 may include, for example, the following.
도 11 및 도 12는 인터 예측에 기반한 비디오/영상 인코딩 절차 및 인코딩 장치(100) 내 인터 예측부(180)를 도시한다.11 and 12 illustrate a video / video encoding procedure based on inter prediction and an inter prediction unit 180 in the encoding apparatus 100.
인코딩 장치(100)는 현재 블록에 대한 인터 예측을 수행한다(S1110). 인코딩 장치(100)는 현재 블록의 인터 예측 모드 및 움직임 정보를 도출하고, 현재 블록의 예측 샘플들을 생성할 수 있다. 여기서 인터 예측 모드 결정, 움직임 정보 도출 및 예측 샘플들 생성 절차는 동시에 수행될 수도 있고, 어느 한 절차가 다른 절차보다 먼저 수행될 수도 있다. 예를 들어, 인코딩 장치(100)의 인터 예측부(180)는 예측 모드 결정부(181), 움직임 정보 도출부(182), 예측 샘플 도출부(183)를 포함할 수 있으며, 예측 모드 결정부(181)에서 현재 블록에 대한 예측 모드를 결정하고, 움직임 정보 도출부(182)에서 현재 블록의 움직임 정보를 도출하고, 예측 샘플 도출부(183)에서 현재 블록의 예측 샘플들을 도출할 수 있다. 예를 들어, 인코딩 장치(100)의 인터 예측부(180)는 움직임 추정(motion estimation)을 통하여 참조 픽처들의 일정 영역(서치 영역) 내에서 상기 현재 블록과 유사한 블록을 서치하고, 현재 블록과의 차이가 최소 또는 일정 기준 이하인 참조 블록을 도출할 수 있다. 이를 기반으로 상기 참조 블록이 위치하는 참조 픽처를 가리키는 참조 픽처 인덱스를 도출하고, 참조 블록과 현재 블록의 위치 차이를 기반으로 움직임 벡터를 도출할 수 있다. 인코딩 장치(100)는 다양한 예측 모드들 중 현재 블록에 대하여 적용되는 모드를 결정할 수 있다. 인코딩 장치(100)는 다양한 예측 모드들에 대한 RD 비용(cost)을 비교하고 현재 블록에 대한 최적의 예측 모드를 결정할 수 있다. The encoding apparatus 100 performs inter prediction on the current block (S1110). The encoding apparatus 100 may derive the inter prediction mode and motion information of the current block, and generate prediction samples of the current block. Here, the procedure for determining the inter prediction mode, deriving motion information, and generating prediction samples may be performed at the same time, or one procedure may be performed before the other procedure. For example, the inter prediction unit 180 of the encoding apparatus 100 may include a prediction mode determination unit 181, a motion information derivation unit 182, and a prediction sample derivation unit 183, and the prediction mode determination unit The prediction mode for the current block may be determined at 181, the motion information of the current block may be derived from the motion information derivation unit 182, and the prediction samples of the current block may be derived from the prediction sample derivation unit 183. For example, the inter prediction unit 180 of the encoding apparatus 100 searches for a block similar to the current block within a certain area (search area) of reference pictures through motion estimation, and It is possible to derive a reference block in which the difference is minimum or below a certain criterion. Based on this, a reference picture index indicating a reference picture in which the reference block is located may be derived, and a motion vector may be derived based on a position difference between the reference block and the current block. The encoding apparatus 100 may determine a mode applied to a current block among various prediction modes. The encoding apparatus 100 may compare the RD cost for various prediction modes and determine the optimal prediction mode for the current block.
예를 들어, 인코딩 장치(100)는 현재 블록에 스킵 모드 또는 머지 모드가 적용되는 경우, 후술하는 머지 후보 리스트를 구성하고, 머지 후보 리스트에 포함된 머지 후보들이 가리키는 참조 블록들 중 현재 블록과 중 현재 블록과의 차이가 최소 또는 일정 기준 이하인 참조 블록을 도출할 수 있다. 이 경우 도출된 참조 블록과 연관된 머지 후보가 선택되며, 선택된 머지 후보를 가리키는 머지 인덱스 정보가 생성되어 디코딩 장치(200)로 시그널링될 수 있다. 선택된 머지 후보의 움직임 정보를 이용하여 현재 블록의 움직임 정보가 도출될 수 있다. For example, when the skip mode or the merge mode is applied to the current block, the encoding apparatus 100 configures a merge candidate list, which will be described later, and the current block among the reference blocks indicated by the merge candidates included in the merge candidate list. A reference block in which the difference from the current block is less than or equal to a certain criterion can be derived. In this case, a merge candidate associated with the derived reference block is selected, and merge index information indicating the selected merge candidate may be generated and signaled to the decoding apparatus 200. Motion information of a current block may be derived using motion information of a selected merge candidate.
다른 예로, 인코딩 장치(100)는 현재 블록에 (A)MVP 모드가 적용되는 경우, 후술하는 (A)MVP 후보 리스트를 구성하고, (A)MVP 후보 리스트에 포함된 MVP(motion vector predictor) 후보들 중 선택된 MVP 후보의 움직임 벡터를 현재 블록의 MVP로 이용할 수 있다. 이 경우, 예를 들어, 상술한 움직임 추정에 의하여 도출된 참조 블록을 가리키는 움직임 벡터가 현재 블록의 움직임 벡터로 이용될 수 있으며, MVP 후보들 중 현재 블록의 움직임 벡터와의 차이가 가장 작은 움직임 벡터를 갖는 MVP 후보가 선택된 MVP 후보가 될 있다. 현재 블록의 움직임 벡터에서 MVP를 뺀 차분인 MVD(motion vector difference)가 도출될 수 있다. 이 경우 MVD에 관한 정보가 디코딩 장치(200)로 시그널링될 수 있다. 또한, (A)MVP 모드가 적용되는 경우, 참조 픽처 인덱스의 값은 참조 픽처 인덱스 정보 구성되어 별도로 디코딩 장치(200)로 시그널링될 수 있다. As another example, when the (A) MVP mode is applied to the current block, the encoding apparatus 100 configures the (A) MVP candidate list, which will be described later, and (A) the motion vector predictor (MVP) candidates included in the MVP candidate list. The motion vector of the selected MVP candidate can be used as the MVP of the current block. In this case, for example, a motion vector indicating a reference block derived by the above-described motion estimation may be used as a motion vector of the current block, and among the MVP candidates, a motion vector having the smallest difference from the motion vector of the current block may be used. The MVP candidate to have may be the selected MVP candidate. A motion vector difference (MVD), which is a difference obtained by subtracting MVP from the motion vector of the current block, may be derived. In this case, information about the MVD may be signaled to the decoding device 200. In addition, when the (A) MVP mode is applied, the value of the reference picture index may be configured and reference signal index information may be separately signaled to the decoding apparatus 200.
인코딩 장치(100)는 예측 샘플들을 기반으로 레지듀얼 샘플들을 도출할 수 있다(S1120). 인코딩 장치(100)는 현재 블록의 원본 샘플들과 예측 샘플들의 비교를 통하여 레지듀얼 샘플들을 도출할 수 있다.The encoding apparatus 100 may derive residual samples based on the predicted samples (S1120). The encoding apparatus 100 may derive residual samples through comparison of original samples and prediction samples of the current block.
인코딩 장치(100)는 예측 정보 및 레지듀얼 정보를 포함하는 영상 정보를 인코딩한다(S1130). 인코딩 장치(100)는 인코딩된 영상 정보를 비트스트림 형태로 출력할 수 있다. 예측 정보는 예측 절차에 관련된 정보들로서 예측 모드 정보(예: skip flag, merge flag, 또는 mode index) 및 움직임 정보를 포함할 수 있다. 움직임 정보는 움직임 벡터를 도출하기 위한 정보인 후보 선택 정보(예: merge index, mvp flag, 또는 mvp index)를 포함할 수 있다. 또한 움직임 정보는 상술한 MVD에 관한 정보 및/또는 참조 픽처 인덱스 정보를 포함할 수 있다. 또한 움직임 정보는 L0 예측, L1 예측, 또는 쌍(bi) 예측이 적용되는지 여부를 나타내는 정보를 포함할 수 있다. 레지듀얼 정보는 레지듀얼 샘플들에 관한 정보이다. 레지듀얼 정보는 레지듀얼 샘플들에 대한 양자화된 변환 계수들에 관한 정보를 포함할 수 있다. The encoding apparatus 100 encodes video information including prediction information and residual information (S1130). The encoding apparatus 100 may output encoded image information in the form of a bitstream. Prediction information is information related to a prediction procedure, and may include prediction mode information (eg, skip flag, merge flag, or mode index) and motion information. The motion information may include candidate selection information (eg, merge index, mvp flag, or mvp index) that is information for deriving a motion vector. Also, the motion information may include information on the MVD and / or reference picture index information. Also, the motion information may include information indicating whether L0 prediction, L1 prediction, or bi prediction is applied. The residual information is information about residual samples. The residual information may include information about quantized transform coefficients for residual samples.
출력된 비트스트림은 (디지털) 저장매체에 저장되어 디코딩 장치로 전달될 수 있고, 또는 네트워크를 통하여 디코딩 장치로 전달될 수도 있다. The output bitstream may be stored in a (digital) storage medium and transmitted to a decoding device, or may be delivered to a decoding device through a network.
한편, 상술한 바와 같이 인코딩 장치는 상기 참조 샘플들 및 상기 레지듀얼 샘플들을 기반으로 복원 픽처(복원 샘플들 및 복원 블록 포함)를 생성할 수 있다. 이는 디코딩 장치(200)에서 수행되는 것과 동일한 예측 결과를 인코딩 장치(100)에서 도출하기 위함이며, 이를 통하여 코딩 효율을 높일 수 있기 때문이다. 따라서, 인코딩 장치(100)는 복원 픽처(또는 복원 샘플들, 복원 블록)을 메모리에 저장하고, 인터 예측을 위한 참조 픽처로 활용할 수 있다. 복원 픽처에 인루프 필터링 절차 등이 더 적용될 수 있음은 상술한 바와 같다.Meanwhile, as described above, the encoding apparatus may generate a reconstructed picture (including reconstructed samples and reconstructed blocks) based on the reference samples and the residual samples. This is because the encoding apparatus 100 derives the same prediction result as that performed by the decoding apparatus 200, and thus, it is possible to increase coding efficiency. Accordingly, the encoding apparatus 100 may store the reconstructed picture (or reconstructed samples, reconstructed block) in a memory and use it as a reference picture for inter prediction. As described above, an in-loop filtering procedure or the like may be further applied to the reconstructed picture.
도 13 및 도 14는 인터 예측에 기반한 비디오/영상 디코딩 절차 및 디코딩 장치 내 인터 예측부를 도시한다.13 and 14 illustrate a video / video decoding procedure based on inter prediction and an inter prediction unit in a decoding apparatus.
디코딩 장치(200)는 인코딩 장치(100)에서 수행된 동작과 대응되는 동작을 수행할 수 있다. 디코딩 장치(200)는 수신된 예측 정보를 기반으로 현재 블록에 예측을 수행하고 예측 샘플들을 도출할 수 있다. The decoding apparatus 200 may perform an operation corresponding to an operation performed in the encoding apparatus 100. The decoding apparatus 200 may perform prediction on the current block based on the received prediction information and derive prediction samples.
구체적으로 디코딩 장치(200)는 수신된 예측 정보를 기반으로 현재 블록에 대한 예측 모드를 결정할 수 있다(S1310). 디코딩 장치(200)는 예측 정보 내의 예측 모드 정보를 기반으로 현재 블록에 어떤 인터 예측 모드가 적용되는지 결정할 수 있다. Specifically, the decoding apparatus 200 may determine a prediction mode for the current block based on the received prediction information (S1310). The decoding apparatus 200 may determine which inter prediction mode is applied to the current block based on the prediction mode information in the prediction information.
예를 들어, 디코딩 장치(200)는 머지 플래그(merge flag)를 기반으로 현재 블록에 머지 모드가 적용되지 또는 (A)MVP 모드가 결정되는지 여부를 결정할 수 있다. 또는 디코딩 장치(200)는 모드 인덱스(mode index)를 기반으로 다양한 인터 예측 모드 후보들 중 하나를 선택할 수 있다. 인터 예측 모드 후보들은 스킵 모드, 머지 모드 및/또는 (A)MVP 모드를 포함할 수 있고, 또는 후술하는 다양한 인터 예측 모드들을 포함할 수 있다. For example, the decoding apparatus 200 may determine whether a merge mode is applied to the current block or (A) MVP mode is determined based on a merge flag. Alternatively, the decoding apparatus 200 may select one of various inter prediction mode candidates based on the mode index. The inter prediction mode candidates may include skip mode, merge mode, and / or (A) MVP mode, or various inter prediction modes described below.
디코딩 장치(200)는 결정된 인터 예측 모드를 기반으로 현재 블록의 움직임 정보를 도출한다(S1320). 예를 들어, 디코딩 장치(200)는 현재 블록에 스킵 모드 또는 머지 모드가 적용되는 경우, 후술하는 머지 후보 리스트를 구성하고, 머지 후보 리스트에 포함된 머지 후보들이 중 하나의 머지 후보를 선택할 수 있다. 머지 후보의 선택은 머지 인덱스(merge index)를 기반으로 수행될 수 있다. 선택된 머지 후보의 움직임 정보로부터 현재 블록의 움직임 정보가 도출할 수 있다. 선택된 머지 후보의 움직임 정보가 현재 블록의 움직임 정보로 이용될 수 있다. The decoding apparatus 200 derives motion information of the current block based on the determined inter prediction mode (S1320). For example, when the skip mode or the merge mode is applied to the current block, the decoding apparatus 200 may configure a merge candidate list, which will be described later, and select one of the merge candidates included in the merge candidate list. . The selection of the merge candidate may be performed based on a merge index. Motion information of a current block may be derived from motion information of a selected merge candidate. Motion information of the selected merge candidate may be used as motion information of the current block.
다른 예로, 디코딩 장치(200)는, 현재 블록에 (A)MVP 모드가 적용되는 경우, 후술하는 (A)MVP 후보 리스트를 구성하고, (A)MVP 후보 리스트에 포함된 MVP 후보들 중 선택된 MVP 후보의 움직임 벡터를 현재 블록의 MVP로 이용할 수 있다. MVP의 선택은 상술한 선택 정보(MVP 플래그 또는 MVP 인덱스)를 기반으로 수행될 수 있다. 이 경우 디코딩 장치(200)는 MVD에 관한 정보를 기반으로 상기 현재 블록의 MVD를 도출할 수 있으며, 현재 블록의 MVP와 MVD를 기반으로 현재 블록의 움직임 벡터를 도출할 수 있다. 또한, 디코딩 장치(200)는 참조 픽처 인덱스 정보를 기반으로 현재 블록의 참조 픽처 인덱스를 도출할 수 있다. 현재 블록에 관한 참조 픽처 리스트 내에서 참조 픽처 인덱스가 가리키는 픽처가 현재 블록의 인터 예측을 위하여 참조되는 참조 픽처로 도출될 수 있다. As another example, when the (A) MVP mode is applied to the current block, the decoding apparatus 200 configures the (A) MVP candidate list, which will be described later, and (A) the MVP candidate selected from among the MVP candidates included in the MVP candidate list The motion vector of can be used as the MVP of the current block. The selection of the MVP may be performed based on the selection information (MVP flag or MVP index) described above. In this case, the decoding apparatus 200 may derive the MVD of the current block based on information about the MVD, and may derive a motion vector of the current block based on the MVP and MVD of the current block. Also, the decoding apparatus 200 may derive a reference picture index of the current block based on the reference picture index information. The picture indicated by the reference picture index in the reference picture list for the current block may be derived as a reference picture referenced for inter prediction of the current block.
한편, 후술하는 바와 같이 후보 리스트 구성 없이 상기 현재 블록의 움직임 정보가 도출될 수 있으며, 이 경우 후술하는 예측 모드에서 개시된 절차에 따라 현재 블록의 움직임 정보가 도출될 수 있다. 이 경우 상술한 바와 같은 후보 리스트 구성은 생략될 수 있다.Meanwhile, as described later, motion information of the current block may be derived without configuring a candidate list, and in this case, motion information of the current block may be derived according to a procedure disclosed in the prediction mode described below. In this case, the candidate list configuration as described above may be omitted.
디코딩 장치(200)는 현재 블록의 움직임 정보를 기반으로 현재 블록에 대한 예측 샘플들을 생성할 수 있다(S1330). 이 경우 디코딩 장치(200)는 현재 블록의 참조 픽처 인덱스를 기반으로 참조 픽처를 도출하고, 현재 블록의 움직임 벡터가 참조 픽처 상에서 가리키는 참조 블록의 샘플들을 이용하여 현재 블록의 예측 샘플들을 도출할 수 있다. 이 경우 후술하는 바와 같이 경우에 따라 현재 블록의 예측 샘플들 중 전부 또는 일부에 대한 예측 샘플 필터링 절차가 더 수행될 수 있다. The decoding apparatus 200 may generate prediction samples for the current block based on the motion information of the current block (S1330). In this case, the decoding apparatus 200 may derive a reference picture based on the reference picture index of the current block, and derive predictive samples of the current block using samples of the reference block indicated by the motion vector of the current block on the reference picture. . In this case, as described later, a prediction sample filtering procedure for all or a part of the prediction samples of the current block may be further performed depending on the case.
예를 들어, 디코딩 장치(200)의 인터 예측부(260)는 예측 모드 결정부(261), 움직임 정보 도출부(262), 예측 샘플 도출부(263)를 포함할 수 있으며, 예측 모드 결정부(181)에서 수신된 예측 모드 정보를 기반으로 상기 현재 블록에 대한 예측 모드를 결정하고, 움직임 정보 도출부(182)에서 수신된 움직임 정보에 관한 정보를 기반으로 상기 현재 블록의 움직임 정보(움직임 벡터 및/또는 참조 픽처 인덱스 등)를 도출하고, 예측 샘플 도출부(183)에서 상기 현재 블록의 예측 샘플들을 도출할 수 있다.For example, the inter prediction unit 260 of the decoding apparatus 200 may include a prediction mode determination unit 261, a motion information derivation unit 262, and a prediction sample derivation unit 263, and the prediction mode determination unit The prediction mode for the current block is determined based on the prediction mode information received at (181), and the motion information (motion vector) of the current block is based on the motion information received from the motion information deriving unit 182. And / or a reference picture index, etc.), and predicted samples of the current block may be derived from the predicted sample deriving unit 183.
디코딩 장치(200)는 수신된 레지듀얼 정보를 기반으로 상기 현재 블록에 대한 레지듀얼 샘플들을 생성한다(S1340). 디코딩 장치(200)는 예측 샘플들 및 레지듀얼 샘플들을 기반으로 현재 블록에 대한 복원 샘플들을 생성하고, 이를 기반으로 복원 픽처를 생성할 수 있다. (S1350). 이후 상기 복원 픽처에 인루프 필터링 절차 등이 더 적용될 수 있음은 상술한 바와 같다. The decoding apparatus 200 generates residual samples for the current block based on the received residual information (S1340). The decoding apparatus 200 may generate reconstructed samples for the current block based on the predicted samples and residual samples, and generate a reconstructed picture based on the reconstructed samples. (S1350). As described above, an in-loop filtering procedure may be further applied to the reconstructed picture.
상술한 바와 같이 인터 예측 절차는 인터 예측 모드 결정 단계, 결정된 예측 모드에 따른 움직임 정보 도출 단계, 도출된 움직임 정보에 기반한 예측 수행(예측 샘플 생성) 단계를 포함할 수 있다.As described above, the inter prediction procedure may include a step of determining an inter prediction mode, a step of deriving motion information according to the determined prediction mode, and performing a prediction (generating a predictive sample) based on the derived motion information.
인터 예측 모드 결정(Determination of inter prediction mode)Determination of inter prediction mode
픽처 내 현재 블록의 예측을 위하여 다양한 인터 예측 모드가 사용될 수 있다. 예를 들어, 머지 모드, 스킵 모드, MVP 모드, 어파인(Affine) 모드 등 다양한 모드가 사용될 수 있다. DMVR(decoder side motion vector refinement) 모드, AMVR(adaptive motion vector resolution) 모드 등이 부수적인 모드로 더 사용될 수 있다. 어파인 모드는 어파인 움직임 예측(affine motion prediction) 모드라고 불릴 수도 있다. MVP 모드는 AMVP(advanced motion vector prediction) 모드라고 불릴 수도 있다. Various inter prediction modes may be used for prediction of a current block in a picture. For example, various modes such as merge mode, skip mode, MVP mode, and affine mode may be used. Decoder side motion vector refinement (DMVR) mode, adaptive motion vector resolution (AMVR) mode, and the like may be further used as ancillary modes. The affine mode may also be called aaffine motion prediction mode. The MVP mode may also be called AMVP (advanced motion vector prediction) mode.
현재 블록의 인터 예측 모드를 가리키는 예측 모드 정보가 인코딩 장치로부터 디코딩 장치(200)로 시그널링될 수 있다. 예측 모드 정보는 비트스트림에 포함되어 디코딩 장치(200)에서 수신될 수 있다. 예측 모드 정보는 다수의 후보 모드들 중 하나를 지시하는 인덱스 정보를 포함할 수 있다. 또는, 플래그 정보의 계층적 시그널링을 통하여 인터 예측 모드를 지시할 수도 있다. 이 경우 예측 모드 정보는 하나 이상의 플래그들을 포함할 수 있다. 예를 들어, 인코딩 장치(100)는 스킵 플래그를 시그널링하여 스킵 모드 적용 여부를 지시하고, 스킵 모드가 적용 안되는 경우에 머지 플래그를 시그널링하여 머지 모드 적용 여부를 지시하고, 머지 모드가 적용 안되는 경우에 MVP 모드 적용되는 것으로 지시하거나 추가적인 구분을 위한 플래그를 더 시그널링할 수도 있다. 어파인 모드는 독립적인 모드로 시그널링될 수도 있고, 또는 머지 모드 또는 MVP 모드 등에 종속적인 모드로 시그널링될 수도 있다. 예를 들어, 어파인 모드는 후술하는 바와 같이 머지 후보 리스트 또는 MVP 후보 리스트의 하나의 후보로 구성될 수도 있다.Prediction mode information indicating the inter prediction mode of the current block may be signaled from the encoding device to the decoding device 200. The prediction mode information may be included in the bitstream and received by the decoding apparatus 200. The prediction mode information may include index information indicating one of a plurality of candidate modes. Alternatively, the inter prediction mode may be indicated through hierarchical signaling of flag information. In this case, the prediction mode information may include one or more flags. For example, the encoding apparatus 100 signals whether a skip mode is applied by signaling a skip flag, and when a skip mode is not applied, indicates whether to apply a merge mode, and when a merge mode is not applied. It may be indicated that the MVP mode is applied or may further signal a flag for additional classification. The affine mode may be signaled in an independent mode, or may be signaled in a mode dependent on a merge mode or an MVP mode. For example, the affine mode may be configured as one candidate of the merge candidate list or the MVP candidate list, as described later.
인터 예측 모드에 따른 움직임 정보의 도출(Derivation of motion information according to inter prediction mode)Derivation of motion information according to inter prediction mode
인코딩 장치(100) 또는 디코딩 장치(200)는 현재 블록의 움직임 정보를 이용하여 인터 예측을 수행할 수 있다. 인코딩 장치(100)는 움직임 추정(motion estimation) 절차를 통하여 현재 블록에 대한 최적의 움직임 정보를 도출할 수 있다. 예를 들어, 인코딩 장치(100)는 현재 블록에 대한 원본 픽처 내 원본 블록을 이용하여 상관성이 높은 유사한 참조 블록을 참조 픽처 내의 정해진 탐색 범위 내에서 분수 픽셀 단위로 탐색할 수 있고, 이를 통하여 움직임 정보를 도출할 수 있다. 블록의 유사성은 위상(phase) 기반 샘플 값들의 차를 기반으로 도출될 수 있다. 예를 들어, 블록의 유사성은 현재 블록(또는 현재 블록의 템플릿)과 참조 블록(또는 참조 블록의 템플릿) 간 SAD(sum of absolute difference)를 기반으로 계산될 수 있다. 이 경우 탐색 영역 내 SAD가 가장 작은 참조 블록을 기반으로 움직임 정보를 도출할 수 있다. 도출된 움직임 정보는 인터 예측 모드 기반으로 여러 방법에 따라 디코딩 장치로 시그널링될 수 있다.The encoding apparatus 100 or the decoding apparatus 200 may perform inter prediction using motion information of a current block. The encoding apparatus 100 may derive optimal motion information for the current block through a motion estimation procedure. For example, the encoding apparatus 100 may search for a similar reference block having high correlation within a predetermined search range in a reference picture by using the original block in the original picture for the current block, in the unit of fractional pixels, through which motion information Can be derived. The similarity of the block can be derived based on the difference of phase-based sample values. For example, the similarity of a block may be calculated based on a sum of absolute difference (SAD) between a current block (or a template of the current block) and a reference block (or a template of a reference block). In this case, motion information may be derived based on a reference block having the smallest SAD in the search area. The derived motion information may be signaled to the decoding apparatus according to various methods based on the inter prediction mode.
머지 모드 및 스킵 모드Merge mode and skip mode
머지 모드(merge mode)가 적용되는 경우, 현재 예측 블록의 움직임 정보가 직접적으로 전송되지 않고, 주변 예측 블록의 움직임 정보를 이용하여 현재 예측 블록의 움직임 정보를 유도하게 된다. 따라서, 인코딩 장치(100)는 머지 모드를 이용하였음을 알려주는 플래그 정보 및 주변의 어떤 예측 블록을 이용하였는지를 알려주는 머지 인덱스를 전송함으로써 현재 예측 블록의 움직임 정보를 지시할 수 있다.When the merge mode is applied, motion information of a current prediction block is not directly transmitted, and motion information of a current prediction block is derived using motion information of a neighboring prediction block. Accordingly, the encoding apparatus 100 may indicate motion information of the current prediction block by transmitting flag information indicating that the merge mode is used and a merge index indicating which prediction block is used.
인코딩 장치(100)는 머지 모드를 수행하기 위해서 현재 예측 블록의 움직임 정보를 유도하기 위해 이용되는 머지 후보 블록(merge candidate block)을 서치하여야 한다. 예를 들어, 머지 후보 블록은 최대 5개까지 이용될 수 있으나, 본 명세서는 이에 한정되지 않는다. 그리고, 머지 후보 블록의 최대 개수는 슬라이스 헤더에서 전송될 수 있으며, 본 명세서는 이에 한정되지 않는다. 머지 후보 블록들을 찾은 후, 인코딩 장치(100)는 머지 후보 리스트를 생성할 수 있고, 이들 중 가장 작은 비용을 갖는 머지 후보 블록을 최종 머지 후보 블록으로 선택할 수 있다.The encoding apparatus 100 must search a merge candidate block used to derive motion information of a current prediction block in order to perform a merge mode. For example, up to five merge candidate blocks may be used, but the present specification is not limited thereto. In addition, the maximum number of merge candidate blocks may be transmitted in the slice header, and the present specification is not limited thereto. After finding the merge candidate blocks, the encoding apparatus 100 may generate a merge candidate list, and may select a merge candidate block having the smallest cost as a final merge candidate block.
본 명세서는 머지 후보 리스트를 구성하는 머지 후보 블록에 대한 다양한 실시예를 제공한다.This specification provides various embodiments of a merge candidate block constituting a merge candidate list.
머지 후보 리스트는 예를 들어 5개의 머지 후보 블록을 이용할 수 있다. 예를 들어, 4개의 공간적 머지 후보(spatial merge candidate)와 1개의 시간적 머지 후보(temporal merge candidate)를 이용할 수 있다. The merge candidate list may use 5 merge candidate blocks, for example. For example, four spatial merge candidates and one temporal merge candidate can be used.
도 15는 현재 블록에 대한 공간적 머지 후보 구성의 예를 도시한다.15 shows an example of a spatial merge candidate configuration for the current block.
현재 블록에 대한 머지 후보 리스트는 도 16과 같은 절차를 기반으로 구성될 수 있다.The merge candidate list for the current block may be configured based on the procedure as shown in FIG. 16.
도 16은 본 명세서의 실시예에 따른 머지 후보 리스트 구성을 위한 흐름도의 예를 도시한다.16 shows an example of a flowchart for configuring a merge candidate list according to an embodiment of the present specification.
코딩 장치(인코더/디코더)는 현재 블록의 공간적 주변 블록들을 탐색하여 도출된 공간적 머지 후보들을 머지 후보 리스트에 삽입한다(S1610). 예를 들어, 공간적 주변 블록들은 현재 블록의 좌하측 코너 주변 블록, 좌측 주변 블록, 우상측 코너 주변 블록, 상측 주변 블록, 좌상측 코너 주변 블록들을 포함할 수 있다. 다만, 이는 예시로서 상술한 공간적 주변 블록들 이외에도 우측 주변 블록, 하측 주변 블록, 우하측 주변 블록 등 추가적인 주변 블록들이 더 상기 공간적 주변 블록들로 사용될 수 있다. 코딩 장치는 공간적 주변 블록들을 우선순위를 기반으로 탐색하여 가용한 블록들을 검출하고, 검출된 블록들의 움직임 정보를 공간적 머지 후보들로 도출할 수 있다. 예를 들어, 인코딩 장치(100) 또는 디코딩 장치(200)는 도 15에 도시된 5개의 블록들을 A1, B1, B0, A0, B2의 순서대로 탐색하여, 가용한 후보들을 순차적으로 인덱싱하여 머지 후보 리스트로 구성할 수 있다. The coding device (encoder / decoder) searches for spatial neighboring blocks of the current block and inserts the derived spatial merge candidates into the merge candidate list (S1610). For example, the spatial peripheral blocks may include blocks around the lower left corner of the current block, blocks around the left corner, blocks around the upper right corner, blocks around the upper corner, and blocks around the upper left corner. However, as an example, in addition to the spatial peripheral blocks described above, additional peripheral blocks such as a right peripheral block, a lower peripheral block, and a lower right peripheral block may be further used as the spatial peripheral blocks. The coding apparatus may detect available blocks by searching for spatial neighboring blocks based on priority, and derive motion information of the detected blocks as spatial merge candidates. For example, the encoding apparatus 100 or the decoding apparatus 200 searches the five blocks shown in FIG. 15 in the order of A1, B1, B0, A0, and B2, and sequentially indexes available candidates to merge candidates. It can be configured as a list.
코딩 장치는 현재 블록의 시간적 주변 블록을 탐색하여 도출된 시간적 머지 후보를 상기 머지 후보 리스트에 삽입한다(S1620). 시간적 주변 블록은 현재 블록이 위치하는 현재 픽처와 다른 픽처인 참조 픽처 상에 위치할 수 있다. 시간적 주변 블록이 위치하는 참조 픽처는 동일 위치 픽처(collocated picture) 또는 콜 픽처(col picture)라고 불릴 수 있다. 시간적 주변 블록은 콜 픽처 상에서의 현재 블록에 대한 동일 위치 블록(co-located block)의 우하측 코너 주변 블록 및 우하측 센터 블록의 순서로 탐색될 수 있다. 한편, 움직임 데이터 압축(motion data compression)이 적용되는 경우, 콜 픽처에 일정 저장 단위마다 특정 움직임 정보를 대표 움직임 정보로 저장할 수 있다. 이 경우 상기 일정 저장 단위 내의 모든 블록에 대한 움직임 정보를 저장할 필요가 없으며 이를 통하여 움직임 데이터 압축 효과를 얻을 수 있다. 이 경우, 일정 저장 단위는 예를 들어 16x16 샘플 단위, 또는 8x8 샘플 단위 등으로 미리 정해질 수도 있고, 또는 인코딩 장치(100)로부터 디코딩 장치(200)로 일정 저장 단위에 대한 사이즈 정보가 시그널링될 수도 있다. 움직임 데이터 압축이 적용되는 경우 시간적 주변 블록의 움직임 정보는 시간적 주변 블록이 위치하는 일정 저장 단위의 대표 움직임 정보로 대체될 수 있다. 즉, 이 경우 구현 측면에서 보면, 시간적 주변 블록의 좌표에 위치하는 예측 블록이 아닌, 시간적 주변 블록의 좌표(좌상단 샘플 포지션)를 기반으로 일정 값만큼 산술적 우측 시프트 후 산술적 좌측 시프트 한 위치를 커버하는 예측 블록의 움직임 정보를 기반으로 시간적 머지 후보가 도출될 수 있다. 예를 들어, 일정 저장 단위가 2nx2n 샘플 단위인 경우, 시간적 주변 블록의 좌표가 (xTnb, yTnb)라 하면, 수정된 위치인 ((xTnb >> n) << n), (yTnb >> n) << n))에 위치하는 예측 블록의 움직임 정보가 시간적 머지 후보를 위하여 사용될 수 있다. 구체적으로 예를 들어, 일정 저장 단위가 16x16 샘플 단위인 경우, 시간적 주변 블록의 좌표가 (xTnb, yTnb)라 하면, 수정된 위치인 ((xTnb >> 4) << 4), (yTnb >> 4) << 4))에 위치하는 예측 블록의 움직임 정보가 시간적 머지 후보를 위하여 사용될 수 있다. 또는 예를 들어, 일정 저장 단위가 8x8 샘플 단위인 경우, 시간적 주변 블록의 좌표가 (xTnb, yTnb)라 하면, 수정된 위치인 ((xTnb >> 3) << 3), (yTnb >> 3) << 3))에 위치하는 예측 블록의 움직임 정보가 시간적 머지 후보를 위하여 사용될 수 있다.The coding apparatus searches for temporal neighboring blocks of the current block and inserts the derived temporal merge candidate into the merge candidate list (S1620). The temporal peripheral block may be located on a reference picture that is a different picture from the current picture in which the current block is located. The reference picture in which the temporal neighboring block is located may be referred to as a collocated picture or a coll picture. The temporal neighboring blocks may be searched in the order of the lower right corner peripheral block and the lower right center block of the co-located block for the current block on the call picture. Meanwhile, when motion data compression is applied, specific motion information may be stored as representative motion information for each predetermined storage unit in a call picture. In this case, there is no need to store motion information for all blocks in the predetermined storage unit, thereby obtaining a motion data compression effect. In this case, the predetermined storage unit may be predetermined in units of 16x16 sample units, 8x8 sample units, or the like, or size information for a predetermined storage unit may be signaled from the encoding device 100 to the decoding device 200. have. When motion data compression is applied, motion information of a temporal peripheral block may be replaced with representative motion information of a certain storage unit in which the temporal peripheral block is located. That is, in this case, from an implementation point of view, an arithmetic right shift by a certain value based on the coordinates of the temporal periphery block (the upper left sample position), not the prediction block located at the coordinates of the temporal periphery block, and then covers the position of the arithmetic left shift A temporal merge candidate may be derived based on motion information of a prediction block. For example, if the constant storage unit is 2nx2n sample units, and the coordinates of the temporal peripheral block are (xTnb, yTnb), the corrected position ((xTnb >> n) << n), (yTnb >> n) Motion information of a prediction block located at << n)) may be used for temporal merge candidates. Specifically, for example, if the constant storage unit is 16x16 sample units, and the coordinates of the temporal peripheral block are (xTnb, yTnb), the corrected position ((xTnb >> 4) << 4), (yTnb >> 4) Motion information of the prediction block located at << 4)) can be used for temporal merge candidates. Or, for example, if the constant storage unit is 8x8 sample units, and the coordinates of the temporal peripheral block are (xTnb, yTnb), the corrected position ((xTnb >> 3) << 3), (yTnb >> 3 ) << 3)) motion information of the prediction block located at may be used for temporal merge candidate.
코딩 장치는 현재 머지 후보들의 개수가 최대 머지 후보들의 개수보다 작은지 여부를 확인할 수 있다(S1630). 최대 머지 후보들의 개수는 미리 정의되거나 인코딩 장치(100)에서 디코딩 장치(200)로 시그널링될 수 있다. 예를 들어, 인코딩 장치(100)는 최대 머지 후보들의 개수에 관한 정보를 생성하고, 인코딩하여 비트스트림 형태로 디코딩 장치(200)로 전달할 수 있다. 최대 머지 후보들의 개수가 다 채워지면 이후의 후보 추가 과정은 진행하지 않을 수 있다. The coding apparatus may check whether the number of current merge candidates is smaller than the maximum number of merge candidates (S1630). The maximum number of merge candidates may be predefined or signaled from the encoding device 100 to the decoding device 200. For example, the encoding apparatus 100 may generate information on the number of maximum merge candidates, encode, and transmit the encoded information to the decoding apparatus 200 in the form of a bitstream. When the maximum number of merge candidates is filled, the subsequent candidate addition process may not proceed.
확인 결과 현재 머지 후보들의 개수가 상기 최대 머지 후보들의 개수보다 작은 경우, 코딩 장치는 추가 머지 후보를 머지 후보 리스트에 삽입한다(S1640). 추가 머지 후보는 예를 들어 ATMVP(adaptive temporal motion vector prediction), 결합된 양방향 예측(combined bi-predictive) 머지 후보(현재 슬라이스의 슬라이스 타입이 B 타입인 경우) 및/또는 영 벡터(zero vector) 머지 후보를 포함할 수 있다. If the number of merge candidates is smaller than the maximum number of merge candidates, the coding apparatus inserts an additional merge candidate into the merge candidate list (S1640). Additional merge candidates are, for example, adaptive temporal motion vector prediction (ATMVP), combined bi-predictive merge candidates (if the slice type of the current slice is of type B) and / or zero vector merge. Candidates may be included.
도 17은 예측 후보 리스트(MVP 후보 리스트)를 구성하기 위한 흐름도의 예를 도시한다.17 shows an example of a flowchart for constructing a prediction candidate list (MVP candidate list).
도 17을 참조하면, 코딩 장치는 움직임 벡터 예측을 위한 공간적 후보 블록을 탐색하여 예측 후보 리스트에 삽입한다(S1710). 예를 들어, 코딩 장치는 정해진 탐색 순서에 따라 주변 블록들에 대한 탐색을 수행하고, 공간적 후보 블록에 대한 조건을 만족하는 주변 블록의 정보를 예측 후보 리스트(MVP 후보 리스트)에 추가할 수 있다.Referring to FIG. 17, the coding apparatus searches for a spatial candidate block for motion vector prediction and inserts it into the prediction candidate list (S1710). For example, the coding apparatus may search for neighboring blocks according to a predetermined search order, and add information of neighboring blocks satisfying the condition for the spatial candidate block to the prediction candidate list (MVP candidate list).
공간적 후보 블록 리스트를 구성한 후, 코딩 장치는 예측 후보 리스트에 포함된 공간적 후보 리스트의 개수와 기 설정된 기준 개수(예: 2)를 비교한다(S1720). 예측 후보 리스트에 포함된 공간적 후보 리스트의 개수가 기준 개수(예: 2)보다 크거나 같은 경우, 코딩 장치는 예측 후보 리스트의 구성을 종료할 수 있다. After constructing the spatial candidate block list, the coding apparatus compares the number of spatial candidate lists included in the prediction candidate list with a preset reference number (eg, 2) (S1720). If the number of spatial candidate lists included in the prediction candidate list is greater than or equal to the reference number (for example, 2), the coding apparatus may end the construction of the prediction candidate list.
그러나, 예측 후보 리스트에 포함된 공간적 후보 리스트의 개수가 기준 개수(예: 2)보다 작은 경우, 코딩 장치는 시간적 후보 블록을 탐색하여 예측 후보 리스트에 추가 삽입하고(S1730), 시간적 후보 블록이 사용 불가능한 경우, 제로 움직임 벡터를 예측 후보 리스트에 추가한다(S1740).However, if the number of spatial candidate lists included in the prediction candidate list is smaller than the reference number (eg, 2), the coding device searches for the temporal candidate block and inserts it into the prediction candidate list (S1730), and the temporal candidate block is used If it is not possible, the zero motion vector is added to the prediction candidate list (S1740).
이하 본 명세서의 실시예에 따른 현재 영상 참조(current picture referencing, CPR)를 사용하는 비디오 인코딩 및 디코딩 장치 및 방법에 대하여 설명하도록 한다.Hereinafter, a video encoding and decoding apparatus and method using current picture referencing (CPR) according to an embodiment of the present disclosure will be described.
본 실시예는 정지 영상 또는 동영상 인코딩/디코딩 방법에 관한 것으로서, 보다 상세하게, 현재 영상 참조를 사용할 때 움직임 벡터의 효율적인 전송을 위하여 머지 후보 리스트 및 움직임 벡터 예측 리스트를 구성하는 방법, 움직임 벡터의 해상도를 적응적으로 조절하는 방법, HMVP(history-based motion vector prediction) 기술을 사용하는 방법 및 장치에 관한 것이다.This embodiment relates to a still image or video encoding / decoding method, and more specifically, a method of constructing a merge candidate list and a motion vector prediction list for efficient transmission of a motion vector when using a current video reference, and resolution of a motion vector It relates to a method for adaptively adjusting, a method and apparatus using a history-based motion vector prediction (HMVP) technology.
본 명세서의 실시예는 현재 영상의 일부분을 참조 영상으로 사용하는 방법에서 움직임 벡터의 해상도를 적응적으로 조절하는 방법을 포함한다.An embodiment of the present specification includes a method of adaptively adjusting the resolution of a motion vector in a method of using a part of the current image as a reference image.
또한, 본 명세서의 실시예는 복호화된 현재 영상의 일부분을 참조 영상으로 움직임 보상을 사용할 때 머지 모드 및 움직임 예측 모드에서 머지 후보 리스트 및 움직임 벡터 예측 리스트를 구성하는 방법을 포함한다.In addition, an embodiment of the present specification includes a method of constructing a merge candidate list and a motion vector prediction list in a merge mode and a motion prediction mode when motion compensation is used as a reference image for a portion of the decoded current image.
또한, 본 명세서의 실시예는 현재 영상의 일부분을 참조 영상으로 사용하는 방법에서 HMVP 기술을 사용하는 방법을 포함한다.In addition, embodiments of the present specification include a method of using HMVP technology in a method of using a part of the current image as a reference image.
본 명세서의 실시에는 정지 영상 또는 동영상을 압축하는 과정에서 복호화된 현재 영상의 일부분을 참조 영상으로 사용하여 부호화 효율을 높일 수 있도록 한다.In the implementation of the present specification, encoding efficiency may be improved by using a portion of the current image decoded in the process of compressing a still image or a video as a reference image.
이하 설명되는 실시예는 움직임 정보 도출 과정에서 현재 영상을 참조함으로써 움직임 정보를 도출하고 움직임 보상을 수행하는 기술로, 보다 상세한 사항은 아래 각 컴포넌트(component) 별로 개선된 움직임 정보 도출 방법과 함께 설명하도록 한다.The embodiment described below is a technique for deriving motion information and performing motion compensation by referring to the current image in the process of deriving motion information, and more details are described together with an improved method for deriving motion information for each component below. do.
실시예 1Example 1
디코더Decoder
도 18은 본 명세서의 실시예에 따른 디코딩 장치의 다른 예를 도시한다.18 shows another example of a decoding apparatus according to an embodiment of the present specification.
본 명세서의 일 실시예는 현재 코딩 유닛의 디코딩 과정에서 복호화된 현재 영상의 일부분을 참조 영상으로 사용하는 방법에 관한 것이다. 도 18을 참조하면, 디코더는 엔트로피 디코딩부, 역양자화부, 역변환부, 필터링부, 복호 픽처 버퍼, 인터 예측부, 현재 영상 예측부, 및 인트라 예측부를 포함할 수 있다. 그리고, 디코더를 통해 출력된 복원 영상 신호는 재생 장치를 통하여 재생될 수 있다.One embodiment of the present specification relates to a method of using a part of a current picture decoded in a decoding process of the current coding unit as a reference picture. Referring to FIG. 18, the decoder may include an entropy decoding unit, an inverse quantization unit, an inverse transform unit, a filtering unit, a decoded picture buffer, an inter prediction unit, a current image prediction unit, and an intra prediction unit. Then, the reconstructed video signal output through the decoder may be reproduced through the playback device.
디코더는 인코더로부터 출력된 신호를 수신할 수 있고, 수신된 신호는 엔트로피 디코딩부를 통해 엔트로피 디코딩될 수 있다. 역양자화부는 양자화 스텝 사이즈 정보를 사용하여 엔트로피 디코딩된 신호로부터 변환 계수(transform coefficient)를 획득한다. 역변환부는 변환 계수를 역변환하여 레지듀얼 신호를 획득한다. 획득된 레지듀얼 신호를 인터 예측부, 현재 영상 예측부, 또는 인트라 예측부로부터 출력된 예측 신호에 더함으로써 복원 신호가 생성된다. 현재 영상 예측부는 인터 예측부에 포할될 수 있다. 필터링부는 복원 신호에 필터링을 적용하고, 필터링된 복원 신호를 재생 장치로 출력하거나 복호 픽처 버퍼에 전송한다. 복호 픽처 버퍼에 전송된 필터링된 신호는 인터 예측부에서 참조 픽처로 사용될 수 있다.The decoder may receive a signal output from the encoder, and the received signal may be entropy decoded through an entropy decoding unit. The inverse quantization unit obtains a transform coefficient from the entropy decoded signal using quantization step size information. The inverse transform unit inversely transforms the transform coefficients to obtain a residual signal. The reconstructed signal is generated by adding the obtained residual signal to the prediction signal output from the inter prediction unit, the current image prediction unit, or the intra prediction unit. The current image prediction unit may be included in the inter prediction unit. The filtering unit applies filtering to the reconstructed signal, outputs the filtered reconstructed signal to a playback device, or transmits it to a decoded picture buffer. The filtered signal transmitted to the decoded picture buffer may be used as a reference picture in the inter prediction unit.
도 19는 현재 영상에서 움직임 보상을 사용할 때 움직임 보상의 사용 가능한 영역을 나타낸다.19 shows a usable area of motion compensation when using motion compensation in the current image.
일반적으로 비디오 디코더의 설계시, 물결 형태의 병렬화를 지원할 수 있다. 즉, 최대 코딩 유닛 라인 단위에서 병렬화가 수행될 수 있으며, 압축 성능을 고려하여 주변 블록의 참조를 유지하기 위하여, 현재 영상에서 움직임 보상을 사용할 때 상측의 최대 코딩 유닛은 현재 최대 코딩 유닛을 기준으로 최대 코딩 유닛 라인 단위로 +1 또는 +2 만큼 우측의 최대 코딩 유닛을 움직임 보상 영역으로 사용할 수 있다. In general, when designing a video decoder, it is possible to support wave-like parallelism. That is, parallelization may be performed in units of lines of the largest coding unit, and in order to maintain a reference of a neighboring block in consideration of compression performance, when motion compensation is used in the current image, the upper largest coding unit is based on the current largest coding unit. The maximum coding unit on the right side by +1 or +2 in units of the maximum coding unit line may be used as a motion compensation area.
또 다른 실시예에서, 현재 블록의 좌측에 위치한 특정 사이즈(예: 64x64)의 CTU에 포함된 영역이 현재 픽처에서 참조되는 영역으로서 사용될 수 있다.In another embodiment, an area included in a CTU of a specific size (eg, 64x64) located on the left side of the current block may be used as an area referenced in the current picture.
본 명세서의 실시예에서, 현재 영상을 참조 영상으로 사용함으로써 참조 영상이 존재하지 않는 I-슬라이스 또는 가장 유사한 움직임 보상 블록이 현재 영상에 존재하는 경우 부호화 효율이 개선될 수 있다.In an embodiment of the present specification, encoding efficiency may be improved when an I-slice without a reference image or the most similar motion compensation block exists in the current image by using the current image as a reference image.
인코더Encoder
본 명세서의 실시예는 현재 코딩 유닛의 인코딩 과정에서 지금까지 부호화된 현재 영상(현재 픽처)의 일부분을 참조 영상으로 사용할 수 있다. 디코더와 동일하게 인코더는 현재 영상 예측부(현재 픽처 예측부)에서 현재 영상을 참조 영상 리스트에 추가하고, 이미 부호화된 영역 중 미리 정해진 영역에서 현재 블록과 가장 유사한 블록을 찾는다. 최적의 움직임 벡터는 기존의 인터 모드와 동일하게 움직임 정보 예측을 사용하며, 움직임 벡터 차분 값이 디코더로 전송된다. 현재 영상의 일부를 사용하여 현재 블록에 대한 예측을 수행하는 방법은 IBC(intra block copy)로 지칭될 수 있다.In the embodiment of the present specification, a part of the current picture (current picture) that has been encoded so far in the encoding process of the current coding unit may be used as a reference picture. In the same manner as the decoder, the encoder adds the current image to the reference image list in the current image prediction unit (current picture prediction unit), and finds a block most similar to the current block in a predetermined region among the regions that have already been coded. The optimal motion vector uses motion information prediction as in the conventional inter mode, and the motion vector difference value is transmitted to the decoder. A method of performing prediction on a current block using a part of the current image may be referred to as an intra block copy (IBC).
현재 영상에서 움직임 보상이 사용되었는지 여부를 지시하기 위하여, 두 가지 방법이 사용될 수 있다. 첫번째, 참조 영상 인덱스를 기반으로 현재 영상에서 움직임 보상이 사용되었는지 여부를 아래와 같이 판단할 수 있다.Two methods may be used to indicate whether motion compensation is used in the current image. First, it may be determined as follows whether motion compensation is used in the current image based on the reference image index.
if( DiffPicOrderCnt( currPic, RefPicList0[ ref_idx_l0[ x0 ][ y0 ]] ) != 0 )if (DiffPicOrderCnt (currPic, RefPicList0 [ref_idx_l0 [x0] [y0]])!! 0)
DiffPicOrderCnt 함수는 입력으로 들어오는 2개의 영상 간의 POC(picture order count)의 차이를 나타낸다. 입력 값 currPic은 현재 복호화 대상 블록을 포함하는 현재 영상을 의미하고, RefPicList0[ ref_idx_l0[ x0 ][ y0 ]]는 현재 복호화 대상 블록의 참조 영상을 의미한다. 여기서, x0, y0는 현재 블록의 위치를 나타내고, ref_idx_l0는 참조 영상 리스트 0 방향의 참조 영상 인덱스를 나타낸다. 따라서 현재 블록의 참조 영상은 참조 영상 리스트에서 수신된 참조 영상 인덱스를 이용하여 계산될 수 있다. DiffPicOrderCnt 함수에 의한 출력 값 0은 현재 영상과 참조 영상이 동일한 영상임을 의미한다.The DiffPicOrderCnt function represents a difference in picture order count (POC) between two incoming images. The input value currPic means the current image including the current decoding target block, and RefPicList0 [ref_idx_l0 [x0] [y0]] means the reference video of the current decoding target block. Here, x0 and y0 indicate the position of the current block, and ref_idx_l0 indicates the reference image index in the 0 direction of the reference image list. Therefore, the reference image of the current block can be calculated using the reference image index received from the reference image list. The output value 0 by the DiffPicOrderCnt function means that the current image and the reference image are the same image.
두번째, 코딩 유닛 또는 블록 유닛 단위로 현재 영상에서 움직임 보상 사용 여부가 플래그 형태로 전송될 수 있다. 일 실시예에서, 현재 영상에서 움직임 보상이 사용되는지 여부를 나타내는 플래그가 intra_bc_flag로 정의될 수 있고, 이 플래그가 1인 경우, 해당 블록은 현재 영상에서 움직임 보상을 사용하고, 플래그가 0인 경우, 해당 블록은 현재 영상에서 움직임 보상을 사용하지 않는다.Second, whether to use motion compensation in a current image in a coding unit or block unit unit may be transmitted in the form of a flag. In one embodiment, a flag indicating whether motion compensation is used in the current image may be defined as intra_bc_flag, and when this flag is 1, the corresponding block uses motion compensation in the current image, and if the flag is 0, This block does not use motion compensation in the current image.
비트스트림Bitstream
상술한 본 발명의 실시예를 기반으로 인코딩 장치에 의하여 도출된 인코딩된 정 (예: 인코딩된 비디오/영상 정보)는 비트스트림(bitstream) 형태로 출력될 수 있다. 인코딩 정보는 현재 영상을 참조 영상으로 사용하는지 여부를 나타내는 플래그를 포함할 수 있다. 인코딩된 정보는 비트스트림 형태로 NAL(network abstraction layer) 유닛 단위로 전송 또는 저장될 수 있다. 비트스트림은 네트워크를 통하여 전송될 수 있고, 또는 비-일시적(non-transitory) 디지털 저장매체에 저장될 수 있다. 또한, 상술한 바와 같이 비트스트림은 인코딩 장치(100)에서 디코딩 장치(200)로 바로 전송되지 않고, 외부 서버(예: 컨텐츠 스트리밍 서버) 등을 통하여 스트리밍/다운로드 서비스될 수도 있다. 여기서 네트워크는 방송망 및/또는 통신망 등을 포함할 수 있고, 디지털 저장매체는 USB, SD, CD, DVD, 블루레이, HDD, SSD 등 다양한 저장매체를 포함할 수 있다.Based on the above-described embodiment of the present invention, the encoded information (eg, encoded video / image information) derived by the encoding device may be output in the form of a bitstream. The encoding information may include a flag indicating whether to use the current image as a reference image. The encoded information may be transmitted or stored in units of network abstraction layer (NAL) units in the form of a bitstream. The bitstream can be transmitted over a network, or it can be stored in a non-transitory digital storage medium. In addition, as described above, the bitstream is not directly transmitted from the encoding device 100 to the decoding device 200, and may be streamed / downloaded through an external server (for example, a content streaming server). Here, the network may include a broadcasting network and / or a communication network, and the digital storage medium may include various storage media such as USB, SD, CD, DVD, Blu-ray, HDD, SSD.
실시예 2Example 2
디코더Decoder
도 20은 HMVP 방법에 따른 디코딩 흐름도의 예를 도시한다.20 shows an example of a decoding flowchart according to the HMVP method.
도 20을 참조하면, 디코딩 장치(200)는 HMVP 후보들로 구성된 테이블을 로드하고, HMVP 후보들을 사용하여 블록에 대한 디코딩을 수행한다. 블록의 디코딩 이후, 디코딩 장치(200)는 디코딩된 움직임 정보를 사용하여 HMVP 후보를 업데이트한다.Referring to FIG. 20, the decoding apparatus 200 loads a table composed of HMVP candidates and decodes a block using HMVP candidates. After decoding the block, the decoding apparatus 200 updates the HMVP candidate using the decoded motion information.
도 21 및 도 22는 HMVP 방법에서 테이블을 업데이트하는 과정의 예를 도시한다.21 and 22 show an example of a process of updating a table in the HMVP method.
일 실시예에서, 테이블 사이즈 S는 16으로 설정되는데, 이는 최대 16개의 HMVP 후보들이 테이블에 추가될 수 있음을 의미한다. 만약 이전에 코딩된 블록들로부터 도출된 16개 보다 많은 HMVP 후보들이 테이블에 있으면, 테이블이 항상 최근에 코딩된 16개의 움직임 후보들을 포함할 수 있도록 FIFO(first-in-first-out) 룰이 적용된다. 도 19는 제안된 방법에서 사용되는 HMVP 후보를 제거하고 새로운 HMVP 후보를 추가하기 위하여 FIFO 룰이 적용되는 경우의 예를 도시한다.In one embodiment, the table size S is set to 16, which means that up to 16 HMVP candidates can be added to the table. If there are more than 16 HMVP candidates derived from previously coded blocks in the table, a FIFO (first-in-first-out) rule is applied so that the table always includes the 16 recently coded motion candidates. do. 19 shows an example of a case where the FIFO rule is applied to remove the HMVP candidate used in the proposed method and add a new HMVP candidate.
코딩 효율을 더욱 개선하기 위하여, 테이블에 HMVP를 삽입할 때 테이블에 동일한 HMVP가 존재하는지 여부를 판단하기 위한 중복성 체크(redundancy check)가 우선적으로 적용되는 제한된(constrained) FIFO 룰이 소개된다. 도 20과 같이, 만약 중복된 HMVP(HMVP 2)가 발견되면, 동일한 HMVP는 테이블에서 제거되고 모든 HMVP 후보들은 앞 순서로 이동한다(즉, 인덱스가 1만큼 감소한다).In order to further improve coding efficiency, a constrained FIFO rule is introduced in which a redundancy check is first applied to determine whether the same HMVP exists in a table when HMVP is inserted into the table. 20, if duplicate HMVPs (HMVPs 2) are found, the same HMVPs are removed from the table and all HMVP candidates are moved in the preceding order (ie, the index is decreased by 1).
HMVP 후보들이 머지 후보 리스트 구성 과정에서 사용될 수 있다. 테이블에서 마지막 엔트리로부터 첫번째 엔트리까지의 모든 HMVP 후보들이 TMVP(temporal MVP) 후보 이후에 삽입된다. 프루닝(pruning)이 HMVP 후보들에 대해 적용된다. 사용 가능한 머지 후보들의 총 개수가 시그널링된 최대 허용된 머지 후보들에 도달하면, 머지 후보 리스트 구성 프로세스가 종료된다.HMVP candidates can be used in the merge candidate list construction process. All HMVP candidates from the last entry to the first entry in the table are inserted after the TMVP (temporal MVP) candidate. Pruning is applied for HMVP candidates. When the total number of available merge candidates reaches the signaled maximum allowed merge candidates, the merge candidate list construction process ends.
유사하게, HMVP 후보들 또한 AMVP 후보 리스트 구성 프로세스에서 사용될 수 있다. 테이블에서 마지막 k HMVP 후보들의 움직임 벡터들은 TMVP 후보 이후에 삽입될 수 있다. AMVP 타겟 참조 픽처와 동일한 참조 픽처를 갖는 HMVP 후보들이 AMVP 후보 리스트를 구성하기 위해 사용될 수 있다. 예를 들어, K는 4일 수 있다.Similarly, HMVP candidates can also be used in the AMVP candidate list construction process. The motion vectors of the last k HMVP candidates in the table can be inserted after the TMVP candidate. HMVP candidates having the same reference picture as the AMVP target reference picture can be used to construct the AMVP candidate list. For example, K may be 4.
또한, 총 머지 후보 개수가 15보다 크거나 같으면, 절단된 유너리(truncated unary)에 고정된 길이(fixed length)(3 비트를 갖는)를 더한 이진화 방법(binarization method)가 머지 인덱스를 코딩하기 위해 적용될 수 있다. 머지 후보들의 총 개수가 N mrg로 표시되어, 이진화 방법은 아래의 표 3과 같이 테이블화(tabulated)된다.Also, if the total number of merge candidates is greater than or equal to 15, a binarization method that adds a fixed length (with 3 bits) to a truncated unary to code a merge index Can be applied. The total number of merge candidates is represented by N mrg , and the binarization method is tabulated as shown in Table 3 below.
Figure PCTKR2019012306-appb-img-000003
Figure PCTKR2019012306-appb-img-000003
인코더Encoder
본 명세서의 실시예에서 HMVP 인코더는 디코더와 동일하게 후보 리스트를 구성하며, 머지 또는 AMVP의 예측을 사용할 수 있다.In the embodiment of the present specification, the HMVP encoder constructs a candidate list in the same manner as the decoder, and may use prediction of merge or AMVP.
비트스트림Bitstream
상술한 본 발명의 실시예를 기반으로 인코딩 장치에 의하여 도출된 인코딩된 정 (예: 인코딩된 비디오/영상 정보)는 비트스트림(bitstream) 형태로 출력될 수 있다. 인코딩 정보는 현재 영상을 참조 영상으로 사용하는지 여부를 나타내는 플래그를 포함할 수 있다. 인코딩된 정보는 비트스트림 형태로 NAL(network abstraction layer) 유닛 단위로 전송 또는 저장될 수 있다. 비트스트림은 네트워크를 통하여 전송될 수 있고, 또는 비-일시적(non-transitory) 디지털 저장매체에 저장될 수 있다. 또한, 상술한 바와 같이 비트스트림은 인코딩 장치(100)에서 디코딩 장치(200)로 바로 전송되지 않고, 외부 서버(예: 컨텐츠 스트리밍 서버) 등을 통하여 스트리밍/다운로드 서비스될 수도 있다. 여기서 네트워크는 방송망 및/또는 통신망 등을 포함할 수 있고, 디지털 저장매체는 USB, SD, CD, DVD, 블루레이, HDD, SSD 등 다양한 저장매체를 포함할 수 있다.Based on the above-described embodiment of the present invention, the encoded information (eg, encoded video / image information) derived by the encoding device may be output in the form of a bitstream. The encoding information may include a flag indicating whether to use the current image as a reference image. The encoded information may be transmitted or stored in units of network abstraction layer (NAL) units in the form of a bitstream. The bitstream can be transmitted over a network, or it can be stored in a non-transitory digital storage medium. In addition, as described above, the bitstream is not directly transmitted from the encoding device 100 to the decoding device 200, and may be streamed / downloaded through an external server (for example, a content streaming server). Here, the network may include a broadcasting network and / or a communication network, and the digital storage medium may include various storage media such as USB, SD, CD, DVD, Blu-ray, HDD, SSD.
실시예 3Example 3
디코더Decoder
도 23은 움직임 벡터의 해상도를 적응적으로 조절하기 위한 흐름도의 일 예를 도시한다.23 shows an example of a flowchart for adaptively adjusting the resolution of a motion vector.
본 실시예는 움직임 벡터 차분(motion vector difference, MVD)의 전송에 사용되는 정보량을 감소시킴으로써 움직임 정보의 표현력을 낮추고 비트율 측면에서 이득을 얻는 것을 목적으로 한다.The present embodiment aims to lower the expressive power of motion information and obtain a gain in terms of bit rate by reducing the amount of information used for the transmission of motion vector difference (MVD).
디코더는 먼저 MVD를 파싱하고(S2305), 본 AMVR(adaptive motion vector resolution)의 적용 유무(사전에 정의된 기본 해상도의 사용 유무)를 나타내는 AMVR 모드에 대한 플래그(AMVR 플래그)를 복호화하고, AMVR 플래그를 통해 AMVR 적용 여부를 결정한다(S2310). AMVR 플래그가 0인 경우, 기존과 동일하게 MVD의 해상도는 1/4이고 스케일 값은 0으로 지정된다(S2330). AMVR 플래그가 1인 경우, 추가적으로 AMVR의 단위를 나타내는 신택스 엘레먼트(AMVR 정확도 정보 또는 AMVR 정확도 인덱스)를 복호화하고, AMVR 정확도 정보를 통해 AMVR의 단위를 확인한다(S2315). 예를 들어, AMVR 정확도 정보는 AMVR의 단위가 정수 단위인지 또는 4배 정수 단위인지를 나타낼 수 있다. AMVR 정확도 정보의 확인 결과 MVD의 해상도가 정수 단위인 경우, MV를 1/4 단위에서 정수 단위로 4배 업-스케일하기 위하여 스케일 값이 1로 결정된다(S2325). 이는 MVD 값에서 시프트 연산(<<2)를 적용되는 것과 동일하다. AMVR 정확도 정보의 확인 결과 MVD의 해상도가 4배의 정수 단위인 경우, MV를 1/4 단위에서 4배의 정수단위로 16배 업-스케일하기 위하여 스케일 값이 2로 결정된다(S2320). 이는 MVD 값에 시프트 연산(<<4)를 적용하는 것과 동일한다. 디코더는 AMVR 플래그 및 AMVR 정확도 정보를 통해 결정된 MVD의 해상도에 맞춰 MVD에 대한 스케일링을 수행한다(S2335).The decoder first parses the MVD (S2305), decodes the flag for the AMVR mode (AMVR flag) indicating whether or not the present adaptive motion vector resolution (AMVR) is applied (with or without the use of a predefined default resolution), and the AMVR flag It is determined whether to apply the AMVR through (S2310). When the AMVR flag is 0, the resolution of the MVD is 1/4 and the scale value is designated as 0 in the same manner as in the previous step (S2330). When the AMVR flag is 1, additionally, a syntax element (AMVR accuracy information or AMVR accuracy index) indicating the unit of the AMVR is decoded, and the unit of the AMVR is checked through the AMVR accuracy information (S2315). For example, the AMVR accuracy information may indicate whether the unit of the AMVR is an integer unit or a 4-fold integer unit. As a result of checking the AMVR accuracy information, when the resolution of the MVD is an integer unit, the scale value is determined to be 1 in order to up-scale the MV from 1/4 unit to an integer unit (S2325). This is equivalent to applying a shift operation (<< 2) on MVD values. As a result of checking the AMVR accuracy information, when the resolution of the MVD is an integer unit of 4 times, the scale value is determined as 2 in order to up-scale the MV from 1/4 unit to 4 times integer unit (S2320). This is equivalent to applying a shift operation (<< 4) to the MVD value. The decoder performs scaling on the MVD according to the resolution of the MVD determined through the AMVR flag and AMVR accuracy information (S2335).
본 실시예에서 AMVR 플래그와 AMVR 정확도 정보에 따른 MVD의 해상도는 아래의 표 4와 같다. In this embodiment, the resolution of the MVD according to the AMVR flag and AMVR accuracy information is shown in Table 4 below.
Figure PCTKR2019012306-appb-img-000004
Figure PCTKR2019012306-appb-img-000004
인코더Encoder
인코더는 본 실시예가 적용된 MVD의 해상도를 낮추어 전송하는 경우와 원래의 해상도로 전송하는 경우 사이의 율-왜곡 최적화(rate-distortion optimization)을 통해 더 나은 경우를 선택하고 해상도 조절 여부를 나타내는 AMVR 플래그를 전송할 수 있다. AMVR 플래그는 MVD의 해상도가 1/4 인지 여부를 나타낸다. AMVR 플래그가 0인 경우, MVD의 해상도는 1/4이며, 이때 인코더는 더 이상 MVD의 해상도에 대한 정보를 전송하지 않는다. 만약 AMVR 플래그가 0인 경우, MVD의 해상도는 1/4 단위가 아닌 정수 단위일 수 있으며, 이때 추가적으로 MVD의 해상도가 정수 단위인지 또는 4배 정수 단위인지 여부를 나타내는 AMVR 정확도 정보를 디코더로 전송할 수 있다.The encoder selects a better case through rate-distortion optimization between a case in which the resolution of the MVD to which the present embodiment is applied is lowered and transmitted in the original resolution, and an AMVR flag indicating whether to adjust the resolution. Can transmit. The AMVR flag indicates whether the resolution of the MVD is 1/4. When the AMVR flag is 0, the resolution of the MVD is 1/4, and the encoder no longer transmits information about the resolution of the MVD. If the AMVR flag is 0, the resolution of the MVD may be an integer unit rather than a 1/4 unit, and additionally, AMVR accuracy information indicating whether the resolution of the MVD is an integer unit or a 4-fold integer unit may be transmitted to the decoder. have.
비트스트림Bitstream
상술한 본 발명의 실시예를 기반으로 인코딩 장치에 의하여 도출된 인코딩된 정 (예: 인코딩된 비디오/영상 정보)는 비트스트림(bitstream) 형태로 출력될 수 있다. 인코딩 정보는 AMVR이 사용되었는지 나타내는 AMVR 플래그와 MVD의 해상도가 정수 단위인지 4배의 정수 단위인지를 나타내는 AMVR 정확도 정보를 포함할 수 있다. 인코딩된 정보는 비트스트림 형태로 NAL(network abstraction layer) 유닛 단위로 전송 또는 저장될 수 있다. 비트스트림은 네트워크를 통하여 전송될 수 있고, 또는 비-일시적(non-transitory) 디지털 저장매체에 저장될 수 있다. 또한, 상술한 바와 같이 비트스트림은 인코딩 장치(100)에서 디코딩 장치(200)로 바로 전송되지 않고, 외부 서버(예: 컨텐츠 스트리밍 서버) 등을 통하여 스트리밍/다운로드 서비스될 수도 있다. 여기서 네트워크는 방송망 및/또는 통신망 등을 포함할 수 있고, 디지털 저장매체는 USB, SD, CD, DVD, 블루레이, HDD, SSD 등 다양한 저장매체를 포함할 수 있다.Based on the above-described embodiment of the present invention, the encoded information (eg, encoded video / image information) derived by the encoding device may be output in the form of a bitstream. The encoding information may include an AMVR flag indicating whether the AMVR is used and AMVR accuracy information indicating whether the resolution of the MVD is an integer unit or an integer unit of 4 times. The encoded information may be transmitted or stored in units of network abstraction layer (NAL) units in the form of a bitstream. The bitstream can be transmitted over a network, or it can be stored in a non-transitory digital storage medium. In addition, as described above, the bitstream is not directly transmitted from the encoding device 100 to the decoding device 200, and may be streamed / downloaded through an external server (for example, a content streaming server). Here, the network may include a broadcasting network and / or a communication network, and the digital storage medium may include various storage media such as USB, SD, CD, DVD, Blu-ray, HDD, SSD.
실시예 4Example 4
디코더Decoder
본 실시예는 현재 코딩 유닛의 디코딩 과정 중 현재 영상의 일부분을 참조 영상으로 사용하는 방법에서 움직임 벡터의 해상도를 적응적으로 조절하는 방법에 관한 것이다. 복호화된 현재 영상의 일부분을 참조 영상으로 사용할 때 움직임 벡터의 해상도가 1/4이면, 디코더에서 영상에 대한 보간 필터가 필요한 문제점이 있다. 따라서, 현재 영상을 참조 영상으로 사용하여 움직임 보상을 수행하는 경우, 움직임 보상은 정수 단위에서 수행된다. The present embodiment relates to a method of adaptively adjusting the resolution of a motion vector in a method of using a part of the current image as a reference image during the decoding process of the current coding unit. When a part of the decoded current image is used as a reference image, if the resolution of the motion vector is 1/4, there is a problem in that a decoder needs an interpolation filter for the image. Accordingly, when motion compensation is performed using the current image as a reference image, motion compensation is performed in an integer unit.
그러나, 움직임 벡터의 해상도를 적응적으로 조절하는 AMVR 기술에서, 현재 코딩 유닛을 위한 움직임 벡터의 해상도, 즉, MVD의 해상도가 1/4 단위인지 여부를 지시하는 AMVR 플래그가 전송된다. 따라서, 현재 영상을 참조 영상으로 사용하여 움직임 보상을 수행하는 경우, AMVR 플래그는 항상 1로 설정된다. 여기서 AMVR 플래그 값 1은 MVD의 해상도가 정수 단위임을 나타낸다. However, in the AMVR technology that adaptively adjusts the resolution of the motion vector, the AMVR flag indicating whether the resolution of the motion vector for the current coding unit, that is, the resolution of the MVD is 1/4 unit, is transmitted. Therefore, when motion compensation is performed using the current image as a reference image, the AMVR flag is always set to 1. Here, the AMVR flag value 1 indicates that the resolution of the MVD is an integer unit.
현재 영상을 참조 영상으로 사용하는 CPR에서 AMVR 플래그가 항상 1임으로 인해 발생하는 문제를 해결하기 위하여, 도 24와 같이 CPR 여부를 확인하는 조건이 추가될 수 있다. CPR 적용 여부의 판단은 참조 영상의 POC와 현재 영상의 POC를 비교함으로써 수행될 수 있다. 또한, 코딩 유닛 단위에서 CPR 적용 여부를 나타내는 플래그를 통해 CPR의 적용 여부가 확인될 수 있다. 도 24와 같이 CPR 조건이 0인 경우, 기존 AMVR과 동일하게 AMVR 플래그와 AMVR 정확도 정보가 모두 전송될 수 있다. 반면 CPR 조건이 1인 경우, AMVR 플래그는 전송되지 않고 AMVR 정확도 정보만이 전송될 수 있다.In order to solve the problem that occurs when the AMVR flag is always 1 in the CPR using the current image as a reference image, a condition for checking whether the CPR is as shown in FIG. 24 may be added. The determination of whether to apply CPR may be performed by comparing the POC of the reference image with the POC of the current image. In addition, whether a CPR is applied may be checked through a flag indicating whether CPR is applied in a coding unit unit. As shown in FIG. 24, when the CPR condition is 0, both the AMVR flag and the AMVR accuracy information can be transmitted in the same way as the existing AMVR. On the other hand, when the CPR condition is 1, the AMVR flag is not transmitted and only AMVR accuracy information can be transmitted.
도 24는 본 명세서의 일 실시예에 따른 AMVR을 사용하여 MVD를 스케일링하는 과정의 예를 도시한다.24 illustrates an example of a process of scaling an MVD using an AMVR according to an embodiment of the present specification.
도 24를 참조하면, 디코더는 MVD를 파싱하고(S2405) CPR의 적용 여부를 결정한다(S2410). CPR이 적용되지 않는 경우, 디코더는 AMVR이 적용되는 지 여부를 결정하고(S2415), AMVR이 적용되지 않으면 스케일 값을 0으로 설정한다(S2435). AMVR이 적용되는 경우, 디코더는 MVD의 해상도가 정수 단위인지 또는 4배 정수 단위인지를 결정한다(S2420). MVD의 해상도가 4배 정수 단위가 아닌 경우(정수 단위인 경우), 디코더는 스케일 값을 1로 설정한다(S2430). MVD의 해상도가 4배 정수 단위인 경우, 디코더는 스케일 값을 2로 설정한다(S2425). 이후 디코더는 스케일 값에 따라 MVD에 대한 스케일링을 수행한다(S2440).Referring to FIG. 24, the decoder parses the MVD (S2405) and determines whether to apply CPR (S2410). If CPR is not applied, the decoder determines whether AMVR is applied (S2415), and if AMVR is not applied, sets the scale value to 0 (S2435). When AMVR is applied, the decoder determines whether the resolution of the MVD is an integer unit or a 4-fold integer unit (S2420). If the resolution of the MVD is not an integer unit of 4 times (when it is an integer unit), the decoder sets the scale value to 1 (S2430). When the resolution of the MVD is 4 times an integer unit, the decoder sets the scale value to 2 (S2425). Thereafter, the decoder performs scaling on the MVD according to the scale value (S2440).
반면, 도 24에 도시된 흐름도에 의하여 MVD 스케일링이 수행되는 경우, 디코더는 비트스트림의 디코딩 과정에서 CPR 여부를 계속적으로 확인해야 하며, 이는 디코더의 파싱 처리량(parsing throughput)의 저하를 초래할 수 있다. 따라서, 도 25 내지 도 27과 같이 AMVR 플래그의 파싱 이전에 CPR 조건 확인 과정이 제거되고, CPR 조건 확인은 디코딩 과정에서 적응적으로 수행될 수 있다.On the other hand, when MVD scaling is performed according to the flowchart shown in FIG. 24, the decoder must continuously check whether CPR is in the process of decoding the bitstream, which may result in a decrease in the parsing throughput of the decoder. Therefore, as shown in FIGS. 25 to 27, the CPR condition checking process is removed before parsing of the AMVR flag, and the CPR condition checking can be adaptively performed in the decoding process.
도 25는 본 명세서의 실시예에 따른 AMVR을 사용하여 MVD를 스케일링하는 과정의 다른 예를 도시한다.25 illustrates another example of a process of scaling an MVD using an AMVR according to an embodiment of the present specification.
도 25를 참조하면, 디코더는 MVD를 파싱하고(S2505) AMVR의 적용 여부를 결정한다(S2510). AMVR이 적용되지 않는 경우, 디코더는 스케일 값을 0으로 설정한다(S2530). 이후, 디코더는 CPR이 적용되는지 여부를 결정하고(S2535), CPR이 적용되면 스케일 값을 1만큼 증가시킨다(S2540). AMVR이 적용되는 경우, 디코더는 MVD의 해상도가 정수 단위인지 또는 4배 정수 단위인지를 결정한다(S2515). MVD의 해상도가 4배 정수 단위가 아닌 경우(정수 단위인 경우), 디코더는 스케일 값을 1로 설정한다(S2525). MVD의 해상도가 4배 정수 단위인 경우, 디코더는 스케일 값을 2로 설정한다(S2520). 이후 디코더는 스케일 값에 따라 MVD에 대한 스케일링을 수행한다(S2545).Referring to FIG. 25, the decoder parses the MVD (S2505) and determines whether to apply the AMVR (S2510). When AMVR is not applied, the decoder sets the scale value to 0 (S2530). Thereafter, the decoder determines whether CPR is applied (S2535), and increases the scale value by 1 when CPR is applied (S2540). When AMVR is applied, the decoder determines whether the resolution of the MVD is an integer unit or a 4-fold integer unit (S2515). When the resolution of the MVD is not an integer unit of 4 times (when it is an integer unit), the decoder sets the scale value to 1 (S2525). When the resolution of the MVD is 4 times an integer unit, the decoder sets the scale value to 2 (S2520). Thereafter, the decoder performs scaling on the MVD according to the scale value (S2545).
도 25에서, CPR이 적용되면 정수 화소 단위의 MVD가 사용될 수 있다. AMVR 플래그가 0일 때, 디코더는 추가적으로 CPR 적용 여부를 판단하고, CPR이 적용되는 경우 스케일 값을 1만큼 증가시킬 수 있다. 즉, AMVR 플래그와 AMVR 정확도 정보(four-pel flag)에 따른 MVD의 해상도는 아래의 표 5와 같이 구성될 수 있다.In FIG. 25, when CPR is applied, an integer pixel unit MVD may be used. When the AMVR flag is 0, the decoder additionally determines whether to apply CPR, and when the CPR is applied, the scale value can be increased by 1. That is, the resolution of the MVD according to the AMVR flag and the AMVR accuracy information (four-pel flag) may be configured as shown in Table 5 below.
Figure PCTKR2019012306-appb-img-000005
Figure PCTKR2019012306-appb-img-000005
도 26은 본 명세서의 실시예에 따른 AMVR을 사용하여 MVD를 스케일링하는 과정의 또 다른 예를 도시한다.26 illustrates another example of a process of scaling an MVD using an AMVR according to an embodiment of the present specification.
도 26을 참조하면, 디코더는 MVD를 파싱하고(S2605) AMVR의 적용 여부를 결정한다(S2610). AMVR이 적용되지 않는 경우, 디코더는 스케일 값을 0으로 설정한다(S2630). 이후, 디코더는 CPR이 적용되는지 여부를 결정하고(S2635), CPR이 적용되면 스케일 값을 1만큼 증가시킨다(S2640). AMVR이 적용되는 경우, 디코더는 MVD의 해상도가 정수 단위인지 또는 4배 정수 단위인지를 결정한다(S2615). MVD의 해상도가 4배 정수 단위가 아닌 경우(정수 단위인 경우), 디코더는 스케일 값을 1로 설정한다(S2625). 디코더는, 스케일 값이 1로 설정한 이후, CPR이 적용되는지 여부를 결정하고(S2635), CPR이 적용되면 스케일 값을 1만큼 증가시킨다(S2640). MVD의 해상도가 4배 정수 단위인 경우, 디코더는 스케일 값을 2로 설정한다(S2620). 이후 디코더는 스케일 값에 따라 MVD에 대한 스케일링을 수행한다(S2645).Referring to FIG. 26, the decoder parses the MVD (S2605) and determines whether to apply the AMVR (S2610). When AMVR is not applied, the decoder sets the scale value to 0 (S2630). Thereafter, the decoder determines whether CPR is applied (S2635), and increases the scale value by 1 when CPR is applied (S2640). When AMVR is applied, the decoder determines whether the resolution of the MVD is an integer unit or a 4-fold integer unit (S2615). If the resolution of the MVD is not an integer unit of 4 times (when it is an integer unit), the decoder sets the scale value to 1 (S2625). After the scale value is set to 1, the decoder determines whether CPR is applied (S2635) and increases the scale value by 1 when CPR is applied (S2640). When the resolution of the MVD is 4 times an integer unit, the decoder sets the scale value to 2 (S2620). Thereafter, the decoder performs scaling on the MVD according to the scale value (S2645).
도 26에서, CPR이 적용되면 정수 화소 단위 및 4배 정수 화소 단위의 MVD가 사용될 수 있다. AMVR 플래그가 0 또는 1이면서 AMVR 정확도 정보(four-pel flag)가 0일 때, 디코더는 추가적으로 CPR의 적용 여부를 판단하고, CPR이 적용되면 스케일 값을 1만큼 증가시킬 수 있다. 즉, AMVR 플래그와 AMVR 정확도 정보(four-pel flag)에 따른 MVD의 해상도는 아래의 표 6과 같을 수 있다.In FIG. 26, when CPR is applied, an integer pixel unit and an MVD of a 4-fold integer pixel unit may be used. When the AMVR flag is 0 or 1 and the AMVR accuracy information (four-pel flag) is 0, the decoder may additionally determine whether to apply CPR and increase the scale value by 1 when CPR is applied. That is, the resolution of the MVD according to the AMVR flag and the AMVR accuracy information (four-pel flag) may be as shown in Table 6 below.
Figure PCTKR2019012306-appb-img-000006
Figure PCTKR2019012306-appb-img-000006
도 27은 본 명세서의 실시예에 따른 AMVR을 사용하여 MVD를 스케일링하는 과정의 또 다른 예를 도시한다.27 shows another example of a process of scaling an MVD using an AMVR according to an embodiment of the present specification.
도 27을 참조하면, 디코더는 MVD를 파싱하고(S2705) AMVR의 적용 여부를 결정한다(S2710). AMVR이 적용되지 않는 경우, 디코더는 스케일 값을 0으로 설정한다(S2730). AMVR이 적용되는 경우, 디코더는 MVD의 해상도가 정수 단위인지 또는 4배 정수 단위인지를 결정한다(S2715). MVD의 해상도가 4배 정수 단위가 아닌 경우(정수 단위인 경우), 디코더는 스케일 값을 1로 설정한다(S2725). MVD의 해상도가 4배 정수 단위인 경우, 디코더는 스케일 값을 2로 설정한다(S2720). 이후, 디코더는 CPR이 적용되는지 여부를 결정하고(S2735), CPR이 적용되면 스케일 값을 1만큼 증가시킨다(S2740). 디코더는 스케일 값에 따라 MVD에 대한 스케일링을 수행한다(S2745).Referring to FIG. 27, the decoder parses the MVD (S2705) and determines whether to apply the AMVR (S2710). When AMVR is not applied, the decoder sets the scale value to 0 (S2730). When AMVR is applied, the decoder determines whether the resolution of the MVD is an integer unit or a quadruple integer unit (S2715). When the resolution of the MVD is not an integer unit of 4 times (when it is an integer unit), the decoder sets the scale value to 1 (S2725). When the resolution of the MVD is 4 times an integer unit, the decoder sets the scale value to 2 (S2720). Thereafter, the decoder determines whether CPR is applied (S2735), and increases the scale value by 1 when CPR is applied (S2740). The decoder performs scaling on the MVD according to the scale value (S2745).
도 27에서, CPR이 적용되면 정수 화소 단위, 4배 화소 단위, 및 16배 정수 화소 단위의 MVD가 사용될 수 있다. 도 27의 방법에 따르면 항상 CPR의 적용 여부가 판단되고, CPR이 적용되면 스케일 값이 1만큼 증가한다. 즉, AMVR 플래그와 AMVR 정확도 정보(four-pel flag)에 따른 MVD의 해상도는 표 7과 같을 수 있다.In FIG. 27, when CPR is applied, an integer pixel unit, a quadruple pixel unit, and a 16x integer pixel unit MVD may be used. According to the method of FIG. 27, it is always determined whether CPR is applied, and when CPR is applied, the scale value increases by one. That is, the resolution of the MVD according to the AMVR flag and the AMVR accuracy information (four-pel flag) may be as shown in Table 7.
Figure PCTKR2019012306-appb-img-000007
Figure PCTKR2019012306-appb-img-000007
CPR을 위한 정수 화소의 해상도는 상술한 실시예 외에 추가적으로 {1, 2}, {1, 2, 4}, {1, 4, 8}과 같은 형태일 수 있다.The resolution of the integer pixel for CPR may be in the form of {1, 2}, {1, 2, 4}, {1, 4, 8} in addition to the above-described embodiment.
인코더Encoder
인코더는 본 실시예가 적용된 MVD의 해상도를 낮추어 전송하는 경우와 원래의 해상도로 전송하는 경우 사이의 율-왜곡 최적화(rate-distortion optimization)을 통해 더 나은 경우를 선택하고 해상도 조절 여부를 나타내는 AMVR 플래그를 전송할 수 있다. AMVR 플래그는 MVD의 해상도가 1/4 인지 여부를 나타낸다. AMVR 플래그가 0인 경우, MVD의 해상도는 1/4이며, 이때 인코더는 더 이상 MVD의 해상도에 대한 정보를 전송하지 않는다. 만약 AMVR 플래그가 0인 경우, MVD의 해상도는 1/4 단위가 아닌 정수 단위일 수 있으며, 이때 추가적으로 MVD의 해상도가 정수 단위인지 또는 4배 정수 단위인지 여부를 나타내는 AMVR 정확도 정보를 디코더로 전송할 수 있다.The encoder selects a better case through rate-distortion optimization between a case in which the resolution of the MVD to which the present embodiment is applied is lowered and transmitted in the original resolution, and an AMVR flag indicating whether to adjust the resolution. Can transmit. The AMVR flag indicates whether the resolution of the MVD is 1/4. When the AMVR flag is 0, the resolution of the MVD is 1/4, and the encoder no longer transmits information about the resolution of the MVD. If the AMVR flag is 0, the resolution of the MVD may be an integer unit rather than a 1/4 unit, and additionally, AMVR accuracy information indicating whether the resolution of the MVD is an integer unit or a 4-fold integer unit may be transmitted to the decoder. have.
비트스트림Bitstream
상술한 본 발명의 실시예를 기반으로 인코딩 장치에 의하여 도출된 인코딩된 정 (예: 인코딩된 비디오/영상 정보)는 비트스트림(bitstream) 형태로 출력될 수 있다. 인코딩 정보는 AMVR이 사용되었는지 나타내는 AMVR 플래그와 MVD의 해상도가 정수 단위인지 4배의 정수 단위인지를 나타내는 AMVR 정확도 정보를 포함할 수 있다. 인코딩된 정보는 비트스트림 형태로 NAL(network abstraction layer) 유닛 단위로 전송 또는 저장될 수 있다. 비트스트림은 네트워크를 통하여 전송될 수 있고, 또는 비-일시적(non-transitory) 디지털 저장매체에 저장될 수 있다. 또한, 상술한 바와 같이 비트스트림은 인코딩 장치(100)에서 디코딩 장치(200)로 바로 전송되지 않고, 외부 서버(예: 컨텐츠 스트리밍 서버) 등을 통하여 스트리밍/다운로드 서비스될 수도 있다. 여기서 네트워크는 방송망 및/또는 통신망 등을 포함할 수 있고, 디지털 저장매체는 USB, SD, CD, DVD, 블루레이, HDD, SSD 등 다양한 저장매체를 포함할 수 있다.Based on the above-described embodiment of the present invention, the encoded information (eg, encoded video / image information) derived by the encoding device may be output in the form of a bitstream. The encoding information may include an AMVR flag indicating whether the AMVR is used and AMVR accuracy information indicating whether the resolution of the MVD is an integer unit or an integer unit of 4 times. The encoded information may be transmitted or stored in units of network abstraction layer (NAL) units in the form of a bitstream. The bitstream can be transmitted over a network, or it can be stored in a non-transitory digital storage medium. In addition, as described above, the bitstream is not directly transmitted from the encoding device 100 to the decoding device 200, and may be streamed / downloaded through an external server (for example, a content streaming server). Here, the network may include a broadcasting network and / or a communication network, and the digital storage medium may include various storage media such as USB, SD, CD, DVD, Blu-ray, HDD, SSD.
실시예 5Example 5
디코더Decoder
본 실시예는 현재 코딩 유닛의 디코딩 과정 중 복호화된 현재 영상의 일부분을 참조 영상으로 움직임 보상을 수행할 때 머지 모드에서 머지 후보 리스트를 구성하는 방법을 제공한다. This embodiment provides a method of constructing a merge candidate list in a merge mode when motion compensation is performed on a part of a decoded current image as a reference image during a decoding process of the current coding unit.
도 28은 본 명세서의 실시예에 따른 머지 후보 리스트 구성 방법의 예를 도시한다.28 illustrates an example of a method of constructing a merge candidate list according to an embodiment of the present specification.
먼저, 디코더는 머지 후보 리스트 구성을 위한 공간적 후보 블록을 탐색하고, 사용가능한 공간적 후보 블록의 움직임 벡터의 정보를 머지 후보 리스트에 삽입할 수 있다(S2810). 공간적 후보 블록은 현재 블록에 인접한 좌측 블록, 좌-하측 블록, 상측 블록, 상-우측 블록, 상-좌측 블록을 포함할 수 있다. 이후, 디코더는 시간적 후보 블록을 탐색하고, 사용 가능한 시간적 후보 블록의 움직임 벡터에 대한 정보를 머지 후보 리스트에 삽입할 수 있다(S2820). 공간적 및 시간적 주변 후보 블록으로부터 머지 후보 리스트를 구성한 이후, 머지 리스트의 크기가 최대 머지 크기에 도달하지 않으면 디코더는 결합된(combined) 머지 후보를 머지 후보 리스트에 추가한다(S2830).First, the decoder searches for a spatial candidate block for constructing a merge candidate list, and inserts motion vector information of an available spatial candidate block into the merge candidate list (S2810). The spatial candidate block may include a left block adjacent to the current block, a left-lower block, an upper block, an upper-right block, and an upper-left block. Thereafter, the decoder searches for a temporal candidate block and inserts information on a motion vector of the available temporal candidate block into the merge candidate list (S2820). After constructing the merge candidate list from the spatial and temporal neighbor candidate blocks, if the size of the merge list does not reach the maximum merge size, the decoder adds the combined merge candidate to the merge candidate list (S2830).
구성된 머지 후보 리스트가 최대 머지 후보 리스트보다 적고 현재 블록에 대해 CPR이 적용되는 경우, 디코더는 현재 블록의 크기에 따라 아래의 후보를 머지 후보 리스트에 추가할 수 있다(S2840). 여기서, W는 현재 블록의 너비를 나타내고, H는 현재 블록의 높이를 나타낸다. 머지 후보를 하나만 추가하는 경우 추가될 수 있는 머지 후보는 아래와 같다.If the configured merge candidate list is less than the maximum merge candidate list and CPR is applied to the current block, the decoder may add the following candidates to the merge candidate list according to the size of the current block (S2840). Here, W represents the width of the current block, and H represents the height of the current block. If only one merge candidate is added, the merge candidates that can be added are as follows.
(1) (-W, 0)(1) (-W, 0)
(2) (0, -H)(2) (0, -H)
(3) (-2W, 0)(3) (-2W, 0)
(4) (0, -2H)(4) (0, -2H)
(5) (-W, -H)(5) (-W, -H)
(6) (-2W, -2H)(6) (-2W, -2H)
머지 후보 2개를 추가하는 경우, 추가될 수 있는 머지 후보는 아래와 같다.When two merge candidates are added, the merge candidates that can be added are as follows.
(1) (-W, 0), (0, -H)(1) (-W, 0), (0, -H)
(2) (0, -H), (-W, 0)(2) (0, -H), (-W, 0)
(3) (-2W, 0), (0, -2H)(3) (-2W, 0), (0, -2H)
(4) (0, -2H), (-2W, 0) (4) (0, -2H), (-2W, 0)
(5) (-W, -H), (-2W, -2H)(5) (-W, -H), (-2W, -2H)
(6) (-2W, -2H), (-W, -H)(6) (-2W, -2H), (-W, -H)
상술한 바와 같이 CPR 조건에 따른 블록 크기 기반 움직임 벡터 후보는 이전의 머지 후보 리스트에 현재 영상을 참조하는(즉, CPR이 적용된) 움직임 보상 후보가 특정 문턱치(threshold) 값 이하로 포함되었을 경우에만 추가될 수 있다. 여기서 문턱치 값은 0부터 최대 머지 후보 리스트 개수 범위 중에서 하나의 값에 해당할 수 있다. 또한, 디코더는 제로 벡터 후보를 머지 후보 리스트에 삽입할 수 있다(S2850).As described above, the block size-based motion vector candidate according to the CPR condition is added only when a motion compensation candidate referring to the current image (that is, CPR is applied) in a previous merge candidate list is included below a certain threshold value. Can be. Here, the threshold value may correspond to a value from 0 to the maximum number of merge candidate list numbers. Also, the decoder may insert the zero vector candidate into the merge candidate list (S2850).
또한, 본 명세서의 실시예는 현재 영상에서 움직임 보상이 사용될 때, 움직임 벡터 예측(MVP) 모드에서 움직임 벡터 예측(MVP) 리스트를 구성하는 방법을 제공한다.In addition, an embodiment of the present disclosure provides a method of constructing a motion vector prediction (MVP) list in a motion vector prediction (MVP) mode when motion compensation is used in a current image.
도 29는 본 명세서의 실시예에 따른 움직임 벡터 예측 리스트의 구성 방법의 예를 도시한다.29 illustrates an example of a method of constructing a motion vector prediction list according to an embodiment of the present specification.
먼저, 디코더는 움직임 벡터 예측 리스트 구성을 위한 공간적 후보 블록을 탐색하고, 사용가능한 공간적 후보 블록의 움직임 벡터의 정보를 움직임 벡터 예측 리스트에 삽입할 수 있다(S2910). 공간적 후보 블록은 현재 블록에 인접한 좌측 블록, 좌-하측 블록, 상측 블록, 상-우측 블록, 상-좌측 블록을 포함할 수 있다. 디코더는 공간적 후보 블록의 개수와 최대 움직임 예측 크기(예: 2)를 비교하고, 구성된 움직임 벡터 예측 후보가 최대 움직임 예측 크기(예: 2) 미만인 경우, 시간적 후보 블록을 탐색하고, 사용 가능한 시간적 후보 블록의 움직임 벡터에 대한 정보를 움직임 벡터 예측 리스트에 삽입할 수 있다(S2930). 공간적 및 시간적 주변 후보 블록으로부터 움직임 벡터 예측 리스트를 구성한 이후 디코더는 후보 블록의 개수와 최대 움직임 예측 크기(예: 2)를 비교하고(S2940), 움직임 벡터 예측 리스트의 크기가 최대 머지 크기에 도달하지 않으면 디코더는 본 실시예의 블록 크기 기반 움직임 벡터 후보를 움직임 벡터 예측 리스트에 삽입한다(S2950).First, the decoder searches for a spatial candidate block for constructing a motion vector prediction list, and inserts information of a motion vector of an available spatial candidate block into a motion vector prediction list (S2910). The spatial candidate block may include a left block adjacent to the current block, a left-lower block, an upper block, an upper-right block, and an upper-left block. The decoder compares the number of spatial candidate blocks with the maximum motion prediction size (eg 2), and when the configured motion vector prediction candidate is less than the maximum motion prediction size (eg 2), searches for a temporal candidate block and uses available temporal candidates Information about the motion vector of the block may be inserted into the motion vector prediction list (S2930). After constructing the motion vector prediction list from the spatial and temporal neighboring candidate blocks, the decoder compares the number of candidate blocks with the maximum motion prediction size (eg, 2) (S2940), and the size of the motion vector prediction list does not reach the maximum merge size. Otherwise, the decoder inserts the block size-based motion vector candidate of the present embodiment into the motion vector prediction list (S2950).
구성된 움직임 벡터 예측 리스트가 최대 움직임 벡터 예측 리스트보다 적은 경우, 현재 블록의 참조 영상이 현재 영상인 경우(즉, CPR이 적용되는 경우), 현재 블록의 크기에 따라 아래의 후보들이 움직임 벡터 예측 리스트에 추가될 수 있다. 여기서 W는 현재 블록의 너비를 나타내고, H는 현재 블록의 높이를 나타낸다. 머지 후보를 하나만 추가하는 경우 추가될 수 있는 머지 후보는 아래와 같다.When the configured motion vector prediction list is less than the maximum motion vector prediction list, when the reference image of the current block is the current image (ie, when CPR is applied), the following candidates are added to the motion vector prediction list according to the size of the current block. Can be added. Here, W represents the width of the current block, and H represents the height of the current block. If only one merge candidate is added, the merge candidates that can be added are as follows.
(1) (-W, 0)(1) (-W, 0)
(2) (0, -H)(2) (0, -H)
(3) (-2W, 0)(3) (-2W, 0)
(4) (0, -2H)(4) (0, -2H)
(5) (-W, -H)(5) (-W, -H)
(6) (-2W, -2H)(6) (-2W, -2H)
머지 후보 2개를 추가하는 경우, 추가될 수 있는 머지 후보는 아래와 같다.When two merge candidates are added, the merge candidates that can be added are as follows.
(1) (-W, 0), (0, -H)(1) (-W, 0), (0, -H)
(2) (0, -H), (-W, 0)(2) (0, -H), (-W, 0)
(3) (-2W, 0), (0, -2H)(3) (-2W, 0), (0, -2H)
(4) (0, -2H), (-2W, 0) (4) (0, -2H), (-2W, 0)
(5) (-W, -H), (-2W, -2H)(5) (-W, -H), (-2W, -2H)
(6) (-2W, -2H), (-W, -H)(6) (-2W, -2H), (-W, -H)
인코더Encoder
인코더는 디코더에 의한 머지 후보 리스트 구성 방법과 움직임 벡터 예측 리스트 구성 방법을 동일하게 사용한다.The encoder uses the same method as the merge candidate list construction method by the decoder and the motion vector prediction list construction method.
비트스트림Bitstream
상술한 본 발명의 실시예를 기반으로 인코딩 장치에 의하여 도출된 인코딩된 정 (예: 인코딩된 비디오/영상 정보)는 비트스트림(bitstream) 형태로 출력될 수 있다. 인코딩된 정보는 비트스트림 형태로 NAL(network abstraction layer) 유닛 단위로 전송 또는 저장될 수 있다. 비트스트림은 네트워크를 통하여 전송될 수 있고, 또는 비-일시적(non-transitory) 디지털 저장매체에 저장될 수 있다. 또한, 상술한 바와 같이 비트스트림은 인코딩 장치(100)에서 디코딩 장치(200)로 바로 전송되지 않고, 외부 서버(예: 컨텐츠 스트리밍 서버) 등을 통하여 스트리밍/다운로드 서비스될 수도 있다. 여기서 네트워크는 방송망 및/또는 통신망 등을 포함할 수 있고, 디지털 저장매체는 USB, SD, CD, DVD, 블루레이, HDD, SSD 등 다양한 저장매체를 포함할 수 있다.Based on the above-described embodiment of the present invention, the encoded information (eg, encoded video / image information) derived by the encoding device may be output in the form of a bitstream. The encoded information may be transmitted or stored in units of network abstraction layer (NAL) units in the form of a bitstream. The bitstream can be transmitted over a network, or it can be stored in a non-transitory digital storage medium. In addition, as described above, the bitstream is not directly transmitted from the encoding device 100 to the decoding device 200, and may be streamed / downloaded through an external server (for example, a content streaming server). Here, the network may include a broadcasting network and / or a communication network, and the digital storage medium may include various storage media such as USB, SD, CD, DVD, Blu-ray, HDD, SSD.
실시예 6Example 6
디코더Decoder
본 실시예는 현재 코딩 유닛의 디코딩 과정 중 복호화된 현재 영상의 일부분을 참조 영상으로 사용하면서 HMVP를 적용하는 방법을 제공한다.This embodiment provides a method of applying HMVP while using a part of the decoded current image as a reference image during the decoding process of the current coding unit.
도 30은 본 명세서의 실시예에 따른 HMVP를 수행하기 위한 흐름도의 예를 도시한다.30 shows an example of a flowchart for performing HMVP according to an embodiment of the present specification.
디코더는 슬라이스 단위로 HMVP 버퍼를 초기화해주며, 각 CTU에 대해 CTU-행의 첫번째 CTU인지 여부를 판단한다. 도 30의 순서도에서 디코더는 (ctu_idx % Num)이 0인 CTU를 특정 CTU-행에서 첫번째 CTU로 판단한다. 이때, Num은 각 CTU-행에서 CTU의 개수를 의미한다. 첫번째 CTU인 경우, 디코더는 버퍼를 초기화하며 그렇지 않은 경우 버퍼를 유지한다. 이후 각 CU별 AMVP 또는 머지 과정을 거치며, 이때 HMVP의 버퍼에 저장된 후보가 MVP 후보로 포함될 수 있다. AMVP 또는 머지 과정에서 결정된 MVP는 HMVP 버퍼에 저장되며 도 30에 도시된 과정들이 반복된다.The decoder initializes the HMVP buffer in slice units, and determines whether it is the first CTU in a CTU-row for each CTU. In the flowchart of FIG. 30, the decoder determines a CTU with (ctu_idx% Num) of 0 as the first CTU in a specific CTU-row. At this time, Num means the number of CTUs in each CTU-row. For the first CTU, the decoder initializes the buffer, otherwise it keeps the buffer. Thereafter, each CU undergoes an AMVP or merge process, and a candidate stored in the HMVP buffer may be included as an MVP candidate. The MVP determined in the AMVP or merge process is stored in the HMVP buffer and the processes shown in FIG. 30 are repeated.
보다 구체적으로, 도 30를 참조하면, 디코더는 HMVP 버퍼 초기화(S3010) 및 CTU 인덱스(ctu_idx)를 0으로 설정하고, 반복 동작을 위한 루프 과정(S3020)을 거쳐 현재 CTU가 CTU-행의 첫번째 CTU인지 여부를 결정한다(S3030). 만약 현재 CTU가 CTU-행의 첫번째 CTU인 경우(ctu_idx%Num == 0), 코딩 장치는 HMVP 버퍼 초기화를 수행한다(S3040). 이후, 코딩 장치는 코딩 유닛 인덱스(cu_idx)를 0으로 설정한 후 루프 과정(S3050)을 통해 HMVP 버퍼 업데이트(S3060)를 수행한다. HMVP 업데이트 이후 코딩 장치는 다음 CU에 대한 코딩을 위하여 CU 인덱스를 증가시키고(cu_idx++) CTU에 대한 코딩이 완료되면 다음 CTU의 코딩을 위해 CTU 인덱스를 증가시킨다(ctu_idx++).More specifically, referring to FIG. 30, the decoder sets the HMVP buffer initialization (S3010) and the CTU index (ctu_idx) to 0, and through the loop process (S3020) for repetitive operation, the current CTU is the first CTU in the CTU-row. Whether or not it is determined (S3030). If the current CTU is the first CTU in the CTU-row (ctu_idx% Num == 0), the coding apparatus performs HMVP buffer initialization (S3040). Thereafter, the coding apparatus sets the coding unit index (cu_idx) to 0, and then performs an HMVP buffer update (S3060) through a loop process (S3050). After the HMVP update, the coding apparatus increases the CU index for coding for the next CU (cu_idx ++) and increases the CTU index for coding of the next CTU when coding for the CTU is completed (ctu_idx ++).
현재 영상의 참조 영상 중 현재 영상이 포함된 경우(즉, CPR이 적용되는 경우), HMVP 버퍼의 초기화를 아래의 MV가 사용될 수 있다. 여기서 W는 현재 블록의 너비를 나타내고, H는 현재 블록의 높이를 나타낸다. If the current image is included among the reference images of the current image (ie, CPR is applied), the following MV may be used to initialize the HMVP buffer. Here, W represents the width of the current block, and H represents the height of the current block.
(1) (-W, 0), (0, -H)(1) (-W, 0), (0, -H)
(2) (0, -H), (-W, 0)(2) (0, -H), (-W, 0)
(3) (-2W, 0), (0, -2H)(3) (-2W, 0), (0, -2H)
(4) (0, -2H), (-2W, 0) (4) (0, -2H), (-2W, 0)
(5) (-W, -H), (-2W, -2H)(5) (-W, -H), (-2W, -2H)
(6) (-2W, -2H), (-W, -H)(6) (-2W, -2H), (-W, -H)
도 31은 본 명세서의 실시예에 따른 HMVP를 수행하기 위한 흐름도의 다른 예를 도시한다.31 shows another example of a flowchart for performing HMVP according to an embodiment of the present specification.
또한, 본 명세서의 실시예는 HMVP를 적용할 때 히스토리 관리 버퍼를 초기화하는 다른 방법을 제안한다. 본 실시예는 매 CTU 마다 HMVP 버퍼를 초기화 함으로써 CTU 단위의 의존성을 제거할 수 있다. 본 실시예에서 제안하는 방법은 CTU 단위로 HMVP 버퍼를 초기화하므로 CTU 내에 존재하는 블록들의 MVP를 저장하는 동시에 동일 CTU 내에 있는 다양한 MVP를 후보로 사용할 수 있으며 초기화를 위한 조건이 감소될 수 있다.In addition, an embodiment of the present specification proposes another method of initializing the history management buffer when applying HMVP. In this embodiment, the dependency of the CTU unit can be eliminated by initializing the HMVP buffer every CTU. In the method proposed in this embodiment, since the HMVP buffer is initialized in CTU units, MVP of blocks existing in the CTU can be stored, and various MVPs in the same CTU can be used as candidates, and conditions for initialization can be reduced.
보다 구체적으로, 도 31을 참조하면, 디코더는 CTU 인덱스를 0으로 설정하고(ctu_idx = 0) 루프 과정(3110)을 통해 HMVP 버퍼 초기화를 수행한다(S3120). 이후, 디코더는 CU 인덱스를 0으로 설정하고(cu_idx = 0) 루프 과정(S3130)을 통해 HMVP 버퍼 업데이트를 수행한다(S3140). 그리고, 디코더는 CTU 내 다음 CU의 코딩을 위하여 CU 인덱스를 업데이트하고(cu_idx++), CTU 내 모든 CU의 코딩이 완료되면 다음 CTU에 대한 코딩을 위하여 CTU 인덱스를 업데이트한다(ctu_idx++).More specifically, referring to FIG. 31, the decoder sets the CTU index to 0 (ctu_idx = 0) and performs HMVP buffer initialization through a loop process 3110 (S3120). Thereafter, the decoder sets the CU index to 0 (cu_idx = 0) and performs HMVP buffer update through a loop process (S3130) (S3140). Then, the decoder updates the CU index for coding the next CU in the CTU (cu_idx ++), and updates the CTU index for coding for the next CTU when coding of all CUs in the CTU is completed (ctu_idx ++).
현재 영상의 참조 영상 중 현재 영상이 포함된 경우(즉, CPR이 적용되는 경우), HMVP 버퍼의 초기화를 아래의 MV가 사용될 수 있다. 여기서 W는 현재 블록의 너비를 나타내고, H는 현재 블록의 높이를 나타낸다. If the current image is included among the reference images of the current image (ie, CPR is applied), the following MV may be used to initialize the HMVP buffer. Here, W represents the width of the current block, and H represents the height of the current block.
(1) (-W, 0), (0, -H)(1) (-W, 0), (0, -H)
(2) (0, -H), (-W, 0)(2) (0, -H), (-W, 0)
(3) (-2W, 0), (0, -2H)(3) (-2W, 0), (0, -2H)
(4) (0, -2H), (-2W, 0) (4) (0, -2H), (-2W, 0)
(5) (-W, -H), (-2W, -2H)(5) (-W, -H), (-2W, -2H)
(6) (-2W, -2H), (-W, -H)(6) (-2W, -2H), (-W, -H)
인코더Encoder
인코더는 디코더에 의해 수행되는 HMVP 구성 방법과 동일한 동작을 수행할 수 있고, HMVP의 버퍼의 초기화가 필요하면, 디코더와 동일한 방법으로 초기화를 수행한다.The encoder may perform the same operation as the HMVP configuration method performed by the decoder, and if initialization of the HMVP buffer is required, the encoder performs initialization in the same way as the decoder.
비트스트림Bitstream
상술한 본 발명의 실시예를 기반으로 인코딩 장치에 의하여 도출된 인코딩된 정 (예: 인코딩된 비디오/영상 정보)는 비트스트림(bitstream) 형태로 출력될 수 있다. 인코딩된 정보는 비트스트림 형태로 NAL(network abstraction layer) 유닛 단위로 전송 또는 저장될 수 있다. 비트스트림은 네트워크를 통하여 전송될 수 있고, 또는 비-일시적(non-transitory) 디지털 저장매체에 저장될 수 있다. 또한, 상술한 바와 같이 비트스트림은 인코딩 장치(100)에서 디코딩 장치(200)로 바로 전송되지 않고, 외부 서버(예: 컨텐츠 스트리밍 서버) 등을 통하여 스트리밍/다운로드 서비스될 수도 있다. 여기서 네트워크는 방송망 및/또는 통신망 등을 포함할 수 있고, 디지털 저장매체는 USB, SD, CD, DVD, 블루레이, HDD, SSD 등 다양한 저장매체를 포함할 수 있다.Based on the above-described embodiment of the present invention, the encoded information (eg, encoded video / image information) derived by the encoding device may be output in the form of a bitstream. The encoded information may be transmitted or stored in units of network abstraction layer (NAL) units in the form of a bitstream. The bitstream can be transmitted over a network, or it can be stored in a non-transitory digital storage medium. In addition, as described above, the bitstream is not directly transmitted from the encoding device 100 to the decoding device 200, and may be streamed / downloaded through an external server (for example, a content streaming server). Here, the network may include a broadcasting network and / or a communication network, and the digital storage medium may include various storage media such as USB, SD, CD, DVD, Blu-ray, HDD, SSD.
도 32는 본 명세서의 실시예에 따른 예측을 수행하는 흐름도의 예를 도시한다. 도 32의 각 과정들은 인코딩 장치(100)의 인터 예측부(180) 또는 디코딩 장치(200)의 인터 예측부(260)에 의해 수행될 수 있다.32 shows an example of a flowchart for performing prediction according to an embodiment of the present specification. Each process of FIG. 32 may be performed by the inter prediction unit 180 of the encoding device 100 or the inter prediction unit 260 of the decoding device 200.
S3210 단계에서, 디코더(또는 인코더)는 현재 블록에 대한 움직임 벡터 차분값(MVD)를 획득한다.In step S3210, the decoder (or encoder) acquires a motion vector difference value (MVD) for the current block.
S3220 단계에서, 디코더는 적응적 움직임 벡터 해상도(AMVR)에 대한 정보 및 참조 픽처에 대한 정보에 기반하여 MVD의 해상도를 결정한다. In step S3220, the decoder determines the resolution of the MVD based on the information on the adaptive motion vector resolution (AMVR) and the reference picture.
예를 들어, 상기 AMVR에 대한 정보는 사전에 정의된 기본 해상도(예: 1/4)의 사용 여부를 나타내는 AVMR 플래그 및 AVMR의 단위를 나타내는 AMVR 정확도 정보를 포함하고, 상기 참조 픽처에 대한 정보는, 참조 픽처의 POC를 포함할 수 있다.For example, the information on the AMVR includes an AVMR flag indicating whether to use a predefined native resolution (eg, 1/4) and AMVR accuracy information indicating a unit of AVMR, and the information on the reference picture is , POC of a reference picture.
또한, 디코더는, 도 25 내지 도 27과 같이, AMVR 플래그 또는 AMVR 정확도 정보의 파싱 이후 현재 블록의 POC와 현재 블록의 POC를 비교할 수 있다. 예를 들어, 도 25와 같이, 디코더는 AMVR 플래그를 사용하여 AMVR이 적용되는지 여부를 결정하고, AMVR이 적용되지 않는 경우 현재 블록의 POC와 참조 픽처의 POC가 동일한지 여부에 기반하여 MVD의 해상도를 결정할 수 있다.In addition, the decoder may compare the POC of the current block with the POC of the current block after parsing the AMVR flag or AMVR accuracy information, as shown in FIGS. 25 to 27. For example, as shown in FIG. 25, the decoder determines whether the AMVR is applied using the AMVR flag, and when the AMVR is not applied, the resolution of the MVD based on whether the POC of the current block and the POC of the reference picture are the same. Can decide.
또한, 표 5와 같이, AMVR 플래그가 1이고 상기 AMVR 정확도 정보가 4-펠(four-pel) 단위를 지시하는 경우(four-pel flag가 1인 경우), 상기 MVD의 해상도는 4로 결정되고, AVMR 플래그가 1이고 AMVR 정확도 정보가 정수 단위를 지시하는 경우(four-pel flag가 0인 경우), MVD의 해상도는 1로 결정되고, AVMR 플래그가 0이고, 현재 블록의 POC와 상기 참조 픽처의 POC가 상이하면(CPR이 적용되지 않으면), MVD의 해상도는 1/4로 결정되고, AVMR 플래그가 0이고, 현재 블록의 POC와 참조 픽처의 POC가 동일하면(CPR이 적용되면), MVD의 해상도는 1로 결정될 수 있다.In addition, as shown in Table 5, when the AMVR flag is 1 and the AMVR accuracy information indicates a 4-pel unit (when the four-pel flag is 1), the resolution of the MVD is determined to be 4 , When the AVMR flag is 1 and the AMVR accuracy information indicates an integer unit (when the four-pel flag is 0), the resolution of the MVD is determined to be 1, the AVMR flag is 0, the POC of the current block and the reference picture If the POC of (if CPR is not applied), the resolution of the MVD is determined to be 1/4, the AVMR flag is 0, and the POC of the current block and the POC of the reference picture are the same (if CPR is applied), the MVD The resolution of can be determined as 1.
또한, 표 6과 같이, AMVR 플래그가 1이고 상기 AMVR 정확도 정보가 4-펠(four-pel) 단위를 지시하는 경우, MVD의 해상도는 4로 결정되고, AVMR 플래그가 1이고 AMVR 정확도 정보가 정수 단위를 지시하면서 현재 블록의 POC와 참조 픽처의 POC가 상이한 경우, MVD의 해상도는 1로 결정되고, AVMR 플래그가 1이고 AMVR 정확도 정보가 정수 단위를 지시하면서 현재 블록의 POC와 참조 픽처의 POC가 동일한 경우, MVD의 해상도는 4로 결정되고, AVMR 플래그가 0이고 현재 블록의 POC와 상기 참조 픽처의 POC가 동일한 경우, MVD의 해상도는 1로 결정되고, AVMR 플래그가 0이고 현재 블록의 POC와 상기 참조 픽처의 POC가 상이한 경우, MVD의 해상도는 1/4로 결정될 수 있다.Also, as shown in Table 6, when the AMVR flag is 1 and the AMVR accuracy information indicates a 4-pel unit, the resolution of the MVD is determined to be 4, the AVMR flag is 1, and the AMVR accuracy information is an integer. When the POC of the current block and the POC of the reference picture are different while indicating the unit, the resolution of the MVD is determined to be 1, the AVMR flag is 1, and the AMVR accuracy information indicates the integer unit, while the POC of the current block and the POC of the reference picture are In the same case, if the resolution of the MVD is 4, the AVMR flag is 0 and the POC of the current block and the POC of the reference picture are the same, the resolution of the MVD is determined as 1, the AVMR flag is 0, and the POC of the current block When the POCs of the reference pictures are different, the resolution of the MVD may be determined as 1/4.
또한, 표 7과 같이, AMVR 플래그가 1이고 AMVR 정확도 정보가 4-펠(four-pel) 단위를 지시하면서 현재 블록의 POC와 참조 픽처의 POC가 동일한 경우, MVD의 해상도는 16으로 결정되고, AMVR 플래그가 1이고 AMVR 정확도 정보가 4-펠(four-pel) 단위를 지시하면서 현재 블록의 POC와 참조 픽처의 POC가 상이한 경우, MVD의 해상도는 4로 결정되고, AMVR 플래그가 1이고 AMVR 정확도 정보가 정수 단위를 지시하면서 현재 블록의 POC와 상기 참조 픽처의 POC가 동일한 경우, MVD의 해상도는 4로 결정되고, AMVR 플래그가 1이고 AMVR 정확도 정보가 정수 단위를 지시하면서 현재 블록의 POC와 참조 픽처의 POC가 상이한 경우, MVD의 해상도는 1로 결정되고, AMVR 플래그가 0이고 현재 블록의 POC와 참조 픽처의 POC가 동일한 경우, MVD의 해상도는 1로 결정되고, AMVR 플래그가 0이고 현재 블록의 POC와 참조 픽처의 POC가 상이한 경우, MVD의 해상도는 1/4로 결정될 수 있다.Also, as shown in Table 7, when the AMVR flag is 1 and the AMVR accuracy information indicates a 4-pel unit while the POC of the current block and the POC of the reference picture are the same, the resolution of the MVD is determined to be 16, When the AMVR flag is 1 and the AMVR accuracy information indicates a 4-pel unit, and the POC of the current block and the POC of the reference picture are different, the resolution of the MVD is determined as 4, the AMVR flag is 1, and the AMVR accuracy If the POC of the current block and the POC of the reference picture are the same while the information indicates an integer unit, the resolution of the MVD is determined to be 4, the AMVR flag is 1, and the AMVR accuracy information indicates the integer unit, while referring to the POC of the current block. If the POCs of the pictures are different, the resolution of the MVD is determined to be 1, the AMVR flag is 0 and the POC of the current block and the POC of the reference picture are the same, the resolution of the MVD is determined to 1, the AMVR flag is 0 and the current block. POC and Reference If the POC of the destination are different, the resolution of the MVD may be determined as 1/4.
S3220 단계에서 디코더는 결정된 해상도에 따라 MVD를 스케일링 하고, S3240 단계와 S3250 단계에서 디코더는 스케일링된 MVD 및 움직임 벡터 예측자(motion vector predictor)에 기반하여 상기 현재 블록에 대한 움직임 벡터를 결정하고, 움직임 벡터에 기반하여 현재 블록에 대한 예측 샘플을 생성한다.In step S3220, the decoder scales the MVD according to the determined resolution, and in steps S3240 and S3250, the decoder determines a motion vector for the current block based on the scaled MVD and a motion vector predictor, and A prediction sample for the current block is generated based on the vector.
도 33은 본 명세서의 실시예에 따른 영상 신호를 처리하기 위한 장치의 블록도의 예를 도시한다. 도 33의 영상 신호 처리 장치는 도 2의 인코딩 장치(100) 또는 도 3의 디코딩 장치(200)에 해당할 수 있다.33 shows an example of a block diagram of an apparatus for processing an image signal according to an embodiment of the present specification. The video signal processing device of FIG. 33 may correspond to the encoding device 100 of FIG. 2 or the decoding device 200 of FIG. 3.
영상 신호를 처리하는 영상 처리 장치(3300)는, 영상 신호를 저장하는 메모리(3320)와, 상기 메모리와 결합되면서 영상 신호를 처리하는 프로세서(3310)를 포함한다.The image processing apparatus 3300 for processing the image signal includes a memory 3320 for storing the image signal, and a processor 3310 for processing the image signal while being combined with the memory.
본 명세서의 실시예에 따른 프로세서(3610)는 영상 신호의 처리를 위한 적어도 하나의 프로세싱 회로로 구성될 수 있으며, 영상 신호를 인코딩 또는 디코딩을 위한 명령어들을 실행함으로써 영상 신호를 처리할 수 있다. 즉, 프로세서(3610)는 상술한 인코딩 또는 디코딩 방법들을 실행함으로써 원본 영상 데이터를 인코딩하거나 인코딩된 영상 신호를 디코딩할 수 있다.The processor 3610 according to an embodiment of the present disclosure may be configured with at least one processing circuit for processing an image signal, and may process an image signal by executing instructions for encoding or decoding the image signal. That is, the processor 3610 may encode the original image data or decode the encoded image signal by executing the above-described encoding or decoding methods.
본 명세서에서 설명한 실시예들은 프로세서, 마이크로 프로세서, 컨트롤러 또는 칩 상에서 구현되어 수행될 수 있다. 예를 들어, 각 도면에서 도시한 기능 유닛들은 컴퓨터, 프로세서, 마이크로 프로세서, 컨트롤러 또는 칩 상에서 구현되어 수행될 수 있다.The embodiments described herein may be implemented and implemented on a processor, microprocessor, controller, or chip. For example, the functional units illustrated in each drawing may be implemented and implemented on a computer, processor, microprocessor, controller, or chip.
본 명세서가 적용되는 처리 방법은 컴퓨터로 실행되는 프로그램의 형태로 생산될 수 있으며, 컴퓨터가 판독할 수 있는 기록 매체에 저장될 수 있다. 본 명세서에 따른 데이터 구조를 가지는 멀티미디어 데이터도 또한 컴퓨터가 판독할 수 있는 기록 매체에 저장될 수 있다. 상기 컴퓨터가 판독할 수 있는 기록 매체는 컴퓨터로 읽을 수 있는 데이터가 저장되는 모든 종류의 저장 장치 및 분산 저장 장치를 포함한다. 상기 컴퓨터가 판독할 수 있는 기록 매체는, 예를 들어, 블루레이 디스크(BD), 범용 직렬 버스(USB), ROM, PROM, EPROM, EEPROM, RAM, CD-ROM, 자기 테이프, 플로피 디스크 및 광학적 데이터 저장 장치를 포함할 수 있다. 또한, 상기 컴퓨터가 판독할 수 있는 기록 매체는 반송파(예를 들어, 인터넷을 통한 전송)의 형태로 구현된 미디어를 포함한다. 또한, 인코딩 방법으로 생성된 비트스트림이 컴퓨터가 판독할 수 있는 기록 매체에 저장되거나 유무선 통신 네트워크를 통해 전송될 수 있다.The processing method to which the present specification is applied may be produced in the form of a program executed by a computer, and may be stored in a computer readable recording medium. Multimedia data having a data structure according to the present specification may also be stored in a computer-readable recording medium. The computer-readable recording medium includes all kinds of storage devices and distributed storage devices in which computer-readable data is stored. The computer-readable recording medium includes, for example, Blu-ray Disc (BD), Universal Serial Bus (USB), ROM, PROM, EPROM, EEPROM, RAM, CD-ROM, magnetic tape, floppy disk and optical. It may include a data storage device. In addition, the computer-readable recording medium includes media implemented in the form of a carrier wave (for example, transmission via the Internet). Also, the bitstream generated by the encoding method may be stored in a computer-readable recording medium or transmitted through a wired or wireless communication network.
또한, 본 명세서의 실시예는 프로그램 코드에 의한 컴퓨터 프로그램 제품으로 구현될 수 있고, 상기 프로그램 코드는 본 명세서의 실시예에 의해 컴퓨터에서 수행될 수 있다. 상기 프로그램 코드는 컴퓨터에 의해 판독가능한 캐리어 상에 저장될 수 있다.Further, the embodiments of the present specification may be implemented as a computer program product using program codes, and the program codes may be executed on a computer by the embodiments of the present specification. The program code can be stored on a computer readable carrier.
본 명세서가 적용되는 디코딩 장치 및 인코딩 장치는 디지털 기기(digital device)에 포함될 수 있다. "디지털 기기(digital device)"라 함은 예를 들어, 데이터, 컨텐트, 서비스 등을 송신, 수신, 처리 및 출력 중 적어도 하나를 수행 가능한 모든 디지털 기기를 포함한다. 여기서, 디지털 기기가 데이터, 컨텐트, 서비스 등을 처리하는 것은, 데이터, 컨텐트, 서비스 등을 인코딩 및/또는 디코딩하는 동작을 포함한다. 이러한 디지털 기기는, 유/무선 네트워크(wire/wireless network)를 통하여 다른 디지털 기기, 외부 서버(external server) 등과 페어링 또는 연결(pairing or connecting)(이하 '페어링')되어 데이터를 송수신하며, 필요에 따라 변환(converting)한다.The decoding device and the encoding device to which the present specification is applied may be included in a digital device. The term "digital device" includes, for example, all digital devices capable of performing at least one of transmission, reception, processing, and output of data, content, and services. Here, the processing of the data, content, service, etc. by the digital device includes an operation of encoding and / or decoding data, content, service, and the like. These digital devices are paired or connected (hereinafter referred to as 'pairing') with other digital devices, external servers, etc. through a wire / wireless network to transmit and receive data. Convert accordingly.
디지털 기기는 예를 들어, 네트워크 TV(network TV), HBBTV(Hybrid Broadcast Broadband TV), 스마트 TV(Smart TV), IPTV(internet protocol television), PC(Personal Computer) 등과 같은 고정형 기기(standing device)와, PDA(Personal Digital Assistant), 스마트 폰(Smart Phone), 태블릿 PC(Tablet PC), 노트북 등과 같은 모바일 기기(mobile device or handheld device)를 모두 포함한다. 본 명세서에서는 편의상 후술하는 Figure 2.3-4에서는 디지털 TV를, Figure 2.3-3에서는 모바일 기기를 디지털 기기의 실시예로 도시하고 설명한다.Digital devices include, for example, standing devices such as network TV, HBBTV (Hybrid Broadcast Broadband TV), smart TV (Smart TV), IPTV (internet protocol television), PC (Personal Computer), and the like. , PDA (Personal Digital Assistant), smart phones (Smart Phone), tablet PCs (Tablet PC), notebooks, mobile devices (mobile devices or handheld devices). For convenience, a digital TV is illustrated in Figure 2.3-4, which will be described later, and a mobile device is illustrated and described as an example of a digital device in Figure 2.3-3.
한편, 본 명세서에서 기술되는 "유/무선 네트워크"라 함은, 디지털 기기들 또는 디지털 기기와 외부 서버 사이에서 상호 연결 또는/및 데이터 송수신을 위해 다양한 통신 규격 내지 프로토콜을 지원하는 통신 네트워크를 통칭한다. 이러한 유/무선 네트워크는 규격에 의해 현재 또는 향후 지원될 통신 네트워크와 그를 위한 통신 프로토콜을 모두 포함할 수 있는바 예컨대, USB(Universal Serial Bus), CVBS(Composite Video Banking Sync), 컴포넌트, S-비디오(아날로그), DVI(Digital Visual Interface), HDMI(High Definition Multimedia Interface), RGB, D-SUB와 같은 유선 연결을 위한 통신 규격 내지 프로토콜과, 블루투스(Bluetooth), RFID(Radio Frequency Identification), 적외선 통신(IrDA, infrared Data Association), UWB(Ultra Wideband), 지그비(ZigBee), DLNA(Digital Living Network Alliance), WLAN(Wireless LAN)(Wi-Fi), Wibro(Wireless broadband), Wimax(World Interoperability for Microwave Access), HSDPA(High Speed Downlink Packet Access), LTE(Long Term Evolution), Wi-Fi 다이렉트(Direct)와 같은 무선 연결을 위한 통신 규격에 의하여 형성될 수 있다.Meanwhile, the term "wired / wireless network" described herein refers to a communication network that supports various communication standards or protocols for interconnection and / or data transmission and reception between digital devices or digital devices and external servers. . Such a wired / wireless network may include both a communication network to be supported in the current or future by a standard and a communication protocol therefor, for example, Universal Serial Bus (USB), Composite Video Banking Sync (CVBS), component, S-Video (Analog), communication standards or protocols for wired connections such as DVI (Digital Visual Interface), HDMI (High Definition Multimedia Interface), RGB, D-SUB, Bluetooth, Radio Frequency Identification (RFID), and infrared communication (Infrared Data Association (IrDA), Ultra Wideband (UWB), ZigBee, Digital Living Network Alliance (DLNA), Wireless LAN (WLAN) (Wi-Fi), Wireless broadband (Wibro), World Interoperability for Microwave (Wimax) Access), HSDPA (High Speed Downlink Packet Access), LTE (Long Term Evolution), Wi-Fi Direct (Direct) can be formed by a communication standard for wireless connection.
이하 본 명세서에서 단지 디지털 기기로 명명하는 경우에는 문맥에 따라 고정형 기기 또는 모바일 기기를 의미하거나 양자를 모두 포함하는 의미일 수도 있다.Hereinafter, in the case of merely referring to a digital device in the present specification, it may mean a fixed device or a mobile device or include both depending on context.
한편, 디지털 기기는 예컨대, 방송 수신 기능, 컴퓨터 기능 내지 지원, 적어도 하나의 외부 입력(external input)을 지원하는 지능형 기기로서, 상술한 유/무선 네트워크를 통해 이메일(e-mail), 웹 브라우징(web browsing), 뱅킹(banking), 게임(game), 애플리케이션(application) 등을 지원할 수 있다. 더불어, 상기 디지털 기기는, 수기 방식의 입력 장치, 터치 스크린(touch screen), 공간 리모콘 등 적어도 하나의 입력 또는 제어 수단(이하 입력수단)을 지원하기 위한 인터페이스(interface)를 구비할 수 있다. 디지털 기기는, 표준화된 범용 OS(operating system)를 이용할 수 있다. 예를 들어, 디지털 기기는 범용의 OS 커널(kernel) 상에 다양한 애플리케이션(application)을 추가(adding), 삭제(deleting), 수정(amending), 업데이트(updating) 등을 할 수 있으며, 그를 통해 더욱 사용자 친화적인(user-friendly) 환경을 구성하여 제공할 수 있다.Meanwhile, the digital device is an intelligent device that supports, for example, a broadcast reception function, a computer function or support, and at least one external input, e-mail, web browsing through a wired / wireless network described above ( It can support web browsing, banking, games, and applications. In addition, the digital device may include an interface for supporting at least one input or control means (hereinafter referred to as an input means) such as a handwritten input device, a touch screen, and a space remote control. The digital device can use a standardized general-purpose operating system (OS). For example, a digital device can add, delete, modify, and update various applications on a general-purpose OS kernel. You can configure and provide a user-friendly environment.
한편, 본 명세서에서 기술되는 외부 입력은, 외부 입력 기기 즉, 상술한 디지털 기기와 유/무선으로 연결되어 그를 통해 관련 데이터를 송/수신하여 처리 가능한 모든 입력 수단 내지 디지털 기기를 포함한다. 여기서, 상기 외부 입력은 예를 들어, HDMI(High Definition Multimedia Interface), 플레이 스테이션(play station)이나 엑스 박스(X-Box)와 같은 게임 기기, 스마트 폰, 태블릿 PC, 프린터기, 스마트 TV와 같은 디지털 기기들을 모두 포함한다.On the other hand, the external input described in this specification includes external input devices, that is, all input means or digital devices connected to the above-mentioned digital devices by wire / wireless and capable of transmitting / receiving related data through them. Here, the external input is, for example, a high-definition multimedia interface (HDMI), a game device such as a play station or an X-box, a smart phone, a tablet PC, a printer, a digital digital device such as a smart TV. Includes all devices.
또한, 본 명세서에서 기술되는 "서버(server)"라 함은, 클라이언트(client), 즉, 상술한 디지털 기기로 데이터를 공급하는 모든 디지털 기기 내지 시스템을 포함하는 의미로, 프로세서(processor)로 불리기도 한다. 이러한 서버로는 예컨대, 웹 페이지 내지 웹 컨텐트를 제공하는 포털 서버(portal server), 광고 데이터(advertising data)를 제공하는 광고 서버(advertising server), 컨텐트를 제공하는 컨텐트 서버(content server), SNS(Social Network Service) 서비스를 제공하는 SNS 서버(SNS server), 제조업체에서 제공하는 서비스 서버(service server or manufacturing server) 등이 포함될 수 있다.In addition, the term "server (server)" described in this specification means a client (client), that is, includes all digital devices or systems that supply data to the above-described digital device, referred to as a processor (processor) Also. Examples of such a server include a web page or a portal server that provides web content, an advertising server that provides advertising data, a content server that provides content, and a social media server (SNS). Social Network Service) may include an SNS server providing a service, a service server provided by a manufacturer, or a manufacturing server.
그 밖에, 본 명세서 기술되는 "채널(channel)"이라 함은, 데이터를 송수신하기 위한 경로(path), 수단(means) 등을 의미하는 것으로, 방송 채널(broadcasting channel)을 예로 들 수 있다. 여기서, 방송 채널은 디지털 방송의 활성화에 따라 피지컬 채널(physical channel), 가상 채널(virtual channel), 논리 채널(logical channel)등의 용어로 표현된다. 방송 채널은 방송망이라 불릴 수 있다. 이와 같이, 방송 채널은 방송국에서 제공하는 방송 컨텐트를 제공 또는 수신기에서 접근하기 위한 채널을 말하는 것으로, 상기 방송 컨텐트는 주로 실시간 방송(real-time broadcasting)에 기초하는바 라이브 채널(live channel)이라고도 한다. 다만, 최근에는 방송을 위한 매체(medium)가 더욱 다양화되어 실시간 방송 이외에 비실시간(non-real time) 방송도 활성화되고 있어 라이브 채널은 단지 실시간 방송뿐만 아니라 경우에 따라서는 비실시간 방송을 포함한 방송 채널 전체를 의미하는 용어로 이해될 수도 있다.In addition, "channel (channel)" described herein refers to a path (path), means (means), etc. for transmitting and receiving data, for example, a broadcasting channel (broadcasting channel). Here, the broadcast channel is expressed in terms of a physical channel, a virtual channel, and a logical channel according to the activation of digital broadcasting. A broadcast channel can be called a broadcast network. As described above, a broadcast channel refers to a channel for providing or accessing broadcast content provided by a broadcasting station, and the broadcast content is mainly based on real-time broadcasting and is also called a live channel. . However, recently, the medium for broadcasting has become more diversified, and non-real time broadcasting is also activated in addition to real-time broadcasting. As a result, live channels include not only real-time broadcasting, but also non-real-time broadcasting in some cases. It may be understood as a term meaning the entire channel.
본 명세에서는 상술한 방송 채널 이외에 채널과 관련하여 "임의 채널(arbitrary channel)"를 더 정의한다. 상기 임의 채널은, 방송 채널과 함께 EPG(Electronic Program Guide)와 같은 서비스 가이드(service guide)와 함께 제공될 수도 있고, 임의 채널만으로 서비스 가이드, GUI(Graphic User Interface) 또는 OSD 화면(On-Screen Display screen)를 구성/제공될 수도 있다.In this specification, "arbitrary channel" is further defined in relation to a channel in addition to the above-described broadcast channel. The arbitrary channel may be provided together with a service guide such as an electronic program guide (EPG) along with a broadcast channel, and a service guide, a GUI (Graphic User Interface) or an OSD screen (On-Screen Display) with only a random channel screen).
한편, 송수신기 사이에 미리 약속된 채널 넘버를 가지는 방송 채널과 달리, 임의 채널은 수신기에서 임의로 할당하는 채널로서 상기 방송 채널을 표현하기 위한 채널 넘버와는 기본적으로 중복되지 않는 채널 넘버가 할당된다. 예컨대, 수신기는 특정 방송 채널을 튜닝하면, 튜닝된 채널을 통하여 방송 컨텐트와 그를 위한 시그널링 정보(signaling information)를 전송하는 방송 신호를 수신한다. 여기서, 수신기는 상기 시그널링 정보로부터 채널 정보를 파싱(parsing)하고, 파싱된 채널 정보에 기초하여 채널 브라우저(channel browser), EPG 등을 구성하여 사용자에게 제공한다. 사용자는 입력 수단을 통해 채널 전환 요청을 하면, 수신기는 그에 대응하는 방식이다.On the other hand, unlike a broadcast channel having a predetermined channel number between transceivers, a random channel is a channel randomly allocated by a receiver, and a channel number that is not basically overlapped with a channel number for expressing the broadcast channel is allocated. For example, when a specific broadcast channel is tuned, the receiver receives a broadcast signal that transmits broadcast content and signaling information therefor through the tuned channel. Here, the receiver parses channel information from the signaling information, and configures a channel browser, an EPG, and the like based on the parsed channel information and provides it to the user. When the user makes a channel change request through the input means, the receiver responds accordingly.
이와 같이, 방송 채널은 송수신단 사이에 미리 약속된 내용이므로, 임의 채널을 방송 채널과 중복 할당하는 경우에는 사용자의 혼동을 초래하거나 혼동 가능성이 존재하므로, 전술한 바와 같이 중복 할당하지 않는 것이 바람직하다. 한편, 상기와 같이 임의 채널 넘버를 방송 채널 넘버와 중복 할당하지 않더라도 사용자의 채널 서핑 과정에서 여전히 혼동 우려가 있는바, 이를 고려하여 임의 채널 넘버를 할당하는 것이 요구된다. 왜냐하면, 본 명세서에 따른 임의 채널 역시, 종래 방송 채널과 동일하게 입력 수단을 통한 사용자의 채널 전환 요청에 따라 동일한 방식으로 대응하여 방송 채널처럼 접근되도록 구현할 수 있기 때문이다. 따라서, 임의 채널 넘버는, 사용자의 임의 채널 접근 편의와 방송 채널 넘버와의 구분 내지 식별 편의를 위하여, 방송 채널과 같이 숫자 형태가 아닌 임의 채널-1, 임의 채널-2 등과 같이 문자가 병기된 형태로 정의하고 표시할 수 있다. 한편, 이 경우, 비록 임의 채널 넘버의 표시는 임의 채널-1과 같이 문자가 병기된 형태이나 수신기 내부적으로는 상기 방송 채널의 넘버와 같이 숫자 형태로 인식하고 구현될 수 있다. 그 밖에, 임의 채널 넘버는, 방송 채널과 같이 숫자 형태로 제공될 수도 있으며, 동영상 채널-1, 타이틀-1, 비디오-1 등과 같이 방송 채널과 구분 가능한 다양한 방식으로 채널 넘버를 정의하고 표시할 수도 있다.As described above, since the broadcast channel is a content previously promised between the transmitting and receiving terminals, when a random channel is repeatedly allocated with the broadcast channel, it may cause confusion or confusion of the user, so it is preferable not to repeatedly allocate as described above. . On the other hand, even if the random channel number is not duplicated with the broadcast channel number as described above, there is still a possibility of confusion in the channel surfing process of the user, and it is required to allocate the random channel number in consideration of this. This is because any channel according to the present specification can also be implemented to be accessed as a broadcast channel in the same manner in response to a user's request to switch a channel through an input means in the same way as a conventional broadcast channel. Accordingly, the random channel number is a type in which characters are written in parallel, such as random channel-1, random channel-2, and the like, for the convenience of discrimination or identification of the user's random channel access and broadcast channel number. It can be defined and marked as. On the other hand, in this case, although the display of an arbitrary channel number may be implemented by recognizing in a numeric form, such as the number of the broadcasting channel, in a form in which characters are written in parallel as in random channel-1. In addition, an arbitrary channel number may be provided in a numeric form, such as a broadcast channel, and a channel number may be defined and displayed in various ways distinguishable from a broadcast channel, such as video channel-1, title-1, and video-1. have.
디지털 기기는, 웹 서비스(web service)를 위해 웹 브라우저(web browser)를 실행하여 다양한 형태의 웹 페이지(web page)를 사용자에게 제공한다. 여기서, 상기 웹 페이지에는 동영상(video content)이 포함된 웹 페이지도 포함되는데, 본 명세서에서는 동영상을 웹 페이지로부터 별도로 또는 독립적으로 분리하여 처리한다. 그리고 상기 분리되는 동영상은, 전술한 임의 채널 넘버를 할당하고, 서비스 가이드 등을 통해 제공하고, 사용자가 서비스 가이드나 방송 채널 시청 과정에서 채널 전환 요청에 따라 출력되도록 구현할 수 있다. 그 밖에, 웹 서비스 이외에도 방송 컨텐트, 게임, 애플리케이션 등의 서비스에 대해서도, 소정 컨텐트, 이미지, 오디오, 항목 등을 상기 방송 컨텐트, 게임, 애플리케이션 자체로부터 독립적으로 분리 처리하고, 그 재생, 처리 등을 위해 임의 채널 넘버를 할당하고 상술한 바와 같이, 구현할 수 있다.The digital device executes a web browser for a web service, and provides various types of web pages to the user. Here, the web page also includes a web page including a video (video content), in this specification, the video is processed separately or independently from the web page. In addition, the separated video can be implemented to allocate an arbitrary channel number as described above, provide it through a service guide, or the like, and be output according to a channel switching request by a user in a service guide or broadcast channel viewing process. In addition, for services such as broadcast content, games, and applications, in addition to web services, predetermined content, images, audio, items, etc. are separately processed from the broadcast content, games, and the application itself, and for playback, processing, etc. Any channel number can be assigned and implemented as described above.
도 34는 디지털 기기를 포함한 서비스 시스템(service system)의 일 예를 개략적으로 나타낸 도면이다.34 is a diagram schematically showing an example of a service system including a digital device.
디지털 기기를 포함한 서비스 시스템은, 컨텐트 제공자(Content Provider; CP)(3410), 서비스 제공자(Service Provider; SP)(3420), 네트워크 제공자(Network Provider; NP)(3430) 및 HNED(Home Network End User)(Customer)(3440)를 포함한다. 여기서, HNED(3440)는 예를 들어, 클라이언트(3400) 즉, 디지털 기기이다. 컨텐트 제공자(3410)는, 각종 컨텐트를 제작하여 제공한다. 이러한 컨텐트 제공자(3410)로 도 34에 도시된 바와 같이, 지상파 방송 송출자(terrestrial broadcaster), 케이블 방송 사업자(cable SO (System Operator)) 또는 MSO (Multiple SO), 위성 방송 송출자(satellite broadcaster), 다양한 인터넷 방송 송출자(Internet broadcaster), 개인 컨텐트 제공자들(Private CPs) 등을 예시할 수 있다. 한편, 컨텐트 제공자(3410)는, 방송 컨텐트 외에도 다양한 애플리케이션 등을 제공한다.Service systems including digital devices include a content provider (CP) 3410, a service provider (SP) 3420, a network provider (NP) 3430, and a home network end user (HNED). ) (Customer) (3440). Here, the HNED 3440 is, for example, a client 3400, that is, a digital device. The content provider 3410 produces and provides various content. As shown in FIG. 34 as the content provider 3410, terrestrial broadcaster, cable SO (System Operator) or MSO (Multiple SO), satellite broadcaster (satellite broadcaster) , Various Internet broadcasters, and private content providers (Private CPs). Meanwhile, the content provider 3410 provides various applications in addition to broadcast content.
서비스 제공자(3420)는, 컨텐트 제공자(3410)가 제공하는 컨텐트를 서비스 패키지화하여 HNED(3440)로 제공한다. 예를 들어, 도 34의 서비스 제공자(3420)는, 제1 지상파 방송, 제2 지상파 방송, 케이블 MSO, 위성 방송, 다양한 인터넷 방송, 애플리케이션 등을 패키지화하여 HNED(3440)에게 제공한다.The service provider 3420 provides content provided by the content provider 3410 as a service package to the HNED 3440. For example, the service provider 3420 of FIG. 34 packages the first terrestrial broadcast, the second terrestrial broadcast, the cable MSO, the satellite broadcast, various Internet broadcasts, applications, etc., and provides them to the HNED 3440.
서비스 제공자(3420)는, 유니-캐스트(uni-cast) 또는 멀티-캐스트(multi-cast) 방식으로 클라이언트(300)에 서비스를 제공한다. 한편, 서비스 제공자(3420)는 데이터를 미리 등록된 다수의 클라이언트(3400)로 한꺼번에 전송할 수 있는데, 이를 위해 IGMP(Internet Group Management Protocol) 프로토콜 등을 이용할 수 있다.The service provider 3420 provides services to the client 300 in a uni-cast or multi-cast manner. Meanwhile, the service provider 3420 may transmit data to a plurality of pre-registered clients 3400 at a time. For this, an Internet Group Management Protocol (IGMP) protocol may be used.
상술한 컨텐트 제공자(3410)와 서비스 제공자(3420)는, 동일한 개체(same or single entity)일 수 있다. 예를 들어, 컨텐트 제공자(3410)가 제작한 컨텐트를 서비스 패키지화하여 HNED(3440)로 제공함으로써 서비스 제공자(3420)의 기능도 함께 수행하거나 그 반대일 수도 있다.The above-described content provider 3410 and service provider 3420 may be identical or single entities. For example, the content provided by the content provider 3410 may be service packaged and provided to the HNED 3440 to perform the function of the service provider 3420 or vice versa.
네트워크 제공자(3430)는, 컨텐트 제공자(3410) 또는/및 서비스 제공자(3420)와 클라이언트(3400) 사이의 데이터 교환을 위한 네트워크 망을 제공한다.The network provider 3430 provides a network for data exchange between the content provider 3410 or / and the service provider 3420 and the client 3400.
클라이언트(3400)는, 홈 네트워크를 구축하여 데이터를 송수신할 수 있다.The client 3400 can establish a home network to transmit and receive data.
한편, 서비스 시스템 내 컨텐트 제공자(3410) 또는/및 서비스 제공자(3420)는 전송되는 컨텐트의 보호를 위해 제한 수신(conditional access) 또는 컨텐트 보호(content protection) 수단을 이용할 수 있다. 이 경우, 클라이언트(300)는 상기 제한 수신이나 컨텐트 보호에 대응하여 케이블카드(CableCARD)(POD: Point of Deployment), DCAS(Downloadable CAS) 등과 같은 처리 수단을 이용할 수 있다.Meanwhile, the content provider 3410 or / and the service provider 3420 in the service system may use conditional access or content protection means to protect transmitted content. In this case, the client 300 may use a processing means such as a cable card (POD: Point of Deployment), a DCAS (Downloadable CAS), etc. in response to the limited reception or content protection.
그 밖에, 클라이언트(3400)도 네트워크 망(또는 통신 망)을 통해, 양방향 서비스를 이용할 수 있다. 이러한 경우, 오히려 클라이언트(3400)가 컨텐트 제공자의 기능을 수행할 수도 있으며, 기존 서비스 제공자(3420)는 이를 수신하여 다시 다른 클라이언트로 전송할 수도 있다.In addition, the client 3400 may also use a bidirectional service through a network network (or communication network). In this case, rather, the client 3400 may perform the function of the content provider, and the existing service provider 3420 may receive it and transmit it back to another client.
도 35는 디지털 기기의 일 실시예를 설명하기 위해 도시한 구성 블록도이다. 여기서, 도 35는, 예를 들어, 도 34의 클라이언트(3400)에 해당할 수 있으며, 전술한 디지털 기기를 의미한다.35 is a block diagram illustrating a digital device according to an embodiment. Here, FIG. 35 may correspond to, for example, the client 3400 of FIG. 34, and refers to the digital device described above.
디지털 기기(3500)는, 네트워크 인터페이스부(network interface)(3501), TCP/IP 매니저(TCP/IP manager)(3502), 서비스 전달 매니저(service delivery manager)(3503), SI 디코더(3504), 역다중화부(demux)(3505), 오디오 디코더(audio decoder)(3506), 비디오 디코더(video decoder)(3507), 디스플레이부(display A/V and OSD module)(3508), 서비스 제어 매니저(service control manager)(3509), 서비스 디스커버리 매니저(service discovery manager)(3510), SI & 메타데이터 데이터베이스(SI&Metadata DB)(3511), 메타데이터 매니저(metadata manager)(3512), 서비스 매니저(3513), UI 매니저(3514) 등을 포함하여 구성된다.The digital device 3500 includes a network interface 3501, a TCP / IP manager 3502, a service delivery manager 3503, an SI decoder 3504, Demultiplexer (demux) 3505, audio decoder 3506, video decoder 3507, display A / V and OSD module 3508, service control manager control manager (3509), service discovery manager (service discovery manager) (3510), SI & metadata database (SI & Metadata DB) (3511), metadata manager (metadata manager) (3512), service manager (3513), UI And a manager 3514 and the like.
네트워크 인터페이스부(3501)는, 네트워크 망을 통하여 IP 패킷들(internet protocol (IP) packets)을 수신하거나 전송한다. 즉, 네트워크 인터페이스부(3501)는 네트워크 망을 통해 서비스 제공자(3420)로부터 서비스, 컨텐트 등을 수신한다.The network interface unit 3501 receives or transmits Internet protocol (IP) packets through a network. That is, the network interface unit 3501 receives services, content, and the like from the service provider 3420 through the network.
TCP/IP 매니저(3502)는, 디지털 기기(3500)로 수신되는 IP 패킷들과 디지털 기기(3500)가 전송하는 IP 패킷들에 대하여 즉, 소스(source)와 목적지(destination) 사이의 패킷 전달에 관여한다. 그리고 TCP/IP 매니저(3502)는 수신된 패킷(들)을 적절한 프로토콜에 대응되도록 분류하고, 서비스 전달 매니저(3505), 서비스 디스커버리 매니저(3510), 서비스 제어 매니저(3509), 메타데이터 매니저(3512) 등으로 분류된 패킷(들)을 출력한다. 서비스 전달 매니저(3503)는, 수신되는 서비스 데이터의 제어를 담당한다. 예를 들어, 서비스 전달 매니저(3503)는 실시간 스트리밍(real-time streaming) 데이터를 제어하는 경우에는 RTP/RTCP를 사용할 수 있다. 상기 실시간 스트리밍 데이터를 RTP를 사용하여 전송하는 경우, 서비스 전달 매니저(3503)는 상기 수신된 데이터 패킷을 RTP에 따라 파싱(parsing)하여 역다중화부(3505)에 전송하거나 서비스 매니저(3513)의 제어에 따라 SI & 메타데이터 데이터베이스(3511)에 저장한다. 그리고 서비스 전달 매니저(3503)는 RTCP를 이용하여 상기 네트워크 수신 정보를 서비스를 제공하는 서버 측에 피드백(feedback) 한다. 역다중화부(3505)는, 수신된 패킷을 오디오, 비디오, SI(system information) 데이터 등으로 역다중화하여 각각 오디오/비디오 디코더(3506/3507), SI 디코더(3504)에 전송한다.The TCP / IP manager 3502 is configured to transmit packets between the source and destination of IP packets received by the digital device 3500 and IP packets transmitted by the digital device 3500. Get involved. Then, the TCP / IP manager 3502 classifies the received packet (s) to correspond to an appropriate protocol, and the service delivery manager 3505, the service discovery manager 3510, the service control manager 3509, and the metadata manager 3512 ), And the like. The service delivery manager 3503 is responsible for controlling received service data. For example, the service delivery manager 3503 may use RTP / RTCP when controlling real-time streaming data. When the real-time streaming data is transmitted using RTP, the service delivery manager 3503 parses the received data packet according to the RTP and transmits it to the demultiplexer 3505 or control of the service manager 3513 According to the SI & metadata database (3511). Then, the service delivery manager 3503 uses the RTCP to feed back the network reception information to the server providing the service. The demultiplexer 3505 demultiplexes the received packets into audio, video, and system information (SI) data, and transmits them to the audio / video decoder 3506/3507 and the SI decoder 3504, respectively.
SI 디코더(3504)는 예를 들어, PSI(program specific information), PSIP(program and system information protocol), DVB-SI(digital video broadcasting-service information) 등의 서비스 정보를 디코딩한다.The SI decoder 3504 decodes service information such as program specific information (PSI), program and system information protocol (PSIP), and digital video broadcasting-service information (DVB-SI).
또한, SI 디코더(3504)는, 디코딩된 서비스 정보들을 예를 들어, SI & 메타데이터 데이터베이스(3511)에 저장한다. 이렇게 저장된 서비스 정보는 예를 들어, 사용자의 요청 등에 의해 해당 구성에 의해 독출되어 이용될 수 있다.In addition, the SI decoder 3504 stores the decoded service information in the SI & metadata database 3511, for example. The service information stored in this way may be read and used by the corresponding configuration, for example, at the request of a user.
오디오/비디오 디코더(3506/3507)는, 역다중화부(405)에서 역다중화된 각 오디오 데이터와 비디오 데이터를 디코딩한다. 이렇게 디코딩된 오디오 데이터 및 비디오 데이터는 디스플레이부(3508)를 통하여 사용자에게 제공된다.The audio / video decoder 3506/3507 decodes each audio data and video data demultiplexed by the demultiplexing unit 405. The audio data and video data thus decoded are provided to the user through the display unit 3508.
애플리케이션 매니저는 예를 들어, UI 매니저(3514)와 서비스 매니저(3513)를 포함하여 구성될 수 있다. 애플리케이션 매니저는, 디지털 기기(3500)의 전반적인 상태를 관리하고 사용자 인터페이스를 제공하며, 다른 매니저를 관리할 수 있다.The application manager may include, for example, a UI manager 3514 and a service manager 3513. The application manager may manage the overall state of the digital device 3500, provide a user interface, and manage other managers.
UI 매니저(3514)는, 사용자를 위한 GUI(graphic user interface)를 OSD(on screen display) 등을 이용하여 제공하며, 사용자로부터 키 입력을 받아 상기 입력에 따른 기기 동작을 수행한다. 예를 들어, UI 매니저(3514)는 사용자로부터 채널 선택에 관한 키 입력을 받으면 상기 키 입력 신호를 서비스 매니저(3513)에 전송한다.The UI manager 3514 provides a graphical user interface (GUI) for a user using an on-screen display (OSD) or the like, and receives a key input from a user to perform device operation according to the input. For example, when the UI manager 3514 receives a key input for channel selection from a user, the UI manager 3510 transmits the key input signal to the service manager 3513.
서비스 매니저(3513)는, 서비스 전달 매니저(3503), 서비스 디스커버리 매니저(3510), 서비스 제어 매니저(3509), 메타데이터 매니저(3512) 등 서비스와 연관된 매니저를 제어한다.The service manager 3513 controls a manager associated with a service, such as a service delivery manager 3503, a service discovery manager 3510, a service control manager 3509, and a metadata manager 3512.
또한, 서비스 매니저(3513)는, 채널 맵(channel map)을 만들고 사용자 인터페이스 매니저(3514)로부터 수신한 키 입력에 따라 상기 채널 맵을 이용하여 채널을 선택하다. 그리고 서비스 매니저(3513)는 SI 디코더(3504)로부터 채널의 서비스 정보를 전송받아 선택된 채널의 오디오/비디오 PID(packet identifier)를 역다중화부(3505)에 설정한다. 이렇게 설정되는 PID는 상술한 역다중화 과정에 이용된다. 따라서, 역다중화부(3505)는 상기 PID를 이용하여 오디오 데이터, 비디오 데이터 및 SI 데이터를 필터링(filtering) 한다.In addition, the service manager 3513 creates a channel map and selects a channel using the channel map according to a key input received from the user interface manager 3514. Then, the service manager 3513 receives the service information of the channel from the SI decoder 3504 and sets the audio / video packet identifier (PID) of the selected channel to the demultiplexer 3505. The PID set in this way is used in the demultiplexing process described above. Accordingly, the demultiplexer 3505 filters the audio data, video data, and SI data using the PID.
서비스 디스커버리 매니저(3510)는, 서비스를 제공하는 서비스 제공자를 선택하는데 필요한 정보를 제공한다. 서비스 매니저(3513)로부터 채널 선택에 관한 신호를 수신하면, 서비스 디스커버리 매니저(3510)는 상기 정보를 이용하여 서비스를 찾는다.The service discovery manager 3510 provides information necessary to select a service provider that provides a service. When a signal regarding channel selection is received from the service manager 3513, the service discovery manager 3510 finds a service using the information.
서비스 제어 매니저(3509)는, 서비스의 선택과 제어를 담당한다. 예를 들어, 서비스 제어 매니저(3509)는 사용자가 기존의 방송 방식과 같은 생방송(live broadcasting) 서비스를 선택하는 경우 IGMP 또는 RTSP 등을 사용하고, VOD(video on demand)와 같은 서비스를 선택하는 경우에는 RTSP를 사용하여 서비스의 선택, 제어를 수행한다. 상기 RTSP 프로토콜은 실시간 스트리밍에 대해 트릭 모드(trick mode)를 제공할 수 있다. 또한, 서비스 제어 매니저(3509)는 IMS(IP multimedia subsystem), SIP(session initiation protocol)를 이용하여 IMS 게이트웨이(3550)를 통하는 세션을 초기화하고 관리할 수 있다. 프로토콜들은 일 실시 예이며, 구현 예에 따라 다른 프로토콜을 사용할 수도 있다.The service control manager 3509 is responsible for selecting and controlling services. For example, the service control manager 3509 uses IGMP or RTSP when a user selects a live broadcasting service such as a conventional broadcasting method, and selects a service such as video on demand (VOD). The RTSP is used to select and control services. The RTSP protocol may provide a trick mode for real-time streaming. In addition, the service control manager 3509 may initialize and manage a session through the IMS gateway 3550 using an IP multimedia subsystem (IMS) and a session initiation protocol (SIP). The protocols are one embodiment, and other protocols may be used according to implementation examples.
메타데이터 매니저(3512)는, 서비스와 연관된 메타데이터를 관리하고 상기 메타데이터를 SI & 메타데이터 데이터 베이스(3511)에 저장한다.The metadata manager 3512 manages metadata associated with the service and stores the metadata in the SI & metadata database 3511.
SI & 메타데이터 데이터베이스(3511)는, SI 디코더(3504)가 디코딩한 서비스 정보, 메타데이터 매니저(3512)가 관리하는 메타데이터 및 서비스 디스커버리 매니저(3510)가 제공하는 서비스 제공자를 선택하는데 필요한 정보를 저장한다. 또한, SI & 메타데이터 데이터베이스(3511)는 시스템에 대한 세트-업 데이터 등을 저장할 수 있다.The SI & metadata database 3511 includes service information decoded by the SI decoder 3504, metadata managed by the metadata manager 3512, and information necessary to select a service provider provided by the service discovery manager 3510. To save. In addition, the SI & metadata database 3511 can store set-up data and the like for the system.
SI & 메타데이터 데이터베이스(3511)는, 비휘발성 메모리(non-volatile RAM, NVRAM) 또는 플래시 메모리(flash memory) 등을 사용하여 구현될 수도 있다.The SI & metadata database 3511 may be implemented using non-volatile RAM (NVRAM), flash memory, or the like.
한편, IMS 게이트웨이(3550)는, IMS 기반의 IPTV 서비스에 접근하기 위해 필요한 기능들을 모아 놓은 게이트웨이이다.Meanwhile, the IMS gateway 3550 is a gateway that collects functions necessary for accessing the IMS-based IPTV service.
도 36은 디지털 기기의 다른 실시예를 설명하기 위해 도시한 구성 블록도이다. 특히, 도 36은 디지털 기기의 다른 실시예로서 모바일 기기의 구성 블록도를 예시한 것이다.36 is a configuration block diagram illustrating another embodiment of a digital device. In particular, FIG. 36 illustrates a block diagram of a mobile device as another embodiment of a digital device.
도 36을 참조하면, 모바일 기기(3600)는, 무선 통신부(3610), A/V(audio/video) 입력부(3620), 사용자 입력부(3630), 센싱부(3640), 출력부(3650), 메모리(3660), 인터페이스부(3670), 제어부(3680) 및 전원 공급부(3690) 등을 포함할 수 있다. 도 36에 도시된 구성요소들이 필수적인 것은 아니어서, 그보다 많은 구성요소들을 갖거나 그보다 적은 구성요소들을 갖는 모바일 기기가 구현될 수도 있다.Referring to FIG. 36, the mobile device 3600 includes a wireless communication unit 3610, an audio / video (A / V) input unit 3620, a user input unit 3630, a sensing unit 3640, an output unit 3650, It may include a memory 3660, an interface unit 3670, a control unit 3680, and a power supply unit 3690. The components shown in FIG. 36 are not essential, so a mobile device with more or fewer components may be implemented.
무선 통신부(3610)는, 모바일 기기(3600)와 무선 통신 시스템 사이 또는 모바일 기기와, 모바일 기기가 위치한 네트워크 사이의 무선 통신을 가능하게 하는 하나 또는 그 이상의 모듈을 포함할 수 있다. 예를 들어, 무선 통신부(3610)는 방송 수신 모듈(3611), 이동통신 모듈(3612), 무선 인터넷 모듈(3613), 근거리 통신 모듈(3614) 및 위치 정보 모듈(3615) 등을 포함할 수 있다.The wireless communication unit 3610 may include one or more modules that enable wireless communication between the mobile device 3600 and the wireless communication system or between a mobile device and a network in which the mobile device is located. For example, the wireless communication unit 3610 may include a broadcast reception module 3611, a mobile communication module 3612, a wireless Internet module 3613, a short-range communication module 3614, a location information module 3615, and the like. .
방송 수신 모듈(3611)은, 방송 채널을 통하여 외부의 방송 관리 서버로부터 방송 신호 및/또는 방송 관련된 정보를 수신한다. 여기서, 방송 채널은 위성 채널, 지상파 채널을 포함할 수 있다. 방송 관리 서버는, 방송 신호 및/또는 방송 관련 정보를 생성하여 송신하는 서버 또는 기 생성된 방송 신호 및/또는 방송 관련 정보를 제공받아 단말기에 송신하는 서버를 의미할 수 있다. 방송 신호는, TV 방송 신호, 라디오 방송 신호, 데이터 방송 신호를 포함할 뿐만 아니라, TV 방송 신호 또는 라디오 방송 신호에 데이터 방송 신호가 결합한 형태의 방송 신호도 포함할 수 있다.The broadcast receiving module 3611 receives broadcast signals and / or broadcast related information from an external broadcast management server through a broadcast channel. Here, the broadcast channel may include a satellite channel and a terrestrial channel. The broadcast management server may mean a server that generates and transmits broadcast signals and / or broadcast-related information or a server that receives previously generated broadcast signals and / or broadcast-related information and transmits them to a terminal. The broadcast signal may include a TV broadcast signal, a radio broadcast signal, and a data broadcast signal, and may also include a TV broadcast signal or a radio broadcast signal combined with a data broadcast signal.
방송 관련 정보는, 방송 채널, 방송 프로그램 또는 방송 서비스 제공자에 관련한 정보를 의미할 수 있다. 방송 관련 정보는, 이동통신망을 통하여도 제공될 수 있다. 이러한 경우에는 이동통신 모듈(3612)에 의해 수신될 수 있다.The broadcast related information may mean information related to a broadcast channel, broadcast program, or broadcast service provider. Broadcast-related information may also be provided through a mobile communication network. In this case, it may be received by the mobile communication module 3612.
방송 관련 정보는 다양한 형태 예를 들어, EPG(electronic program guide) 또는 ESG(electronic service guide) 등의 형태로 존재할 수 있다.Broadcast-related information may exist in various forms, for example, an electronic program guide (EPG) or an electronic service guide (ESG).
방송 수신 모듈(3611)은 예를 들어, ATSC, DVB-T(digital video broadcasting-terrestrial), DVB-S(satellite), MediaFLO(media forward link only), DVB-H(handheld), ISDB-T(integrated services digital broadcast-terrestrial) 등 디지털 방송 시스템을 이용하여 디지털 방송 신호를 수신할 수 있다. 물론, 방송 수신 모듈(511)은, 상술한 디지털 방송 시스템뿐만 아니라 다른 방송 시스템에 적합하도록 구성될 수도 있다.The broadcast receiving module 3611 includes, for example, ATSC, digital video broadcasting-terrestrial (DVB-T), satellite (DVB-S), media forward link only (MediaFLO), handheld (DVB-H), ISDB-T ( Digital broadcasting signals can be received using digital broadcasting systems such as integrated services digital broadcast-terrestrial. Of course, the broadcast receiving module 511 may be configured to be suitable for other broadcasting systems as well as the digital broadcasting system described above.
방송 수신 모듈(3611)을 통해 수신된 방송 신호 및/또는 방송 관련 정보는, 메모리(3660)에 저장될 수 있다.The broadcast signal and / or broadcast-related information received through the broadcast receiving module 3611 may be stored in the memory 3660.
이동통신 모듈(3612)은, 이동 통신망 상에서 기지국, 외부 단말, 서버 중 적어도 하나와 무선 신호를 송수신한다. 무선 신호는, 음성 신호, 화상 통화 신호 또는 문자/멀티미디어 메시지 송수신에 따른 다양한 형태의 데이터를 포함할 수 있다.The mobile communication module 3612 transmits and receives wireless signals to and from at least one of a base station, an external terminal, and a server on a mobile communication network. The wireless signal may include various types of data according to transmission and reception of a voice signal, a video call signal, or a text / multimedia message.
무선 인터넷 모듈(3613)은, 무선 인터넷 접속을 위한 모듈을 포함하여, 모바일 기기(3600)에 내장되거나 외장될 수 있다. 무선 인터넷 기술로는 WLAN(wireless LAN)(Wi-Fi), Wibro(wireless broadband), Wimax(world interoperability for microwave access), HSDPA(high speed downlink packet access) 등이 이용될 수 있다.The wireless Internet module 3613 may include a module for wireless Internet access, or may be built in or external to the mobile device 3600. Wireless Internet technology may include wireless LAN (WLAN) (Wi-Fi), wireless broadband (Wibro), world interoperability for microwave access (Wimax), and high speed downlink packet access (HSDPA).
근거리 통신 모듈(3614)은, 근거리 통신을 위한 모듈을 말한다. 근거리 통신(short range communication) 기술로 블루투스(Bluetooth), RFID(radio frequency Identification), 적외선 통신(IrDA, infrared data association), UWB(ultra wideband), ZigBee, RS-232, RS-485 등이 이용될 수 있다.The short-range communication module 3614 refers to a module for short-range communication. Bluetooth, radio frequency identification (RFID), infrared data association (IrDA), ultra wideband (UWB), ZigBee, RS-232, RS-485, etc. may be used as short range communication technology. You can.
위치정보 모듈(3615)은, 모바일 기기(3600)의 위치정보 획득을 위한 모듈로서, GPS(global position system) 모듈을 예로 할 수 있다.The location information module 3615 is a module for obtaining location information of the mobile device 3600, and may use a global position system (GPS) module as an example.
A/V 입력부(3620)는, 오디오 또는/및 비디오 신호 입력을 위한 것으로, 이에는 카메라(3621)와 마이크(3622) 등이 포함될 수 있다. 카메라(3621)는, 화상통화 모드 또는 촬영 모드에서 이미지 센서에 의해 얻어지는 정지영상 또는 동영상 등의 화상 프레임을 처리한다. 처리된 화상 프레임은 디스플레이부(3651)에 표시될 수 있다.The A / V input unit 3620 is for audio or / and video signal input, and may include a camera 361 and a microphone 3622. The camera 361 processes image frames such as still images or moving images obtained by an image sensor in a video call mode or a shooting mode. The processed image frame may be displayed on the display portion 3651.
카메라(3621)에서 처리된 화상 프레임은, 메모리(3660)에 저장되거나 무선 통신부(3610)를 통하여 외부로 전송될 수 있다. 카메라(3621)는, 사용 환경에 따라 2개 이상이 구비될 수도 있다.The image frames processed by the camera 361 may be stored in the memory 3660 or transmitted to the outside through the wireless communication unit 3610. Two or more cameras 361 may be provided depending on the use environment.
마이크(3622)는, 통화 모드 또는 녹음 모드, 음성인식 모드 등에서 마이크로폰(microphone)에 의해 외부의 음향 신호를 입력받아 전기적인 음성 데이터로 처리한다. 처리된 음성 데이터는, 통화 모드인 경우 이동통신 모듈(3612)을 통하여 이동통신 기지국으로 송신 가능한 형태로 변환되어 출력될 수 있다. 마이크(3622)에는 외부의 음향 신호를 입력받는 과정에서 발생하는 잡음(noise)을 제거하기 위한 다양한 잡음 제거 알고리즘이 구현될 수 있다.The microphone 3362 receives an external sound signal by a microphone in a call mode or a recording mode, a voice recognition mode, etc., and processes it as electrical voice data. The processed voice data may be converted into a form transmittable to a mobile communication base station through the mobile communication module 3612 and output. A variety of noise reduction algorithms for removing noise generated in the process of receiving an external sound signal may be implemented in the microphone 3362.
사용자 입력부(3630)는, 사용자가 단말기의 동작 제어를 위한 입력 데이터를 발생시킨다. 사용자 입력부(3630)는, 키 패드(key pad), 돔 스위치(dome switch), 터치 패드(정압/정전), 조그 휠(jog wheel), 조그 스위치(jog switch) 등으로 구성될 수 있다.The user input unit 3630 generates input data for the user to control the operation of the terminal. The user input unit 3630 may be configured as a key pad, a dome switch, a touch pad (static pressure / power outage), a jog wheel, a jog switch, or the like.
센싱부(3640)는, 모바일 기기(3600)의 개폐 상태, 모바일 기기(3600)의 위치, 사용자 접촉 유무, 모바일 기기의 방위, 모바일 기기의 가속/감속 등과 같이 모바일 기기(3600)의 현재 상태를 감지하여 모바일 기기(3600)의 동작 제어를 위한 센싱 신호를 발생시킨다. 예를 들어, 모바일 기기(3600)가 이동되거나 기울어진 경우 모바일 기기의 위치 내지 기울기 등을 센싱할 수 있다. 또한, 전원 공급부(3690)의 전원 공급 여부, 인터페이스부(3670)의 외부 기기 결합 여부 등도 센싱할 수도 있다. 한편, 센싱부(3640)는, NFC(near field communication)를 포함한 근접 센서(3641)를 포함할 수 있다.The sensing unit 3640 displays the current state of the mobile device 3600, such as the open / closed state of the mobile device 3600, the location of the mobile device 3600, presence or absence of user contact, orientation of the mobile device, acceleration / deceleration of the mobile device, and the like. It senses and generates a sensing signal for controlling the operation of the mobile device 3600. For example, when the mobile device 3600 is moved or tilted, the position or tilt of the mobile device may be sensed. In addition, it is also possible to sense whether the power supply unit 3690 is supplied with power, whether the interface unit 3670 is coupled with external devices, or the like. Meanwhile, the sensing unit 3640 may include a proximity sensor 3641 including near field communication (NFC).
출력부(3650)는, 시각, 청각 또는 촉각 등과 관련된 출력을 발생시키기 위한 것으로, 디스플레이부(3651), 음향 출력 모듈(3652), 알람부(3653), 및 햅틱 모듈(3654) 등이 포함될 수 있다.The output unit 3650 is for generating output related to vision, hearing, or tactile sense, and may include a display unit 3651, an audio output module 3652, an alarm unit 3603, and a haptic module 3654. have.
디스플레이부(3651)는, 모바일 기기(3600)에서 처리되는 정보를 표시(출력)한다. 예를 들어, 모바일 기기가 통화 모드인 경우 통화와 관련된 UI(user interface) 또는 GUI(graphic user interface)를 표시한다. 모바일 기기(3600)가 화상 통화 모드 또는 촬영 모드인 경우에는, 촬영 또는/및 수신된 영상 또는 UI, GUI를 표시한다.The display unit 3651 displays (outputs) information processed by the mobile device 3600. For example, when the mobile device is in a call mode, a user interface (UI) or a graphic user interface (GUI) related to the call is displayed. When the mobile device 3600 is in a video call mode or a photographing mode, the photographed or / and received video or UI, GUI is displayed.
디스플레이부(3651)는, 액정 디스플레이(liquid crystal display, LCD), 박막 트랜지스터 액정 디스플레이(thin film transistor-liquid crystal display, TFT LCD), 유기 발광 다이오드(organic light-emitting diode, OLED), 플렉시블 디스플레이(flexible display), 3차원 디스플레이(3D display) 중에서 적어도 하나를 포함할 수 있다.The display portion 3651 includes a liquid crystal display (LCD), a thin film transistor-liquid crystal display (TFT LCD), an organic light-emitting diode (OLED), and a flexible display ( flexible display) and a 3D display.
이들 중 일부 디스플레이는 그를 통해 외부를 볼 수 있도록 투명형 또는 광투과형으로 구성될 수 있다. 이는 투명 디스플레이라 호칭될 수 있는데, 상기 투명 디스플레이의 대표적인 예로는 TOLED(transparent OLED) 등이 있다. 디스플레이부(3651)의 후방 구조 또한 광 투과형 구조로 구성될 수 있다. 이러한 구조에 의하여, 사용자는 단말기 바디의 디스플레이부(3651)가 차지하는 영역을 통해 단말기 바디(body)의 후방에 위치한 사물을 볼 수 있다.Some of these displays may be of a transparent type or a light transmissive type so that the outside can be seen through them. This may be referred to as a transparent display, and a typical example of the transparent display is a transparent OLED (TOLED). The rear structure of the display portion 3651 may also be configured as a light transmissive structure. With this structure, the user can see an object located behind the terminal body through an area occupied by the display unit 3651 of the terminal body.
모바일 기기(3600)의 구현 형태에 따라 디스플레이부(3651)가 2개 이상 존재할 수 있다. 예를 들어, 모바일 기기(3600)에는 복수의 디스플레이부들이 하나의 면에 이격되거나 일체로 배치될 수 있고, 또한 서로 다른 면에 각각 배치될 수도 있다.Two or more display units 3651 may exist depending on the implementation form of the mobile device 3600. For example, in the mobile device 3600, a plurality of display units may be spaced apart from one surface or integrally disposed, or may be respectively disposed on different surfaces.
디스플레이부(3651)와 터치 동작을 감지하는 센서(이하 '터치 센서'라 함)가 상호 레이어 구조를 이루는 경우(이하, '터치 스크린'이라 함)에, 디스플레이부(3651)는 출력 장치 이외에 입력 장치로도 사용될 수 있다. 터치 센서는, 예를 들어, 터치 필름, 터치 시트, 터치 패드 등의 형태를 가질 수 있다.When the display unit 3651 and a sensor detecting a touch operation (hereinafter referred to as a “touch sensor”) form a mutual layer structure (hereinafter referred to as a “touch screen”), the display unit 3651 inputs other than an output device It can also be used as a device. The touch sensor may have, for example, a form of a touch film, a touch sheet, a touch pad, and the like.
터치 센서는 디스플레이부(3651)의 특정 부위에 가해진 압력 또는 디스플레이부(3651)의 특정 부위에 발생하는 정전 용량 등의 변화를 전기적인 입력신호로 변환하도록 구성될 수 있다. 터치 센서는 터치 되는 위치 및 면적뿐만 아니라, 터치 시의 압력까지도 검출할 수 있도록 구성될 수 있다.The touch sensor may be configured to convert a change in pressure applied to a specific portion of the display portion 3651 or capacitance generated in a specific portion of the display portion 3651 into an electrical input signal. The touch sensor may be configured to detect not only the touched position and area, but also pressure at the time of touch.
터치 센서에 대한 터치 입력이 있는 경우, 그에 대응하는 신호(들)는 터치 제어기로 보내진다. 터치 제어기는 그 신호(들)를 처리한 다음 대응하는 데이터를 제어부(3680)로 전송한다. 이로써, 제어부(3680)는 디스플레이부(3651)의 어느 영역이 터치 되었는지 여부 등을 알 수 있게 된다.If there is a touch input to the touch sensor, the corresponding signal (s) is sent to the touch controller. The touch controller processes the signal (s) and then transmits corresponding data to the control unit 3680. As a result, the control unit 3680 can know which area of the display unit 3651 has been touched.
터치스크린에 의해 감싸지는 모바일 기기의 내부 영역 또는 상기 터치 스크린의 근처에 근접 센서(3641)가 배치될 수 있다. 상기 근접 센서는 소정의 검출면에 접근하는 물체, 혹은 근방에 존재하는 물체의 유무를 전자계의 힘 또는 적외선을 이용하여 기계적 접촉이 없이 검출하는 센서를 말한다. 근접 센서는 접촉식 센서보다는 그 수명이 길며 그 활용도 또한 높다.A proximity sensor 3641 may be disposed in an inner area of the mobile device surrounded by the touch screen or near the touch screen. The proximity sensor refers to a sensor that detects the presence or absence of an object approaching a predetermined detection surface or an object present in the vicinity without mechanical contact using electromagnetic force or infrared rays. Proximity sensors have a longer lifespan and higher utilization than contact sensors.
근접 센서의 예로는 투과형 광전 센서, 직접 반사형 광전 센서, 미러 반사형 광전 센서, 고주파 발진형 근접 센서, 정전용량형 근접 센서, 자기형 근접 센서, 적외선 근접 센서 등이 있다. 상기 터치스크린이 정전식인 경우에는 상기 포인터의 근접에 따른 전계의 변화로 포인터의 근접을 검출하도록 구성된다. 이 경우 터치 스크린(터치 센서)은 근접 센서로 분류될 수도 있다.Examples of the proximity sensor include a transmission type photoelectric sensor, a direct reflection type photoelectric sensor, a mirror reflection type photoelectric sensor, a high frequency oscillation type proximity sensor, a capacitive type proximity sensor, a magnetic type proximity sensor, and an infrared proximity sensor. When the touch screen is capacitive, it is configured to detect the proximity of the pointer due to a change in electric field according to the proximity of the pointer. In this case, the touch screen (touch sensor) may be classified as a proximity sensor.
이하에서는 설명의 편의를 위해, 터치스크린 상에 포인터가 접촉되지 않으면서 근접되어 포인터가 터치스크린 상에 위치함이 인식되도록 하는 행위를 "근접 터치(proximity touch)"라고 칭하고, 상기 터치스크린 상에 포인터가 실제로 접촉되는 행위를 "접촉 터치(contact touch)"라고 칭한다. 터치스크린 상에서 포인터로 근접 터치가 되는 위치라 함은, 포인터가 근접 터치될 때 포인터가 터치스크린에 대해 수직으로 대응되는 위치를 의미한다.Hereinafter, for convenience of description, the act of causing the pointer to be recognized as being located on the touch screen without being touched by the pointer on the touch screen is referred to as a “proximity touch”, and on the touch screen The act of actually touching the pointer is referred to as "contact touch." The location on the touch screen that is a proximity touch with the pointer means a location where the pointer is perpendicular to the touch screen when the pointer is touched close.
근접 센서는, 근접 터치와, 근접 터치 패턴(예를 들어, 근접 터치 거리, 근접 터치 방향, 근접 터치 속도, 근접 터치 시간, 근접 터치 위치, 근접 터치 이동 상태 등)을 감지한다. 감지된 근접 터치 동작 및 근접 터치 패턴에 상응하는 정보는 터치 스크린상에 출력될 수 있다.The proximity sensor detects a proximity touch and a proximity touch pattern (eg, proximity touch distance, proximity touch direction, proximity touch speed, proximity touch time, proximity touch position, proximity touch movement state, etc.). Information corresponding to the sensed proximity touch operation and the proximity touch pattern may be output on the touch screen.
음향 출력 모듈(3652)은, 호 신호 수신, 통화 모드 또는 녹음 모드, 음성인식 모드, 방송수신 모드 등에서 무선 통신부(3610)로부터 수신되거나 메모리(3660)에 저장된 오디오 데이터를 출력할 수 있다. 음향 출력 모듈(3652)은 모바일 기기(3600)에서 수행되는 기능(예를 들어, 호신호 수신음, 메시지 수신음 등)과 관련된 음향 신호를 출력하기도 한다. 이러한 음향 출력 모듈(3652)에는 리시버(receiver), 스피커(speaker), 버저(buzzer) 등이 포함될 수 있다.The audio output module 3652 may output audio data received from the wireless communication unit 3610 or stored in the memory 3660 in a call signal reception, call mode or recording mode, voice recognition mode, broadcast reception mode, or the like. The sound output module 3652 may also output sound signals related to functions (for example, call signal reception sound, message reception sound, etc.) performed by the mobile device 3600. The sound output module 3652 may include a receiver, a speaker, and a buzzer.
알람부(3653)는, 모바일 기기(3600)의 이벤트 발생을 알리기 위한 신호를 출력한다. 모바일 기기에서 발생되는 이벤트의 예로는 호 신호 수신, 메시지 수신, 키 신호 입력, 터치 입력 등이 있다. 알람부(3653)는, 비디오 신호나 오디오 신호 이외에 다른 형태, 예를 들어 진동으로 이벤트 발생을 알리기 위한 신호를 출력할 수도 있다.The alarm unit 3603 outputs a signal for notifying the occurrence of the event of the mobile device 3600. Examples of events generated in the mobile device include call signal reception, message reception, key signal input, and touch input. The alarm unit 3603 may also output a signal for notifying the occurrence of an event in a form other than a video signal or an audio signal, for example, vibration.
비디오 신호나 오디오 신호는 디스플레이부(3651)나 음성 출력 모듈(3652)을 통해서도 출력될 수 있어서, 디스플레이부 및 음성 출력 모듈(3651,3652)은 알람부(3653)의 일부로 분류될 수도 있다.The video signal or the audio signal may also be output through the display unit 3651 or the audio output module 3652, so that the display unit and the audio output modules 3651 and 3652 may be classified as a part of the alarm unit 3653.
햅틱 모듈(haptic module)(3654)은, 사용자가 느낄 수 있는 다양한 촉각 효과를 발생시킨다. 햅틱 모듈(3654)이 발생시키는 촉각 효과의 대표적인 예로는 진동이 있다. 햅택 모듈(3654)이 발생하는 진동의 세기와 패턴 등은 제어 가능하다. 예를 들어, 서로 다른 진동을 합성하여 출력하거나 순차적으로 출력할 수도 있다.The haptic module 3654 generates various tactile effects that the user can feel. A typical example of the tactile effect generated by the haptic module 3654 is vibration. The intensity and pattern of vibration generated by the haptic module 3654 can be controlled. For example, different vibrations may be synthesized and output or sequentially output.
햅틱 모듈(3654)은, 진동 외에도, 접촉 피부면에 대해 수직 운동하는 핀 배열, 분사구나 흡입구를 통한 공기의 분사력이나 흡입력, 피부 표면에 대한 스침, 전극(electrode)의 접촉, 정전기력 등의 자극에 의한 효과와, 흡열이나 발열 가능한 소자를 이용한 냉온감 재현에 의한 효과 등 다양한 촉각 효과를 발생시킬 수 있다.The haptic module 3654, in addition to vibration, is a pin array that vertically moves with respect to the contact surface of the skin, blast or suction force of the air through the nozzle or intake, grazing on the skin surface, contact with the electrode, and stimulation such as electrostatic force. Various tactile effects can be generated, such as an effect caused by an effect and an effect of reproducing a feeling of cold and warm using an element capable of absorbing heat or generating heat.
햅틱 모듈(3654)은, 직접적인 접촉을 통해 촉각 효과의 전달할 수 있을 뿐만 아니라, 사용자가 손가락이나 팔 등의 근 감각을 통해 촉각 효과를 느낄 수 있도록 구현할 수도 있다. 햅틱 모듈(3654)은, 모바일 기기(3600)의 구성 태양에 따라 2개 이상이 구비될 수 있다.The haptic module 3654 can not only deliver the tactile effect through direct contact, but can also be implemented so that the user can feel the tactile effect through muscle sensations such as fingers or arms. Two or more haptic modules 3654 may be provided according to a configuration aspect of the mobile device 3600.
메모리(3660)는, 제어부(3680)의 동작을 위한 프로그램을 저장할 수 있고, 입/출력되는 데이터들(예를 들어, 폰북, 메시지, 정지영상, 동영상 등)을 임시 저장할 수도 있다. 메모리(3660)는 상기 터치스크린 상의 터치 입력시 출력되는 다양한 패턴의 진동 및 음향에 관한 데이터를 저장할 수 있다.The memory 3660 may store a program for the operation of the control unit 3680, and may temporarily store input / output data (eg, a phone book, a message, a still image, a video, etc.). The memory 3660 may store data related to various patterns of vibration and sound output when a touch is input on the touch screen.
메모리(3660)는, 플래시 메모리 타입(flash memory type), 하드디스크 타입(hard disk type), 멀티미디어 카드 마이크로 타입(multimedia card micro type), 카드 타입의 메모리(예를 들어 SD 또는 XD 메모리 등), 램(random access memory, RAM), SRAM(static random access memory), 롬(read-only memory, ROM), EEPROM(electrically erasable programmable read-only memory), PROM(programmable read-only memory), 자기 메모리, 자기 디스크, 광디스크 중 적어도 하나의 타입의 저장매체를 포함할 수 있다. 모바일 기기(3600)는 인터넷(internet)상에서 메모리(3660)의 저장 기능을 수행하는 웹 스토리지(web storage)와 관련되어 동작할 수도 있다.The memory 3660 includes a flash memory type, a hard disk type, a multimedia card micro type, and a card type memory (for example, SD or XD memory, etc.), Random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, It may include a storage medium of at least one of a magnetic disk and an optical disk. The mobile device 3600 may operate in connection with a web storage that performs a storage function of the memory 3660 on the Internet.
인터페이스부(3670)는, 모바일 기기(3600)에 연결되는 모든 외부기기와의 통로 역할을 한다. 인터페이스부(3670)는 외부 기기로부터 데이터를 전송받거나, 전원을 공급받아 모바일 기기(3600) 내부의 각 구성 요소에 전달하거나, 모바일 기기(3600) 내부의 데이터가 외부 기기로 전송되도록 한다. 예를 들어, 유/무선 헤드셋 포트, 외부 충전기 포트, 유/무선 데이터 포트, 메모리 카드(memory card) 포트, 식별 모듈이 구비된 장치를 연결하는 포트, 오디오 I/O(input/output) 포트, 비디오 I/O 포트, 이어폰 포트 등이 인터페이스부(3670)에 포함될 수 있다.The interface unit 3670 serves as a passage with all external devices connected to the mobile device 3600. The interface unit 3670 receives data from an external device, receives power, and transmits data to each component inside the mobile device 3600, or allows data inside the mobile device 3600 to be transmitted to the external device. For example, wired / wireless headset port, external charger port, wired / wireless data port, memory card port, port for connecting devices equipped with an identification module, audio input / output (I / O) port, A video I / O port, an earphone port, and the like may be included in the interface unit 3670.
식별 모듈은 모바일 기기(3600)의 사용 권한을 인증하기 위한 각종 정보를 저장한 칩으로서, 사용자 인증 모듈(user identify module, UIM), 가입자 인증 모듈(subscriber identify module, SIM), 범용 사용자 인증 모듈(universal subscriber identity module, USIM) 등을 포함할 수 있다. 식별 모듈이 구비된 장치(이하 '식별 장치')는, 스마트 카드(smart card) 형식으로 제작될 수 있다. 따라서 식별 장치는 포트를 통하여 단말기(3600)와 연결될 수 있다.The identification module is a chip that stores various information for authenticating the usage rights of the mobile device 3600, a user identification module (UIM), a subscriber identification module (SIM), and a universal user authentication module ( universal subscriber identity module, USIM). The device provided with the identification module (hereinafter referred to as an 'identification device') may be manufactured in a smart card format. Therefore, the identification device may be connected to the terminal 3600 through a port.
인터페이스부(3670)는, 이동단말기(3600)가 외부 크래들(cradle)과 연결될 때, 크래들로부터의 전원이 이동단말기(3600)에 공급되는 통로가 되거나, 사용자에 의해 크래들에서 입력되는 각종 명령 신호가 이동단말기로 전달되는 통로가 될 수 있다. 크래들로부터 입력되는 각종 명령 신호 또는 전원은, 이동단말기가 크래들에 정확히 장착되었음을 인지하기 위한 신호로 동작될 수도 있다.When the mobile terminal 3600 is connected to an external cradle, the interface unit 3670 becomes a passage through which power from the cradle is supplied to the mobile terminal 3600, or various command signals input from the cradle by the user. It can be a passage to the mobile terminal. Various command signals or power input from the cradle may be operated as signals for recognizing that the mobile terminal is correctly mounted on the cradle.
제어부(3680)는, 통상적으로 모바일 기기의 전반적인 동작을 제어한다. 예를 들어, 음성 통화, 데이터 통신, 화상 통화 등을 위한 관련된 제어 및 처리를 수행한다. 제어부(3680)는, 멀티 미디어 재생을 위한 멀티미디어 모듈(3681)을 구비할 수도 있다. 멀티미디어 모듈(3681)은, 제어부(3680) 내에 구현될 수도 있고, 제어부(3680)와 별도로 구현될 수도 있다. 제어부(3680), 특히 멀티미디어 모듈(3681)은 전술한 인코딩 장치(100) 및/또는 디코딩 장치(200)를 포함할 수 있다. The control unit 3680 typically controls the overall operation of the mobile device. For example, it performs related control and processing for voice calls, data communication, video calls, and the like. The control unit 3680 may include a multimedia module 3801 for playing multimedia. The multimedia module 3801 may be implemented in the control unit 3680 or may be implemented separately from the control unit 3680. The control unit 3680, particularly the multimedia module 3801, may include the encoding device 100 and / or the decoding device 200 described above.
제어부(3680)는, 터치스크린 상에서 행해지는 필기 입력 또는 그림 그리기 입력을 각각 문자 및 이미지로 인식할 수 있는 패턴 인식 처리를 행할 수 있다.The control unit 3680 may perform pattern recognition processing capable of recognizing handwriting input or picture drawing input performed on a touch screen as characters and images, respectively.
전원 공급부(3690)는, 제어부(3680)의 제어에 의해 외부의 전원, 내부의 전원을 인가받아 각 구성요소들의 동작에 필요한 전원을 공급한다.The power supply 3690 receives external power and internal power under the control of the control unit 3680 and supplies power required for the operation of each component.
여기에 설명되는 다양한 실시예는 예를 들어, 소프트웨어, 하드웨어 또는 이들의 조합된 것을 이용하여 컴퓨터 또는 이와 유사한 장치로 읽을 수 있는 기록매체 내에서 구현될 수 있다.The various embodiments described herein can be implemented in a computer- or similar device-readable recording medium using, for example, software, hardware, or a combination thereof.
하드웨어적인 구현에 의하면, 여기에 설명되는 실시예는 ASICs(application specific integrated circuits), DSPs(digital signal processors), DSPDs(digital signal processing devices), PLDs(programmable logic devices), FPGAs(field programmable gate arrays, 프로세서, 제어기, 마이크로 컨트롤러(micro-controllers), 마이크로 프로세서(microprocessors), 기타 기능 수행을 위한 전기적인 유닛 중 적어도 하나를 이용하여 구현될수 있다. 일부의 경우에 본 명세서에서 설명되는 실시예들이 제어부(3680) 자체로 구현될 수 있다.According to a hardware implementation, the embodiments described herein include application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), It may be implemented using at least one of a processor, a controller, micro-controllers, microprocessors, and electrical units for performing other functions.In some cases, the embodiments described herein may include a control unit ( 3680) can be implemented by itself.
소프트웨어적인 구현에 의하면, 본 명세서에서 설명되는 절차 및 기능과 같은 실시예들은 별도의 소프트웨어 모듈들로 구현될 수 있다. 소프트웨어 모듈들 각각은 본 명세서에서 설명되는 하나 이상의 기능 및 작동을 수행할 수 있다. 적절한 프로그램 언어로 쓰여진 소프트웨어 애플리케이션으로 소프트웨어 코드가 구현될 수 있다. 여기서, 소프트웨어 코드는, 메모리(3660)에 저장되고, 제어부(3680)에 의해 실행될 수 있다.According to the software implementation, embodiments such as procedures and functions described herein may be implemented as separate software modules. Each of the software modules can perform one or more functions and operations described herein. Software code can be implemented in a software application written in an appropriate programming language. Here, the software code is stored in the memory 3660 and can be executed by the control unit 3680.
도 37은 디지털 기기의 또 다른 실시 예를 설명하기 위해 도시한 구성 블록도이다.37 is a configuration block diagram illustrating another embodiment of a digital device.
디지털 기기(3700)의 다른 예는, 방송 수신부(3705), 외부장치 인터페이스부(3735), 저장부(3740), 사용자 입력 인터페이스부(3750), 제어부(3770), 디스플레이부(3780), 오디오 출력부(3785), 전원공급부(3790) 및 촬영부(미도시)를 포함할 수 있다. 여기서, 방송 수신부(3705)는, 적어도 하나의 튜너(3710), 복조부(3720) 및 네트워크 인터페이스부(3730)를 포함할 수 있다. 다만, 경우에 따라, 방송 수신부(3705)는 튜너(3710)와 복조부(3720)는 구비하나 네트워크 인터페이스부(3730)는 포함하지 않을 수 있으며 그 반대의 경우일 수도 있다. 또한, 방송 수신부(3705)는 도시되진 않았으나, 다중화부(multiplexer)를 구비하여 튜너(3710)를 거쳐 복조부(3720)에서 복조된 신호와 네트워크 인터페이스부(3730)를 거쳐 수신된 신호를 다중화할 수도 있다. 그 밖에 방송 수신부(4025)는 역시 도시되진 않았으나, 역다중화부(demultiplexer)를 구비하여 상기 다중화된 신호를 역다중화 하거나 상기 복조된 신호 또는 상기 네트워크 인터페이스부(3730)를 거친 신호를 역다중화할 수 있다.Other examples of the digital device 3700 include a broadcast receiving unit 3705, an external device interface unit 3735, a storage unit 3740, a user input interface unit 3750, a control unit 3770, a display unit 3780, audio It may include an output unit 385, a power supply unit 3790 and a photographing unit (not shown). Here, the broadcast reception unit 3705 may include at least one tuner 3710, a demodulation unit 3720, and a network interface unit 3730. However, in some cases, the broadcast receiving unit 3705 may include a tuner 3710 and a demodulator 3720, but may not include the network interface unit 3730, and vice versa. Also, although the broadcast receiving unit 3705 is not illustrated, a multiplexer is provided to multiplex the signal demodulated by the demodulator 3720 through the tuner 3710 and the signal received through the network interface unit 3730. It might be. In addition, although the broadcast receiving unit 4025 is not shown, a demultiplexer may be provided to demultiplex the multiplexed signal or demultiplex the demodulated signal or the signal that has passed through the network interface unit 3730. have.
튜너(3710)는, 안테나를 통해 수신되는 RF(radio frequency) 방송 신호 중 사용자에 의해 선택된 채널 또는 기저장된 모든 채널을 튜닝하여 RF 방송 신호를 수신한다. 또한, 튜너(3710)는, 수신된 RF 방송 신호를 중간 주파수(intermediate frequency, IF) 신호 혹은 베이스밴드(baseband) 신호로 변환한다.The tuner 3710 receives an RF broadcast signal by tuning a channel selected by a user or all pre-stored channels among radio frequency (RF) broadcast signals received through an antenna. In addition, the tuner 3710 converts the received RF broadcast signal into an intermediate frequency (IF) signal or a baseband signal.
예를 들어, 수신된 RF 방송 신호가 디지털 방송 신호이면 디지털 IF 신호(DIF)로 변환하고, 아날로그 방송 신호이면 아날로그 베이스밴드 영상 또는 음성 신호(CVBS/SIF)로 변환한다. 즉, 튜너(3710)는 디지털 방송 신호 또는 아날로그 방송 신호를 모두 처리할 수 있다. 튜너(3710)에서 출력되는 아날로그 베이스 밴드 영상 또는 음성 신호(CVBS/SIF)는 제어부(3770)로 직접 입력될 수 있다.For example, if the received RF broadcast signal is a digital broadcast signal, it is converted into a digital IF signal (DIF), and if it is an analog broadcast signal, it is converted into an analog baseband video or audio signal (CVBS / SIF). That is, the tuner 3710 can process both digital broadcast signals or analog broadcast signals. The analog baseband video or audio signal (CVBS / SIF) output from the tuner 3710 may be directly input to the controller 3770.
또한, 튜너(3710)는, ATSC(advanced television system committee) 방식에 따른 단일 캐리어의 RF 방송 신호 또는 DVB(digital video broadcasting) 방식에 따른 복수 캐리어의 RF 방송 신호를 수신할 수 있다.In addition, the tuner 3710 may receive a single carrier RF broadcast signal according to an advanced television system committee (ATSC) method or a multiple carrier RF broadcast signal according to a digital video broadcasting (DVB) method.
한편, 튜너(3710)는, 안테나를 통해 수신되는 RF 방송 신호 중 채널 기억 기능을 통하여 저장된 모든 방송 채널의 RF 방송 신호를 순차로 튜닝 및 수신하여 이를 중간 주파수 신호 혹은 베이스 밴드 신호로 변환할 수 있다.Meanwhile, the tuner 3710 may sequentially tune and receive RF broadcast signals of all broadcast channels stored through a channel storage function among RF broadcast signals received through an antenna, and convert them into an intermediate frequency signal or a baseband signal. .
복조부(3720)는, 튜너(3710)에서 변환된 디지털 IF 신호(DIF)를 수신하여 복조한다. 예를 들어, 튜너(3710)에서 출력되는 디지털 IF 신호가 ATSC 방식인 경우, 복조부(3720)는 예컨대, 8-VSB(8-vestigal side band) 복조를 수행한다. 또한, 복조부(3720)는 채널 복호화를 수행할 수도 있다. 이를 위해 복조부(3720)는 트렐리스 디코더(trellis decoder), 디인터리버(de-interleaver), 및 리드 솔로먼 디코더(Reed-Solomon decoder) 등을 구비하여, 트렐리스 복호화, 디인터리빙, 및 리드 솔로먼 복호화를 수행할 수 있다.The demodulator 3720 receives and demodulates the digital IF signal DIF converted by the tuner 3710. For example, when the digital IF signal output from the tuner 3710 is an ATSC method, the demodulator 3720 performs 8-vestigal side band (8-VSB) demodulation, for example. Also, the demodulator 3720 may perform channel decoding. To this end, the demodulator 3720 is equipped with a trellis decoder, a de-interleaver, a Reed-Solomon decoder, and the like, trellis decoding, deinterleaving, and Reed Soloman decoding can be performed.
예를 들어, 튜너(3710)에서 출력되는 디지털 IF 신호가 DVB 방식인 경우, 복조부(3720)는 예컨대, COFDMA(coded orthogonal frequency division modulation) 복조를 수행한다. 또한, 복조부(3720)는, 채널 복호화를 수행할 수도 있다. 이를 위해, 복조부(3720)는, 컨벌루션 디코더(convolution decoder), 디인터리버, 및 리드-솔로먼 디코더 등을 구비하여, 컨벌루션 복호화, 디인터리빙, 및 리드 솔로먼 복호화를 수행할 수 있다.For example, when the digital IF signal output from the tuner 3710 is a DVB method, the demodulator 3720 performs coded orthogonal frequency division modulation (COFDMA) demodulation, for example. Also, the demodulator 3720 may perform channel decoding. To this end, the demodulator 3720 may include a convolution decoder, a deinterleaver, and a Reed-Soloman decoder, and perform convolutional decoding, deinterleaving, and Reed Soloman decoding.
복조부(3720)는, 복조 및 채널 복호화를 수행한 후 스트림 신호(TS)를 출력할 수 있다. 이때, 스트림 신호는 영상 신호, 음성 신호 또는 데이터 신호가 다중화된 신호일 수 있다. 일 예로, 스트림 신호는 MPEG-2 규격의 영상 신호, 돌비(Dolby) AC-3 규격의 음성 신호 등이 다중화된 MPEG-2 TS(transport stream)일 수 있다. 구체적으로 MPEG-2 TS는, 4 바이트(byte)의 헤더(header)와 184 바이트의 페이로드(payload)를 포함할 수 있다.The demodulator 3720 may output a stream signal TS after demodulation and channel decoding. In this case, the stream signal may be a signal in which a video signal, an audio signal or a data signal is multiplexed. For example, the stream signal may be an MPEG-2 transport stream (TS) in which an MPEG-2 standard video signal and a Dolby AC-3 standard audio signal are multiplexed. Specifically, the MPEG-2 TS may include a header of 4 bytes and a payload of 184 bytes.
한편, 상술한 복조부(3720)는, ATSC 방식과, DVB 방식에 따라 각각 별개로 구비되는 것이 가능하다. 즉, 디지털 기기는 ATSC 복조부와 DVB 복조부를 각각 별개로 구비할 수 있다.On the other hand, the above-described demodulator 3720 may be provided separately according to the ATSC method and the DVB method. That is, the digital device may separately include an ATSC demodulator and a DVB demodulator.
복조부(3720)에서 출력한 스트림 신호는 제어부(3770)로 입력될 수 있다. 제어부(3770)는 역다중화, 영상/음성 신호 처리 등을 제어하고, 디스플레이부(3780)를 통해 영상을, 오디오 출력부(3785)를 통해 음성의 출력을 제어할 수 있다.The stream signal output from the demodulator 3720 may be input to the controller 3770. The control unit 3770 may control demultiplexing, image / audio signal processing, and the like, and control an image output through the display unit 3780 and an audio output unit through the audio output unit 3785.
외부장치 인터페이스부(3735)는 디지털 기기(3700)에 다양한 외부장치가 인터페이싱 되도록 환경을 제공한다. 이를 위해, 외부장치 인터페이스부(3735)는, A/V 입출력부(미도시) 또는 무선 통신부(미도시)를 포함할 수 있다.The external device interface unit 3735 provides an environment such that various external devices are interfaced to the digital device 3700. To this end, the external device interface unit 3735 may include an A / V input / output unit (not shown) or a wireless communication unit (not shown).
외부장치 인터페이스부(3735)는, DVD(digital versatile disk), 블루-레이(blu-ray), 게임기기, 카메라, 캠코더, 컴퓨터(노트북, 태블릿), 스마트폰, 블루투스 기기(bluetooth device), 클라우드(cloud) 등과 같은 외부 장치와 유/무선으로 접속될 수 있다. 외부장치 인터페이스부(3735)는 연결된 외부 장치를 통하여 외부에서 입력되는 영상, 음성 또는 데이터(이미지 포함) 신호를 디지털 기기의 제어부(3770)로 전달한다. 제어부(3770)는 처리된 영상, 음성 또는 데이터 신호를 연결된 외부 장치로 출력되도록 제어할 수 있다. 이를 위해, 외부장치 인터페이스부(3735)는, A/V 입출력부(미도시) 또는 무선 통신부(미도시)를 더 포함할 수 있다.The external device interface unit 3735 includes digital versatile disk (DVD), blu-ray, game devices, cameras, camcorders, computers (laptops, tablets), smartphones, Bluetooth devices, and cloud It can be connected to external devices such as (cloud) by wire / wireless. The external device interface unit 3735 transmits a video, audio, or data (including image) signal input from the outside through the connected external device to the controller 3770 of the digital device. The controller 3770 may control the processed video, audio, or data signal to be output to a connected external device. To this end, the external device interface unit 3735 may further include an A / V input / output unit (not shown) or a wireless communication unit (not shown).
A/V 입출력부는, 외부 장치의 영상 및 음성 신호를 디지털 기기(3700)로 입력할 수 있도록, USB 단자, CVBS(composite video banking sync) 단자, 컴포넌트 단자, S-비디오 단자(아날로그), DVI(digital visual interface) 단자, HDMI(high definition multimedia interface) 단자, RGB 단자, D-SUB 단자 등을 포함할 수 있다.A / V input / output unit, USB terminal, CVBS (composite video banking sync) terminal, component terminal, S-video terminal (analog), DVI (DVI) so that video and audio signals from external devices can be input to the digital device 3700. digital visual interface (HDMI) terminal, a high definition multimedia interface (HDMI) terminal, an RGB terminal, a D-SUB terminal, and the like.
무선 통신부는, 다른 전자기기와 근거리 무선 통신을 수행할 수 있다. 디지털 기기(3700)는 예를 들어, 블루투스(bluetooth), RFID(radio frequency identification), 적외선 통신(IrDA, infrared data association), UWB(ultra wideband), 지그비(ZigBee), DLNA(digital living network alliance) 등의 통신 프로토콜에 따라 다른 전자기기와 네트워크 연결될 수 있다.The wireless communication unit may perform short-range wireless communication with other electronic devices. The digital device 3700 includes, for example, Bluetooth, radio frequency identification (RFID), infrared data association (IrDA), ultra wideband (UWB), ZigBee, digital living network alliance (DLNA). Networks may be connected to other electronic devices according to a communication protocol.
또한, 외부장치 인터페이스부(3735)는, 다양한 셋톱-박스와 상술한 각종 단자 중 적어도 하나를 통해 접속되어, 셋톱-박스와 입력/출력 동작을 수행할 수도 있다.Also, the external device interface unit 3735 may be connected to at least one of various set-top boxes and various terminals described above, and perform input / output operations with the set-top box.
한편, 외부장치 인터페이스부(3735)는, 인접하는 외부장치 내의 애플리케이션 또는 애플리케이션 목록을 수신하여, 제어부(3770) 또는 저장부(3740)로 전달할 수 있다.Meanwhile, the external device interface unit 3735 may receive an application or a list of applications in an adjacent external device, and transmit it to the control unit 3770 or the storage unit 3740.
네트워크 인터페이스부(3730)는, 디지털 기기(3700)를 인터넷 망을 포함하는 유/무선 네트워크와 연결하기 위한 인터페이스를 제공한다. 네트워크 인터페이스부(3730)는, 유선 네트워크와의 접속을 위해 예를 들어, 이더넷(ethernet) 단자 등을 구비할 수 있으며, 무선 네트워크와의 접속을 위해 예를 들어, WLAN(wireless LAN)(Wi-Fi), Wibro(wireless broadband), Wimax(world interoperability for microwave access), HSDPA(high speed downlink packet access) 통신 규격 등을 이용할 수 있다.The network interface unit 3730 provides an interface for connecting the digital device 3700 with a wired / wireless network including an Internet network. The network interface unit 3730 may include, for example, an Ethernet terminal or the like for connection with a wired network, and for example, a wireless LAN (WLAN) (Wi-) for connection with a wireless network. Fi), wireless broadband (Wibro), world interoperability for microwave access (Wimax), and high speed downlink packet access (HSDPA) communication standards.
네트워크 인터페이스부(3730)는, 접속된 네트워크 또는 접속된 네트워크에 링크된 다른 네트워크를 통해, 다른 사용자 또는 다른 디지털 기기와 데이터를 송신 또는 수신할 수 있다. 특히, 디지털 기기(3700)에 미리 등록된 다른 사용자 또는 다른 디지털 기기 중 선택된 사용자 또는 선택된 디지털 기기에, 디지털 기기(3700)에 저장된 일부의 컨텐트 데이터를 송신할 수 있다.The network interface unit 3730 may transmit or receive data with other users or other digital devices through a connected network or another network linked to the connected network. In particular, some content data stored in the digital device 3700 may be transmitted to another user registered in advance in the digital device 3700 or a selected user among other digital devices or a selected digital device.
한편, 네트워크 인터페이스부(3730)는, 접속된 네트워크 또는 접속된 네트워크에 링크된 다른 네트워크를 통해, 소정 웹 페이지에 접속할 수 있다. 즉, 네트워크를 통해 소정 웹 페이지에 접속하여, 해당 서버와 데이터를 송신 또는 수신할 수 있다. 그 외, 컨텐트 제공자 또는 네트워크 운영자가 제공하는 컨텐트 또는 데이터들을 수신할 수 있다. 즉, 네트워크를 통하여 컨텐트 제공자 또는 네트워크 제공자로부터 제공되는 영화, 광고, 게임, VOD, 방송 신호 등의 컨텐트 및 그와 관련된 정보를 수신할 수 있다. 또한, 네트워크 운영자가 제공하는 펌웨어(firmware)의 업데이트 정보 및 업데이트 파일을 수신할 수 있다. 또한, 인터넷 또는 컨텐트 제공자 또는 네트워크 운영자에게 데이터들을 송신할 수 있다.On the other hand, the network interface unit 3730 may access a predetermined web page through a connected network or another network linked to the connected network. That is, it is possible to connect to a predetermined web page through a network, and transmit or receive data with the corresponding server. In addition, content or data provided by a content provider or a network operator may be received. That is, it is possible to receive content such as a movie, advertisement, game, VOD, broadcast signal, and related information provided by a content provider or a network provider through a network. Also, it is possible to receive update information and update files of firmware provided by a network operator. It can also send data to the Internet or content providers or network operators.
또한, 네트워크 인터페이스부(3730)는, 네트워크를 통해, 공중에 공개(open)된 애플리케이션들 중 원하는 애플리케이션을 선택하여 수신할 수 있다.Also, the network interface unit 3730 may select and receive a desired application from among applications that are open to the public through a network.
저장부(3740)는, 제어부(3770) 내의 각 신호 처리 및 제어를 위한 프로그램을 저장할 수도 있고, 신호 처리된 영상, 음성 또는 데이터 신호를 저장할 수도 있다.The storage unit 3740 may store programs for processing and controlling each signal in the control unit 3770, and may store signal-processed video, audio, or data signals.
또한, 저장부(3740)는 외부장치 인터페이스부(3735) 또는 네트워크 인터페이스부(3730)로부터 입력되는 영상, 음성, 또는 데이터 신호의 임시 저장을 위한 기능을 수행할 수도 있다. 저장부(3740)는, 채널 기억 기능을 통하여 소정 방송 채널에 관한 정보를 저장할 수 있다.Also, the storage unit 3740 may perform a function for temporarily storing video, audio, or data signals input from the external device interface unit 3735 or the network interface unit 3730. The storage unit 3740 may store information regarding a predetermined broadcast channel through a channel memory function.
저장부(3740)는, 외부장치 인터페이스부(3735) 또는 네트워크 인터페이스부(3730)로부터 입력되는 애플리케이션 또는 애플리케이션 목록을 저장할 수 있다.The storage unit 3740 may store an application or a list of applications input from the external device interface unit 3735 or the network interface unit 3730.
또한, 저장부(3740)는, 후술하여 설명하는 다양한 플랫폼(platform)을 저장할 수도 있다.Also, the storage unit 3740 may store various platforms described later.
저장부(3740)는, 예를 들어 플래시 메모리 타입(flash memory type), 하드디스크 타입(hard disk type), 멀티미디어 카드 마이크로 타입(multimedia card micro type), 카드 타입의 메모리(예를 들어 SD 또는 XD 메모리 등), 램(RAM), 롬(EEPROM 등) 중 적어도 하나의 타입의 저장매체를 포함할 수 있다. 디지털 기기(3700)는, 저장부(3740) 내에 저장되어 있는 컨텐트 파일(동영상 파일, 정지영상 파일, 음악 파일, 문서 파일, 애플리케이션 파일 등)을 재생하여 사용자에게 제공할 수 있다.The storage unit 3740 includes, for example, a flash memory type, a hard disk type, a multimedia card micro type, and a card type memory (for example, SD or XD) Memory, etc.), RAM (RAM), and ROM (EEPROM, etc.). The digital device 3700 may play and provide content files (video files, still image files, music files, document files, application files, etc.) stored in the storage unit 3740 to the user.
도 37은 저장부(3740)가 제어부(3770)와 별도로 구비된 실시 예를 도시하고 있으나, 본 명세서의 범위는 이에 한정되지 않는다. 즉, 저장부(3740)는 제어부(3770) 내에 포함될 수도 있다.37 illustrates an embodiment in which the storage unit 3740 is provided separately from the control unit 3770, the scope of the present specification is not limited thereto. That is, the storage unit 3740 may be included in the control unit 3770.
사용자 입력 인터페이스부(3750)는, 사용자가 입력한 신호를 제어부(3770)로 전달하거나, 제어부(3770)의 신호를 사용자에게 전달한다.The user input interface unit 3750 transmits a signal input by the user to the control unit 3770 or a signal from the control unit 3770 to the user.
예를 들어, 사용자 입력 인터페이스부(3750)는, RF 통신 방식, 적외선(IR) 통신 방식 등 다양한 통신 방식에 따라, 원격제어장치(3800)로부터 전원 온/오프, 채널 선택, 화면 설정 등의 제어 신호를 수신하여 처리하거나, 제어부(3770)의 제어 신호를 원격제어장치(3800)로 송신하도록 처리할 수 있다.For example, the user input interface unit 3750 controls power on / off, channel selection, and screen setting from the remote control device 3800 according to various communication methods such as RF communication method and infrared (IR) communication method. The signal may be received and processed or the control signal of the control unit 3770 may be transmitted to the remote control device 3800.
또한, 사용자 입력 인터페이스부(3750)는, 전원 키, 채널 키, 볼륨 키, 설정치 등의 로컬 키(미도시)에서 입력되는 제어 신호를 제어부(3770)에 전달할 수 있다.In addition, the user input interface unit 3750 may transmit a control signal input from a local key (not shown) such as a power key, a channel key, a volume key, and a set value to the controller 3770.
사용자 입력 인터페이스부(3750)는, 사용자의 제스처(gesture)를 센싱(sensing)하는 센싱부(미도시)로부터 입력되는 제어 신호를 제어부(3770)에 전달하거나, 제어부(3770)의 신호를 센싱부(미도시)로 송신할 수 있다. 여기서, 센싱부(미도시)는, 터치 센서, 음성 센서, 위치 센서, 동작 센서 등을 포함할 수 있다.The user input interface unit 3750 transmits a control signal input from a sensing unit (not shown) that senses a user's gesture to the control unit 3770 or senses a signal from the control unit 3770 (Not shown). Here, the sensing unit (not shown) may include a touch sensor, a voice sensor, a position sensor, and a motion sensor.
제어부(3770)는, 튜너(3710), 복조부(3720) 또는 외부장치 인터페이스부(3735)를 통하여 입력되는 스트림을 역다중화하거나 역다중화된 신호들을 처리하여, 영상 또는 음성 출력을 위한 신호를 생성 및 출력할 수 있다. 제어부(3770)는 전술한 인코딩 장치 및/또는 디코딩 장치를 포함할 수 있다.The controller 3770 de-multiplexes the stream input through the tuner 3710, the demodulator 3720, or the external device interface unit 3735 or processes the demultiplexed signals to generate a signal for video or audio output. And output. The control unit 3770 may include the aforementioned encoding device and / or decoding device.
제어부(3770)에서 처리된 영상 신호는, 디스플레이부(3780)로 입력되어 해당 영상 신호에 대응하는 영상으로 표시될 수 있다. 또한, 제어부(3770)에서 영상 처리된 영상 신호는 외부장치 인터페이스부(3735)를 통하여 외부 출력 장치로 입력될 수 있다.The image signal processed by the control unit 3770 may be input to the display unit 3780 and displayed as an image corresponding to the corresponding image signal. Also, the image signal processed by the control unit 3770 may be input to an external output device through the external device interface unit 3735.
제어부(3770)에서 처리된 음성 신호는 오디오 출력부(3785)로 오디오 출력될 수 있다. 또한, 제어부(3770)에서 처리된 음성 신호는 외부장치 인터페이스부(3735)를 통하여 외부 출력장치로 입력될 수 있다.The audio signal processed by the control unit 3770 may be audio output to the audio output unit 3785. In addition, the audio signal processed by the control unit 3770 may be input to an external output device through the external device interface unit 3735.
도 37에서는 도시되어 있지 않으나, 제어부(3770)는 역다중화부, 영상처리부 등을 포함할 수 있다.Although not illustrated in FIG. 37, the control unit 3770 may include a demultiplexing unit, an image processing unit, and the like.
제어부(3770)는, 디지털 기기(3700)의 전반적인 동작을 제어할 수 있다. 예를 들어, 제어부(3770)는, 튜너(3710)를 제어하여, 사용자가 선택한 채널 또는 기저장된 채널에 해당하는 RF 방송을 튜닝(tuning)하도록 제어할 수 있다.The control unit 3770 may control the overall operation of the digital device 3700. For example, the control unit 3770 may control the tuner 3710 to tune the RF broadcast corresponding to a channel selected by a user or a pre-stored channel.
제어부(3770)는, 사용자 입력 인터페이스부(3750)를 통하여 입력된 사용자 명령 또는 내부 프로그램에 의하여 디지털 기기(3700)를 제어할 수 있다. 특히, 네트워크에 접속하여 사용자가 원하는 애플리케이션 또는 애플리케이션 목록을 디지털 기기(3700) 내로 다운로드 받을 수 있도록 할 수 있다.The control unit 3770 may control the digital device 3700 by a user command input through the user input interface unit 3750 or an internal program. In particular, it is possible to access a network and download a desired application or application list into the digital device 3700.
예를 들어, 제어부(3770)는, 사용자 입력 인터페이스부(3750)를 통하여 수신한 소정 채널 선택 명령에 따라 선택한 채널의 신호가 입력되도록 튜너(3710)를 제어한다. 그리고 선택한 채널의 영상, 음성 또는 데이터 신호를 처리한다. 제어부(3770)는, 사용자가 선택한 채널 정보 등이 처리한 영상 또는 음성신호와 함께 디스플레이부(3780) 또는 오디오 출력부(3785)를 통하여 출력될 수 있도록 한다.For example, the control unit 3770 controls the tuner 3710 to input a signal of a selected channel according to a predetermined channel selection command received through the user input interface unit 3750. And it processes the video, audio or data signal of the selected channel. The control unit 3770 allows the channel information or the like selected by the user to be output through the display unit 3780 or the audio output unit 385 along with the processed image or audio signal.
다른 예로, 제어부(3770)는, 사용자 입력 인터페이스부(3750)를 통하여 수신한 외부장치 영상 재생 명령에 따라, 외부장치 인터페이스부(3735)를 통하여 입력되는 외부 장치, 예를 들어, 카메라 또는 캠코더로부터의, 영상 신호 또는 음성 신호가 디스플레이부(3780) 또는 오디오 출력부(3785)를 통해 출력될 수 있도록 한다.As another example, the control unit 3770 may be input from an external device input through the external device interface unit 3735, for example, a camera or camcorder, according to an external device image playback command received through the user input interface unit 3750. The video signal or the audio signal can be output through the display unit 3780 or the audio output unit 3785.
한편, 제어부(3770)는, 영상을 표시하도록 디스플레이부(3780)를 제어할 수 있다. 예를 들어, 튜너(3710)를 통해 입력되는 방송 영상, 또는 외부장치 인터페이스부(3735)를 통해 입력되는 외부 입력 영상, 또는 네트워크 인터페이스부를 통해 입력되는 영상, 또는 저장부(3740)에 저장된 영상을, 디스플레이부(3780)에 표시하도록 제어할 수 있다. 이때, 디스플레이부(3780)에 표시되는 영상은, 정지 영상 또는 동영상일 수 있으며, 2D 영상 또는 3D 영상일 수 있다.Meanwhile, the control unit 3770 may control the display unit 3780 to display an image. For example, a broadcast image input through the tuner 3710, an external input image input through the external device interface unit 3735, an image input through the network interface unit, or an image stored in the storage unit 3740. , It can be controlled to be displayed on the display unit 3780. At this time, the image displayed on the display unit 3780 may be a still image or a video, and may be a 2D image or a 3D image.
또한, 제어부(3770)는, 컨텐트를 재생하도록 제어할 수 있다. 이때의 컨텐트는, 디지털 기기(3700) 내에 저장된 컨텐트, 또는 수신된 방송 컨텐트, 외부로부터 입력되는 외부 입력 컨텐트일 수 있다. 컨텐트는, 방송 영상, 외부 입력 영상, 오디오 파일, 정지 영상, 접속된 웹 화면, 및 문서 파일 중 적어도 하나일 수 있다.Also, the control unit 3770 may control to play the content. The content at this time may be content stored in the digital device 3700, broadcast content received, or external input content input from the outside. The content may be at least one of a broadcast image, an external input image, an audio file, a still image, a connected web screen, and a document file.
한편, 제어부(3770)는, 애플리케이션 보기 항목에 진입하는 경우, 디지털 기기(3700) 내 또는 외부 네트워크로부터 다운로드 가능한 애플리케이션 또는 애플리케이션 목록을 표시하도록 제어할 수 있다.On the other hand, when entering the application view item, the controller 3770 may control to display a list of applications or applications that can be downloaded from the digital device 3700 or from an external network.
제어부(3770)는, 다양한 사용자 인터페이스와 더불어, 외부 네트워크로부터 다운로드 되는 애플리케이션을 설치 및 구동하도록 제어할 수 있다. 또한, 사용자의 선택에 의해, 실행되는 애플리케이션에 관련된 영상이 디스플레이부(3780)에 표시되도록 제어할 수 있다.The control unit 3770 may control to install and operate an application downloaded from an external network along with various user interfaces. Also, an image related to an application to be executed can be controlled to be displayed on the display unit 3780 by the user's selection.
한편, 도면에 도시하지 않았지만, 채널 신호 또는 외부 입력 신호에 대응하는 썸네일 이미지를 생성하는 채널 브라우징 처리부가 더 구비되는 것도 가능하다.On the other hand, although not shown in the drawing, it is also possible that a channel browsing processing unit for generating a thumbnail image corresponding to a channel signal or an external input signal is further provided.
채널 브라우징 처리부는, 복조부(3720)에서 출력한 스트림 신호(TS) 또는 외부장치 인터페이스부(3735)에서 출력한 스트림 신호 등을 입력받아, 입력되는 스트림 신호로부터 영상을 추출하여 썸네일 영상을 생성할 수 있다.The channel browsing processing unit receives a stream signal (TS) output from the demodulator 3720 or a stream signal output from the external device interface unit 3735, extracts an image from the input stream signal, and generates a thumbnail image. You can.
생성된 썸네일 영상은 그대로 또는 부호화되어 제어부(3770)로 입력될 수 있다. 또한, 생성된 썸네일 영상은 스트림 형태로 부호화되어 제어부(3770)로 입력되는 것도 가능하다. 제어부(3770)는 입력된 썸네일 영상을 이용하여 복수의 썸네일 영상을 구비하는 썸네일 리스트를 디스플레이부(3780)에 표시할 수 있다. 한편, 이러한 썸네일 리스트 내의 썸네일 영상들은 차례로 또는 동시에 업데이트 될 수 있다. 이에 따라 사용자는 복수의 방송 채널의 내용을 간편하게 파악할 수 있게 된다.The generated thumbnail image can be input to the control unit 3770 as it is or encoded. Also, the generated thumbnail image may be encoded in a stream form and input to the control unit 3770. The controller 3770 may display a list of thumbnails having a plurality of thumbnail images on the display unit 3780 using the input thumbnail images. Meanwhile, the thumbnail images in the thumbnail list can be updated sequentially or simultaneously. Accordingly, the user can easily grasp the contents of a plurality of broadcast channels.
디스플레이부(3780)는, 제어부(3770)에서 처리된 영상 신호, 데이터 신호, OSD 신호 또는 외부장치 인터페이스부(3735)에서 수신되는 영상 신호, 데이터 신호 등을 각각 R, G, B 신호로 변환하여 구동 신호를 생성한다.The display unit 3780 converts the image signal, data signal, OSD signal, or image signal received from the external device interface unit 3735 processed by the control unit 3770 into R, G, and B signals, respectively. Generate a drive signal.
디스플레이부(3780)는 PDP, LCD, OLED, 플렉시블 디스플레이(flexible display), 3차원 디스플레이(3D display) 등이 가능할 수 있다.The display unit 3780 may be a PDP, LCD, OLED, flexible display, 3D display, or the like.
한편, 디스플레이부(3780)는, 터치 스크린으로 구성되어 출력 장치 이외에 입력 장치로 사용되는 것도 가능하다.Meanwhile, the display unit 3780 may be configured as a touch screen and used as an input device in addition to an output device.
오디오 출력부(3785)는, 제어부(3770)에서 음성 처리된 신호, 예를 들어, 스테레오 신호, 3.1 채널 신호 또는 5.1 채널 신호를 입력받아 음성으로 출력한다. 음성 출력부(3785)는 다양한 형태의 스피커로 구현될 수 있다.The audio output unit 3785 receives a signal processed by the control unit 3770, for example, a stereo signal, a 3.1 channel signal, or a 5.1 channel signal, and outputs the audio. The audio output unit 3785 may be implemented as various types of speakers.
한편, 사용자의 제스처를 감지하기 위해, 상술한 바와 같이, 터치 센서, 음성 센서, 위치 센서, 동작 센서 중 적어도 하나를 구비하는 센싱부(미도시)가 디지털 기기(3700)에 더 구비될 수 있다. 센싱부(미도시)에서 감지된 신호는 사용자입력 인터페이스부(3750)를 통해 제어부(3770)로 전달될 수 있다.Meanwhile, in order to sense a user's gesture, as described above, a sensing unit (not shown) having at least one of a touch sensor, a voice sensor, a position sensor, and a motion sensor may be further provided in the digital device 3700. . The signal detected by the sensing unit (not shown) may be transmitted to the control unit 3770 through the user input interface unit 3750.
한편, 사용자를 촬영하는 촬영부(미도시)가 더 구비될 수 있다. 촬영부(미도시)에서 촬영된 영상 정보는 제어부(3770)에 입력될 수 있다.Meanwhile, a photographing unit (not shown) for photographing a user may be further provided. Image information photographed by the photographing unit (not shown) may be input to the control unit 3770.
제어부(3770)는, 촬영부(미도시)로부터 촬영된 영상, 또는 센싱부(미도시)로부터의 감지된 신호를 각각 또는 조합하여 사용자의 제스처를 감지할 수도 있다.The control unit 3770 may detect a user's gesture by individually or in combination with an image captured by a photographing unit (not shown) or a detected signal from a sensing unit (not shown).
전원 공급부(3790)는, 디지털 기기(3700) 전반에 걸쳐 해당 전원을 공급한다.The power supply unit 3790 supplies the corresponding power to the entire digital device 3700.
특히, 시스템 온 칩(system on chip, SOC)의 형태로 구현될 수 있는 제어부(3770)와, 영상 표시를 위한 디스플레이부(3780), 및 오디오 출력을 위한 오디오 출력부(3785)에 전원을 공급할 수 있다.Particularly, power is supplied to a control unit 3770 that can be implemented in the form of a system on chip (SOC), a display unit 3780 for displaying an image, and an audio output unit 3785 for audio output. You can.
이를 위해, 전원 공급부(3790)는, 교류 전원을 직류 전원으로 변환하는 컨버터(미도시)를 구비할 수 있다. 한편, 예를 들어, 디스플레이부(3780)가 다수의 백라이트 램프를 구비하는 액정패널로서 구현되는 경우, 휘도 가변 또는 디밍(dimming) 구동을 위해, PWM 동작 가능한 인버터(미도시)를 더 구비할 수도 있다.To this end, the power supply unit 3790 may include a converter (not shown) that converts AC power into DC power. On the other hand, for example, when the display unit 3780 is implemented as a liquid crystal panel having a plurality of backlight lamps, a PWM-operable inverter (not shown) may be further provided for driving luminance or dimming. have.
원격제어장치(3800)는, 사용자 입력을 사용자입력 인터페이스부(3750)로 송신한다. 이를 위해, 원격제어장치(3800)는, 블루투스(bluetooth), RF(radio frequency) 통신, 적외선(IR) 통신, UWB(Ultra Wideband), 지그비(ZigBee) 방식 등을 사용할 수 있다.The remote control device 3800 transmits a user input to the user input interface unit 3750. To this end, the remote control device 3800, Bluetooth (bluetooth), RF (radio frequency) communication, infrared (IR) communication, UWB (Ultra Wideband), ZigBee (ZigBee) method can be used.
또한, 원격제어장치(3800)는, 사용자입력 인터페이스부(3750)에서 출력한 영상, 음성 또는 데이터 신호 등을 수신하여, 이를 원격제어장치(3800)에서 표시하거나 음성 또는 진동을 출력할 수 있다.In addition, the remote control device 3800 may receive an image, audio or data signal output from the user input interface unit 3750, display it on the remote control device 3800, or output voice or vibration.
상술한 디지털 기기(3700)는, 고정형 또는 이동형의 ATSC 방식 또는 DVB 방식의 디지털 방송 신호의 처리가 가능한 디지털 방송 수신기일 수 있다.The digital device 3700 described above may be a digital broadcast receiver capable of processing a fixed or mobile ATSC type or DVB type digital broadcast signal.
그 밖에 본 명세서에 따른 디지털 기기는 도시된 구성 중 필요에 따라 일부 구성을 생략하거나 반대로 도시되진 않은 구성을 더 포함할 수도 있다. 한편, 디지털 기기는 상술한 바와 달리, 튜너와 복조부를 구비하지 않고, 네트워크 인터페이스부 또는 외부장치 인터페이스부를 통해서 컨텐트를 수신하여 재생할 수도 있다.In addition, the digital device according to the present specification may omit some components or further include components not illustrated, as required. On the other hand, as described above, the digital device does not have a tuner and a demodulator, and may receive and play content through a network interface unit or an external device interface unit.
도 38은 도 35 내지 도 37의 제어부의 상세 구성의 일 실시예를 설명하기 위해 도시한 구성 블록도이다.38 is a block diagram illustrating a detailed configuration of the control unit of FIGS. 35 to 37 to illustrate one embodiment.
제어부의 일 예는, 역다중화부(3810), 영상 처리부(3820), OSD(on-screen display) 생성부(3840), 믹서(mixer)(3850), 프레임 레이트 변환부(frame rate converter, FRC)(3855), 및 포맷터(formatter)(3860)를 포함할 수 있다. 그 외 상기 제어부는 도시되진 않았으나 음성 처리부와 데이터 처리부를 더 포함할 수 있다.Examples of the control unit, demultiplexing unit 3810, image processing unit 3820, on-screen display (OSD) generating unit 3840, mixer (mixer) 3850, frame rate converter (FRC) ) 3855, and a formatter 3860. In addition, although not illustrated, the control unit may further include a voice processing unit and a data processing unit.
역다중화부(3810)는, 입력되는 스트림을 역다중화한다. 예를 들어, 역다중화부(3810)는 입력되는 MPEG-2 TS 영상, 음성 및 데이터 신호로 역다중화할 수 있다. 여기서, 역다중화부(3810)에 입력되는 스트림 신호는, 튜너 또는 복조부 또는 외부장치 인터페이스부에서 출력되는 스트림 신호일 수 있다.The demultiplexing unit 3810 demultiplexes the input stream. For example, the demultiplexer 3810 may demultiplex the input MPEG-2 TS video, audio, and data signals. Here, the stream signal input to the demultiplexer 3810 may be a stream signal output from a tuner or demodulator or an external device interface.
영상 처리부(3820)는, 역다중화된 영상 신호의 영상 처리를 수행한다. 이를 위해, 영상 처리부(3820)는, 영상 디코더(3825) 및 스케일러(3835)를 구비할 수 있다.The image processing unit 3820 performs image processing of the demultiplexed image signal. To this end, the image processing unit 3820 may include an image decoder 3825 and a scaler 3835.
영상 디코더(3825)는 역다중화된 영상 신호를 복호하며, 스케일러(3835)는 복호된 영상 신호의 해상도를 디스플레이부에서 출력 가능하도록 스케일링(scaling)한다.The video decoder 3825 decodes the demultiplexed video signal, and the scaler 3835 scales the resolution of the decoded video signal to be output from the display unit.
영상 디코더(3825)는 다양한 규격을 지원할 수 있다. 예를 들어, 영상 디코더(3825)는 영상 신호가 MPEG-2 규격으로 부호화된 경우에는 MPEG-2 디코더의 기능을 수행하고, 영상 신호가 DMB(digital multimedia broadcasting) 방식 또는 H.264 규격으로 부호화된 경우에는 H.264 디코더의 기능을 수행할 수 있다.The video decoder 3825 may support various standards. For example, the video decoder 3825 performs the function of the MPEG-2 decoder when the video signal is encoded in the MPEG-2 standard, and the video signal is encoded in the digital multimedia broadcasting (DMB) method or the H.264 standard. In this case, the function of the H.264 decoder can be performed.
한편, 영상 처리부(3820)에서 복호된 영상 신호는, 믹서(3850)로 입력된다.Meanwhile, the video signal decoded by the video processing unit 3820 is input to the mixer 3850.
OSD 생성부(3840)는, 사용자 입력에 따라 또는 자체적으로 OSD 데이터를 생성한다. 예를 들어, OSD 생성부(3840)는 사용자입력 인터페이스부의 제어 신호에 기초하여 디스플레이부의 화면에 각종 데이터를 그래픽(graphic)이나 텍스트(text) 형태로 표시하기 위한 데이터를 생성한다. 생성되는 OSD 데이터는, 디지털 기기의 사용자 인터페이스 화면, 다양한 메뉴 화면, 위젯(widget), 아이콘(icon), 시청률 정보(viewing rate information) 등의 다양한 데이터를 포함한다.The OSD generation unit 3840 generates OSD data according to a user input or by itself. For example, the OSD generating unit 3840 generates data for displaying various data on a screen of a display unit in a graphic or text form based on a control signal of the user input interface unit. The generated OSD data includes various data such as a user interface screen of a digital device, various menu screens, widgets, icons, and viewing rate information.
OSD 생성부(3840)는, 방송 영상의 자막 또는 EPG에 기반한 방송 정보를 표시하기 위한 데이터를 생성할 수도 있다.The OSD generator 3840 may generate data for displaying subtitles of broadcast images or broadcast information based on EPG.
믹서(3850)는, OSD 생성부(3840)에서 생성된 OSD 데이터와 영상 처리부에서 영상 처리된 영상 신호를 믹싱하여 포맷터(3860)로 제공한다. 복호된 영상 신호와 OSD 데이터가 믹싱됨으로 인하여, 방송 영상 또는 외부 입력 영상 상에 OSD가 오버레이(overlay) 되어 표시된다.The mixer 3850 mixes the OSD data generated by the OSD generating unit 3840 and the image signal processed by the image processing unit and provides it to the formatter 3860. Because the decoded video signal and OSD data are mixed, the OSD is displayed overlaid on the broadcast video or the external input video.
프레임 레이트 변환부(FRC)(3855)는, 입력되는 영상의 프레임 레이트(frame rate)를 변환한다. 예를 들어, 프레임 레이트 변환부(3855)는 입력되는 60Hz 영상의 프레임 레이트를 디스플레이부의 출력 주파수에 따라 예를 들어, 120Hz 또는 240Hz의 프레임 레이트를 가지도록 변환할 수 있다. 상기와 같이, 프레임 레이트를 변환하는 방법에는 다양한 방법이 존재할 수 있다. 일 예로, 프레임 레이트 변환부(3855)는 프레임 레이트를 60Hz에서 120Hz로 변환하는 경우, 제1 프레임과 제2 프레임 사이에 동일한 제1 프레임을 삽입하거나, 제1 프레임과 제2 프레임으로부터 예측된 제3 프레임을 삽입함으로써 변환할 수 있다. 다른 예로, 프레임 레이트 변환부(3855)는 프레임 레이트를 60Hz에서 240Hz로 변환하는 경우, 기존 프레임 사이에 동일한 프레임 또는 예측된 프레임을 3개 더 삽입하여 변환할 수 있다. 한편, 별도의 프레임 변환을 수행하지 않는 경우에는 프레임 레이트 변환부(3855)를 바이패스(bypass) 할 수도 있다.A frame rate converter (FRC) 3855 converts a frame rate of an input video. For example, the frame rate converter 3855 may convert the input 60Hz image frame rate to have a frame rate of, for example, 120Hz or 240Hz, depending on the output frequency of the display unit. As described above, various methods may exist in the method for converting the frame rate. For example, when the frame rate converter 3855 converts the frame rate from 60 Hz to 120 Hz, the same first frame is inserted between the first frame and the second frame, or the first frame and the second frame are predicted from the first frame. It can be converted by inserting 3 frames. As another example, when the frame rate converter 3855 converts the frame rate from 60 Hz to 240 Hz, three or more identical frames or predicted frames may be inserted and converted between existing frames. Meanwhile, if a separate frame conversion is not performed, the frame rate conversion unit 3855 may be bypassed.
포맷터(3860)는, 입력되는 프레임 레이트 변환부(3855)의 출력을 디스플레이부의 출력 포맷에 맞게 변경한다. 예를 들어, 포맷터(3860)는 R, G, B 데이터 신호를 출력할 수 있으며, 이러한 R, G, B 데이터 신호는, 낮은 전압 차분 신호(low voltage differential signaling, LVDS) 또는 mini-LVDS로 출력될 수 있다. 또한, 포맷터(3860)는 입력되는 프레임 레이트 변환부(3855)의 출력이 3D 영상 신호인 경우에는 디스플레이부의 출력 포맷에 맞게 3D 형태로 구성하여 출력함으로써, 디스플레이부를 통해 3D 서비스를 지원할 수도 있다.The formatter 3860 changes the output of the input frame rate conversion unit 3855 to match the output format of the display unit. For example, the formatter 3860 may output R, G, and B data signals, and the R, G, and B data signals may be output as low voltage differential signaling (LVDS) or mini-LVDS Can be. In addition, when the output of the input frame rate conversion unit 3855 is a 3D video signal, the formatter 3860 may support 3D service through the display unit by configuring and outputting a 3D format according to the output format of the display unit.
한편, 제어부 내 음성 처리부(미도시)는, 역다중화된 음성 신호의 음성 처리를 수행할 수 있다. 이러한 음성 처리부(미도시)는 다양한 오디오 포맷을 처리하도록 지원할 수 있다. 일 예로, 음성 신호가 MPEG-2, MPEG-4, AAC, HE-AAC, AC-3, BSAC 등의 포맷으로 부호화된 경우에도 이에 대응되는 디코더를 구비하여 처리할 수 있다.Meanwhile, a voice processing unit (not shown) in the control unit may perform voice processing of a demultiplexed voice signal. The voice processing unit (not shown) may support various audio formats. For example, even when an audio signal is encoded in formats such as MPEG-2, MPEG-4, AAC, HE-AAC, AC-3, BSAC, a decoder corresponding thereto may be provided and processed.
또한, 제어부 내 음성 처리부(미도시)는, 베이스(base), 트레블(treble), 음량 조절 등을 처리할 수 있다.In addition, the voice processing unit (not shown) in the control unit may process a base, treble, volume control, and the like.
제어부 내 데이터 처리부(미도시)는, 역다중화된 데이터 신호의 데이터 처리를 수행할 수 있다. 예를 들어, 데이터 처리부는 역다중화된 데이터 신호가 부호화된 경우에도 이를 복호할 수 있다. 여기서, 부호화된 데이터 신호로는, 각 채널에서 방영되는 방송 프로그램의 시작시각, 종료시각 등의 방송 정보가 포함된 EPG 정보일 수 있다.The data processing unit (not shown) in the control unit may perform data processing of the demultiplexed data signal. For example, the data processing unit can decode the demultiplexed data signal even when it is encoded. Here, the encoded data signal may be EPG information including broadcast information such as a start time and an end time of a broadcast program broadcast on each channel.
한편, 상술한 디지털 기기는 본 명세서에 따른 예시로서, 각 구성요소는 실제 구현되는 디지털 기기의 사양에 따라 통합, 추가, 또는 생략될 수 있다. 즉, 필요에 따라, 2 이상의 구성요소가 하나의 구성요소로 합쳐지거나 하나의 구성요소가 2 이상의 구성요소로 세분화될 수 있다. 또한, 각 블록에서 수행하는 기능은 본 명세서의 실시예를 설명하기 위한 것이며, 그 구체적인 동작이나 장치는 본 명세서의 권리범위를 제한하지 아니한다.Meanwhile, the above-described digital device is an example according to the present specification, and each component may be integrated, added, or omitted depending on the specification of the actual digital device. That is, if necessary, two or more components may be combined into one component, or one component may be subdivided into two or more components. In addition, the function performed in each block is for describing an embodiment of the present specification, and the specific operation or device does not limit the scope of the present specification.
한편, 디지털 기기는, 장치 내에 저장된 영상 또는 입력되는 영상의 신호 처리를 수행하는 영상신호 처리장치일 수 있다. 영상신호 처리장치의 다른 예로는, 도 37에서 도시된 디스플레이부(3780)와 오디오 출력부(3785)가 제외된 셋톱-박스(STB), 상술한 DVD 플레이어, 블루-레이 플레이어, 게임기기, 컴퓨터 등이 더 예시될 수 있다.Meanwhile, the digital device may be an image signal processing device that performs signal processing of an image stored in the device or an input image. As another example of the video signal processing apparatus, the display unit 3780 and the audio output unit 3785 shown in FIG. 37 are excluded from the set-top box (STB), the above-described DVD player, Blu-ray player, game device, computer And the like can be further exemplified.
도 39는 일 실시예에 따른 디지털 기기의 스크린이 메인 영상(main image)과 보조 영상(sub image)을 동시에 디스플레이 하는 일 예시를 도시하는 도면이다.39 is a diagram illustrating an example in which a screen of a digital device displays a main image and a sub image simultaneously, according to an embodiment.
일 실시예에 따른 디지털 기기는 스크린(3900)에 메인 영상(3910)과 보조 영상(3920)을 동시에 디스플레이 할 수 있다. 메인 영상(3910)은 제1 영상이라 불릴 수 있고, 보조 영상(3920)은 제2 영상이라 불릴 수 있다. 메인 영상(3910)과 보조 영상(3920)은 동영상, 스틸 이미지, EPG(electronic program guide), GUI(graphical user interface), OSD(on-screen display) 등을 포함할 수 있고, 이에 한정되지 않는다. 메인 영상(3910)은 전자 장치의 스크린(3900)에 보조 영상(3920)과 동시에 디스플레이 되면서 전자 장치의 스크린(3900) 보다 크기가 상대적으로 작은 영상을 의미할 수 있으며, PIP(picture in picture)로 지칭되기도 한다. 도 39에서는 메인 영상(3910)이 디지털 기기의 스크린(3900)의 좌측 상단에 디스플레이 되는 것으로 도시되어 있으나, 메인 영상(3910)이 디스플레이 되는 위치는 이에 한정되지 않고, 메인 영상(3910)은 디지털 기기의 스크린(3900) 내의 임의의 위치에서 디스플레이 될 수 있다. The digital device according to an embodiment may simultaneously display the main image 3910 and the auxiliary image 3920 on the screen 3900. The main image 3910 may be called a first image, and the auxiliary image 3920 may be called a second image. The main image 3910 and the auxiliary image 3920 may include, but are not limited to, moving images, still images, electronic program guide (EPG), graphical user interface (GUI), on-screen display (OSD), and the like. The main image 3910 may be an image that is relatively smaller in size than the screen 3900 of the electronic device while being simultaneously displayed with the auxiliary image 3920 on the screen 3900 of the electronic device, and may be referred to as a picture in picture (PIP). Also referred to as. In FIG. 39, the main image 3910 is illustrated as being displayed on the upper left of the screen 3900 of the digital device, but the location where the main image 3910 is displayed is not limited thereto, and the main image 3910 is a digital device. It can be displayed at any location within the screen 3900 of.
메인 영상(3910)과 보조 영상(3920)은 상호 직접 또는 간접적으로 관련될 수 있다. 일 예시로, 메인 영상(3910)은 스트리밍(streaming) 동영상이고, 보조 영상(3920)은 스트리밍 동영상과 유사한 정보를 포함하는 동영상들의 썸네일(thumbnail)들을 순차로 디스플레이 하는 GUI일 수 있다. 다른 예시로, 메인 영상(3910)은 방송 영상(broadcasted image)이고, 보조 영상(3920)은 EPG일 수 있다. 또 다른 예시로, 메인 영상(3910)은 방송 영상이고, 보조 영상(3920)은 GUI일 수 있다. 메인 영상(3910)과 보조 영상(3920)의 예시는 이에 한정되지 않는다.The main image 3910 and the auxiliary image 3920 may be directly or indirectly related to each other. As an example, the main image 3910 is a streaming video, and the auxiliary image 3920 may be a GUI that sequentially displays thumbnails of videos including information similar to the streaming video. As another example, the main image 3910 may be a broadcasted image, and the auxiliary image 3920 may be an EPG. As another example, the main image 3910 may be a broadcast image, and the auxiliary image 3920 may be a GUI. Examples of the main image 3910 and the auxiliary image 3920 are not limited thereto.
일 실시예에서, 메인 영상(3910)은 방송 채널(broadcasting channel)을 통해 수신한 방송 영상(broadcasting image)이고, 보조 영상(3920)은 방송 채널을 통해 수신한 방송 영상과 관련된 정보일 수 있다. 방송 채널을 통해 수신한 방송 영상과 관련된 정보는, 예를 들어 종합 채널 편성표, 방송 프로그램 상세 정보 등을 포함하는 EPG 정보, 방송 프로그램 다시 보기 정보 등을 포함할 수 있으며, 이에 한정되지 않는다.In one embodiment, the main image 3910 is a broadcast image received through a broadcasting channel, and the auxiliary image 3920 may be information related to a broadcast image received through a broadcast channel. Information related to a broadcast video received through a broadcast channel may include, for example, EPG information including a comprehensive channel schedule, broadcast program detailed information, and broadcast program review information, but is not limited thereto.
다른 일 실시예에서, 메인 영상(3910)은 방송 채널을 통해 수신한 방송 영상이고, 보조 영상(3920)은 디지털 기기에 기저장된 정보에 기초하여 생성된 영상일 수 있다. 디지털 기기에 기 저장된 정보에 기초하여 생성된 영상은, 예를 들어 EPG의 기본 UI(User Interface), 기본 채널 정보, 영상 해상도(resolution) 조작 UI, 취침 예약 UI 등을 포함할 수 있으며, 이에 한정되지 않는다.In another embodiment, the main image 3910 is a broadcast image received through a broadcast channel, and the auxiliary image 3920 may be an image generated based on information pre-stored in a digital device. The image generated based on the information pre-stored in the digital device may include, for example, a basic user interface (UI) of the EPG, basic channel information, an image resolution manipulation UI, and a bedtime reservation UI. Does not work.
또 다른 일 실시예에서, 메인 영상(3910)은 방송 채널을 통해 수신한 방송 영상이고, 보조 영상(3920)은 네트워크 망을 통해 수신한, 방송 영상과 관련된 정보일 수 있다. 네트워크망을 통해 수신한, 방송 영상과 관련된 정보는, 예를 들어 네트워크에 기반한 검색 엔진을 통해 획득된 정보일 수 있다. 보다 구체적으로 예를 들면, 네트워크에 기반한 검색 엔진을 통해 현재 메인 영상(3910)에 디스플레이 되고 있는 등장 인물과 관련된 정보가 획득될 수 있다. In another embodiment, the main image 3910 is a broadcast image received through a broadcast channel, and the auxiliary image 3920 may be information related to a broadcast image received through a network. The information related to the broadcast image received through the network may be, for example, information obtained through a network-based search engine. More specifically, for example, information related to a character currently being displayed on the main image 3910 may be obtained through a network-based search engine.
그러나 예시는 이에 한정되지 않으며, 네트워크망을 통해 수신한, 방송 영상과 관련된 정보는 예를 들어 인공지능(artificial intelligence, AI) 시스템을 사용함으로써 획득될 수 있다. 보다 구체적으로 예를 들면, 네트워크에 기반한 딥러닝(deep-learning)을 이용하여 현재 메인 영상(3910)에 디스플레이 되고 있는 장소의 지도상 추정 위치(estimated-location in map)가 획득될 수 있고, 디지털 기기는 네트워크 망을 통하여, 현재 메인 영상(3910)에 디스플레이 되고 있는 장소의 지도상 추정 위치에 관한 정보를 수신할 수 있다.However, the example is not limited to this, and information related to a broadcast image received through a network may be obtained by using, for example, an artificial intelligence (AI) system. More specifically, for example, an estimated-location in map of a place currently being displayed on the main image 3910 can be obtained by using network-based deep-learning, and digital The device may receive information about the estimated location on the map of the place currently being displayed on the main image 3910 through the network.
일 실시예에 따른 디지털 기기는 외부로부터 메인 영상(3910)의 영상 정보 및 보조 영상(3920)의 영상 정보 중 적어도 하나를 수신할 수 있다. 메인 영상(3910)의 영상 정보는 예를 들어 방송 채널(broadcasting channel)을 통해 수신한 방송 신호(broadcasting signal), 메인 영상(3910)의 소스 코드(source code) 정보, 네트워크 망을 통해 수신한 메인 영상(3910)의 IP 패킷(internet protocol packet) 정보 등을 포함할 수 있으며, 이에 한정되지 않는다. 마찬가지로, 보조 영상(3920)의 영상 정보는, 예를 들어 방송 채널을 통해 수신한 방송 신호, 보조 영상(3920)의 소스 코드 정보, 네트워크 망을 통해 수신한 보조 영상(3920)의 IP 패킷 정보 등을 포함할 수 있으며, 이에 한정되지 않는다. 디지털 기기는 외부로부터 수신된 메인 영상(3910)의 영상 정보 또는 보조 영상(3920)의 영상 정보를 디코딩하여 이용할 수 있다. 다만, 경우에 따라서 디지털 기기는 메인 영상(3910)의 영상 정보 또는 보조 영상(3920)의 영상 정보를 내부에 자체적으로 저장하고 있을 수도 있다.The digital device according to an embodiment may receive at least one of image information of the main image 3910 and image information of the auxiliary image 3920 from the outside. The video information of the main video 3910 includes, for example, a broadcast signal received through a broadcasting channel, a source code information of the main video 3910, and a main received through a network network. IP packet (internet protocol packet) information of the image 3910 may be included, but is not limited thereto. Similarly, the video information of the secondary video 3920 includes, for example, a broadcast signal received through a broadcast channel, source code information of the secondary video 3920, IP packet information of the secondary video 3920 received through a network, etc. It may include, but is not limited to. The digital device may decode and use video information of the main video 3910 or video information of the secondary video 3920 received from the outside. However, in some cases, the digital device may store image information of the main image 3910 or image information of the auxiliary image 3920 internally.
디지털 기기는 메인 영상(3910)의 영상 정보 및 보조 영상(3920)과 관련된 정보에 기초하여, 메인 영상(3910)과 보조 영상(3920)을 디지털 기기의 스크린(3900)에 디스플레이 할 수 있다. The digital device may display the main image 3910 and the auxiliary image 3920 on the screen 3900 of the digital device based on the image information of the main image 3910 and information related to the auxiliary image 3920.
일 예시에서, 디지털 기기의 디코딩 장치(200)는 메인 영상 디코딩 장치와 보조 영상 디코딩 장치를 포함하고, 메인 영상 디코딩 장치와 보조 영상 디코딩 장치는 각각 메인 영상(3910)의 영상 정보와 보조 영상(3920)의 영상 정보를 디코딩 할 수 있다. 렌더러는 메인 영상 렌더러(제1 렌더러)와 보조 영상 렌더러(제2 렌더러)를 포함하고, 메인 영상 렌더러는 메인 영상 디코딩 장치에서 디코딩 된 정보에 기초하여 메인 영상(3910)을 디지털 기기의 스크린(3900)의 제1 영역에 디스플레이되도록 할 수 있고, 보조 영상 렌더러는 보조 영상 디코딩 장치에서 디코딩 된 정보에 기초하여 보조 영상(3920)을 디지털 기기의 스크린(3900)의 제2 영역에 디스플레이되도록 할 수 있다.In one example, the decoding apparatus 200 of the digital device includes a main image decoding apparatus and an auxiliary image decoding apparatus, and the main image decoding apparatus and the auxiliary image decoding apparatus are image information and auxiliary image 3920 of the main image 3910, respectively. ) Can decode video information. The renderer includes a main image renderer (first renderer) and an auxiliary image renderer (second renderer), and the main image renderer displays the main image 3910 on the screen of the digital device (3900) based on information decoded by the main image decoding device. ), And the auxiliary image renderer may display the auxiliary image 3920 in the second area of the screen 3900 of the digital device based on the information decoded by the auxiliary image decoding device. .
또 다른 예시에서, 디지털 기기의 디코딩 장치(200)는 메인 영상(3910)의 영상 정보와 보조 영상(3920)의 영상 정보를 디코딩 할 수 있다. 디코딩 장치(200)에서 디코딩된 정보에 기초하여, 렌더러는 메인 영상(3910) 및 보조 영상(3920)을 함께 처리하여 동시에 디지털 기기의 스크린(3900)에 디스플레이되도록 할 수 있다.In another example, the decoding apparatus 200 of the digital device may decode image information of the main image 3910 and image information of the auxiliary image 3920. Based on the information decoded by the decoding apparatus 200, the renderer may process the main image 3910 and the auxiliary image 3920 together to be simultaneously displayed on the screen 3900 of the digital device.
즉, 본 문서에 따르면, 디지털 기기에서 영상 서비스 처리 방법을 제공할 수 있다. 상기 영상 서비스 처리 방법에 따르면, 영상 정보를 수신하는 단계, 상기 영상 정보를 기반으로 (메인) 영상을 디코딩하는 단계, 디코딩된 영상을 디스플레이 내 제1 영역에 렌더링 또는 디스플레이하는 단계, 디스플레이 내 제2 영역에 보조 영상을 렌더링 또는 디스플레이하는 단계를 포함할 수 있다. 이 경우 제1 영상을 디코딩하는 단계는, 상술한 도 3에 따른 디코딩 장치(200)에서의 디코딩 절차를 따를 수 있다. 예를 들어, 상술한 바와 같이, 제1 영상을 디코딩하는 단계는 인터 또는 인트라 예측을 기반으로 현재 블록에 대한 예측 샘플들을 도출하는 단계, 수신된 레지듀얼 정보를 기반으로 현재 블록에 대한 레지듀얼 샘플들을 도출하는 단계(생략 가능) 및 예측 샘플들 및/또는 레지듀얼 샘플들을 기반으로 복원 샘플들을 생성하는 단계를 포함할 수 있다. 추가적으로 제1 영상을 디코딩하는 단계는 복원 샘플들을 포함하는 복원 픽처에 인루프 필터링 절차를 수행하는 것을 포함할 수도 있다. That is, according to this document, it is possible to provide a method for processing an image service in a digital device. According to the image service processing method, receiving image information, decoding a (main) image based on the image information, rendering or displaying the decoded image in a first area on the display, and second in the display And rendering or displaying an auxiliary image in the area. In this case, the step of decoding the first image may follow the decoding procedure in the decoding apparatus 200 according to FIG. 3 described above. For example, as described above, decoding the first image may include deriving prediction samples for the current block based on inter or intra prediction, and residual samples for the current block based on the received residual information. And generating reconstruction samples based on predictive samples and / or residual samples. Additionally, decoding the first image may include performing an in-loop filtering procedure on the reconstructed picture including the reconstructed samples.
예를 들어, 상기 보조 영상은 EPG(electronic program guide), OSD(on screen display), 또는 GUI(graphic user interface)일 수 있다. 예를 들어, 상기 영상 정보는 방송망(broadcast network)를 통하여 수신되고, 상기 보조 영상에 관한 정보는 상기 방송망을 통하여 수신될 수 있다. 예를 들어, 상기 영상 정보는 통신망(communication network)를 통하여 수신되고, 상기 보조 영상에 관한 정보는 상기 통신망을 통하여 수신될 수 있다. 예를 들어, 상기 영상 정보는 방송망을 통하여 수신되고, 상기 보조 영상에 관한 정보는 통신망을 통하여 수신될 수 있다. 예를 들어, 상기 영상 정보는 방송망 또는 통신망을 통하여 수신되고, 상기 보조 영상에 관한 정보는 상기 디지털 기기 내의 저장매체에 저장되어 있을 수 있다.For example, the auxiliary image may be an electronic program guide (EPG), an on-screen display (OSD), or a graphical user interface (GUI). For example, the video information may be received through a broadcast network, and information on the auxiliary video may be received through the broadcast network. For example, the image information may be received through a communication network, and information regarding the auxiliary image may be received through the communication network. For example, the video information may be received through a broadcast network, and information regarding the auxiliary video may be received through a communication network. For example, the image information may be received through a broadcasting network or a communication network, and information regarding the auxiliary image may be stored in a storage medium in the digital device.
이상에서 설명된 실시예들은 본 명세서의 구성요소들과 특징들이 소정 형태로 결합된 것들이다. 각 구성요소 또는 특징은 별도의 명시적 언급이 없는 한 선택적인 것으로 고려되어야 한다. 각 구성요소 또는 특징은 다른 구성요소나 특징과 결합되지 않은 형태로 실시될 수 있다. 또한, 일부 구성요소들 및/또는 특징들을 결합하여 본 명세서의 실시예를 구성하는 것도 가능하다. 본 명세서의 실시예들에서 설명되는 동작들의 순서는 변경될 수 있다. 어느 실시예의 일부 구성이나 특징은 다른 실시예에 포함될 수 있고, 또는 다른 실시예의 대응하는 구성 또는 특징과 교체될 수 있다. 특허청구범위에서 명시적인 인용 관계가 있지 않은 청구항들을 결합하여 실시예를 구성하거나 출원 후의 보정에 의해 새로운 청구항으로 포함시킬 수 있음은 자명하다.The embodiments described above are those in which the components and features of the present specification are combined in a predetermined form. Each component or feature should be considered optional unless stated otherwise. Each component or feature may be implemented in a form that is not combined with other components or features. In addition, it is also possible to constitute an embodiment of the present specification by combining some components and / or features. The order of the operations described in the embodiments herein can be changed. Some configurations or features of one embodiment may be included in other embodiments, or may be replaced with corresponding configurations or features of other embodiments. It is apparent that claims that do not have an explicit citation relationship in the claims may be combined to form an embodiment or be included as a new claim by amendment after filing.
펌웨어나 소프트웨어에 의한 구현의 경우, 본 명세서의 일 실시예는 이상에서 설명된 기능 또는 동작들을 수행하는 모듈, 절차, 함수 등의 형태로 구현될 수 있다. 소프트웨어 코드는 메모리에 저장되어 프로세서에 의해 구동될 수 있다. 상기 메모리는 상기 프로세서 내부 또는 외부에 위치하여, 이미 공지된 다양한 수단에 의해 상기 프로세서와 데이터를 주고받을 수 있다.In the case of implementation by firmware or software, an embodiment of the present specification may be implemented in the form of a module, procedure, function, etc. that performs the functions or operations described above. The software code can be stored in memory and driven by a processor. The memory is located inside or outside the processor, and can exchange data with the processor by various means already known.
본 명세서는 본 명세서의 필수적 특징을 벗어나지 않는 범위에서 다른 특정한 형태로 구체화될 수 있음은 당업자에게 자명하다. 따라서, 상술한 상세한 설명은 모든 면에서 제한적으로 해석되어서는 아니 되고 예시적인 것으로 고려되어야 한다. 본 명세서의 범위는 첨부된 청구항의 합리적 해석에 의해 결정되어야 하고, 본 명세서의 등가적 범위 내에서의 모든 변경은 본 명세서의 범위에 포함된다. It will be apparent to those skilled in the art that the present specification may be embodied in other specific forms without departing from essential features of the present specification. Therefore, the above detailed description should not be construed as limiting in all respects and should be considered illustrative. The scope of the present specification should be determined by rational interpretation of the appended claims, and all changes within the equivalent scope of the present specification are included in the scope of the present specification.
이상, 전술한 본 명세서의 바람직한 실시예는, 예시의 목적을 위해 개시된 것으로, 당업자라면 이하 첨부된 특허청구범위에 개시된 본 명세서의 기술적 사상과 그 기술적 범위 내에서, 다양한 다른 실시예들을 개량, 변경, 대체 또는 부가 등이 가능할 것이다.The preferred embodiments of the present specification described above have been disclosed for purposes of illustration, and those skilled in the art can improve and change various other embodiments within the technical spirit and technical scope of the present specification disclosed in the appended claims. , Replacement or addition will be possible.

Claims (14)

  1. 인터 예측(inter prediction)을 사용하여 영상 신호를 디코딩하기 위한 방법에 있어서,A method for decoding an image signal using inter prediction, comprising:
    현재 블록에 대한 움직임 벡터 차분값(motion vector difference, MVD)를 획득하는 단계;Obtaining a motion vector difference (MVD) for the current block;
    적응적 움직임 벡터 해상도(adaptive motion vector resolution, AMVR)에 대한 정보 및 참조 픽처에 대한 정보에 기반하여 상기 MVD의 해상도를 결정하는 단계;Determining a resolution of the MVD based on information on adaptive motion vector resolution (AMVR) and information on a reference picture;
    상기 해상도에 따라 상기 MVD를 스케일링 하는 단계;Scaling the MVD according to the resolution;
    상기 스케일링된 MVD 및 움직임 벡터 예측자(motion vector predictor)에 기반하여 상기 현재 블록에 대한 움직임 벡터를 결정하는 단계; 및Determining a motion vector for the current block based on the scaled MVD and a motion vector predictor; And
    상기 움직임 벡터에 기반하여 상기 현재 블록에 대한 예측 샘플을 생성하는 단계를 포함하는 것을 특징으로 하는 방법.And generating a prediction sample for the current block based on the motion vector.
  2. 제1항에 있어서,According to claim 1,
    상기 AMVR에 대한 정보는,Information about the AMVR,
    미리 정의된 기본 해상도의 사용 여부를 나타내는 AVMR 플래그 및 상기 AVMR의 단위를 나타내는 AMVR 정확도 정보를 포함하고,AVMR flag indicating whether to use a predefined native resolution and AMVR accuracy information indicating a unit of the AVMR,
    상기 참조 픽처에 대한 정보는,Information about the reference picture,
    상기 참조 픽처의 POC(picture order count)를 포함하는 것을 특징으로 하는 방법.And a picture order count (POC) of the reference picture.
  3. 제2항에 있어서,According to claim 2,
    상기 MVD의 해상도를 결정하는 단계는,Determining the resolution of the MVD,
    상기 AMVR 플래그 또는 AMVR 정확도 정보의 파싱 이후 상기 현재 블록의 POC와 상기 참조 픽처의 POC를 비교하는 단계를 포함하는 것을 포함하는 것을 특징으로 하는 방법.And comparing the POC of the current block with the POC of the reference picture after parsing the AMVR flag or AMVR accuracy information.
  4. 제2항에 있어서,According to claim 2,
    상기 MVD의 해상도를 결정하는 단계는,Determining the resolution of the MVD,
    상기 AMVR 플래그를 사용하여 상기 AMVR이 적용되는지 여부를 결정하는 단계; 및Determining whether the AMVR is applied using the AMVR flag; And
    상기 AMVR이 적용되지 않는 경우 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 동일한지 여부에 기반하여 상기 MVD의 해상도를 결정하는 단계를 포함하는 것을 특징으로 하는 방법.And if the AMVR is not applied, determining the resolution of the MVD based on whether the POC of the current block and the POC of the reference picture are the same.
  5. 제2항에 있어서,According to claim 2,
    상기 AMVR 플래그가 1이고 상기 AMVR 정확도 정보가 4-펠(four-pel) 단위를 지시하는 경우, 상기 MVD의 해상도는 4로 결정되고,When the AMVR flag is 1 and the AMVR accuracy information indicates a 4-pel unit, the resolution of the MVD is determined to be 4,
    상기 AVMR 플래그가 1이고 상기 AMVR 정확도 정보가 정수 단위를 지시하는 경우, 상기 MVD의 해상도는 1로 결정되고, When the AVMR flag is 1 and the AMVR accuracy information indicates an integer unit, the resolution of the MVD is determined to be 1,
    상기 AVMR 플래그가 0이고, 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 상이하면, 상기 MVD의 해상도는 1/4로 결정되고,When the AVMR flag is 0 and the POC of the current block is different from the POC of the reference picture, the resolution of the MVD is determined to be 1/4,
    상기 AVMR 플래그가 0이고, 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 동일하면, 상기 MVD의 해상도는 1로 결정되는 것을 특징으로 하는 방법.If the AVMR flag is 0, and the POC of the current block is the same as the POC of the reference picture, the resolution of the MVD is determined to be 1.
  6. 제2항에 있어서,According to claim 2,
    상기 AMVR 플래그가 1이고 상기 AMVR 정확도 정보가 4-펠(four-pel) 단위를 지시하는 경우, 상기 MVD의 해상도는 4로 결정되고,When the AMVR flag is 1 and the AMVR accuracy information indicates a 4-pel unit, the resolution of the MVD is determined to be 4,
    상기 AVMR 플래그가 1이고 상기 AMVR 정확도 정보가 정수 단위를 지시하면서 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 상이한 경우, 상기 MVD의 해상도는 1로 결정되고,When the AVMR flag is 1 and the AMVR accuracy information indicates an integer unit and the POC of the current block is different from the POC of the reference picture, the resolution of the MVD is determined to be 1,
    상기 AVMR 플래그가 1이고 상기 AMVR 정확도 정보가 정수 단위를 지시하면서 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 동일한 경우, 상기 MVD의 해상도는 4로 결정되고,When the AVMR flag is 1 and the AMVR accuracy information indicates an integer unit, while the POC of the current block and the POC of the reference picture are the same, the resolution of the MVD is determined to be 4,
    상기 AVMR 플래그가 0이고 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 동일한 경우, 상기 MVD의 해상도는 1로 결정되고,When the AVMR flag is 0 and the POC of the current block and the POC of the reference picture are the same, the resolution of the MVD is determined to be 1,
    상기 AVMR 플래그가 0이고 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 상이한 경우, 상기 MVD의 해상도는 1/4로 결정되는 것을 특징으로 하는 방법.When the AVMR flag is 0 and the POC of the current block is different from the POC of the reference picture, the resolution of the MVD is determined to be 1/4.
  7. 제2항에 있어서,According to claim 2,
    상기 AMVR 플래그가 1이고 상기 AMVR 정확도 정보가 4-펠(four-pel) 단위를 지시하면서 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 동일한 경우, 상기 MVD의 해상도는 16으로 결정되고,When the AMVR flag is 1 and the AMVR accuracy information indicates a 4-pel unit, and the POC of the current block and the POC of the reference picture are the same, the resolution of the MVD is determined to be 16,
    상기 AMVR 플래그가 1이고 상기 AMVR 정확도 정보가 4-펠(four-pel) 단위를 지시하면서 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 상이한 경우, 상기 MVD의 해상도는 4로 결정되고,When the AMVR flag is 1 and the AMVR accuracy information indicates a 4-pel unit and the POC of the current block is different from the POC of the reference picture, the resolution of the MVD is determined to be 4,
    상기 AMVR 플래그가 1이고 상기 AMVR 정확도 정보가 정수 단위를 지시하면서 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 동일한 경우, 상기 MVD의 해상도는 4로 결정되고,When the AMVR flag is 1 and the AMVR accuracy information indicates an integer unit, while the POC of the current block and the POC of the reference picture are the same, the resolution of the MVD is determined to be 4,
    상기 AMVR 플래그가 1이고 상기 AMVR 정확도 정보가 정수 단위를 지시하면서 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 상이한 경우, 상기 MVD의 해상도는 1로 결정되고,When the AMVR flag is 1 and the AMVR accuracy information indicates an integer unit and the POC of the current block is different from the POC of the reference picture, the resolution of the MVD is determined to be 1,
    상기 AMVR 플래그가 0이고 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 동일한 경우, 상기 MVD의 해상도는 1로 결정되고,When the AMVR flag is 0 and the POC of the current block and the POC of the reference picture are the same, the resolution of the MVD is determined to be 1,
    상기 AMVR 플래그가 0이고 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 상이한 경우, 상기 MVD의 해상도는 1/4로 결정되는 것을 특징으로 하는 방법.When the AMVR flag is 0 and the POC of the current block is different from the POC of the reference picture, the resolution of the MVD is determined to be 1/4.
  8. 인터 예측(inter prediction)을 사용하여 영상 신호를 디코딩하기 위한 장치에 있어서,An apparatus for decoding an image signal using inter prediction, comprising:
    상기 영상 신호를 저장하는 메모리; 및A memory for storing the video signal; And
    상기 메모리와 결합된 프로세서를 포함하고,And a processor coupled with the memory,
    상기 프로세서는,The processor,
    현재 블록에 대한 움직임 벡터 차분값(motion vector difference, MVD)를 획득하고,Obtain a motion vector difference (MVD) for the current block,
    적응적 움직임 벡터 해상도(adaptive motion vector resolution, AMVR)에 대한 정보 및 참조 픽처에 대한 정보에 기반하여 상기 MVD의 해상도를 결정하고,The resolution of the MVD is determined based on information on an adaptive motion vector resolution (AMVR) and information on a reference picture,
    상기 해상도에 따라 상기 MVD를 스케일링 하고,Scale the MVD according to the resolution,
    상기 스케일링된 MVD 및 움직임 벡터 예측자(motion vector predictor)에 기반하여 상기 현재 블록에 대한 움직임 벡터를 결정하고,Determine a motion vector for the current block based on the scaled MVD and a motion vector predictor,
    상기 움직임 벡터에 기반하여 상기 현재 블록에 대한 예측 샘플을 생성하도록 설정되는 것을 특징으로 하는 장치.And generating a prediction sample for the current block based on the motion vector.
  9. 제8항에 있어서,The method of claim 8,
    상기 AMVR에 대한 정보는,Information about the AMVR,
    미리 정의된 기본 해상도의 사용 여부를 나타내는 AVMR 플래그 및 상기 AVMR의 단위를 나타내는 AMVR 정확도 정보를 포함하고,AVMR flag indicating whether to use a predefined native resolution and AMVR accuracy information indicating a unit of the AVMR,
    상기 참조 픽처에 대한 정보는,Information about the reference picture,
    상기 참조 픽처의 POC(picture order count)를 포함하는 것을 특징으로 하는 장치.And a picture order count (POC) of the reference picture.
  10. 제9항에 있어서,The method of claim 9,
    상기 프로세서는,The processor,
    상기 AMVR 플래그 또는 AMVR 정확도 정보의 파싱 이후 상기 현재 블록의 POC와 상기 참조 픽처의 POC를 비교하도록 구성되는 것을 특징으로 하는 장치.And parsing the POC of the current block and the POC of the reference picture after parsing the AMVR flag or AMVR accuracy information.
  11. 제9항에 있어서,The method of claim 9,
    상기 프로세서는,The processor,
    상기 AMVR 플래그를 사용하여 상기 AMVR이 적용되는지 여부를 결정하고,Determine whether the AMVR is applied using the AMVR flag,
    상기 AMVR이 적용되지 않는 경우 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 동일한지 여부에 기반하여 상기 MVD의 해상도를 결정하도록 설정되는 것을 특징으로 하는 장치.When the AMVR is not applied, the device is configured to determine the resolution of the MVD based on whether the POC of the current block and the POC of the reference picture are the same.
  12. 제9항에 있어서,The method of claim 9,
    상기 AMVR 플래그가 1이고 상기 AMVR 정확도 정보가 4-펠(four-pel) 단위를 지시하는 경우, 상기 MVD의 해상도는 4로 결정되고,When the AMVR flag is 1 and the AMVR accuracy information indicates a 4-pel unit, the resolution of the MVD is determined to be 4,
    상기 AVMR 플래그가 1이고 상기 AMVR 정확도 정보가 정수 단위를 지시하는 경우, 상기 MVD의 해상도는 1로 결정되고, When the AVMR flag is 1 and the AMVR accuracy information indicates an integer unit, the resolution of the MVD is determined to be 1,
    상기 AVMR 플래그가 0이고, 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 상이하면, 상기 MVD의 해상도는 1/4로 결정되고,When the AVMR flag is 0 and the POC of the current block is different from the POC of the reference picture, the resolution of the MVD is determined to be 1/4,
    상기 AVMR 플래그가 0이고, 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 동일하면, 상기 MVD의 해상도는 1로 결정되는 것을 특징으로 하는 장치.When the AVMR flag is 0 and the POC of the current block and the POC of the reference picture are the same, the resolution of the MVD is determined to be 1.
  13. 제9항에 있어서,The method of claim 9,
    상기 AMVR 플래그가 1이고 상기 AMVR 정확도 정보가 4-펠(four-pel) 단위를 지시하는 경우, 상기 MVD의 해상도는 4로 결정되고,When the AMVR flag is 1 and the AMVR accuracy information indicates a 4-pel unit, the resolution of the MVD is determined to be 4,
    상기 AVMR 플래그가 1이고 상기 AMVR 정확도 정보가 정수 단위를 지시하면서 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 상이한 경우, 상기 MVD의 해상도는 1로 결정되고,When the AVMR flag is 1 and the AMVR accuracy information indicates an integer unit and the POC of the current block is different from the POC of the reference picture, the resolution of the MVD is determined to be 1,
    상기 AVMR 플래그가 1이고 상기 AMVR 정확도 정보가 정수 단위를 지시하면서 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 동일한 경우, 상기 MVD의 해상도는 4로 결정되고,When the AVMR flag is 1 and the AMVR accuracy information indicates an integer unit, while the POC of the current block and the POC of the reference picture are the same, the resolution of the MVD is determined to be 4,
    상기 AVMR 플래그가 0이고 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 동일한 경우, 상기 MVD의 해상도는 1로 결정되고,When the AVMR flag is 0 and the POC of the current block and the POC of the reference picture are the same, the resolution of the MVD is determined to be 1,
    상기 AVMR 플래그가 0이고 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 상이한 경우, 상기 MVD의 해상도는 1/4로 결정되는 것을 특징으로 하는 장치.When the AVMR flag is 0 and the POC of the current block is different from the POC of the reference picture, the resolution of the MVD is determined to be 1/4.
  14. 제9항에 있어서,The method of claim 9,
    상기 AMVR 플래그가 1이고 상기 AMVR 정확도 정보가 4-펠(four-pel) 단위를 지시하면서 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 동일한 경우, 상기 MVD의 해상도는 16으로 결정되고,When the AMVR flag is 1 and the AMVR accuracy information indicates a 4-pel unit, and the POC of the current block and the POC of the reference picture are the same, the resolution of the MVD is determined to be 16,
    상기 AMVR 플래그가 1이고 상기 AMVR 정확도 정보가 4-펠(four-pel) 단위를 지시하면서 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 상이한 경우, 상기 MVD의 해상도는 4로 결정되고,When the AMVR flag is 1 and the AMVR accuracy information indicates a 4-pel unit and the POC of the current block is different from the POC of the reference picture, the resolution of the MVD is determined to be 4,
    상기 AMVR 플래그가 1이고 상기 AMVR 정확도 정보가 정수 단위를 지시하면서 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 동일한 경우, 상기 MVD의 해상도는 4로 결정되고,When the AMVR flag is 1 and the AMVR accuracy information indicates an integer unit, while the POC of the current block and the POC of the reference picture are the same, the resolution of the MVD is determined to be 4,
    상기 AMVR 플래그가 1이고 상기 AMVR 정확도 정보가 정수 단위를 지시하면서 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 상이한 경우, 상기 MVD의 해상도는 1로 결정되고,When the AMVR flag is 1 and the AMVR accuracy information indicates an integer unit and the POC of the current block is different from the POC of the reference picture, the resolution of the MVD is determined to be 1,
    상기 AMVR 플래그가 0이고 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 동일한 경우, 상기 MVD의 해상도는 1로 결정되고,When the AMVR flag is 0 and the POC of the current block and the POC of the reference picture are the same, the resolution of the MVD is determined to be 1,
    상기 AMVR 플래그가 0이고 상기 현재 블록의 POC와 상기 참조 픽처의 POC가 상이한 경우, 상기 MVD의 해상도는 1/4로 결정되는 것을 특징으로 하는 장치.When the AMVR flag is 0 and the POC of the current block is different from the POC of the reference picture, the resolution of the MVD is determined to be 1/4.
PCT/KR2019/012306 2018-09-22 2019-09-23 Method and device for processing image signal by using inter prediction WO2020060342A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201862735084P 2018-09-22 2018-09-22
US62/735,084 2018-09-22

Publications (1)

Publication Number Publication Date
WO2020060342A1 true WO2020060342A1 (en) 2020-03-26

Family

ID=69888636

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2019/012306 WO2020060342A1 (en) 2018-09-22 2019-09-23 Method and device for processing image signal by using inter prediction

Country Status (1)

Country Link
WO (1) WO2020060342A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110020214A (en) * 2009-08-21 2011-03-02 에스케이 텔레콤주식회사 Video coding method and apparatus by using adaptive motion vector resolution
WO2018002021A1 (en) * 2016-06-30 2018-01-04 Thomson Licensing Video coding with adaptive motion information refinement
US20180077417A1 (en) * 2016-09-14 2018-03-15 Mediatek Inc. Method and Apparatus of Encoding Decision for Encoder Block Partition
WO2018064524A1 (en) * 2016-09-29 2018-04-05 Qualcomm Incorporated Motion vector coding for video coding
KR20180043151A (en) * 2016-10-19 2018-04-27 에스케이텔레콤 주식회사 Apparatus and Method for Video Encoding or Decoding

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110020214A (en) * 2009-08-21 2011-03-02 에스케이 텔레콤주식회사 Video coding method and apparatus by using adaptive motion vector resolution
WO2018002021A1 (en) * 2016-06-30 2018-01-04 Thomson Licensing Video coding with adaptive motion information refinement
US20180077417A1 (en) * 2016-09-14 2018-03-15 Mediatek Inc. Method and Apparatus of Encoding Decision for Encoder Block Partition
WO2018064524A1 (en) * 2016-09-29 2018-04-05 Qualcomm Incorporated Motion vector coding for video coding
KR20180043151A (en) * 2016-10-19 2018-04-27 에스케이텔레콤 주식회사 Apparatus and Method for Video Encoding or Decoding

Similar Documents

Publication Publication Date Title
WO2020122640A1 (en) Method and device for processing video signal on basis of history-based motion vector prediction
WO2020141914A1 (en) Method and apparatus for processing video signal on basis of history-based motion vector prediction
WO2020197083A1 (en) Method and device for inter prediction on basis of dmvr and bdof
WO2020117018A1 (en) Method and device for processing video signal on basis of inter prediction
WO2020197084A1 (en) Dmvr-based inter prediction method and apparatus
WO2020117016A1 (en) Method and device for processing video signal on basis of inter-prediction
WO2020071871A1 (en) Method and apparatus for processing image service
WO2020141913A1 (en) Method and apparatus for processing video signal on basis of inter prediction
WO2020130680A1 (en) Method and device for processing video signal by using intra-prediction
WO2020009449A1 (en) Method and apparatus for processing video signal by using affine prediction
WO2020060312A1 (en) Method and device for processing image signal
WO2020141915A1 (en) Method and device for processing video signals on basis of history-based motion vector prediction
WO2020117013A1 (en) Method and apparatus for processing video signal on basis of inter prediction
WO2020141853A1 (en) Method and apparatus for processing video signal on basis of inter prediction
WO2014163453A1 (en) Interlayer video encoding method and apparatus and interlayer video decoding method and apparatus for compensating luminance difference
WO2021040482A1 (en) Adaptive loop filtering-based image coding device and method
WO2020262962A1 (en) Method and apparatus for encoding/decoding video using maximum size limitation of chroma transform block, and method for transmitting bitstream
WO2020262931A1 (en) Signaling method and device for merge data syntax in video/image coding system
WO2020213866A1 (en) Scaling list parameter-based video or image coding
WO2020141935A1 (en) Device and method for processing video signal on basis of inter prediction
WO2020138997A1 (en) Method and device for processing video signal by using inter prediction
WO2020071846A1 (en) Method and apparatus for processing video signal by using intra-prediction
WO2020197085A1 (en) Method and device for inter prediction on basis of bdof
WO2021246840A1 (en) Sub-bitstream extraction-based image coding device and method for scalability
WO2021241978A1 (en) Multilayer-based image coding device and method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19862595

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19862595

Country of ref document: EP

Kind code of ref document: A1