mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-07 01:06:46 +08:00
planarfunction build/lint fixes
BUG=none TEST=none Review URL: https://webrtc-codereview.appspot.com/460008 git-svn-id: http://libyuv.googlecode.com/svn/trunk@223 16f28f9a-4ce2-e073-06de-1de4eb20be90
This commit is contained in:
parent
e14b2abba4
commit
4f59bcc102
@ -1,6 +1,6 @@
|
|||||||
Name: libyuv
|
Name: libyuv
|
||||||
URL: http://code.google.com/p/libyuv/
|
URL: http://code.google.com/p/libyuv/
|
||||||
Version: 222
|
Version: 223
|
||||||
License: BSD
|
License: BSD
|
||||||
License File: LICENSE
|
License File: LICENSE
|
||||||
|
|
||||||
|
|||||||
@ -11,7 +11,7 @@
|
|||||||
#ifndef INCLUDE_LIBYUV_VERSION_H_
|
#ifndef INCLUDE_LIBYUV_VERSION_H_
|
||||||
#define INCLUDE_LIBYUV_VERSION_H_
|
#define INCLUDE_LIBYUV_VERSION_H_
|
||||||
|
|
||||||
#define INCLUDE_LIBYUV_VERSION 222
|
#define INCLUDE_LIBYUV_VERSION 223
|
||||||
|
|
||||||
#endif // INCLUDE_LIBYUV_VERSION_H_
|
#endif // INCLUDE_LIBYUV_VERSION_H_
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2011 The LibYuv project authors. All Rights Reserved.
|
* Copyright (c) 2011 The LibYuv project authors. All Rights Reserved.
|
||||||
*
|
*
|
||||||
@ -71,6 +70,7 @@ void MirrorPlane(const uint8* src_y, int src_stride_y,
|
|||||||
MirrorRow = MirrorRow_SSSE3;
|
MirrorRow = MirrorRow_SSSE3;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Mirror plane
|
// Mirror plane
|
||||||
@ -841,7 +841,7 @@ int ARGBRect(uint8* dst_argb, int dst_stride_argb,
|
|||||||
}
|
}
|
||||||
uint8* dst = dst_argb + dst_y * dst_stride_argb + dst_x * 4;
|
uint8* dst = dst_argb + dst_y * dst_stride_argb + dst_x * 4;
|
||||||
#if defined(HAS_SETROW_X86)
|
#if defined(HAS_SETROW_X86)
|
||||||
SetRows(dst, value, width, dst_stride_argb, height);
|
SetRows32_X86(dst, value, width, dst_stride_argb, height);
|
||||||
#elif defined(HAS_SETROW_NEON)
|
#elif defined(HAS_SETROW_NEON)
|
||||||
if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(width, 16) &&
|
if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(width, 16) &&
|
||||||
IS_ALIGNED(dst, 16) && IS_ALIGNED(dst_stride_argb, 16)) {
|
IS_ALIGNED(dst, 16) && IS_ALIGNED(dst_stride_argb, 16)) {
|
||||||
@ -849,8 +849,8 @@ int ARGBRect(uint8* dst_argb, int dst_stride_argb,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
SetRows32_C(dst, value, width, dst_stride_argb, height);
|
SetRows32_C(dst, value, width, dst_stride_argb, height);
|
||||||
return 0;
|
|
||||||
#endif
|
#endif
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user