# US 2003/0206589 A1 · Method for coding moving picture

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2003/0206589 A1
- Document ID: US20030206589A1
- Status: Published application
- Kind: A1
- Application number: 10/337,611
- Filed: 2003-01-06
- Published: 2003-11-06
- Earliest claimed: 2002-05-03
- Assignees: LG Electronics Inc.
- Inventors: Byeong Moon Jeon
- Web page: https://patentgrep.com/patent/US20030206589A1

## CPC

- H04N 19/577: Motion compensation with bidirectional frame interpolation, i.e. using B-pictures
- H04N 19/103: Selection of coding mode or of prediction mode
- H04N 19/105: Selection 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
- H04N 19/114: Adapting the group of pictures [GOP] structure, e.g. number of B-frames between two anchor frames (H04N19/107 takes precedence)
- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/139: Analysis of motion vectors, e.g. their magnitude, direction, variance or reliability
- H04N 19/142: Detection of scene cut or scene change
- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/17: the unit being an image region, e.g. an object
- H04N 19/172: the region being a picture, frame or field
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/179: the unit being a scene or a shot
- H04N 19/503: involving temporal prediction (adaptive coding with adaptive selection between spatial and temporal predictive coding H04N19/107; adaptive coding with adaptive selection among a plurality of temporal predictive coding modes H04N19/109)
- H04N 19/51: Motion estimation or motion compensation
- H04N 19/513: Processing of motion vectors
- H04N 19/52: by predictive encoding
- H04N 19/527: Global motion vector estimation
- H04N 19/56: Motion estimation with initialisation of the vector search, e.g. estimating a good candidate to initiate a search
- H04N 19/573: Motion compensation with multiple frame prediction using two or more reference frames in a given prediction direction
- H04N 19/58: Motion compensation with long-term prediction, i.e. the reference frame for a current frame not being the temporally closest one (H04N19/23 takes precedence)
- H04N 19/583: Motion compensation with overlapping blocks
- H04N 19/61: in combination with predictive coding
- H04N 19/87: involving scene cut or scene change detection in combination with video compression
- H04N 5/145: {Movement estimation (for video coding H04N19/51)}
- H04N 5/147: {Scene change detection}
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

The present invention relates to a moving picture coding method to enhance a coding efficiency for a moving picture coding sequence by inter mode and direct mode in a B picture using a long-term reference picture. In the present invention, a P picture is coded in inter mode according to scene change. The motion vectors of direct mode are calculated and coded according to the kind of the reference picture pointed by a motion vector of a co-located block in the specified picture.

## Claims

### Claim 1

A method of determining motion vectors of direct mode in a B picture, the method comprising the step of:
when coding each block in the B picture using the direct mode, determining differently motion vectors of the direct mode for the B picture according to a kind of a reference buffer storing a reference picture pointed by a motion vector of a co-located block in a specified picture.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the specified picture is one of short-term reference pictures used in coding the B picture.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the kind of the reference picture is determined using a reference picture index calculated previously at the co-located block in the specified picture.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the reference picture index is stored in a system buffer.

### Claim 5 (depends on 1)

The method according to claim 1, wherein when a motion vector calculated at the co-located block in the specified picture points to a long-term reference picture, a forward motion vector of the direct mode for the B picture is a motion vector of the co-located block in the specified picture, and a backward motion vector of the direct mode for the B picture is determined to be zero.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the motion vector of the co-located block in the specified picture is stored in a system buffer.

### Claim 7 (depends on 1)

The method according to claim 1, wherein when a motion vector calculated at the co-located block in the specified picture points to a short-term reference picture, motion vectors of the direct mode for the B picture are determined by scaling the motion vector of the co-located block in the specified picture by time distance between pictures.

### Claim 8 (depends on 7)

The method according to claim 7, wherein the motion vector of the co-located block in the specified picture is stored in a system buffer.

### Claim 9

A method of determining motion vectors of direct mode in a B picture, the method comprising the step of:
when coding each block in the B picture using the direct mode, determining differently motion vectors of the direct mode for the B picture according to a kind of a reference buffer storing a specified picture.

### Claim 10 (depends on 9)

The method according to claim 9, wherein the reference buffer includes a long-term reference buffer and a short-term reference buffer.

### Claim 11 (depends on 9)

The method according to claim 9, wherein the specified picture is one of a short-term reference picture and a long-term reference picture

### Claim 12 (depends on 9)

The method according to claim 9, wherein when the specified picture is in the long-term reference buffer, a forward motion vector of the direct mode for the B picture is a motion vector of the co-located block in the specified picture, and a backward motion vector of the direct mode for the B picture is determined to be zero.

### Claim 13 (depends on 9)

The method according to claim 9, wherein when the specified picture is in the short-term reference buffer, motion vectors of direct mode for the B picture are determined differently according to the kind of the reference buffer storing a reference picture pointed by the motion vector of the co-located block in the specified picture.

### Claim 14 (depends on 13)

The method according to claim 13, wherein the kind of the reference picture is determined using a reference picture index calculated previously at the co-located block in the specified picture.

### Claim 15 (depends on 14)

The method according to claim 14, wherein the reference picture index is stored in a system buffer.

### Claim 16 (depends on 13)

The method according to claim 13, wherein when a motion vector calculated at the co-located block in the specified picture points to a long-term reference picture, a forward motion vector of the direct mode for the B picture is a motion vector of the co-located block in the specified picture, and a backward motion vector of the direct mode for the B picture is determined to be zero.

