# US 2015/0103911 A1 · Method and apparatus for determining reference images for inter-prediction

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

- Number: US 2015/0103911 A1
- Document ID: US20150103911A1
- Status: Published application
- Kind: A1
- Application number: 14/394,630
- Filed: 2013-04-15
- Published: 2015-04-16
- Earliest claimed: 2012-04-15
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Tammy Lee
- Web page: https://patentgrep.com/patent/US20150103911A1

## CPC

- H04N 19/577: Motion compensation with bidirectional frame interpolation, i.e. using B-pictures
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/44: Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
- H04N 19/463: by compressing encoding parameters before transmission
- H04N 19/573: Motion compensation with multiple frame prediction using two or more reference frames in a given prediction direction
- H04N 19/61: in combination with predictive coding
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/91: Entropy coding, e.g. variable length coding [VLC] or arithmetic coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method of determining a reference image for inter-prediction includes: determining a slice type of a block; if the determining of the slice type indicates that the slice type is a B-slice type configured for uni-directional prediction or bi-directional prediction, determining an inter-prediction direction of the block to be one of a first direction, a second direction, and a bi-direction; if the determining of the inter-prediction direction indicates that the inter-prediction direction is not the second direction, determining a first direction reference index from a first direction reference picture list as a reference index for the block; and if the determining of the inter-prediction direction indicates that the inter-prediction direction is not the first direction, determining a second direction reference index from a second direction reference picture list as a reference index for the block.

## Claims

### Claim 1

A method of determining a reference image for inter-prediction, the method comprising:
determining a slice type of a slice comprising a block;
if the determining of the slice type indicates that the slice type is a B-slice type configured for uni-directional prediction or bi-directional prediction, determining an inter-prediction direction of the block to be one of a first direction, a second direction, and a bi-direction;
if the determining of the inter-prediction direction indicates that the inter-prediction direction is not the second direction, determining a first direction reference index among a first direction reference picture list to be a reference index for the block; and
if the determining of the inter-prediction direction indicates that the inter-prediction direction is not the first direction, determining that a second direction reference index among a second direction reference picture list is a reference index for the block.

### Claim 2 (depends on 1)

The method of claim 1, wherein, if the determining of the inter-prediction direction indicates that the inter-prediction direction is the bi-directional prediction, the first direction reference index is determined from the first direction reference picture list and the second direction reference index is determined from the second direction reference picture list.

### Claim 3 (depends on 1)

The method of claim 1, wherein:
the determining of the first direction reference index comprises:
determining a difference value of a first motion vector indicating a reference image indicated by the first direction reference index; and
determining a motion vector predictor for an image which is used, from the first direction reference index, and
the determining of the second direction reference index comprises:
determining a difference value of a second motion vector indicating a reference image indicated by the second direction reference index; and
determining a motion vector predictor for an image which is used, from the second direction reference index.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
determining inter-prediction mode information indicating the inter-prediction direction, the inter-prediction mode information being two bits;
selecting one of four context model indexes based on a depth of a coding unit of a current block, for a context model of a first bin from among two bins corresponding to the two bits of the inter-prediction mode information; and
selecting another of the four context model indexes independently from a symbol, for a context model of a second bin from among the two bins,
wherein the first bin indicates whether the inter-prediction direction is uni-direction or bi-direction, and the second bin indicates whether the uni-direction is the first direction or the second direction.

### Claim 5 (depends on 1)

The method of claim 1, wherein:
the determining of the slice type comprises parsing slice type information of the slice from a slice header in a received bitstream,
the determining of the inter-prediction direction comprises:
parsing inter-prediction mode information indicating the inter-prediction direction from a prediction unit region comprising prediction information of the block in the received bitstream; and
reading which one of first direction prediction, second direction prediction, and bi-directional prediction is indicated by the inter-prediction mode information,
the determining of the first direction reference index comprises:
parsing first direction reference index information and difference value information of a first motion vector from the prediction unit region comprising the prediction information of the block in the received bitstream; and
parsing information indicating a motion vector predictor of an image which is used from the first direction reference index, and
the determining of the second direction reference index comprises parsing the second direction reference index information and difference value information of a second motion vector from the prediction unit region in the received bitstream.

### Claim 6 (depends on 4)

The method of claim 4, further comprising restoring the inter-prediction mode information by performing entropy decoding using a context model determined for each of the two bins on a bit string in a received bitstream, the bit string comprising the inter-prediction mode information.

