KR20040078935A - Coding method for moving picture - Google Patents

Coding method for moving picture Download PDF

Info

Publication number
KR20040078935A
KR20040078935A KR1020030013769A KR20030013769A KR20040078935A KR 20040078935 A KR20040078935 A KR 20040078935A KR 1020030013769 A KR1020030013769 A KR 1020030013769A KR 20030013769 A KR20030013769 A KR 20030013769A KR 20040078935 A KR20040078935 A KR 20040078935A
Authority
KR
South Korea
Prior art keywords
picture
field
order
pictures
index
Prior art date
Application number
KR1020030013769A
Other languages
Korean (ko)
Other versions
KR100934518B1 (en
Inventor
전병문
소윤성
Original Assignee
엘지전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 엘지전자 주식회사 filed Critical 엘지전자 주식회사
Priority to KR1020030013769A priority Critical patent/KR100934518B1/en
Publication of KR20040078935A publication Critical patent/KR20040078935A/en
Application granted granted Critical
Publication of KR100934518B1 publication Critical patent/KR100934518B1/en

Links

Classifications

    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B6/00Light guides; Structural details of arrangements comprising light guides and other optical elements, e.g. couplings
    • G02B6/44Mechanical structures for providing tensile strength and external protection for fibres, e.g. optical transmission cables
    • G02B6/4439Auxiliary devices
    • G02B6/444Systems or boxes with surplus lengths
    • G02B6/4452Distribution frames
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B6/00Light guides; Structural details of arrangements comprising light guides and other optical elements, e.g. couplings
    • G02B6/44Mechanical structures for providing tensile strength and external protection for fibres, e.g. optical transmission cables
    • G02B6/4439Auxiliary devices
    • G02B6/444Systems or boxes with surplus lengths
    • G02B6/4441Boxes
    • G02B6/4446Cable boxes, e.g. splicing boxes with two or more multi fibre cables
    • G02B6/4447Cable boxes, e.g. splicing boxes with two or more multi fibre cables with divided shells
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B6/00Light guides; Structural details of arrangements comprising light guides and other optical elements, e.g. couplings
    • G02B6/44Mechanical structures for providing tensile strength and external protection for fibres, e.g. optical transmission cables
    • G02B6/4439Auxiliary devices
    • G02B6/444Systems or boxes with surplus lengths
    • G02B6/4441Boxes
    • G02B6/445Boxes with lateral pivoting cover
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B6/00Light guides; Structural details of arrangements comprising light guides and other optical elements, e.g. couplings
    • G02B6/46Processes or apparatus adapted for installing or repairing optical fibres or optical cables
    • G02B6/56Processes for repairing optical cables
    • G02B6/564Repair sets

Abstract

PURPOSE: A moving picture coding method is provided to effectively initiate a reference picture index used for motion compensation in consideration of coding efficiency when an interlaced scanned moving picture is coded into a field picture. CONSTITUTION: An initial reference picture index is allocated to each reference field in a reference buffer when a moving picture coding system using a multiple reference picture codes an interlaced scanning moving picture into a field picture. In the case of P picture, the reference picture index is allocated in a coding order irrespective of the parity of the current field. When the reference picture index of the P picture is allocated, all of short-term reference pictures are arranged in the inverse order of the coding order and the reference picture index is allocated increasing one by one from zero in the order of the arranged fields of the short-term reference pictures irrespective of the parity.

Description

동영상 코딩 방법{Coding method for moving picture}Coding method for moving picture}

본 발명은 동영상 코딩에 관한 것으로, 특히 다중 레퍼런스 픽쳐(multiple reference picture)를 이용하는 동영상 코딩 시스템에서 비월(interlaced) 주사 방식의 동영상을 코딩하는 동영상 코딩 방법에 관한 것이다.The present invention relates to video coding, and more particularly, to a video coding method for coding an interlaced scanning video in a video coding system using multiple reference pictures.

일반적인 동영상 코딩 시스템에서는 모션벡터 정보를 이용하여 움직임 보상 (motion compensation)을 하는데, 특히 다중 레퍼런스 픽쳐를 사용하는 동영상 코딩 시스템에서는 움직임 보상을 위해 모션벡터 외에 레퍼런스 픽쳐 인덱스 (reference picture index) 정보가 필요하게 된다. 이때 레퍼런스 픽쳐 인덱스는 다중 레퍼런스 픽쳐 각각을 구분하기 위해 사용되는 값으로써, 부호기는 움직임 보상에 사용된 레퍼런스 픽쳐 인덱스 값을 복호기에 전송하고 복호기는 그 값이 가리키는 레퍼런스 픽쳐로부터 움직임 보상을 수행한다.In general video coding system, motion compensation is performed using motion vector information. Especially in video coding system using multiple reference pictures, reference picture index information is required in addition to motion vector for motion compensation. do. In this case, the reference picture index is a value used to distinguish each of the multiple reference pictures. The encoder transmits a reference picture index value used for motion compensation to the decoder, and the decoder performs motion compensation from the reference picture indicated by the value.

다중 레퍼런스 픽쳐를 사용하는 경우, 레퍼런스 버퍼는 숏텀(Short-term) 레퍼런스 픽쳐들을 저장하는 숏텀 레퍼런스 버퍼와 롱텀(Long-term) 레퍼런스 픽쳐들을 저장하는 롱텀 레퍼런스 버퍼로 나눌 수 있다. 숏텀 레퍼런스 버퍼는 일반적으로 최근에 코딩된 픽쳐들을 저장하는 버퍼로, 여기에 저장되는 픽쳐들은 시간이 지남에 따라 선입선출(FIFO:First-In-First-Out) 방식으로 버퍼로부터 삭제된다. 반면에 롱텀 레퍼런스 버퍼 내의 픽쳐들은 시간에 관계없이 특정 신택스(syntax)에 의해서 저장 및 삭제가 이루어지게 된다.When using multiple reference pictures, the reference buffer may be divided into a short term reference buffer storing short-term reference pictures and a long term reference buffer storing long-term reference pictures. The short term reference buffer is a buffer for storing recently coded pictures, and the pictures stored therein are deleted from the buffer in a first-in-first-out (FIFO) manner over time. On the other hand, pictures in the long term reference buffer are stored and deleted by a specific syntax regardless of time.

한편, 동영상의 주사 방식은 크게 순차(Progressive) 주사 방식과 비월 (Interlaced) 주사 방식의 두 가지가 있다. 순차 주사에서는 한 프레임의 영상은 모두 같은 시간에 샘플링된 것으로 이루어지는데 반해, 비월 주사에서는 한 프레임의 영상 내에서 홀수 번째 라인과 짝수 번째 라인의 샘플링 시간이 서로 다른데, 서로 다른 시간에 샘플링된 영상 중 샘플링 시간의 순서에 관계없이 프레임의 첫 라인을 포함하는 필드를 탑(Top) 필드, 나머지 필드를 바텀(Bottom) 필드라고 부른다.On the other hand, there are two types of video scanning methods, a progressive scan method and an interlaced scan method. In sequential scanning, images of one frame are all sampled at the same time, whereas in interlaced scanning, the sampling time of odd-numbered and even-numbered lines in the image of one frame is different. Regardless of the sampling time order, the field including the first line of the frame is called a top field, and the remaining fields are called bottom fields.

비월 주사 영상에서 한 장의 프레임은 이렇게 두 장의 필드 영상으로 구성되며, 한 프레임의 두 필드 중 탑(Top) 필드가 시간적으로 앞설 수도 있고, 바텀(Bottom) 필드가 시간적으로 앞설 수도 있다. 본 발명에서는 영상을 픽쳐라고 하는 단위로 취급하기로 하고 이 픽쳐는 프레임을 나타낼 수도 있고 필드를 나타낼 수도 있다.In an interlaced scan image, one frame is composed of two field images. The top field may be temporally advanced or the bottom field may be temporally temporal among the two fields of a frame. In the present invention, an image is treated as a unit called a picture, and the picture may indicate a frame or a field.

비월 주사 영상의 코딩 방법은 픽쳐 레벨에서 각 필드를 독립적인 픽쳐로 간주하여 코딩하는 필드 픽쳐 코딩 방법, 픽쳐 레벨에서 두 장의 필드를 한 장의 프레임으로 조합한 후 코딩하는 프레임 픽쳐 코딩 방법, 그리고 두 장의 필드를 한 장의 프레임으로 조합한 후 매크로블록 레벨에서 프레임 또는 필드 모드를 선택하여 코딩하는 프레임/필드 매크로블록을 갖는 프레임 픽쳐 코딩 방법 등 세 가지가 존재한다.The coding method of interlaced scan image includes a field picture coding method for coding each field as an independent picture at the picture level, a frame picture coding method for coding after combining two fields into one frame at the picture level, and two There are three methods such as a frame picture coding method having a frame / field macroblock that combines a field into one frame and then selects and codes a frame or a field mode at a macroblock level.

