<?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 Re: How to run SoftISP ? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-run-SoftISP/m-p/873732#M132676</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have read AN12060.&lt;BR /&gt;It states as per the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;------------------------------------------------------&lt;BR /&gt;To run an application on a specific CPU use taskset command. It uses a bitmask, with the lowest order bit corresponding to the first logical CPU and the highest order bit corresponding to the last logical CPU. E.g., to run SoftISP on core 3:&lt;BR /&gt;root@imx8qmmek:~# taskset 0x8 ./SoftISP&lt;BR /&gt;To obtain the index of each CPU:&lt;BR /&gt;root@imx8qmmek:~# cat /proc/cpuinfo&lt;BR /&gt;To check that the process is really running on the specified core, check PSR column:&lt;BR /&gt;root@imx8qmmek:~# ps -aF&lt;BR /&gt;------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not need to run on a specific CPU, so I just type ./SoftISP&lt;BR /&gt;but unfortunately It does not seem to work properly.&lt;BR /&gt;Have you tried it and got the proper image files ?&lt;BR /&gt;If you could let me know what I am doing wrong, I am very happy.&lt;/P&gt;&lt;P&gt;Best Regards&lt;BR /&gt;--&lt;BR /&gt;Takashi Yahata&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Mar 2019 01:37:08 GMT</pubDate>
    <dc:creator>takashi_yahata</dc:creator>
    <dc:date>2019-03-08T01:37:08Z</dc:date>
    <item>
      <title>How to run SoftISP ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-run-SoftISP/m-p/873730#M132674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying SoftISP on Linux (4.14.78_1.0.0) on imx8mqevk. It is installed under /opt/imx-gpu-sdk/OpenCL/SoftISP. &lt;BR /&gt;I just type ./SoftISP then it apparently makes 4 files (0-SourceImage.bmp, 1-RemoveBadPixel.bmp, 2-WhiteBalance.bmp, 3-Equalization.bmp) but they are not image files.&lt;BR /&gt;It always outputs files as bmp, the option --ScreenshotFormat jpg does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;root@imx8mqevk:/opt/imx-gpu-sdk/OpenCL/SoftISP# ./SoftISP&lt;BR /&gt;Denoise status: 0&lt;BR /&gt;Initializing device(s)...&lt;BR /&gt;Get the Device info and select Device...&lt;BR /&gt;# of Devices Available = 1&lt;BR /&gt;# of Compute Units = 1&lt;BR /&gt;# compute units = 1&lt;BR /&gt;Getting device id...&lt;BR /&gt;Creating Command Queue...&lt;BR /&gt;Creating kernels...&lt;BR /&gt;Please wait for compiling and building kernels, about one minute...&lt;BR /&gt;Kernel execution time on GPU (kernel: badpixel): 27.198 ms&lt;BR /&gt;Kernel execution time on GPU (kernel: sigma): 1.309 ms&lt;BR /&gt;Kernel execution time on GPU (kernel: awb): 1.892 ms&lt;BR /&gt;Kernel execution time on GPU (kernel: equalize1): 31.618 ms&lt;BR /&gt;Kernel execution time on GPU (kernel: equalize2): 1.586 ms&lt;BR /&gt;Kernel execution time on GPU (kernel: equalize3): 3.291 ms&lt;BR /&gt;Kernel execution time on GPU (kernel: debayer): 21.86 ms&lt;BR /&gt;Saving images...&lt;BR /&gt;root@imx8mqevk:/opt/imx-gpu-sdk/OpenCL/SoftISP# ls -la&lt;BR /&gt;total 26372&lt;BR /&gt;drwxr-xr-x 3 root root 4096 Nov 25 23:28 .&lt;BR /&gt;drwxr-xr-x 5 root root 4096 Dec 4 2018 ..&lt;BR /&gt;-rw-r--r-- 1 root root 1231 Dec 4 2018 .AppInfo.json&lt;BR /&gt;-rw-r--r-- 1 root root 6220854 Nov 25 23:28 0-SourceImage.bmp&lt;BR /&gt;-rw-r--r-- 1 root root 6220854 Nov 25 23:28 1-RemoveBadPixel.bmp&lt;BR /&gt;-rw-r--r-- 1 root root 6220854 Nov 25 23:28 2-WhiteBalance.bmp&lt;BR /&gt;-rw-r--r-- 1 root root 6220854 Nov 25 23:28 3-Equalization.bmp&lt;BR /&gt;drwxr-xr-x 2 root root 4096 Dec 4 2018 Content&lt;BR /&gt;-rwxr-x--- 1 root root 449824 Nov 26 2018 Example.jpg&lt;BR /&gt;-rwxr-xr-x 1 root root 1646744 Dec 4 2018 SoftISP&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have read AN12060 but it does not describe how to run it.&lt;BR /&gt;Would you tell me how to run SoftISP properly ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2019 06:49:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-run-SoftISP/m-p/873730#M132674</guid>
      <dc:creator>takashi_yahata</dc:creator>
      <dc:date>2019-03-07T06:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to run SoftISP ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-run-SoftISP/m-p/873731#M132675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi 矢羽田 崇&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;build steps can be found in sect.2.1. SW-ISP Pipeline Optimized by OpenCL&lt;/P&gt;&lt;P&gt;AN12060 Software ISP Application Note&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/application-note/AN12060.pdf" title="https://www.nxp.com/docs/en/application-note/AN12060.pdf"&gt;https://www.nxp.com/docs/en/application-note/AN12060.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2019 00:59:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-run-SoftISP/m-p/873731#M132675</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-03-08T00:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to run SoftISP ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-run-SoftISP/m-p/873732#M132676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have read AN12060.&lt;BR /&gt;It states as per the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;------------------------------------------------------&lt;BR /&gt;To run an application on a specific CPU use taskset command. It uses a bitmask, with the lowest order bit corresponding to the first logical CPU and the highest order bit corresponding to the last logical CPU. E.g., to run SoftISP on core 3:&lt;BR /&gt;root@imx8qmmek:~# taskset 0x8 ./SoftISP&lt;BR /&gt;To obtain the index of each CPU:&lt;BR /&gt;root@imx8qmmek:~# cat /proc/cpuinfo&lt;BR /&gt;To check that the process is really running on the specified core, check PSR column:&lt;BR /&gt;root@imx8qmmek:~# ps -aF&lt;BR /&gt;------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not need to run on a specific CPU, so I just type ./SoftISP&lt;BR /&gt;but unfortunately It does not seem to work properly.&lt;BR /&gt;Have you tried it and got the proper image files ?&lt;BR /&gt;If you could let me know what I am doing wrong, I am very happy.&lt;/P&gt;&lt;P&gt;Best Regards&lt;BR /&gt;--&lt;BR /&gt;Takashi Yahata&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2019 01:37:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-run-SoftISP/m-p/873732#M132676</guid>
      <dc:creator>takashi_yahata</dc:creator>
      <dc:date>2019-03-08T01:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to run SoftISP ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-run-SoftISP/m-p/873733#M132677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have not been able to make it.&lt;BR /&gt;Has anyone tried it and got the proper result on imx8mqevk ?&lt;BR /&gt;It would be appreciated if you could tell me how to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Takashi Yahata&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2019 00:22:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-run-SoftISP/m-p/873733#M132677</guid>
      <dc:creator>takashi_yahata</dc:creator>
      <dc:date>2019-03-13T00:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to run SoftISP ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-run-SoftISP/m-p/873734#M132678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Takashi Yahata,&lt;/P&gt;&lt;P&gt;Are you able to get the details of how we can run the SoftISP application and what are the arguments we need to pass?&lt;/P&gt;&lt;P&gt;Are you able to got the images ? If yes, please can you suggest me what are the arguments we need to use?&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Devendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2020 04:56:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-run-SoftISP/m-p/873734#M132678</guid>
      <dc:creator>devendradevadig</dc:creator>
      <dc:date>2020-06-23T04:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to run SoftISP ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-run-SoftISP/m-p/873735#M132679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my case I was booting Linux with SD card, I tried to run the SoftIP application on filesystem of SDcard() but It did not work well, I could not get proper images. I tried to copy the SoftIP application to USB Flash memory (example:/run/media/sda1) and run on it,&amp;nbsp; I had the proper image files.&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Takashi Yahata&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2020 08:38:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-run-SoftISP/m-p/873735#M132679</guid>
      <dc:creator>takashi_yahata</dc:creator>
      <dc:date>2020-06-23T08:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to run SoftISP ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-run-SoftISP/m-p/1262049#M172593</link>
      <description>&lt;P&gt;This does not answer the OPs question, but....&lt;/P&gt;&lt;P&gt;It is fairly simple to add a line that allows a compile on Ubuntu if you have OpenCL installed.&amp;nbsp; You can run 'clinfo' and see a platform and device.&lt;/P&gt;&lt;P&gt;I believe I just added a line to Fsl.gen,&lt;/P&gt;&lt;P&gt;&amp;lt;Platform Name ="Ubuntu" Supported=true&amp;gt;&lt;/P&gt;&lt;P&gt;It wasn't clear to me that all times are in 'ms'.&amp;nbsp; I re-read the appnote and the first table shows the time units, but not the 2nd.&amp;nbsp; The code outputs columns as being 'mS', so it was clear after building and running the code.&lt;/P&gt;&lt;P&gt;The code needs to access to the primary input image.&amp;nbsp; This is 'Content/Bayer.data'... it has to be in the proper location relative to the SoftISP binary.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 13:30:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-run-SoftISP/m-p/1262049#M172593</guid>
      <dc:creator>bpringlemeir</dc:creator>
      <dc:date>2021-04-14T13:30:19Z</dc:date>
    </item>
  </channel>
</rss>

