harmonizing IPM derivation for transform selection/ clean-ups (lossless)
requested to merge ghaznavi/harmonizing-dimd-based-transform-selection-functions:harmonizing-dimd-based-transform-selection-functions into master
Currently, there are three separate functions for deriving intra prediction mode for transform selection: one for MIP/EIP, one for IntraTMP, and one for inter modes. This merge request harmonizes the process by using a single function.