mirror of
https://github.com/opencv/opencv.git
synced 2026-11-09 18:04:29 -06:00
hal(fastcv): decline transpose when the row step is not a whole number of elements
This commit is contained in:
@@ -164,6 +164,9 @@ int fastcv_hal_transpose2d(
|
|||||||
if (src_data == dst_data)
|
if (src_data == dst_data)
|
||||||
CV_HAL_RETURN_NOT_IMPLEMENTED("In-place not supported");
|
CV_HAL_RETURN_NOT_IMPLEMENTED("In-place not supported");
|
||||||
|
|
||||||
|
if (src_step % element_size != 0 || dst_step % element_size != 0)
|
||||||
|
CV_HAL_RETURN_NOT_IMPLEMENTED("Row step not divisible by the element size is not supported");
|
||||||
|
|
||||||
fcvStatus status = FASTCV_SUCCESS;
|
fcvStatus status = FASTCV_SUCCESS;
|
||||||
|
|
||||||
switch (element_size)
|
switch (element_size)
|
||||||
|
|||||||
Reference in New Issue
Block a user