다중 레퍼런스 픽쳐를 사용하는 경우, 레퍼런스 픽쳐를 저장하는 레퍼런스 버퍼는 프레임 단위로 구성되어 있다. 필드 픽쳐 코딩의 경우에 모든 레퍼런스 픽쳐는 필드 단위로 존재하는 것으로 간주하여 이들 레퍼런스 필드 픽쳐 중 한 픽쳐가 움직임 보상에 사용된다. 따라서 레퍼런스 픽쳐 인덱스는 필드 단위로 값이 할당된다.In the case of using multiple reference pictures, the reference buffer that stores the reference picture is configured in units of frames. In the case of field picture coding, all reference pictures are regarded as being present in units of fields, and one of these reference field pictures is used for motion compensation. Therefore, the reference picture index is assigned a value in units of fields.

각 필드 픽쳐를 코딩하기 전에 먼저 레퍼런스 인덱스 초기화 과정을 통해 레퍼런스 버퍼에 저장되어 있는 각 레퍼런스 필드에 초기 레퍼런스 인덱스가 할당되고, 이 초기 레퍼런스 인덱스를 기준으로 레퍼런스 인덱스 재배열(reordering) 과정을 통해 레퍼런스 버퍼 내의 각 레퍼런스 필드에 대한 최종적인 레퍼런스 인덱스가 결정된다. 만약 레퍼런스 인덱스 재배열 과정이 없다면 초기 레퍼런스 인덱스가 레퍼런스 버퍼 내의 각 레퍼런스 필드에 대한 최종적인 레퍼런스 인덱스로 사용된다.Before coding each field picture, an initial reference index is assigned to each reference field stored in the reference buffer through the reference index initialization process, and the reference buffer is reordered based on the initial reference index. The final reference index for each reference field in is determined. If there is no reordering of the reference index, the initial reference index is used as the final reference index for each reference field in the reference buffer.

P 프레임의 각 필드 픽쳐에 대한 초기 레퍼런스 인덱스 할당 방법은 다음과 같다.An initial reference index allocation method for each field picture of a P frame is as follows.

(1) 숏텀 레퍼런스 버퍼에 대해 아래 (2)~(5)를 수행한다.(1) Perform (2) to (5) below for the short-term reference buffer.

(2) 레퍼런스 버퍼 내의 모든 레퍼런스 필드를 프레임 단위로 조합하고 프레임에 대해 코딩 순서(coding order)의 역순으로 정렬한다.(2) All reference fields in the reference buffer are combined in units of frames, and the frames are arranged in the reverse order of coding order.

(3) 현재 픽쳐와 동일 패리티(parity)를 갖는 레퍼런스 필드에 인덱스 값 0부터 시작하여 정렬된 레퍼런스 프레임을 차례로 방문하면서 다른 패리티를 갖는 레퍼런스 필드를 번갈아 가며 1씩 증가된 인덱스 값을 할당한다.(3) An index value incremented by 1 is alternately assigned to a reference field having the same parity as the current picture, alternately visiting the reference fields having different parities, starting with the index value 0 and sequentially visiting the reference frames.

(4) 만일 레퍼런스 픽쳐 인덱스를 할당하려는 패리티의 필드가 레퍼런스 버퍼에 존재하지 않으면, 정렬된 다음 프레임에서 동일 패리티의 필드에 인덱스 값을 할당한다.(4) If the field of the parity to which the reference picture index is to be allocated does not exist in the reference buffer, the index value is assigned to the field of the same parity in the next frame aligned.

(5) 만약 할당하려는 패리티가 더 이상 레퍼런스 버퍼에 존재하지 않으면, 패리티 종류에 관계없이 남아 있는 필드에 정렬된 프레임 순서에 따라 인덱스를 할당한다.(5) If the parity to be allocated no longer exists in the reference buffer, the index is allocated according to the order of the frames arranged in the remaining field regardless of the parity type.

(6) 롱텀 레퍼런스 버퍼 내에 픽쳐가 존재하면 이 픽쳐들에 대해 롱텀 레퍼런스 프레임 인덱스가 증가하는 순서로 정렬한다.(6) If a picture exists in the long term reference buffer, the pictures are sorted in increasing order of the long term reference frame index.

(7) (3)~(5)와 같은 방법으로 레퍼런스 인덱스를 할당한다. 단 인덱스 값은 숏텀 레퍼런스에 대해 할당한 최대 인덱스 값보다 1 만큼 큰 수부터 시작한다.(7) Assign a reference index in the same way as (3) ~ (5). However, the index value starts from a number larger than the maximum index value allocated for the short term reference.

도 1은 레퍼런스 버퍼 크기가 5이고 숏텀 레퍼런스 픽쳐만 존재할 때 P 프레임의 탑(Top) 필드 픽쳐에 대한 초기 레퍼런스 픽쳐 인덱스 및 바텀(Bottom) 필드 픽쳐에 대한 초기 레퍼런스 픽쳐 인덱스의 예를 보여준다. 도 2는 중간에 하나의 레퍼런스 필드가 존재하지 않는 경우에 할당된 초기 레퍼런스 픽쳐 인덱스의 예를 보여준다.1 shows an example of an initial reference picture index for a top field picture of a P frame and an initial reference picture index for a bottom field picture when the reference buffer size is 5 and only a short reference picture is present. 2 shows an example of an initial reference picture index allocated when one reference field does not exist in the middle.

한편, B 프레임은 2 개까지의 레퍼런스 픽쳐를 사용하여 움직임 보상이 이루어지므로 레퍼런스 인덱스 리스트가 두 가지가 존재하는데, 이 두 인덱스 리스트를 각각 '리스트 0'과 '리스트 1'으로 나타낸다.On the other hand, since the B frame has motion compensation using up to two reference pictures, there are two reference index lists. The two index lists are represented as 'List 0' and 'List 1', respectively.

이때, 레퍼런스 픽쳐 인덱스 리스트 0에 대한 필드 픽쳐 코딩을 위한 초기 레퍼런스 인덱스 할당 방법은 다음과 같다.In this case, an initial reference index allocation method for field picture coding on the reference picture index list 0 is as follows.

(1) 숏텀 레퍼런스 버퍼에 대해 아래 (2)~(5)를 수행한다.(1) Perform (2) to (5) below for the short-term reference buffer.

(2) 레퍼런스 버퍼 내의 모든 레퍼런스 필드를 프레임 단위로 조합하고 현재 픽쳐보다 디스플레이 순서(display order)가 앞서는 모든 레퍼런스 프레임들을 디스플레이 순서의 역순으로 정렬한다.(2) All reference fields in the reference buffer are combined in units of frames, and all reference frames whose display order precedes the current picture are arranged in the reverse order of the display order.

(3) 위의 P 프레임의 (3)~(5)와 같은 방법으로 레퍼런스 픽쳐 인덱스를 할당한다.(3) The reference picture index is allocated in the same manner as in (3) to (5) of the above P frame.

(4) 다음으로 현재 픽쳐보다 디스플레이 순서가 늦은 모든 레퍼런스 프레임들을 디스플레이 순서로 정렬한다.(4) Next, arrange all reference frames whose display order is later than the current picture in display order.

(5) 위의 P 프레임의 (3)~(5)와 같은 방법으로 레퍼런스 픽쳐 인덱스를 할당한다. 단 인덱스 값은 (3)에서 할당한 최대 인덱스 값보다 1 만큼 큰 수부터 시작한다.(5) The reference picture index is allocated in the same manner as in (3) to (5) of the above P frame. However, the index value starts from the number one larger than the maximum index value allocated in (3).

(6) 롱텀 레퍼런스 버퍼 내에 픽쳐가 존재하면 이 픽쳐들을 프레임 단위로 조합하고, 롱텀 레퍼런스 프레임 인덱스가 증가하는 순서로 정렬한다.(6) If a picture exists in the long term reference buffer, the pictures are combined in units of frames, and the long term reference frame indexes are arranged in increasing order.

(7) 위의 P 프레임의 (3)~(5)와 같은 방법으로 레퍼런스 인덱스를 할당한다. 단 인덱스 값은 숏텀 레퍼런스 픽쳐에 대해 할당한 최대 인덱스 값보다 1 만큼 큰 수부터 시작한다.(7) Allocate a reference index in the same manner as in (3) to (5) above P frame. However, the index value starts from a number that is one greater than the maximum index value allocated for the short-term reference picture.

그리고, 레퍼런스 픽쳐 인덱스 리스트 1에 대한 필드 픽쳐 코딩을 위한 초기 레퍼런스 인덱스 할당 방법은 다음과 같다.The initial reference index allocation method for field picture coding for reference picture index list 1 is as follows.

(1) 숏텀 레퍼런스 버퍼에 대해 아래 (2)~(5)를 수행한다.(1) Perform (2) to (5) below for the short-term reference buffer.

