History

transpose_sse2.h,cosmetics: fix some comments

James Zern committed 6 years ago

Commit ce843361 parent 4b0422a1 file · +2 −2Browse files

Unified · Split

vpx_dsp/x86/transpose_sse2.h+2−2
@@ -16,7 +16,7 @@ · 15 unmodified lines
16#include "./vpx_config.h"16#include "./vpx_config.h"
17 17
18static INLINE __m128i transpose_8bit_4x4(const __m128i *const in) {18static 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 0320 // in[0]: 00 01 02 03
21 // in[1]: 10 11 12 1321 // in[1]: 10 11 12 13
22 // in[2]: 20 21 22 2322 // 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 3331 // 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}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t