Skip to content

Commit

Permalink
Enable NEON optimized image rotate for ARM v7-A
Browse files Browse the repository at this point in the history
  NEON opimized image rotate was disabled by accident. This patch
  enables it again. Fix issue #115.

Change-Id: I4aa977de8534557d98a707cc9504aac94805d571
  • Loading branch information
Phil.Wang committed Jul 21, 2015
1 parent 1d409d2 commit a08b29d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions cmake/FunctionSwitch.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,8 @@ if(${NE10_TARGET_ARCH} STREQUAL "armv7")
add_definitions(-DENABLE_NE10_PHYSICS_RELATIVE_V_VEC2F_NEON)
add_definitions(-DENABLE_NE10_PHYSICS_APPLY_IMPULSE_VEC2F_NEON)
endif()
if(NE10_ENABLE_IMGPROC)
add_definitions(-DENABLE_NE10_IMG_ROTATE_RGBA_NEON)
endif()
endif()
endif()
2 changes: 0 additions & 2 deletions modules/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,6 @@ if(NE10_ENABLE_IMGPROC)
)

if(${NE10_TARGET_ARCH} STREQUAL "armv7")
# Following definition is only available under armv7.
add_definitions(-DENABLE_NE10_IMG_ROTATE_RGBA_NEON)
# Add image processing NEON files.
set(NE10_IMGPROC_NEON_SRCS
${PROJECT_SOURCE_DIR}/modules/imgproc/NE10_rotate.neon.s
Expand Down

0 comments on commit a08b29d

Please sign in to comment.