IP Library › Granted Patent US 10,531,117
Granted Patent B2
US 10,531,117 · App. 16/197,156 · Granted Jan 7, 2020

Sub-block transform coding of prediction residuals

Inventors: Thomas W. Holcomb (Bothell, WA); Chih-Lung Lin (Redmond, WA)
Assignee: Microsoft Technology Licensing, LLC
H04N19/523G06T3/40G06T7/0012H04N19/105H04N19/115H04N19/117H04N19/119H04N19/122H04N19/124H04N19/129H04N19/132H04N19/136H04N19/137H04N19/146H04N19/147H04N19/15H04N19/154H04N19/172H04N19/176H04N19/18H04N19/46H04N19/50H04N19/513H04N19/52H04N19/527H04N19/533H04N19/547H04N19/57H04N19/59H04N19/593H04N19/61H04N19/625H04N19/63H04N19/70H04N19/80H04N19/82H04N19/86H04N19/895H04N19/182
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 10,531,117
App. No.
16/197,156
Granted
Jan 7, 2020
Kind
B2
Abstract

Techniques and tools for sub-block transform coding are described. For example, a video encoder adaptively switches between 8×8, 8×4, and 4×8 DCTs when encoding 8×8 prediction residual blocks; a corresponding video decoder switches between 8×8, 8×4, and 4×8 inverse DCTs during decoding. The video encoder may determine the transform sizes as well as switching levels (e.g., frame, macroblock, or block) in a closed loop evaluation of the different transform sizes and switching levels. The encoder and decoder may use different scan patterns for different transform sizes when scanning values from two-dimensional blocks into one-dimensional arrays, or vice versa. The encoder and decoder may use sub-block pattern codes to indicate the presence or absence of information for the sub-blocks of particular blocks.

Claims (50)

1. A computer system comprising

one or more processors and memory,

wherein the computer system Implements a video decoder configured to perform operations to decode one or more video frames, the operations comprising:

receiving encoded data in a bitstream, wherein the encoded data includes sub-block pattern Information,

the sub-block pattern information indicating an information pattern for presence or absence in the bitstream of prediction residual data for plural sub-blocks of a block of the one or more video frames; and

decoding the encoded data to reconstruct the one or more video frames using a variable-block-size inverse frequency transform,

wherein the decoding includes, for a given sub-block of the respective sub-blocks of the block:

using the sub-block pattern information to determine that the given sub-block has prediction residual data in the bitstream;

getting, from the encoded data in the bitstream, encoded transform coefficients for the given sub-block;

entropy decoding the encoded transform coefficients for the given sub-block; inverse quantizing the transform coefficients for the given sub-block;

with the variable-block-size Inverse frequency transform, converting the transform coefficients for the given sub-block to prediction residual values for the given sub-block; and

combining the prediction residual values for the given sub-block with predicted values for the given sub-block.

2. The computer system of claim 1 , wherein the block is an 8×8 block and the plural sub-blocks are 4×4 sub-blocks.

3. The computer system of claim 1 , wherein the variable-block-size inverse frequency transform uses a transform size selected from among plural available transform sizes.

4. The computer system of claim 3 , wherein the plural available transform sizes include 8×8 and 4×4.

5. The computer system of claim 1 , wherein, for each of the respective sub-blocks of the block, if the sub-block has at least one non-zero transform coefficient, the sub-block pattern information indicates presence in the bitstream of prediction residual data for that sub-block.

6. The computer system of claim 1 , wherein the decoding further includes: selecting a scan pattern from among multiple scan patterns; and using the selected scan pattern to reorder the transform coefficients for the given sub-block from a one-dimensional array to a two-dimensional array.

7. The computer system of claim 1 , wherein the decoding further includes: performing motion-compensated prediction to determine predicted values for the block, the predicted values for the block including the predicted values for the given sub-block.

8. In a computer system that Implements a video decoder, a method comprising:

receiving encoded data in a bitstream, wherein the encoded data includes sub-block pattern information,

the sub-block pattern information Indicating an information pattern for presence or absence in the bitstream of prediction residual data for plural sub-blocks of a block of a video frame; and

decoding the encoded data to reconstruct the one or more video frames using a variable-block-size inverse frequency transform,

