<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Neon improve find_obj ?? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Neon-improve-find-obj/m-p/150624#M1029</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try to enable Neon as Eric Gregori suggest : in CMakeList.txt i added (OpenCV 2.1 library... i tried on OpenCV 1.1 but i can't find any gcc flag on enabling NEON..):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(USE_FAST_MATH) &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set(EXTRA_C_FLAGS_RELEASE "${EXTRA_C_FLAGS_RELEASE} -ffast-math -mfpu=neon")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but when i do :&lt;/P&gt;&lt;P&gt;cmake -D CMAKE_BUILD_TYPE=RELEASE -D BUILD_EXAMPLES=ON -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_PYTHON_SUPPORT=ON ..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get this error :&lt;/P&gt;&lt;P&gt;1%] Building C object 3rdparty/zlib/CMakeFiles/zlib.dir/gzio.o&lt;BR /&gt;cc1: error: unrecognized command line option "-ffast-math-mfpu=neon"&lt;BR /&gt;make[2]: *** [3rdparty/zlib/CMakeFiles/zlib.dir/gzio.o] Error 1&lt;BR /&gt;make[1]: *** [3rdparty/zlib/CMakeFiles/zlib.dir/all] Error 2&lt;BR /&gt;make: *** [all] Error 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help me??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another question...I'm interested on find_obj.cpp ..Does Neon improve this algorithm too(like on face_detect) ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Mar 2011 10:03:19 GMT</pubDate>
    <dc:creator>MarcoDiVivo87</dc:creator>
    <dc:date>2011-03-11T10:03:19Z</dc:date>
    <item>
      <title>Neon improve find_obj ??</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Neon-improve-find-obj/m-p/150624#M1029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try to enable Neon as Eric Gregori suggest : in CMakeList.txt i added (OpenCV 2.1 library... i tried on OpenCV 1.1 but i can't find any gcc flag on enabling NEON..):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(USE_FAST_MATH) &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set(EXTRA_C_FLAGS_RELEASE "${EXTRA_C_FLAGS_RELEASE} -ffast-math -mfpu=neon")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but when i do :&lt;/P&gt;&lt;P&gt;cmake -D CMAKE_BUILD_TYPE=RELEASE -D BUILD_EXAMPLES=ON -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_PYTHON_SUPPORT=ON ..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get this error :&lt;/P&gt;&lt;P&gt;1%] Building C object 3rdparty/zlib/CMakeFiles/zlib.dir/gzio.o&lt;BR /&gt;cc1: error: unrecognized command line option "-ffast-math-mfpu=neon"&lt;BR /&gt;make[2]: *** [3rdparty/zlib/CMakeFiles/zlib.dir/gzio.o] Error 1&lt;BR /&gt;make[1]: *** [3rdparty/zlib/CMakeFiles/zlib.dir/all] Error 2&lt;BR /&gt;make: *** [all] Error 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help me??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another question...I'm interested on find_obj.cpp ..Does Neon improve this algorithm too(like on face_detect) ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2011 10:03:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Neon-improve-find-obj/m-p/150624#M1029</guid>
      <dc:creator>MarcoDiVivo87</dc:creator>
      <dc:date>2011-03-11T10:03:19Z</dc:date>
    </item>
  </channel>
</rss>

