Patent attributes
A method of and an apparatus for controlling intra and/or inter prediction for decoding of a video sequence are provided. The method includes receiving a transform index which indicates a transform selection used for decoding an image block; binarizing a transform index using a preset number of bins; for each of a selected set of bins of the binarized transform index, identifying a group of non-zero transform coefficients in a transform coefficient block; and based on a value of a first bin of the selected set of bins of the binarized transform index and a value of a second bin of the selected set of bins of the binarized transform index, reversing a sign of the identified group of non-zero transform coefficients in the transform coefficient block.