IP Library › Granted Patent US 12,166,999
Granted Patent B2
US 12,166,999 · App. 18/435,257 · Granted Dec 10, 2024

Operation range extension for versatile video coding

Inventors: Yue Yu (Palo Alto, CA); Haoping Yu (Palo Alto, CA)
Assignee: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.
H04N19/152H04N19/186H04N19/1883H04N19/70
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 12,166,999
App. No.
18/435,257
Filed
Feb 7, 2024
Granted
Dec 10, 2024
Kind
B2
Art Unit
2485
USPC
375/240.02
Abstract

A video decoder decodes a video from a video bitstream encoded using Versatile Video Coding (VVC). The video decoder determines a bit depth of samples of the video based on Sequence Parameter Set (SPS) syntax element sps_bitdepth_minus8 whose value is in the range of 0 to 8. The decoder further determines the size of a decoded picture buffer (DPB) based on a Video Parameter Set (VPS) syntax element vps_ols_dpb_bitdepth_minus8 whose value is in the range of 0 to 8. The decoder allocates a storage space with the determined size of the DPB, decodes the video bitstream based on the determined bit depth, and thus obtains and stores a decoded picture in the DPB. The decoder further outputs the decoded picture.

Claims (82)

1. A method for decoding a video from a video bitstream encoded using Versatile Video Coding (VVC), the method comprising:

determining a bit depth of samples of the video based on Sequence Parameter Set (SPS) syntax element sps_bitdepth_minus8, wherein a value of the SPS syntax element sps_bitdepth_minus8 is in a range of 0 to 8;

determining a size of a decoded picture buffer (DPB) based on a Video Parameter Set (VPS) syntax element vps_ols_dpb_bitdepth_minus8, wherein a value of the VPS syntax element vps_ols_dpb_bitdepth_minus8 is in a range of 0 to 8;

allocating a storage space with the determined size of the DPB;

obtaining and storing a decoded picture in the DPB by decoding the video bitstream based on the determined bit depth; and

outputting the decoded picture,

wherein decoding the video bitstream based on the determined bit depth comprises:

accessing a binary string representing a partition of the video, the partition comprising a plurality of coding tree units (CTUs) forming one or more CTU rows;

for each CTU of the plurality of CTUs in the partition,

prior to decoding the CTU, determining that parallel coding is enabled and that the CTU is the first CTU of a current CTU row among the one or more CTU rows in the partition;

in response to determining that the parallel coding is enabled and that the CTU is the first CTU of the current CTU row in the partition,

setting a history counter for a color component for calculating Rice parameters to an initial value based on the determined bit depth; and

decoding the CTU, comprising:

calculating the Rice parameters for transform units (TUs) in the CTU based on the history counter;

decoding the binary string corresponding to the TUs in the CTU into coefficient values of the TUs based on the calculated Rice parameters; and

determining pixel values for the TUs in the CTU from the coefficient values; and

outputting a decoded partition of the video comprising the decoded plurality of CTUs in the partition.

2. The method of claim 1 , wherein obtaining and storing the decoded picture in the DPB by decoding the video bitstream comprises:

obtaining and storing a first set of pictures in the DPB by decoding a first portion of the video bitstream; and

decoding a second portion of the video bitstream into a second set of pictures by using the first set of pictures in the DPB as reference pictures.

3. The method of claim 1 , further comprising:

reordering one or more decoded pictures in the DPB according to an output order; and

outputting the one or more decoded pictures according to the output order.

4. The method of claim 1 , further comprising:

holding one or more decoded pictures in the DPB for a period of time; and

outputting the one or more decoded pictures after the period of time has passed.

5. A non-transitory computer-readable medium having program code that is stored thereon, the program code executable by one or more processing devices for performing operations comprising:

determining a size of a decoded picture buffer (DPB) for a video based on a Video Parameter Set (VPS) syntax element vps_ols_dpb_bitdepth_minus8 included in a video bitstream of the video, wherein the video bitstream is encoded using Versatile Video Coding (VVC) and a value of the VPS syntax element vps_ols_dpb_bitdepth_minus8 is in a range of 0 to 8;

allocating a storage space with the determined size of the DPB;

obtaining and storing a decoded picture in the DPB by decoding the video bitstream; and

outputting the decoded picture,

wherein the operations further comprise:

determining a bit depth of samples of the video based on a Sequence Parameter Set (SPS) syntax element sps_bitdepth_minus8, wherein a value of the SPS syntax element sps_bitdepth_minus8 is in a range of 0 to 8, wherein decoding the video bitstream is performed based on the determined bit depth,

wherein decoding the video bitstream based on the determined bit depth comprises:

accessing a binary string representing a partition of the video, the partition comprising a plurality of coding tree units (CTUs) forming one or more CTU rows; and

for each CTU of the plurality of CTUs in the partition,

prior to decoding the CTU and in response to determining that parallel coding is enabled and that the CTU is the first CTU of a current CTU row, determining whether the current CTU row is the first CTU row in the partition;

