mirror of
https://github.com/zebrajr/opencv.git
synced 2025-12-06 00:19:46 +01:00
Merge pull request #27911 from Kumataro:refix26899
core: fix lut_data data type
This commit is contained in:
commit
c75cd1047b
|
|
@ -301,7 +301,7 @@ Destination should have the same element type and number of channels as lookup t
|
|||
*/
|
||||
//! @addtogroup core_hal_interface_lut16 Lookup table for 16 bit index
|
||||
//! @{
|
||||
inline int hal_ni_lut16(const ushort *src_data, size_t src_step, size_t src_type, const ushort* lut_data, size_t lut_channel_size, size_t lut_channels, uchar *dst_data, size_t dst_step, int width, int height) { return CV_HAL_ERROR_NOT_IMPLEMENTED; }
|
||||
inline int hal_ni_lut16(const ushort *src_data, size_t src_step, size_t src_type, const uchar* lut_data, size_t lut_channel_size, size_t lut_channels, uchar *dst_data, size_t dst_step, int width, int height) { return CV_HAL_ERROR_NOT_IMPLEMENTED; }
|
||||
//! @}
|
||||
|
||||
//! @cond IGNORED
|
||||
|
|
|
|||
|
|
@ -166,7 +166,7 @@ void cv::LUT( InputArray _src, InputArray _lut, OutputArray _dst )
|
|||
}
|
||||
else
|
||||
{
|
||||
CALL_HAL(LUT16, cv_hal_lut16, src.ptr<ushort>(), src.step, src.type(), lut.ptr<ushort>(),
|
||||
CALL_HAL(LUT16, cv_hal_lut16, src.ptr<ushort>(), src.step, src.type(), lut.data,
|
||||
lut.elemSize1(), lutcn, dst.data, dst.step, src.cols, src.rows);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user