Patent ID: 11956469
Assignee: HFI INNOVATION INC.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 13:
14. An apparatus for performing video encoding, comprising: a computer processor configured for receiving video data; and programming executable on the computer processor for video coding by performing steps comprising:
receiving input data associated with a current block in a current video picture, wherein the input data comprises residuals of the current block;
determining and applying a transform operation to the residuals associated with one or more Transform Block (TBs) of the current block to generate final transform coefficients;
determining a position of a last significant coefficient of the final transform coefficients for each TB in the current block;
determining a value of secondary transform index according to the transform operation applied to the current block;
checking if any position of the last significant coefficient is located in a predefined region and signaling or skip signaling the secondary transform index is a video bitstream according to the one or more positions of the last significant coefficients;
wherein the current block is a current Coding Unit (CU) and the secondary transform index is parsed at the a CU level after parsing all TBs in the current block; and wherein the current block contains one or more luminance (luma) TBs and the current block further comprises one or more chrominance (chroma) TBs, wherein the secondary transform index is adaptively parsed for the one or more luma or chroma TBs according to the one or more positions of the last significant coefficients in the one or more luma or chroma TBs, and the inverse transform operation is performed operation is performed on the one or more luma or chroma TBs based on the parsed secondary transform index;
and encoding the current block in the video picture according to the final transform coefficients.