Skip to content

Commit c5eb3df

Browse files
committed
Restricted OpenVX HAL separable filter implementation to 3x3 kernel size
1 parent f70cc29 commit c5eb3df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

3rdparty/openvx/hal/openvx_hal.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ int ovx_hal_sepFilterInit(cvhalFilter2D **filter_context, int src_type, int dst_
601601
{
602602
if (!filter_context || !kernelx_data || !kernely_data || delta != 0 ||
603603
src_type != CV_8UC1 || (dst_type != CV_8UC1 && dst_type != CV_16SC1) ||
604-
kernelx_length % 2 == 0 || kernely_length % 2 == 0 || anchor_x != kernelx_length / 2 || anchor_y != kernely_length / 2)
604+
kernelx_length != 3 || kernely_length != 3 || anchor_x != 1 || anchor_y != 1)
605605
return CV_HAL_ERROR_NOT_IMPLEMENTED;
606606

607607
ivx::border_t border;

0 commit comments

Comments
 (0)