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

Claim 0:
1. A method of video encoding, comprising:
performing context modeling to determine a context model for each bin of syntax elements to be included in a coded bit stream, the syntax elements being of various types that correspond to transform coefficients of a transform block, wherein the performing the context modeling includes, for each transform coefficient in a given frequency region of the transform block, based on a location of the frequency region, for one type of the syntax elements:
determining a template magnitude of a respective transform coefficient, the template magnitude being a single value representing magnitudes of a local template of the respective transform coefficient;
identifying one of candidate context models for coding the respective bin according to a mapping between the candidate context models and different possible values of the template magnitude, at least two possible values of the template magnitude being mapped to a same one of the candidate context models; and

encoding the respective bin of a syntax element based on the context model determined for the respective bin.