Skip to content

Commit

Permalink
Android: minor warning
Browse files Browse the repository at this point in the history
  • Loading branch information
1bsyl committed Aug 30, 2019
1 parent 70dc8d1 commit d52080c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/video/SDL_yuv.c
Expand Up @@ -1221,6 +1221,7 @@ SDL_ConvertPixels_Planar2x2_to_Planar2x2(int width, int height,
return SDL_SetError("SDL_ConvertPixels_Planar2x2_to_Planar2x2: Unsupported YUV conversion: %s -> %s", SDL_GetPixelFormatName(src_format), SDL_GetPixelFormatName(dst_format));
}

#ifdef __SSE2__
#define PACKED4_TO_PACKED4_ROW_SSE2(shuffle) \
while (x >= 4) { \
__m128i yuv = _mm_loadu_si128((__m128i*)srcYUV); \
Expand All @@ -1237,6 +1238,8 @@ SDL_ConvertPixels_Planar2x2_to_Planar2x2(int width, int height,
x -= 4; \
} \

#endif

static int
SDL_ConvertPixels_YUY2_to_UYVY(int width, int height, const void *src, int src_pitch, void *dst, int dst_pitch)
{
Expand Down

0 comments on commit d52080c

Please sign in to comment.