Skip to content

Commit

Permalink
[intra] unaligned
Browse files Browse the repository at this point in the history
  • Loading branch information
Jovasa committed Sep 16, 2024
1 parent ee0bfed commit ae646ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/strategies/avx2/intra-avx2.c
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ static void angular_pred_w4_hor_high_angle_avx2(uvg_pixel* dst, const uvg_pixel*
for (int y = 0; y < height; y += 4) {
// This solution assumes the delta int values to be 64-bit
// Cast from 16-bit to 64-bit.
__m128i vidx = _mm_load_si128((__m128i*)delta_int);
__m128i vidx = _mm_loadu_si128((__m128i*)delta_int);
__m256i vidx256 = _mm256_cvtepu16_epi64(vidx);

__m256i vp = _mm256_i64gather_epi64((const long long int*)&ref_main[y], vidx256, 1);
Expand Down

0 comments on commit ae646ec

Please sign in to comment.