Unified · Split
| @@ -16,7 +16,7 @@ · 15 unmodified lines | |||
| 16 | #include "./vpx_config.h" | 16 | #include "./vpx_config.h" |
| 17 | 17 | ||
| 18 | static INLINE __m128i transpose_8bit_4x4(const __m128i *const in) { | 18 | static INLINE __m128i transpose_8bit_4x4(const __m128i *const in) { |
| 19 | // Unpack 16 bit elements. Goes from: | 19 | // Unpack 8 bit elements. Goes from: |
| 20 | // in[0]: 00 01 02 03 | 20 | // in[0]: 00 01 02 03 |
| 21 | // in[1]: 10 11 12 13 | 21 | // in[1]: 10 11 12 13 |
| 22 | // in[2]: 20 21 22 23 | 22 | // in[2]: 20 21 22 23 |
| @@ -27,7 +27,7 @@ static INLINE __m128i transpose_8bit_4x4(const __m128i *const in) { · 4 unmodified lines | |||
| 27 | const __m128i a0 = _mm_unpacklo_epi8(in[0], in[1]); | 27 | const __m128i a0 = _mm_unpacklo_epi8(in[0], in[1]); |
| 28 | const __m128i a1 = _mm_unpacklo_epi8(in[2], in[3]); | 28 | const __m128i a1 = _mm_unpacklo_epi8(in[2], in[3]); |
| 29 | 29 | ||
| 30 | // Unpack 32 bit elements resulting in: | 30 | // Unpack 16 bit elements resulting in: |
| 31 | // 00 10 20 30 01 11 21 31 02 12 22 32 03 13 23 33 | 31 | // 00 10 20 30 01 11 21 31 02 12 22 32 03 13 23 33 |
| 32 | return _mm_unpacklo_epi16(a0, a1); | 32 | return _mm_unpacklo_epi16(a0, a1); |
| 33 | } | 33 | } |