(2) 레퍼런스 버퍼 내의 모든 레퍼런스 필드를 프레임 단위로 조합하고 현재 픽쳐보다 디스플레이 순서가 늦은 모든 레퍼런스 프레임들을 디스플레이 순서로 정렬한다.(2) All reference fields in the reference buffer are combined in units of frames, and all reference frames whose display order is later than the current picture are arranged in display order.

(3) 위의 P 프레임의 (3)~(5)와 같은 방법으로 레퍼런스 픽쳐 인덱스를 할당한다.(3) The reference picture index is allocated in the same manner as in (3) to (5) of the above P frame.

(4) 다음으로 현재 픽쳐보다 디스플레이 순서가 앞서는 모든 레퍼런스 프레임들을 디스플레이 순서의 역순으로 정렬한다.(4) Next, all the reference frames whose display order precedes the current picture are arranged in the reverse order of the display order.

(5) 위의 P 프레임의 (3)~(5)와 같은 방법으로 레퍼런스 픽쳐 인덱스를 할당한다. 단 인덱스 값은 (3)에서 할당한 최대 인덱스 값보다 1 만큼 큰 수부터 시작한다.(5) The reference picture index is allocated in the same manner as in (3) to (5) of the above P frame. However, the index value starts from the number one larger than the maximum index value allocated in (3).

(6) 롱텀 레퍼런스 버퍼 내에 픽쳐가 존재하면 이 픽쳐들을 프레임 단위로 조합하고, 롱텀 레퍼런스 프레임 인덱스가 증가하는 순서로 정렬한다.(6) If a picture exists in the long term reference buffer, the pictures are combined in units of frames, and the long term reference frame indexes are arranged in increasing order.

(7) 위의 P 프레임의 (3)~(5)와 같은 방법으로 레퍼런스 인덱스를 할당한다. 단 인덱스 값은 숏텀 레퍼런스 픽쳐에 대해 할당한 최대 인덱스 값보다 1 만큼 큰 수부터 시작한다.(7) Allocate a reference index in the same manner as in (3) to (5) above P frame. However, the index value starts from a number that is one greater than the maximum index value allocated for the short-term reference picture.

도 3은 레퍼런스 버퍼 크기가 5이고 숏텀 레퍼런스 픽쳐만 존재할 때, B 프레임의 탑(Top) 필드 픽쳐에 대한 초기 레퍼런스 픽쳐 인덱스 리스트 0 및 리스트 1과 바텀(Bottom) 필드 픽쳐에 대한 초기 레퍼런스 픽쳐 인덱스 리스트 0 및 리스트 1의 예를 보여준다.3 is an initial reference picture index list 0 and a list 1 and a bottom field picture for the top field picture of a B frame when the reference buffer size is 5 and only a short reference picture exists. An example of 0 and list 1 is shown.

그런데, 이와 같은 방법을 통하여 레퍼런스 픽쳐 인덱스를 설정하는 경우에는, 레퍼런스 픽쳐 인덱스 정보를 전달하는데 사용되는 비트 수의 증가로 인하여 동영상 코딩 효율이 저하되는 부분이 발생되는데, 보다 효율적인 동영상 코딩을 위하여 레퍼런스 픽쳐 인덱스를 설정하는 방안에 대한 연구가 모색되고 있다.However, in the case of setting the reference picture index through such a method, a portion in which video coding efficiency decreases due to an increase in the number of bits used to transmit reference picture index information is generated. For more efficient video coding, a reference picture is generated. Research into how to set up an index is being sought.

본 발명은, 다중 레퍼런스 픽쳐를 이용한 동영상 코딩 시스템에서 비월 주사 방식의 동영상을 필드 픽쳐로 코딩할 때, 코딩 효율을 고려하여 움직임 보상에 사용되는 레퍼런스 픽쳐 인덱스를 효율적으로 초기화 할 수 있는 동영상 코딩 방법을 제공함에 그 목적이 있다.The present invention provides a video coding method capable of efficiently initializing a reference picture index used for motion compensation in consideration of coding efficiency when coding interlaced video as a field picture in a video coding system using multiple reference pictures. The purpose is to provide.

또한 본 발명은, 다중 레퍼런스 픽쳐를 이용한 동영상 코딩 시스템에서 비월 주사 방식의 동영상을 필드 픽쳐로 코딩할 때, 현재 필드를 레퍼런스 버퍼에 저장하는 과정에서 레퍼런스 버퍼로부터 삭제할 필드 픽쳐를 결정하는 동영상 코딩 방법을 제공함에 다른 목적이 있다.The present invention also provides a video coding method for determining a field picture to be deleted from a reference buffer in a process of storing a current field in a reference buffer when coding a video of an interlaced scan method as a field picture in a video coding system using multiple reference pictures. There is another purpose in providing.

도 1은 종래 동영상 코딩 시스템에 있어, P 프레임의 탑(Top) 필드 및 바텀(Bottom) 필드에 대한 초기 레퍼런스 픽쳐 인덱스를 설명하기 위한 도면.1 is a diagram for explaining an initial reference picture index for a Top field and a Bottom field of a P frame in a conventional video coding system.

도 2는 종래 동영상 코딩 시스템에 있어, 레퍼런스 픽쳐들 중간에 비어있는 필드가 있는 경우의 P 프레임의 탑(Top) 필드에 대한 초기 레퍼런스 픽쳐 인덱스를 설명하기 위한 도면.FIG. 2 is a diagram for explaining an initial reference picture index for a Top field of a P frame when there is an empty field in the middle of reference pictures in the conventional video coding system. FIG.

도 3은 종래 동영상 코딩 시스템에 있어, B 프레임의 탑(Top) 필드 및 바텀(Bottom) 필드에 대한 초기 레퍼런스 픽쳐 인덱스 리스트 0 및 리스트 1을 설명하기 위한 도면.FIG. 3 is a diagram for explaining an initial reference picture index list 0 and a list 1 for a top field and a bottom field of a B frame in a conventional video coding system. FIG.

도 4는 본 발명에 따른 동영상 코딩 시스템에 있어, 탑(Top) 필드가 시간적으로 앞서고 현재 필드가 P 프레임의 탑(Top) 필드일 경우의 초기 레퍼런스 픽쳐 인덱스를 나타낸 도면.4 is a diagram illustrating an initial reference picture index when a Top field is temporally advanced and a current field is a Top field of a P frame in the video coding system according to the present invention.

도 5는 본 발명에 따른 동영상 코딩 시스템에 있어, 탑(Top) 필드가 시간적으로 앞서고 현재 필드가 P 프레임의 바텀(Bottom) 필드일 경우의 초기 레퍼런스 픽쳐 인덱스를 나타낸 도면.5 is a diagram illustrating an initial reference picture index when a top field is temporally advanced and a current field is a bottom field of a P frame in a video coding system according to the present invention.

도 6은 본 발명에 따른 동영상 코딩 시스템에 있어, 바텀(Bottom) 필드가 시간적으로 앞서고 현재 필드가 P 프레임의 바텀(Bottom) 필드일 경우의 초기 레퍼런스 픽쳐 인덱스를 나타낸 도면.FIG. 6 is a diagram illustrating an initial reference picture index when a bottom field is temporally advanced and a current field is a bottom field of a P frame in a video coding system according to the present invention. FIG.

도 7은 본 발명에 따른 동영상 코딩 시스템에 있어, 바텀(Bottom) 필드가 시간적으로 앞서고 현재 필드가 P 프레임의 탑(Top) 필드일 경우의 초기 레퍼런스 픽쳐 인덱스를 나타낸 도면.7 is a diagram illustrating an initial reference picture index when a bottom field is temporally advanced and a current field is a top field of a P frame in a video coding system according to the present invention.

도 8은 본 발명에 따른 동영상 코딩 시스템에 있어, 탑(Top) 필드가 시간적으로 앞서고 현재 필드가 P 프레임의 탑(Top) 필드이고, 레퍼런스 픽쳐들 중간에 비어있는 필드가 있는 경우의 초기 레퍼런스 픽쳐 인덱스를 나타낸 도면.8 is an initial reference picture when a top field is temporally advanced, a current field is a top field of a P frame, and there is an empty field in the middle of reference pictures in the video coding system according to the present invention. Figure showing the index.

도 9는 본 발명에 따른 동영상 코딩 시스템에 있어, 숏텀(short-term) 레퍼런스 픽쳐와 롱텀(long-term) 레퍼런스 픽쳐가 존재하고, 탑(Top) 필드가 시간적으로 앞서고, 현재 필드가 P 프레임의 탑(Top) 필드일 경우의 초기 레퍼런스 픽쳐 인덱스를 나타낸 도면.9 illustrates a short-term reference picture and a long-term reference picture in a video coding system according to the present invention, a top field is temporally advanced, and a current field is a P-frame. A diagram showing an initial reference picture index in the case of a top field.

