Patent attributes
Aspects of the disclosure provide methods and apparatuses for video encoding/decoding. In some examples, an apparatus for video decoding includes receiving circuitry and processing circuitry. For example, the processing circuitry receives a bitstream including bits corresponding to residues of a block in a coded picture and parses the bitstream to extract at least one bit that is indicative of a potential usage of an angular prediction of the block. Further, the processing circuitry determines context for coding information of a secondary transform based on the at least one bit that is indicative of the potential usage of the angular prediction of the block, and decode the bits corresponding to the residues of the block using the secondary transform information that is decoded based on the context.