mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2026-05-01 03:19:18 +08:00
Change has been successfully rebased and submitted as f2ac6db694d1e5b0af1d7b05dc431e0e455fe228
6 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: source/row_win.cc
Insertions: 4, Deletions: 4.
@@ -315,15 +315,15 @@
#endif
#ifdef HAS_ARGBTOUVMATRIXROW_AVX2
-LIBYUV_TARGET_AVX2
+LIBYUV_TARGET_AVX2 __attribute__((no_sanitize("cfi-icall")))
void ARGBToUVMatrixRow_AVX2(const uint8_t* src_argb,
int src_stride_argb,
uint8_t* dst_u,
uint8_t* dst_v,
int width,
const struct ArgbConstants* c) {
- __m256i ymm_u = _mm256_broadcastsi128_si256(_mm_loadu_si128((const __m128i*)(c->kRGBToY + 32))); // kRGBToU is offset 32
- __m256i ymm_v = _mm256_broadcastsi128_si256(_mm_loadu_si128((const __m128i*)(c->kRGBToY + 64))); // kRGBToV is offset 64
+ __m256i ymm_u = _mm256_broadcastsi128_si256(_mm_loadu_si128((const __m128i*)c->kRGBToU));
+ __m256i ymm_v = _mm256_broadcastsi128_si256(_mm_loadu_si128((const __m128i*)c->kRGBToV));
__m256i ymm_0101 = _mm256_set1_epi16(0x0101);
__m256i ymm_shuf = _mm256_setr_epi8(0, 4, 1, 5, 2, 6, 3, 7, 8, 12, 9, 13, 10, 14, 11, 15,
0, 4, 1, 5, 2, 6, 3, 7, 8, 12, 9, 13, 10, 14, 11, 15);
@@ -362,7 +362,7 @@
ymm0 = _mm256_hadd_epi16(ymm0, ymm1);
ymm0 = _mm256_permute4x64_epi64(ymm0, 0xd8);
- ymm0 = _mm256_sub_epi16(ymm0, ymm_8000);
+ ymm0 = _mm256_sub_epi16(ymm_8000, ymm0);
ymm0 = _mm256_srli_epi16(ymm0, 8);
ymm0 = _mm256_packus_epi16(ymm0, ymm0);
```
Patch-set: 8
Patch-set-description: Rebase
Subject: RAWToNV21 using SME, SVE, I8MM or Neon
Status: merged
Commit: f2ac6db694d1e5b0af1d7b05dc431e0e455fe228
Tag: autogenerated:gerrit:merged
Groups: 9bf683329936a9013e328084bcfde4f3292093a6
Label: Code-Review=+1, a716f44eaa00d97e44a79490569b9d40867e9015 Gerrit User 1001250 <1001250@3ce6091f-6c88-37e8-8c75-72f92ae8dfba>
Label: Code-Review=+1, 35c32ec816b0148f39c82fa69d424dc135d53448 Gerrit User 1002030 <1002030@3ce6091f-6c88-37e8-8c75-72f92ae8dfba>
Label: Commit-Queue=+2, 320847c067e6c6da1c192f38c431fdcd325a1a20 Gerrit User 1115898 <1115898@3ce6091f-6c88-37e8-8c75-72f92ae8dfba>
Label: SUBM=+1, ff533767075d2d82b86db9e164c71d3aad62727c
Submission-id: 7802432
Submitted-with: OK
Submitted-with: Rule-Name: gerrit~DefaultSubmitRule
Submitted-with: MAY: SLSA-Policy-Verified
Submitted-with: MAY: Auto-Submit
Submitted-with: MAY: Code-Coverage
Submitted-with: MAY: Code-Review: Gerrit User 1001250 <1001250@3ce6091f-6c88-37e8-8c75-72f92ae8dfba>
Submitted-with: MAY: Commit-Queue: Gerrit User 1115898 <1115898@3ce6091f-6c88-37e8-8c75-72f92ae8dfba>
Submitted-with: MAY: Feels
Submitted-with: MAY: Owners-Override
Submitted-with: MAY: Lint
Submitted-with: MAY: Bot-Commit
Submitted-with: OK
Submitted-with: Rule-Name: Code-Owners
Base: b438739c8b08eba2c562a62ea5961f6215d525ed
Ours: 9bf683329936a9013e328084bcfde4f3292093a6
Theirs: b438739c8b08eba2c562a62ea5961f6215d525ed
Merge-Strategy: simple-two-way-in-core
Contains-Conflicts: false
|
||
|---|---|---|
| 9bf683329936a9013e328084bcfde4f3292093a6 | ||