cvtColor: dst channels number default is set to 4 for RGBA/BGRA cases; added new codes for yuv420 to RGBA/BGRA.
This commit is contained in:
@@ -905,6 +905,11 @@ enum
|
||||
COLOR_YUV420sp2RGB = 92,
|
||||
COLOR_YUV420sp2BGR = 93,
|
||||
|
||||
COLOR_YUV420i2RGBA = 94,
|
||||
COLOR_YUV420i2BGRA = 95,
|
||||
COLOR_YUV420sp2RGBA = 96,
|
||||
COLOR_YUV420sp2BGRA = 97,
|
||||
|
||||
COLOR_COLORCVT_MAX =100
|
||||
};
|
||||
|
||||
|
@@ -230,6 +230,11 @@ enum
|
||||
CV_YUV420i2BGR = 91,
|
||||
CV_YUV420sp2RGB = 92,
|
||||
CV_YUV420sp2BGR = 93,
|
||||
|
||||
CV_YUV420i2RGBA = 94,
|
||||
CV_YUV420i2BGRA = 95,
|
||||
CV_YUV420sp2RGBA = 96,
|
||||
CV_YUV420sp2BGRA = 97,
|
||||
|
||||
CV_COLORCVT_MAX =100
|
||||
};
|
||||
|
Reference in New Issue
Block a user