mirror of
https://github.com/opencv/opencv.git
synced 2024-11-29 05:29:54 +08:00
Fixed getConversionInfo() for YUV2RGBA_* conversions
This commit is contained in:
parent
0ffc53bafe
commit
cf1ae3513f
@ -155,14 +155,14 @@ ChPair getConversionInfo(int cvtMode)
|
||||
case COLOR_BGR5552BGR: case COLOR_BGR5552RGB:
|
||||
case COLOR_BGR5652BGR: case COLOR_BGR5652RGB:
|
||||
case COLOR_YUV2RGB_UYVY: case COLOR_YUV2BGR_UYVY:
|
||||
case COLOR_YUV2RGBA_UYVY: case COLOR_YUV2BGRA_UYVY:
|
||||
case COLOR_YUV2RGB_YUY2: case COLOR_YUV2BGR_YUY2:
|
||||
case COLOR_YUV2RGB_YVYU: case COLOR_YUV2BGR_YVYU:
|
||||
case COLOR_YUV2RGBA_YUY2: case COLOR_YUV2BGRA_YUY2:
|
||||
case COLOR_YUV2RGBA_YVYU: case COLOR_YUV2BGRA_YVYU:
|
||||
return ChPair(2,3);
|
||||
case COLOR_BGR5552BGRA: case COLOR_BGR5552RGBA:
|
||||
case COLOR_BGR5652BGRA: case COLOR_BGR5652RGBA:
|
||||
case COLOR_YUV2RGBA_UYVY: case COLOR_YUV2BGRA_UYVY:
|
||||
case COLOR_YUV2RGBA_YUY2: case COLOR_YUV2BGRA_YUY2:
|
||||
case COLOR_YUV2RGBA_YVYU: case COLOR_YUV2BGRA_YVYU:
|
||||
return ChPair(2,4);
|
||||
case COLOR_BGR2GRAY: case COLOR_RGB2GRAY:
|
||||
case COLOR_RGB2YUV_IYUV: case COLOR_RGB2YUV_YV12:
|
||||
|
Loading…
Reference in New Issue
Block a user