도 10은 본 발명에 따른 동영상 코딩 시스템에 있어, 숏텀 레퍼런스 픽쳐와 롱텀 레퍼런스 픽쳐가 존재하고, 탑(Top) 필드가 시간적으로 앞서고, 현재 필드가 P 프레임의 바텀(Bottom) 필드일 경우의 초기 레퍼런스 픽쳐 인덱스를 나타낸 도면.FIG. 10 is an initial reference when a short-term reference picture and a long-term reference picture exist, a top field advances in time, and a current field is a bottom field of a P frame in a video coding system according to the present invention. Figure showing a picture index.

도 11은 본 발명에 따른 동영상 코딩 시스템에 있어, 탑(Top) 필드가 시간적으로 앞서고 현재 필드가 레퍼런스로 사용될 B 프레임의 탑(Top) 필드일 경우의 초기 레퍼런스 픽쳐 인덱스를 나타낸 도면.FIG. 11 is a diagram illustrating an initial reference picture index when a top field is temporally advanced and a current field is a top field of a B frame to be used as a reference in the video coding system according to the present invention. FIG.

도 12는 본 발명에 따른 동영상 코딩 시스템에 있어, 탑(Top) 필드가 시간적으로 앞서고 현재 필드가 레퍼런스로 사용될 B 프레임의 바텀(Bottom) 필드일 경우의 초기 레퍼런스 픽쳐 인덱스를 나타낸 도면.12 is a diagram illustrating an initial reference picture index when a top field is temporally advanced and a current field is a bottom field of a B frame to be used as a reference in the video coding system according to the present invention.

도 13은 본 발명에 따른 동영상 코딩 시스템에 있어, 탑(Top) 필드가 시간적으로 앞서고 현재 필드가 레퍼런스로 사용되지 않을 B 프레임의 바텀(Bottom) 필드일 경우의 초기 레퍼런스 픽쳐 인덱스를 나타낸 도면.FIG. 13 is a diagram illustrating an initial reference picture index when a top field is temporally advanced and a bottom field of a B frame is not used as a reference in the video coding system according to the present invention. FIG.

도 14는 본 발명에 따른 동영상 코딩 시스템에 있어, 숏텀 레퍼런스 픽쳐와 롱텀 레퍼런스 픽쳐가 존재하고, 탑(Top) 필드가 시간적으로 앞서고, 현재 필드가 레퍼런스로 사용될 B 프레임의 탑(Top) 필드일 경우의 초기 레퍼런스 픽쳐 인덱스를 나타낸 도면.14 is a video coding system according to the present invention, in which a short-term reference picture and a long-term reference picture exist, a top field is temporally advanced, and a current field is a top field of a B frame to be used as a reference. Diagram showing an initial reference picture index of a symbol;

도 15는 본 발명에 따른 동영상 코딩 시스템에 있어, 숏텀 레퍼런스 픽쳐와 롱텀 레퍼런스 픽쳐가 존재하고, 탑(Top) 필드가 시간적으로 앞서고, 현재 필드가 레퍼런스로 사용될 B 프레임의 바텀(Bottom) 필드일 경우의 초기 레퍼런스 픽쳐 인덱스를 나타낸 도면.FIG. 15 illustrates that a short-term reference picture and a long-term reference picture exist, a top field advances in time, and a current field is a bottom field of a B frame to be used as a reference in the video coding system according to the present invention. Diagram showing an initial reference picture index of a symbol;

도 16은 본 발명에 따른 동영상 코딩 시스템에 있어, 숏텀 레퍼런스 픽쳐와 롱텀 레퍼런스 픽쳐가 존재하며, 롱텀 레퍼런스 픽처 중 일부는 현재 픽쳐보다 디스플레이 순서가 앞서고, 나머지는 현재 픽쳐보다 디스플레이 순서가 늦은 경우에, 현재 필드가 레퍼런스로 사용될 B 프레임의 탑(Top) 필드일 경우의 초기 레퍼런스 픽쳐 인덱스를 나타낸 도면.FIG. 16 illustrates that a short-term reference picture and a long-term reference picture exist in a video coding system according to the present invention, and some of the long-term reference pictures are earlier in display order than the current picture, and others are later in display order than the current picture. A diagram showing an initial reference picture index when the current field is a top field of a B frame to be used as a reference.

상기의 목적을 달성하기 위하여 본 발명에 따른 동영상 코딩 방법은, 다중 레퍼런스 픽쳐(multiple reference picture)를 이용한 동영상 코딩 시스템에서 비월 주사 방식의 동영상을 필드 픽쳐로 코딩할 때,In order to achieve the above object, a video coding method according to the present invention, when coding a video of the interlaced scan method as a field picture in a video coding system using a multiple reference picture,

레퍼런스 버퍼 내의 각 레퍼런스 필드에 대해 초기 레퍼런스 픽쳐 인덱스(reference picture index)를 할당하는 데 있어, P 픽쳐의 경우 현재 필드의 패리티(parity)에 관계 없이 코딩 순서에 의해서 레퍼런스 픽쳐 인덱스를 할당하는 점에 그 특징이 있다.In assigning an initial reference picture index to each reference field in the reference buffer, in the case of a P picture, the reference picture index is assigned in a coding order regardless of the parity of the current field. There is a characteristic.

여기서 본 발명에 의하면, 상기 P 픽쳐의 레퍼런스 픽쳐 인덱스를 할당함에 있어, 모든 숏텀(short-term) 레퍼런스 픽쳐를 필드 단위로 코딩 순서의 역순으로 정렬하고, 정렬된 필드 순서대로 패리티에 관계없이 0부터 1씩 증가시키면서 레퍼런스 픽쳐 인덱스를 할당하는 점에 그 특징이 있다.According to the present invention, in allocating the reference picture index of the P picture, all the short-term reference pictures are arranged in the reverse order of coding order by field unit, and the ordered field order is from 0 regardless of parity. The feature is that the reference picture index is assigned in increments of one.

또한 본 발명에 의하면, 상기 P 픽쳐의 레퍼런스 픽쳐 인덱스를 할당함에 있어, 숏텀(short-term) 레퍼런스 픽쳐와 롱텀(long-term) 레퍼런스 픽쳐가 존재할경우, 모든 숏텀 레퍼런스 픽쳐를 필드 단위로 코딩 순서의 역순으로 정렬하고, 이어서 모든 롱텀 레퍼런스 픽쳐를 필드 단위로 코딩 순서의 역순으로 정렬한 후, 정렬된 필드 순서대로 패리티에 관계없이 0부터 1씩 증가시키면서 레퍼런스 픽쳐 인덱스를 할당하는 점에 그 특징이 있다.According to the present invention, when allocating a reference picture index of the P picture, when a short-term reference picture and a long-term reference picture exist, all the short-term reference pictures are coded in field units. Sorting in reverse order, then sorting all long-term reference pictures in field-by-field coding order, and then assigning reference picture indices in increasing order from 0 to 1, regardless of parity, in sorted field order. .

또한, 상기의 목적을 달성하기 위하여 본 발명에 따른 동영상 코딩 방법의 다른 예는, 다중 레퍼런스 픽쳐(multiple reference picture)를 이용한 동영상 코딩 시스템에서 비월 주사 방식의 동영상을 필드 픽쳐로 코딩할 때,In addition, another example of a video coding method according to the present invention in order to achieve the above object, when coding a video of the interlaced scan method as a field picture in a video coding system using a multiple reference picture (multiple reference picture),

레퍼런스 버퍼 내의 각 레퍼런스 필드에 대해 초기 레퍼런스 픽쳐 인덱스(reference picture index)를 할당하는 데 있어서, B 픽쳐의 경우 현재 필드의 패리티(parity)에 관계 없이 디스플레이 순서에 의해서 레퍼런스 픽쳐 인덱스를 할당하는 점에 그 특징이 있다.In assigning an initial reference picture index to each reference field in the reference buffer, in the case of a B picture, the reference picture index is assigned according to the display order regardless of the parity of the current field. There is a characteristic.

여기서 본 발명에 의하면, 상기 B 픽쳐의 레퍼런스 픽쳐 인덱스를 할당함에 있어, 리스트 0의 초기 레퍼런스 픽쳐 인덱스를 할당하는 데 있어서, 현재 픽쳐보다 디스플레이 순서가 앞서는 모든 숏텀 레퍼런스 픽쳐를 필드 단위로 디스플레이 순서의 역순으로 정렬하고, 이어서 현재 픽쳐보다 디스플레이 순서가 늦은 모든 숏텀 레퍼런스 픽쳐를 필드 단위로 디스플레이 순서로 정렬한 후, 정렬된 모든 레퍼런스 필드에 대해 패리티에 관계없이 정렬된 순서대로 0부터 1씩 증가시키면서 레퍼런스 픽쳐 인덱스를 할당하는 점에 그 특징이 있다.According to the present invention, in allocating the reference picture index of the B picture, in assigning the initial reference picture index of the list 0, all the short-term reference pictures whose display order precedes the current picture are reversed in the display order. Then sort all the short-term reference pictures whose display order is later than the current picture, in field-by-field order, and then increase the reference pictures in incremental order from 0 to 1 for all sorted reference fields, regardless of parity. The distinction is in assigning indexes.