### Claim 7 (depends on 5)

The method of claim 5, further comprising:
parsing a reference index, a motion vector, and a residue per inter mode block in the slice, from the received bitstream;
determining a reference picture indicated by the reference index in at least one of the first direction reference picture list and the second direction reference picture list; and
performing motion compensation and generating a restored image by using the determined reference picture, the motion vector, and the residue per inter mode block.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
inserting slice type information indicating the slice type into a slice header of the slice;
inserting inter-prediction mode information indicating any one of first direction prediction, second direction prediction, and bi-directional prediction into a prediction unit region comprising prediction information of the block;
inserting first direction reference index information and difference value information of a first motion vector into the prediction unit region;
inserting second direction reference index information and difference value information of a second motion vector into the prediction unit region; and
transmitting a bitstream comprising the slice header and the prediction unit region.

### Claim 9 (depends on 4)

The method of claim 4, further comprising transmitting a bit string generated by performing entropy decoding by using a context model determined for each of the two bins of the inter-prediction mode information.

### Claim 10 (depends on 8)

The method of claim 8, further comprising:
performing motion prediction on the block by using reference pictures in at least one of the first direction reference picture list and the second direction reference picture list;
determining a reference picture comprising a most similar reference block to the block based on a result of the motion prediction;
determining a reference index indicating the determined reference picture from among the first direction reference picture list and the second direction reference picture list;
determining a motion vector predictor of an image which is used from the first and second direction reference indexes; and
inserting a motion vector and a residue indicating the determined reference picture, and an inter-prediction direction and a reference index indicating the determined reference picture into a block region of the bitstream,
wherein the determining of the first direction reference index comprises encoding the first direction reference index when the determined reference picture does not belong to the second direction reference list, and
the determining of the second direction reference index comprises encoding the second direction reference index when the determined reference picture does not belong to the first direction reference list.

### Claim 11

An apparatus configured to determine a reference image, the apparatus comprising:
an inter-prediction direction determiner configured to determine a slice type of a slice comprising a block, and further configured to, if the determined slice type is a B-slice type configured for uni-directional prediction or bi-directional prediction, determine an inter-prediction direction of the block to be one of a first direction, a second direction, and a bi-direction; and
a reference index determiner configured to determine a first direction reference index from a first direction reference picture list as a reference index for the block if the determined inter-prediction direction is not the second direction, and determine a second direction reference index from a second direction reference picture list as a reference index for the block if the determined inter-prediction direction is not the first direction.

### Claim 12

A method of determining a reference image for inter-prediction, the method comprising:
determining whether a temporal motion vector predictor is usable for a current slice of an image;
if the determining of whether the temporal motion vector predictor is usable for the current slice indicates that the temporal motion vector predictor is usable for the current slice and the slice type is a B-slice type configured for uni-directional prediction or bi-directional prediction, determining whether a picture comprising a collocated block exists in a first direction reference picture list;
if the determining of whether the temporal motion vector predictor is usable for the current slice indicates that the temporal motion vector predictor is not usable for the current slice, determining index information of the picture comprising the collocated block from a predetermined reference picture list; and
determining a motion vector predictor of a current block by using a motion vector of the collocated block.

### Claim 13 (depends on 12)

The method of claim 12, further comprising:
determining a collocated image from the determined picture index information of the picture;
determining a motion vector of the current block by using the motion vector predictor; and
determining a reference block of the current block by using the motion vector.

### Claim 14 (depends on 12)

The method of claim 12, wherein the determining of whether the picture comprising the collocated block exists in the first direction reference picture list comprises:
parsing information indicating usability of the temporal motion vector predictor from a slice header of the current slice; and
if the information indicating usability of the temporal vector predictor indicates that the temporal motion vector predictor is usable, parsing information from the slice header, the information from the slice header indicating whether a picture comprising a collocated block exists in the first direction reference picture list and whether index information of the picture comprising the collocated block exists in the predetermined reference picture list.

### Claim 15 (depends on 12)

The method of claim 12, wherein the determining of whether the picture comprising the collocated block exists in the first direction reference picture list comprises:
inserting information indicating usability of the temporal motion vector predictor into a slice header of the current slice; and
if the information indicating usability of the temporal motion vector predictor indicates that the temporal motion vector predictor is usable, inserting information into the slice header, the information inserted into the slice header indicating whether a picture comprising a collocated block exists in the first direction reference picture list and whether index information of the picture comprising the collocated block exists in the predetermined reference picture list.
