aboutsummaryrefslogtreecommitdiff
path: root/source/rotate_common.cc
diff options
context:
space:
mode:
authorFrank Barchard <fbarchard@google.com>2016-11-07 17:37:23 -0800
committerFrank Barchard <fbarchard@google.com>2016-11-07 17:37:23 -0800
commite62309f2591d8b87acae5f4560ab9eeed8f91471 (patch)
treee3315107bf2f96276ecb00e6212ee518de60c489 /source/rotate_common.cc
parentf2c27dafa2950510ba767cd59937ddf5d1974937 (diff)
downloadlibyuv-e62309f2591d8b87acae5f4560ab9eeed8f91471.tar.gz
clang-format libyuv
BUG=libyuv:654 R=kjellander@chromium.org Review URL: https://codereview.chromium.org/2469353005 .
Diffstat (limited to 'source/rotate_common.cc')
-rw-r--r--source/rotate_common.cc38
1 files changed, 26 insertions, 12 deletions
diff --git a/source/rotate_common.cc b/source/rotate_common.cc
index b33a9a0c..cdd231fa 100644
--- a/source/rotate_common.cc
+++ b/source/rotate_common.cc
@@ -16,8 +16,11 @@ namespace libyuv {
extern "C" {
#endif
-void TransposeWx8_C(const uint8* src, int src_stride,
- uint8* dst, int dst_stride, int width) {
+void TransposeWx8_C(const uint8* src,
+ int src_stride,
+ uint8* dst,
+ int dst_stride,
+ int width) {
int i;
for (i = 0; i < width; ++i) {
dst[0] = src[0 * src_stride];
@@ -33,9 +36,13 @@ void TransposeWx8_C(const uint8* src, int src_stride,
}
}
-void TransposeUVWx8_C(const uint8* src, int src_stride,
- uint8* dst_a, int dst_stride_a,
- uint8* dst_b, int dst_stride_b, int width) {
+void TransposeUVWx8_C(const uint8* src,
+ int src_stride,
+ uint8* dst_a,
+ int dst_stride_a,
+ uint8* dst_b,
+ int dst_stride_b,
+ int width) {
int i;
for (i = 0; i < width; ++i) {
dst_a[0] = src[0 * src_stride + 0];
@@ -60,9 +67,12 @@ void TransposeUVWx8_C(const uint8* src, int src_stride,
}
}
-void TransposeWxH_C(const uint8* src, int src_stride,
- uint8* dst, int dst_stride,
- int width, int height) {
+void TransposeWxH_C(const uint8* src,
+ int src_stride,
+ uint8* dst,
+ int dst_stride,
+ int width,
+ int height) {
int i;
for (i = 0; i < width; ++i) {
int j;
@@ -72,10 +82,14 @@ void TransposeWxH_C(const uint8* src, int src_stride,
}
}
-void TransposeUVWxH_C(const uint8* src, int src_stride,
- uint8* dst_a, int dst_stride_a,
- uint8* dst_b, int dst_stride_b,
- int width, int height) {
+void TransposeUVWxH_C(const uint8* src,
+ int src_stride,
+ uint8* dst_a,
+ int dst_stride_a,
+ uint8* dst_b,
+ int dst_stride_b,
+ int width,
+ int height) {
int i;
for (i = 0; i < width * 2; i += 2) {
int j;