mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-06 08:46:47 +08:00
Remove the ' separators in hex integer constants
They are a C++14 feature, not supported in C++11 mode (-std=c++11). Change-Id: I618020342d4964b994aefa06af83b2e8d553a032 Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/5786607 Reviewed-by: Frank Barchard <fbarchard@chromium.org>
This commit is contained in:
parent
2707098fb1
commit
6157cc4583
@ -1052,8 +1052,8 @@ void YUY2ToARGBRow_SVE2(const uint8_t* src_yuy2,
|
||||
uint8_t* dst_argb,
|
||||
const struct YuvConstants* yuvconstants,
|
||||
int width) {
|
||||
uint32_t nv_uv_start = 0x0301'0301U;
|
||||
uint32_t nv_uv_step = 0x0404'0404U;
|
||||
uint32_t nv_uv_start = 0x03010301U;
|
||||
uint32_t nv_uv_step = 0x04040404U;
|
||||
uint64_t vl;
|
||||
asm("cnth %0" : "=r"(vl));
|
||||
int width_last_y = width & (vl - 1);
|
||||
@ -1105,8 +1105,8 @@ void UYVYToARGBRow_SVE2(const uint8_t* src_uyvy,
|
||||
uint8_t* dst_argb,
|
||||
const struct YuvConstants* yuvconstants,
|
||||
int width) {
|
||||
uint32_t nv_uv_start = 0x0200'0200U;
|
||||
uint32_t nv_uv_step = 0x0404'0404U;
|
||||
uint32_t nv_uv_start = 0x02000200U;
|
||||
uint32_t nv_uv_step = 0x04040404U;
|
||||
uint64_t vl;
|
||||
asm("cnth %0" : "=r"(vl));
|
||||
int width_last_y = width & (vl - 1);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user