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

Claim 15:
16. The method of claim 15, wherein the identifying the one of the candidate context models for coding the respective bin comprises:
clipping the template magnitude of the respective transform coefficient based on a template magnitude clipping threshold to obtain a clipped template magnitude, denoted by tmplMgCli;
determining an original context model index, denoted by OrgCtxIdx, based on the clipped template magnitude and the diagonal position of the respective transform coefficient;
determining a context model index identifying the one of candidate context models based on the original context model index according to:

ctxIdx=OrgCtxIdx−((OrgCtxIdx+m)>>n),

where ctxIdx represents the context model index, m represents an offset, n represents a shift value, and m and n are non-negative integers.