mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2026-01-01 03:12:16 +08:00
bug fix - remove shift from InterpolateRow_AVX2
TBR=harryjin@google.com BUG=libyuv:537 Review URL: https://codereview.chromium.org/1547703002 .
This commit is contained in:
parent
2cb2e9e1ad
commit
71deb7ba3a
@ -1,6 +1,6 @@
|
||||
Name: libyuv
|
||||
URL: http://code.google.com/p/libyuv/
|
||||
Version: 1559
|
||||
Version: 1560
|
||||
License: BSD
|
||||
License File: LICENSE
|
||||
|
||||
|
||||
@ -11,6 +11,6 @@
|
||||
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
|
||||
#define INCLUDE_LIBYUV_VERSION_H_
|
||||
|
||||
#define LIBYUV_VERSION 1559
|
||||
#define LIBYUV_VERSION 1560
|
||||
|
||||
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
|
||||
|
||||
@ -4871,11 +4871,10 @@ void InterpolateRow_AVX2(uint8* dst_ptr, const uint8* src_ptr,
|
||||
ptrdiff_t src_stride, int dst_width,
|
||||
int source_y_fraction) {
|
||||
asm volatile (
|
||||
"shr %3 \n"
|
||||
"cmp $0x0,%3 \n"
|
||||
"je 100f \n"
|
||||
"sub %1,%0 \n"
|
||||
"cmp $0x40,%3 \n"
|
||||
"cmp $0x80,%3 \n"
|
||||
"je 50f \n"
|
||||
|
||||
"vmovd %3,%%xmm0 \n"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user