Operation range extension for versatile video coding
AssigneeGuangdong Oppo Mobile Telecommunications Corp., Ltd.
InventorsYue Yu, Haoping Yu
Life of this patent
Estimating the term…
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.
Claims8
A method for decoding a bitstream encoded using Versatile Video Coding (VVC), the method comprising:
- determining a bit depth of samples of a picture 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;
- and
- storing a decoded picture in the DPB by decoding the bitstream based on the determined bit depth;
- wherein decoding the bitstream based on the determined bit depth comprises:
- accessing a binary string representing a partition of the picture, 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 allowed and that the CTU is a 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 allowed 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 picture comprising the decoded plurality of CTUs in the partition.
A method for encoding using Versatile Video Coding (VVC), the method comprising:
- determining a bit depth of samples of a picture to be encoded;
- determining a value of a Sequence Parameter Set (SPS) syntax element sps_bitdepth_minus8, wherein the value of the SPS syntax element sps_bitdepth_minus8 is in a range of 0 to 8, and encoding the value of the SPS syntax element sps_bitdepth_minus8 into a bitstream;
- determining a value of a Video Parameter Set (VPS) syntax element vps_ols_dpb_bitdepth_minus8, wherein the value of the VPS syntax element vps_ols_dpb_bitdepth_minus8 is in a range of 0 to 8, and encoding the value of the VPS syntax element vps_ols_dpb_bitdepth_minus8 into the bitstream;
- determining a size of a decoded picture buffer (DPB) based on the VPS syntax element vps_ols_dpb_bitdepth_minus8;
- allocating a storage space with the determined size of the DPB;
- obtaining and storing a picture in the DPB;
- and
- encoding the picture based on the determined bit depth;
- wherein encoding the picture based on the determined bit depth comprises:
- performing a partition of the picture, wherein 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 encoding the CTU, determining that parallel coding is allowed 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 allowed 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
- encoding the CTU, comprising:
- calculating the Rice parameters for transform units (TUs) in the CTU based on the history counter;
- encoding coefficient values corresponding to the TUs in the CTU into a binary string based on the calculated Rice parameters;
- and
- signalling the binary string of the TUs in the CTU into the bitstream.
A non-transitory computer readable storage medium, storing computer programs and a bitstream, wherein when executed by a processor, the computer programs cause the processor to implement a method for encoding using Versatile Video Coding (VVC) to generate the bitstream, and the method comprises:
- determining a bit depth of samples of a picture to be encoded;
- determining a value of a Sequence Parameter Set (SPS) syntax element sps_bitdepth_minus8, wherein the value of the SPS syntax element sps_bitdepth_minus8 is in a range of 0 to 8, and encoding the value of the SPS syntax element sps_bitdepth_minus8 into a bitstream;
- determining a value of a Video Parameter Set (VPS) syntax element vps_ols_dpb_bitdepth_minus8, wherein the value of the VPS syntax element vps_ols_dpb_bitdepth_minus8 is in a range of 0 to 8, and encoding the value of the VPS syntax element vps_ols_dpb_bitdepth_minus8 into the bitstream;
- determining a size of a decoded picture buffer (DPB) based on the VPS syntax element vps_ols_dpb_bitdepth_minus8;
- allocating a storage space with the determined size of the DPB;
- obtaining and storing a picture in the DPB;
- and
- encoding the picture based on the determined bit depth;
- wherein encoding the picture based on the determined bit depth comprises:
- performing a partition of the picture, wherein 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 encoding the CTU, determining that parallel coding is allowed 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 allowed 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
- encoding the CTU, comprising:
- calculating the Rice parameters for transform units (TUs) in the CTU based on the history counter;
- encoding coefficient values corresponding to the TUs in the CTU into a binary string based on the calculated Rice parameters;
- and
- signalling the binary string of the TUs in the CTU into the bitstream.
Dependencies are inferred from the claim text.