또한 본 발명에 의하면, 상기 B 픽쳐의 레퍼런스 픽쳐 인덱스를 할당함에 있어, 리스트 0의 초기 레퍼런스 픽쳐 인덱스를 할당하는 데 있어서, 숏텀 레퍼런스픽쳐와 롱텀 레퍼런스 픽쳐가 존재할 경우, 현재 픽쳐보다 디스플레이 순서가 앞서는 모든 숏텀 레퍼런스 픽쳐를 필드 단위로 디스플레이 순서의 역순으로 정렬하고, 이어서 현재 픽쳐보다 디스플레이 순서가 늦은 모든 숏텀 레퍼런스 픽쳐를 필드 단위로 디스플레이 순서로 정렬하고, 또 이어서 현재 픽쳐보다 디스플레이 순서가 앞서는 모든 롱텀 레퍼런스 픽쳐를 필드 단위로 디스플레이 순서의 역순으로 정렬하고, 마지막으로 현재 픽쳐보다 디스플레이 순서가 늦은 모든 롱텀 레퍼런스 픽쳐를 필드 단위로 디스플레이 순서로 정렬한 후, 정렬된 모든 레퍼런스 필드에 대해 패리티에 관계없이 정렬된 순서대로 0부터 1씩 증가시키면서 레퍼런스 픽쳐 인덱스를 할당하는 점에 그 특징이 있다.According to the present invention, in allocating the reference picture index of the B picture, in the case of assigning the initial reference picture index of the list 0, when there are short-term reference pictures and long-term reference pictures, the display order is earlier than the current picture. Sort short-term reference pictures in field order in reverse display order, then sort all short-term reference pictures later in field display order than the current picture, and then display all the long-term reference pictures in display order ahead of the current picture. Sorts by field in reverse display order, finally sorts all long-term reference pictures that are later than the current picture in display order by field, and then returns parity for all sorted reference fields, regardless of parity. Aligned in order, increasing from zero one by one is that characterized by assigning a reference picture index.

또한 본 발명에 의하면, 상기 B 픽쳐의 레퍼런스 픽쳐 인덱스를 할당함에 있어, 리스트 1의 초기 레퍼런스 픽쳐 인덱스를 할당하는 데 있어서, 현재 픽쳐보다 디스플레이 순서가 늦은 모든 숏텀 레퍼런스 픽쳐를 필드 단위로 디스플레이 순서로 정렬하고, 이어서 현재 픽쳐보다 디스플레이 순서가 앞서는 모든 숏텀 레퍼런스 픽쳐를 필드 단위로 디스플레이 순서의 역순으로 정렬한 후, 정렬된 모든 레퍼런스 필드에 대해 패리티에 관계없이 정렬된 순서대로 0부터 1씩 증가시키면서 레퍼런스 픽쳐 인덱스를 할당하는 점에 그 특징이 있다.According to the present invention, in allocating the reference picture index of the B picture, in assigning the initial reference picture index of List 1, all the short-term reference pictures whose display order is later than the current picture are arranged in the display order. Then, sort all the short-term reference pictures whose display order precedes the current picture in the reverse order of the display order by field, and then increase the reference pictures by increasing the values from 0 to 1 in the sorted order regardless of parity for all sorted reference fields. The distinction is in assigning indexes.

또한 본 발명에 의하면, 상기 B 픽쳐의 레퍼런스 픽쳐 인덱스를 할당함에 있어, 리스트 1의 초기 레퍼런스 픽쳐 인덱스를 할당하는 데 있어서, 숏텀 레퍼런스 픽쳐와 롱텀 레퍼런스 픽쳐가 존재할 경우, 현재 픽쳐보다 디스플레이 순서가 늦은 모든 숏텀 레퍼런스 픽쳐를 필드 단위로 디스플레이 순서로 정렬하고, 이어서 현재픽쳐보다 디스플레이 순서가 앞서는 모든 숏텀 레퍼런스 픽쳐를 필드 단위로 디스플레이 순서의 역순으로 정렬하고, 또 이어서 현재 픽쳐보다 디스플레이 순서가 늦은 모든 롱텀 레퍼런스 픽쳐를 필드 단위로 디스플레이 순서로 정렬하고, 마지막으로 현재 픽쳐보다 디스플레이 순서가 앞서는 모든 롱텀 레퍼런스 픽쳐를 필드 단위로 디스플레이 순서의 역순으로 정렬한 후, 정렬된 모든 레퍼런스 필드에 대해 패리티에 관계없이 정렬된 순서대로 0부터 1씩 증가시키면서 레퍼런스 픽쳐 인덱스를 할당하는 점에 그 특징이 있다.According to the present invention, when allocating the reference picture index of the B picture, in the case of assigning the initial reference picture index of List 1, when there are short-term reference pictures and long-term reference pictures, the display order is lower than that of the current picture. Sort short-term reference pictures in field-by-field display order, then sort all short-term reference pictures in display order that precede the current picture in field order, and then display all long-term reference pictures that are later in display order than current picture. Sorts by display order by field, and finally sorts all long-term reference pictures whose display order precedes the current picture in the reverse order of display order by field, and then returns parity for all sorted reference fields, regardless of parity. Aligned in order, increasing from zero one by one is that characterized by assigning a reference picture index.

또한, 상기의 다른 목적을 달성하기 위한 본 발명에 따른 동영상 코딩 방법은,In addition, the video coding method according to the present invention for achieving the above another object,

다중 레퍼런스 픽쳐(multiple reference picture)를 이용한 동영상 코딩 시스템에서 비월 주사 방식의 동영상을 필드 픽쳐로 코딩할 때, 각 필드 픽쳐를 코딩/디코딩한 후 레퍼런스 버퍼에 저장하기 위해, 이전에 레퍼런스 버퍼에 저장되어 있던 필드 픽쳐 중 삭제할 필드 픽쳐를 결정하는 데 있어서, P 픽쳐의 경우 숏텀 레퍼런스 버퍼에 있는 필드 픽쳐 중 코딩 순서가 가장 앞서는 필드 픽쳐를 삭제하는 점에 그 특징이 있다.When coding interlaced video as a field picture in a video coding system using multiple reference pictures, each field picture is previously stored in a reference buffer to be stored in a reference buffer after coding / decoding each field picture. In determining the field picture to be deleted among the existing field pictures, the P picture is characterized in that the field picture in the coding order among the field pictures in the short-term reference buffer is deleted.

또한, 상기의 다른 목적을 달성하기 위한 본 발명에 따른 동영상 코딩 방법의 다른 예는,In addition, another example of a video coding method according to the present invention for achieving the above object,

다중 레퍼런스 픽쳐(multiple reference picture)를 이용한 동영상 코딩 시스템에서 비월 주사 방식의 동영상을 필드 픽쳐로 코딩할 때, 각 필드 픽쳐를 코딩/디코딩한 후 레퍼런스 버퍼에 저장하기 위해, 이전에 레퍼런스 버퍼에 저장되어 있던 필드 픽쳐 중 삭제할 필드 픽쳐를 결정하는 데 있어서, B 픽쳐의 경우 숏텀 레퍼런스 버퍼에 있는 필드 픽쳐 중 디스플레이 순서가 가장 앞서는 필드 픽쳐를 삭제하는 점에 그 특징이 있다.When coding interlaced video as a field picture in a video coding system using multiple reference pictures, each field picture is previously stored in a reference buffer to be stored in a reference buffer after coding / decoding each field picture. In determining the field picture to be deleted among the existing field pictures, the B picture has a feature of deleting the field picture having the earliest display order among the field pictures in the short-term reference buffer.

이와 같은 본 발명에 의하면, 다중 레퍼런스 픽쳐를 이용한 동영상 코딩 시스템에서 비월 주사 방식의 동영상을 필드 픽쳐로 코딩할 때, 패리티(parity)에 관계없이 현재 필드와 시간적으로 가까운 순서에 따라 각 레퍼런스 필드에 레퍼런스 픽쳐 인덱스를 할당함으로써 코딩 효율을 높일 수 있는 장점이 있다.According to the present invention, when coding interlaced video as a field picture in a video coding system using multiple reference pictures, reference is made to each reference field in an order close to the current field regardless of parity. There is an advantage in that coding efficiency can be improved by allocating a picture index.

이하, 첨부된 도면을 참조하여 본 발명에 따른 실시 예를 상세히 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

