summaryrefslogtreecommitdiff
path: root/vp9
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2023-04-11 18:40:00 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2023-04-11 18:40:00 +0000
commitcd2ec5c3dfe53e8ea389dbc32bd99a3201f7e7ec (patch)
tree7e8fbbf37875fe6c07d176a577765c7bf14edc75 /vp9
parent5f615708e4cc0d01ac32cedd86459e97795063a8 (diff)
parent61709a177aa8ef60dbc52e4409beb0d486095d55 (diff)
downloadlibvpx-cd2ec5c3dfe53e8ea389dbc32bd99a3201f7e7ec.tar.gz
Merge "vp9_quantize_avx2,highbd_get_max_lane_eob: fix mask" into main
Diffstat (limited to 'vp9')
-rw-r--r--vp9/encoder/x86/vp9_quantize_avx2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/vp9/encoder/x86/vp9_quantize_avx2.c b/vp9/encoder/x86/vp9_quantize_avx2.c
index da285be8e..e6aa71d58 100644
--- a/vp9/encoder/x86/vp9_quantize_avx2.c
+++ b/vp9/encoder/x86/vp9_quantize_avx2.c
@@ -295,7 +295,8 @@ static VPX_FORCE_INLINE void highbd_load_fp_values(
static VPX_FORCE_INLINE __m256i highbd_get_max_lane_eob(
const int16_t *iscan_ptr, __m256i eobmax, __m256i nz_mask) {
- const __m256i packed_nz_mask = _mm256_packs_epi32(nz_mask, nz_mask);
+ const __m256i packed_nz_mask =
+ _mm256_packs_epi32(nz_mask, _mm256_setzero_si256());
const __m256i packed_nz_mask_perm =
_mm256_permute4x64_epi64(packed_nz_mask, 0xD8);
const __m256i iscan =