Disabling NEON & VFPv3 in cmake

asked 2019-12-30 03:48:27 -0600

naveen_s_n gravatar image

Hello all, I have 2 questions:

1.) Is NEON and VFPv3 enabled by default if we don't specify any flags related to them in cmake while building OpenCV4.1?

2.) If my Processor (Cortex A57) supports VFPv4, how can i enable it in cmake? This is dependent on the answer to the first question. (disable v3 then enable v4)

Also can vfpv3/v4 increase performance for typical camera undistortion applications ( to boost frame rate )?

Please reply if you know anything that can be of help. Thanks

edit retag flag offensive close merge delete

Comments

Here is link VFPv4

supra56 gravatar imagesupra56 ( 2019-12-30 04:10:00 -0600 )edit

In prompt type cat /proc/cpuinfo. If vfpv4 is still there.

supra56 gravatar imagesupra56 ( 2019-12-30 04:16:57 -0600 )edit

Hello Supra, Thanks for reply. Tried this but I'm getting this error:

*-- Detected version of GNU GCC: 74 (704)
-- FP16: Compiler support is available
-- Check if the system is big endian
-- Searching 16 bit integer
CMake Error at /usr/share/cmake-3.10/Modules/TestBigEndian.cmake:49 (message):
  no suitable type found
Call Stack (most recent call first):
  CMakeLists.txt:548 (test_big_endian)
-- Configuring incomplete, errors occurred!*

Confused about VFP and cmake...

naveen_s_n gravatar imagenaveen_s_n ( 2019-12-30 05:36:30 -0600 )edit

This is what I have. model name. Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32

supra56 gravatar imagesupra56 ( 2019-12-30 06:16:30 -0600 )edit

Here is link for Cortex A57

supra56 gravatar imagesupra56 ( 2019-12-30 06:20:35 -0600 )edit

I give you one last try. Then I will give up. github cmakelist

supra56 gravatar imagesupra56 ( 2019-12-30 06:26:16 -0600 )edit