mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-07 01:06:46 +08:00
Detile vld for gcc build fix
- add {} around loaded register
Bug: libyuv:944
Change-Id: I0d916e37beb50bda0838e4867742eb7afa57e1cc
Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/3957634
Reviewed-by: Justin Green <greenjustin@google.com>
Commit-Queue: Frank Barchard <fbarchard@chromium.org>
This commit is contained in:
parent
425c05cc40
commit
3da24c3ca3
@ -1,6 +1,6 @@
|
|||||||
Name: libyuv
|
Name: libyuv
|
||||||
URL: http://code.google.com/p/libyuv/
|
URL: http://code.google.com/p/libyuv/
|
||||||
Version: 1846
|
Version: 1847
|
||||||
License: BSD
|
License: BSD
|
||||||
License File: LICENSE
|
License File: LICENSE
|
||||||
|
|
||||||
|
|||||||
@ -11,6 +11,6 @@
|
|||||||
#ifndef INCLUDE_LIBYUV_VERSION_H_
|
#ifndef INCLUDE_LIBYUV_VERSION_H_
|
||||||
#define INCLUDE_LIBYUV_VERSION_H_
|
#define INCLUDE_LIBYUV_VERSION_H_
|
||||||
|
|
||||||
#define LIBYUV_VERSION 1846
|
#define LIBYUV_VERSION 1847
|
||||||
|
|
||||||
#endif // INCLUDE_LIBYUV_VERSION_H_
|
#endif // INCLUDE_LIBYUV_VERSION_H_
|
||||||
|
|||||||
@ -609,10 +609,10 @@ void DetileRow_NEON(const uint8_t* src,
|
|||||||
int width) {
|
int width) {
|
||||||
asm volatile(
|
asm volatile(
|
||||||
"1: \n"
|
"1: \n"
|
||||||
"vld1.16 {q0}, [%0], %3 \n" // load 16 bytes
|
"vld1.8 {q0}, [%0], %3 \n" // load 16 bytes
|
||||||
"subs %2, %2, #16 \n" // 16 processed per loop
|
"subs %2, %2, #16 \n" // 16 processed per loop
|
||||||
"pld [%0, #1792] \n"
|
"pld [%0, #1792] \n"
|
||||||
"vst1.16 {q0}, [%1]! \n" // store 16 bytes
|
"vst1.8 {q0}, [%1]! \n" // store 16 bytes
|
||||||
"bgt 1b \n"
|
"bgt 1b \n"
|
||||||
: "+r"(src), // %0
|
: "+r"(src), // %0
|
||||||
"+r"(dst), // %1
|
"+r"(dst), // %1
|
||||||
@ -655,9 +655,9 @@ void DetileToYUY2_NEON(const uint8_t* src_y,
|
|||||||
int width) {
|
int width) {
|
||||||
asm volatile(
|
asm volatile(
|
||||||
"1: \n"
|
"1: \n"
|
||||||
"vld1.8 q0, [%0], %4 \n" // Load 16 Y
|
"vld1.8 {q0}, [%0], %4 \n" // Load 16 Y
|
||||||
"pld [%0, #1792] \n"
|
"pld [%0, #1792] \n"
|
||||||
"vld1.8 q1, [%1], %5 \n" // Load 8 UV
|
"vld1.8 {q1}, [%1], %5 \n" // Load 8 UV
|
||||||
"pld [%1, #1792] \n"
|
"pld [%1, #1792] \n"
|
||||||
"subs %3, %3, #16 \n"
|
"subs %3, %3, #16 \n"
|
||||||
"vst2.8 {q0, q1}, [%2]! \n"
|
"vst2.8 {q0, q1}, [%2]! \n"
|
||||||
@ -681,8 +681,8 @@ void DetileToYUY2_NEON(const uint8_t* src_y,
|
|||||||
int width) {
|
int width) {
|
||||||
asm volatile(
|
asm volatile(
|
||||||
"1: \n"
|
"1: \n"
|
||||||
"vld1.8 q0, [%0], %4 \n" // Load 16 Y
|
"vld1.8 {q0}, [%0], %4 \n" // Load 16 Y
|
||||||
"vld1.8 q1, [%1], %5 \n" // Load 8 UV
|
"vld1.8 {q1}, [%1], %5 \n" // Load 8 UV
|
||||||
"subs %3, %3, #16 \n"
|
"subs %3, %3, #16 \n"
|
||||||
"pld [%0, #1792] \n"
|
"pld [%0, #1792] \n"
|
||||||
"vzip.8 q0, q1 \n"
|
"vzip.8 q0, q1 \n"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user