IP Library › Granted Patent US 11,924,469
Granted Patent B2
US 11,924,469 · App. 17/540,089 · Granted Mar 5, 2024

Conditional signaling of reduced secondary transform in video bitstreams

Inventors: Li Zhang (San Diego, CA); Kai Zhang (San Diego, CA); Hongbin Liu (Beijing, CN); Yue Wang (Beijing, CN)
Assignees: BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD.; BYTEDANCE INC.
H04N19/61H04N19/176H04N19/46H04N19/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 11,924,469
App. No.
17/540,089
Granted
Mar 5, 2024
Kind
B2
Abstract

Devices, systems and methods for digital video process are described. An exemplary method for video processing includes performing a conversion between a current video block of a video and a coded representation of the video, wherein the performing of the conversion includes determining, based on a width (W) and/or a height (H) of the current video block, an applicability of a secondary transform tool to the current video block, and wherein the secondary transform tool includes applying, during encoding, a forward secondary transform to an output of a forward primary transform applied to a residual of a video block prior to quantization, or applying, during decoding, an inverse secondary transform to an output of dequantization of the video block before applying an inverse primary transform.

Claims (60)

1. A method of processing video data, comprising:

determining, during a conversion between a current video block of a video and a bitstream of the video, whether side information of the current video block relating to a secondary transform tool is included in the bitstream, based on a relationship between at least one of a width (W) and a height (H) of the current video block and an allowed maximum transform size (T); and

performing the conversion based on the determining,

wherein using the secondary transform tool includes applying, during encoding, a forward secondary transform to an output of a forward primary transform applied to a residual of the current video block prior to quantization, or

wherein using the secondary transform tool includes applying, during decoding, an inverse secondary transform to an output of dequantization of the current video block before applying an inverse primary transform, and

wherein whether the side information is included in the bitstream is determined further based on a location of a last non-zero coefficient in a residual of the current video block, and when the side information is included in the bitstream, the last non-zero coefficient is located in a region of the current video block to which that the secondary transform tool is applied;

wherein the side information is excluded from the bitstream in a case satisfying at least one of W>T or H>T.

2. The method of claim 1 , wherein the secondary transform tool corresponds to a low frequency non-separable transform (LFNST) tool.

3. The method of claim 1 , wherein the secondary transform tool is not applied to the current video block in a case satisfying at least one of W>T or H>T.

4. The method of claim 1 , wherein the width (W) and the height (H) is a size characteristic of the current video block corresponds to only luma information.

5. The method of claim 1 , wherein the current video block is a coding unit.

6. The method of claim 1 , wherein in a case that a size of the current video block is 4*4 or 8*8, the region is corresponding to first 8 coefficients in a top-left 4*4 coding group.

7. The method of claim 1 , wherein in a case that the width or the height of the current video block is greater than or equal to 4, and a size of the current video block is not 4*4 or 8*8, the region is corresponding to a top-left 4*4 coding group.

8. The method of claim 1 , wherein in response to the side information indicating that the secondary transform tool is enabled, a first syntax element indicating at least one of applying a primary transform tool and an index of transform kernels used in the primary transform tool is not present in the bitstream.

9. The method of claim 1 , wherein the conversion includes encoding the current video block into the bitstream.

10. The method of claim 1 , wherein the conversion includes decoding the current video block from the bitstream.

11. An apparatus for processing video data comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor, cause the processor to:

determine, during a conversion between a current video block of a video and a bitstream of the video, whether side information of the current video block relating to a secondary transform tool is included in the bitstream, based on a relationship between at least one of a width (W) and a height (H) of the current video block and an allowed maximum transform size (T); and

perform the conversion based on the determining,

wherein using the secondary transform tool includes applying, during encoding, a forward secondary transform to an output of a forward primary transform applied to a residual of the current video block prior to quantization, or

wherein using the secondary transform tool includes applying, during decoding, an inverse secondary transform to an output of dequantization of the current video block before applying an inverse primary transform, and

wherein whether the side information is included in the bitstream is determined further based on a location of a last non-zero coefficient in a residual of the current video block, and when the side information is included in the bitstream, the last non-zero coefficient is located in a region of the current video block to which that the secondary transform tool is applied;

wherein the side information is excluded from the bitstream in a case satisfying at least one of W>T or H>T.

12. The apparatus of claim 11 , wherein the secondary transform tool corresponds to a low frequency non-separable transform (LFNST) tool;

wherein the secondary transform tool is not applied to the current video block in a case satisfying at least one of W>T or H>T;

wherein the width (W) and the height (H) is a size characteristic of the current video block corresponds to only luma information; and

wherein the current video block is a coding unit.

13. The apparatus of claim 11 , wherein;

