mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
Drop HAL for cv_hal_cvtColorYUV2Gray as it's just copy.
This commit is contained in:
@@ -417,7 +417,6 @@ void cvtColorYUV2Gray_420( InputArray _src, OutputArray _dst )
|
||||
{
|
||||
CvtHelper< Set<1>, Set<1>, Set<CV_8U>, FROM_YUV > h(_src, _dst, 1);
|
||||
|
||||
CALL_HAL(cvtColorYUV2Gray, cv_hal_cvtColorYUV2Gray, h.src.data, h.src.step, h.dst.data, h.dst.step, h.dstSz.width, h.dstSz.height);
|
||||
h.src(Range(0, h.dstSz.height), Range::all()).copyTo(h.dst);
|
||||
}
|
||||
|
||||
|
||||
@@ -1067,16 +1067,6 @@ inline int hal_ni_cvtRGBAtoMultipliedRGBA(const uchar * src_data, size_t src_ste
|
||||
*/
|
||||
inline int hal_ni_cvtMultipliedRGBAtoRGBA(const uchar * src_data, size_t src_step, uchar * dst_data, size_t dst_step, int width, int height) { return CV_HAL_ERROR_NOT_IMPLEMENTED; }
|
||||
|
||||
/** @brief Extract Y-plane from YUV 4:2:0 image.
|
||||
@param src_data Source image data pointer (points to Y plane).
|
||||
@param src_step Source step.
|
||||
@param dst_data Destination data pointer.
|
||||
@param dst_step Destination step.
|
||||
@param width Image width.
|
||||
@param height Image height (of the Y plane, not the full YUV image).
|
||||
*/
|
||||
inline int hal_ni_cvtColorYUV2Gray(const uchar * src_data, size_t src_step, uchar * dst_data, size_t dst_step, int width, int height) { return CV_HAL_ERROR_NOT_IMPLEMENTED; }
|
||||
|
||||
//! @cond IGNORED
|
||||
#define cv_hal_cvtBGRtoBGR hal_ni_cvtBGRtoBGR
|
||||
#define cv_hal_cvtBGRtoBGR5x5 hal_ni_cvtBGRtoBGR5x5
|
||||
@@ -1110,7 +1100,6 @@ inline int hal_ni_cvtColorYUV2Gray(const uchar * src_data, size_t src_step, ucha
|
||||
#define cv_hal_cvtOnePlaneBGRtoYUVApprox hal_ni_cvtOnePlaneBGRtoYUVApprox
|
||||
#define cv_hal_cvtRGBAtoMultipliedRGBA hal_ni_cvtRGBAtoMultipliedRGBA
|
||||
#define cv_hal_cvtMultipliedRGBAtoRGBA hal_ni_cvtMultipliedRGBAtoRGBA
|
||||
#define cv_hal_cvtColorYUV2Gray hal_ni_cvtColorYUV2Gray
|
||||
//! @endcond
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user