Patent ID: 11949726
Assignee: TENCENT AMERICA LLC
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H  G | IPC G  H

Claim 15:
16. 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 single lookup table based on the lookup variable when the transform skip is enabled and when the transform skip is disabled;
based on determining that the transform skip is disabled, generate an adjusted variable by adjusting the absolute level based on a base level corresponding to the current transform block;
generate the lookup variable by clipping the adjusted variable such that, based on the lookup variable being outside a first clipping value and a second clipping value, adjust the lookup variable to be between the first clipping value and the second clipping value; and
encode a residual subblock based on the Rice parameter.