checks to avoid unneeded deblocking calculations