diff options
Diffstat (limited to 'source/rotate.cc')
-rw-r--r-- | source/rotate.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/rotate.cc b/source/rotate.cc index 97210e65..ddfaf5bb 100644 --- a/source/rotate.cc +++ b/source/rotate.cc @@ -366,6 +366,11 @@ void SplitRotateUV180(const uint8_t* src, MirrorSplitUVRow = MirrorSplitUVRow_MSA; } #endif +#if defined(HAS_MIRRORSPLITUVROW_LSX) + if (TestCpuFlag(kCpuHasLSX) && IS_ALIGNED(width, 32)) { + MirrorSplitUVRow = MirrorSplitUVRow_LSX; + } +#endif dst_a += dst_stride_a * (height - 1); dst_b += dst_stride_b * (height - 1); |