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

Claim 0:
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 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, generating an adjusted variable by adjusting the absolute level based on a base level corresponding to the current transform block;
generating 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, adjusting the lookup variable to be between the first clipping value and the second clipping value; and
encoding a residual subblock based on the Rice parameter.