I think this is the correct sparse matrix for HEVC. https://docs.google.com/spreadsheets/d/1Bmgv6-cfbWfgwn7l-z0McUUI1rMjaWEwrN_Q30jaWk4/edit?usp=sharing