KR20160087205A - Transcoder and transcoding method for moving picture - Google Patents

Transcoder and transcoding method for moving picture Download PDF

Info

Publication number
KR20160087205A
KR20160087205A KR1020150006071A KR20150006071A KR20160087205A KR 20160087205 A KR20160087205 A KR 20160087205A KR 1020150006071 A KR1020150006071 A KR 1020150006071A KR 20150006071 A KR20150006071 A KR 20150006071A KR 20160087205 A KR20160087205 A KR 20160087205A
Authority
KR
South Korea
Prior art keywords
block
coding unit
mode
boundary
current block
Prior art date
Application number
KR1020150006071A
Other languages
Korean (ko)
Inventor
한종기
이재영
채진기
Original Assignee
인텔렉추얼디스커버리 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 인텔렉추얼디스커버리 주식회사 filed Critical 인텔렉추얼디스커버리 주식회사
Priority to KR1020150006071A priority Critical patent/KR20160087205A/en
Publication of KR20160087205A publication Critical patent/KR20160087205A/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/119Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/40Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using video transcoding, i.e. partial or full decoding of a coded input stream followed by re-encoding of the decoded output stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding

Landscapes

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

Abstract

The present invention relates to an image transcoder and a transcoding method. More specifically, according to an embodiment of the present invention, the image transcoder comprises: a decoder decoding a first image through a first codec, wherein the first image is encoded by the first codec; and an encoder generating a second image by encoding an image, recovered by the decoder, through a second codec and determining a split mode of the current block based on coding unit information and prediction unit information associated with the first image so as to perform an encoding process. The present invention provides a transcoder swiftly determining a split mode of the current block of an encoder.

Description

영상 트랜스코더 및 트랜스코딩 방법{TRANSCODER AND TRANSCODING METHOD FOR MOVING PICTURE}TRANSCODER AND TRANSCODING METHOD FOR MOVING PICTURE [0002]

본 발명은 영상 트랜스코더 및 트랜스코딩 방법에 관한것으로서, 보다 상세하게는 트랜스코더에서 움직임 벡터 예측을 위한 블록 분할 모드의 고속 결정 방법 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image transcoder and a transcoding method, and more particularly, to a fast decision method of a block division mode for motion vector prediction in a transcoder.

최근 UHD(ultra high definition)급 고해상도 영상 서비스에 대한 필요성이 증가함에 따라, MPEG(Moving Picture Expert Group)과 VCEG(Video Coding Expert Group)으로 구성된 JCT-VC(Joint Collaborative Team on Video Coding)에서 UHD급 고해상도 비디오 영상을 위한 영상 압축 표준인 HEVC(High Efficiency Video Coding) 표준이 개발되었다. HEVC 표준은 H.264/AVC보다 2배 이상의 압축률을 목표로 다양한 효과적인 방법과 기술들을 채택했으나, HEVC 코덱을 지원하는 영상 기기는 보편화되지 않은 상태이다. 따라서, HEVC 방식으로 부호화된 영상 정보를 H.264/AVC로 부호화된 정보로 트랜스코딩(Transcoding)하는 시스템 및 트랜스코딩 방법이 활발히 연구되고 있다. Recently, as the need for UHD (ultra high definition) high-resolution video service has increased, UHD-class (Joint Collaborative Team on Video Coding), which is composed of MPEG (Moving Picture Expert Group) and VCEG (Video Coding Expert Group) The High Efficiency Video Coding (HEVC) standard, a video compression standard for high-resolution video images, has been developed. The HEVC standard adopts various effective methods and techniques aiming at a compression rate two times higher than H.264 / AVC, but the imaging device supporting the HEVC codec is not universal. Therefore, a system and a transcoding method for transcoding image information encoded by the HEVC method into H.264 / AVC encoded information have been actively studied.

MPEG-2를 비롯하여 MPEG-4, H.263, H.264/AVC 등의 기존 비디오 코덱들에서는 하나의 픽처(Picture)를 16×16 크기 블록 단위인 매크로 블록 (Macro Block, MB)으로 분할하여 부호화 한다. 반면, HEVC에서는 다양한 크기의 코딩 유닛 (Coding Unit, CU)을 사용함으로써, 영상의 공간 해상도 및 블록 특성을 효과적으로 고려하여 부호화할 수 있다. 이러한 기존 비디오 코덱들의 차이에도 불구하고, 기존의 일반적인 트랜스코더(Transcoder)는 디코더와 인코더가 단순히 직렬 연결된 구조로 되어 있어서, 디코더에서 생성한 복원 영상을 제외한 어떠한 정보도 인코더에서 사용하지 않기 때문에 트랜스코딩 과정에서 높은 복잡도가 요구되고 부호화 효율도 낮은 편이다.  In a conventional video codec such as MPEG-2, MPEG-4, H.263, and H.264 / AVC, one picture is divided into macroblocks (MBs) . On the other hand, in the HEVC, by using a coding unit (CU) of various sizes, the spatial resolution and the block characteristic of the image can be effectively coded. In spite of the difference of the conventional video codecs, a conventional general transcoder has a structure in which a decoder and an encoder are simply connected in series, so that no information except a reconstructed image generated by a decoder is used in an encoder, High complexity is required and coding efficiency is low.

따라서, 이러한 문제점을 해결하기 위해서는 트랜스코딩하는 과정에서 가장 복잡도가 높은 부분을 고속화 할 필요가 있다. 대표적인 모듈인 인터 예측 모듈이다. 즉, 트랜스코더를 고속화하기 위해서는, 트랜스코더를 구성하는 부분들 중 가장 높은 복잡도를 요구하는 인코더의 인터 예측(Inter Prediction)모듈의 복잡도를 줄일 필요가 있다.Therefore, in order to solve such a problem, it is necessary to speed up the portion with the highest complexity in the transcoding process. It is an inter prediction module which is a representative module. That is, in order to speed up the transcoder, it is necessary to reduce the complexity of the Inter Prediction module of the encoder which requires the highest complexity among the parts constituting the transcoder.

