Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
88ea9f5d
Commit
88ea9f5d
authored
Sep 30, 2016
by
Vitaly Tuzov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for OpenVX based implementation of resize HAL API
parent
850d12ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
openvx_hal.hpp
3rdparty/openvx/include/openvx_hal.hpp
+6
-2
No files found.
3rdparty/openvx/include/openvx_hal.hpp
View file @
88ea9f5d
...
...
@@ -479,11 +479,15 @@ inline int ovx_hal_resize(int atype, const uchar *a, size_t astep, int aw, int a
int
mode
;
if
(
interpolation
==
CV_HAL_INTER_LINEAR
)
{
mode
=
VX_INTERPOLATION_BILINEAR
;
if
(
inv_scale_x
>
1
||
inv_scale_y
>
1
)
return
CV_HAL_ERROR_NOT_IMPLEMENTED
;
}
else
if
(
interpolation
==
CV_HAL_INTER_AREA
)
mode
=
VX_INTERPOLATION_AREA
;
return
CV_HAL_ERROR_NOT_IMPLEMENTED
;
//
mode = VX_INTERPOLATION_AREA;
else
if
(
interpolation
==
CV_HAL_INTER_NEAREST
)
mode
=
VX_INTERPOLATION_NEAREST_NEIGHBOR
;
return
CV_HAL_ERROR_NOT_IMPLEMENTED
;
//
mode = VX_INTERPOLATION_NEAREST_NEIGHBOR;
else
return
CV_HAL_ERROR_NOT_IMPLEMENTED
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment