IP Library › Granted Patent US 11,343,508
Granted Patent B2
US 11,343,508 · App. 17/366,787 · Granted May 24, 2022

Method for determining prediction direction, decoder, and computer storage medium

Inventors: Junyan Huo (Dongguan, CN); Yanzhuo Ma (Dongguan, CN); Jianglin Wang (Dongguan, CN); Shuai Wan (Dongguan, CN); Fuzheng Yang (Dongguan, CN)
Assignee: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.
H04N19/137H04N19/159H04N19/176H04N19/186
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,343,508
App. No.
17/366,787
Granted
May 24, 2022
Kind
B2
Abstract

A method for determining a prediction direction is provided. The method is implemented by a decoder. The method includes: acquiring a Direct Mode (DM) in a chroma intra prediction mode of a block to be decoded (S 101 ); and determining an index number of a prediction direction in a DM derived mode based on an offset N and an index number M of a prediction direction in the DM to determine the DM derived mode (S 102 ).

Claims (50)

1. A method for determining a prediction direction, implemented by a decoder and comprising:

determining a chroma intra prediction mode of a block to be decoded;

acquiring a Direct Mode (DM) in the chroma intra prediction mode; and

determining an index number of the prediction direction in a DM derived mode based on an offset N and an index number M of a prediction direction in the DM to determine the DM derived mode, N being a positive integer and M being a positive integer;

wherein the determination of the index number of the prediction direction in the DM derived mode is based on a sum value of M and N, a difference value between the M and the N, a minimum value K1 of index numbers of prediction directions in the DM and a maximum value K2 of the index numbers of the prediction directions in the DM.

2. The method of claim 1 , wherein the determination of the index number of the prediction direction in the DM derived mode based on the sum value and the difference value to determine the DM derived mode comprises:

when the sum value is larger than or equal to K2 and the difference value is smaller than or equal to K1, determining that the index numbers of the prediction directions in the DM derived mode are the K1 and K2 respectively.

3. The method of claim 1 , wherein the determination of the index number of the prediction direction in the DM derived mode based on the sum value and the difference value to determine the DM derived mode comprises:

when the sum value is smaller than or equal to K2 and the difference value is larger than or equal to K1, determining that the index numbers of the prediction directions in the DM derived mode are the sum value and the difference value respectively;

when the difference value is smaller than or equal to K1, determining that the index numbers of the prediction directions in the DM derived mode are the sum value and K1 respectively; and

when the sum value is larger than or equal to K2, determining that the index numbers of the prediction directions in the DM derived mode are the difference value and K2 respectively.

4. A method for determining a prediction direction, implemented by an encoder and comprising:

determining a chroma intra prediction mode of an encoding block;

acquiring a Direct Mode (DM) in the chroma intra prediction mode; and

determining an index number of the prediction direction in a DM derived mode based on an offset N and an index number M of a prediction direction in the DM to determine the DM derived mode, N being a positive integer and M being a positive integer;

wherein the determination of the index number of the prediction direction in the DM derived mode is based on a sum value of M and N, a difference value between the M and the N, a minimum value K1 of index numbers of prediction directions in the DM and a maximum value K2 of the index numbers of the prediction directions in the DM.

5. The method of claim 4 , wherein the determination of the index number of the prediction direction in the DM derived mode based on the sum value and the difference value to determine the DM derived mode comprises:

when the sum value is larger than or equal to K2 and the difference value is smaller than or equal to K1, determining that the index numbers of the prediction directions in the DM derived mode are the K1 and K2 respectively.

6. The method of claim 4 , wherein the determination of the index number of the prediction direction in the DM derived mode based on the sum value and the difference value to determine the DM derived mode comprises:

when the sum value is smaller than or equal to K2 and the difference value is larger than or equal to K1, determining that the index numbers of the prediction directions in the DM derived mode are the sum value and the difference value respectively;