wherein in a case that a size of the current video block is 4*4 or 8*8, the region is corresponding to first 8 coefficients in a top-left 4*4 coding group;

wherein in a case that the width or the height of the current video block is greater than or equal to 4, and a size of the current video block is not 4*4 or 8*8, the region is corresponding to a top-left 4*4 coding group; and

wherein in response to the side information indicating that the secondary transform tool is enabled, a first syntax element indicating at least one of applying a primary transform tool and an index of transform kernels used in the primary transform tool is not present in the bitstream.

14. A non-transitory computer-readable storage medium storing instructions that cause a processor to:

determine, during a conversion between a current video block of a video and a bitstream of the video, whether side information of the current video block relating to a secondary transform tool is included in the bitstream, based on a relationship between at least one of a width (W) and a height (H) of the current video block and an allowed maximum transform size (T); and

perform the conversion based on the determining,

wherein using the secondary transform tool includes applying, during encoding, a forward secondary transform to an output of a forward primary transform applied to a residual of the current video block prior to quantization, or

wherein using the secondary transform tool includes applying, during decoding, an inverse secondary transform to an output of dequantization of the current video block before applying an inverse primary transform, and

wherein whether the side information is included in the bitstream is determined further based on a location of a last non-zero coefficient in a residual of the current video block, and when the side information is included in the bitstream, the last non-zero coefficient is located in a region of the current video block to which that the secondary transform tool is applied;

wherein the side information is excluded from the bitstream in a case satisfying at least one of W>T or H>T.

15. The non-transitory computer-readable recording medium of claim 14 , wherein the secondary transform tool corresponds to a low frequency non-separable transform (LFNST) tool;

wherein the secondary transform tool is not applied to the current video block in a case satisfying at least one of W>T or H>T;

wherein the width (W) and the height (H) is a size characteristic of the current video block corresponds to only luma information;

wherein the current video block is a coding unit;

wherein in a case that a size of the current video block is 4*4 or 8*8, the region is corresponding to first 8 coefficients in a top-left 4*4 coding group;

wherein in a case that the width or the height of the current video block is greater than or equal to 4, and a size of the current video block is not 4*4 or 8*8, the region is corresponding to a top-left 4*4 coding group; and

wherein in response to the side information indicating that the secondary transform tool is enabled, a first syntax element indicating at least one of applying a primary transform tool and an index of transform kernels used in the primary transform tool is not present in the bitstream.

16. A non-transitory computer-readable recording medium storing a bitstream of a video which is generated by a method performed by a video processing apparatus,

wherein the method comprises:

determining, for a current video block of a video, whether side information of the current video block relating to a secondary transform tool is included in the bitstream, based on a relationship between at least one of a width (W) and a height (H) of the current video block and an allowed maximum transform size (T); and

generating the bitstream based on the determining,

wherein using the secondary transform tool includes applying, during encoding, a forward secondary transform to an output of a forward primary transform applied to a residual of the current video block prior to quantization, or

wherein using the secondary transform tool includes applying, during decoding, an inverse secondary transform to an output of dequantization of the current video block before applying an inverse primary transform, and

wherein whether the side information is included in the bitstream is determined further based on a location of a last non-zero coefficient in a residual of the current video block, and when the side information is included in the bitstream, the last non-zero coefficient is located in a region of the current video block to which that the secondary transform tool is applied;

wherein the side information is excluded from the bitstream in a case satisfying at least one of W>T or H>T.

17. The non-transitory computer-readable recording medium of claim 16 , wherein the secondary transform tool corresponds to a low frequency non-separable transform (LFNST) tool;

wherein the secondary transform tool is not applied to the current video block in a case satisfying at least one of W>T or H>T;

wherein the width (W) and the height (H) is a size characteristic of the current video block corresponds to only luma information;

wherein the current video block is a coding unit;

wherein in a case that a size of the current video block is 4*4 or 8*8, the region is corresponding to first 8 coefficients in a top-left 4*4 coding group;

wherein in a case that the width or the height of the current video block is greater than or equal to 4, and a size of the current video block is not 4*4 or 8*8, the region is corresponding to a top-left 4*4 coding group; and

wherein in response to the side information indicating that the secondary transform tool is enabled, a first syntax element indicating at least one of applying a primary transform tool and an index of transform kernels used in the primary transform tool is not present in the bitstream.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 1, 2021
From: ZHANG, LI; ZHANG, KAI
To: BYTEDANCE INC.
Reel/Frame 058262/0916 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 1, 2021
From: LIU, HONGBIN; WANG, YUE
To: BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD.
Reel/Frame 058262/0928 →
Continuity (2)
Continuation PCTCN2020094854 · Jun 8, 2020
Related Publication 20220094986A1 · Mar 24, 2022
Cited By (1)
US 12,323,625