aboutsummaryrefslogtreecommitdiff
path: root/source/rotate.cc
diff options
context:
space:
mode:
authorFrank Barchard <fbarchard@google.com>2019-05-13 17:34:53 -0700
committerCommit Bot <commit-bot@chromium.org>2019-05-14 01:18:06 +0000
commit681c6c67397060df7787d4a42a10c79172c5cf5d (patch)
tree83f9b99ecb32e3bf731a178c19de826fa1e7bd76 /source/rotate.cc
parent05f72b86029b769f6015b58396268370078a5f5e (diff)
downloadlibyuv-681c6c67397060df7787d4a42a10c79172c5cf5d.tar.gz
Add LIBYUV_API to NV12ToABGR and I444Rotate, I444Scale
Gaussian blur low levels ported to 32 bit neon. But they are not hooked up to anything but a unittest. Bug:b/248041731, b/132108021, b/129908793 Change-Id: Iccebb8ffd6b719810aa11dd770a525227da4c357 Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/1611206 Commit-Queue: Frank Barchard <fbarchard@chromium.org> Reviewed-by: Chong Zhang <chz@google.com>
Diffstat (limited to 'source/rotate.cc')
-rw-r--r--source/rotate.cc27
1 files changed, 9 insertions, 18 deletions
diff --git a/source/rotate.cc b/source/rotate.cc
index c334c40e..d414186a 100644
--- a/source/rotate.cc
+++ b/source/rotate.cc
@@ -521,28 +521,19 @@ int I444Rotate(const uint8_t* src_y,
CopyPlane(src_v, src_stride_v, dst_v, dst_stride_v, width, height);
return 0;
case libyuv::kRotate90:
- RotatePlane90(src_y, src_stride_y, dst_y, dst_stride_y,
- width, height);
- RotatePlane90(src_u, src_stride_u, dst_u, dst_stride_u,
- width, height);
- RotatePlane90(src_v, src_stride_v, dst_v, dst_stride_v,
- width, height);
+ RotatePlane90(src_y, src_stride_y, dst_y, dst_stride_y, width, height);
+ RotatePlane90(src_u, src_stride_u, dst_u, dst_stride_u, width, height);
+ RotatePlane90(src_v, src_stride_v, dst_v, dst_stride_v, width, height);
return 0;
case libyuv::kRotate270:
- RotatePlane270(src_y, src_stride_y, dst_y, dst_stride_y,
- width, height);
- RotatePlane270(src_u, src_stride_u, dst_u, dst_stride_u,
- width, height);
- RotatePlane270(src_v, src_stride_v, dst_v, dst_stride_v,
- width, height);
+ RotatePlane270(src_y, src_stride_y, dst_y, dst_stride_y, width, height);
+ RotatePlane270(src_u, src_stride_u, dst_u, dst_stride_u, width, height);
+ RotatePlane270(src_v, src_stride_v, dst_v, dst_stride_v, width, height);
return 0;
case libyuv::kRotate180:
- RotatePlane180(src_y, src_stride_y, dst_y, dst_stride_y,
- width, height);
- RotatePlane180(src_u, src_stride_u, dst_u, dst_stride_u,
- width, height);
- RotatePlane180(src_v, src_stride_v, dst_v, dst_stride_v,
- width, height);
+ RotatePlane180(src_y, src_stride_y, dst_y, dst_stride_y, width, height);
+ RotatePlane180(src_u, src_stride_u, dst_u, dst_stride_u, width, height);
+ RotatePlane180(src_v, src_stride_v, dst_v, dst_stride_v, width, height);
return 0;
default:
break;