From 5be90d23eedc13e5b83bb52a9e5918712c10be52 Mon Sep 17 00:00:00 2001 From: Frank Barchard Date: Wed, 22 Jul 2015 17:10:08 -0700 Subject: [PATCH] rotate row included R=tpsiaki@google.com BUG=libyuv:468 Review URL: https://webrtc-codereview.appspot.com/55679004. --- README.chromium | 2 +- include/libyuv/version.h | 2 +- source/rotate_gcc.cc | 9 ++++----- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/README.chromium b/README.chromium index 0f027a3ff..10dbb8467 100644 --- a/README.chromium +++ b/README.chromium @@ -1,6 +1,6 @@ Name: libyuv URL: http://code.google.com/p/libyuv/ -Version: 1450 +Version: 1451 License: BSD License File: LICENSE diff --git a/include/libyuv/version.h b/include/libyuv/version.h index 9b0203ad3..16062c37e 100644 --- a/include/libyuv/version.h +++ b/include/libyuv/version.h @@ -11,6 +11,6 @@ #ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT #define INCLUDE_LIBYUV_VERSION_H_ -#define LIBYUV_VERSION 1450 +#define LIBYUV_VERSION 1451 #endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT diff --git a/source/rotate_gcc.cc b/source/rotate_gcc.cc index 609f92306..b1ac12470 100644 --- a/source/rotate_gcc.cc +++ b/source/rotate_gcc.cc @@ -9,6 +9,7 @@ */ #include "libyuv/row.h" +#include "libyuv/rotate_row.h" #ifdef __cplusplus namespace libyuv { @@ -108,8 +109,7 @@ void TransposeWx8_SSSE3(const uint8* src, int src_stride, #if !defined(LIBYUV_DISABLE_X86) && defined(__i386__) && !defined(__clang__) void TransposeUVWx8_SSE2(const uint8* src, int src_stride, uint8* dst_a, int dst_stride_a, - uint8* dst_b, int dst_stride_b, - int w); + uint8* dst_b, int dst_stride_b, int width); asm ( DECLARE_FUNCTION(TransposeUVWx8_SSE2) "push %ebx \n" @@ -376,8 +376,7 @@ void TransposeWx8_FAST_SSSE3(const uint8* src, int src_stride, void TransposeUVWx8_SSE2(const uint8* src, int src_stride, uint8* dst_a, int dst_stride_a, - uint8* dst_b, int dst_stride_b, - int w) { + uint8* dst_b, int dst_stride_b, int width) { asm volatile ( // Read in the data from the source pointer. // First round of bit swap. @@ -474,7 +473,7 @@ void TransposeUVWx8_SSE2(const uint8* src, int src_stride, : "+r"(src), // %0 "+r"(dst_a), // %1 "+r"(dst_b), // %2 - "+r"(w) // %3 + "+r"(width) // %3 : "r"((intptr_t)(src_stride)), // %4 "r"((intptr_t)(dst_stride_a)), // %5 "r"((intptr_t)(dst_stride_b)) // %6