]> git.sesse.net Git - vlc/blobdiff - modules/video_filter/filter_picture.h
Fix transform plugin 90-degree rotations on I422.
[vlc] / modules / video_filter / filter_picture.h
index 98069034aa85c72dedf8a24762c3c6647b47480a..73ef0d59f874407d7ed83ad4ce765aa05b800c66 100644 (file)
@@ -21,7 +21,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-#define CASE_PLANAR_YUV                     \
+/* FIXME: do all of these really have square pixels? */
+#define CASE_PLANAR_YUV_SQUARE              \
         case VLC_FOURCC('I','4','2','0'):   \
         case VLC_FOURCC('I','Y','U','V'):   \
         case VLC_FOURCC('J','4','2','0'):   \
         case VLC_FOURCC('I','4','1','1'):   \
         case VLC_FOURCC('I','4','1','0'):   \
         case VLC_FOURCC('Y','V','U','9'):   \
-        case VLC_FOURCC('I','4','2','2'):   \
-        case VLC_FOURCC('J','4','2','2'):   \
         case VLC_FOURCC('I','4','4','4'):   \
         case VLC_FOURCC('J','4','4','4'):   \
         case VLC_FOURCC('Y','U','V','A'):
 
+#define CASE_PLANAR_YUV_NONSQUARE           \
+        case VLC_FOURCC('I','4','2','2'):   \
+        case VLC_FOURCC('J','4','2','2'):
+
+#define CASE_PLANAR_YUV                     \
+        CASE_PLANAR_YUV_SQUARE              \
+        CASE_PLANAR_YUV_NONSQUARE           \
+
 #define CASE_PACKED_YUV_422                 \
         case VLC_FOURCC('U','Y','V','Y'):   \
         case VLC_FOURCC('U','Y','N','V'):   \