It was wrong in colorspaces where horizontal and vertical chroma subsampling are not the same, e.g. 422.