IP Library Granted Patent US 12,015,798
Granted Patent B2
US 12,015,798 · App. 17/750,169 · Granted Jun 18, 2024

Methods and apparatus on transform and coefficient signaling

Inventors: Xiaoyu Xiu (Beijing, CN); Tsung-Chuan Ma (Beijing, CN); Yi-Wen Chen (Beijing, CN); Xianglin Wang (Beijing, CN); Hong-Jheng Jhu (Beijing, CN); Bing Yu (Beijing, CN)
Assignee: BEIJING DAJIA INTERNET INFORMATION TECHNOLOGY CO., LTD.
H04N19/625H04N19/129H04N19/176H04N19/46
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,015,798
App. No.
17/750,169
Granted
Jun 18, 2024
Kind
B2
Abstract

An electronic apparatus performs a method of encoding and decoding video data. The method comprises: receiving bitstream encoding a transform block, wherein the transform block includes a non-zero region and a zero-out region; checking whether there is any non-zero coefficient within the zero-out region; in accordance with a determination that there is no non-zero coefficient within the zero-out region of the transform block: determining a scan order index of a last non-zero coefficient of the transform block along a scanning direction; in accordance with a determination that the scan order index of the last non-zero coefficient is greater than a predefined threshold: receiving, from the bitstream, a value for multiple transform selection (MTS) index; and applying respective transforms to transform coefficients of the transform block in both horizontal and vertical directions based on the value of the MTS index.

Claims (63)

1. A method for video decoding, comprising:

receiving a bitstream comprising a transform block, wherein the transform block includes a non-zero region and a zero-out region;

determining whether any coding group of the transform block located within the zero-out region has a non-zero coefficient;

in accordance with a determination that no coding group of the transform block located within the zero-out region has a non-zero coefficient:

receiving, from the bitstream, a value for a multiple transform selection (MTS) index; and

applying respective inverse transforms to transform coefficients of the transform block in horizontal and vertical directions based on the value of the MTS index.

2. The method of claim 1 , further comprising:

in accordance with a determination that a coding group of the transform block located within the zero-out region has a non-zero coefficient:

applying a predefined default inverse transform to transform the coefficients of the transform block in both the horizontal and vertical directions.

3. The method of claim 2 , wherein the predefined default inverse transform is inverse DCT-2 transform and the horizontal inverse transform and the vertical inverse transform are either inverse DST-7 transform or inverse DCT-8 transform.

4. The method of claim 1 , wherein applying the respective inverse transforms to the transform coefficients of the transform block comprises:

in accordance with a determination that the MTS index has a first value:

receiving, from the bitstream, a value for an MTS horizontal flag and a value for an MTS vertical flag;

applying a horizontal inverse transform to the coefficients of the transform block in the horizontal direction based on the value for the MTS horizontal flag; and

applying a vertical inverse transform to the coefficients of the transform block after the horizontal transform in the vertical direction based on the value for the MTS vertical flag; and

in accordance with a determination that the MTS index has a second value that is different from the first value:

transforming the coefficients of the transform block using a predefined default transform in both the horizontal and vertical directions.

5. The method of claim 1 , wherein chroma residuals of the transform block are coded in joint coding of chroma residuals (JCCR) mode and a transform skip mode is enabled for a corresponding chroma transform block.

6. The method of claim 1 , wherein the non-zero region is a top-left 16×16 region of the transform block.

7. The method of claim 1 , wherein a scan order of the coefficients of the transform block is a diagonal scan order.

8. An electronic apparatus comprising:

one or more processing units;

memory coupled to the one or more processing units; and

a plurality of programs stored in the memory that, when executed by the one or more processing units, cause the electronic apparatus to perform a method for video decoding, the method including:

receiving a bitstream comprising a transform block, wherein the transform block includes a non-zero region and a zero-out region;

determining whether any coding group of the transform block located within the zero-out region has a non-zero coefficient;

in accordance with a determination that no coding group of the transform block located within the zero-out region has a non-zero coefficient:

receiving, from the bitstream, a value for a multiple transform selection (MTS) index; and

applying respective inverse transforms to transform coefficients of the transform block in horizontal and vertical directions based on the value of the MTS index.

9. The electronic apparatus of claim 8 , wherein the method further comprises:

in accordance with a determination that a coding group of the transform block located within the zero-out region has a non-zero coefficient:

