fn compute_distortion<T: Pixel>(
fi: &FrameInvariants<T>,
ts: &TileStateMut<'_, T>,
bsize: BlockSize,
is_chroma_block: bool,
tile_bo: TileBlockOffset,
luma_only: bool,
) -> ScaledDistortion
fn compute_distortion<T: Pixel>(
fi: &FrameInvariants<T>,
ts: &TileStateMut<'_, T>,
bsize: BlockSize,
is_chroma_block: bool,
tile_bo: TileBlockOffset,
luma_only: bool,
) -> ScaledDistortion