in response to determining that the current CTU row is the first CTU row in the partition, setting a history counter for a color component for calculating Rice parameters to an initial value based on the determined bit depth;

in response to determining that the current CTU row is not the first CTU row in the partition, setting the history counter for a color component to a value stored in a history counter storage variable;

decoding the CTU, comprising:

calculating the Rice parameters for transform units (TUs) in the CTU based on the value of the history counter;

decoding the binary string corresponding to the TUs in the CTU into coefficient values of the TUs based on the calculated Rice parameters; and

determining pixel values for the TUs in the CTU from the coefficient values; and

after decoding the CTU, in response to determining that parallel coding is enabled and that the CTU is the first CTU of the current CTU row, storing a current value of the history counter in the history counter storage variable.

6. The non-transitory computer-readable medium of claim 5 , wherein obtaining and storing the decoded picture in the DPB by decoding the video bitstream comprises:

obtaining and storing a first set of pictures in the DPB by decoding a first portion of the video bitstream; and

decoding a second portion of the video bitstream into a second set of pictures by using the first set of pictures in the DPB as reference pictures.

7. The non-transitory computer-readable medium of claim 5 , wherein the operations further comprise:

reordering one or more decoded pictures in the DPB according to an output order; and

outputting the one or more decoded pictures according to the output order.

8. The non-transitory computer-readable medium of claim 5 , wherein the operations further comprise:

holding one or more decoded pictures in the DPB for a period of time; and

outputting the one or more decoded pictures after the period of time has passed.

9. A system comprising:

a processing device; and

a non-transitory computer-readable medium communicatively coupled to the processing device, wherein the processing device is configured to execute program code stored in the non-transitory computer-readable medium and thereby perform operations comprising:

determining a size of a decoded picture buffer (DPB) for a video based on a Video Parameter Set (VPS) syntax element vps_ols_dpb_bitdepth_minus8 included in a video bitstream of the video, wherein the video bitstream is encoded using Versatile Video Coding (VVC) and a value of the VPS syntax element vps_ols_dpb_bitdepth_minus8 is in a range of 0 to 8;

allocating a storage space with the determined size of the DPB;

obtaining and storing a decoded picture in the DPB by decoding the video bitstream; and

outputting the decoded picture,

wherein the operations further comprise:

determining a bit depth of samples of the video based on a Sequence Parameter Set (SPS) syntax element sps_bitdepth_minus8, wherein a value of the SPS syntax element sps_bitdepth_minus8 is in a range of 0 to 8, wherein decoding the video bitstream is performed based on the determined bit depth,

wherein decoding the video bitstream based on the determined bit depth comprises:

accessing a binary string representing a partition of the video, the partition comprising a plurality of coding tree units (CTUs) forming one or more CTU rows;

for each CTU of the plurality of CTUs in the partition,

prior to decoding the CTU, determining that parallel coding is enabled and that the CTU is the first CTU of a current CTU row among the one or more CTU rows in the partition;

in response to determining that the parallel coding is enabled and that the CTU is the first CTU of the current CTU row in the partition,

setting a history counter for a color component for calculating Rice parameters to an initial value based on the determined bit depth; and

decoding the CTU, comprising:

calculating the Rice parameters for transform units (TUs) in the CTU based on the history counter:

decoding the binary string corresponding to the TUs in the CTU into coefficient values of the TUs based on the calculated Rice parameters; and

determining pixel values for the TUs in the CTU from the coefficient values; and

outputting a decoded partition of the video comprising the decoded plurality of CTUs in the partition.

10. The system of claim 9 , wherein obtaining and storing the decoded picture in the DPB by decoding the video bitstream comprises:

obtaining and storing a first set of pictures in the DPB by decoding a first portion of the video bitstream; and

decoding a second portion of the video bitstream into a second set of pictures by using the first set of pictures in the DPB as reference pictures.

11. The system of claim 9 , wherein the operations further comprise:

reordering one or more decoded pictures in the DPB according to an output order; and

outputting the one or more decoded pictures according to the output order.

12. The system of claim 9 , wherein the operations further comprise:

holding the one or more decoded pictures in the DPB for a period of time; and

outputting the one or more decoded pictures after the period of time has passed.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 3, 2024
From: INNOPEAK TECHNOLOGY, INC.
To: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.
Reel/Frame 066994/0119 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 14, 2024
From: YU, YUE; YU, HAOPING
To: INNOPEAK TECHNOLOGY, INC.
Reel/Frame 066464/0523 →
Continuity (5)
Continuation PCTUS2022075507 · Aug 26, 2022
Provisional Application 63262078 · Oct 4, 2021
Provisional Application 63251385 · Oct 1, 2021
Provisional Application 63260600 · Aug 26, 2021
Related Publication 20240179323A1 · May 30, 2024
Cited By (2)
US 12,627,812 US 12,684,132