0, (ippiGeneralFunc)ippiHLSToRGB_32f_C3R, 0, 0
};
+#if !defined(HAVE_IPP_ICV_ONLY)
static ippiGeneralFunc ippiRGBToLUVTab[] =
{
(ippiGeneralFunc)ippiRGBToLUV_8u_C3R, 0, (ippiGeneralFunc)ippiRGBToLUV_16u_C3R, 0,
(ippiGeneralFunc)ippiLUVToRGB_8u_C3R, 0, (ippiGeneralFunc)ippiLUVToRGB_16u_C3R, 0,
0, (ippiGeneralFunc)ippiLUVToRGB_32f_C3R, 0, 0
};
+#endif
struct IPPGeneralFunctor
{
_dst.create(sz, CV_8UC2);
dst = _dst.getMat();
-#if defined HAVE_IPP
+#if defined HAVE_IPP && !defined(HAVE_IPP_ICV_ONLY)
CV_SUPPRESS_DEPRECATED_START
if (code == CV_BGR2BGR565 && scn == 3)
{
_dst.create(sz, CV_MAKETYPE(depth, dcn));
dst = _dst.getMat();
-#ifdef HAVE_IPP
+#if defined HAVE_IPP && !defined(HAVE_IPP_ICV_ONLY)
CV_SUPPRESS_DEPRECATED_START
if (code == CV_BGR5652BGR)
{
_dst.create(sz, CV_MAKETYPE(depth, 3));
dst = _dst.getMat();
-#ifdef HAVE_IPP
+#if defined HAVE_IPP && !defined(HAVE_IPP_ICV_ONLY)
if (code == CV_LBGR2Lab && scn == 3 && depth == CV_8U)
{
if (CvtColorIPPLoop(src, dst, IPPGeneralFunctor((ippiGeneralFunc)ippiBGRToLab_8u_C3R)))
_dst.create(sz, CV_MAKETYPE(depth, dcn));
dst = _dst.getMat();
-#if defined (HAVE_IPP)
+#if defined(HAVE_IPP) && !defined(HAVE_IPP_ICV_ONLY)
#if 0
if( code == CV_Lab2LBGR && dcn == 3 && depth == CV_8U)
{
if( depth == CV_8U )
{
-#ifdef HAVE_IPP
+#if defined(HAVE_IPP) && !defined(HAVE_IPP_ICV_ONLY)
if (CvtColorIPPLoop(src, dst, IPPGeneralFunctor((ippiGeneralFunc)ippiAlphaPremul_8u_AC4R)))
return;
#endif