mirror of
https://github.com/opencv/opencv.git
synced 2025-06-16 14:50:52 +08:00
carotene: disable YUV color conversions (bit-exact issue)
This commit is contained in:
parent
0c0b1ec9ae
commit
a3287b85c5
4
3rdparty/carotene/hal/tegra_hal.hpp
vendored
4
3rdparty/carotene/hal/tegra_hal.hpp
vendored
@ -1844,14 +1844,18 @@ TegraCvtColor_Invoker(bgrx2hsvf, bgrx2hsv, src_data + static_cast<size_t>(range.
|
|||||||
#define cv_hal_cvtBGRtoGray TEGRA_CVTBGRTOGRAY
|
#define cv_hal_cvtBGRtoGray TEGRA_CVTBGRTOGRAY
|
||||||
#undef cv_hal_cvtGraytoBGR
|
#undef cv_hal_cvtGraytoBGR
|
||||||
#define cv_hal_cvtGraytoBGR TEGRA_CVTGRAYTOBGR
|
#define cv_hal_cvtGraytoBGR TEGRA_CVTGRAYTOBGR
|
||||||
|
#if 0 // bit-exact tests are failed
|
||||||
#undef cv_hal_cvtBGRtoYUV
|
#undef cv_hal_cvtBGRtoYUV
|
||||||
#define cv_hal_cvtBGRtoYUV TEGRA_CVTBGRTOYUV
|
#define cv_hal_cvtBGRtoYUV TEGRA_CVTBGRTOYUV
|
||||||
|
#endif
|
||||||
#undef cv_hal_cvtBGRtoHSV
|
#undef cv_hal_cvtBGRtoHSV
|
||||||
#define cv_hal_cvtBGRtoHSV TEGRA_CVTBGRTOHSV
|
#define cv_hal_cvtBGRtoHSV TEGRA_CVTBGRTOHSV
|
||||||
|
#if 0 // bit-exact tests are failed
|
||||||
#undef cv_hal_cvtTwoPlaneYUVtoBGR
|
#undef cv_hal_cvtTwoPlaneYUVtoBGR
|
||||||
#define cv_hal_cvtTwoPlaneYUVtoBGR TEGRA_CVT2PYUVTOBGR
|
#define cv_hal_cvtTwoPlaneYUVtoBGR TEGRA_CVT2PYUVTOBGR
|
||||||
#undef cv_hal_cvtTwoPlaneYUVtoBGREx
|
#undef cv_hal_cvtTwoPlaneYUVtoBGREx
|
||||||
#define cv_hal_cvtTwoPlaneYUVtoBGREx TEGRA_CVT2PYUVTOBGR_EX
|
#define cv_hal_cvtTwoPlaneYUVtoBGREx TEGRA_CVT2PYUVTOBGR_EX
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // OPENCV_IMGPROC_HAL_INTERFACE_H
|
#endif // OPENCV_IMGPROC_HAL_INTERFACE_H
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user