Commit ecb7a33b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

video_chroma: mute unused variable warning

parent 1464d905
...@@ -103,7 +103,7 @@ static void CopyFromUswc(uint8_t *dst, size_t dst_pitch, ...@@ -103,7 +103,7 @@ static void CopyFromUswc(uint8_t *dst, size_t dst_pitch,
unsigned width, unsigned height, unsigned width, unsigned height,
unsigned cpu) unsigned cpu)
{ {
#ifndef CAN_COMPILE_SSSE3 #if defined (__SSE4_1__) || !defined(CAN_COMPILE_SSSE3)
VLC_UNUSED(cpu); VLC_UNUSED(cpu);
#endif #endif
assert(((intptr_t)dst & 0x0f) == 0 && (dst_pitch & 0x0f) == 0); assert(((intptr_t)dst & 0x0f) == 0 && (dst_pitch & 0x0f) == 0);
...@@ -179,7 +179,7 @@ static void SSE_SplitUV(uint8_t *dstu, size_t dstu_pitch, ...@@ -179,7 +179,7 @@ static void SSE_SplitUV(uint8_t *dstu, size_t dstu_pitch,
const uint8_t *src, size_t src_pitch, const uint8_t *src, size_t src_pitch,
unsigned width, unsigned height, unsigned cpu) unsigned width, unsigned height, unsigned cpu)
{ {
#ifndef CAN_COMPILE_SSSE3 #if defined(__SSSE3__) || !defined (CAN_COMPILE_SSSE3)
VLC_UNUSED(cpu); VLC_UNUSED(cpu);
#endif #endif
const uint8_t shuffle[] = { 0, 2, 4, 6, 8, 10, 12, 14, const uint8_t shuffle[] = { 0, 2, 4, 6, 8, 10, 12, 14,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment