Samples of a larger side are used to get DC value for non-square blocks. Square blocks processing is HEVC-compliant.