Commit a15d5661 authored by Eric Petit's avatar Eric Petit

+ video_chroma/i420_yuy2.h : grmbl, x86 compile fix

parent 49ac51d8
...@@ -113,12 +113,6 @@ movq %%mm1, (%1) # Store YUYV \n\ ...@@ -113,12 +113,6 @@ movq %%mm1, (%1) # Store YUYV \n\
#else #else
#define C_YUV420_YUYV( ) \
*(p_line1)++ = *(p_y1)++; *(p_line2)++ = *(p_y2)++; \
*(p_line1)++ = *(p_line2)++ = *(p_u)++; \
*(p_line1)++ = *(p_y1)++; *(p_line2)++ = *(p_y2)++; \
*(p_line1)++ = *(p_line2)++ = *(p_v)++; \
#define C_YUV420_YVYU( ) \ #define C_YUV420_YVYU( ) \
*(p_line1)++ = *(p_y1)++; *(p_line2)++ = *(p_y2)++; \ *(p_line1)++ = *(p_y1)++; *(p_line2)++ = *(p_y2)++; \
*(p_line1)++ = *(p_line2)++ = *(p_v)++; \ *(p_line1)++ = *(p_line2)++ = *(p_v)++; \
...@@ -141,3 +135,10 @@ movq %%mm1, (%1) # Store YUYV \n\ ...@@ -141,3 +135,10 @@ movq %%mm1, (%1) # Store YUYV \n\
#endif #endif
/* Used in both MMX and C modules */
#define C_YUV420_YUYV( ) \
*(p_line1)++ = *(p_y1)++; *(p_line2)++ = *(p_y2)++; \
*(p_line1)++ = *(p_line2)++ = *(p_u)++; \
*(p_line1)++ = *(p_y1)++; *(p_line2)++ = *(p_y2)++; \
*(p_line1)++ = *(p_line2)++ = *(p_v)++; \
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