| Index: source/scale.cc
|
| diff --git a/source/scale.cc b/source/scale.cc
|
| index b61ace98bb12779d7c999df51e3c4d5f2e2f846b..0b66db642002e2c0d53a9811e91ece77a849e6fd 100644
|
| --- a/source/scale.cc
|
| +++ b/source/scale.cc
|
| @@ -842,6 +842,14 @@ static void ScalePlaneBox(int src_width,
|
| }
|
| }
|
| #endif
|
| +#if defined(HAS_SCALEADDROW_DSPR2)
|
| + if (TestCpuFlag(kCpuHasDSPR2)) {
|
| + ScaleAddRow = ScaleAddRow_Any_DSPR2;
|
| + if (IS_ALIGNED(src_width, 16)) {
|
| + ScaleAddRow = ScaleAddRow_DSPR2;
|
| + }
|
| + }
|
| +#endif
|
|
|
| for (j = 0; j < dst_height; ++j) {
|
| int boxheight;
|
|
|