mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-08 01:36:47 +08:00
Fix nv12 64 bit gcc increment.
Should be 16 bytes, but was 0x16 causing memory corruption. TBR=harryjin@google.com BUG=libyuv:492 Review URL: https://codereview.chromium.org/1368693002 .
This commit is contained in:
parent
accc04e6d8
commit
8fb2048e9f
@ -1,6 +1,6 @@
|
||||
Name: libyuv
|
||||
URL: http://code.google.com/p/libyuv/
|
||||
Version: 1490
|
||||
Version: 1492
|
||||
License: BSD
|
||||
License File: LICENSE
|
||||
|
||||
|
||||
@ -11,6 +11,6 @@
|
||||
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
|
||||
#define INCLUDE_LIBYUV_VERSION_H_
|
||||
|
||||
#define LIBYUV_VERSION 1490
|
||||
#define LIBYUV_VERSION 1492
|
||||
|
||||
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
|
||||
|
||||
@ -1841,7 +1841,7 @@ void OMITFP I422ToRGBARow_SSSE3(const uint8* y_buf,
|
||||
// Read 8 UV from NV12, upsample to 16 UV.
|
||||
#define READNV12_AVX2 \
|
||||
"vmovdqu " MEMACCESS([uv_buf]) ",%%xmm0 \n" \
|
||||
"lea " MEMLEA(0x16, [uv_buf]) ",%[uv_buf] \n" \
|
||||
"lea " MEMLEA(0x10, [uv_buf]) ",%[uv_buf] \n" \
|
||||
"vpermq $0xd8,%%ymm0,%%ymm0 \n" \
|
||||
"vpunpcklwd %%ymm0,%%ymm0,%%ymm0 \n" \
|
||||
"vmovdqu " MEMACCESS([y_buf]) ",%%xmm4 \n" \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user