From 0406898b9ae5d2e682bfad5ac62b1723f9bf88eb Mon Sep 17 00:00:00 2001 From: Ilya Lavrenov Date: Sun, 23 Feb 2014 15:12:38 +0400 Subject: [PATCH] int2 -> ulong; to work properly with 3 channels --- modules/core/src/ocl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/core/src/ocl.cpp b/modules/core/src/ocl.cpp index c7f18dcb1..9b737f4a3 100644 --- a/modules/core/src/ocl.cpp +++ b/modules/core/src/ocl.cpp @@ -4206,7 +4206,7 @@ const char* typeToStr(int type) const char* memopTypeToStr(int type) { - static const char* tab[]= + static const char* tab[] = { "uchar", "uchar2", "uchar3", "uchar4", "uchar", "uchar2", "uchar3", "uchar4", @@ -4214,7 +4214,7 @@ const char* memopTypeToStr(int type) "ushort", "ushort2", "ushort3", "ushort4", "int", "int2", "int3", "int4", "int", "int2", "int3", "int4", - "int2", "int4", "?", "int8", + "ulong", "ulong2", "ulong3", "ulong4", "?", "?", "?", "?" }; int cn = CV_MAT_CN(type), depth = CV_MAT_DEPTH(type);