프레임 픽쳐 코딩의 경우에는 레퍼런스 픽쳐 인덱스가 프레임 단위로 할당되므로 한 프레임 내의 두 필드 모두 같은 레퍼런스 픽쳐 인덱스를 갖게 되는 반면에, 필드 픽쳐 코딩의 경우에는 레퍼런스 픽쳐 인덱스가 필드 단위로 할당되므로 한 프레임 내의 두 필드에 대해 서로 다른 레퍼런스 픽쳐 인덱스가 할당된다.In the case of frame picture coding, since the reference picture index is allocated in units of frames, both fields in one frame have the same reference picture index. In the case of field picture coding, the reference picture indices are allocated in units of fields, so that two fields in one frame are allocated. Different reference picture indices are assigned to the fields.

종래 기술에서는 현재 필드로부터 시간적으로 가까운 레퍼런스 필드보다 시간적으로 먼 레퍼런스 필드에 더 낮은 인덱스가 할당됨으로써 움직임이 많은 영상의 경우 코딩 효율을 떨어뜨릴 수 있는 문제점이 있다. 특히, 도 2와 같이 레퍼런스 필드 픽쳐들 중간에 같은 패리티를 갖는 필드가 비어 있는 경우에는 코딩 효율 저하가 더 크게 나타날 수 있다.In the prior art, since a lower index is assigned to a reference field that is far from time than a reference field that is temporally close to the current field, coding efficiency may be reduced in the case of an image having a lot of motion. In particular, when a field having the same parity is empty in the middle of the reference field pictures as shown in FIG. 2, a decrease in coding efficiency may appear more large.

본 발명에서는 이와 같은 필드 픽쳐 코딩에 있어서의 초기 레퍼런스 픽쳐 인덱스 할당 방법의 문제를 해결하기 위해 P 픽쳐와 B 픽쳐에 대해 각각 다음과 같은 방법을 제시한다.In order to solve the problem of the initial reference picture index allocation method in the field picture coding, the present invention provides the following methods for the P picture and the B picture, respectively.

P 픽쳐의 경우 다음의 과정을 통해 레퍼런스 픽쳐 인덱스를 할당한다.In the case of a P picture, a reference picture index is allocated through the following process.

(1) 모든 숏텀 레퍼런스 픽쳐를 필드 단위로 코딩 순서의 역순으로 정렬한다.(1) All short-term reference pictures are arranged in field order in the reverse order of coding order.

(2) 이어서 모든 롱텀 레퍼런스 픽쳐를 필드 단위로 코딩 순서의 역순으로 정렬한다.(2) Then, all the long term reference pictures are arranged in the reverse order of coding order in field units.

(3) 정렬된 필드 순서대로 패리티에 관계없이 0부터 1씩 증가시키면서 레퍼런스 픽쳐 인덱스를 할당한다.(3) The reference picture indexes are allocated in increasing order of 0 from 1 regardless of parity in the order of the sorted fields.

도 4 내지 도 8은 숏텀 레퍼런스 픽쳐만 존재할 경우 P 픽쳐에 대해 본 발명에 따른 동영상 코딩 방법으로 할당한 초기 레퍼런스 픽쳐 인덱스의 예를 보여준다. 그리고, 도 9와 도 10은 숏텀 레퍼런스 픽쳐와 롱텀 레퍼런스 픽쳐가 존재할 경우 P 픽쳐에 대해 본 발명에 따른 동영상 코딩 방법으로 할당한 초기 레퍼런스 픽쳐 인덱스의 예를 보여준다.4 to 8 show an example of an initial reference picture index allocated to a P picture according to the present invention for a P picture when only a short reference picture exists. 9 and 10 show an example of an initial reference picture index assigned to a P picture according to the present invention by the video coding method when the short-term reference picture and the long-term reference picture exist.

또한 B 픽쳐의 경우, 리스트 0의 초기 레퍼런스 픽쳐 인덱스를 할당하는 방법은 다음과 같다.In addition, in the case of the B picture, a method of allocating the initial reference picture index of the list 0 is as follows.

(1) 현재 픽쳐보다 디스플레이 순서가 앞서는 모든 숏텀 레퍼런스 픽쳐를 필드 단위로 디스플레이 순서의 역순으로 정렬한다.(1) All short-term reference pictures whose display order precedes the current picture are arranged in the reverse order of the display order in field units.

(2) 이어서 현재 픽쳐보다 디스플레이 순서가 늦은 모든 숏텀 레퍼런스 픽쳐를 필드 단위로 디스플레이 순서로 정렬한다.(2) Subsequently, all short-term reference pictures whose display order is later than the current picture are arranged in the display order on a field basis.

(3) 이어서 현재 픽쳐보다 디스플레이 순서가 앞서는 모든 롱텀 레퍼런스 픽쳐를 필드 단위로 디스플레이 순서의 역순으로 정렬한다.(3) Subsequently, all long-term reference pictures whose display order precedes the current picture are arranged in the reverse order of the display order in units of fields.

(4) 이어서 현재 픽쳐보다 디스플레이 순서가 늦은 모든 롱텀 레퍼런스 픽쳐를 필드 단위로 디스플레이 순서로 정렬한다.(4) Then, all the long term reference pictures whose display order is later than the current picture are arranged in display order on a field basis.

(5) 정렬된 모든 레퍼런스 필드에 대해 패리티에 관계없이 정렬된 순서대로 0부터 1씩 증가시키면서 레퍼런스 픽쳐 인덱스를 할당한다.(5) The reference picture indexes are allocated to all the sorted reference fields in incremental order from 0 to 1, regardless of parity.

또한 B 픽쳐의 경우, 리스트 1의 초기 레퍼런스 픽쳐 인덱스를 할당하는 방법은 다음과 같다.In addition, in the case of a B picture, a method of allocating an initial reference picture index of List 1 is as follows.

(1) 현재 픽쳐보다 디스플레이 순서가 늦은 모든 숏텀 레퍼런스 픽쳐를 필드 단위로 디스플레이 순서로 정렬한다.(1) All short-term reference pictures whose display order is later than the current picture are arranged in display order on a field basis.

(2) 이어서 현재 픽쳐보다 디스플레이 순서가 앞서는 모든 숏텀 레퍼런스 픽쳐를 필드 단위로 디스플레이 순서의 역순으로 정렬한다.(2) Next, all short-term reference pictures whose display order is preceded by the current picture are arranged in the reverse order of the display order in field units.

(3) 이어서 현재 픽쳐보다 디스플레이 순서가 늦은 모든 롱텀 레퍼런스 픽쳐를 필드 단위로 디스플레이 순서로 정렬한다.(3) Then, all the long term reference pictures whose display order is later than the current picture are arranged in display order on a field basis.

(4) 이어서 현재 픽쳐보다 디스플레이 순서가 앞서는 모든 롱텀 레퍼런스 픽쳐를 필드 단위로 디스플레이 순서의 역순으로 정렬한다.(4) Next, all long-term reference pictures whose display order precedes the current picture are arranged in the reverse order of the display order in units of fields.

(5) 정렬된 모든 레퍼런스 필드에 대해 패리티에 관계없이 정렬된 순서대로 0부터 1씩 증가시키면서 레퍼런스 픽쳐 인덱스를 할당한다.(5) The reference picture indexes are allocated to all the sorted reference fields in incremental order from 0 to 1, regardless of parity.

도 11과 도 12는 숏텀 레퍼런스만 존재할 경우에 레퍼런스로 픽쳐로 저장되는 B 픽쳐에 대해 본 발명에 따른 동영상 코딩 방법으로 할당한 초기 레퍼런스 픽쳐 인덱스의 예를 보여준다. 도 13은 숏텀 레퍼런스만 존재할 경우에 레퍼런스로 픽쳐로 저장되지 않는 B 픽쳐에 대해 본 발명에 따른 동영상 코딩 방법으로 할당한초기 레퍼런스 픽쳐 인덱스의 예를 보여준다.11 and 12 show examples of an initial reference picture index assigned to a B picture stored as a picture as a reference when there is only a short reference in the video coding method according to the present invention. FIG. 13 shows an example of an initial reference picture index assigned to a B picture that is not stored as a picture as a reference when only a short term reference exists, by the video coding method according to the present invention.

