diff options
Diffstat (limited to 'source/rotate.cc')
-rw-r--r-- | source/rotate.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/rotate.cc b/source/rotate.cc index b1b4458e..6797ff02 100644 --- a/source/rotate.cc +++ b/source/rotate.cc @@ -178,6 +178,14 @@ void RotatePlane180(const uint8_t* src, } } #endif +#if defined(HAS_MIRRORROW_LSX) + if (TestCpuFlag(kCpuHasLSX)) { + MirrorRow = MirrorRow_Any_LSX; + if (IS_ALIGNED(width, 32)) { + MirrorRow = MirrorRow_LSX; + } + } +#endif #if defined(HAS_MIRRORROW_LASX) if (TestCpuFlag(kCpuHasLASX)) { MirrorRow = MirrorRow_Any_LASX; |