IP Library › Granted Patent US 11,546,636
Granted Patent B2
US 11,546,636 · App. 17/406,260 · Granted Jan 3, 2023

Clipping operation in secondary transform based video processing

Inventors: Kai Zhang (San Diego, CA); Li Zhang (San Diego, CA); Hongbin Liu (Beijing, CN); Jizheng Xu (San Diego, CA); Yue Wang (Beijing, CN)
Assignees: BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD.; BYTEDANCE INC.
H04N19/61H04N19/11H04N19/124H04N19/132H04N19/159H04N19/176H04N19/186H04N19/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,546,636
App. No.
17/406,260
Granted
Jan 3, 2023
Kind
B2
Abstract

A video processing method includes determining, for a conversion between a block of a video and a bitstream representation of the video, that an output value from an inverse secondary transform with a reduced dimension (e.g., an inverse low frequency non-separable transform) is constrained within a range of [min, max] inclusively. The inverse secondary transform is applicable to the block between a de-quantization step and an inverse primary transform. The reduced dimension is reduced from a dimension of the block, and min and max are integer values. The method also includes performing the conversion based on the determining.

Claims (45)

1. A method of processing video data, comprising:

determining, for a conversion between a current block of a video and a bitstream of the video, whether an inverse secondary transform is applied to the current block, wherein an output value from the inverse secondary transform is constrained within a first range of [min, max] inclusively, wherein the inverse secondary transform is applicable to the current block between a de-quantization and an inverse primary transform, and wherein min and max are integer values; and

performing the conversion based on the determining, and

wherein coefficients after the de-quantization are constrained to a second range of [qmin, qmax] inclusively, wherein qmin is equal to the min of the first range and qmax is equal to the max of the first range, qmin and qmax being integers,

wherein min is equal to −(1<<15) and max is equal to (1<<15)−1,

wherein in response to the current block being coded with a prediction mode which is a non-intra prediction mode, the inverse secondary transform is not applied to the current block, and

wherein a quantization matrix used in the de-quantization is determined based on whether the inverse secondary transform is applied or not.

2. The method of claim 1 , wherein the inverse secondary transform comprises an inverse low frequency non-separable transform.

3. The method of claim 1 , wherein a clipping operation is applied to clip the output value within the first range of [min, max] inclusively.

4. The method of claim 1 , wherein a transform matrix for the inverse secondary transform is selected from four transform sets, each of the four transform sets consists of two transform matrices in response to the inverse secondary transform being applied to the current block.

5. The method of claim 4 , wherein in response to the current block being a chroma block and one of three cross-component linear model intra prediction modes being used for the current block, transform set 0 is selected for the current block.

6. The method of claim 4 , wherein the inverse secondary transform is applied to de-quantized transformed coefficients of the current block.

7. The method of claim 1 , wherein whether to apply the inverse secondary transform is dependent on a coding mode of the current block.

8. The method of claim 1 , wherein in response to a block the current block being coded with a transform skip mode, the inverse secondary transform is not applied to the current block.

9. The method of claim 8 , wherein in response to the secondary transform not being applied to the current block, syntax elements to indicate information related the secondary transform is not included in a bitstream of the current block.

10. The method of claim 1 , further comprising:

determining that a forward secondary transform is applied to the current block, wherein an input value to the forward secondary transform is constrained within the first range of [min, max] inclusively, wherein the forward secondary transform is applicable to the current block between a forward primary transform and a quantization.

11. The method of claim 1 , wherein coefficients of the current block after a forward second transform applicable between a forward primary transform and a quantization step are constrained within a third range.

12. The method of claim 1 , wherein the conversion includes encoding the video into the bitstream.

13. The method of claim 1 , wherein the conversion includes decoding the video from the bitstream.

14. 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, for a conversion between a current block of a video and a bitstream of the video, whether an inverse secondary transform is applied to the current block, wherein an output value from the inverse secondary transform is constrained within a first range of [min, max] inclusively, wherein the inverse secondary transform is applicable to the current block between a de-quantization and an inverse primary transform, and wherein min and max are integer values; and

perform the conversion based on the determining, and

wherein coefficients after the de-quantization are constrained to a second range of [qmin, qmax] inclusively, wherein qmin is equal to the min of the first range and qmax is equal to the max of the first range, qmin and qmax being integers,

wherein min is equal to −(1<<15) and max is equal to (1<<15)−1,

wherein in response to the current block being coded with a prediction mode which is a non-intra prediction mode, the inverse secondary transform is not applied to the current block, and

wherein a quantization matrix used in the de-quantization is determined based on whether the inverse secondary transform is applied or not.

15. The apparatus of claim 14 , wherein the inverse secondary transform comprises an inverse low frequency non-separable transform.

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

determine, for a conversion between a current block of a video and a bitstream of the video, whether an inverse secondary transform is applied to the current block, wherein an output value from the inverse secondary transform is constrained within a first range of [min, max] inclusively, wherein the inverse secondary transform is applicable to the current block between a de-quantization and an inverse primary transform, and wherein min and max are integer values; and

perform the conversion based on the determining, and

wherein coefficients after the de-quantization are constrained to a second range of [qmin, qmax] inclusively, wherein qmin is equal to the min of the first range and qmax is equal to the max of the first range, qmin and qmax being integers,

wherein min is equal to −(1<<15) and max is equal to (1<<15)−1,

wherein in response to the current block being coded with a prediction mode which is a non-intra prediction mode, the inverse secondary transform is not applied to the current block, and

wherein a quantization matrix used in the de-quantization is determined based on whether the inverse secondary transform is applied or not.

17. The non-transitory computer-readable storage medium of claim 16 , wherein the inverse secondary transform comprises an inverse low frequency non-separable transform.

18. The non-transitory computer-readable storage medium of claim 16 , wherein a clipping operation is applied to clip the output value within the first range of [min, max] inclusively.

19. The non-transitory computer-readable storage medium of claim 16 , wherein whether to apply the inverse secondary transform is dependent on a coding mode of the current block.

20. 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 whether an inverse secondary transform is applied to a current block of a video, wherein an output value from the inverse secondary transform is constrained within a first range of [min, max] inclusively, wherein the inverse secondary transform is applicable to the current block between a de-quantization and an inverse primary transform, and wherein min and max are integer values; and

generating the bitstream of the video based on the determining, and

wherein coefficients after the de-quantization are constrained to a second range of [qmin, qmax] inclusively, wherein qmin is equal to the min of the first range and qmax is equal to the max of the first range, qmin and qmax being integers,

wherein min is equal to −(1<<15) and max is equal to (1<<15)−1,

wherein in response to the current block being coded with a prediction mode which is a non-intra prediction mode, the inverse secondary transform is not applied to the current block, and

wherein a quantization matrix used in the de-quantization is determined based on whether the inverse secondary transform is applied or not.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 19, 2021
From: ZHANG, KAI; ZHANG, LI; XU, JIZHENG
To: BYTEDANCE INC.
Reel/Frame 057234/0271 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 19, 2021
From: LIU, HONGBIN; WANG, YUE
To: BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD.
Reel/Frame 057234/0285 →
Priority Claims (1)
WO PCT/CN2019/083853 · Apr 23, 2019 · international
Continuity (2)
Continuation PCTCN2020086421 · Apr 23, 2020
Related Publication 20220109876A1 · Apr 7, 2022