도 14와 도 15는 숏텀 레퍼런스 픽쳐와 롱텀 레퍼런스 픽쳐가 존재하고, 롱텀 레퍼런스 픽쳐들의 디스플레이 순서가 현재 픽쳐보다 앞서는 경우에, 레퍼런스 픽쳐로 저장되는 B 픽쳐에 대해 본 발명에 따른 동영상 코딩 방법으로 할당한 초기 레퍼런스 픽쳐 인덱스의 예를 보여준다. 도 16은 숏텀 레퍼런스 픽쳐와 롱텀 레퍼런스 픽쳐가 존재하고, 롱텀 레퍼런스 픽쳐들 중 일부는 디스플레이 순서가 현재 픽쳐보다 앞서고 나머지는 디스플레이 순서가 현재 픽쳐보다 늦은 경우에, 레퍼런스 픽쳐로 저장되는 B 픽쳐에 대해 본 발명에 따른 동영상 코딩 방법으로 할당한 초기 레퍼런스 픽쳐 인덱스의 예를 보여준다.14 and 15 show that a short reference picture and a long term reference picture exist, and the display order of the long term reference pictures is earlier than the current picture, the B picture stored as the reference picture is allocated to the video coding method according to the present invention. An example of an initial reference picture index is shown. FIG. 16 illustrates a B picture stored as a reference picture when a short reference picture and a long term reference picture exist, and some of the long term reference pictures display a display order earlier than a current picture and others display a later order than the current picture. An example of an initial reference picture index allocated by the video coding method according to the present invention is shown.

한편, 레퍼런스로 사용될 P 픽쳐나 B 픽쳐의 경우, 각 필드 픽쳐는 코딩/디코딩한 후 다른 픽쳐의 레퍼런스로 사용하기 위해 레퍼런스 버퍼에 저장해야 한다. 레퍼런스 버퍼의 크기는 프레임 단위로 제한되어 있으므로, 현재 필드를 저장하기 위해서는 레퍼런스 버퍼에 저장되어 있는 필드 픽쳐 중 하나를 삭제해야 하는데, 삭제할 필드 픽쳐는 다음과 같이 결정될 수 있다.On the other hand, in the case of a P picture or a B picture to be used as a reference, each field picture must be stored in a reference buffer to be used as a reference of another picture after coding / decoding. Since the size of the reference buffer is limited in units of frames, in order to store the current field, one of the field pictures stored in the reference buffer must be deleted. The field picture to be deleted can be determined as follows.

(1) P 픽쳐의 경우, 숏텀 레퍼런스 버퍼에 있는 필드 픽쳐 중 코딩 순서가 가장 앞서는 필드 픽쳐를 삭제하고 현재 필드를 저장한다.(1) In the case of the P picture, the field picture having the earliest coding order among the field pictures in the short-term reference buffer is deleted and the current field is stored.

(2) B 픽쳐의 경우, 숏텀 레퍼런스 버퍼에 있는 필드 픽쳐 중 디스플레이 순서가 가장 앞서는 필드 픽쳐를 삭제하고 현재 필드를 저장한다.(2) In the case of the B picture, the field picture having the earliest display order among the field pictures in the short-term reference buffer is deleted and the current field is stored.

이상의 설명에서와 같이 본 발명에 따른 동영상 코딩 방법에 의하면, 다중레퍼런스 픽쳐를 이용한 동영상 코딩 시스템에서 비월 주사 방식의 동영상을 필드 픽쳐로 코딩할 때, 패리티에 관계없이 현재 필드와 시간적으로 가까운 순서에 따라 각 레퍼런스 필드에 레퍼런스 픽쳐 인덱스를 할당함으로써 코딩 효율을 높일 수 있는 장점이 있다.According to the video coding method according to the present invention as described above, when coding interlaced video as a field picture in a video coding system using a multi-reference picture, according to the order close to the current field regardless of parity By assigning a reference picture index to each reference field, it is possible to increase coding efficiency.

Claims (10)

