(svn r26255) -Codechange: improve performance of brightness adjustment (MJP)

This commit is contained in:
rubidium
2014-01-13 18:05:47 +00:00
parent 2f7c4f6d12
commit 70901e04c5
4 changed files with 21 additions and 22 deletions

View File

@@ -35,6 +35,11 @@ IGNORE_UNINITIALIZED_WARNING_START
(*(um128i*) &m_into).m128i = _mm_insert_epi32((*(um128i*) &m_into).m128i, v.u32.low, (m_rank)*2); \
(*(um128i*) &m_into).m128i = _mm_insert_epi32((*(um128i*) &m_into).m128i, v.u32.high, (m_rank)*2 + 1); \
}
#undef LOAD64
#define LOAD64(m_val, m_into) \
m_into = _mm_cvtsi32_si128(m_val); \
INSR32((m_val) >> 32, m_into, 1);
#endif
IGNORE_UNINITIALIZED_WARNING_STOP