Chromium Code Reviews| Index: source/planar_functions.cc |
| diff --git a/source/planar_functions.cc b/source/planar_functions.cc |
| index a764f8da4721973fabc3b15df67aec786c9dc4e2..50cd5130fb675e2132b116061f4a8698b36954d0 100644 |
| --- a/source/planar_functions.cc |
| +++ b/source/planar_functions.cc |
| @@ -402,7 +402,11 @@ void MirrorPlane(const uint8* src_y, int src_stride_y, |
| MirrorRow = MirrorRow_DSPR2; |
| } |
| #endif |
| - |
| +#if defined(HAS_MIRRORROW_MSA) |
| + if (TestCpuFlag(kCpuHasMSA)) { |
| + MirrorRow = MirrorRow_MSA; |
| + } |
| +#endif |
|
fbarchard1
2016/09/19 17:32:41
Add Any version here too
#if defined(HAS_MIRRORRO
manojkumar.bhosale
2016/09/21 06:30:49
Done.
|
| // Mirror plane |
| for (y = 0; y < height; ++y) { |
| MirrorRow(src_y, dst_y, width); |