다중 레퍼런스 픽쳐(multiple reference picture)를 이용한 동영상 코딩 시스템에서 비월 주사 방식의 동영상을 필드 픽쳐로 코딩할 때,When coding interlaced video as a field picture in a video coding system using multiple reference pictures, 레퍼런스 버퍼 내의 각 레퍼런스 필드에 대해 초기 레퍼런스 픽쳐 인덱스(reference picture index)를 할당하는 데 있어, P 픽쳐의 경우 현재 필드의 패리티(parity)에 관계 없이 코딩 순서에 의해서 레퍼런스 픽쳐 인덱스를 할당하는 것을 특징으로 하는 동영상 코딩 방법.In assigning an initial reference picture index to each reference field in the reference buffer, in the case of a P picture, the reference picture index is assigned in a coding order regardless of the parity of the current field. How to code a video. 제 1항에 있어서,The method of claim 1, 상기 P 픽쳐의 레퍼런스 픽쳐 인덱스를 할당함에 있어, 모든 숏텀(short-term) 레퍼런스 픽쳐를 필드 단위로 코딩 순서의 역순으로 정렬하고, 정렬된 필드 순서대로 패리티에 관계없이 0부터 1씩 증가시키면서 레퍼런스 픽쳐 인덱스를 할당하는 것을 특징으로 하는 동영상 코딩 방법.In assigning the reference picture index of the P picture, all short-term reference pictures are arranged in the reverse order of coding order in field units, and the reference pictures are incremented by 0 from 1 regardless of parity in the sorted field order. A video coding method comprising assigning an index. 제 1항에 있어서,The method of claim 1, 상기 P 픽쳐의 레퍼런스 픽쳐 인덱스를 할당함에 있어, 숏텀(short-term) 레퍼런스 픽쳐와 롱텀(long-term) 레퍼런스 픽쳐가 존재할 경우, 모든 숏텀 레퍼런스 픽쳐를 필드 단위로 코딩 순서의 역순으로 정렬하고, 이어서 모든 롱텀 레퍼런스 픽쳐를 필드 단위로 코딩 순서의 역순으로 정렬한 후, 정렬된 필드 순서대로 패리티에 관계없이 0부터 1씩 증가시키면서 레퍼런스 픽쳐 인덱스를 할당하는 것을 특징으로 하는 동영상 코딩 방법.In assigning the reference picture index of the P picture, if there is a short-term reference picture and a long-term reference picture, all the short-term reference pictures are arranged in the reverse order of coding order in field units, and then And arranging all the long-term reference pictures in field order in the reverse order of coding order, and then assigning reference picture indices while increasing the order of zero by one regardless of parity in the sorted field order. 다중 레퍼런스 픽쳐(multiple reference picture)를 이용한 동영상 코딩 시스템에서 비월 주사 방식의 동영상을 필드 픽쳐로 코딩할 때,When coding interlaced video as a field picture in a video coding system using multiple reference pictures, 레퍼런스 버퍼 내의 각 레퍼런스 필드에 대해 초기 레퍼런스 픽쳐 인덱스(reference picture index)를 할당하는 데 있어서, B 픽쳐의 경우 현재 필드의 패리티(parity)에 관계 없이 디스플레이 순서에 의해서 레퍼런스 픽쳐 인덱스를 할당하는 것을 특징으로 하는 동영상 코딩 방법.In assigning an initial reference picture index to each reference field in the reference buffer, in the case of the B picture, the reference picture index is assigned according to the display order regardless of the parity of the current field. How to code a video. 제 4항에 있어서,The method of claim 4, wherein 상기 B 픽쳐의 레퍼런스 픽쳐 인덱스를 할당함에 있어, 리스트 0의 초기 레퍼런스 픽쳐 인덱스를 할당하는 데 있어서,In allocating the reference picture index of the B picture, in allocating the initial reference picture index of the list 0, 현재 픽쳐보다 디스플레이 순서가 앞서는 모든 숏텀 레퍼런스 픽쳐를 필드 단위로 디스플레이 순서의 역순으로 정렬하고, 이어서 현재 픽쳐보다 디스플레이 순서가 늦은 모든 숏텀 레퍼런스 픽쳐를 필드 단위로 디스플레이 순서로 정렬한 후, 정렬된 모든 레퍼런스 필드에 대해 패리티에 관계없이 정렬된 순서대로 0부터 1씩 증가시키면서 레퍼런스 픽쳐 인덱스를 할당하는 것을 특징으로 하는 동영상 코딩 방법.Sort all the short-term reference pictures with display order earlier than the current picture in field order, and then sort all the short-term reference pictures with display order later than the current picture in field order, then display all sorted references. And a reference picture index is assigned to the field in incremental order of 0 from 1 regardless of parity. 제 4항에 있어서,The method of claim 4, wherein 상기 B 픽쳐의 레퍼런스 픽쳐 인덱스를 할당함에 있어, 리스트 0의 초기 레퍼런스 픽쳐 인덱스를 할당하는 데 있어서,In allocating the reference picture index of the B picture, in allocating the initial reference picture index of the list 0, 숏텀 레퍼런스 픽쳐와 롱텀 레퍼런스 픽쳐가 존재할 경우, 현재 픽쳐보다 디스플레이 순서가 앞서는 모든 숏텀 레퍼런스 픽쳐를 필드 단위로 디스플레이 순서의 역순으로 정렬하고, 이어서 현재 픽쳐보다 디스플레이 순서가 늦은 모든 숏텀 레퍼런스 픽쳐를 필드 단위로 디스플레이 순서로 정렬하고, 또 이어서 현재 픽쳐보다 디스플레이 순서가 앞서는 모든 롱텀 레퍼런스 픽쳐를 필드 단위로 디스플레이 순서의 역순으로 정렬하고, 마지막으로 현재 픽쳐보다 디스플레이 순서가 늦은 모든 롱텀 레퍼런스 픽쳐를 필드 단위로 디스플레이 순서로 정렬한 후, 정렬된 모든 레퍼런스 필드에 대해 패리티에 관계없이 정렬된 순서대로 0부터 1씩 증가시키면서 레퍼런스 픽쳐 인덱스를 할당하는 것을 특징으로 하는 동영상 코딩 방법.If short-term reference pictures and long-term reference pictures are present, all short-term reference pictures that have a display order that precedes the current picture are arranged in field order, and then all short-term reference pictures that have a later display order than the current picture are in field units. Sorting by display order, and then sorting all long-term reference pictures with display order prior to the current picture in field order, and finally displaying all long-term reference pictures with display order later than the current picture in field order. And then assigning reference picture indices to all sorted reference fields in increasing order from 0 to 1 in the sorted order regardless of parity. 제 4항에 있어서,The method of claim 4, wherein 상기 B 픽쳐의 레퍼런스 픽쳐 인덱스를 할당함에 있어, 리스트 1의 초기 레퍼런스 픽쳐 인덱스를 할당하는 데 있어서,In allocating the reference picture index of the B picture, in allocating the initial reference picture index of List 1, 현재 픽쳐보다 디스플레이 순서가 늦은 모든 숏텀 레퍼런스 픽쳐를 필드 단위로 디스플레이 순서로 정렬하고, 이어서 현재 픽쳐보다 디스플레이 순서가 앞서는 모든 숏텀 레퍼런스 픽쳐를 필드 단위로 디스플레이 순서의 역순으로 정렬한 후, 정렬된 모든 레퍼런스 필드에 대해 패리티에 관계없이 정렬된 순서대로 0부터1씩 증가시키면서 레퍼런스 픽쳐 인덱스를 할당하는 것을 특징으로 하는 동영상 코딩 방법.Sort all the short-term reference pictures with display order later than the current picture in field order, then sort all the short-term reference pictures with display order prior to the current picture in field order, and then reverse all sorted references. And a reference picture index is assigned to the field in incremental order of 0 from 1 regardless of parity. 제 4항에 있어서,The method of claim 4, wherein 상기 B 픽쳐의 레퍼런스 픽쳐 인덱스를 할당함에 있어, 리스트 1의 초기 레퍼런스 픽쳐 인덱스를 할당하는 데 있어서,In allocating the reference picture index of the B picture, in allocating the initial reference picture index of List 1, 숏텀 레퍼런스 픽쳐와 롱텀 레퍼런스 픽쳐가 존재할 경우, 현재 픽쳐보다 디스플레이 순서가 늦은 모든 숏텀 레퍼런스 픽쳐를 필드 단위로 디스플레이 순서로 정렬하고, 이어서 현재 픽쳐보다 디스플레이 순서가 앞서는 모든 숏텀 레퍼런스 픽쳐를 필드 단위로 디스플레이 순서의 역순으로 정렬하고, 또 이어서 현재 픽쳐보다 디스플레이 순서가 늦은 모든 롱텀 레퍼런스 픽쳐를 필드 단위로 디스플레이 순서로 정렬하고, 마지막으로 현재 픽쳐보다 디스플레이 순서가 앞서는 모든 롱텀 레퍼런스 픽쳐를 필드 단위로 디스플레이 순서의 역순으로 정렬한 후, 정렬된 모든 레퍼런스 필드에 대해 패리티에 관계없이 정렬된 순서대로 0부터 1씩 증가시키면서 레퍼런스 픽쳐 인덱스를 할당하는 것을 특징으로 하는 동영상 코딩 방법.If short-term reference pictures and long-term reference pictures are present, all short-term reference pictures with a display order that is later than the current picture are arranged in field order, and then all short-term reference pictures whose display order precedes the current picture are displayed in field order. Sort in reverse display order, followed by all the long-term reference pictures with display order later than the current picture, in field order, and finally, all the long-term reference pictures with display order prior to the current picture in field order. And then assigning reference picture indices to all sorted reference fields in increasing order from 0 to 1 in the sorted order regardless of parity. 다중 레퍼런스 픽쳐(multiple reference picture)를 이용한 동영상 코딩 시스템에서 비월 주사 방식의 동영상을 필드 픽쳐로 코딩할 때, 각 필드 픽쳐를 코딩/디코딩한 후 레퍼런스 버퍼에 저장하기 위해, 이전에 레퍼런스 버퍼에 저장되어 있던 필드 픽쳐 중 삭제할 필드 픽쳐를 결정하는 데 있어서,When coding interlaced video as a field picture in a video coding system using multiple reference pictures, each field picture is previously stored in a reference buffer to be stored in a reference buffer after coding / decoding each field picture. In determining the field picture to be deleted among the existing field pictures, P 픽쳐의 경우, 숏텀 레퍼런스 버퍼에 있는 필드 픽쳐 중 코딩 순서가 가장 앞서는 필드 픽쳐를 삭제하는 것을 특징으로 하는 동영상 코딩 방법.In the case of a P picture, the video coding method of the field pictures in the short-term reference buffer is deleted. 다중 레퍼런스 픽쳐(multiple reference picture)를 이용한 동영상 코딩 시스템에서 비월 주사 방식의 동영상을 필드 픽쳐로 코딩할 때, 각 필드 픽쳐를 코딩/디코딩한 후 레퍼런스 버퍼에 저장하기 위해, 이전에 레퍼런스 버퍼에 저장되어 있던 필드 픽쳐 중 삭제할 필드 픽쳐를 결정하는 데 있어서,When coding interlaced video as a field picture in a video coding system using multiple reference pictures, each field picture is previously stored in a reference buffer to be stored in a reference buffer after coding / decoding each field picture. In determining the field picture to be deleted among the existing field pictures, B 픽쳐의 경우, 숏텀 레퍼런스 버퍼에 있는 필드 픽쳐 중 디스플레이 순서가 가장 앞서는 필드 픽쳐를 삭제하는 것을 특징으로 하는 동영상 코딩 방법.In the case of the B picture, the video coding method of the field pictures in the short-term reference buffer is deleted.
KR1020030013769A 2003-03-05 2003-03-05 How to code a video KR100934518B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020030013769A KR100934518B1 (en) 2003-03-05 2003-03-05 How to code a video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020030013769A KR100934518B1 (en) 2003-03-05 2003-03-05 How to code a video

Publications (2)

Publication Number Publication Date
KR20040078935A true KR20040078935A (en) 2004-09-14
KR100934518B1 KR100934518B1 (en) 2009-12-29

Family

ID=37364011

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020030013769A KR100934518B1 (en) 2003-03-05 2003-03-05 How to code a video

Country Status (1)

Country Link
KR (1) KR100934518B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013062391A1 (en) * 2011-10-28 2013-05-02 삼성전자 주식회사 Method for inter prediction and device therefor, and method for motion compensation and device therefor
US11962791B2 (en) 2021-11-19 2024-04-16 Samsung Electronics Co., Ltd. Method for inter prediction and device therefor, and method for motion compensation and device therefor

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013062391A1 (en) * 2011-10-28 2013-05-02 삼성전자 주식회사 Method for inter prediction and device therefor, and method for motion compensation and device therefor
AU2012329678B2 (en) * 2011-10-28 2015-11-05 Samsung Electronics Co., Ltd. Method for inter prediction and device therefor, and method for motion compensation and device therefor
US9936197B2 (en) 2011-10-28 2018-04-03 Samsung Electronics Co., Ltd. Method for inter prediction and device therefore, and method for motion compensation and device therefore
US10575002B2 (en) 2011-10-28 2020-02-25 Samsung Electronics Co., Ltd. Method for inter prediction and device therefor, and method for motion compensation and device therefor
US10819989B2 (en) 2011-10-28 2020-10-27 Samsung Electronics Co., Ltd. Method for inter prediction and device therefor, and method for motion compensation and device therefor
US11206414B2 (en) 2011-10-28 2021-12-21 Samsung Electronics Co., Ltd. Method for inter prediction and device therefor, and method for motion compensation and device therefor
US11962791B2 (en) 2021-11-19 2024-04-16 Samsung Electronics Co., Ltd. Method for inter prediction and device therefor, and method for motion compensation and device therefor

Also Published As

Publication number Publication date
KR100934518B1 (en) 2009-12-29

Similar Documents

Publication Publication Date Title
US8335263B2 (en) Method of processing a current field macroblock
KR100934518B1 (en) How to code a video
AU2005203096A1 (en) Method of selecting a reference picture
GB2436981A (en) Selecting a reference picture using index information

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20121128

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20131122

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20141124

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20151124

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20161114

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee