1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +04:00

Drop HAL for cv_hal_cvtColorYUV2Gray as it's just copy.

This commit is contained in:
Alexander Smorkalov
2026-07-09 16:51:20 +03:00
parent 738739d7c2
commit 8eb2c8998c
4 changed files with 0 additions and 30 deletions
-4
View File
@@ -138,10 +138,6 @@ int ipp_hal_cvtRGBAtoMultipliedRGBA(const uchar * src_data, size_t src_step, uch
#undef cv_hal_cvtRGBAtoMultipliedRGBA
#define cv_hal_cvtRGBAtoMultipliedRGBA ipp_hal_cvtRGBAtoMultipliedRGBA
int ipp_hal_cvtColorYUV2Gray(const uchar * src_data, size_t src_step, uchar * dst_data, size_t dst_step, int width, int height);
#undef cv_hal_cvtColorYUV2Gray
#define cv_hal_cvtColorYUV2Gray ipp_hal_cvtColorYUV2Gray
#endif // IPP_VERSION_X100 >= 700
#endif //__IPP_HAL_IMGPROC_HPP__
-14
View File
@@ -955,18 +955,4 @@ int ipp_hal_cvtLabtoBGR(const uchar * src_data, size_t src_step, uchar * dst_dat
return CV_HAL_ERROR_NOT_IMPLEMENTED;
}
int ipp_hal_cvtColorYUV2Gray(const uchar * src_data, size_t src_step, uchar * dst_data, size_t dst_step,
int width, int height)
{
CV_HAL_CHECK_USE_IPP();
#if IPP_VERSION_X100 >= 201700
if (CV_INSTRUMENT_FUN_IPP(ippiCopy_8u_C1R_L, src_data, (IppSizeL)src_step, dst_data, (IppSizeL)dst_step,
ippiSizeL(width, height)) >= 0)
return CV_HAL_ERROR_OK;
#endif
return CV_HAL_ERROR_NOT_IMPLEMENTED;
}
#endif // IPP_VERSION_X100 >= 700