when the difference value is smaller than or equal to K1, determining that the index numbers of the prediction directions in the DM3-5, 7-9, derived mode are the sum value and K1 respectively; and

when the sum value is larger than or equal to K2, determining that the index numbers of the prediction directions in the DM derived mode are the difference value and K2 respectively.

7. A decoder, comprising:

a processor; and

a storage medium storing instructions executable by the processor,

wherein the storage medium is configured to communicate with the processor through a communication bus to execute an operation, and the instructions are executed by the processor to implement a method for determining a prediction direction, the method comprising:

determining a chroma intra prediction mode of a block to be decoded;

acquiring a Direct Mode (DM) in the chroma intra prediction mode; and

determining an index number of the prediction direction in a DM derived mode based on an offset N and an index number M of a prediction direction in the DM to determine the DM derived mode, N being a positive integer and M being a positive integer;

wherein the determination of the index number of the prediction direction in the DM derived mode is based on a sum value of M and N, a difference value between the M and the N, a minimum value K1 of index numbers of prediction directions in the DM and a maximum value K2 of the index numbers of the prediction directions in the DM.

8. The decoder of claim 7 ,

wherein when the sum value is larger than or equal to K2 and the difference value is smaller than or equal to K1, determine that the index numbers of the prediction directions in the DM derived mode are the K1 and K2 respectively.

9. The decoder of claim 7 ,

wherein when the sum value is smaller than or equal to K2 and the difference value is larger than or equal to K1, determine that the index numbers of the prediction directions in the DM derived mode are the sum value and the difference value respectively;

when the difference value is smaller than or equal to K1, determine that the index numbers of the prediction directions in the DM derived mode are the sum value and K1 respectively; and

when the sum value is larger than or equal to K2, determine that the index numbers of the prediction directions in the DM derived mode are the difference value and K2 respectively.

10. An encoder, comprising:

a processor; and

a storage medium storing instructions executable by the processor,

wherein the storage medium is configured to communicate with the processor through a communication bus to execute an operation, and the instructions are executed by the processor to implement a method for determining a prediction direction, the method comprising:

determining a chroma intra prediction mode of an encoding block:

acquiring a Direct Mode (DM) in the chroma intra prediction mode; and

determining an index number of the prediction direction in a DM derived mode based on an offset N and an index number M of a prediction direction in the DM to determine the DM derived mode, N being a positive integer and M being a positive integer;

wherein the determination of the index number of the prediction direction in the DM derived mode is based on a sum value of M and N, a difference value between the M and the N, a minimum value K1 of index numbers of prediction directions in the DM and a maximum value K2 of the index numbers of the prediction directions in the DM.

11. The encoder of claim 10 , wherein the determination of the index number of the prediction direction in the DM derived mode based on the sum value and the difference value to determine the DM derived mode comprises:

when the sum value is larger than or equal to K2 and the difference value is smaller than or equal to K1, determining that the index numbers of the prediction directions in the DM derived mode are K1 and K2 respectively.

12. The encoder of claim 10 , wherein the determination of the index number of the prediction direction in the DM derived mode based on the sum value and the difference value to determine the DM derived mode comprises:

when the sum value is smaller than or equal to K2 and the difference value is larger than or equal to K1, determining that the index numbers of the prediction directions in the DM derived mode are the sum value and the difference value respectively;

when the difference value is smaller than or equal to K1, determining that the index numbers of the prediction directions in the DM derived mode are the sum value and K1 respectively; and

when the sum value is larger than or equal to K2, determining that the index numbers of the prediction directions in the DM derived mode are the difference value and K2 respectively.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 19, 2021
From: HUO, JUNYAN; MA, YANZHUO; WANG, JIANGLIN; WAN, SHUAI; YANG, FUZHENG
To: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.
Reel/Frame 057235/0699 →
Continuity (2)
Continuation PCTCN2019070145 · Jan 2, 2019
Related Publication 20210337207A1 · Oct 28, 2021