wherein the decoding includes, for a given sub-block of the respective sub-blocks of the block:

using the sub-block pattern information to determine that the given sub-block has prediction residual data in the bitstream;

getting, from the encoded data in the bitstream, encoded transform coefficients for the given sub-block;

entropy decoding the encoded transform coefficients for the given sub-block;

inverse quantizing the transform coefficients for the given sub-block;

with the variable-block-size inverse frequency transform, converting the transform coefficients for the given sub-block to prediction residual values for the given sub-block; and

combining the prediction residual values for the given sub-block with predicted values for the given sub-block.

9. The method of claim 8 , wherein the block is an 8×8 block and the plural sub-blocks are 4×4 sub-blocks.

10. The method of claim 8 , wherein the variable-block-size Inverse frequency transform uses a transform size selected from among plural available transform sizes.

11. The method of claim 10 , wherein the plural available transform sizes include 8×8 and 4×4.

12. The method of claim 8 , wherein, for each of the respective sub-blocks of the block, if the sub-block has at least one non-zero transform coefficient, the sub-block pattern information indicates presence in the bitstream of prediction residual data for that sub-block.

13. The method of claim 8 , wherein the decoding further includes: selecting a scan pattern from among multiple scan patterns; and using the selected scan pattern to reorder the transform coefficients for the given sub-block from a one-dimensional array to a two-dimensional array.

14. The method of claim 8 , wherein the decoding further includes: performing motion-compensated prediction to determine predicted values for the block, the predicted values for the block including the predicted values for the given sub-block.

15. One or more computer-readable media having stored thereon computer executable instructions for causing one or more processing units, when programmed thereby, to perform operations, the one or more computer-readable media being selected from the group consisting of non-volatile memory, optical media, and magnetic media, the operations comprising:

receiving encoded data in a bitstream, wherein the encoded data includes sub-block pattern information,

the sub-block pattern Information Indicating an information pattern for presence or absence in the bitstream of prediction residual data for plural sub-blocks of a block of a video frame; and

decoding the encoded data to reconstruct the one or more video frames using a variable-block-size inverse frequency transform,

wherein the decoding includes, for a given sub-block of the respective sub-blocks of the block:

using the sub-block pattern information to determine that the given sub-block has prediction residual data in the bitstream;

getting, from the encoded data in the bitstream, encoded transform coefficients for the given sub-block;

entropy decoding the encoded transform coefficients for the given sub-block; inverse quantizing the transform coefficients for the given sub-block;

with the variable-block-size inverse frequency transform, converting the transform coefficients for the given sub-block to prediction residual values for the given sub-block; and

combining the prediction residual values for the given sub-block with predicted values for the given sub-block.

16. The one or more computer-readable media of claim 15 , wherein the block is an 8×8 block and the plural sub-blocks are 4×4 sub-blocks.

17. The one or more computer-readable media of claim 15 , wherein the variable-block-size inverse frequency transform uses a transform size selected from among plural available transform sizes.

18. The one or more computer-readable media of claim 17 , wherein the plural available transform sizes Include 8×8 and 4×4.

19. The one or more computer-readable media of claim 15 , wherein, for each of the respective sub-blocks of the block, if the sub-block has at least one non-zero transform coefficient, the sub-block pattern information Indicates presence in the bitstream of prediction residual data for that sub-block.

20. The one or more computer-readable media of claim 15 , wherein the decoding further includes: selecting a scan pattern from among multiple scan patterns; and using the selected scan pattern to reorder the transform coefficients for the given sub-block from a one-dimensional array to a two-dimensional array.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 8, 2019
From: HOLCOMB, THOMAS W.; LIN, CHIH-LUNG
To: MICROSOFT CORPORATION
Reel/Frame 048283/0706 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 8, 2019
From: MICROSOFT CORPORATION
To: MICROSOFT TECHNOLOGY LICENSING, LLC
Reel/Frame 048283/0717 →
Continuity (6)
Continuation 15246237 · Aug 24, 2016
Continuation 14337578 · Jul 22, 2014
Continuation 11890059 · Aug 3, 2007
Division 10322352 · Dec 17, 2002
Provisional Application 60341674 · Dec 17, 2001
Related Publication 20190089978A1 · Mar 21, 2019