applying a predefined default inverse transform to transform the coefficients of the transform block in both the horizontal and vertical directions.

10. The electronic apparatus of claim 9 , wherein the predefined default inverse transform is inverse DCT-2 transform and the horizontal inverse transform and the vertical inverse transform are either inverse DST-7 transform or inverse DCT-8 transform.

11. The electronic apparatus of claim 8 , wherein applying the respective inverse transforms to the transform coefficients of the transform block comprises:

in accordance with a determination that the MTS index has a first value:

receiving, from the bitstream, a value for an MTS horizontal flag and a value for an MTS vertical flag;

applying a horizontal inverse transform to the coefficients of the transform block in the horizontal direction based on the value for the MTS horizontal flag; and

applying a vertical inverse transform to the coefficients of the transform block after the horizontal transform in the vertical direction based on the value for the MTS vertical flag; and

in accordance with a determination that the MTS index has a second value that is different from the first value:

transforming the coefficients of the transform block using a predefined default transform in both the horizontal and vertical directions.

12. The electronic apparatus of claim 8 , wherein chroma residuals of the transform block are coded in joint coding of chroma residuals (JCCR) mode and a transform skip mode is enabled for a corresponding chroma transform block.

13. The electronic apparatus of claim 8 , wherein the non-zero region is a top-left 16×16 region of the transform block.

14. The electronic apparatus of claim 8 , wherein a scan order of the coefficients of the transform block is a diagonal scan order.

15. A non-transitory computer readable storage medium storing bitstream to be decoded by a method for video decoding, the method including:

receiving the bitstream comprising a transform block, wherein the transform block includes a non-zero region and a zero-out region;

determining whether any coding group of the transform block located within the zero-out region has a non-zero coefficient;

in accordance with a determination that no coding group of the transform block located within the zero-out region has a non-zero coefficient:

receiving, from the bitstream, a value for a multiple transform selection (MTS) index; and

applying respective inverse transforms to transform coefficients of the transform block in horizontal and vertical directions based on the value of the MTS index.

16. The non-transitory computer readable storage medium of claim 15 , wherein the method further comprises:

in accordance with a determination that a coding group of the transform block located within the zero-out region has a non-zero coefficient:

applying a predefined default inverse transform to transform the coefficients of the transform block in both the horizontal and vertical directions.

17. The non-transitory computer readable storage medium of claim 16 , wherein the predefined default inverse transform is inverse DCT-2 transform and the horizontal inverse transform and the vertical inverse transform are either inverse DST-7 transform or inverse DCT-8 transform.

18. The non-transitory computer readable storage medium of claim 15 , wherein applying the respective inverse transforms to the transform coefficients of the transform block comprises:

in accordance with a determination that the MTS index has a first value:

receiving, from the bitstream, a value for an MTS horizontal flag and a value for an MTS vertical flag;

applying a horizontal inverse transform to the coefficients of the transform block in the horizontal direction based on the value for the MTS horizontal flag; and

applying a vertical inverse transform to the coefficients of the transform block after the horizontal transform in the vertical direction based on the value for the MTS vertical flag; and

in accordance with a determination that the MTS index has a second value that is different from the first value:

transforming the coefficients of the transform block using a predefined default transform in both the horizontal and vertical directions.

19. The non-transitory computer readable storage medium of claim 15 , wherein chroma residuals of the transform block are coded in joint coding of chroma residuals (JCCR) mode and a transform skip mode is enabled for a corresponding chroma transform block.

20. The non-transitory computer readable storage medium of claim 15 , wherein the non-zero region is a top-left 16×16 region of the transform block.

21. The non-transitory computer readable storage medium of claim 15 , wherein a scan order of the coefficients of the transform block is a diagonal scan order.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 21, 2022
From: XIU, XIAOYU; MA, TSUNG-CHUAN; CHEN, YI-WEN; WANG, XIANGLIN; JHU, HONG-JHENG; YU, BING
To: BEIJING DAJIA INTERNET INFORMATION TECHNOLOGY CO., LTD.
Reel/Frame 061173/0785 →
Continuity (4)
Continuation PCTUS2020061843 · Nov 23, 2020
Provisional Application 62959325 · Jan 10, 2020
Provisional Application 62938890 · Nov 21, 2019
Related Publication 20220286708A1 · Sep 8, 2022
Cited By (2)
US 12,439,087 US 12,457,364