mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-07 17:26:49 +08:00
InterpolateRow_Any test if fraction is 0 and dont memcpy 2nd row.
Bug: b/228605787 Change-Id: Ia8912e4c1599401320ee82882a2593e78bf56582 Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/3708833 Reviewed-by: Wan-Teh Chang <wtc@google.com> Commit-Queue: Frank Barchard <fbarchard@chromium.org>
This commit is contained in:
parent
30f9b28048
commit
e906ba9fe9
@ -1,6 +1,6 @@
|
||||
Name: libyuv
|
||||
URL: http://code.google.com/p/libyuv/
|
||||
Version: 1828
|
||||
Version: 1829
|
||||
License: BSD
|
||||
License File: LICENSE
|
||||
|
||||
|
||||
@ -11,6 +11,6 @@
|
||||
#ifndef INCLUDE_LIBYUV_VERSION_H_
|
||||
#define INCLUDE_LIBYUV_VERSION_H_
|
||||
|
||||
#define LIBYUV_VERSION 1828
|
||||
#define LIBYUV_VERSION 1829
|
||||
|
||||
#endif // INCLUDE_LIBYUV_VERSION_H_
|
||||
|
||||
@ -1636,7 +1636,10 @@ ANY11C(UYVYToARGBRow_Any_LSX, UYVYToARGBRow_LSX, 1, 4, 4, 7)
|
||||
ANY_SIMD(dst_ptr, src_ptr, src_stride, n, source_y_fraction); \
|
||||
} \
|
||||
memcpy(temp, src_ptr + n * SBPP, r * SBPP * sizeof(T)); \
|
||||
memcpy(temp + 64, src_ptr + src_stride + n * SBPP, r * SBPP * sizeof(T)); \
|
||||
if (source_y_fraction) { \
|
||||
memcpy(temp + 64, src_ptr + src_stride + n * SBPP, \
|
||||
r * SBPP * sizeof(T)); \
|
||||
} \
|
||||
ANY_SIMD(temp + 128, temp, 64, MASK + 1, source_y_fraction); \
|
||||
memcpy(dst_ptr + n * BPP, temp + 128, r * BPP * sizeof(T)); \
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user