IP Library › Granted Patent US 11,178,409
Granted Patent B2
US 11,178,409 · App. 16/812,539 · Granted Nov 16, 2021

Probability mapping for entropy coding

Inventors: Joseph Young (Mountain View, CA); Dake He (Cupertino, CA)
Assignee: GOOGLE LLC
H04N19/18H04N19/124H04N19/129H04N19/13H04N19/147H04N19/159H04N19/176H04N19/184H04N19/45H04N19/91H04N19/93H04N19/122
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,178,409
App. No.
16/812,539
Granted
Nov 16, 2021
Kind
B2
Abstract

A method for coding a frame of a video stream includes selecting a first initial probability distribution for coding at least a first portion of the frame; updating, to obtain an updated first initial probability distribution and using backward adaptivity, the first initial probability distribution while coding the first portion of the frame; mapping the updated first initial probability distribution to a second initial probability distribution; and coding a second portion of the frame using the second initial probability distribution as an initial probability distribution. The first values of the first initial probability distribution are described using M bits, wherein M is a first positive integer. Second values of the updated first initial probability distribution are described using N bits, where N is a second positive integer that is greater than M. Third values of the second initial probability distribution are described using M bits.

Claims (42)

1. A method for coding a frame of a video stream, comprising:

selecting a first initial probability distribution for coding at least a first portion of the frame, wherein first values of the first initial probability distribution are stored using M bits, wherein M is a first positive integer;

updating, to obtain an updated first initial probability distribution and using backward adaptivity, the first initial probability distribution responsive to coding the first portion of the frame, wherein second values of the updated first initial probability distribution are stored using N bits, wherein N is a second positive integer that is greater than M;

mapping the updated first initial probability distribution to a second initial probability distribution, wherein third values of the second initial probability distribution are stored using M bits; and

coding a second portion of the frame using the second initial probability distribution as an initial probability distribution.

2. The method of claim 1 , wherein mapping the updated first initial probability distribution to the second initial probability distribution comprising:

mapping a range [1, 255] of probability values to (2 M −1) values, wherein each probability value of the probability values corresponds to a respective left limit and a respective right limit such that any value in a left-closed interval consisting of [the respective left limit, the respective right limit) maps to the each probability value.

3. The method of claim 1 , wherein mapping the updated first initial probability distribution to the second initial probability distribution comprising:

determining a partition composition that meets a loss threshold, wherein the partition composition consists of intervals, each interval consists of a respective left limit and a respective right limit.

4. The method of claim 1 , wherein N is 8.

5. The method of claim 4 , wherein M is one of 4, 5, or 6.

6. The method of claim 1 , wherein the first initial probability distribution and the second initial probability distribution are used for coding intra-prediction modes.

7. The method of claim 1 , wherein the first initial probability distribution and the second initial probability distribution are used for coding non-zero maps.

8. The method of claim 1 , wherein the first initial probability distribution and the second initial probability distribution are used for coding end-of-block locations of non-zero maps.

9. An apparatus for decoding frames of a video stream, comprising:

a memory; and

a processor, the processor configured to:

decode, from a compressed bitstream, an initial probability distribution for decoding at least a first portion of a first frame, wherein first values of the initial probability distribution are stored using M bits, wherein M is a first positive integer;

update, to obtain an updated initial probability distribution, the initial probability distribution while decoding the first portion of the first frame, wherein second values of the updated initial probability distribution are stored using N bits, wherein N is a second positive integer that is greater than M;

and

decode a second frame of the video stream using the updated initial probability distribution.

10. The apparatus of claim 9 , wherein the processor is further configured:

map a range [1, 255] of probability values to (2 M −1) values, wherein each probability value of the probability values corresponds to a respective left limit and a respective right limit such that any value in a left-closed interval consisting of [the respective left limit, the respective right limit) maps to the each probability value.

11. The apparatus of claim 9 , wherein the processor is further configured to:

determine a partition composition that meets a loss threshold, wherein the partition composition consists of intervals, each interval consists of a respective left limit and a respective right limit.

12. The apparatus of claim 9 , wherein N is 8.

13. The apparatus of claim 12 , wherein M is one of 4, 5, or 6.

14. The apparatus of claim 9 , wherein the initial probability distribution and the updated initial probability distribution are used for coding intra-prediction modes.

15. The apparatus of claim 9 , wherein the initial probability distribution and the updated initial probability distribution are used for coding non-zero maps.

16. The apparatus of claim 9 , wherein the initial probability distribution and the updated initial probability distribution are used for coding end-of-block locations of non-zero maps.

17. An apparatus for encoding a frame of a video stream, comprising:

a memory; and

a processor, the processor configured to:

select a first initial probability distribution for encoding at least a first portion of the frame, wherein first values of the first initial probability distribution are stored using M bits, wherein M is a first positive integer;

update, to obtain an updated first initial probability distribution, the first initial probability distribution while encoding the first portion of the frame, wherein second values of the updated first initial probability distribution are stored using N bits, wherein N is a second positive integer that is greater than M;

map the updated first initial probability distribution to a second initial probability distribution, wherein third values of the second initial probability distribution are stored using M bits; and

encode the second initial probability distribution in a compressed bitstream.

18. The apparatus of claim 17 , wherein to map the updated first initial probability distribution to the second initial probability distribution comprises to:

map a range [1, 255] of probability values to (2 M −1) values, wherein each probability value of the probability values corresponds to a respective left limit and a respective right limit such that any value in a left-closed interval consisting of [the respective left limit, the respective right limit) maps to the each probability value.

19. The apparatus of claim 17 , wherein to map the updated first initial probability distribution to the second initial probability distribution comprises to:

determine a partition composition that meets a loss threshold, wherein the partition composition consists of intervals, each interval consists of a respective left limit and a respective right limit.

20. The apparatus of claim 17 , wherein N is 8 and M is one of 4, 5, or 6.

Continuity (4)
Continuation 16659666 · Oct 22, 2019
Continuation 15798495 · Oct 31, 2017
Provisional Application 62575716 · Oct 23, 2017
Related Publication 20200213599A1 · Jul 2, 2020
Cited By (3)
US 12,389,036 US 12,531,995 US 12,671,814