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

Claim 15:
16. 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 and comparing one or more positions of the last significant coefficient with a predefined position;
determining a value of a secondary transform index according to the transform operation applied to the current block;
signaling the secondary transform index in a video bitstream if at least one of the positions of the last significant coefficients is larger than the predefined position, or skip signaling the secondary transform index if the one or more positions of the last significant coefficients are less than or equal to the predefined position; and
encoding the current block in the current video picture according to the final transform coefficients of the current block.