I think it was bad officiating to both sides, but I specially blame the refs for not calling it equally throughout the game.
You could easily make a video with a lot of non calls on Dirk, but they started officiating totally different in the 4th. You know players will adapt to the way the games are being called from the start, if they allow some things for most of the game and then start calling it at some point that's bad officiating.
Still bad calls both ways. Though that last foul called on G Wallace on the video was pretty bad, and it put the Blazzers on the penalty if I'm not mistaken.