# US 2020/0404040 A1 · Unification of rice parameter lookup table

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2020/0404040 A1
- Document ID: US20200404040A1
- Status: Published application
- Kind: A1
- Application number: 16/895,475
- Filed: 2020-06-08
- Published: 2020-12-24
- Earliest claimed: 2019-06-20
- Assignees: Tencent America LLC
- Applicants: Tencent America LLC
- Inventors: Cheung Auyeung; Xiang Li; Shan Liu
- Web page: https://patentgrep.com/patent/US20200404040A1

## CPC

- H04L 65/65: Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
- H04L 65/80: Responding to QoS
- G06F 16/9017: {using directory or table look-up (use of a directory or look-up table in file systems G06F16/13)}
- H04L 65/403: Arrangements for multi-party communication, e.g. for conferences (data switching systems for conference H04L12/18; arrangements for connecting several subscribers to a common circuit, i.e. affording conference facilities H04M3/56; television conferencing systems H04N7/15)
- H04L 65/61: for supporting one-way streaming services, e.g. Internet radio
- H04L 65/70: Media network packetisation
- H04L 65/762: {at the source (reformatting of additional data in video distribution servers H04N21/2355)}
- H04L 65/765: {intermediate}
- H04N 19/176: the region being a block, e.g. a macroblock
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

According to an embodiment, a method of selecting a Rice parameter for encoding a video bitstream using at least one processor includes obtaining an absolute level corresponding to a current transform block; determining whether transform skip is enabled; generating a lookup variable based on the absolute level and the determination of whether the transform skip is enabled; obtaining the Rice parameter from a lookup table based on the lookup variable; and encoding a residual subblock based on the Rice parameter.

## Claims

### Claim 1

A method of selecting a Rice parameter for encoding a video bitstream using at least one processor, the method comprising:
obtaining an absolute level corresponding to a current transform block;
determining whether transform skip is enabled;
generating a lookup variable based on the absolute level and the determination of whether the transform skip is enabled;
obtaining the Rice parameter from a lookup table based on the lookup variable; and
encoding a residual subblock based on the Rice parameter.

### Claim 2 (depends on 1)

The method of claim 1, wherein the lookup variable is obtained from the lookup table when the transform skip is enabled and when the transform skip is disabled.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
based on the transform skip being disabled, generating an adjusted variable by adjusting the absolute level based on a base level corresponding to the current transform block; and
generating the lookup variable by clipping the adjusted variable.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
based on the transform skip being enabled, generating an adjusted variable by adjusting the absolute level; and
generating the lookup variable by clipping the adjusted variable.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
based on the transform skip being enabled, generating an offset variable by applying an offset to the absolute level; and
generating the lookup variable by clipping the offset variable.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
based on the transform skip being enabled, generating an adjusted variable by clipping the absolute level; and
generating the lookup variable by applying an offset to the adjusted variable.

### Claim 7 (depends on 1)

The method of claim 1, wherein the determination of whether the transform skip is enabled is performed based on a transform skip flag.

### Claim 8 (depends on 1)

The method of claim 1, wherein the lookup variable is determined based on at least one from among a base level corresponding to the current transform block, a color component index, a luma location specifying a top-left sample of the current transform block relative to a top-left sample of a current picture, a current coefficient scan location, a binary logarithm of a width of the current transform block, and a binary logarithm of a height of the current transform block.

### Claim 9 (depends on 1)

The method of claim 1, wherein the Rice parameter has a value between 0 and 2.

### Claim 10 (depends on 1)

The method of claim 1, wherein the Rice parameter has a value between 0 and 3.

### Claim 11

A device for selecting a Rice parameter for encoding a video bitstream, the device comprising:
at least one memory configured to store program code; and
at least one processor configured to read the program code and operate as instructed by the program code, the program code including:
first obtaining code configured to cause the at least one processor to obtain an absolute level corresponding to a current transform block;
determining code configured to cause the at least one processor to determine whether transform skip is enabled;
generating code configured to cause the at least one processor to generate a lookup variable based on the absolute level and the determination of whether the transform skip is enabled;
second obtaining code configured to cause the at least one processor to obtain the Rice parameter from a lookup table based on the lookup variable; and
encoding code configured to cause the at least one processor to encode a residual subblock based on the Rice parameter.

### Claim 12 (depends on 11)

The device of claim 11, wherein the lookup variable is obtained from the lookup table when the transform skip is enabled and when the transform skip is disabled.

### Claim 13 (depends on 11)

The device of claim 11, wherein the generating code comprises first generating code, and
wherein the program code further comprises:
second generating code configured to cause the at least one processor to, based on the transform skip being disabled, generate an adjusted variable by adjusting the absolute level based on a base level corresponding to the current transform block; and
third generating code configured to cause the at least one processor to generate the lookup variable by clipping the adjusted variable.

### Claim 14 (depends on 11)

The device of claim 11, wherein the generating code comprises first generating code, and
wherein the program code further comprises:
second generating code configured to cause the at least one processor to, based on the transform skip being enabled, generate an adjusted variable by adjusting the absolute level; and
third generating code configured to cause the at least one processor to generate the lookup variable by clipping the adjusted variable.

### Claim 15 (depends on 11)

The device of claim 11, wherein the generating code comprises first generating code, and
wherein the program code further comprises:
second generating code configured to cause the at least one processor to, based on the transform skip being enabled, generate an offset variable by applying an offset to the absolute level; and
third generating code configured to cause the at least one processor to generate the lookup variable by clipping the offset variable.

### Claim 16 (depends on 11)

The device of claim 11, further wherein the generating code comprises first generating code, and
wherein the program code further comprises:
second generating code configured to cause the at least one processor to, based on the transform skip being enabled, generate a clipped variable by clipping the absolute level; and
third generating code configured to cause the at least one processor to generate the lookup variable by applying an offset to the clipped variable.

### Claim 17 (depends on 11)

The device of claim 11, wherein the determination of whether the transform skip is enabled is performed based on a transform skip flag.

### Claim 18 (depends on 11)

The device of claim 11, wherein the lookup variable is determined based on at least one from among a base level corresponding to the current transform block, a color component index, a luma location specifying a top-left sample of the current transform block relative to a top-left sample of a current picture, a current coefficient scan location, a binary logarithm of a width of the current transform block, and a binary logarithm of a height of the current transform block.

### Claim 19 (depends on 11)

The device of claim 11, wherein the Rice parameter has a value between 0 and 3.

### Claim 20

A non-transitory computer-readable medium storing instructions, the instructions comprising: one or more instructions that, when executed by one or more processors of a device for selecting a Rice parameter for encoding a video bitstream, cause the one or more processors to:
obtain an absolute level corresponding to a current transform block;
determine whether transform skip is enabled;
generate a lookup variable based on the absolute level and the determination of whether the transform skip is enabled;
obtain the Rice parameter from a lookup table based on the lookup variable; and
encode a residual subblock based on the Rice parameter.
