Added missing enums for cvtColor RGB to YUV420p
authorDaniil Osokin <daniil.osokin@itseez.com>
Thu, 14 Mar 2013 17:19:08 +0000 (21:19 +0400)
committerDaniil Osokin <daniil.osokin@itseez.com>
Mon, 18 Mar 2013 06:33:44 +0000 (10:33 +0400)
modules/imgproc/include/opencv2/imgproc/imgproc.hpp

index caa2d55..5d66330 100644 (file)
@@ -1050,7 +1050,21 @@ enum
     COLOR_RGBA2mRGBA = 125,
     COLOR_mRGBA2RGBA = 126,
 
-    COLOR_COLORCVT_MAX  = 127
+    COLOR_RGB2YUV_I420 = 127,
+    COLOR_BGR2YUV_I420 = 128,
+    COLOR_RGB2YUV_IYUV = COLOR_RGB2YUV_I420,
+    COLOR_BGR2YUV_IYUV = COLOR_BGR2YUV_I420,
+
+    COLOR_RGBA2YUV_I420 = 129,
+    COLOR_BGRA2YUV_I420 = 130,
+    COLOR_RGBA2YUV_IYUV = COLOR_RGBA2YUV_I420,
+    COLOR_BGRA2YUV_IYUV = COLOR_BGRA2YUV_I420,
+    COLOR_RGB2YUV_YV12  = 131,
+    COLOR_BGR2YUV_YV12  = 132,
+    COLOR_RGBA2YUV_YV12 = 133,
+    COLOR_BGRA2YUV_YV12 = 134,
+
+    COLOR_COLORCVT_MAX  = 135
 };