이와 관련하여, 일본 공개특허공보 JP2014-017621 호(발명의 명칭: 영상 압축 포맷 변환 장치, 영상 압축 포맷 변환 방법 및 프로그램)는 변환 후에 있어서의 부호화 처리의 단위 블록인 변환 후 단위 블록 마다 변환 후 단위 블록으로 적용 할수 있는 모든 예측 방법중에서 1개 이상을 예측 방법 후보로서 선택하는 예측 방법 후보 결정 수단과, 변환 후 단위 블록 마다 예측 방법 후보를 적용한 결과를 요구하는 적용 결과 산출 수단과 변환 후 단위 블록 마다 적용 결과 산출 수단에 의해 구해진 결과에 기초하여, 예측 방법 후보 중에서 당해 변환 후 단위 블록에 최적인 예측 방법을 결정하는 예측 방법 결정 수단을 개시하고 있다.In this connection, Japanese Patent Application Laid-Open No. 2014-017621 (entitled "Image Compression Format Conversion Device, Image Compression Format Conversion Method, and Program)" discloses a unit after conversion, which is a unit block of a coding process after conversion, A prediction method candidate determining unit that selects at least one prediction method candidate among all the prediction methods that can be applied as a block, an application result calculating unit that requests a result of applying a prediction method candidate for each unit block after conversion, And prediction method determining means for determining an optimum prediction method for the unit block after the conversion among the prediction method candidates based on the result obtained by the application result calculation means.

본 발명의 일부 실시예는, 디코더로부터 알 수 있는 코딩 유닛 또는 예측 유닛의 크기 및 분할 정보를 사용하여 인코더의 현재 블록의 분할 모드를 빠르게 결정하는 트랜스코더 및 트랜스코딩 방법을 제공하는 것을 목적으로 한다.It is an object of some embodiments of the present invention to provide a transcoder and transcoding method for quickly determining a division mode of a current block of an encoder using size and division information of a coding unit or prediction unit known from a decoder .

다만, 본 실시예가 이루고자 하는 기술적 과제는 상기된 바와 같은 기술적 과제들로 한정되지 않으며, 또 다른 기술적 과제들이 존재할 수 있다. It is to be understood, however, that the technical scope of the present invention is not limited to the above-described technical problems, and other technical problems may exist.

상술한 기술적 과제를 달성하기 위한 기술적 수단으로서, 본 발명의 일 실시예에 따른 영상 트랜스코더는, 제 1 코덱에 따라 인코딩된 제 1 영상을 제 1 코덱에 따라 디코딩하는 디코더 및 상기 디코더를 통해 복원된 영상을 제 2 코덱에 따라 인코딩하여 제 2 영상을 생성하되, 상기 제 1 영상에 대한 코딩 유닛 정보 및 예측 유닛 정보에 기초하여 현재 블록의 분할 모드를 결정하여 인코딩하는 인코더를 포함한다.According to an aspect of the present invention, there is provided a video transcoder comprising: a decoder for decoding a first video encoded according to a first codec according to a first codec; And an encoder for encoding the encoded image according to the second codec to generate a second image and determining a decoding mode of the current block based on the coding unit information and the prediction unit information for the first image.

또한, 본 발명의 일 실시예에 따른 영상 트랜스코딩 방법은, 제 1 코덱에 따라 인코딩된 제 1 영상을 제 1 코덱에 따라 디코딩하는 단계 및 상기 디코더를 통해 복원된 영상을 제 2 코덱에 따라 인코딩하여 제 2 영상을 생성하되, 상기 제 1 영상에 대한 코딩 유닛 정보 및 예측 유닛 정보에 기초하여 현재 블록의 분할 모드를 결정하여 인코딩하는 단계를 포함한다. 코딩 유닛 정보 및 예측 유닛 정보에 기초하여 현재 블록의 분할 모드를 결정하여 인코딩하는 단계를 포함한다. According to another aspect of the present invention, there is provided an image transcoding method comprising: decoding a first image encoded according to a first codec according to a first codec; encoding the reconstructed image using a second codec; And determining and encoding a division mode of the current block based on the coding unit information and the prediction unit information for the first image. And determining and encoding the division mode of the current block based on the coding unit information and the prediction unit information.

전술한 본 발명의 과제 해결 수단에 의하면, 본 발명에서는 디코더로부터 알 수 있는 코딩 유닛 또는 예측 유닛의 크기 및 분할 정보를 사용하여 인코더의 현재 블록의 분할 모드를 빠르게 결정할 수 있다. According to the present invention, the division mode of the current block of the encoder can be quickly determined using the size and division information of the coding unit or prediction unit known from the decoder.

따라서, 본 발명에서는 인코더의 움직임 벡터 예측 모듈의 복잡도를 줄이고, 트랜스코더의 전체적인 성능을 향상시킬 수 있다. Accordingly, in the present invention, the complexity of the motion vector prediction module of the encoder can be reduced and the overall performance of the transcoder can be improved.

도 1은 종래의 트랜스코더를 도시한 블록도이다.
도 2는 본 발명의 일 실시예에 따른 트랜스코더의 일부 구성을 도시한 블록도이다.
도 3은 본 발명의 일 실시예에 따른 트랜스코딩 방법에서 고려되는 HEVC 방식의 인터 예측 모드의 코딩 유닛에 대한 예측 유닛 분할의 일례를 도시하고 있다.
도 4는 본 발명의 일 실시예에 따른 트랜스코딩 방법에서 고려되는 H.264/AVC 방식의 인터 예측 모드의 매크로 블록 분할의 일례를 도시하고 있다.
도 5는 본 발명의 일 실시예에 따른 트랜스코더의 트랜스코딩 방법을 상세히 설명하기 위한 순서도이다.
도 6은 본 발명의 일 실시예에 따른 영상 트랜스코딩 방법에서, 인코더가 대응 블록의 코딩 유닛의 분할 정보를 현재 블록에 적용하는 방법을 간략히 도식화하여 나타내고 있다.
도 7은 본 발명의 일 실시예에 따른 영상 트랜스코딩 방법에서, 현재 블록 내의 서브 블록의 분할 모드를 결정하는 단계를 설명하기 위한 순서도이다.
도 8은 본 발명의 일 실시예에 따른 영상 트랜스코딩 방법에서, 서브 블록의 분할 모드를 결정하는 방법을 간략히 도식화하여 나타내고 있다..
도 9는 본 발명의 일 실시예에 따른 영상 트랜스코딩 방법에서 현재 블록의 분할 모드를 결정하는 단계를 더욱 상세히 설명하기 위한 순서도이다.
1 is a block diagram showing a conventional transcoder.
2 is a block diagram showing a partial configuration of a transcoder according to an embodiment of the present invention.
3 shows an example of prediction unit division for the coding unit of the inter prediction mode of the HEVC scheme considered in the transcoding method according to an embodiment of the present invention.
FIG. 4 illustrates an example of macroblock division in the inter prediction mode of the H.264 / AVC scheme, which is considered in the transcoding method according to an embodiment of the present invention.
5 is a flowchart illustrating a method of transcoding a transcoder according to an exemplary embodiment of the present invention.
FIG. 6 is a simplified diagram illustrating a method of applying an encoding information of a coding unit of a corresponding block to a current block in an image transcoding method according to an exemplary embodiment of the present invention.
FIG. 7 is a flowchart for explaining a step of determining a division mode of a sub-block in a current block in the image transcoding method according to an embodiment of the present invention.
8 is a schematic diagram illustrating a method of determining a sub-block division mode in the image transcoding method according to an embodiment of the present invention.
FIG. 9 is a flowchart for explaining a step of determining a division mode of a current block in a video transcoding method according to an embodiment of the present invention.

아래에서는 첨부한 도면을 참조하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 본 발명의 실시예를 상세히 설명한다. 그러나 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시예에 한정되지 않는다. 그리고 도면에서 본 발명을 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 유사한 부분에 대해서는 유사한 도면 부호를 붙였다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings, which will be readily apparent to those skilled in the art. The present invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. In order to clearly illustrate the present invention, parts not related to the description are omitted, and similar parts are denoted by like reference characters throughout the specification.

명세서 전체에서, 어떤 부분이 다른 부분과 "연결"되어 있다고 할 때, 이는 "직접적으로 연결"되어 있는 경우뿐 아니라, 그 중간에 다른 소자를 사이에 두고 "전기적으로 연결"되어 있는 경우도 포함한다. 또한, 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있는 것을 의미한다.Throughout the specification, when a part is referred to as being "connected" to another part, it includes not only "directly connected" but also "electrically connected" with another part in between . Also, when a part is referred to as "including " an element, it does not exclude other elements unless specifically stated otherwise.

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

통상적으로 동영상은 일련의 픽쳐(Picture)로 구성되어 있으며, 각 픽쳐들은 블록(Block)과 같은 소정의 영역으로 분할된다. 영상의 영역이 블록으로 분할되는 경우, 분할된 블록은 부호화 방법에 따라 크게 인트라 블록(Intra Block), 인터 블록(Inter Block)으로 분류된다. 여기서, 인트라 블록은 인트라 예측 부호화(Intra Prediction Coding) 방식을 사용하여 부호화되는 블록을 뜻한다. 이때, 인트라 예측 부호화란 현재 부호화를 수행하는 현재 픽쳐 내에서 이전에 부호화되고 복호화되어 복원된 블록들의 화소를 이용하여 현재 블록의 화소를 예측함으로써, 예측 블록을 생성하고 현재 블록의 화소와의 차분값을 부호화하는 방식을 말한다.Usually, a moving picture is composed of a series of pictures, and each picture is divided into a predetermined area such as a block. When an area of an image is divided into blocks, the divided blocks are classified into an intra block and an inter block according to a coding method. Herein, the intra block refers to a block that is encoded using Intra Prediction Coding. In this case, intraprediction encoding means a method of generating a prediction block by predicting pixels of a current block using pixels of blocks previously coded and decoded and reconstructed in a current picture for performing current coding, . ≪ / RTI >

인터 블록은 인터 예측 부호화(Inter Prediction Coding)를 사용하여 부호화되는 블록을 뜻하는데, 인터 예측 부호화란 하나 이상의 과거 픽쳐 또는 미래 픽쳐를 참조하여 현재 픽쳐 내의 현재 블록을 예측함으로써, 예측 블록을 생성하고 현재 블록과의 차분값을 부호화하는 방식을 말한다. 이때, 인터 예측 부호화는 움직임 예측을 통한 방법, 머지를 통한 방법, 스킵을 통한 방법이 있다. Inter-block refers to a block that is coded using Inter Prediction Coding. Inter-prediction coding refers to one or more past pictures or a future picture to predict a current block in the current picture, And a difference value between the block and the block is encoded. In this case, the inter-prediction coding may be a motion prediction method, a merging method, or a skipping method.

움직임 예측을 통한 방법은 검색 범위 내에서 예측 블록을 찾기 위해 현재 블록과 차이값이 가장 작은 예측 블록을 찾아내어 현재 블록과 예측 블록과의 차이값인 잔차 신호를 전송하는 방법이다. 이때, 예측 블록의 위치를 알려주는 움직임 파라미터를 같이 전송하며, 움직임 파라미터에는 예측 블록의 위치를 알려주는 움직임 벡터(Motion Vetor)와, 어느 픽쳐에서 움직임 벡터를 찾았는지 알려주는 참조 픽쳐 인덱스, 예측을 과거 픽쳐에서 하였는지 미래 픽쳐에서 하였는지 알려주는 예측방향 플래그의 요소를 포함한다. In the motion estimation method, a prediction block having the smallest difference value with the current block is searched to find a prediction block within the search range, and a residual signal, which is a difference value between the current block and the prediction block, is transmitted. At this time, a motion parameter indicating a position of a prediction block is transmitted. The motion parameter includes a motion vector (Motion Vetor) indicating a position of a prediction block, a reference picture index indicating a motion vector in which picture is found, And an element of a prediction direction flag indicating whether the prediction picture is in the past picture or in the future picture.

머지를 통한 방법은 현재블록과 이웃하는 주위 블록의 움직임 파라미터를 그대로 현재 블록의 부호화에 사용하는 방식이며, 그 움직임 파라미터를 이용하여 예측 블록을 생성하고 현재 블록과 예측 블록의 차이값인 잔차 신호를 복호화 장치로 전송한다. The merge method is a method of using the motion parameters of the current block and neighboring blocks adjacent to the current block to directly encode the current block. A prediction block is generated using the motion parameters, and a residual signal, which is a difference value between the current block and the prediction block, To the decoding apparatus.

스킵 방법은 현재 블록과 이웃하는 주위 블록의 움직임 파라미터를 이용하여 예측 블록을 생성하고 어느 블록의 움직임 파라미터를 사용하였는지 인덱스를 전송한다는 점에서 머지 방법과 비슷하나, 현재 블록에 대한 잔차 신호는 부호화하지 않는다. The skip method is similar to the merge method in that a predictive block is generated using motion parameters of a neighboring block neighboring the current block and an index is transmitted to which block the motion parameter is used, but the residual signal for the current block is not encoded Do not.

이하 본원 발명의 상세한 기술에서, 인코딩(encoding)은 부호화를 의미하고, 디코딩(decoding)은 복호화를 의미하는 것으로 해석 될 수 있다. Hereinafter, in the detailed description of the present invention, encoding refers to encoding, and decoding can be interpreted to mean decoding.

도 1은 종래의 트랜스코더를 도시한 블록도이다. 1 is a block diagram showing a conventional transcoder.

도 1에 도시된 바와 같이, 기존의 일반적인 트랜스코더는 디코더와 인코더가 단순 직렬 연결된 구조로서, 디코더에서 생성된 복원 영상을 인코더의 입력 영상으로 사용한다. 그러나, 기존의 트랜스코딩 방법은 디코더에서 생성한 복원 영상을 제외한 어떠한 정보도 인코더에서 사용하지 않는다. 따라서, 인코더는 인터 예측 모듈에서 고려 가능한 모든 모양의 움직임 블록에 대해서 움짐임 예측 (Motion Estimation, ME)을 수행하게 되므로 많은 연산 처리량을 요구하게 되고, 움직임 예측의 복잡도가 증가한다. As shown in FIG. 1, a conventional general transcoder has a structure in which a decoder and an encoder are connected in series, and uses a reconstructed image generated by a decoder as an input image of an encoder. However, the existing transcoding method does not use any information except the reconstructed image generated by the decoder in the encoder. Therefore, since the encoder performs motion estimation (ME) on motion blocks of all shapes that can be considered in the inter prediction module, it requires a large amount of calculation processing, and the complexity of motion prediction increases.

그러나, 디코더에는 인코더에서 활용할 수 있는 유용한 정보가 많기 때문에, 이 정보들을 사용하여 제 1 코덱의 압축방식에서 제 2 코덱의 압축 방식으로 변환하는 트랜스코더를 설계한다면, 복잡도가 낮고 상대적으로 부호화 효율이 높은 트랜스코더를 설계할 수 있다.However, since a decoder has many useful information that can be utilized in an encoder, if a transcoder is designed to convert from a compression method of a first codec to a compression method of a second codec by using the information, a low complexity and a relatively low coding efficiency A high transcoder can be designed.

이하에서는, 도 2를 참조하여 본 발명에서 제안하는 영상 트랜스코더에 대해 더욱 상세하게 설명하기로 한다. Hereinafter, the video transcoder proposed in the present invention will be described in more detail with reference to FIG.

후술하는 영상 트랜스코더는 개인용 컴퓨터(Personal Computer, PC), TV, 노트북 컴퓨터, 개인 휴대 단말기(Personal Digital Assistant, PDA), 휴대형 멀티미디어 플레이어(Portable Multimedia Player, PMP), 플레이스테이션 포터블(Play Station Portable, PSP), 스마트폰(Smart Phone), 디지털 TV 등과 같은 영상을 재생할 수 있는 각종 영상 재생 기기에 포함된 형태로 구현될 수 있다.The video transcoder may be a personal computer (PC), a TV, a notebook computer, a personal digital assistant (PDA), a portable multimedia player (PMP), a Play Station Portable (PSP), a smart phone, a digital TV, and the like.

도 2는 본 발명의 일 실시예에 따른 트랜스코더의 일부 구성을 도시한 블록도이다.2 is a block diagram showing a partial configuration of a transcoder according to an embodiment of the present invention.

본 발명에서 제안하는 영상 트랜스코더는 1 코덱에 따라 인코딩된 제 1 영상을 제 1 코덱에 따라 디코딩하는 디코더(100) 및 디코더를 통해 복원된 영상을 제 2 코덱에 따라 인코딩하여 제 2 영상을 생성하는 인코더(200)를 포함하여 구성될 수 있다. The image transcoder proposed in the present invention includes a decoder 100 for decoding a first image encoded according to a first codec according to a first codec and a second image generated by encoding the reconstructed image according to a second codec, And an encoder 200 for outputting the encoded data.

또한 도시되지 않았으나, 제 1 코덱에 따라 디코딩하는 디코더(100)는 입력 비트스트림을 수신하여 파싱을 수행하고, 부호화된 영상 데이터 및 복호화를 위해 필요한 각종 정보를 출력하는 파싱부를 포함할 수 있다. 또한, 부호화된 영상 데이터는 엔트로피 복호화부(Entropy Decoder) 및 역양자화부(Inverse Quantizer)를 거쳐 역양자화된 데이터로 출력되고, 역변환부(Inverse Transform),를 거쳐 공간 영역의 영상 데이터로 복원된다. 인트라 예측부는 공간 영역의 영상 데이터에 대해서 인트라 모드의 부호화 단위에 대해 인트라 예측을 수행하고, 움직임 보상부(Motion Compensator)는 참조 프레임을 이용하여 인터 모드의 부호화 단위에 대해 움직임 보상을 수행한다. 인트라 예측부 및 움직임 보상부를 거친 공간 영역의 데이터는 디블로킹부 및 오프셋 조정부를 거쳐 후처리되어 복원 프레임으로서 출력된다. 또한, 디블로킹부 및 오프셋 조정부를 거쳐 후처리된 데이터는 참조 프레임으로서 출력될 수 있다. 이와 같은, 영상 부호화 알고리즘은 종래 기술에 해당하는 것으로 그 구체적인 내용에 대한 상세한 설명은 생략하도록 한다. Also, although not shown, the decoder 100 for decoding according to the first codec may include a parser for receiving the input bitstream and performing parsing, and outputting the encoded image data and various information required for decoding. The encoded image data is output as inverse quantized data through an entropy decoding unit and an inverse quantizer, and is restored into image data in a spatial domain via an inverse transform. The intraprediction unit performs intraprediction on the intra-mode encoding unit for the video data in the spatial domain, and the motion compensator performs motion compensation on the intra-mode encoding unit using the reference frame. The data in the spatial domain that has passed through the intra-prediction unit and the motion compensation unit is post-processed through the deblocking unit and the offset adjusting unit and output as a restored frame. Further, the post-processed data via the deblocking unit and the offset adjusting unit can be output as a reference frame. Such an image encoding algorithm corresponds to the conventional art, and a detailed description thereof will be omitted.

제 2 코덱에 따라 인코딩하는 인코더(200)는, 현재 프레임에 대하여 인트라 예측을 수행하는 인트라 예측부, 화면간 예측 과정에서 참조 프레임으로부터 현재 인코딩 대상 블록과 가장 유사한 예측 블록을 탐색하는 움직임 예측부( Motion Predictor), 움직임 예측에 의하여 탐색된 최적의 예측 블록에 대한 움직임 벡터를 기초로 움직임 보상을 수행하는 움직임 보상부(Motion Compensator) 등이 포함될 수 있다. 또한, 인트라 예측부, 움직임 예측부, 움직임 보상부로부터 출력된 데이터는 변환부(Transformer), 양자화부(Quantizer), 엔트로피 부호화부(Entropy Encoder)를 거쳐 비트스트림으로 출력된다. 이와 같은, 영상 부호화 알고리즘은 종래 기술에 해당하는 것으로 그 구체적인 내용에 대한 상세한 설명은 생략하도록 한다 본 발명에서 제안하는 영상 트랜스코더는 인코더(200)가 제 1 영상에 대한 코딩 유닛 정보 및 예측 유닛 정보에 기초하여, 현재 블록의 분할 모드를 빠르게 결정하고 움직임 예측(Motion Estimation)을 수행한다. 구체적으로, 인코더(200)는 현재 블록과 같은 위치에 대응되는 디코더(100) 내의 대응 블록의 코딩 유닛 또는 예측 유닛의 예측 모드가 스킵(skip) 모드 또는 인터(inter) 모드일 경우, 코딩 유닛 또는 예측 유닛의 분할 정보를 이용하여 현재 블록의 분할 모드를 결정한다.  The encoder 200 for encoding according to the second codec includes an intra predictor for performing intra prediction on the current frame, a motion estimator for searching a prediction block most similar to the current encoding target block from the reference frame in the inter- A motion compensator for performing motion compensation based on a motion vector of an optimal prediction block searched for by motion prediction, and the like. The data output from the intra prediction unit, the motion prediction unit, and the motion compensation unit is output as a bitstream through a transformer, a quantizer, and an entropy encoder. The video transcoder proposed in the present invention is a video transcoder in which the encoder 200 encodes the coding unit information for the first video and the prediction unit information for the first video, , The fast mode is determined quickly and motion estimation is performed. Specifically, when the prediction mode of the prediction unit of the coding unit or the prediction unit of the corresponding block in the decoder 100 corresponding to the same position as the current block is the skip mode or the inter mode, The division mode of the current block is determined using the division information of the prediction unit.

본 발명의 일 실시예에 따른 영상 트랜스코더에서, 제 1 코덱 및 제 2 코덱은 HEVC 코덱, H.264/AVC 코덱, MPEG-4 Visual 코덱, MPEG-2 코덱, VC-1 코덱, 및 차세대 비디오 코덱 중 서로 다른 하나의 코덱일 수 있으나, 이에 제한된 것은 아니다. In the video transcoder according to an exemplary embodiment of the present invention, the first codec and the second codec may include an HEVC codec, an H.264 / AVC codec, an MPEG-4 codec, an MPEG-2 codec, The codecs may be different codecs, but are not limited thereto.

도 3은 본 발명의 일 실시예에 따른 트랜스코딩 방법에서 고려되는 HEVC 방식의 인터 예측 모드의 코딩 유닛에 대한 예측 유닛 분할의 일례를 도시하고 있다. 3 shows an example of prediction unit division for the coding unit of the inter prediction mode of the HEVC scheme considered in the transcoding method according to an embodiment of the present invention.

도 4는 본 발명의 일 실시예에 따른 트랜스코딩 방법에서 고려되는 H.264/AVC 방식의 인터 예측 모드의 매크로 블록 분할의 일례를 도시하고 있다.FIG. 4 illustrates an example of macroblock division in the inter prediction mode of the H.264 / AVC scheme, which is considered in the transcoding method according to an embodiment of the present invention.

본 발명의 일실시예에 따른 트랜스코더 및 트랜스코딩 방법은 H.264/AVC 인코더가 현재 블록과 같은 위치에 대응하는 대응 블록을 HEVC 디코더에서 탐색하여 현재 블록의 분할 모드를 빠르게 결정할 수 있다. The transcoder and the transcoding method according to an embodiment of the present invention can quickly determine the division mode of the current block by searching the HEVC decoder for the corresponding block corresponding to the same position as the current block by the H.264 / AVC encoder.

HEVC 방식은 영상을 코딩 트리 유닛(Coding Tree Unit, CTU)라는 단위로 먼저 분할하고, 분할 된 각 CTU를 코딩 유닛(Coding Unit)이라는 블록으로 분할하여 코딩을 수행한다. 이때, 코딩 유닛의 크기는 64x64, 32x32, 16x16, 8x8을 기본 설정으로 사용한다. 또한 분할 된 CU는 다시 예측을 수행하는 블록 단위인 예측 유닛(Prediction Unit)으로 분할이 되며, AMP(Asymmetric Motion Partition)라 불리는 nLx2N, nRx2N, 2NxnU, 2NxnD 형태의 분할도 지원한다. 분할되는 모양은 도 3에 도시된 바와 같다. The HEVC method first divides an image into units called a coding tree unit (CTU), divides each divided CTU into blocks called a coding unit (Coding Unit), and performs coding. At this time, the size of the coding unit is 64 x 64, 32 x 32, 16 x 16, and 8 x 8 as default settings. Also, the divided CU is divided into a prediction unit (Prediction Unit), which is a block unit for performing prediction again, and also supports division of nLx2N, nRx2N, 2NxnU, and 2NxnD types called AMP (Asymmetric Motion Partition). The shape to be divided is as shown in Fig.

반면, 도 4를 참조하면, H.264/AVC방식은 HEVC방식보다 비교적 간단한 분할 크기 및 모양을 사용한다. H.264/AVC방식은 현재 블록을 매크로 블록(Macro Block, MB)단위로 코딩을 수행한다. 이때, 매크로 블록의 크기는 16x16을 기본 설정으로 사용하며, 16x16, 8x16, 16x8, P8x8로 분할 될 수 있고, P8x8은 다시 8x8, 4x8, 8x4, 4x4로 세부 분할 될 수 있다. On the other hand, referring to FIG. 4, the H.264 / AVC method uses a relatively simple partition size and shape rather than the HEVC method. In the H.264 / AVC method, the current block is coded in macroblock (MB) units. At this time, the size of the macro block is 16x16 as a basic setting, and it can be divided into 16x16, 8x16, 16x8, and P8x8, and P8x8 can be further divided into 8x8, 4x8, 8x4, and 4x4.

도 3 및 도 4에 도시된 H.264/AVC방식 또는 HEVC방식과 같이, 본 발명의 일 실시예에 따른 트랜스코더 내에서, 제 1 코덱의 디코딩 방식에 따라 디코딩하는 디코더(100)와 제 2 코덱의 인코딩 방식에 따라 인코딩하는 인코더(200)는 코딩을 수행할 때 사용되는 블록의 크기 및 모양이 서로 다를 수 있다. 그러나, 기존의 트랜스코더의 트랜스코딩 방법은 도 1에 도시된 바와 같이 디코더에서 생성한 복원 영상을 제외한 어떤 정보도 인코더에서 사용하지 않는다. 따라서, 인코더는 고려 가능한 모든 모양의 움직임 블록에 대해서 움직임 예측(Motion Estimation, ME)을 수행하기 때문에 상대적으로 많은 연산 처리량을 요구하게 된다.In a transcoder according to an embodiment of the present invention, like the H.264 / AVC scheme or the HEVC scheme shown in FIGS. 3 and 4, a decoder 100 for decoding according to a decoding scheme of a first codec, The encoder 200 encoding according to the encoding scheme of the codec may have different sizes and shapes of blocks used in coding. However, the existing transcoder transcoding method does not use any information except the reconstructed image generated by the decoder in the encoder as shown in FIG. Therefore, since the encoder performs motion estimation (ME) on motion blocks of all shapes that can be considered, the encoder requires a relatively large amount of computation processing.

그러나, 본 발명의 일 실시예에 따른 트랜스코더의 트랜스코딩 방법은 디코딩 과정에서의 코딩 유닛 정보 및 예측 유닛 정보에 기초하여 현재 블록의 분할 모드를 빠르게 결정함으로써, 움직임 예측의 속도를 높이고, 트랜스코더의 복잡도를 줄이는 것이 가능하다. However, the transcoder transcoding method according to an embodiment of the present invention increases the speed of motion prediction by quickly determining the division mode of the current block based on the coding unit information and the prediction unit information in the decoding process, It is possible to reduce the complexity.

코딩 유닛 정보 및 예측 유닛 정보는 제 2 영상의 현재 블록에 대응되는 제 1 영상의 대응 블록의 코딩 유닛 또는 예측 유닛의 예측 모드 및 코딩 유닛 또는 예측 유닛의 분할 정보이다. 이때, 예측 모드는 인트라(intra) 모드, 인터(inter) 모드, 스킵(skip) 모드, 및 머지(Merge) 모드 중 어느 하나일 수 있다. The coding unit information and prediction unit information are the coding mode of the corresponding block of the first picture or the prediction mode of the prediction unit and the division information of the coding unit or prediction unit corresponding to the current block of the second picture. At this time, the prediction mode may be one of an intra mode, an inter mode, a skip mode, and a merge mode.

도 5는 본 발명의 일 실시예에 따른 트랜스코더의 트랜스코딩 방법을 상세히 설명하기 위한 순서도이다. 5 is a flowchart illustrating a method of transcoding a transcoder according to an exemplary embodiment of the present invention.

도 6은 본 발명의 일 실시예에 따른 영상 트랜스코딩 방법에서, 인코더가 대응 블록의 코딩 유닛의 분할 정보를 현재 블록에 적용하는 방법을 간략히 도식화하여 나타내고 있다.FIG. 6 is a simplified diagram illustrating a method of applying an encoding information of a coding unit of a corresponding block to a current block in an image transcoding method according to an exemplary embodiment of the present invention.

도 5를 참조하면 본 발명의 일 실시예에 따른 트랜스코딩 방법은 현재 블록과 같은 위치에 대응되는 대응 블록의 코딩 유닛 또는 예측 유닛의 예측 모드를 판단하는 단계(s110); 대응 블록의 코딩 유닛의 크기를 판단하는 단계(s120); 및 대응 블록의 분할 정보에 기초하여 현재 블록의 분할 모드를 결정하는 단계(s130)를 포함한다. Referring to FIG. 5, a transcoding method according to an exemplary embodiment of the present invention includes: determining (S110) a prediction mode of a coding unit or a prediction unit of a corresponding block corresponding to a same position as a current block; Determining (S120) the size of the coding unit of the corresponding block; And determining a division mode of the current block based on the division information of the corresponding block (s130).

도 6에 도시된 바와 같이, 본 발명의 일 실시예에 따른 영상 트랜스코딩 방법에서, 인코더(200)는 대응 블록(110)의 코딩 유닛 또는 예측 유닛의 예측 모드가 스킵(skip) 모드 또는 인터(inter) 모드일 경우, 대응 블록(110)의 코딩 유닛 또는 예측 유닛의 분할 정보를 현재 블록(210)에 적용할 수 있다고 판단한다. 반면, 인트라(intra) 모드 일경우, 대응 블록(110)의 분할 정보를 현재 블록(210)에 적용할 수 없다고 판단하고 인코더(200)는 고려 가능한 모든 모양의 움직임 블록에 대해서 움직임 예측을 수행한다(s110). 6, in an image transcoding method according to an embodiment of the present invention, the encoder 200 determines whether the prediction mode of the coding unit or prediction unit of the corresponding block 110 is a skip mode or an inter inter mode, it is determined that the division information of the coding unit or the prediction unit of the corresponding block 110 can be applied to the current block 210. [ On the other hand, in the intra mode, it is determined that the division information of the corresponding block 110 can not be applied to the current block 210, and the encoder 200 performs motion prediction on all possible shapes of motion blocks (S110).

계속해서, 대응 블록의 코딩 유닛 또는 예측 유닛의 예측 모드가 스킵 모드 또는 인터 모드일 경우, 제 2 코덱의 인코딩 방식에 따라 제 2 영상을 생성하는 인코더(200)는 움직임 예측을 수행하는 블록의 기본 단위가 n x n 일 경우, 제 2 코덱의 움직임 예측을 디코더(100) 내의 대응 블록(110)의 코딩 유닛의 크기가 n x n 보다 큰지, n x n인지, n/2 x n/2인지를 판단한다(s120). 일례로, 제 1 코덱이 HEVC 이고, 제 2 코덱이 H.264/AVC일 경우, n x n은 16 x 16 의 크기를 가질 수 있으나 이에 제한된 것은 아니다. Subsequently, when the prediction mode of the coding unit or the prediction unit of the corresponding block is the skip mode or the inter mode, the encoder 200 for generating the second image according to the encoding method of the second codec, If the unit is nxn, the motion prediction of the second codec is determined whether the size of the coding unit of the corresponding block 110 in the decoder 100 is larger than nxn, nxn, or n / 2 xn / 2 (s120). For example, when the first codec is HEVC and the second codec is H.264 / AVC, nxn may have a size of 16 x 16, but is not limited thereto.

다음으로, 인코더(200)는 디코더(100)의 대응 블록(110)의 분할 정보에 기초하여 현재 블록(210)의 분할 모드를 결정한다(s130). Next, the encoder 200 determines the division mode of the current block 210 based on the division information of the corresponding block 110 of the decoder 100 (s130).

인코더(200)는 대응 블록(110)의 코딩 유닛의 크기가 n x n 보다 큰 경우, 대응 블록(110)이 코딩 유닛의 경계 또는 예측 유닛의 경계로 분할되지 않았으면 현재 블록(210)의 분할 모드를 n x n으로 결정한다. 또는, 인코더(200)는 대응 블록(110)이 코딩 유닛의 경계 또는 예측 유닛의 경계 인해 가로 방향으로 분할되었으면 현재 블록(210)의 분할 모드를 n x n/2으로 결정한다. 또는, 인코더(200)는 대응 블록(110)이 코딩 유닛의 경계 또는 예측 유닛의 경계로 인해 세로 방향으로 분할되었으면 현재 블록(210)의 분할 모드를 n/2 x n으로 결정한다.If the size of the coding unit of the corresponding block 110 is greater than nxn then the encoder 200 determines the division mode of the current block 210 if the corresponding block 110 is not partitioned at the boundary of the coding unit or at the boundary of the prediction unit. nxn. Alternatively, the encoder 200 determines the division mode of the current block 210 to be n x n / 2 if the corresponding block 110 has been divided in the horizontal direction due to the boundary of the coding unit or the boundary of the prediction unit. Alternatively, the encoder 200 determines the division mode of the current block 210 to be n / 2 x n if the corresponding block 110 has been vertically divided due to the boundary of the coding unit or the boundary of the prediction unit.

한편, 인코더(200)는 대응 블록(110)의 코딩 유닛의 크기가 n x n 일 경우, 대응 블록(110)의 코딩 유닛의 분할 모양이 비대칭(Asymmetric Motion Partition, AMP) 분할인지를 판단하여, 비대칭 분할인 경우, 현재 블록(210)의 분할 모드를 n/2 x n/2으로 결정한다. 이때, 비대칭 분할의 판단은 대응 블록(110)의 코딩 유닛이 nLx2n, nRx2N, 2NxnU, 및 2NxnD 중 어느 하나의 형태로 분할되었을 경우 비대칭 분할로 판단한다. If the size of the coding unit of the corresponding block 110 is nxn, the encoder 200 determines whether the division shape of the coding unit of the corresponding block 110 is an asymmetric motion partition (AMP) , The division mode of the current block 210 is determined as n / 2 x n / 2. At this time, the determination of asymmetric division is determined as asymmetric division when the coding unit of the corresponding block 110 is divided into one of nLx2n, nRx2N, 2NxnU, and 2NxnD.

그러나, 대응 블록(110)의 코딩 유닛의 크기가 n x n 이고 비대칭 분할이 아닌 경우, 인코더(200)는 대응 블록(110)의 분할 정보에 기초하여 현재 블록(210)의 분할 모드를 결정한다. 이때, 인코더(200)는 대응 블록(110)이 코딩 유닛의 경계 또는 예측 유닛의 경계로 인해 세로 방향으로 분할되어 있지 않으면, 현재 블록(210)의 분할 모드를 n x n으로 결정한다. 또는, 인코더(200)는 탐색된 대응 블록(110)이 코딩 유닛의 경계 또는 예측 유닛의 경계로 인해 가로 방향으로 분할되었으면 현재 블록(210)의 분할 모드를 n x n/2으로 결정한다. 또는, 인코더(200)는 대응 블록(110)이 코딩 유닛의 경계 또는 예측 유닛의 경계로 인해 세로 방향으로 분할되었으면 현재 블록(210)의 분할 모드를 n/2 x n으로 결정한다.However, if the size of the coding unit of the corresponding block 110 is n x n and is not an asymmetric partition, the encoder 200 determines the partition mode of the current block 210 based on the partition information of the corresponding block 110. At this time, the encoder 200 determines the division mode of the current block 210 to be n x n if the corresponding block 110 is not vertically divided due to the boundary of the coding unit or the boundary of the prediction unit. Alternatively, the encoder 200 determines the division mode of the current block 210 to be n x n / 2 if the searched corresponding block 110 has been horizontally divided due to the boundary of the coding unit or the boundary of the prediction unit. Alternatively, the encoder 200 determines the division mode of the current block 210 to be n / 2 x n if the corresponding block 110 has been vertically divided due to the boundary of the coding unit or the boundary of the prediction unit.

한편, 인코더(200)는 탐색된 대응 블록(110)의 코딩 유닛의 크기가 n x n 보다 작은경우, 현재 블록(210)의 분할 모드를n/2 x n/2로 결정한다. 이어서, n/2 x n/2로 결정된 현재 블록(210)을 더 작은 세부 블록으로 분할할 것인지의 여부를 결정한다. Meanwhile, the encoder 200 determines the division mode of the current block 210 as n / 2 x n / 2 when the size of the coding unit of the found corresponding block 110 is smaller than n x n. Then, it is determined whether to divide the current block 210 determined by n / 2 x n / 2 into smaller detailed blocks.

도 7은 본 발명의 일 실시예에 따른 영상 트랜스코딩 방법에서, 현재 블록 내의 서브 블록의 분할 모드를 결정하는 단계를 설명하기 위한 순서도이다. FIG. 7 is a flowchart for explaining a step of determining a division mode of a sub-block in a current block in the image transcoding method according to an embodiment of the present invention.

도 8은 본 발명의 일 실시예에 따른 영상 트랜스코딩 방법에서, 서브 블록의 분할 모드를 결정하는 방법을 간략히 도식화하여 나타내고 있다. FIG. 8 schematically shows a method of determining a sub-block division mode in the image transcoding method according to an embodiment of the present invention.

도 7 및 도 8을 참조하면, 인코더(200)가 현재 블록(210)의 분할 모드를 n/2 x n/2로 결정한 경우, 현재 블록의 분할 모드를 결정하는 단계(s130)는, 현재 블록 내의 서브 블록의 분할 모드를 결정하는 단계(s140)를 더 포함한다. 이때, 인코더(200)는 현재 블록(210)의 서브 블록(220)과 같은 위치에 대응되는 서브 대응 블록(120)의 분할 정보를 이용하여 서브 블록(220)의 분할 모드를 결정할 수 있다. 7 and 8, when the encoder 200 determines the division mode of the current block 210 to be n / 2 xn / 2, the step of determining the division mode of the current block (s130) And determining a division mode of the sub-block (s140). At this time, the encoder 200 can determine the division mode of the sub-block 220 using the division information of the sub-corresponding block 120 corresponding to the same position as the sub-block 220 of the current block 210.

구체적으로, 인코더(200)는 서브 대응 블록(120)이 코딩 유닛의 경계 또는 예측 유닛의 경계로 분할되지 않았으면 현재 블록(210)내의 서브 블록(220)의 분할모드를 n/2 x n/2으로 결정한다. 또는 인코더(200)는 서브 대응 블록(120)이 코딩 유닛의 경계 또는 예측 유닛의 경계로 인해 가로 방향으로 분할되었으면 현재 블록(210)내의 서브 블록(220)의 분할 모드를 n/2 x n/4으로 결정한다. 또는, 인코더(200)는 서브 대응 블록(120)이 코딩 유닛의 경계 또는 예측 유닛의 경계로 인해 세로 방향으로 분할되었으면 현재 블록(210)내의 서브 블록(220)의 분할 모드를 n/4 x n/2으로 결정한다. Specifically, if the sub-corresponding block 120 is not partitioned at the boundary of the coding unit or the boundary of the prediction unit, the encoder 200 sets the division mode of the sub-block 220 in the current block 210 to n / 2 xn / 2 . Or encoder 200 may set the division mode of sub-block 220 in current block 210 to n / 2 x n / 4 (where n is a natural number) if the sub-corresponding block 120 has been horizontally divided due to the boundary of the coding unit or the boundary of the prediction unit. . Alternatively, the encoder 200 may set the division mode of the subblock 220 in the current block 210 to n / 4 xn / 2 if the subcorresponding block 120 has been vertically divided due to the boundary of the coding unit or the boundary of the prediction unit. 2 < / RTI >

도 9는 본 발명의 일 실시예에 따른 영상 트랜스코딩 방법에서 현재 블록의 분할 모드를 결정하는 단계를 더욱 상세히 설명하기 위한 순서도이다.FIG. 9 is a flowchart for explaining a step of determining a division mode of a current block in a video transcoding method according to an embodiment of the present invention.

도 9를 참조하면, 본 발명의 일 실시예에서, 제 1 코덱이 HEVC 이고, 제 2 코덱이 H.264/AVC일 경우, n x n은 16 x 16 의 크기를 가질 수 있다. Referring to FIG. 9, in an embodiment of the present invention, when the first codec is HEVC and the second codec is H.264 / AVC, nxn may have a size of 16 x 16.

인코더(200)는 대응 블록(110)의 코딩 유닛의 크기가 16x16 보다 큰 경우(s310), 대응 블록(110)이 코딩 유닛의 경계 또는 예측 유닛의 경계로 분할되지 않았으면 현재 블록(210)의 분할 모드를 16x16으로 결정한다(s412). 또는, 인코더(200)는 대응 블록(110)이 코딩 유닛의 경계 또는 예측 유닛의 경계 인해 가로 방향으로 분할되었으면 현재 블록(210)의 분할 모드를 16x8으로 결정한다(s414). 또는, 인코더(200)는 대응 블록(110)이 코딩 유닛의 경계 또는 예측 유닛의 경계로 인해 세로 방향으로 분할되었으면 현재 블록(210)의 분할 모드를 8x16으로 결정한다(s416).The encoder 200 determines if the size of the coding unit of the corresponding block 110 is greater than 16x16 (s310) and if the corresponding block 110 is not partitioned at the boundary of the coding unit or at the boundary of the prediction unit, The division mode is determined to be 16x16 (s412). Alternatively, the encoder 200 determines the division mode of the current block 210 to be 16x8 if the corresponding block 110 has been horizontally divided due to the boundaries of the coding unit or the boundary of the prediction unit (s414). Alternatively, the encoder 200 determines the division mode of the current block 210 to be 8x16 if the corresponding block 110 has been vertically divided due to the boundary of the coding unit or the boundary of the prediction unit (s416).

한편, 인코더(200)는 대응 블록(110)의 코딩 유닛의 크기가 16x16 일 경우(s320), 대응 블록(110)의 코딩 유닛의 분할 모양이 비대칭(Asymmetric Motion Partition, AMP) 분할인지를 판단하여, 비대칭 분할인 경우, 현재 블록(210)의 분할 모드를 8x8으로 결정한다(s422). 이때, 비대칭 분할의 판단은 대응 블록의 코딩 유닛이 nLx2n, nRx2N, 2NxnU, 및 2NxnD 중 어느 하나의 형태로 분할되었을 경우 비대칭 분할로 판단한다. Meanwhile, when the size of the coding unit of the corresponding block 110 is 16x16 (S320), the encoder 200 determines whether the division shape of the coding unit of the corresponding block 110 is an asymmetric motion partition (AMP) , And if it is an asymmetric division, the division mode of the current block 210 is determined as 8x8 (s422). At this time, the determination of asymmetric division is determined as asymmetric division when the coding unit of the corresponding block is divided into one of nLx2n, nRx2N, 2NxnU, and 2NxnD.

그러나, 대응 블록(110)의 코딩 유닛의 크기가 16x16 이고 비대칭 분할이 아닌 경우, 인코더(200)는 대응 블록(110)의 분할 정보에 기초하여 현재 블록(210)의 분할 모드를 결정한다. 이때, 인코더(200)는 대응 블록(110)이 코딩 유닛의 경계 또는 예측 유닛의 경계로 인해 세로 방향으로 분할되어 있지 않으면, 현재 블록(210)의 분할 모드를 16x16으로 결정한다(s424). 또는, 인코더(200)는 대응 블록(110)이 코딩 유닛의 경계 또는 예측 유닛의 경계로 인해 가로 방향으로 분할되었으면 현재 블록(210)의 분할 모드를 16x8으로 결정한다(s426). 또는, 인코더(200)는 대응 블록(110)이 코딩 유닛의 경계 또는 예측 유닛의 경계로 인해 세로 방향으로 분할되었으면 현재 블록(210)의 분할 모드를 8x16으로 결정한다(s428).However, if the size of the coding unit of the corresponding block 110 is 16x16 and is not an asymmetric partition, the encoder 200 determines the partition mode of the current block 210 based on the partition information of the corresponding block 110. [ At this time, if the corresponding block 110 is not vertically divided due to the boundaries of the coding unit or the boundary of the prediction unit, the encoder 200 determines the division mode of the current block 210 to be 16x16 (s424). Alternatively, the encoder 200 determines the division mode of the current block 210 to be 16x8 if the corresponding block 110 has been divided horizontally due to the boundary of the coding unit or the boundary of the prediction unit (s426). Alternatively, the encoder 200 determines the division mode of the current block 210 to be 8x16 if the corresponding block 110 has been vertically divided due to the boundary of the coding unit or the boundary of the prediction unit (s428).

한편, 인코더(200)는 대응 블록(110)의 코딩 유닛의 크기가 16x16보다 작은 경우, 현재 블록(210)의 분할 모드를8x8로 결정한다(s330). 이어서, 8x8로 결정된 현재 블록(210)을 더 작은 세부 블록으로 분할할 것인지의 여부를 결정한다. (S430).Meanwhile, if the size of the coding unit of the corresponding block 110 is smaller than 16x16, the encoder 200 determines the division mode of the current block 210 as 8x8 (s330). Then, it is determined whether to divide the current block 210 determined as 8x8 into smaller detailed blocks. (S430).

인코더(200)는 현재 블록(210)의 분할 모드를 8x8로 결정한 경우, 현재 블록(210) 내의 서브 블록(220)과 같은 위치에 대응되는 서브 대응 블록(120)의 분할 정보를 이용하여 서브 블록(220)의 분할 모드를 결정할 수 있다. When the division mode of the current block 210 is determined to be 8.times.8, the encoder 200 uses the division information of the sub-corresponding block 120 corresponding to the same position as the sub-block 220 in the current block 210, The user can determine the division mode of the display unit 220.

인코더(200)는 서브 대응 블록이 코딩 유닛의 경계 또는 예측 유닛의 경계로 분할되지 않았으면 현재 블록(210)내의 서브 블록(220)의 분할모드를 8x8으로 결정한다(s432). 또는, 인코더(200)는 서브 대응 블록(120)이 코딩 유닛의 경계 또는 예측 유닛의 경계로 인해 가로 방향으로 분할되었으면 현재 블록 내의 서브 블록(220)의 분할 모드를 8x4으로 결정한다(s434). 또는, 인코더(200)는 탐색된 서브 대응 블록(120)이 코딩 유닛의 경계 또는 예측 유닛의 경계로 인해 세로 방향으로 분할되었으면 현재 블록(210) 내의 서브 블록(220)의 분할 모드를 4x8으로 결정한다(s436).The encoder 200 determines the division mode of the sub-block 220 in the current block 210 to be 8x8 (s432) if the sub-corresponding block is not divided into the boundary of the coding unit or the boundary of the prediction unit. Alternatively, the encoder 200 determines the division mode of the sub-block 220 in the current block to be 8x4 (s434) if the sub-corresponding block 120 has been horizontally divided due to the boundary of the coding unit or the boundary of the prediction unit. Alternatively, the encoder 200 determines the division mode of the sub-block 220 in the current block 210 to be 4x8 if the searched sub-corresponding block 120 has been vertically divided due to the boundaries of the coding unit or the boundaries of the prediction unit (S436).

전술한 바와 같이, 본 발명에서 제안하는 영상 트랜스코더의 트랜스코딩 방법을 활용하면, 디코더(100)로부터 알 수 있는 코딩 유닛 또는 예측 유닛의 크기 및 분할 정보를 사용하여 인코더(200)의 현재 블록의 분할 모드를 빠르게 결정함으로써, 인코더의 움직임 벡터 예측 모듈의 복잡도를 줄이고, 트랜스코더의 전체적인 성능을 향상시킬 수 있다.As described above, by utilizing the transcoding method of the video transcoder proposed in the present invention, the size and division information of the coding unit or the prediction unit, which are known from the decoder 100, By quickly determining the division mode, the complexity of the motion vector prediction module of the encoder can be reduced and the overall performance of the transcoder can be improved.

한편, 도 2에서 도시된 각각의 구성요소는 일종의 '모듈'로 구성될 수 있다. 상기 '모듈'은 소프트웨어 또는 Field Programmable Gate Array(FPGA) 또는 주문형 반도체(ASIC, Application Specific Integrated Circuit)과 같은 하드웨어 구성요소를 의미하며, 모듈은 어떤 역할들을 수행한다. 그렇지만 모듈은 소프트웨어 또는 하드웨어에 한정되는 의미는 아니다. 모듈은 어드레싱할 수 있는 저장 매체에 있도록 구성될 수도 있고 하나 또는 그 이상의 프로세서들을 실행시키도록 구성될 수도 있다. 구성요소들과 모듈들에서 제공되는 기능은 더 작은 수의 구성요소들 및 모듈들로 결합되거나 추가적인 구성요소들과 모듈들로 더 분리될 수 있다.Each component shown in FIG. 2 may be composed of a 'module'. The term 'module' refers to a hardware component such as software or a Field Programmable Gate Array (FPGA) or an Application Specific Integrated Circuit (ASIC), and the module performs certain roles. However, a module is not limited to software or hardware. A module may be configured to reside on an addressable storage medium and may be configured to execute one or more processors. The functionality provided by the components and modules may be combined into a smaller number of components and modules or further separated into additional components and modules.

또한, 인코더(영상 부호화 장치)에 의해 비트스트림으로 부호화된 영상은 실시간 또는 비실시간으로 인터넷, 근거리 무선 통신망, 무선랜망, 와이브로망, 이동통신망 등의 유무선 통신망 등을 통하거나 케이블, 범용 직렬 버스(USB: Universal Serial Bus) 등의 통신 인터페이스를 통해 디코더(영상 복호화 장치)로 전송될 수 있어 영상으로 복원되고 재생될 수 있다.In addition, an image encoded by a bit stream by an encoder (image encoding apparatus) can be transmitted in real time or in non-real time through a wired / wireless communication network such as the Internet, a local area wireless communication network, a wireless LAN network, a WiBro network, (Video decoding apparatus) through a communication interface such as a universal serial bus (USB), and can be restored and reproduced as an image.

본 발명의 장치 및 방법은 특정 실시예와 관련하여 설명되었지만, 그것들의 구성 요소 또는 동작의 일부 또는 전부는 범용 하드웨어 아키텍쳐를 갖는 컴퓨터 시스템을 사용하여 구현될 수 있다. While the apparatus and method of the present invention has been described in connection with specific embodiments, some or all of those elements or operations may be implemented using a computer system having a general purpose hardware architecture.

아울러, 본 발명의 일 실시예는 컴퓨터에 의해 실행되는 프로그램 모듈과 같은 컴퓨터에 의해 실행 가능한 명령어를 포함하는 기록 매체의 형태로도 구현될 수 있다. 컴퓨터 판독 가능 매체는 컴퓨터에 의해 액세스될 수 있는 임의의 가용 매체일 수 있고, 휘발성 및 비휘발성 매체, 분리형 및 비분리형 매체를 모두 포함한다. 또한, 컴퓨터 판독가능 매체는 컴퓨터 저장 매체 및 통신 매체를 모두 포함할 수 있다. 컴퓨터 저장 매체는 컴퓨터 판독가능 명령어, 데이터 구조, 프로그램 모듈 또는 기타 데이터와 같은 정보의 저장을 위한 임의의 방법 또는 기술로 구현된 휘발성 및 비휘발성, 분리형 및 비분리형 매체를 모두 포함한다. 통신 매체는 전형적으로 컴퓨터 판독가능 명령어, 데이터 구조, 프로그램 모듈, 또는 반송파와 같은 변조된 데이터 신호의 기타 데이터, 또는 기타 전송 메커니즘을 포함하며, 임의의 정보 전달 매체를 포함한다.In addition, an embodiment of the present invention may also be embodied in the form of a recording medium including instructions executable by a computer, such as program modules, being executed by a computer. Computer readable media can be any available media that can be accessed by a computer and includes both volatile and nonvolatile media, removable and non-removable media. In addition, the computer-readable medium can include both computer storage media and communication media. Computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Communication media typically includes any information delivery media, including computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave, or other transport mechanism.

전술한 본 발명의 설명은 예시를 위한 것이며, 본 발명이 속하는 기술분야의 통상의 지식을 가진 자는 본 발명의 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 쉽게 변형이 가능하다는 것을 이해할 수 있을 것이다. 그러므로 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며 한정적이 아닌 것으로 이해해야만 한다. 예를 들어, 단일형으로 설명되어 있는 각 구성 요소는 분산되어 실시될 수도 있으며, 마찬가지로 분산된 것으로 설명되어 있는 구성 요소들도 결합된 형태로 실시될 수 있다.It will be understood by those skilled in the art that the foregoing description of the present invention is for illustrative purposes only and that those of ordinary skill in the art can readily understand that various changes and modifications may be made without departing from the spirit or essential characteristics of the present invention. will be. It is therefore to be understood that the above-described embodiments are illustrative in all aspects and not restrictive. For example, each component described as a single entity may be distributed and implemented, and components described as being distributed may also be implemented in a combined form.

본 발명의 범위는 상기 상세한 설명보다는 후술하는 특허청구범위에 의하여 나타내어지며, 특허청구범위의 의미 및 범위 그리고 그 균등 개념으로부터 도출되는 모든 변경 또는 변형된 형태가 본 발명의 범위에 포함되는 것으로 해석되어야 한다.The scope of the present invention is defined by the appended claims rather than the detailed description and all changes or modifications derived from the meaning and scope of the claims and their equivalents are to be construed as being included within the scope of the present invention do.

100: 디코더 200: 인코더
110: 대응 블록 210: 현재 블록
120: 서브 대응 블록 220: 서브 블록
100: decoder 200: encoder
110: corresponding block 210: current block
120: Sub-correspondence block 220:

Claims (22)

영상 트랜스코더에 있어서,
제 1 코덱에 따라 인코딩된 제 1 영상을 제 1 코덱에 따라 디코딩하는 디코더, 및
상기 디코더를 통해 복원된 영상을 제 2 코덱에 따라 인코딩하여 제 2 영상을 생성하되,
상기 제 1 영상에 대한 코딩 유닛 정보 및 예측 유닛 정보에 기초하여 현재 블록의 분할 모드를 결정하여 인코딩하는 인코더를 포함하는 영상 트랜스코더.
In a video transcoder,
A decoder for decoding the first image encoded according to the first codec according to the first codec, and
And generating a second image by encoding an image reconstructed through the decoder according to a second codec,
And an encoder for determining and encoding a division mode of a current block based on coding unit information and prediction unit information for the first image.
제 1 항에 있어서,
상기 코딩 유닛 정보 및 예측 유닛 정보는
상기 제 2 영상의 현재 블록에 대응되는 상기 제 1 영상의 대응 블록의 코딩 유닛 또는 예측 유닛의 예측 모드 및
상기 코딩 유닛 또는 예측 유닛의 분할 정보로서,
상기 예측 모드는 인트라(intra) 모드, 인터(inter) 모드, 스킵(skip) 모드, 및 머지(Merge) 모드 중 어느 하나인 영상 트랜스코더.
The method according to claim 1,
The coding unit information and prediction unit information
A prediction mode of a coding unit or a prediction unit of a corresponding block of the first image corresponding to a current block of the second image,
As the division information of the coding unit or the prediction unit,
Wherein the prediction mode is one of an intra mode, an inter mode, a skip mode, and a merge mode.
제 2 항에 있어서,
상기 인코더는
상기 대응 블록의 코딩 유닛 또는 예측 유닛의 예측 모드가 스킵(skip) 모드 또는 인터(inter) 모드일 경우, 상기 코딩 유닛 또는 예측 유닛의 분할 정보를 이용하여 상기 현재 블록의 분할 모드를 결정하는 영상 트랜스코더.
3. The method of claim 2,
The encoder
Wherein the prediction mode of the coding unit or the prediction unit of the corresponding block is a skip mode or an inter mode and the division mode of the coding unit or the prediction unit is used to determine a division mode of the current block, coder.
제 3 항에 있어서,
상기 인코더는
상기 대응 블록의 코딩 유닛의 크기가 n x n 보다 큰 경우,
상기 대응 블록이 코딩 유닛의 경계 또는 예측 유닛의 경계로 분할되지 않았으면 상기 현재 블록의 분할 모드를 n x n 으로 결정하고,
상기 대응 블록이 코딩 유닛의 경계 또는 예측 유닛의 경계로 인해 세로 방향으로 분할되었으면 상기 현재 블록의 분할 모드를 n/2 x n 으로 결정하며,
상기 대응 블록이 코딩 유닛의 경계 또는 예측 유닛의 경계 인해 가로 방향으로 분할되었으면 상기 현재 블록의 분할 모드를 n x n/2 으로 결정하는 영상 트랜스코더
The method of claim 3,
The encoder
If the size of the coding unit of the corresponding block is greater than nxn,
Determining a division mode of the current block to be nxn if the corresponding block is not divided into a boundary of a coding unit or a boundary of a prediction unit,
Determining a division mode of the current block as n / 2 x n if the corresponding block has been vertically divided due to a border of the coding unit or a boundary of the prediction unit,
And determines the division mode of the current block to be nxn / 2 if the corresponding block has been divided in the horizontal direction due to the boundary of the coding unit or the boundary of the prediction unit.
제 3 항에 있어서,
상기 인코더는
상기 대응 블록의 코딩 유닛의 크기가 n x n 이고, 상기 코딩 유닛이 비대칭(Asymmetric Motion Partition, AMP)으로 분할되었으면, 상기 현재 블록의 분할 모드를 n/2 x n/2 으로 결정하는 영상 트랜스코더.
The method of claim 3,
The encoder
And determining a division mode of the current block as n / 2 x n / 2, if the size of the coding unit of the corresponding block is nxn and the coding unit is divided into asymmetric motion partitions (AMP).
제 3 항에 있어서,
상기 인코더는
상기 코딩 유닛이 nLx2n, nRx2N, 2NxnU, 및 2NxnD 중 어느 하나의 형태로 분할 되었을 경우, 비대칭 분할로 판단하는 것인 영상 트랜스코더.
The method of claim 3,
The encoder
And judges asymmetric division when the coding unit is divided into one of nLx2n, nRx2N, 2NxnU, and 2NxnD.
제 3 항에 있어서,
상기 인코더는
상기 대응 블록의 코딩 유닛의 크기가 n x n 인 경우,
상기 대응 블록이 코딩 유닛의 경계 또는 예측 유닛의 경계로 인해 세로 방향으로 분할되었으면 상기 현재 블록의 분할 모드를 n/2 x n 으로 결정하고,
상기 대응 블록이 코딩 유닛의 경계 또는 예측 유닛의 경계로 인해 가로 방향으로 분할되었으면 상기 현재 블록의 분할 모드를 n x n/2 으로 결정하는 영상 트랜스코더.
The method of claim 3,
The encoder
If the size of the coding unit of the corresponding block is nxn,
Determining a division mode of the current block as n / 2 xn if the corresponding block has been divided vertically due to a boundary of a coding unit or a boundary of a prediction unit,
And determines the division mode of the current block to be nxn / 2 if the corresponding block is divided in the horizontal direction due to the boundary of the coding unit or the boundary of the prediction unit.
제 3 항에 있어서,
상기 인코더는
상기 대응 블록의 코딩 유닛의 크기가 n/2 x n/2 인 경우,
상기 현재 블록의 분할모드를 n/2 x n/2 으로 결정하는 영상 트랜스코더.
The method of claim 3,
The encoder
If the size of the coding unit of the corresponding block is n / 2 x n / 2,
And determines a division mode of the current block as n / 2 xn / 2.
제 5 항 또는 제 8 항에 있어서,
상기 인코더가 상기 현재 블록의 분할 모드를 n/2 x n/2 으로 결정한 경우,
상기 인코더는
상기 현재 블록 내의 서브 블록의 분할 모드를 결정하는 것을 더 포함하되,상기 서브 블록의 분할 모드를 결정하는 것은 상기 현재 블록의 서브 블록과 같은 위치에 대응되는 서브 대응 블록의 분할 정보를 이용하여 상기 서브 블록의 분할 모드를 결정하는 영상 트랜스코더.
9. The method according to claim 5 or 8,
When the encoder determines the division mode of the current block to be n / 2 x n / 2,
The encoder
Determining a division mode of the sub-block in the current block, wherein determining the division mode of the sub-block includes dividing the sub-block corresponding to the same position as the sub- A video transcoder that determines the division mode of the block.
제 9 항에 있어서,
상기 인코더는
상기 서브 대응 블록이 코딩 유닛의 경계 또는 예측 유닛의 경계로 분할되지 않았으면 상기 서브 블록의 분할모드를 n/2 x n/2 으로 결정하고,
상기 서브 대응 블록이 코딩 유닛의 경계 또는 예측 유닛의 경계로 인해 세로 방향으로 분할되었으면 상기 서브 블록의 분할 모드를 n/4 x n/2 으로 결정하며,
상기 서브 대응 블록이 코딩 유닛의 경계 또는 예측 유닛의 경계로 인해 가로 방향으로 분할되었으면 상기 서브 블록의 분할 모드를 n/2 x n/4 으로 결정하는 영상 트랜스코더.
10. The method of claim 9,
The encoder
Determining a division mode of the sub-block as n / 2 x n / 2 if the sub-corresponding block is not divided by the boundary of the coding unit or the boundary of the prediction unit,
And determines the division mode of the sub-block to be n / 4 x n / 2 if the sub-corresponding block is divided vertically due to the boundary of the coding unit or the boundary of the prediction unit,
And determines the division mode of the sub-block to be n / 2 xn / 4 if the sub-corresponding block has been divided in the horizontal direction due to the boundary of the coding unit or the boundary of the prediction unit.
제 1 항에 있어서,
상기 제 1 코덱은 HEVC 코덱이고,
상기 제 2 코덱은 H.264/AVC 코덱인 영상 트랜스코더.
The method according to claim 1,
Wherein the first codec is an HEVC codec,
And the second codec is an H.264 / AVC codec.
영상 트랜스코딩 방법에 있어서,
제 1 코덱에 따라 인코딩된 제 1 영상을 제 1 코덱에 따라 디코딩하는 단계; 및
상기 디코더를 통해 복원된 영상을 제 2 코덱에 따라 인코딩하여 제 2 영상을 생성하되, 상기 제 1 영상에 대한 코딩 유닛 정보 및 예측 유닛 정보에 기초하여 현재 블록의 분할 모드를 결정하여 인코딩하는 단계를 포함하는 영상 트랜스코딩 방법.
In an image transcoding method,
Decoding the first image encoded according to the first codec according to the first codec; And
Determining a division mode of a current block based on coding unit information and prediction unit information for the first image and encoding the second image by encoding the reconstructed image according to a second codec, / RTI >
제 12 항에 있어서,
상기 코딩 유닛 정보 및 예측 유닛 정보는
상기 제 2 영상의 현재 블록에 대응되는 상기 제 1 영상의 대응 블록의 코딩 유닛 또는 예측 유닛의 예측 모드, 및
상기 코딩 유닛 또는 예측 유닛의 분할 정보로서,
상기 예측 모드는 인트라(intra) 모드, 인터(inter) 모드, 스킵(skip) 모드, 및 머지(Merge) 모드 중 어느 하나인 것인 영상 트랜스코딩 방법.
13. The method of claim 12,
The coding unit information and prediction unit information
A prediction mode of a coding unit or a prediction unit of a corresponding block of the first image corresponding to a current block of the second image,
As the division information of the coding unit or the prediction unit,
Wherein the prediction mode is one of an intra mode, an inter mode, a skip mode, and a merge mode.
제 13 항에 있어서,
상기 인코딩하는 단계는
상기 대응 블록의 코딩 유닛 또는 예측 유닛의 예측 모드가 스킵(skip)또는 인터(inter) 모드일 경우, 상기 코딩 유닛 또는 예측 유닛의 분할 정보를 이용하여 상기 인코더의 현재 블록의 분할 모드를 결정하는 것인 영상 트랜스코딩 방법.
14. The method of claim 13,
The encoding step
Determining a division mode of the current block of the encoder using the division information of the coding unit or the prediction unit when the prediction mode of the coding unit or the prediction unit of the corresponding block is a skip or inter mode Transcoding method.
제 14 항에 있어서,
상기 대응 블록의 코딩 유닛의 크기가 n x n 보다 큰 경우,
상기 현재 블록의 분할 모드를 결정하는 단계는
상기 대응 블록이 코딩 유닛의 경계 또는 예측 유닛의 경계로 분할되지 않았으면 상기 현재 블록의 분할 모드를 n x n 으로 결정하고,
상기 대응 블록이 코딩 유닛의 경계 또는 예측 유닛의 경계로 인해 세로 방향으로 분할되었으면 상기 현재 블록의 분할 모드를 n/2 x n 으로 결정하며,
상기 대응 블록이 코딩 유닛의 경계 또는 예측 유닛의 경계 인해 가로 방향으로 분할되었으면 상기 현재블록의 분할 모드를 n x n/2 으로 결정하는 것인 영상 트랜스코딩 방법.
15. The method of claim 14,
If the size of the coding unit of the corresponding block is greater than nxn,
The step of determining the division mode of the current block
Determining a division mode of the current block to be nxn if the corresponding block is not divided into a boundary of a coding unit or a boundary of a prediction unit,
Determining a division mode of the current block as n / 2 x n if the corresponding block has been vertically divided due to a border of the coding unit or a boundary of the prediction unit,
And determines the division mode of the current block to be nxn / 2 if the corresponding block has been divided in the horizontal direction due to the boundary of the coding unit or the boundary of the prediction unit.
제 14 항에 있어서,
상기 대응 블록의 코딩 유닛의 크기가 n x n 인 경우,
상기 코딩 유닛이 비대칭(Asymmetric Motion Partition, AMP) 분할인지 판단하는 단계를 더 포함하고,
상기 코딩 유닛이 비대칭 분할인 경우, 상기 현재 블록의 분할 모드를 결정하는 단계는,
상기 현재 블록의 분할 모드를 n/2 x n/2 으로 결정하는 것인 영상 트랜스코딩 방법.
15. The method of claim 14,
If the size of the coding unit of the corresponding block is nxn,
Further comprising the step of determining whether the coding unit is an Asymmetric Motion Partition (AMP)
Wherein if the coding unit is an asymmetric partition, the step of determining a partitioning mode of the current block comprises:
And the division mode of the current block is determined as n / 2 xn / 2.
제 15 항에 있어서,
상기 코딩 유닛이 비대칭 분할이 아닌 경우,
상기 현재 블록의 분할 모드를 결정하는 단계는
상기 대응 블록이 코딩 유닛의 경계 또는 예측 유닛의 경계로 인해 세로 방향으로 분할되었으면 상기 현재 블록의 분할 모드를 n/2 x n 으로 결정하며,
상기 대응 블록이 코딩 유닛의 경계 또는 예측 유닛의 경계로 인해 가로 방향으로 분할되었으면 상기 현재 블록의 분할 모드를 n x n/2 으로 결정하는 것인 영상 트랜스코딩 방법.
16. The method of claim 15,
If the coding unit is not an asymmetric partition,
The step of determining the division mode of the current block
Determining a division mode of the current block as n / 2 x n if the corresponding block has been vertically divided due to a border of the coding unit or a boundary of the prediction unit,
And determining the division mode of the current block to be nxn / 2 if the corresponding block has been divided in the horizontal direction due to the boundary of the coding unit or the boundary of the prediction unit.
제 16 항 또는 제 17 항에 있어서,
상기 코딩 유닛이 비대칭(Asymmetric Motion Partition, AMP) 분할인지 판단하는 단계는 상기 코딩 유닛이 nLx2n, nRx2N, 2NxnU, 및 2NxnD 중 어느 하나의 형태로 분할 되었을 경우 비대칭 분할로 판단하는 것인 영상 트랜스코딩 방법.
18. The method according to claim 16 or 17,
Wherein the step of determining whether the coding unit is an Asymmetric Motion Partition (AMP) partitioning judges asymmetric division when the coding unit is divided into one of nLx2n, nRx2N, 2NxnU, and 2NxnD, .
제 17 항에 있어서,
상기 대응 블록의 코딩 유닛의 크기가 n/2 x n/2 인 경우,
상기 현재 블록의 분할 모드를 결정하는 단계는
상기 현재블록의 분할 모드를 n/2 x n/2 으로 결정하는 것인 영상 트랜스코딩 방법.
18. The method of claim 17,
If the size of the coding unit of the corresponding block is n / 2 x n / 2,
The step of determining the division mode of the current block
And the division mode of the current block is determined as n / 2 xn / 2.
제 16 항 또는 제 19 항에 있어서,
상기 인코더가 상기 현재 블록의 분할 모드를 n/2 x n/2 으로 결정한 경우,
상기 현재 블록의 분할 모드를 결정하는 단계는
상기 현재 블록 내의 서브 블록의 분할 모드를 결정하는 단계를 더 포함하되,
상기 서브 블록의 분할 모드를 결정하는 단계는
상기 현재 블록의 서브 블록과 같은 위치에 대응되는 서브 대응 블록의 분할 정보를 이용하여 서브 블록의 분할 모드를 결정하는 것인 영상 트랜스코딩 방법.
The method according to claim 16 or 19,
When the encoder determines the division mode of the current block to be n / 2 x n / 2,
The step of determining the division mode of the current block
Further comprising determining a division mode of a sub-block in the current block,
The step of determining the division mode of the sub-
Wherein a division mode of the sub-block is determined using the division information of the sub-corresponding block corresponding to the same position as the sub-block of the current block.
제 20 항에 있어서,
상기 서브 블록의 분할 모드를 결정하는 단계는
상기 서브 대응 블록이 코딩 유닛의 경계 또는 예측 유닛의 경계로 분할되지 않았으면 상기 서브 블록의 분할 모드를 n/2 x n/2 으로 결정하고,
상기 서브 대응 블록이 코딩 유닛의 경계 또는 예측 유닛의 경계로 인해 세로 방향으로 분할되었으면 상기 서브 블록의 분할 모드를 n/4 x n/2 으로 결정하며,
상기 서브 대응 블록이 코딩 유닛의 경계 또는 예측 유닛의 경계로 인해 가로 방향으로 분할되었으면 상기 서브 블록의 분할 모드를 n/2 x n/4 으로 결정하는 것인 영상 트랜스코딩 방법.
21. The method of claim 20,
The step of determining the division mode of the sub-
Determining a division mode of the sub-block as n / 2 x n / 2 if the sub-corresponding block is not divided by the boundary of the coding unit or the boundary of the prediction unit,
And determines the division mode of the sub-block to be n / 4 x n / 2 if the sub-corresponding block is divided vertically due to the boundary of the coding unit or the boundary of the prediction unit,
Wherein the dividing mode of the sub-block is determined as n / 2 x n / 4 if the sub-corresponding block has been divided in the horizontal direction due to the boundary of the coding unit or the boundary of the prediction unit.
제 12 항에 있어서,
상기 제 1 코덱은 HEVC 코덱이고,
상기 제 2 코덱은 H.264/AVC 코덱인 영상 트랜스코딩 방법.
13. The method of claim 12,
Wherein the first codec is an HEVC codec,
And the second codec is an H.264 / AVC codec.
KR1020150006071A 2015-01-13 2015-01-13 Transcoder and transcoding method for moving picture KR20160087205A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020150006071A KR20160087205A (en) 2015-01-13 2015-01-13 Transcoder and transcoding method for moving picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020150006071A KR20160087205A (en) 2015-01-13 2015-01-13 Transcoder and transcoding method for moving picture

Publications (1)

Publication Number Publication Date
KR20160087205A true KR20160087205A (en) 2016-07-21

Family

ID=56680496

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020150006071A KR20160087205A (en) 2015-01-13 2015-01-13 Transcoder and transcoding method for moving picture

Country Status (1)

Country Link
KR (1) KR20160087205A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112136327A (en) * 2018-05-30 2020-12-25 华为技术有限公司 Method and apparatus for boundary segmentation

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112136327A (en) * 2018-05-30 2020-12-25 华为技术有限公司 Method and apparatus for boundary segmentation

Similar Documents

Publication Publication Date Title
KR102329587B1 (en) Method for intra prediction and apparatus thereof
KR101949818B1 (en) Method for video decoding and computer readable redording meduim thereof
TWI750415B (en) Coding affine prediction motion information for video coding
US11889052B2 (en) Method for encoding video information and method for decoding video information, and apparatus using same
JP6720191B2 (en) Overlap motion compensation for video coding
RU2742298C2 (en) Motion vector derivation in video coding
WO2019147826A1 (en) Advanced motion vector prediction speedups for video coding
KR20170058838A (en) Method and apparatus for encoding/decoding of improved inter prediction
KR102140331B1 (en) Method for intra prediction and apparatus thereof
KR20130016172A (en) Decoding method of inter coded moving picture
KR20190089835A (en) Method and apparatus for video encoding/decoding using error compensation
KR20150018239A (en) Method and apparatus for determining merge mode
KR20110111853A (en) Method and apparatus for encoding/decoding based on segments
KR20200145761A (en) Method and Apparatus for Image Encoding and Decoding Thereof
KR20160087205A (en) Transcoder and transcoding method for moving picture
KR20180111378A (en) A method of video processing providing independent properties between coding tree units and coding units, a method and appratus for decoding and encoding video using the processing.
KR20160087206A (en) Transcoder and transcoding method for moving picture
RU2810126C2 (en) Method and device for image prediction and computer readable data medium
KR20160087209A (en) Transcoder and transcoding method for moving picture
KR20230074682A (en) Method for encoding/decoding video and apparatus thereof
KR20170126817A (en) Fast video encoding method and apparatus for the same
KR20170021675A (en) Apparatus and method for video transform encoding
KR20150116338A (en) Method and apparatus for motion estimation

Legal Events

Date Code Title Description
N231 Notification of change of applicant
WITN Withdrawal due to no request for examination