+ video_chroma/i420_yuy2.h : grmbl, x86 compile fix
authorEric Petit <titer@videolan.org>
Tue, 4 May 2004 14:09:45 +0000 (14:09 +0000)
committerEric Petit <titer@videolan.org>
Tue, 4 May 2004 14:09:45 +0000 (14:09 +0000)
modules/video_chroma/i420_yuy2.h

index 2c2e620..433cb5c 100644 (file)
@@ -113,12 +113,6 @@ movq      %%mm1, (%1)   # Store YUYV                                      \n\
 
 #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( )                                                    \
     *(p_line1)++ = *(p_y1)++; *(p_line2)++ = *(p_y2)++;                     \
     *(p_line1)++ =            *(p_line2)++ = *(p_v)++;                      \
@@ -141,3 +135,10 @@ movq      %%mm1, (%1)   # Store YUYV                                      \n\
 
 #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)++;                      \
+