### Claim 17 (depends on 16)

The method according to claim 16, wherein the motion vector of the co-located block in the specified picture is stored in a system buffer.

### Claim 18 (depends on 13)

The method according to claim 13, wherein when a motion vector calculated at co-located block in the specified picture points to a short-term reference picture, motion vectors of the direct mode for the B picture are determined by scaling the motion vector of the co-located block in the specified picture by time distance between pictures.

### Claim 19 (depends on 18)

The method according to claim 18, wherein the motion vector of the co-located block in the specified picture is stored in a system buffer.

### Claim 20

A method of coding a P picture of a moving picture in inter mode, the method comprising the steps of:
(a) determining whether a scene change occurs in the P picture; and
(b) if a scene change occurs in the P picture, coding the P picture with reference to the long-term reference picture.

### Claim 21 (depends on 20)

The method according to claim 20, wherein the P picture in which a scene change occurs is one of a scene cut picture and a partial scene change picture.

### Claim 22 (depends on 20)

The method according to claim 20, wherein if the P picture in which a scene change occurs is a partial scene change picture, the blocks included in an area in which a scene change occurs are coded using a long-term reference picture.

### Claim 23 (depends on 22)

The method according to claim 22, wherein a long-term reference buffer storing the long-term reference picture is a buffer to store a picture coded before a predetermined time.

### Claim 24 (depends on 20)

The method according to claim 20, wherein if the P picture in which a scene change occurs is a partial scene change picture, the blocks included in an area in which a scene change does not occur are coded using a short-term reference picture.

### Claim 25 (depends on 24)

The method according to claim 24, wherein a short-term reference buffer storing the short-term reference picture is a buffer to store a picture coded after a predetermined time.

### Claim 26

A method of coding a moving picture sequence in a moving picture coding system, the method comprising the steps of:
(a) determining whether a scene change occurs in a P picture;
(b) if there is a P picture in which a scene change occurs, coding the P picture in inter mode with reference to a long-term reference picture;
(c) when coding each block in a B picture using direct mode according to coding order, determining a kind of a reference buffer storing a specified picture; and
(d) calculating motion vectors of the direct mode for the B picture according to the kind of the reference buffer and coding the B picture in the direct mode.

### Claim 27 (depends on 26)

The method according to claim 26, wherein the motion vector of the co-located block in the specified picture is stored in a system buffer.

### Claim 28 (depends on 26)

The method according to claim 26, wherein when the specified picture is in the long-term reference buffer in the step (d), a forward motion vector of the direct mode for the B picture is a motion vector of the co-located block in the specified picture, and a backward motion vector of the direct mode for the B picture is determined to be zero.

### Claim 29 (depends on 26)

The method according to claim 26, wherein when the specified picture is in the short-term reference buffer in the step (d), motion vectors of direct mode for the B picture are determined differently according to the kind of the reference buffer storing a reference picture pointed by the motion vector of the co-located block in the specified picture.

### Claim 30 (depends on 29)

The method according to claim 29, wherein the kind of the reference picture is determined using a reference picture index calculated previously at a co-located block in the specified picture.

### Claim 31 (depends on 30)

The method according to claim 30, wherein the reference picture index is stored in a system buffer.

### Claim 32 (depends on 29)

The method according to claim 29, wherein when a motion vector calculated at co-located block in the specified picture points to a long-term reference picture, a forward motion vector of the direct mode for the B picture is a motion vector of the co-located block in the specified picture, and a backward motion vector of the direct mode for the B picture is determined to be zero.

### Claim 33 (depends on 32)

The method according to claim 32, wherein the motion vector of the co-located block in the specified picture is stored in a system buffer.

### Claim 34 (depends on 29)

The method according to claim 29, wherein when a motion vector calculated at co-located block in the specified picture points to a short-term reference picture, motion vectors of the direct mode for the B picture are determined by scaling the motion vector calculated at the co-located block in the specified picture by time distance between pictures.

### Claim 35 (depends on 34)

The method according to claim 34, wherein the motion vector of the co-located block in the specified picture is stored in a system buffer.

### Claim 36 (depends on 26)

The method according to claim 26, wherein the P picture in which a scene change occurs is one of a scene cut picture and a partial scene change picture.

### Claim 37 (depends on 26)

The method according to claim 26, wherein if the P picture in which a scene change occurs is a partial scene change picture, the blocks included in an area in which a scene change occurs are coded using a long-term reference picture.

### Claim 38 (depends on 37)

The method according to claim 37, wherein a long-term reference buffer storing the long-term reference picture is a buffer to store a picture coded before a predetermined time.

### Claim 39 (depends on 26)

The method according to claim 26, wherein if the P picture in which a scene change occurs is a partial scene change picture, the blocks included in an area in which a scene change does not occur are coded using a short-term reference picture.

### Claim 40 (depends on 39)

The method according to claim 39, wherein a short-term reference buffer storing the short-term reference picture is a buffer to store a picture coded after a predetermined time.

### Claim 41 (depends on 39)

The method according to claim 39, wherein a short-term reference buffer consists of a first input first output (FIFO).

### Claim 42 (depends on 26)

The method according to claim 26, wherein the specified picture for direct mode coding in the B picture is one of reference pictures used in coding the B picture.
